JP4213108B2 - Lighting device for visual inspection - Google Patents

Lighting device for visual inspection Download PDF

Info

Publication number
JP4213108B2
JP4213108B2 JP2004306284A JP2004306284A JP4213108B2 JP 4213108 B2 JP4213108 B2 JP 4213108B2 JP 2004306284 A JP2004306284 A JP 2004306284A JP 2004306284 A JP2004306284 A JP 2004306284A JP 4213108 B2 JP4213108 B2 JP 4213108B2
Authority
JP
Japan
Prior art keywords
inspection
tablet
sheet
infrared light
irradiation means
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
JP2004306284A
Other languages
Japanese (ja)
Other versions
JP2006118951A (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 JP2004306284A priority Critical patent/JP4213108B2/en
Publication of JP2006118951A publication Critical patent/JP2006118951A/en
Application granted granted Critical
Publication of JP4213108B2 publication Critical patent/JP4213108B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、PTPシートの製造に際し行われる外観検査に用いられる外観検査用照明装置を含む技術分野に属するものである。   The present invention belongs to a technical field including an illumination device for appearance inspection used for appearance inspection performed in manufacturing a PTP sheet.

一般に、PTPシートは、錠剤等が充填されるポケット部が形成された樹脂製の包装用フィルムと、その包装用フィルムにポケット部の開口側を密封するように前記包装用フィルムに取着されるアルミニウム製のカバーフィルムとから構成されている。   In general, a PTP sheet is attached to a packaging film made of resin in which a pocket portion filled with tablets and the like is formed, and the packaging film so that the opening side of the pocket portion is sealed to the packaging film. It is comprised from the cover film made from aluminum.

ところで、両フィルム間に毛髪やゴミ等の異物が存在していたり、錠剤に異物が付着していた場合には、製品としては不良であり、製造段階で除外する必要がある。そのため、従来、シート異物・錠剤異物に関する検査を行う技術がある(例えば、特許文献1参照)。   By the way, when foreign matter such as hair or dust is present between the two films or foreign matter adheres to the tablet, the product is defective and must be excluded at the manufacturing stage. For this reason, conventionally, there is a technique for inspecting sheet foreign matter / tablet foreign matter (see, for example, Patent Document 1).

また、錠剤として糖衣錠が採用されている場合には、糖衣錠の表面の剥離を検出する技術もある(例えば、特許文献2参照)。   In addition, when a sugar-coated tablet is employed as the tablet, there is a technique for detecting the peeling of the surface of the sugar-coated tablet (for example, see Patent Document 2).

さらに、取着されたカバーフィルムに取着不良やしわが生じると、密封性が低下してシール不良となり、充填された錠剤等の使用期限が早まってしまったりするおそれがある。このため、外観検査装置によってシール不良を検出している技術もある(例えば、特許文献3参照)。
特開2003−215047号公報 特開2002−99898号公報 特開平8−193954号公報
In addition, if the attached cover film is defectively attached or wrinkled, the sealing performance is deteriorated, resulting in poor sealing, and the expiration date of the filled tablet or the like may be shortened. For this reason, there is a technique in which a seal failure is detected by an appearance inspection device (see, for example, Patent Document 3).
JP 2003-215047 A JP 2002-99898 A Japanese Patent Laid-Open No. 8-193554

ところが、上述した各検査においては、それぞれ照明の態様(光の波長等)が相違しており、それぞれ単独の検査装置として具現化されているのが実情である。つまり、各検査装置は、それぞれ別の場所に設置され、各検査装置に対応して照明装置や、撮像装置が設置されている。このため、コストの増大及び設置スペース上の不都合を招くおそれがある。   However, in each of the above-described inspections, the illumination modes (light wavelength, etc.) are different, and the actual situation is that each inspection is embodied as a single inspection apparatus. That is, each inspection device is installed in a different place, and an illumination device and an imaging device are installed corresponding to each inspection device. For this reason, there exists a possibility of causing the increase in cost and the problem on installation space.

また、各検査にあっては、錠剤位置やポケット部位置を認識する必要があるのだが、錠剤やカバーフィルムの明度差や色合い等によっては、適正に錠剤位置やポケット部位置の検出ができない場合がある。その上、検査によっては、手動で錠剤位置やポケット部位置を入力したりしなければならないケースもある。そのため、検査精度の低下や、検査効率の悪化を招くおそれもある。   Also, in each inspection, it is necessary to recognize the tablet position and pocket part position, but the tablet position and pocket part position cannot be detected properly due to the lightness difference and color of the tablet and cover film. There is. In addition, depending on the inspection, it may be necessary to manually input the tablet position or pocket position. Therefore, there is a possibility that the inspection accuracy is lowered and the inspection efficiency is deteriorated.

本発明は、上記事情に鑑みてなされたものであり、PTPシートの外観不良を検査するために用いられる照明装置に関し、コストの低減及び設置スペースのコンパクト化を図るとともに、検査精度及び検査効率の向上にも寄与しうる外観検査用照明装置を提供することを主たる目的の一つとしている。   The present invention has been made in view of the above circumstances, and relates to an illuminating device used for inspecting the appearance defect of a PTP sheet, while reducing costs and making the installation space compact, and improving inspection accuracy and inspection efficiency. One of the main purposes is to provide an illumination device for visual inspection that can contribute to improvement.

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

手段1.包装用フィルムに形成されたポケット部に錠剤が収容され、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着されるPTPシートの製造に際し行われる、シート異物・錠剤異物に関する検査、及び、錠剤表面剥離に関する検査に用いられる外観検査用照明装置であって、
移送中のシートに対し前記ポケット部側から略垂直方向に赤外光を照射可能な垂直赤外光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に白色光を照射可能な垂直白色光照射手段とを備え、
前記シート異物・錠剤異物に関する検査に際しては、少なくとも前記垂直赤外光照射手段が点灯状態とされ、
前記錠剤表面剥離に関する検査に際しては、少なくとも前記垂直白色光照射手段が点灯状態とされるよう切換可能に構成したことを特徴とする外観検査用照明装置。
Means 1. Inspecting the sheet foreign matter / tablet foreign matter, which is performed in the production of the PTP sheet in which the tablet is accommodated in the pocket portion formed in the packaging film and the cover film is attached in a sealed state so as to close the pocket portion, and It is an illumination device for visual inspection used for inspection related to tablet surface peeling,
Vertical infrared light irradiation means capable of irradiating infrared light in a substantially vertical direction from the pocket portion side to the sheet being transferred;
Vertical white light irradiation means capable of irradiating white light in a substantially vertical direction from the pocket portion side to the sheet being transferred,
When inspecting the sheet foreign matter / tablet foreign matter, at least the vertical infrared light irradiation means is turned on,
An illumination device for appearance inspection, which is configured to be switchable so that at least the vertical white light irradiation means is turned on in the inspection related to the tablet surface peeling.

手段1によれば、シート異物・錠剤異物に関する検査に際しては、少なくとも垂直赤外光照射手段が点灯状態とされ、移送中のシートに対しポケット部側から略垂直方向に赤外光が照射される。このため、特に頂面が平坦な所謂「平錠」が錠剤として採用されているような場合に、錠剤を適正に認識しやすい。結果として、シート異物・錠剤異物に関する検査を行うに際し、錠剤の位置を正確に把握できることから、より精度の高い検査を行うことができる。また、錠剤表面剥離に関する検査に際しては、少なくとも垂直白色光照射手段が点灯状態とされ、移送中のシートに対しポケット部側から略垂直方向に白色光が照射される。このため、例えば着色された錠剤を適正に認識しやすいのは勿論のこと、糖衣錠等が錠剤として採用された場合には、色調の相違に基づき、適正に表面剥離を検出することができる。結果として、より精度の高い検査を行うことができる。   According to the means 1, at the time of the inspection relating to the sheet foreign matter / tablet foreign matter, at least the vertical infrared light irradiation means is turned on, and infrared light is irradiated in a substantially vertical direction from the pocket portion side to the sheet being transferred. . For this reason, it is easy to recognize a tablet appropriately, especially when a so-called “flat tablet” having a flat top surface is adopted as a tablet. As a result, since the position of the tablet can be accurately grasped when the inspection relating to the sheet foreign matter / tablet foreign matter is performed, a more accurate inspection can be performed. In the inspection relating to tablet surface peeling, at least the vertical white light irradiation means is turned on, and white light is irradiated in a substantially vertical direction from the pocket portion side to the sheet being transferred. For this reason, for example, when a sugar-coated tablet or the like is adopted as a tablet, it is possible to appropriately detect surface peeling based on a difference in color tone, as well as easy recognition of a colored tablet. As a result, a more accurate inspection can be performed.

さらに、一方の検査において特定された錠剤位置情報等を他方の検査において利用することができる。そのため、一方の検査に際し、錠剤やカバーフィルムの明度差や色合い等に起因して、適正に錠剤位置やポケット部位置の検出ができなかったとしても、他方の検査における情報を利用できる場合もある。従って、より正確な位置情報に基づいた正確な検査を実行することができ、また手動入力といった煩わしさを払拭することができる。結果として、検査精度及び検査効率の飛躍的な向上を図ることができる。その上、これら両検査を単一の照明装置で実現することができるため、コストの低減及び設置スペースのコンパクト化を図ることができる(尚、当該段落に記載した作用効果は、以降の各段落においても同様に奏されるものである)。   Furthermore, the tablet position information specified in one inspection can be used in the other inspection. Therefore, in the case of one inspection, information on the other inspection may be used even if the tablet position or pocket position cannot be properly detected due to the brightness difference or color of the tablet or cover film. . Therefore, it is possible to execute an accurate inspection based on more accurate position information, and it is possible to eliminate troublesomeness such as manual input. As a result, it is possible to dramatically improve inspection accuracy and inspection efficiency. In addition, since both of these inspections can be realized with a single lighting device, the cost can be reduced and the installation space can be made compact. Is also played in the same way).

手段2.包装用フィルムに形成されたポケット部に錠剤が収容され、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着されるPTPシートの製造に際し行われる、シート異物・錠剤異物に関する検査、及び、錠剤表面剥離に関する検査に用いられる外観検査用照明装置であって、
移送中のシートに対し前記ポケット部側から所定の斜め方向に赤外光を照射可能な斜方向赤外光照射手段と、
前記斜方向赤外光照射手段よりも浅い角度で、移送中のシートに対し前記ポケット部側から斜め方向に赤外光を照射可能な浅角斜方向赤外光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に白色光を照射可能な垂直白色光照射手段とを備え、
前記シート異物・錠剤異物に関する検査に際しては、少なくとも前記斜方向赤外光照射手段及び浅角斜方向赤外光照射手段が点灯状態とされ、
前記錠剤表面剥離に関する検査に際しては、少なくとも前記垂直白色光照射手段が点灯状態とされるよう切換可能に構成したことを特徴とする外観検査用照明装置。
Mean 2. Inspecting the sheet foreign matter / tablet foreign matter, which is performed in the production of the PTP sheet in which the tablet is accommodated in the pocket portion formed in the packaging film and the cover film is attached in a sealed state so as to close the pocket portion, and It is an illumination device for visual inspection used for inspection related to tablet surface peeling,
Inclined direction infrared light irradiation means capable of irradiating infrared light in a predetermined oblique direction from the pocket portion side to the sheet being transferred;
Shallow angle oblique direction infrared light irradiation means capable of irradiating infrared light obliquely from the pocket side to the sheet being transferred at a shallower angle than the oblique direction infrared light irradiation means;
Vertical white light irradiation means capable of irradiating white light in a substantially vertical direction from the pocket portion side to the sheet being transferred,
When inspecting the sheet foreign matter / tablet foreign matter, at least the oblique direction infrared light irradiation means and the shallow angle oblique direction infrared light irradiation means are turned on,
An illumination device for appearance inspection, which is configured to be switchable so that at least the vertical white light irradiation means is turned on in the inspection related to the tablet surface peeling.

手段2によれば、シート異物・錠剤異物に関する検査に際しては、少なくとも斜方向赤外光照射手段及び浅角斜方向赤外光照射手段が点灯状態とされ、所定の斜め方向に、また、それよりも浅い角度で、移送中のシートに対しポケット部側から赤外光が照射される。このため、レンズ錠や丸薬といった、頂面の丸い錠剤が採用されているような場合に、当該錠剤を適正に認識しやすい。結果として、シート異物・錠剤異物に関する検査を行うに際し、錠剤の位置を正確に把握できることから、より精度の高い検査を行うことができる。また、錠剤表面剥離に関する検査に際しては、少なくとも垂直白色光照射手段が点灯状態とされ、移送中のシートに対しポケット部側から略垂直方向に白色光が照射される。このため、例えば着色された錠剤を適正に認識しやすいのは勿論のこと、糖衣錠等が錠剤として採用された場合には、色調の相違に基づき、適正に表面剥離を検出することができる。結果として、より精度の高い検査を行うことができる。   According to the means 2, at the time of the inspection relating to the sheet foreign matter / tablet foreign matter, at least the oblique direction infrared light irradiation means and the shallow angle oblique direction infrared light irradiation means are turned on, and in a predetermined oblique direction, At a shallow angle, infrared light is irradiated to the sheet being transferred from the pocket side. For this reason, when a tablet with a round top surface such as a lens lock or a pill is employed, the tablet is easily recognized appropriately. As a result, since the position of the tablet can be accurately grasped when the inspection relating to the sheet foreign matter / tablet foreign matter is performed, a more accurate inspection can be performed. In the inspection relating to tablet surface peeling, at least the vertical white light irradiation means is turned on, and white light is irradiated in a substantially vertical direction from the pocket portion side to the sheet being transferred. For this reason, for example, when a sugar-coated tablet or the like is adopted as a tablet, it is possible to appropriately detect surface peeling based on a difference in color tone, as well as easy recognition of a colored tablet. As a result, a more accurate inspection can be performed.

手段3.包装用フィルムに形成されたポケット部に錠剤が収容され、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着されるPTPシートの製造に際し行われる、錠剤表面剥離に関する検査、及び、シール不良に関する検査に用いられる外観検査用照明装置であって、
移送中のシートに対し前記ポケット部側から略垂直方向に白色光を照射可能な垂直白色光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に赤外光を照射可能な垂直赤外光照射手段とを備え、
前記錠剤表面剥離に関する検査に際しては、少なくとも前記垂直白色光照射手段が点灯状態とされ、
前記シール不良に関する検査に際しては、少なくとも前記垂直赤外光照射手段が点灯状態とされるよう切換可能に構成したことを特徴とする外観検査用照明装置。
Means 3. Inspection related to tablet surface peeling, which is performed in the production of a PTP sheet in which tablets are stored in pocket portions formed in a packaging film and the cover film is attached in a sealed state so as to close the pocket portions, and poor sealing A lighting device for visual inspection used for inspection relating to
Vertical white light irradiation means capable of irradiating white light in a substantially vertical direction from the pocket portion side to the sheet being transferred;
Vertical infrared light irradiation means capable of irradiating infrared light in a substantially vertical direction from the pocket portion side to the sheet being transferred,
When inspecting the tablet surface peeling, at least the vertical white light irradiation means is turned on,
An illumination device for appearance inspection, which is configured to be switchable so that at least the vertical infrared light irradiating means is turned on at the time of inspection related to the seal failure.

手段3によれば、錠剤表面剥離に関する検査に際しては、少なくとも垂直白色光照射手段が点灯状態とされ、移送中のシートに対しポケット部側から略垂直方向に白色光が照射される。このため、例えば着色された錠剤を適正に認識しやすいのは勿論のこと、糖衣錠等が錠剤として採用された場合には、色調の相違に基づき、適正に表面剥離を検出することができる。結果として、より精度の高い検査を行うことができる。また、シール不良に関する検査に際しては、少なくとも垂直赤外光照射手段が点灯状態とされ、移送中のシートに対しポケット部側から略垂直方向に赤外光が照射される。このため、カバーフィルムの取着が適正に行われていないシール不良部位が存在した場合、当該部位においては取着に際して形成されるシール目が存在しておらず、主として赤外光を照射することで、明度差(輝度差)に基づいてシール不良部分を特定できる。結果として、より精度の高い検査を行うことができる。   According to the means 3, at the time of the inspection relating to tablet surface peeling, at least the vertical white light irradiation means is turned on, and white light is irradiated in a substantially vertical direction from the pocket portion side to the sheet being transferred. For this reason, for example, when a sugar-coated tablet or the like is adopted as a tablet, it is possible to appropriately detect surface peeling based on a difference in color tone, as well as easy recognition of a colored tablet. As a result, a more accurate inspection can be performed. Further, at the time of the inspection related to the seal failure, at least the vertical infrared light irradiation means is turned on, and infrared light is irradiated in a substantially vertical direction from the pocket portion side to the sheet being transferred. For this reason, when there is a poorly sealed part where the cover film is not properly attached, there are no seal eyes formed at the time of attachment, and the infrared light is mainly irradiated. Thus, a defective seal portion can be specified based on the brightness difference (luminance difference). As a result, a more accurate inspection can be performed.

手段4.包装用フィルムに形成されたポケット部に錠剤が収容され、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着されるPTPシートの製造に際し行われる、シート異物・錠剤異物に関する検査、及び、シール不良に関する検査に用いられる外観検査用照明装置であって、
移送中のシートに対し前記ポケット部側から所定の斜め方向に赤外光を照射可能な斜方向赤外光照射手段と、
前記斜方向赤外光照射手段よりも浅い角度で、移送中のシートに対し前記ポケット部側から斜め方向に赤外光を照射可能な浅角斜方向赤外光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に赤外光を照射可能な垂直赤外光照射手段とを備え、
前記シート異物・錠剤異物に関する検査に際しては、少なくとも前記斜方向赤外光照射手段及び浅角斜方向赤外光照射手段が点灯状態とされ、
前記シール不良に関する検査に際しては、少なくとも前記垂直赤外光照射手段が点灯状態とされるよう切換可能に構成したことを特徴とする外観検査用照明装置。
Means 4. Inspecting the sheet foreign matter / tablet foreign matter, which is performed in the production of the PTP sheet in which the tablet is accommodated in the pocket portion formed in the packaging film and the cover film is attached in a sealed state so as to close the pocket portion, and It is an illumination device for visual inspection used for inspection related to defective sealing,
Inclined direction infrared light irradiation means capable of irradiating infrared light in a predetermined oblique direction from the pocket portion side to the sheet being transferred;
Shallow angle oblique direction infrared light irradiation means capable of irradiating infrared light obliquely from the pocket side to the sheet being transferred at a shallower angle than the oblique direction infrared light irradiation means;
Vertical infrared light irradiation means capable of irradiating infrared light in a substantially vertical direction from the pocket portion side to the sheet being transferred,
When inspecting the sheet foreign matter / tablet foreign matter, at least the oblique direction infrared light irradiation means and the shallow angle oblique direction infrared light irradiation means are turned on,
An illumination device for appearance inspection, which is configured to be switchable so that at least the vertical infrared light irradiating means is turned on at the time of inspection related to the seal failure.

手段4によれば、シート異物・錠剤異物に関する検査に際しては、少なくとも斜方向赤外光照射手段及び浅角斜方向赤外光照射手段が点灯状態とされ、所定の斜め方向に、また、それよりも浅い角度で、移送中のシートに対しポケット部側から赤外光が照射される。このため、レンズ錠や丸薬といった、頂面の丸い錠剤が採用されているような場合に、当該錠剤を適正に認識しやすい。結果として、シート異物・錠剤異物に関する検査を行うに際し、錠剤の位置を正確に把握できることから、より精度の高い検査を行うことができる。また、シール不良に関する検査に際しては、少なくとも垂直赤外光照射手段が点灯状態とされ、移送中のシートに対しポケット部側から略垂直方向に赤外光が照射される。このため、カバーフィルムの取着が適正に行われていないシール不良部位が存在した場合、当該部位においては取着に際して形成されるシール目が存在しておらず、主として赤外光を照射することで、明度差(輝度差)に基づいてシール不良部分を特定できる。結果として、より精度の高い検査を行うことができる。   According to the means 4, at the time of the inspection relating to the sheet foreign matter / tablet foreign matter, at least the oblique direction infrared light irradiation means and the shallow angle oblique direction infrared light irradiation means are turned on, and in a predetermined oblique direction, At a shallow angle, infrared light is irradiated to the sheet being transferred from the pocket side. For this reason, when a tablet with a round top surface such as a lens lock or a pill is employed, the tablet is easily recognized appropriately. As a result, since the position of the tablet can be accurately grasped when the inspection relating to the sheet foreign matter / tablet foreign matter is performed, a more accurate inspection can be performed. Further, at the time of the inspection related to the seal failure, at least the vertical infrared light irradiation means is turned on, and infrared light is irradiated in a substantially vertical direction from the pocket portion side to the sheet being transferred. For this reason, when there is a poorly sealed part where the cover film is not properly attached, there are no seal eyes formed at the time of attachment, and the infrared light is mainly irradiated. Thus, a defective seal portion can be specified based on the brightness difference (luminance difference). As a result, a more accurate inspection can be performed.

手段5.包装用フィルムに形成されたポケット部に錠剤が収容され、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着されるPTPシートの製造に際し行われる、シート異物・錠剤異物に関する検査、錠剤表面剥離に関する検査、及び、シール不良に関する検査に用いられる外観検査用照明装置であって、
移送中のシートに対し前記ポケット部側から略垂直方向に赤外光を照射可能な垂直赤外光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に白色光を照射可能な垂直白色光照射手段とを備え、
前記シート異物・錠剤異物に関する検査及びシール不良に関する検査に際しては、少なくとも前記垂直赤外光照射手段が点灯状態とされ、
前記錠剤表面剥離に関する検査に際しては、少なくとも前記垂直白色光照射手段が点灯状態とされるよう切換可能に構成したことを特徴とする外観検査用照明装置。
Means 5. Inspection for sheet foreign matter / tablet foreign matter, tablet surface, which is performed in the production of a PTP sheet in which tablets are stored in pocket portions formed in a packaging film and a cover film is attached in a sealed state so as to close the pocket portions It is an illumination device for visual inspection used for inspection related to peeling and inspection related to seal failure,
Vertical infrared light irradiation means capable of irradiating infrared light in a substantially vertical direction from the pocket portion side to the sheet being transferred;
Vertical white light irradiation means capable of irradiating white light in a substantially vertical direction from the pocket portion side to the sheet being transferred,
At the time of the inspection concerning the sheet foreign matter / tablet foreign matter and the inspection concerning the sealing failure, at least the vertical infrared light irradiation means is turned on,
An illumination device for appearance inspection, which is configured to be switchable so that at least the vertical white light irradiation means is turned on in the inspection related to the tablet surface peeling.

手段5によれば、シート異物・錠剤異物に関する検査及びシール不良に関する検査に際しては、少なくとも垂直赤外光照射手段が点灯状態とされ、移送中のシートに対しポケット部側から略垂直方向に赤外光が照射される。このため、特に頂面が平坦な所謂「平錠」が錠剤として採用されているような場合に、錠剤を適正に認識しやすい。結果として、シート異物・錠剤異物に関する検査を行うに際し、錠剤の位置を正確に把握できることから、より精度の高い検査を行うことができる。また、カバーフィルムの取着が適正に行われていないシール不良部位が存在した場合、当該部位においては取着に際して形成されるシール目が存在しておらず、主として上記赤外光が照射されることで、明度差(輝度差)に基づいてシール不良部分を特定できる。結果として、より精度の高い検査を行うことができる。また、錠剤表面剥離に関する検査に際しては、少なくとも垂直白色光照射手段が点灯状態とされ、移送中のシートに対しポケット部側から略垂直方向に白色光が照射される。このため、例えば着色された錠剤を適正に認識しやすいのは勿論のこと、糖衣錠等が錠剤として採用された場合には、色調の相違に基づき、適正に表面剥離を検出することができる。結果として、より精度の高い検査を行うことができる。その上、3つの検査を単一の照明装置で実現することができるため、著しいコストの低減及び設置スペースのコンパクト化を図ることができる。   According to the means 5, at the time of the inspection relating to the sheet foreign matter / tablet foreign matter and the inspection relating to the sealing failure, at least the vertical infrared light irradiation means is turned on, and the infrared ray is irradiated in a substantially vertical direction from the pocket portion side to the sheet being transferred. Light is irradiated. For this reason, it is easy to recognize a tablet appropriately, especially when a so-called “flat tablet” having a flat top surface is adopted as a tablet. As a result, since the position of the tablet can be accurately grasped when the inspection relating to the sheet foreign matter / tablet foreign matter is performed, a more accurate inspection can be performed. In addition, when there is a poorly sealed part where the cover film is not properly attached, there is no sealing eye formed at the time of attachment, and the infrared light is mainly irradiated. Thus, a defective seal portion can be specified based on the brightness difference (luminance difference). As a result, a more accurate inspection can be performed. In the inspection relating to tablet surface peeling, at least the vertical white light irradiation means is turned on, and white light is irradiated in a substantially vertical direction from the pocket portion side to the sheet being transferred. For this reason, for example, when a sugar-coated tablet or the like is adopted as a tablet, it is possible to appropriately detect surface peeling based on a difference in color tone, as well as easy recognition of a colored tablet. As a result, a more accurate inspection can be performed. In addition, since the three inspections can be realized with a single lighting device, the cost can be significantly reduced and the installation space can be made compact.

手段6.包装用フィルムに形成されたポケット部に錠剤が収容され、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着されるPTPシートの製造に際し行われる、シート異物・錠剤異物に関する検査、錠剤表面剥離に関する検査、及び、シール不良に関する検査に用いられる外観検査用照明装置であって、
移送中のシートに対し前記ポケット部側から所定の斜め方向に赤外光を照射可能な斜方向赤外光照射手段と、
前記斜方向赤外光照射手段よりも浅い角度で、移送中のシートに対し前記ポケット部側から斜め方向に赤外光を照射可能な浅角斜方向赤外光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に赤外光を照射可能な垂直赤外光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に白色光を照射可能な垂直白色光照射手段とを備え、
前記シート異物・錠剤異物に関する検査に際しては、少なくとも前記斜方向赤外光照射手段及び浅角斜方向赤外光照射手段が点灯状態とされ、
前記錠剤表面剥離に関する検査に際しては、少なくとも前記垂直白色光照射手段が点灯状態とされ、
前記シール不良に関する検査に際しては、少なくとも前記垂直赤外光照射手段が点灯状態とされるよう切換可能に構成したことを特徴とする外観検査用照明装置。
Means 6. Inspection for sheet foreign matter / tablet foreign matter, tablet surface, which is performed in the production of a PTP sheet in which tablets are stored in pocket portions formed in a packaging film and a cover film is attached in a sealed state so as to close the pocket portions It is an illumination device for visual inspection used for inspection related to peeling and inspection related to seal failure,
Inclined direction infrared light irradiation means capable of irradiating infrared light in a predetermined oblique direction from the pocket portion side to the sheet being transferred;
Shallow angle oblique direction infrared light irradiation means capable of irradiating infrared light obliquely from the pocket side to the sheet being transferred at a shallower angle than the oblique direction infrared light irradiation means;
Vertical infrared light irradiation means capable of irradiating infrared light in a substantially vertical direction from the pocket portion side to the sheet being transferred;
Vertical white light irradiation means capable of irradiating white light in a substantially vertical direction from the pocket portion side to the sheet being transferred,
When inspecting the sheet foreign matter / tablet foreign matter, at least the oblique direction infrared light irradiation means and the shallow angle oblique direction infrared light irradiation means are turned on,
When inspecting the tablet surface peeling, at least the vertical white light irradiation means is turned on,
An illumination device for appearance inspection, which is configured to be switchable so that at least the vertical infrared light irradiating means is turned on at the time of inspection related to the seal failure.

手段6によれば、シート異物・錠剤異物に関する検査に際しては、少なくとも斜方向赤外光照射手段及び浅角斜方向赤外光照射手段が点灯状態とされ、所定の斜め方向に、また、それよりも浅い角度で、移送中のシートに対しポケット部側から赤外光が照射される。このため、レンズ錠や丸薬といった、頂面の丸い錠剤が採用されているような場合に、当該錠剤を適正に認識しやすい。結果として、シート異物・錠剤異物に関する検査を行うに際し、錠剤の位置を正確に把握できることから、より精度の高い検査を行うことができる。また、錠剤表面剥離に関する検査に際しては、少なくとも垂直白色光照射手段が点灯状態とされ、移送中のシートに対しポケット部側から略垂直方向に白色光が照射される。このため、例えば着色された錠剤を適正に認識しやすいのは勿論のこと、糖衣錠等が錠剤として採用された場合には、色調の相違に基づき、適正に表面剥離を検出することができる。結果として、より精度の高い検査を行うことができる。さらに、シール不良に関する検査に際しては、少なくとも垂直赤外光照射手段が点灯状態とされ、移送中のシートに対しポケット部側から略垂直方向に赤外光が照射される。このため、カバーフィルムの取着が適正に行われていないシール不良部位が存在した場合、当該部位においては取着に際して形成されるシール目が存在しておらず、主として赤外光を照射することで、明度差(輝度差)に基づいてシール不良部分を特定できる。結果として、より精度の高い検査を行うことができる。その上、3つの検査を単一の照明装置で実現することができるため、著しいコストの低減及び設置スペースのコンパクト化を図ることができる。   According to the means 6, at the time of the inspection relating to the sheet foreign matter / tablet foreign matter, at least the oblique direction infrared light irradiation means and the shallow angle oblique direction infrared light irradiation means are turned on, and in a predetermined oblique direction, At a shallow angle, infrared light is irradiated to the sheet being transferred from the pocket side. For this reason, when a tablet with a round top surface such as a lens lock or a pill is employed, the tablet is easily recognized appropriately. As a result, since the position of the tablet can be accurately grasped when the inspection relating to the sheet foreign matter / tablet foreign matter is performed, a more accurate inspection can be performed. In the inspection relating to tablet surface peeling, at least the vertical white light irradiation means is turned on, and white light is irradiated in a substantially vertical direction from the pocket portion side to the sheet being transferred. For this reason, for example, when a sugar-coated tablet or the like is adopted as a tablet, it is possible to appropriately detect surface peeling based on a difference in color tone, as well as easy recognition of a colored tablet. As a result, a more accurate inspection can be performed. Further, at the time of the inspection related to the seal failure, at least the vertical infrared light irradiation means is turned on, and infrared light is irradiated in a substantially vertical direction from the pocket portion side to the sheet being transferred. For this reason, when there is a poorly sealed part where the cover film is not properly attached, there are no seal eyes formed at the time of attachment, and the infrared light is mainly irradiated. Thus, a defective seal portion can be specified based on the brightness difference (luminance difference). As a result, a more accurate inspection can be performed. In addition, since the three inspections can be realized with a single lighting device, the cost can be significantly reduced and the installation space can be made compact.

手段7.移送中のシートに対し前記ポケット部側から所定の斜め方向に赤外光を照射可能な斜方向赤外光照射手段を具備し、前記シート異物・錠剤異物に関する検査に際しては、さらに前記斜方向赤外光照射手段も点灯状態とされるよう構成したことを特徴とする手段1又は5に記載の外観検査用照明装置。   Mean 7 The apparatus is provided with oblique infrared light irradiation means capable of irradiating infrared light in a predetermined oblique direction from the pocket portion side to the sheet being transferred. The illumination device for visual inspection according to means 1 or 5, wherein the external light irradiation means is also turned on.

手段7によれば、シート異物・錠剤異物に関する検査に際しては、さらに斜方向赤外光照射手段も点灯状態とされ、移送中のシートに対しポケット部側から所定の斜め方向にも赤外光が照射される。このため、平錠に限られず、丸い錠剤を含む大概の錠剤に関し、認識、特定することができる。結果として、汎用性を一層高めることができる。また、特に、割線を有するタイプの錠剤においても当該割線による悪影響を防止することができ、かかる意味でメリットが大きい。尚、この効果は、斜方向赤外光照射手段が点灯状態とされる手段2等においても同様に奏される。   According to the means 7, when inspecting the sheet foreign matter / tablet foreign matter, the oblique direction infrared light irradiation means is also turned on, and infrared light is also emitted in a predetermined oblique direction from the pocket side to the sheet being transferred. Irradiated. For this reason, it is not restricted to a flat tablet, It can recognize and identify about most tablets including a round tablet. As a result, versatility can be further enhanced. In particular, even in the type of tablet having a secant, the adverse effect due to the secant can be prevented, and the merit is great in this sense. This effect is also exhibited in the means 2 etc. in which the oblique direction infrared light irradiation means is turned on.

手段8.移送中のシートに対し前記ポケット部側から所定の斜め方向に白色光を照射可能な斜方向白色光照射手段を具備し、前記錠剤表面剥離に関する検査に際しては、さらに前記斜方向白色光照射手段も点灯状態とされるよう構成したことを特徴とする手段1乃至3及び手段4乃至7のいずれかに記載の外観検査用照明装置。   Means 8. A diagonal white light irradiation means capable of irradiating white light in a predetermined oblique direction from the pocket portion side to the sheet being transferred is provided. The illumination device for visual inspection according to any one of the means 1 to 3 and the means 4 to 7, wherein the illumination apparatus is configured to be in a lighting state.

手段8によれば、錠剤表面剥離に関する検査に際しては、さらに斜方向白色光照射手段も点灯状態とされ、移送中のシートに対しポケット部側から所定の斜め方向にも白色光が照射される。このため、割線を有するフィルムコート錠等において、当該割線による悪影響を防止することができ、かかる意味でメリットが大きい。   According to the means 8, when inspecting the tablet surface peeling, the oblique white light irradiation means is also turned on, and the sheet being transferred is irradiated with white light in a predetermined oblique direction from the pocket portion side. For this reason, in the film coat tablet etc. which have a parting line, the bad influence by the parting line can be prevented, and the merit is large in this sense.

手段9.前記斜方向白色光照射手段よりも浅い角度で、移送中のシートに対し前記ポケット部側から斜め方向に白色光を照射可能な浅角斜方向白色光照射手段を具備し、前記錠剤表面剥離に関する検査に際しては、さらに前記浅角斜方向白色光照射手段も点灯状態とされるよう構成したことを特徴とする手段8に記載の外観検査用照明装置。   Means 9. It comprises shallow angle oblique direction white light irradiation means capable of irradiating white light obliquely from the pocket side to the sheet being transferred at a shallower angle than the oblique direction white light irradiation means, and relates to the tablet surface peeling. The illumination device for appearance inspection according to means 8, wherein the shallow angle oblique direction white light irradiation means is also turned on during the inspection.

手段9によれば、錠剤表面剥離に関する検査に際しては、さらに浅角斜方向白色光照射手段も点灯状態とされ、より浅い角度で、移送中のシートに対しポケット部側から斜め方向に白色光が照射される。このため、頂面の丸い糖衣錠や、周囲に面取部を有する平糖衣錠等の輪郭を特定しやすく、かかる意味でメリットが大きい。   According to the means 9, when inspecting the tablet surface peeling, the shallow angle oblique direction white light irradiation means is also turned on, and the white light is emitted obliquely from the pocket portion side to the sheet being transferred at a shallower angle. Irradiated. For this reason, it is easy to specify the outline of a sugar-coated tablet with a round top surface, a flat sugar-coated tablet having a chamfered portion around the top, and the merit is great in this sense.

手段10.移送中のシートに対し前記ポケット部側から所定の斜め方向に赤外光を照射可能な斜方向赤外光照射手段を具備し、前記シール不良に関する検査に際しては、さらに前記斜方向赤外光照射手段も点灯状態とされるよう構成したことを特徴とする手段3乃至6のいずれかに記載の外観検査用照明装置。   Means 10. It is provided with oblique infrared light irradiation means capable of irradiating infrared light in a predetermined oblique direction from the pocket portion side to the sheet being transferred, and further in the oblique infrared light irradiation when inspecting the seal failure. The illumination device for visual inspection according to any one of means 3 to 6, wherein the means is also turned on.

手段10によれば、シール不良に関する検査に際しては、さらに斜方向赤外光照射手段も点灯状態とされ、移送中のシートに対しポケット部側から所定の斜め方向にも赤外光が照射される。このため、検査のための撮像に際し、画角を考慮した場合に好適な撮像を実現できる。また、撮像(照射)領域が、シートの移送方向に大きい(長い)場合に、シール不良をより精度よく検出することができる。   According to the means 10, when inspecting for a seal failure, the oblique direction infrared light irradiation means is also turned on, and infrared light is also irradiated in a predetermined oblique direction from the pocket portion side to the sheet being transferred. . For this reason, when taking an image for inspection, it is possible to realize an image that is suitable when the angle of view is taken into consideration. Further, when the imaging (irradiation) area is large (long) in the sheet transfer direction, it is possible to detect a sealing failure with higher accuracy.

手段11.包装用フィルムに形成されたポケット部に錠剤が収容され、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着されるPTPシートの製造に際し行われる、シート異物・錠剤異物に関する検査、錠剤表面剥離に関する検査、及び、シール不良に関する検査のうち、少なくとも2つの検査に用いられる外観検査用照明装置であって、
移送中のシートに対し前記ポケット部側から略垂直方向に赤外光を照射可能な垂直赤外光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に白色光を照射可能な垂直白色光照射手段とを備えたことを特徴とする外観検査用照明装置。
Means 11. Inspection of sheet foreign matter / tablet foreign matter, tablet surface, which is performed in the production of a PTP sheet in which tablets are stored in a pocket portion formed in a packaging film and a cover film is attached in a sealed state so as to close the pocket portion It is an illumination device for appearance inspection used for at least two inspections among inspections related to peeling and inspections related to seal defects,
Vertical infrared light irradiation means capable of irradiating infrared light in a substantially vertical direction from the pocket portion side to the sheet being transferred;
An illumination device for appearance inspection, comprising: vertical white light irradiation means capable of irradiating white light in a substantially vertical direction from the pocket portion side to the sheet being transferred.

手段11によれば、そのときどきの検査に際し、照射態様を適宜切換えることで、上述した作用効果を奏せしめることができる。   According to the means 11, in the occasional inspection, the above-described effects can be achieved by appropriately switching the irradiation mode.

手段12.包装用フィルムに形成されたポケット部に錠剤が収容され、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着されるPTPシートの製造に際し行われる、シート異物・錠剤異物に関する検査、錠剤表面剥離に関する検査、及び、シール不良に関する検査のうち、少なくとも2つの検査に用いられる外観検査用照明装置であって、
移送中のシートに対し前記ポケット部側から所定の斜め方向に赤外光を照射可能な斜方向赤外光照射手段と、
前記斜方向赤外光照射手段よりも浅い角度で、移送中のシートに対し前記ポケット部側から斜め方向に赤外光を照射可能な浅角斜方向赤外光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に白色光を照射可能な垂直白色光照射手段とを備えたことを特徴とする外観検査用照明装置。
Means 12. Inspection for sheet foreign matter / tablet foreign matter, tablet surface, which is performed in the production of a PTP sheet in which tablets are stored in pocket portions formed in a packaging film and a cover film is attached in a sealed state so as to close the pocket portions It is an illumination device for appearance inspection used for at least two inspections among inspections related to peeling and inspections related to seal defects,
Inclined direction infrared light irradiation means capable of irradiating infrared light in a predetermined oblique direction from the pocket portion side to the sheet being transferred;
Shallow angle oblique direction infrared light irradiation means capable of irradiating infrared light obliquely from the pocket side to the sheet being transferred at a shallower angle than the oblique direction infrared light irradiation means;
An illumination device for appearance inspection, comprising: vertical white light irradiation means capable of irradiating white light in a substantially vertical direction from the pocket portion side to the sheet being transferred.

手段12によれば、そのときどきの検査に際し、照射態様を適宜切換えることで、上述した作用効果を奏せしめることができる。   According to the means 12, in the occasional inspection, the above-described effects can be achieved by appropriately switching the irradiation mode.

手段13.包装用フィルムに形成されたポケット部に錠剤が収容され、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着されるPTPシートの製造に際し行われる、シート異物・錠剤異物に関する検査、錠剤表面剥離に関する検査、及び、シール不良に関する検査のうち、少なくとも2つの検査に用いられる外観検査用照明装置であって、
移送中のシートに対し前記ポケット部側から所定の斜め方向に赤外光を照射可能な斜方向赤外光照射手段と、
前記斜方向赤外光照射手段よりも浅い角度で、移送中のシートに対し前記ポケット部側から斜め方向に赤外光を照射可能な浅角斜方向赤外光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に赤外光を照射可能な垂直赤外光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に白色光を照射可能な垂直白色光照射手段とを備えたことを特徴とする外観検査用照明装置。
Means 13. Inspection for sheet foreign matter / tablet foreign matter, tablet surface, which is performed in the production of a PTP sheet in which tablets are stored in pocket portions formed in a packaging film and a cover film is attached in a sealed state so as to close the pocket portions It is an illumination device for appearance inspection used for at least two inspections among inspections related to peeling and inspections related to seal defects,
Inclined direction infrared light irradiation means capable of irradiating infrared light in a predetermined oblique direction from the pocket portion side to the sheet being transferred;
Shallow angle oblique direction infrared light irradiation means capable of irradiating infrared light obliquely from the pocket side to the sheet being transferred at a shallower angle than the oblique direction infrared light irradiation means;
Vertical infrared light irradiation means capable of irradiating infrared light in a substantially vertical direction from the pocket portion side to the sheet being transferred;
An illumination device for appearance inspection, comprising: vertical white light irradiation means capable of irradiating white light in a substantially vertical direction from the pocket portion side to the sheet being transferred.

手段13によれば、そのときどきの検査に際し、照射態様を適宜切換えることで、上述した作用効果を奏せしめることができる。   According to the means 13, in the occasional inspection, the above-described effects can be achieved by appropriately switching the irradiation mode.

手段14.包装用フィルムに形成されたポケット部に錠剤が収容され、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着されるPTPシートの製造に際し行われる、シート異物・錠剤異物に関する検査、錠剤表面剥離に関する検査、及び、シール不良に関する検査に共用される外観検査用照明装置であって、
移送中のシートに対し前記ポケット部側から所定の斜め方向に赤外光を照射可能な斜方向赤外光照射手段と、
前記斜方向赤外光照射手段よりも浅い角度で、移送中のシートに対し前記ポケット部側から斜め方向に赤外光を照射可能な浅角斜方向赤外光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に赤外光を照射可能な垂直赤外光照射手段と、
移送中のシートに対し前記ポケット部側から所定の斜め方向に白色光を照射可能な斜方向白色光照射手段と、
前記斜方向白色光照射手段よりも浅い角度で、移送中のシートに対し前記ポケット部側から斜め方向に白色光を照射可能な浅角斜方向白色光照射手段と、
移送中のシートに対し前記ポケット部側から略垂直方向に白色光を照射可能な垂直白色光照射手段とを備え、
前記シート異物・錠剤異物に関する検査に際しては、少なくとも前記垂直赤外光照射手段、並びに、前記斜方向赤外光照射手段及び浅角斜方向赤外光照射手段のうち少なくとも一方が点灯状態とされ、
前記錠剤表面剥離に関する検査に際しては、少なくとも前記斜方向白色光照射手段、浅角斜方向白色光照射手段、及び、垂直白色光照射手段が点灯状態とされ、
前記シール不良に関する検査に際しては、少なくとも前記垂直赤外光照射手段が点灯状態とされるよう切換可能に構成したことを特徴とする外観検査用照明装置。
Means 14. Inspection for sheet foreign matter / tablet foreign matter, tablet surface, which is performed in the production of a PTP sheet in which tablets are stored in pocket portions formed in a packaging film and a cover film is attached in a sealed state so as to close the pocket portions It is a lighting device for visual inspection that is commonly used for inspection related to peeling and inspection related to seal failure,
Inclined direction infrared light irradiation means capable of irradiating infrared light in a predetermined oblique direction from the pocket portion side to the sheet being transferred;
Shallow angle oblique direction infrared light irradiation means capable of irradiating infrared light obliquely from the pocket side to the sheet being transferred at a shallower angle than the oblique direction infrared light irradiation means;
Vertical infrared light irradiation means capable of irradiating infrared light in a substantially vertical direction from the pocket portion side to the sheet being transferred;
Oblique white light irradiation means capable of irradiating white light in a predetermined oblique direction from the pocket portion side to the sheet being transferred,
Shallow angle oblique white light irradiation means capable of irradiating white light obliquely from the pocket side to the sheet being transferred at an angle shallower than the oblique direction white light irradiation means;
Vertical white light irradiation means capable of irradiating white light in a substantially vertical direction from the pocket portion side to the sheet being transferred,
When inspecting the sheet foreign matter / tablet foreign matter, at least one of the vertical infrared light irradiation means, and the oblique direction infrared light irradiation means and the shallow angle oblique direction infrared light irradiation means is turned on,
In the inspection on the tablet surface peeling, at least the oblique direction white light irradiation means, the shallow angle oblique direction white light irradiation means, and the vertical white light irradiation means are turned on,
An illumination device for appearance inspection, which is configured to be switchable so that at least the vertical infrared light irradiating means is turned on at the time of inspection related to the seal failure.

手段14によれば、上述した各作用効果を重畳的に奏せしめることができる。   According to the means 14, each effect mentioned above can be shown in a superimposed manner.

手段15.前記各照射手段の点灯の有無を切換制御する制御手段を具備することを特徴とする手段1乃至14のいずれかに記載の外観検査用照明装置。   Means 15. The illumination device for appearance inspection according to any one of means 1 to 14, further comprising control means for performing switching control of whether or not each of the irradiation means is turned on.

手段16.前記制御手段は、各照射手段の光量をも制御可能であることを特徴とする手段15に記載の外観検査用照明装置。   Means 16. The illumination device for appearance inspection according to means 15, wherein the control means can also control the light quantity of each irradiation means.

手段16によれば、そのときどきのニーズに応じた決め細やかな検査を実現できる。   According to the means 16, it is possible to realize a detailed inspection according to the occasional needs.

手段17.上記いずれかの手段において、
前記斜方向赤外光照射手段から照射される赤外光は、主として(一部偏光された)拡散光であること、
前記浅角斜方向赤外光照射手段から照射される赤外光は、主として(一部偏光された)拡散光であること、
前記垂直赤外光照射手段から照射される赤外光は、主として平行光であること、
前記斜方向白色光照射手段から照射される白色光は、主として(一部偏光された)拡散光であること、
前記浅角斜方向白色光照射手段から照射される白色光は、主として(一部偏光された)拡散光であること、
前記垂直白色光照射手段から照射される白色光は、主として平行光であること、
のうち、少なくとも1つを充足していることを特徴とする外観検査用照明装置。
Means 17. In any of the above means,
The infrared light irradiated from the oblique direction infrared light irradiation means is mainly diffused light (partially polarized),
The infrared light irradiated from the shallow angle oblique direction infrared light irradiation means is mainly diffused light (partially polarized),
The infrared light irradiated from the vertical infrared light irradiation means is mainly parallel light;
The white light emitted from the oblique direction white light irradiation means is mainly diffused light (partially polarized),
The white light emitted from the shallow angle oblique direction white light irradiation means is mainly diffused light (partially polarized),
The white light emitted from the vertical white light irradiation means is mainly parallel light,
Among them, at least one of the illumination devices for appearance inspection is satisfied.

手段17によれば、上述した各作用効果がより確実に奏される。   According to the means 17, each effect mentioned above is show | played more reliably.

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

本実施形態では、外観検査装置をPTP包装機に装備することによって、PTP包装機内でPTPシートの外観不良(シート異物・錠剤異物、錠剤表面剥離、及び、シール不良)が検査されるようになっている。図2(a),(b)に示すように、PTPシート1は、複数のポケット部2を備えた包装用フィルムとしての容器フィルム3と、ポケット部2を塞ぐようにして容器フィルム3に取着されたカバーフィルムとしての密封用フィルム4とを有している。容器フィルム3は、例えば、PP(ポリプロピレン)やPVC(ポリ塩化ビニル)等の比較的硬質で所定の剛性を有する熱可塑性樹脂材料によって構成され、光透過性を有している(ここでは、透明を呈している。)。密封用フィルム4は、アルミニウムによって構成されている。また、各ポケット部2には被充填物としての錠剤(例えば、糖衣錠)5が1つずつ収容されている。さらに、PTPシート1には、ポケット部2等の非取着部分を除いた取着領域全体において、密封用フィルム4側に微小なへこみによる模様が形成されている。当該へこみは、容器フィルム3と密封用フィルム4とが強固にシールされた部分であり、へこみが所定の格子模様として表れている。該模様は、本実施形態では、図2(c)に示すように、シール線6から構成されており、シール線6により同一形状の複数の平行四辺形部が形成されている。なお、本実施形態では、平行四辺形部として、正方形状をなすこととしているが、他にも、長方形、菱形であってもよいし、任意の平行四辺形状等としてもよい。   In this embodiment, by mounting the appearance inspection device on the PTP packaging machine, the appearance defect (sheet foreign matter / tablet foreign matter, tablet surface peeling, and sealing failure) of the PTP sheet is inspected in the PTP packaging machine. ing. As shown in FIGS. 2A and 2B, the PTP sheet 1 is attached to the container film 3 as a packaging film having a plurality of pocket portions 2 and the container film 3 so as to close the pocket portions 2. And a sealing film 4 as a covered cover film. The container film 3 is made of, for example, a relatively hard thermoplastic resin material having a predetermined rigidity, such as PP (polypropylene) or PVC (polyvinyl chloride), and has light transparency (here, transparent). ). The sealing film 4 is made of aluminum. Each pocket portion 2 contains one tablet (for example, sugar-coated tablet) 5 as an object to be filled. Further, the PTP sheet 1 has a pattern formed by a fine dent on the sealing film 4 side in the entire attachment region excluding the non-attachment portion such as the pocket portion 2. The dent is a portion where the container film 3 and the sealing film 4 are firmly sealed, and the dent appears as a predetermined lattice pattern. In this embodiment, as shown in FIG. 2C, the pattern is composed of a seal line 6, and a plurality of parallelogram portions having the same shape are formed by the seal line 6. In the present embodiment, the parallelogram portion has a square shape, but may be a rectangular shape, a rhombus shape, or an arbitrary parallelogram shape.

図3に示すように、PTP包装機7は、錠剤5を容器フィルム3に自動的に包装するものである。具体的には、PP、PVCなどの帯状の樹脂フィルム8をフィルム送りロール9とテンションロール10,11とで、加熱装置12及び成形装置13に送り込み、錠剤5が充填されるポケット部2を樹脂フィルム8に成形する。そして、樹脂フィルム8にポケット部2が成形された容器フィルム3が、充填装置14の下まで送られてくると、充填装置14が各ポケット部2に錠剤5を自動的に充填する。   As shown in FIG. 3, the PTP packaging machine 7 automatically packages the tablets 5 on the container film 3. Specifically, a belt-shaped resin film 8 such as PP or PVC is fed to the heating device 12 and the molding device 13 by the film feeding roll 9 and the tension rolls 10 and 11, and the pocket portion 2 filled with the tablet 5 is made of resin. The film 8 is formed. Then, when the container film 3 in which the pocket portion 2 is formed in the resin film 8 is sent to the bottom of the filling device 14, the filling device 14 automatically fills each pocket portion 2 with the tablet 5.

一方、帯状に形成された密封用フィルム4は、テンションロール16,17を介してフィルム受けロール18の方へと案内されている。フィルム受けロール18には、加熱ロール19が圧接可能となっており、該加熱ロール19の外周面には、僅かに凸状に形成された格子状の線(図示略)が設けられている。そして、両ロール18,19間に、容器フィルム3及び密封用フィルム4が送り込まれるようになっている。両フィルム3,4が、両ロール18,19間を加熱圧接状態で通過することで、容器フィルム3に密封用フィルム4が取着されるとともに、密封用フィルム4に上述した格子状のシール線6が形成される。これによって、錠剤5が各ポケット部2に充填された長尺状のPTPフィルム20が製造される。   On the other hand, the sealing film 4 formed in a belt shape is guided toward the film receiving roll 18 via the tension rolls 16 and 17. A heating roll 19 can be pressed against the film receiving roll 18, and a lattice-like line (not shown) formed in a slightly convex shape is provided on the outer peripheral surface of the heating roll 19. The container film 3 and the sealing film 4 are fed between the rolls 18 and 19. When both films 3 and 4 pass between both rolls 18 and 19 in a heat-pressed state, the sealing film 4 is attached to the container film 3, and the above-described lattice-shaped sealing wire is attached to the sealing film 4. 6 is formed. Thus, a long PTP film 20 in which the tablet 5 is filled in each pocket portion 2 is manufactured.

前記フィルム受けロール18及び加熱ロール19の下流にはPTPフィルム20の移送経路に沿って、PTPフィルム20の外観不良を検査するための外観検査装置21が配設されている。この外観検査装置21は、(1)両フィルム3,4間に存在する毛髪等の異物及び錠剤5上の異物(以下、「シート異物・錠剤異物」と称する)の検出を主目的とする検査(以下、便宜上「Eタイプ検査」と称する)、(2)糖衣錠等の錠剤5の表面の剥離(以下、「錠剤表面剥離」と称する)の検出を主目的とする検査(以下、便宜上「Hタイプ検査」と称する)、(3)容器フィルム3に対する密封用フィルム4の取着状態の異常(以下、「シール不良」と称する)の検出を主目的とする検査(以下、便宜上「Sタイプ検査」と称する)を行うものである。   An appearance inspection device 21 for inspecting the appearance defect of the PTP film 20 is disposed downstream of the film receiving roll 18 and the heating roll 19 along the transfer path of the PTP film 20. This appearance inspection device 21 is (1) inspection mainly intended to detect foreign matter such as hair existing between the films 3 and 4 and foreign matter on the tablet 5 (hereinafter referred to as “sheet foreign matter / tablet foreign matter”). (Hereinafter referred to as “E type inspection” for the sake of convenience), (2) inspection (hereinafter referred to as “H for convenience” for the purpose of detecting the peeling of the surface of the tablet 5 such as a sugar-coated tablet (hereinafter referred to as “tablet peeling”). (Referred to as "type inspection"), (3) inspection (hereinafter referred to as "S type inspection for convenience") for the purpose of detecting abnormalities in the attachment state of the sealing film 4 to the container film 3 (hereinafter referred to as "seal failure") ").

上記検査を経た後、PTPフィルム20は図示しない打抜装置によってPTPシート1単位に裁断される。なお、外観検査装置21によって不良品判定された場合、その不良品判定となったPTPシートは、図示しない不良シート排出機構によって別途排出される。   After the inspection, the PTP film 20 is cut into one PTP sheet by a punching device (not shown). When a defective product is determined by the appearance inspection apparatus 21, the PTP sheet that has been determined to be defective is separately discharged by a defective sheet discharge mechanism (not shown).

さて、PTP包装機7の概略は以上のとおりであるが、以下においては図1,4,5,9に基づき、外観検査装置21についてより具体的に説明する。   Now, the outline of the PTP packaging machine 7 is as described above. Hereinafter, the appearance inspection apparatus 21 will be described more specifically based on FIGS.

外観検査装置21は、照明装置22、それぞれ撮像手段を構成するE用カメラ23E、H用カメラ23H及びS用カメラ23S、画像処理装置24、モニタ25、並びにキーボード26等を備えている。   The appearance inspection apparatus 21 includes an illuminating device 22, an E camera 23E, an H camera 23H and an S camera 23S, an image processing device 24, a monitor 25, a keyboard 26, and the like that respectively constitute imaging means.

まずは、照明装置22について、図4に示す模式的な断面図、図1に示すより現実的な断面図等に基づいて詳細に説明する。照明装置22は、PTPフィルム20を水平にみたてたときに、当該PTPフィルム20に対し、斜め上方から赤外拡散光を照射可能な第1の照射手段IR1と、前記第1の照射手段IR1よりも低い(浅い)角度から赤外拡散光を照射可能な第2の照射手段IR2と、ほぼ真上から赤外平行光を照射可能な第3の照射手段IR3と、前記第1の照射手段IR1とほぼ等しい角度から白色拡散光を照射可能な第4の照射手段WH4と、前記第4の照射手段WH4よりも低い角度(第2の照射手段IR2とほぼ等しい角度)から白色拡散光を照射可能な第5の照射手段WH5と、ほぼ真上から白色平行光を照射可能な第6の照射手段WH6とを備えている。尚、拡散光、平行光とあるのは、あくまでも主としてという意味であり、例えば平行光の中に拡散光が一部混ざっていてもよいという趣旨である。   First, the illumination device 22 will be described in detail based on the schematic cross-sectional view shown in FIG. 4, the more realistic cross-sectional view shown in FIG. The illumination device 22 has a first irradiation means IR1 that can irradiate infrared diffused light obliquely from above to the PTP film 20 when the PTP film 20 is viewed horizontally, and the first irradiation means IR1. A second irradiating means IR2 capable of irradiating infrared diffused light from a lower (shallow) angle, a third irradiating means IR3 capable of irradiating infrared parallel light from substantially above, and the first irradiating means. A fourth irradiating means WH4 capable of irradiating white diffused light from an angle substantially equal to IR1, and an irradiating white diffused light from an angle lower than the fourth irradiating means WH4 (an angle substantially equal to the second irradiating means IR2). A fifth irradiating means WH5 capable of irradiating white parallel light from almost right above is provided. Note that the terms “diffused light” and “parallel light” mean only to the last. For example, a part of the diffused light may be mixed in the parallel light.

本実施形態では、第1の照射手段IR1が斜方向赤外光照射手段に相当し、第2の照射手段IR2が浅角斜方向赤外光照射手段に相当し、第3の照射手段IR3が垂直赤外光照射手段に相当する。また、第4の照射手段WH4が斜方向白色光照射手段に相当し、第5の照射手段WH5が浅角斜方向白色光照射手段に相当し、第6の照射手段WH6が垂直白色光照射手段に相当する。   In the present embodiment, the first irradiation means IR1 corresponds to the oblique direction infrared light irradiation means, the second irradiation means IR2 corresponds to the shallow angle oblique direction infrared light irradiation means, and the third irradiation means IR3 It corresponds to vertical infrared light irradiation means. The fourth irradiation means WH4 corresponds to the oblique white light irradiation means, the fifth irradiation means WH5 corresponds to the shallow angle oblique white light irradiation means, and the sixth irradiation means WH6 corresponds to the vertical white light irradiation means. It corresponds to.

また、照明装置22は、袴状に配設され、光を透過可能で、かつ、偏光依存性のない特殊拡散板31を備えているとともに、その外側において上下対をなすように拡散反射板32,33を備えている。さらに、照明装置22は、前記特殊拡散板31の上側において平行光フィルタ34及びハーフミラー35を備えている。   The illuminating device 22 includes a special diffuser plate 31 that is arranged in a bowl shape, can transmit light, and has no polarization dependency, and has a diffuse reflector 32 that forms a pair vertically on the outside thereof. , 33. Further, the illumination device 22 includes a parallel light filter 34 and a half mirror 35 on the upper side of the special diffusion plate 31.

前記第1の照射手段IR1及び第4の照射手段WH4は、それぞれが上側の拡散反射板32を挟むようにして上下(PTPフィルム20を水平に見立てて上下;この段落、次段落、次々段落において同様)に配設されている。下側に配設された第1の照射手段IR1及び第4の照射手段WH4からの光は、一旦拡散反射板32に当たって反射し、特殊拡散板31を透過して拡散光となってPTPフィルム20に照射される。一方、上側に配設された第1の照射手段IR1及び第4の照射手段WH4からの光は、拡散反射板32に取着された偏光板36(図1参照)を透過して、特殊拡散板31を透過して、部分的に偏光された拡散光となってPTPフィルム20に照射される。   The first irradiating means IR1 and the fourth irradiating means WH4 are vertically arranged so as to sandwich the upper diffusive reflector 32 (up and down with the PTP film 20 viewed horizontally; the same applies to this paragraph, the next paragraph, and the following paragraph). It is arranged. The light from the first irradiation means IR1 and the fourth irradiation means WH4 disposed on the lower side once hits the diffuse reflection plate 32 and is reflected, passes through the special diffusion plate 31 and becomes diffused light, and becomes the PTP film 20. Is irradiated. On the other hand, the light from the first irradiation means IR1 and the fourth irradiation means WH4 disposed on the upper side is transmitted through the polarizing plate 36 (see FIG. 1) attached to the diffusing reflection plate 32, and is diffused specially. The PTP film 20 is irradiated through the plate 31 as partially polarized diffused light.

前記第2の照射手段IR2及び第5の照射手段WH5は、それぞれが下側の拡散反射板33を挟むようにして上下に配設されている。下側に配設された第2の照射手段IR2及び第5の照射手段WH5からの光は、一旦拡散反射板33に当たって反射し、特殊拡散板31を透過してより低い角度からの拡散光となってPTPフィルム20に照射される。一方、上側に配設された第2の照射手段IR2及び第5の照射手段WH5からの光は、拡散反射板33に取着された偏光板37(図1参照)を透過して、特殊拡散板31を透過して、部分的に偏光された拡散光となってPTPフィルム20に照射される。   The second irradiating means IR2 and the fifth irradiating means WH5 are arranged one above the other so as to sandwich the lower diffusing reflection plate 33 therebetween. The light from the second irradiation means IR2 and the fifth irradiation means WH5 disposed on the lower side once hits the diffuse reflection plate 33 and is reflected, transmitted through the special diffusion plate 31, and diffused light from a lower angle. Then, the PTP film 20 is irradiated. On the other hand, the light from the second irradiation means IR2 and the fifth irradiation means WH5 arranged on the upper side is transmitted through the polarizing plate 37 (see FIG. 1) attached to the diffuse reflector 33 and is diffused specially. The PTP film 20 is irradiated through the plate 31 as partially polarized diffused light.

前記第3の照射手段IR3及び第6の照射手段WH6は、いずれも第1の照射手段IR1よりも上方に配置されている。第3の照射手段IR3及び第6の照射手段WH6からの光は、一旦平行光フィルタ34を透過し、斜めに配設されたハーフミラー35に当たって部分的に反射し、主としてほぼ真上からの平行光となってPTPフィルム20に照射される(勿論、一部拡散光も照射される)。   Both the third irradiation means IR3 and the sixth irradiation means WH6 are arranged above the first irradiation means IR1. The light from the third irradiating means IR3 and the sixth irradiating means WH6 once passes through the parallel light filter 34, hits the half mirror 35 disposed obliquely, is partially reflected, and is mainly parallel from almost right above. Light is applied to the PTP film 20 (of course, part of the diffused light is also applied).

これら各照射手段IR1,IR2,IR3,WH4,WH5,WH6の照射の有無は、そのときどの検査内容に応じて適宜切り換えられるようになっており、その切換態様の詳細については、後述することとする。   The presence or absence of irradiation of each of these irradiation means IR1, IR2, IR3, WH4, WH5, and WH6 is appropriately switched depending on which inspection content at that time, and details of the switching mode will be described later. To do.

また、撮像手段を構成するE用カメラ23E、H用カメラ23H及びS用カメラ23Sは、前記照明装置22から照射される光の波長領域にそれぞれ特有の感度を有するものである。本実施形態では、E用カメラ23E及びS用カメラ23Sとしては、赤外光に感度のあるモノクロカメラが採用され、H用カメラ23Hとしては、カラーカメラが採用されている。   Further, the E camera 23E, the H camera 23H, and the S camera 23S constituting the image pickup means have specific sensitivities in the wavelength region of light emitted from the illumination device 22, respectively. In the present embodiment, a monochrome camera sensitive to infrared light is employed as the E camera 23E and the S camera 23S, and a color camera is employed as the H camera 23H.

各カメラ23E,23H,23Sと照明装置22との関係について説明すると、図5(a)に示すように、各カメラ23E,23H,23Sと照明装置22は、PTPフィルム20のポケット部2側において配置されている。各カメラ23E,23H,23Sは、PTPフィルム20の平面に対して、略垂直方向から撮像可能となっており、照明装置22より照射された光は、前記ハーフミラー35よりも上方(PTPフィルム20を水平に見立てて上方;この段落において同様)に位置する各カメラ23E,23H,23Sによって撮像される。すなわち、照明装置22よりも上方には、可視光の透過を許容し、赤外光を反射可能なホットミラー36が設置されている。ホットミラー36に対応する位置には、E用カメラ23E及びS用カメラ23Sが設置されている。図5(b)に示すように、前記ホットミラー36で分光され、反射させられた赤外光は、ビームスプリッタ37でさらに分光される。該ビームスプリッタ37で反射した赤外光は、E用カメラ23Eで撮像され、ビームスプリッタ37を透過した赤外光は、さらにミラー38で反射させられた上で、S用カメラ23Sで撮像される。また、図5(a)に戻り、前記ホットミラー36の上方には、全反射ミラー39が設置されており、当該全反射ミラー39に対応する位置には、H用カメラ23Hが設置されている。そして、前記ホットミラー36を透過した可視光がH用カメラ23Hで撮像される。本実施形態では、各カメラ23E,23H,23Sは、ほぼ1箇所に集結して設定されているということができる。   The relationship between each camera 23E, 23H, 23S and the illumination device 22 will be described. As shown in FIG. 5A, each camera 23E, 23H, 23S and the illumination device 22 are arranged on the pocket portion 2 side of the PTP film 20. Has been placed. Each of the cameras 23E, 23H, and 23S can capture an image from a direction substantially perpendicular to the plane of the PTP film 20, and light emitted from the illumination device 22 is above the half mirror 35 (PTP film 20). Taken horizontally by the cameras 23E, 23H, and 23S located above (same as in this paragraph). That is, a hot mirror 36 that allows transmission of visible light and reflects infrared light is installed above the illumination device 22. At a position corresponding to the hot mirror 36, an E camera 23E and an S camera 23S are installed. As shown in FIG. 5B, the infrared light that has been split and reflected by the hot mirror 36 is further split by the beam splitter 37. The infrared light reflected by the beam splitter 37 is imaged by the E camera 23E, and the infrared light transmitted through the beam splitter 37 is further reflected by the mirror 38 and then imaged by the S camera 23S. . 5A, a total reflection mirror 39 is installed above the hot mirror 36, and an H camera 23H is installed at a position corresponding to the total reflection mirror 39. . The visible light transmitted through the hot mirror 36 is imaged by the H camera 23H. In the present embodiment, it can be said that the cameras 23E, 23H, and 23S are collectively set in one place.

本実施形態では、照明装置22から照射される赤外光や白色光(可視光)が、容器フィルム3越しに錠剤5及び密封用フィルム4を照らし、錠剤5及び密封用フィルム4から反射した光が、各カメラ23E,23H,23Sによってそれぞれ二次元撮像されるように構成されている。各カメラ23E,23H,23Sによって撮像された画像データは、各カメラ23E,23H,23S内部においてデジタル信号に変換された上で、デジタル信号の形で画像処理装置24に入力されるようになっている。   In the present embodiment, infrared light or white light (visible light) emitted from the illumination device 22 illuminates the tablet 5 and the sealing film 4 through the container film 3 and reflects light reflected from the tablet 5 and the sealing film 4. Are configured to be two-dimensionally imaged by the cameras 23E, 23H, and 23S. Image data captured by each camera 23E, 23H, 23S is converted into a digital signal inside each camera 23E, 23H, 23S, and then input to the image processing device 24 in the form of a digital signal. Yes.

次に、検査内容毎に相違する、照明装置22の各照射手段IR1,IR2,IR3,WH4,WH5,WH6の照射の態様について説明する。   Next, an aspect of irradiation of each irradiation means IR1, IR2, IR3, WH4, WH5, and WH6 of the illumination device 22 that is different for each inspection content will be described.

まず、Eタイプ検査に際しては、図6に示すように、赤外光に関する照射手段IR1〜IR3については全て点灯状態(=照射状態,オン状態)とされ、白色光に関する照射手段WH4〜WH6については全て消灯状態(=非照射状態,オフ状態)とされる。より詳しく説明すると、それぞれ下側に配設された第1の照射手段IR1及び第2の照射手段IR2からは拡散赤外光が照射され、これにより、主としてポケット部2のエッジ部分が識別可能となる。また特に、下側に配設された第1の照射手段IR1からの光は、比較的深い割線を有する錠剤5が採用された場合に当該割線の影響を無くすることができるという点において有効に機能する。   First, in the E type inspection, as shown in FIG. 6, all of the irradiation means IR1 to IR3 related to infrared light are turned on (= irradiation state, on state), and the irradiation means WH4 to WH6 related to white light are set. All are turned off (= non-irradiation state, off state). More specifically, diffused infrared light is irradiated from the first irradiation means IR1 and the second irradiation means IR2 respectively disposed on the lower side, and thereby the edge portion of the pocket portion 2 can be identified mainly. Become. In particular, the light from the first irradiation means IR1 disposed on the lower side is effective in that the influence of the dividing line can be eliminated when the tablet 5 having a relatively deep dividing line is employed. Function.

さらに、上側に配設された第1の照射手段IR1及び第2の照射手段IR2からは偏光された拡散赤外光が照射され、これにより、ポケット部2の頂面部分の正反射が抑制され(E用カメラ23Eにも正反射成分をカットするための偏光フィルタが設けられている)、錠剤5がより明瞭に識別可能となる。ここで、容器フィルム3(樹脂フィルム8)としてPPが採用された場合には正反射が比較的起こりにくいのに対し、PVCが採用された場合には正反射が比較的起こりやすい傾向にある。この点に鑑み、本実施形態では、容器フィルム3(樹脂フィルム8)としてPVCが採用された場合には、PPが採用された場合よりも、上側に配設された第1の照射手段IR1及び第2の照射手段IR2からは、より強い偏光拡散光が照射されるようになっている。   Furthermore, polarized diffused infrared light is irradiated from the first irradiation means IR1 and the second irradiation means IR2 disposed on the upper side, and thereby regular reflection of the top surface portion of the pocket portion 2 is suppressed. (E camera 23E is also provided with a polarizing filter for cutting the specular reflection component), and tablet 5 can be identified more clearly. Here, when PP is adopted as the container film 3 (resin film 8), specular reflection is relatively difficult to occur, whereas when PVC is adopted, regular reflection tends to occur relatively easily. In view of this point, in this embodiment, when PVC is adopted as the container film 3 (resin film 8), the first irradiation means IR1 disposed on the upper side and the case where PP is adopted and From the second irradiation means IR2, stronger polarized diffused light is irradiated.

上記のような照射態様とされることで、Eタイプ検査に際しては、一部偏光された赤外光が照射されることとなり、錠剤5上の異物や、PTPフィルム20(シート部)上の異物等が存在した場合、異物等が存在しない部分との間で輝度差が生じることとなる。これにより、既知の検査手法を適宜用いることで、異物検査(シート異物・錠剤異物の検査)が可能となっている。   By adopting the irradiation mode as described above, partly polarized infrared light is irradiated during E type inspection, and foreign matter on the tablet 5 or foreign matter on the PTP film 20 (sheet portion). Etc., a difference in luminance will occur between the portion where no foreign matter or the like is present. Accordingly, foreign matter inspection (inspection of sheet foreign matter / tablet foreign matter) can be performed by appropriately using a known inspection method.

次に、Hタイプ検査に際しては、図7に示すように、白色光に関する照射手段WH4〜WH6については全て点灯状態(=照射状態,オン状態)とされ、赤外光に関する照射手段IR1〜IR3については全て消灯状態(=非照射状態,オフ状態)とされる。より詳しくは、それぞれ下側に配設された第4の照射手段WH4及び第5の照射手段WH5からは拡散白色光が照射され、これにより、主としてポケット部2のエッジ部分が識別可能となる。さらに、それぞれ上側に配設された第4の照射手段WH4及び第5の照射手段WH5からは偏光された拡散白色光が照射され、これにより、ポケット部2の頂面部分の正反射が抑制され(H用カメラ23Hにも正反射成分をカットするための偏光フィルタが設けられている)、錠剤5がより明瞭に識別可能となる。本実施形態では、Hタイプ検査にあっても容器フィルム3(樹脂フィルム8)としてPVCが採用された場合には、PPが採用された場合よりも、上側に配設された第4の照射手段WH4及び第5の照射手段WH5からはより強い偏光拡散光が照射されるようになっている。   Next, in the H type inspection, as shown in FIG. 7, the irradiation means WH4 to WH6 related to white light are all turned on (= irradiation state, on state), and the irradiation means IR1 to IR3 related to infrared light are used. Are all turned off (= non-irradiation state, off state). More specifically, the diffused white light is emitted from the fourth irradiation means WH4 and the fifth irradiation means WH5 arranged on the lower side, respectively, and thereby the edge portion of the pocket portion 2 can be identified mainly. Further, polarized diffused white light is irradiated from the fourth irradiation means WH4 and the fifth irradiation means WH5 disposed on the upper side, respectively, and thereby regular reflection of the top surface portion of the pocket portion 2 is suppressed. (The H camera 23H is also provided with a polarizing filter for cutting the specular reflection component), and the tablet 5 can be identified more clearly. In the present embodiment, when PVC is adopted as the container film 3 (resin film 8) even in the H type inspection, the fourth irradiation means arranged on the upper side than the case where PP is adopted. Stronger polarized diffused light is emitted from WH4 and the fifth irradiation means WH5.

上記のような照射態様(赤外光と白色光との相違はあるものの、照射の仕方と言う点ではEタイプと共通する)とされることで、Hタイプ検査に際しては、一部偏光された白色光が照射されることとなり、錠剤5として糖衣錠が採用され、糖衣部分(表面)の剥離等が存在した場合、剥離部分と糖衣部分との間で色調差(輝度差)が生じることとなる。これにより、既知の検査手法を適宜用いることで、錠剤表面剥離の検査が可能となっている。   Due to the above-described irradiation mode (although there is a difference between infrared light and white light, it is common with E type in terms of irradiation method), the H type inspection was partially polarized When white light is irradiated and a sugar-coated tablet is employed as the tablet 5 and there is peeling of the sugar-coated part (surface), a color tone difference (luminance difference) occurs between the peeling part and the sugar-coated part. . Thereby, the tablet surface peeling can be inspected by appropriately using a known inspection method.

さらに、Sタイプ検査に際しては、図8に示すように、赤外光に関する第1の照射手段IR1及び第3の照射手段IR3についてのみ点灯状態(=照射状態,オン状態)とされ、それ以外の照射手段IR2,WH4〜WH6については全て消灯状態(=非照射状態,オフ状態)とされる。より詳しくは、シール不良検査に際しては、シール目を浮き立たせた上で検査を行うものであり、その浮き立たせ方としては、正反射光を捉えるのが効果的とされている。この点に鑑み、本実施形態では、第3の照射手段IR3から正反射光を主として照射するものである。また、S用カメラ23Sは画角を有しており、これを考慮した上で第1の照射手段IR1からの赤外光をも照射するものである。但し、S用カメラ23Sには偏光フィルタが設けられておらず、かかる意味で、正反射光成分を積極的に捉える構成が採用されている。   Further, in the S type inspection, as shown in FIG. 8, only the first irradiation means IR1 and the third irradiation means IR3 related to infrared light are turned on (= irradiation state, on state), and other than that The irradiation means IR2, WH4 to WH6 are all turned off (= non-irradiation state, off state). More specifically, when inspecting for a defective seal, the inspection is performed after the seal is raised, and as a method for raising the seal, it is considered effective to capture specularly reflected light. In view of this point, the present embodiment mainly irradiates regular reflection light from the third irradiation means IR3. Further, the S camera 23S has an angle of view, and in consideration of this, the infrared light from the first irradiation means IR1 is also irradiated. However, the S camera 23S is not provided with a polarizing filter, and in this sense, a configuration that positively captures the regularly reflected light component is employed.

上記のような照射態様とされることで、Sタイプ検査に際しては、主として正反射用赤外光が照射されることとなる。このとき、照射光は、密封用フィルム4の平面部分では正反射し、エッジ部分(へこみの存在する部分)等では乱反射する。このため、S用カメラ23Sで撮像された画像データにおいては、シール線6の明度が、シール線6により囲まれた平行四辺形部(内側部分)の明度よりも低くなり、前記平行四辺形部とシール線6とのコントラストが大きくなる。かかる明度差により、既知の検査手法を適宜用いることで、シール不良の検査が可能となっている。なお、容器フィルム4に品種等の印刷された印刷部がある場合において、印刷部は近赤外光や赤外光を透過させやすいため、容器フィルム4自体と印刷部との明度差が極めて小さくなる。これにより、本実施形態では印刷部を無視して検査することができるようになっている。   With the above-described irradiation mode, specular reflection infrared light is mainly irradiated in the S-type inspection. At this time, the irradiated light is regularly reflected at the planar portion of the sealing film 4 and diffusely reflected at the edge portion (the portion where the dent is present). For this reason, in the image data imaged by the S camera 23S, the brightness of the seal line 6 is lower than the brightness of the parallelogram part (inner part) surrounded by the seal line 6, and the parallelogram part. And the seal line 6 are increased in contrast. Due to the lightness difference, a seal inspection can be inspected by appropriately using a known inspection method. In the case where the container film 4 has a printed part such as a product type, since the printed part easily transmits near infrared light or infrared light, the difference in brightness between the container film 4 itself and the printed part is extremely small. Become. As a result, in this embodiment, it is possible to perform inspection while ignoring the printing unit.

さて、上述した画像処理装置24は、各カメラ23E,23H,23Sに対応した画像メモリ41E,41H,41S、マスキング手段42E,42H,42S、二値化手段43E,43H,43S、判定用メモリ44E,44H,44S、外観検査結果及び統計データメモリ45E,45H,45S、カメラタイミング制御手段46E,46H,46S、並びに、CPU及び入出力インターフェース47などから構成され、後述するような画像データの処理や、外観不良の判定(各検査)等を実施可能なっている。   The image processing apparatus 24 described above includes image memories 41E, 41H, 41S, masking means 42E, 42H, 42S, binarization means 43E, 43H, 43S, and a determination memory 44E corresponding to the cameras 23E, 23H, 23S. 44H, 44S, visual inspection result and statistical data memories 45E, 45H, 45S, camera timing control means 46E, 46H, 46S, a CPU and an input / output interface 47, and the like. In addition, it is possible to carry out judgment of appearance defects (each inspection).

各カメラ23E,23H,23Sで撮像された二次元イメージデータは、デジタル信号に変換された後、それぞれ対応する各画像メモリ41E,41H,41Sに記憶される。   The two-dimensional image data captured by each camera 23E, 23H, 23S is converted into a digital signal and then stored in each corresponding image memory 41E, 41H, 41S.

また、各イメージデータは、検査時において、対応するマスキング手段42E,42H,42Sによりマスキング処理が行われた後、再度各画像メモリ41E,41H,41Sに記憶され、同様に、二値化手段43E,43H,43Sにより二値化された後、再度各画像メモリ41E,41H,41Sに記憶される。   Each image data is subjected to masking processing by the corresponding masking means 42E, 42H, 42S at the time of inspection, and is stored again in each image memory 41E, 41H, 41S. Similarly, the binarizing means 43E. , 43H, and 43S and then stored again in the image memories 41E, 41H, and 41S.

CPU及び入出力インターフェース47は、各種処理プログラムを各判定用メモリ44E,44H,44Sの記憶内容などを使用しつつ実行するとともに、PTP包装機7に制御信号を送出し又はPTP包装機7から動作信号などの各種信号を送受信するためのものである。これによって、例えば、PTP包装機7の不良シート排出機構などを制御することができるようになっている。また、CPU及び入出力インターフェース47は、モニタ25に表示データを送出する機能をも有する。かかる機能により、二値あるいは濃淡のイメージデータや外観検査結果などを、モニタ25に表示させることができるようになっている。さらに、CPU及び入出力インターフェース47は、キーボード26からのデータを入力する機能をも有する。   The CPU and the input / output interface 47 execute various processing programs while using the contents of the determination memories 44E, 44H, 44S, etc., and send control signals to the PTP packaging machine 7 or operate from the PTP packaging machine 7. It is for transmitting and receiving various signals such as signals. Thereby, for example, the defective sheet discharge mechanism of the PTP packaging machine 7 can be controlled. The CPU and input / output interface 47 also has a function of sending display data to the monitor 25. With this function, binary or shaded image data, appearance inspection results, and the like can be displayed on the monitor 25. Further, the CPU and input / output interface 47 has a function of inputting data from the keyboard 26.

外観検査結果及び統計データメモリ45E,45H,45Sは、イメージデータに関する座標等のデータ、外観検査結果データ、及び、該外観検査結果データを確率統計的に処理した統計データなどを記憶するものである。これらの外観検査結果データや統計データは、CPU及び入出力インターフェース47の制御に基づき、適宜モニタ25に表示させることができる。また、これらの外観検査結果データや統計データに基づいてCPU及び入出力インターフェース47がPTP包装機7に制御信号を送出することもできる。   The appearance inspection result and statistical data memories 45E, 45H, and 45S store data such as coordinates relating to image data, appearance inspection result data, and statistical data obtained by probabilistically processing the appearance inspection result data. . These appearance inspection result data and statistical data can be appropriately displayed on the monitor 25 based on the control of the CPU and the input / output interface 47. Further, the CPU and the input / output interface 47 can send a control signal to the PTP packaging machine 7 based on the appearance inspection result data and the statistical data.

カメラタイミング制御手段46E,46H,46Sは、各カメラ23E,23H,23が撮像するイメージデータを、各画像メモリ41E,41H,41Sに取り込むタイミングを制御するものである。かかるタイミングはPTP包装機7に設けられた図示しないエンコーダからの信号に基づいて制御され、PTPフィルム20を所定量送るごとに各カメラ23E,23H,23Sによるシート単位(例えば打ち抜かれるPTPシート単位)で撮像(撮影)が行われる。   The camera timing control means 46E, 46H, 46S controls the timing at which image data captured by the cameras 23E, 23H, 23 is taken into the image memories 41E, 41H, 41S. Such timing is controlled based on a signal from an encoder (not shown) provided in the PTP packaging machine 7, and each time the PTP film 20 is fed by a predetermined amount, a sheet unit by each camera 23E, 23H, 23S (for example, a punched PTP sheet unit). An image is captured (photographing).

例えば、本実施形態では、図10に示すように、所定のシート単位が照明装置22の中心に移動したタイミングT3(便宜上中心タイミングTCと称する)において、S用カメラ23Sによる撮影が行われる(勿論、このときには、Sタイプ検査用の照射態様とされる)。また、上記中心タイミングTCよりも幾分早いタイミングT1(例えばT1=TC−25msec)で、錠剤部をターゲットとしたE用カメラ23Eによる撮影が行われ(勿論、このときには、Eタイプ検査用の照射態様とされ)、タイミングT2(例えばT2=T1+10msec)で、錠剤部をターゲットとしたH用カメラ23Hによる撮影が行われる(勿論、このときには、Hタイプ検査用の照射態様とされる)。さらに、上記中心タイミングTCよりも幾分遅いタイミングT4(例えばT4=TC+25msec)で、シート部をターゲットとしたE用カメラ23Eによる撮影が行われ(勿論、このときには、Eタイプ検査用の照射態様とされ)、タイミングT5(例えばT5=T4+10msec)で、シート部をターゲットとしたH用カメラ23Hによる撮影が行われる(勿論、このときには、Hタイプ検査用の照射態様とされる)。このように、本実施形態では、ほぼ同一箇所にある各カメラ23E,23H,23Sでほぼ同一箇所を撮像しようとしているものの、撮影タイミングに若干の相違があることから、撮像されるPTPフィルム20のシート単位位置にも若干の相違が生じうるものである。   For example, in the present embodiment, as shown in FIG. 10, shooting is performed by the S camera 23S at a timing T3 (referred to as a center timing TC for convenience) when a predetermined sheet unit moves to the center of the illumination device 22 (of course. At this time, the irradiation mode is used for S-type inspection). In addition, at the timing T1 (for example, T1 = TC−25 msec) somewhat earlier than the center timing TC, an image is taken by the E camera 23E targeting the tablet portion (of course, at this time, irradiation for E type inspection is performed). And at the timing T2 (for example, T2 = T1 + 10 msec), an image is taken by the H camera 23H targeting the tablet portion (of course, at this time, the irradiation mode is used for the H type inspection). Further, at the timing T4 (for example, T4 = TC + 25 msec) somewhat later than the center timing TC, photographing is performed by the E camera 23E targeting the sheet portion (of course, in this case, the irradiation mode for the E type inspection and Then, at timing T5 (for example, T5 = T4 + 10 msec), shooting is performed by the H camera 23H targeting the sheet portion (of course, in this case, an irradiation mode for H type inspection is used). As described above, in this embodiment, the cameras 23E, 23H, and 23S that are located at substantially the same location are about to capture the same location, but since there is a slight difference in the shooting timing, the PTP film 20 to be captured is captured. A slight difference may occur in the sheet unit position.

なお、本来であれば、H用カメラ23Hというのはカラーカメラであり、Hタイプ検査も、糖衣錠等の表面の剥離検査を主として行うためのものであるが、Eタイプ検査では検査しきれないような色調として現れる異常等を検出できることもあるのも事実である。この点に鑑み、本実施形態では、H用カメラ23Hであってもシート部をターゲットした撮影を行うとともに、Hタイプ検査であってもシート部の検査をも行うこととしている。   Originally, the H camera 23H is a color camera, and the H type inspection is mainly for the surface peeling inspection of sugar-coated tablets and the like, but the E type inspection cannot be fully inspected. It is also true that abnormalities appearing in various colors can be detected. In view of this point, in the present embodiment, the imaging for the sheet portion is performed even for the H camera 23H, and the sheet portion is also inspected even for the H type inspection.

次に、上記PTPフィルム20の外観検査(Eタイプ検査、Hタイプ検査、Sタイプ検査)の手順について説明する。   Next, the procedure of appearance inspection (E type inspection, H type inspection, S type inspection) of the PTP film 20 will be described.

まず、シール不良の検出を主目的とする「Sタイプ検査」について図11のフローチャートに従って説明する。Sタイプ検査に際しては、当該検査に先だって事前に図11(a)に示すような「Sタイプ設定ルーチン(サンプルモード)」が実行される。同ルーチンにおいては、まずステップS101において、先ず、良品(不良品でないことが明らかなPTPフィルム20)の濃淡画像を取得する。次に、ステップS102においては、Eタイプ又はHタイプでのポケット部位置データ(座標データ)を画像のずれ量分だけ移動させる。ここで、Eタイプ又はHタイプでのポケット部位置データを用いることとしているのは、Sタイプ検査での照射態様にあっては、主として正反射光を照射するため、ポケット部2の位置が把握しづらいためである。但し、上述したように、Sタイプ検査の撮像タイミングと、Eタイプ又はHタイプ検査の撮像タイミングとでは時間差が生じうるため、画像にずれが生じる。そのため、本ステップS102では、Eタイプ又はHタイプでのポケット部位置データを採用するにあたって、当該画像のずれ量分だけデータを移動することとしているのである。   First, “S type inspection” whose main purpose is to detect a seal failure will be described with reference to the flowchart of FIG. Prior to the inspection, an “S type setting routine (sample mode)” as shown in FIG. 11A is executed prior to the inspection. In this routine, first, in step S101, first, a gray image of a non-defective product (PTP film 20 that is clearly not defective) is acquired. Next, in step S102, pocket type position data (coordinate data) of the E type or H type is moved by the amount of image shift. Here, it is assumed that the pocket portion position data for the E type or H type is used. In the irradiation mode in the S type inspection, the position of the pocket portion 2 is grasped because the regular reflection light is mainly emitted. This is because it is difficult. However, as described above, there is a time difference between the imaging timing of the S-type inspection and the imaging timing of the E-type or H-type inspection. Therefore, in this step S102, when adopting the E-type or H-type pocket portion position data, the data is moved by the shift amount of the image.

次に、ステップS103では、各種設定を行い、モニタ25での表示処理を実行する。ここで、各種設定には、主としてSタイプ検査を行うに際してのポケット部2のマスキング処理が含まれる。すなわち、当該マスキング処理に際して、前記ステップS102でずれ量分移動させられたポケット部位置データが用いられるのである。ここで設定されたマスキングデータは、次に述べるSタイプ検査ルーチンでの検査に際して使用されるものである。   Next, in step S103, various settings are performed and display processing on the monitor 25 is executed. Here, the various settings mainly include masking processing of the pocket portion 2 when performing the S-type inspection. That is, in the masking process, the pocket portion position data moved by the shift amount in step S102 is used. The masking data set here is used for inspection in the S type inspection routine described below.

続いて、Sタイプ検査について説明する。図11(b)の「Sタイプ検査ルーチン(検査モード)」に示すように、検査に際しては、先ずステップS201において、検査対象となるPTPフィルム20の濃淡画像を取得する。次に、ステップS202においては、Eタイプ又はHタイプでのポケット部位置データ(座標データ)を画像のずれ量分だけ移動させる。当該ステップS202でも、ステップS102と同様に、Eタイプ又はHタイプでのポケット部位置データを用いることとしているが、その理由は、上述のとおりである。また、ずれ量分だけ移動させるのも、上述した理由によるものである。   Next, the S type inspection will be described. As shown in “S type inspection routine (inspection mode)” in FIG. 11B, first, in the step S201, a grayscale image of the PTP film 20 to be inspected is acquired. Next, in step S202, the pocket position data (coordinate data) of the E type or H type is moved by the amount of image shift. In step S202, as in step S102, the pocket position data of the E type or H type is used, and the reason is as described above. Also, the movement by the amount of deviation is due to the reason described above.

その後、ステップS203では、各種検査、判定を行い、モニタ25での表示処理を実行し、その後の処理を一旦終了する。ここで、各種検査、判定には、主としてシール不良検査が含まれる。シール不良検査の詳細についてはここでの具体的記載は省略するが、検査に際しては上記ステップS103で設定されたマスキングデータが用いられる。例えば、撮像された濃淡画像データにおいては、シール線6の明度が低くなり、シール線6で囲まれた平行四辺形部の明度が高くなる。一方で、容器フィルム4に取着不良やしわが生じてしまったり、異物が付着してしまったりする等の異常が生じている場合には、シール線6の位置以外に明度の低い部分が生じたり、シール線6の間隔が乱れたり、シール線6が形成されなかったりする。従って、シール線6としわとの部分において明度が低くなるため、これを適切に検出することで、シール不良が検査できるのである。ここで、容器フィルム3と密封用フィルム4とが取着されていないポケット部2に対応する部分については、シール不良検査を行う意義がなく、また、適正な検査に支障が生じるのを防止するため、当該部分をマスキングするものである。本実施形態では、上記処理を行うことで、マスキングを適正に行うことができる。   Thereafter, in step S203, various inspections and determinations are performed, display processing on the monitor 25 is executed, and the subsequent processing is temporarily ended. Here, various inspections and determinations mainly include a seal defect inspection. The detailed description of the seal defect inspection is omitted here, but the masking data set in step S103 is used for the inspection. For example, in the captured grayscale image data, the brightness of the seal line 6 is lowered, and the brightness of the parallelogram part surrounded by the seal line 6 is increased. On the other hand, when there is an abnormality such as poor attachment or wrinkles on the container film 4 or foreign matter adhering to the container film 4, a portion with low brightness other than the position of the seal line 6 occurs. Or the gap between the seal lines 6 is disturbed, or the seal lines 6 are not formed. Accordingly, the brightness of the seal line 6 and the wrinkle portion is low, and therefore, a seal failure can be inspected by appropriately detecting this. Here, the portion corresponding to the pocket portion 2 to which the container film 3 and the sealing film 4 are not attached has no significance in performing a seal failure inspection, and prevents the proper inspection from being hindered. Therefore, this portion is masked. In the present embodiment, masking can be appropriately performed by performing the above processing.

次に、錠剤表面剥離(糖衣錠にあっては糖衣部分の剥離、フィルムコート錠にあってはフィルム部分の剥離)の検出を主目的とする「Hタイプ検査」について図12〜図15のフローチャートに従って説明する。上述したように、本実施形態では、Hタイプ検査であっても、錠剤部のみならず、シート部の検査をも行うこととしている。まずは、錠剤部の検査について説明する。Hタイプ検査に際しては、当該錠剤部の検査に先だって事前に図12に示すような「Hタイプ錠剤部設定ルーチン(サンプルモード)」が実行される。   Next, according to the flowcharts of FIGS. 12 to 15, “H type inspection” mainly for detection of tablet surface peeling (peeling of sugar-coated part for sugar-coated tablets, peeling of film part for film-coated tablets). explain. As described above, in the present embodiment, not only the tablet part but also the sheet part is inspected even in the H type inspection. First, the inspection of the tablet part will be described. In the H-type inspection, an “H-type tablet part setting routine (sample mode)” as shown in FIG. 12 is executed in advance prior to the inspection of the tablet part.

同ルーチンにおいては、ステップS301において、先ず、良品(不良品でないことが明らかなPTPフィルム20)のカラー画像を取得する。次に、ステップS302においては、錠剤・ポケット部位置を当該Hタイプで設定するか否かを判定する。ここで、錠剤・ポケット部位置は、当該Hタイプ又は後述するEタイプで把握することができるのであるが、把握のしやすさは、そのときどきの照射態様等によって相違するため、ここで判定することとしているのである。錠剤・ポケット部位置をHタイプで設定すべきと判定された場合には、ステップS303において、ステップS301で取得した良品カラー画像を輝度及びRGB比率で二値化し、当該二値化データを画像メモリ41Hに格納する。   In this routine, in step S301, first, a color image of a non-defective product (PTP film 20 that is clearly not defective) is acquired. Next, in step S302, it is determined whether or not the tablet / pocket position is set for the H type. Here, the position of the tablet / pocket portion can be grasped by the H type or the E type, which will be described later, but the ease of grasping differs depending on the irradiation mode at that time, so it is determined here. It is going to be. If it is determined that the tablet / pocket position should be set in the H type, in step S303, the non-defective color image acquired in step S301 is binarized with luminance and RGB ratio, and the binarized data is stored in the image memory. Store in 41H.

次に、ステップS304でラベリング処理(塊処理)を行い、ステップS305で面積値が基準錠剤面積Lo未満の塊を除去する。その後、ステップS306では、シート単位での塊数と錠剤数とが一致するか否かを判断し、不一致ならば、当該ルーチンを一旦終了する。これに対し、塊数と錠剤数とが一致している場合には、ステップS307において、各塊の重心位置に対し、ポケットウインドウPW及び錠剤追従ウインドウJTWを設定する。また、錠剤重心座標平均HAV(シート単位の錠剤5のそれぞれの重心位置のxy平均座標)及び当該錠剤重心座標平均に対する各ポケット位置を格納(記憶)しておく。ここで、上記ポケットウインドウPWというのは、図2(d)に示すように、ポケット部2の外輪部分に相当する部位が円状の枠体として設定されるものであり、少なくともポケット部2を含む大きさを具備している。また、錠剤追従ウインドウJTWというのは錠剤5を捉えるための矩形状の枠体として設定されており、少なくともポケット部2を含む大きさを具備している。錠剤5は、前記錠剤追従ウインドウJTWの範囲内で探されることとなる。   Next, a labeling process (a lump process) is performed in step S304, and a lump whose area value is less than the reference tablet area Lo is removed in step S305. Thereafter, in step S306, it is determined whether or not the number of lumps and the number of tablets in the sheet unit match. If the numbers do not match, the routine is temporarily terminated. On the other hand, when the number of lumps coincides with the number of tablets, in step S307, the pocket window PW and the tablet follow-up window JTW are set for the center of gravity position of each lumps. In addition, tablet center-of-gravity coordinate average HAV (xy average coordinate of each center-of-gravity position of tablet 5 in sheet unit) and each pocket position with respect to the tablet center-of-gravity coordinate average are stored (stored). Here, as shown in FIG. 2D, the pocket window PW is a portion in which the portion corresponding to the outer ring portion of the pocket portion 2 is set as a circular frame, and at least the pocket portion 2 is defined. The size is included. The tablet following window JTW is set as a rectangular frame for capturing the tablet 5 and has a size including at least the pocket portion 2. The tablet 5 is searched for within the range of the tablet follow-up window JTW.

次に、ステップS308では、ポケットウインドウPWの傾斜補正を実行する。より詳しくは、PTPフィルム20が傾斜した状態で移送される場合があり、この場合には、ポケット部2の中心と錠剤5の中心とは必ずしも一致せず、所定方向にずれるケースがある。すなわち、上記ステップS107では錠剤5に基づいて位置を自動的に設定したものの、実際の画像ではポケット部2の中心と錠剤5の中心とがずれている場合には、手動でポケットウインドウPW全体を所定方向(例えば幅方向)に移動補正することが行われる。その後、ステップS309で、各種設定を行い、モニタ25での表示処理を実行する。ここで、各種設定には、主としてHタイプ検査を行うに際してのポケットウインドウPW及び錠剤追従ウインドウJTWの確定処理が含まれる。ここで確定(設定)されたポケットウインドウPW及び錠剤追従ウインドウJTWは、次に述べるHタイプ錠剤部検査ルーチンでの検査に際して使用されるものである。   Next, in step S308, inclination correction of the pocket window PW is executed. More specifically, the PTP film 20 may be transported in an inclined state. In this case, the center of the pocket portion 2 and the center of the tablet 5 do not always coincide with each other, and there is a case where the center is shifted in a predetermined direction. That is, although the position is automatically set based on the tablet 5 in the above step S107, if the center of the pocket portion 2 and the center of the tablet 5 are shifted in the actual image, the entire pocket window PW is manually moved. Movement correction is performed in a predetermined direction (for example, the width direction). Thereafter, various settings are performed in step S309, and display processing on the monitor 25 is executed. Here, the various settings mainly include confirmation processing of the pocket window PW and the tablet follow-up window JTW when performing the H-type inspection. The pocket window PW and the tablet follow-up window JTW determined (set) here are used for inspection in the H-type tablet part inspection routine described below.

一方、前記ステップS302で否定判定された場合には、ステップS310においてEタイプでのポケット部位置データ(座標データ)を利用するべく、当該Eタイプでのポケット部位置データ(座標データ)画像のずれ量分だけ移動させ、その後、ステップS309へ移行する。尚、ずれ量分だけ移動させるのは、上述した撮像タイミングの差異によるずれ量を補正するためである。   On the other hand, when a negative determination is made in step S302, the pocket position position (coordinate data) image of the E type is shifted in order to use the pocket position position data (coordinate data) of the E type in step S310. The amount is moved by the amount, and then the process proceeds to step S309. Note that the movement by the shift amount is to correct the shift amount due to the above-described difference in imaging timing.

続いて、Hタイプ錠剤部検査について説明する。図13の「Hタイプ錠剤部検査ルーチン(検査モード)」に示すように、検査に際しては、先ずステップS401において、検査対象たるPTPフィルム20のカラー画像を取得する。次に、ステップS402においては、錠剤・ポケット部位置を当該Hタイプで設定するか否かを判定する。そして、錠剤・ポケット部位置をHタイプで設定すべきと判定された場合には、ステップS403において、ステップS401で取得した検査カラー画像を輝度及びRGB比率で二値化し、当該二値化データを画像メモリ41Hに格納する。   Next, the H type tablet part inspection will be described. As shown in “H-type tablet part inspection routine (inspection mode)” in FIG. 13, at the time of inspection, first, in step S401, a color image of the PTP film 20 to be inspected is acquired. Next, in step S402, it is determined whether or not the tablet / pocket position is set for the H type. If it is determined that the tablet / pocket position should be set in the H type, in step S403, the inspection color image acquired in step S401 is binarized with luminance and RGB ratio, and the binarized data is converted into the binarized data. Store in the image memory 41H.

次に、ステップS404でラベリング処理(塊処理)を行い、ステップS405で錠剤追従ウインドウJTW領域に含まれる塊を抽出する。ここで、当該検査が初回の場合には、前記「Hタイプ錠剤部設定ルーチン(サンプルモード)」で設定された錠剤追従ウインドウJTWが採用され、その領域に含まれる塊が抽出される。これに対し、当該検査が2回目以降の場合には、前回設定された錠剤追従ウインドウJTWが採用される。そして、続くステップS406において、面積値が基準錠剤面積Lo未満の塊を除去する。その後、ステップS407では、表面剥離に関する検査及び判定が実行される。錠剤表面剥離の検査については、ここでの具体的記載は省略するが、例えば、撮像されたカラー画像データにおいては、例えば着色された(例えば黄色い)糖衣錠だと、糖衣部分が黄色で、剥離部分が白色となり、色調が相違する。従って、剥離が存在すると塊部分の形状や面積が正常なものと相違することとなり、これを適切に検出することで、錠剤表面剥離等の異常が検査できるのである。勿論、当該検査に際しては、剥離の他、錠剤5の面積、形状、異物の有無、捺印等に関する検査を行うこととしてもよい。   Next, a labeling process (block process) is performed in step S404, and a block included in the tablet following window JTW region is extracted in step S405. Here, when the inspection is the first time, the tablet follow-up window JTW set in the “H type tablet part setting routine (sample mode)” is adopted, and a lump contained in the region is extracted. On the other hand, when the inspection is performed for the second time or later, the tablet follow-up window JTW set last time is adopted. Then, in the subsequent step S406, a lump whose area value is less than the reference tablet area Lo is removed. Thereafter, in step S407, inspection and determination regarding surface peeling are performed. For the inspection of tablet surface peeling, specific description is omitted here. For example, in the captured color image data, for example, a colored (for example, yellow) sugar-coated tablet, the sugar-coated part is yellow, and the peeled part Becomes white and the color tone is different. Therefore, if there is peeling, the shape and area of the lump portion will be different from the normal one, and by detecting this appropriately, abnormalities such as tablet surface peeling can be inspected. Of course, in the inspection, in addition to peeling, an inspection related to the area and shape of the tablet 5, presence / absence of foreign matter, and stamping may be performed.

次に、次回以降の検査、或いは他の検査のため、ステップS408〜ステップS410の処理でポケットウインドウPW及び錠剤追従ウインドウJTWを設定し直す処理を行う。すなわち、ステップS408では、前記ステップS407で良品と判定された塊の重心位置を求める。続くステップS409では、良品錠の重心位置(但し、不良錠や欠錠の場合は前回の良品錠の重心位置を適用)の座標平均を求め、前記「Hタイプ錠剤部設定ルーチン(サンプルモード)」で格納された錠剤重心座標平均HAV(ステップS307)との差分αを求める。そして、ステップS410において、前記「Hタイプ錠剤部設定ルーチン(サンプルモード)」で設定されたポケットウインドウPW及び錠剤追従ウインドウJTW(ステップS307)を差分αだけ移動して設定する。その後、ステップS411においてモニタ25での表示処理を実行し、その後の処理を一旦終了する。   Next, processing for resetting the pocket window PW and the tablet follow-up window JTW is performed in the processing of Steps S408 to S410 for the next inspection or other inspections. That is, in step S408, the center-of-gravity position of the mass determined to be non-defective in step S407 is obtained. In the subsequent step S409, the coordinate average of the center of gravity position of the non-defective tablet (however, in the case of a defective tablet or missing tablet, the previous center of gravity position of the non-defective tablet is applied) is obtained. The difference α from the tablet center-of-gravity coordinate average HAV (step S307) stored in step S307 is obtained. In step S410, the pocket window PW and tablet follow-up window JTW (step S307) set in the “H type tablet part setting routine (sample mode)” are set by moving by the difference α. Thereafter, display processing on the monitor 25 is executed in step S411, and the subsequent processing is temporarily ended.

一方、前記ステップS402で否定判定された場合には、ステップS412においてEタイプでの錠剤・ポケット部位置データ(座標データ)を利用するべく、当該Eタイプでの錠剤・ポケット部位置データ(座標データ)画像のずれ量分だけ移動させ、その後、ステップS411へ移行する。尚、ずれ量分だけ移動させるのは、上述した撮像タイミングの差異によるずれ量を補正するためである。   On the other hand, if a negative determination is made in step S402, the tablet / pocket position data (coordinate data) for the E type is used to use the tablet / pocket position data (coordinate data) for the E type in step S412. ) The image is moved by the image shift amount, and then the process proceeds to step S411. Note that the movement by the shift amount is to correct the shift amount due to the above-described difference in imaging timing.

このように、本実施形態では、上記処理を行うことで、錠剤・ポケット部位置を適正に特定することができ、正確な検査を実現することができる。また、Hタイプで設定できない場合でも、Eタイプの錠剤・ポケット部位置データを用いることとしているため、このような場合であっても正確に検査を行うことができる。   As described above, in the present embodiment, by performing the above processing, it is possible to appropriately specify the position of the tablet / pocket portion, and it is possible to realize an accurate inspection. Even when the setting cannot be made with the H type, since the E type tablet / pocket position data is used, the inspection can be accurately performed even in such a case.

次に、「Hタイプ検査」のシート部の検査について説明する。Hタイプシート部の検査に際しては、当該検査に先だって事前に図14に示すような「Hタイプシート部設定ルーチン(サンプルモード)」が実行される。   Next, the inspection of the sheet portion of “H type inspection” will be described. When the H type sheet portion is inspected, an “H type sheet portion setting routine (sample mode)” as shown in FIG. 14 is executed in advance prior to the inspection.

同ルーチンにおいては、ステップS501において、先ず、良品(不良品でないことが明らかなPTPフィルム20)のカラー画像を取得する。次に、ステップS502においては、錠剤・ポケット部位置を当該Hタイプで設定するか否かを判定する。錠剤・ポケット部位置をHタイプで設定すべきと判定された場合には、ステップS503において、ポケット部位置をシート部撮影画像から算出するか否かを判定する。すなわち、当該シート部用の撮影画像で錠剤位置(ポケット位置)が特定できるか否かを判断する。そして、肯定判定された場合には、当該シート部用の撮影画像を用いるべく、ステップS504において、上記ステップS501で取得した良品カラー画像を輝度及びRGB比率で二値化し、当該二値化データを画像メモリ41Hに格納する。   In this routine, in step S501, first, a color image of a non-defective product (PTP film 20 that is clearly not defective) is acquired. Next, in step S502, it is determined whether or not the tablet / pocket position is set for the H type. If it is determined that the tablet / pocket position should be set in the H type, it is determined in step S503 whether the pocket position is to be calculated from the captured image of the sheet. That is, it is determined whether or not the tablet position (pocket position) can be specified from the photographed image for the sheet portion. If an affirmative determination is made, the non-defective color image acquired in step S501 is binarized with luminance and RGB ratio in step S504 to use the captured image for the sheet portion, and the binarized data is converted into the binarized data. Store in the image memory 41H.

次に、ステップS505でラベリング処理(塊処理)を行い、ステップS506で面積値が基準錠剤面積Lo未満の塊を除去する。その後、ステップS507では、シート単位での塊数と錠剤数とが一致するか否かを判断し、不一致ならば、当該ルーチンを一旦終了する。これに対し、塊数と錠剤数とが一致している場合には、ステップS508において、各塊の重心位置に対し、ポケットウインドウPW及び錠剤追従ウインドウJTWを設定する。また、錠剤重心座標平均HAV(シート単位の錠剤5のそれぞれの重心位置のxy平均座標)及び当該錠剤重心座標平均に対する各ポケット位置を格納(記憶)しておく。   Next, a labeling process (a lump process) is performed in step S505, and a lump whose area value is less than the reference tablet area Lo is removed in step S506. Thereafter, in step S507, it is determined whether or not the number of lumps and the number of tablets in units of sheets match. If they do not match, the routine is temporarily terminated. On the other hand, when the number of lumps coincides with the number of tablets, in step S508, the pocket window PW and the tablet follow-up window JTW are set for the center of gravity position of each lumps. In addition, tablet center-of-gravity coordinate average HAV (xy average coordinate of each center-of-gravity position of tablet 5 in sheet unit) and each pocket position with respect to the tablet center-of-gravity coordinate average are stored (stored).

次に、ステップS509では、ポケットウインドウPWの傾斜補正を実行する。すなわち、実際の画像でポケット部2の中心と錠剤5の中心とがずれている場合には、手動でポケットウインドウPW全体を所定方向(例えば幅方向)に移動補正する。その後、ステップS510で、各種設定を行い、モニタ25での表示処理を実行する。ここで、各種設定には、主としてHタイプ検査を行うに際してのポケットウインドウPW及び錠剤追従ウインドウJTWの確定処理が含まれる。ここで確定(設定)されたポケットウインドウPW及び錠剤追従ウインドウJTWは、次に述べるHタイプシート部検査ルーチンでの検査に際して使用されるものである。   Next, in step S509, inclination correction of the pocket window PW is executed. That is, when the center of the pocket portion 2 and the center of the tablet 5 are shifted in the actual image, the movement of the entire pocket window PW is manually corrected in a predetermined direction (for example, the width direction). Thereafter, in step S510, various settings are performed, and display processing on the monitor 25 is executed. Here, the various settings mainly include confirmation processing of the pocket window PW and the tablet follow-up window JTW when performing the H-type inspection. The pocket window PW and the tablet follow-up window JTW determined (set) here are used for inspection in the H type sheet portion inspection routine described below.

これに対し、前記ステップS503で否定判定された場合、つまり、シート部用の撮影画像では、錠剤位置(ポケット位置)が特定できないと判断された場合には、錠剤部用の撮影画像を用いるべく、ステップS511において、錠剤部設定ルーチン(図12)で求めたポケット部位置データを、撮影タイミングのずれ量分だけ移動させてポケット部位置データとして格納し、ステップS510へ移行する。   On the other hand, if a negative determination is made in step S503, that is, if it is determined that the tablet position (pocket position) cannot be specified in the captured image for the sheet portion, the captured image for the tablet portion should be used. In step S511, the pocket part position data obtained by the tablet part setting routine (FIG. 12) is moved by the amount of deviation of the photographing timing and stored as pocket part position data, and the process proceeds to step S510.

一方、前記ステップS502で否定判定された場合には、ステップS512において後述するEタイプでのポケット部位置データ(座標データ)を利用するべく、Eタイプ(図18参照)でのポケット部位置データ(座標データ)画像のずれ量分だけ移動させ、その後、ステップS509へ移行する。尚、ずれ量分だけ移動させるのは、上述した撮像タイミングの差異によるずれ量を補正するためである。   On the other hand, when a negative determination is made in step S502, the pocket portion position data (see FIG. 18) in the E type (see FIG. 18) is used in order to use the pocket portion position data (coordinate data) in the E type described later in step S512. The coordinate data is moved by the image shift amount, and then the process proceeds to step S509. Note that the movement by the shift amount is to correct the shift amount due to the above-described difference in imaging timing.

続いて、Hタイプシート部検査について説明する。図15の「Hタイプシート部検査ルーチン(検査モード)」に示すように、検査に際しては、先ずステップS601において、検査対象たるPTPフィルム20のカラー画像を取得する。次に、ステップS602においては、錠剤・ポケット部位置を当該Hタイプで設定するか否かを判定する。そして、錠剤・ポケット部位置をHタイプで設定すべきと判定された場合には、ステップS603において、ポケット部位置をシート部撮影画像から算出するか否かを判定する。すなわち、当該シート部用の撮影画像で錠剤位置(ポケット位置)が特定できるか否かを判断する。そして、肯定判定された場合には、当該シート部用の撮影画像を用いるべく、ステップS604において、上記ステップS601で取得した検査カラー画像を輝度及びRGB比率で二値化し、当該二値化データを画像メモリ41Hに格納する。   Next, the H type sheet portion inspection will be described. As shown in the “H type sheet portion inspection routine (inspection mode)” in FIG. 15, when inspecting, first, in step S601, a color image of the PTP film 20 to be inspected is acquired. Next, in step S602, it is determined whether or not the tablet / pocket position is set for the H type. If it is determined that the tablet / pocket position should be set in the H type, it is determined in step S603 whether the pocket position is to be calculated from the captured image of the sheet. That is, it is determined whether or not the tablet position (pocket position) can be specified from the photographed image for the sheet portion. If an affirmative determination is made, in order to use the captured image for the sheet portion, in step S604, the inspection color image acquired in step S601 is binarized with the luminance and the RGB ratio, and the binarized data is converted into the binarized data. Store in the image memory 41H.

次に、ステップS605でラベリング処理(塊処理)を行い、ステップS606で錠剤追従ウインドウJTW領域に含まれる塊を抽出する。ここで、当該検査が初回の場合には、前記「Hタイプシート部設定ルーチン(サンプルモード)」で設定された錠剤追従ウインドウJTWが採用され、その領域に含まれる塊が抽出される。これに対し、当該検査が2回目以降の場合には、前回設定された錠剤追従ウインドウJTWが採用される。そして、続くステップS607において、面積値が基準錠剤面積Lo未満の塊を除去する。   Next, in step S605, a labeling process (block process) is performed, and in step S606, a block included in the tablet following window JTW region is extracted. Here, when the inspection is the first time, the tablet follow-up window JTW set in the “H type sheet portion setting routine (sample mode)” is adopted, and a lump contained in the region is extracted. On the other hand, when the inspection is performed for the second time or later, the tablet follow-up window JTW set last time is adopted. In subsequent step S607, a lump having an area value less than the reference tablet area Lo is removed.

その後、ステップS608では、前記錠剤部検査ルーチンで良品と判定されたポケット部位置について塊の重心位置を求める。但し、複数の塊がある場合にはラベリング処理で最初に見つかった塊が優先される。続くステップS609では、良品錠ポケット部の重心位置(但し、不良錠や欠錠の場合は前回の良品錠ポケット部の重心位置を適用)の座標平均を求め、前記「Hタイプシート部設定ルーチン(サンプルモード)」で格納された錠剤重心座標平均HAV(ステップS508)との差分αを求める。そして、ステップS610において、前記「Hタイプシート部設定ルーチン(サンプルモード)」で設定されたポケットウインドウPW及び錠剤追従ウインドウJTW(ステップS508)を差分αだけ移動して設定する。その後、ステップS611において、検査、判定を行い、モニタ25での表示処理を実行し、その後の処理を一旦終了する。   Thereafter, in step S608, the barycentric position of the lump is obtained for the pocket part position determined to be non-defective in the tablet part inspection routine. However, when there are a plurality of chunks, the chunk first found in the labeling process is given priority. In subsequent step S609, the coordinate average of the center of gravity position of the non-defective tablet pocket portion (however, in the case of a defective tablet or missing tablet, the previous center of gravity position of the non-defective tablet pocket portion is applied) is obtained, and the “H type sheet portion setting routine ( The difference α from the tablet center-of-gravity coordinate average HAV (step S508) stored in “sample mode)” is obtained. In step S610, the pocket window PW and tablet follow-up window JTW (step S508) set in the “H type sheet portion setting routine (sample mode)” are set by moving by the difference α. Thereafter, in step S611, inspection and determination are performed, display processing on the monitor 25 is executed, and the subsequent processing is temporarily ended.

ここでの検査、判定に際しては、ポケット部にマスキングが施された上でシート部の異物検査が実行される。シート部異物検査については、ここでの具体的記載は省略するが、例えば、撮像されたカラー画像データにおいては、例えば正常なシート部とは異なる異物が存在すると、正常なシート部分とは異なる色調部分が検出されることがある。従って、かかる検出をすることで、カラー画像特有のシート部検査を行うことができ、これを適切に行うことで、Hタイプ検査においても、特有のシート部の異常が検査できるのである。   In the inspection and determination here, the pocket portion is masked, and then the foreign matter inspection of the sheet portion is performed. Although specific description of the sheet portion foreign matter inspection is omitted here, for example, in the captured color image data, for example, when a foreign matter different from the normal sheet portion is present, the color tone different from that of the normal sheet portion is obtained. Part may be detected. Therefore, by performing such detection, it is possible to perform sheet part inspection peculiar to a color image, and by appropriately performing this, it is possible to inspect abnormality of a peculiar sheet part even in H type inspection.

これに対し、前記ステップS603で否定判定された場合、つまり、シート部用の撮影画像では、錠剤位置(ポケット位置)が特定できないと判断された場合には、錠剤部用の撮影画像を用いるべく、ステップS612において、錠剤部設定ルーチン(図13)で求めたポケット部位置データを、撮影タイミングのずれ量分だけ移動させてポケット部位置データとして格納し、ステップS611へ移行する。   On the other hand, when a negative determination is made in step S603, that is, when it is determined that the tablet position (pocket position) cannot be specified in the captured image for the sheet portion, the captured image for the tablet portion should be used. In step S612, the pocket portion position data obtained in the tablet portion setting routine (FIG. 13) is moved by the shift amount of the photographing timing and stored as pocket portion position data, and the process proceeds to step S611.

一方、前記ステップS602で否定判定された場合には、ステップS613においてEタイプでの錠剤・ポケット部位置データ(座標データ)を利用するべく、当該Eタイプでの錠剤・ポケット部位置データ(座標データ)画像のずれ量分(図19参照)だけ移動させ、その後、ステップS611へ移行する。尚、ずれ量分だけ移動させるのは、上述した撮像タイミングの差異によるずれ量を補正するためである。   On the other hand, if a negative determination is made in step S602, the tablet / pocket position data (coordinate data) for the E type is used to use the tablet / pocket position data (coordinate data) for the E type in step S613. ) The image is moved by the image shift amount (see FIG. 19), and then the process proceeds to step S611. Note that the movement by the shift amount is to correct the shift amount due to the above-described difference in imaging timing.

このように、本実施形態では、上記処理を行うことで、ポケット部位置を適正に特定することができ、正確なマスキング処理を施した上で正確な検査を実現することができる。また、Hタイプで設定できない場合でも、Eタイプの錠剤・ポケット部位置データを用いることとしているため、このような場合であっても正確に検査を行うことができる。   As described above, in the present embodiment, by performing the above-described processing, the pocket portion position can be appropriately specified, and an accurate inspection can be realized after performing an accurate masking process. Even when the setting cannot be made with the H type, since the E type tablet / pocket position data is used, the inspection can be accurately performed even in such a case.

次に、シート異物・錠剤異物の検出を主目的とする「Eタイプ検査」について図16〜図19のフローチャートに従って説明する。本実施形態では、Eタイプ検査においても、錠剤部およびシート部の検査を行うこととしている。まずは、錠剤部の検査について説明する。Eタイプ検査に際しては、当該錠剤部の検査に先だって事前に図16に示すような「Eタイプ錠剤部設定ルーチン(サンプルモード)」が実行される。   Next, “E type inspection” which is mainly intended to detect sheet foreign matter / tablet foreign matter will be described with reference to the flowcharts of FIGS. In the present embodiment, the tablet part and the sheet part are inspected also in the E type inspection. First, the inspection of the tablet part will be described. In the E type inspection, an “E type tablet part setting routine (sample mode)” as shown in FIG. 16 is executed in advance prior to the inspection of the tablet part.

同ルーチンにおいては、ステップS701において、先ず、良品(不良品でないことが明らかなPTPフィルム20)の濃淡画像を取得する。次に、ステップS702においては、錠剤・ポケット部位置を当該Eタイプで設定するか否かを判定する。上述のとおり、錠剤・ポケット部位置は、当該Eタイプ又は前記したHタイプで把握することができ、把握のしやすさは、そのときどきの照射態様等によって相違する。この点を踏まえ、当該ステップS702でも同様の判定することとしているのである。錠剤・ポケット部位置をEタイプで設定すべきと判定された場合には、ステップS703において、ステップS701で取得した良品濃淡画像を錠剤検知レベルで二値化し、当該二値化データを画像メモリ41Eに格納する。   In this routine, in step S701, first, a gray image of a non-defective product (PTP film 20 that is clearly not defective) is acquired. Next, in step S702, it is determined whether or not the tablet / pocket position is set for the E type. As described above, the position of the tablet / pocket portion can be grasped by the E type or the H type described above, and the ease of grasping varies depending on the irradiation mode and the like at that time. Based on this point, the same determination is made in step S702. If it is determined that the tablet / pocket position should be set in the E type, in step S703, the non-defective gray image acquired in step S701 is binarized at the tablet detection level, and the binarized data is stored in the image memory 41E. To store.

次に、ステップS704でラベリング処理(塊処理)を行い、ステップS705で面積値が基準錠剤面積Lo未満の塊を除去する。その後、ステップS706では、シート単位での塊数と錠剤数とが一致するか否かを判断し、不一致ならば、当該ルーチンを一旦終了する。これに対し、塊数と錠剤数とが一致している場合には、ステップS707において、各塊の重心位置に対し、ポケットウインドウPW及び錠剤追従ウインドウJTWを設定する。また、錠剤重心座標平均HAV(シート単位の錠剤5のそれぞれの重心位置のxy平均座標)及び当該錠剤重心座標平均に対する各ポケット位置を格納(記憶)しておく。   Next, a labeling process (a lump process) is performed in step S704, and a lump whose area value is less than the reference tablet area Lo is removed in step S705. Thereafter, in step S706, it is determined whether or not the number of lumps and the number of tablets in the sheet unit match. If they do not match, the routine is once ended. On the other hand, when the number of lumps and the number of tablets match, in step S707, the pocket window PW and the tablet follow-up window JTW are set with respect to the center of gravity position of each lumps. In addition, tablet center-of-gravity coordinate average HAV (xy average coordinate of each center-of-gravity position of tablet 5 in sheet unit) and each pocket position with respect to the tablet center-of-gravity coordinate average are stored (stored).

次に、ステップS708では、ポケットウインドウPWの傾斜補正を実行する。その後、ステップS709で、各種設定を行い、モニタ25での表示処理を実行する。ここで、各種設定には、主としてEタイプ検査を行うに際してのポケットウインドウPW及び錠剤追従ウインドウJTWの確定処理が含まれる。ここで確定(設定)されたポケットウインドウPW及び錠剤追従ウインドウJTWは、次に述べるEタイプ錠剤部検査ルーチンでの検査に際して使用されるものである。   Next, in step S708, inclination correction of the pocket window PW is executed. Thereafter, various settings are performed in step S709, and display processing on the monitor 25 is executed. Here, the various settings mainly include determination processing of the pocket window PW and the tablet follow-up window JTW when performing the E type inspection. The pocket window PW and tablet follow-up window JTW determined (set) here are used for inspection in the E-type tablet part inspection routine described below.

一方、前記ステップS702で否定判定された場合には、ステップS710においてHタイプでの錠剤・ポケット部位置データ(座標データ)を利用するべく、当該Hタイプでの錠剤・ポケット部位置データ(座標データ)画像のずれ量分だけ移動させ、その後、ステップS710へ移行する。尚、ずれ量分だけ移動させるのは、上述した撮像タイミングの差異によるずれ量を補正するためである。   On the other hand, if a negative determination is made in step S702, in order to use the H-type tablet / pocket position data (coordinate data) in step S710, the H-type tablet / pocket position data (coordinate data) is used. ) The image is moved by the image shift amount, and then the process proceeds to step S710. Note that the movement by the shift amount is to correct the shift amount due to the above-described difference in imaging timing.

続いて、Eタイプ錠剤部検査について説明する。図17の「Eタイプ錠剤部検査ルーチン(検査モード)」に示すように、検査に際しては、先ずステップS801において、検査対象たるPTPフィルム20の濃淡画像を取得する。次に、ステップS802においては、錠剤・ポケット部位置を当該Eタイプで設定するか否かを判定する。そして、錠剤・ポケット部位置をEタイプで設定すべきと判定された場合には、ステップS803において、ステップS801で取得した検査濃淡画像を錠剤検知レベルで二値化し(後述する錠剤検査に用いられる)、当該二値化データを画像メモリ41Eに格納する。また、これとともに、ステップS801で取得した検査濃淡画像を錠剤異物検知レベルで二値化し(後述する粉噛み検査に用いられる)、当該二値化データを画像メモリ41Eに格納する。   Next, the E type tablet part inspection will be described. As shown in “E type tablet part inspection routine (inspection mode)” in FIG. 17, at the time of inspection, first, in step S801, a grayscale image of the PTP film 20 to be inspected is acquired. Next, in step S802, it is determined whether or not the tablet / pocket position is set for the E type. If it is determined that the position of the tablet / pocket portion should be set to E type, in step S803, the inspection grayscale image acquired in step S801 is binarized at the tablet detection level (used for tablet inspection described later). ), The binarized data is stored in the image memory 41E. At the same time, the inspection grayscale image acquired in step S801 is binarized at the tablet foreign matter detection level (used for powder biting inspection described later), and the binarized data is stored in the image memory 41E.

次に、ステップS804でラベリング処理(塊処理)を行い、ステップS805で錠剤追従ウインドウJTW領域に含まれる塊を抽出する。ここで、当該検査が初回の場合には、前記「Eタイプ錠剤部設定ルーチン(サンプルモード)」で設定された錠剤追従ウインドウJTWが採用され、その領域に含まれる塊が抽出される。これに対し、当該検査が2回目以降の場合には、前回設定された錠剤追従ウインドウJTWが採用される。そして、続くステップS806において、面積値が基準錠剤面積Lo未満の塊を除去する。その後、ステップS807では、錠剤に関する検査及び判定が実行される。錠剤の検査については、ここでの具体的記載は省略するが、例えば、錠剤に異物等が付着していた場合、付着していない部位に比べ、輝度(濃淡度合い)が相違する。従って、かかる異物の存在を適切に検出することで、錠剤上の異物付着等の異常が検査できるのである。勿論、当該検査に際しては、異物付着の他、錠剤5の面積、形状、捺印等に関する検査を行うこととしてもよい。   Next, in step S804, a labeling process (block process) is performed, and in step S805, a block included in the tablet following window JTW region is extracted. Here, when the inspection is the first time, the tablet follow-up window JTW set in the “E type tablet part setting routine (sample mode)” is adopted, and a lump contained in the region is extracted. On the other hand, when the inspection is performed for the second time or later, the tablet follow-up window JTW set last time is adopted. In subsequent step S806, a lump having an area value less than the reference tablet area Lo is removed. Thereafter, in step S807, inspection and determination regarding the tablet are executed. Although specific description is omitted here for the inspection of the tablet, for example, when a foreign substance or the like is attached to the tablet, the luminance (degree of shading) is different from that of the part not attached. Therefore, it is possible to inspect abnormalities such as adhesion of foreign matter on the tablet by appropriately detecting the presence of such foreign matter. Of course, in the inspection, in addition to adhesion of foreign substances, inspection regarding the area, shape, seal, etc. of the tablet 5 may be performed.

次に、次回以降の検査、或いは他の検査等のため、ステップS808〜ステップS810の処理でポケットウインドウPW及び錠剤追従ウインドウJTWを設定し直す処理を行う。すなわち、ステップS808では、前記ステップS707で良品と判定された塊の重心位置を求める。続くステップS809では、良品錠の重心位置(但し、不良錠や欠錠の場合は前回の良品錠の重心位置を適用)の座標平均を求め、前記「Eタイプ錠剤部設定ルーチン(サンプルモード)」で格納された錠剤重心座標平均HAV(ステップS707)との差分αを求める。そして、ステップS810において、前記「Eタイプ錠剤部設定ルーチン(サンプルモード)」で設定されたポケットウインドウPW及び錠剤追従ウインドウJTW(ステップS707)を差分αだけ移動して設定する。その後、ステップS811において、シートの粉噛みの検査・判定を特別に実行するとともに、モニタ25での表示処理を実行し、その後の処理を一旦終了する。尚、上述するルーチンでシートの検査を行うのであるが、ここでシートの粉噛みを検査することとしているのは、次の事情による。すなわち、後述するシート検査では、一般にシートよりも暗い毛髪、黒点等が検査されうるが、錠剤の粉のように比較的明るいものの存在を検出するのは困難である。そこで、当該ステップS811において、シートの粉噛みを特別に検査することとしているのである。これにより、シート部中に粉噛み等が起こった場合でもそれを適正に検出することができる。   Next, processing for resetting the pocket window PW and the tablet follow-up window JTW is performed in the processing of step S808 to step S810 for the subsequent inspection or other inspections. That is, in step S808, the barycentric position of the mass determined to be non-defective in step S707 is obtained. In the subsequent step S809, the coordinate average of the center of gravity position of the non-defective tablet (however, in the case of a defective tablet or missing tablet, the previous center of gravity position of the non-defective tablet is applied) is obtained. The difference α from the tablet center-of-gravity coordinate average HAV (step S707) stored in step S707 is obtained. In step S810, the pocket window PW and tablet follow-up window JTW (step S707) set in the “E type tablet part setting routine (sample mode)” are moved and set by the difference α. Thereafter, in step S811, special inspection / determination of sheet biting is performed, display processing on the monitor 25 is performed, and the subsequent processing is temporarily ended. The sheet is inspected in the routine described above, and the reason why the sheet biting is inspected here is as follows. That is, in the sheet inspection described later, generally dark hair, black spots, etc. can be inspected than the sheet, but it is difficult to detect the presence of a relatively bright object such as tablet powder. Therefore, in step S811, the sheet biting is specifically inspected. Thereby, even when powder biting or the like occurs in the sheet portion, it can be properly detected.

一方、前記ステップS802で否定判定された場合には、ステップS812においてHタイプでの錠剤・ポケット部位置データ(座標データ)を利用するべく、当該Hタイプでの錠剤・ポケット部位置データ(座標データ)画像のずれ量分だけ移動させ、その後、ステップS811へ移行する。尚、ずれ量分だけ移動させるのは、上述した撮像タイミングの差異によるずれ量を補正するためである。   On the other hand, if a negative determination is made in step S802, the H-type tablet / pocket position data (coordinate data) is used to use the H-type tablet / pocket position data (coordinate data) in step S812. ) The image is moved by the image shift amount, and then the process proceeds to step S811. Note that the movement by the shift amount is to correct the shift amount due to the above-described difference in imaging timing.

このように、本実施形態では、上記処理を行うことで、錠剤・ポケット部位置を適正に特定することができ、正確な検査を実現することができる。また、Eタイプで設定できない場合でも、Hタイプの錠剤・ポケット部位置データを用いることとしているため、このような場合であっても正確に検査を行うことができる。   As described above, in the present embodiment, by performing the above processing, it is possible to appropriately specify the position of the tablet / pocket portion, and it is possible to realize an accurate inspection. Further, even if it cannot be set in the E type, since the H type tablet / pocket position data is used, even in such a case, the inspection can be performed accurately.

次に、「Eタイプ検査」のシート部の検査について説明する。Eタイプシート部の検査に際しては、当該検査に先だって事前に図18に示すような「Eタイプシート部設定ルーチン(サンプルモード)」が実行される。   Next, the inspection of the sheet part of “E type inspection” will be described. When inspecting the E type sheet portion, an “E type sheet portion setting routine (sample mode)” as shown in FIG. 18 is executed in advance prior to the inspection.

同ルーチンにおいては、まずステップS901において、良品(不良品でないことが明らかなPTPフィルム20)の濃淡画像を取得する。次に、ステップS902においては、錠剤・ポケット部位置を当該Eタイプで設定するか否かを判定する。錠剤・ポケット部位置をEタイプで設定すべきと判定された場合には、ステップS903において、ポケット部位置をシート部撮影画像から算出するか否かを判定する。すなわち、当該シート部用の撮影画像で錠剤位置(ポケット位置)が特定できるか否かを判断する。そして、肯定判定された場合には、当該シート部用の撮影画像を用いるべく、ステップS904において、上記ステップS901で取得した良品濃淡画像を錠剤抽出レベル(錠剤5を抽出できる程度の輝度レベル)で二値化し、当該二値化データを画像メモリ41Eに格納する。   In this routine, first, in step S901, a gray image of a non-defective product (PTP film 20 that is clearly not defective) is acquired. Next, in step S902, it is determined whether or not the tablet / pocket position is set for the E type. If it is determined that the tablet / pocket position should be set in the E type, it is determined in step S903 whether the pocket position is to be calculated from the captured image of the sheet. That is, it is determined whether or not the tablet position (pocket position) can be specified from the photographed image for the sheet portion. If the determination is affirmative, in order to use the photographed image for the sheet portion, in step S904, the non-defective gray image acquired in step S901 is converted to a tablet extraction level (a luminance level sufficient to extract the tablet 5). Binarization is performed, and the binarized data is stored in the image memory 41E.

次に、ステップS905でラベリング処理(塊処理)を行い、ステップS906で面積値が基準錠剤面積Lo未満の塊を除去する。その後、ステップS907では、シート単位での塊数と錠剤数とが一致するか否かを判断し、不一致ならば、当該ルーチンを一旦終了する。これに対し、塊数と錠剤数とが一致している場合には、ステップS908において、各塊の重心位置に対し、ポケットウインドウPW及び錠剤追従ウインドウJTWを設定する。また、錠剤重心座標平均HAV(シート単位の錠剤5のそれぞれの重心位置のxy平均座標)及び当該錠剤重心座標平均に対する各ポケット位置を格納(記憶)しておく。   Next, in step S905, labeling processing (lump processing) is performed, and in step S906, a lump whose area value is less than the reference tablet area Lo is removed. Thereafter, in step S907, it is determined whether or not the number of lumps and the number of tablets in the sheet unit match. If the numbers do not match, the routine is temporarily terminated. On the other hand, when the number of lumps and the number of tablets match, in step S908, the pocket window PW and the tablet follow-up window JTW are set for the center of gravity position of each lumps. In addition, tablet center-of-gravity coordinate average HAV (xy average coordinate of each center-of-gravity position of tablet 5 in sheet unit) and each pocket position with respect to the tablet center-of-gravity coordinate average are stored (stored).

次に、ステップS909では、ポケットウインドウPWの傾斜補正を実行する。その後、ステップS910で、各種設定を行い、モニタ25での表示処理を実行する。ここで、各種設定には、主としてEタイプ検査を行うに際してのポケットウインドウPW及び錠剤追従ウインドウJTWの確定処理が含まれる。ここで確定(設定)されたポケットウインドウPW及び錠剤追従ウインドウJTWは、次に述べるEタイプシート部検査ルーチンでの検査に際して使用されるものである。   Next, in step S909, inclination correction of the pocket window PW is executed. Thereafter, various settings are performed in step S910, and display processing on the monitor 25 is executed. Here, the various settings mainly include determination processing of the pocket window PW and the tablet follow-up window JTW when performing the E type inspection. The pocket window PW and tablet follow-up window JTW determined (set) here are used for inspection in the E type sheet portion inspection routine described below.

これに対し、前記ステップS903で否定判定された場合、つまり、シート部用の撮影画像では、錠剤位置(ポケット位置)が特定できないと判断された場合には、錠剤部用の撮影画像を用いるべく、ステップS911において、錠剤部設定ルーチン(図16)で求めたポケット部位置データを、撮影タイミングのずれ量分だけ移動させてポケット部位置データとして格納し、ステップS910へ移行する。   On the other hand, if a negative determination is made in step S903, that is, if it is determined that the tablet position (pocket position) cannot be specified in the captured image for the sheet portion, the captured image for the tablet portion should be used. In step S911, the pocket portion position data obtained in the tablet portion setting routine (FIG. 16) is moved by the amount of deviation of the photographing timing and stored as pocket portion position data, and the process proceeds to step S910.

一方、前記ステップS902で否定判定された場合には、ステップS912において後述するHタイプでのポケット部位置データ(座標データ)を利用するべく、Hタイプ(図14参照)でのポケット部位置データ(座標データ)画像のずれ量分だけ移動させ、その後、ステップS910へ移行する。尚、ずれ量分だけ移動させるのは、上述した撮像タイミングの差異によるずれ量を補正するためである。   On the other hand, if a negative determination is made in step S902, the pocket portion position data (see FIG. 14) in the H type (see FIG. 14) is used to use the pocket portion position data (coordinate data) in the H type described later in step S912. The coordinate data is moved by the image shift amount, and then the process proceeds to step S910. Note that the movement by the shift amount is to correct the shift amount due to the above-described difference in imaging timing.

続いて、Eタイプシート部検査について説明する。図19の「Eタイプシート部検査ルーチン(検査モード)」に示すように、検査に際しては、先ずステップS1001において、検査対象たるPTPフィルム20の濃淡画像を取得する。次に、ステップS1002においては、錠剤・ポケット部位置を当該Eタイプで設定するか否かを判定する。そして、錠剤・ポケット部位置をEタイプで設定すべきと判定された場合には、ステップS1003において、ポケット部位置をシート部撮影画像から算出するか否かを判定する。すなわち、当該シート部用の撮影画像で錠剤位置(ポケット位置)が特定できるか否かを判断する。そして、肯定判定された場合には、当該シート部用の撮影画像を用いるべく、ステップS1004において、上記ステップS1001で取得した検査濃淡画像を錠剤抽出レベルで二値化し、当該二値化データを画像メモリ41Eに格納する。   Next, the E type sheet portion inspection will be described. As shown in the “E type sheet portion inspection routine (inspection mode)” in FIG. 19, at the time of inspection, first, in step S1001, a grayscale image of the PTP film 20 to be inspected is acquired. Next, in step S1002, it is determined whether or not the tablet / pocket position is set for the E type. If it is determined that the tablet / pocket position should be set in the E type, it is determined in step S1003 whether or not the pocket position is to be calculated from the sheet image. That is, it is determined whether or not the tablet position (pocket position) can be specified from the photographed image for the sheet portion. If an affirmative determination is made, in order to use the captured image for the sheet portion, in step S1004, the inspection grayscale image acquired in step S1001 is binarized at the tablet extraction level, and the binarized data is converted into an image. Store in the memory 41E.

次に、ステップS1005でラベリング処理(塊処理)を行い、ステップS1006で錠剤追従ウインドウJTW領域に含まれる塊を抽出する。ここで、当該検査が初回の場合には、前記「Eタイプシート部設定ルーチン(サンプルモード)」で設定された錠剤追従ウインドウJTWが採用され、その領域に含まれる塊が抽出される。これに対し、当該検査が2回目以降の場合には、前回設定された錠剤追従ウインドウJTWが採用される。そして、続くステップS1007において、面積値が基準錠剤面積Lo未満の塊を除去する。   Next, in step S1005, labeling processing (lump processing) is performed, and in step S1006, a lump included in the tablet following window JTW region is extracted. Here, when the inspection is the first time, the tablet follow-up window JTW set in the “E type sheet portion setting routine (sample mode)” is adopted, and a lump contained in the region is extracted. On the other hand, when the inspection is performed for the second time or later, the tablet follow-up window JTW set last time is adopted. In subsequent step S1007, a lump whose area value is less than the reference tablet area Lo is removed.

その後、ステップS1008では、前記錠剤部検査ルーチンで良品と判定されたポケット部位置について塊の重心位置を求める。但し、複数の塊がある場合にはラベリング処理で最初に見つかった塊が優先される。続くステップS1009では、良品錠ポケット部の重心位置(但し、不良錠や欠錠の場合は前回の良品錠ポケット部の重心位置を適用)の座標平均を求め、前記「Eタイプシート部設定ルーチン(サンプルモード)」で格納された錠剤重心座標平均HAV(ステップS908)との差分αを求める。そして、ステップS1010において、前記「Eタイプシート部設定ルーチン(サンプルモード)」で設定されたポケットウインドウPW及び錠剤追従ウインドウJTW(ステップS908)を差分αだけ移動して設定する。その後、ステップS1011において、検査、判定を行い、モニタ25での表示処理を実行し、その後の処理を一旦終了する。   Thereafter, in step S1008, the center-of-gravity position of the lump is obtained for the pocket position determined as non-defective in the tablet part inspection routine. However, when there are a plurality of chunks, the chunk first found in the labeling process is given priority. In the subsequent step S1009, a coordinate average of the center of gravity position of the non-defective tablet pocket portion (however, in the case of a defective tablet or missing tablet, the previous center of gravity position of the non-defective tablet pocket portion is applied) is obtained. The difference α from the tablet center-of-gravity coordinate average HAV (step S908) stored in the “sample mode)” is obtained. In step S1010, the pocket window PW and the tablet following window JTW (step S908) set in the “E type sheet portion setting routine (sample mode)” are moved and set by the difference α. Thereafter, in step S1011, inspection and determination are performed, display processing on the monitor 25 is executed, and the subsequent processing is temporarily ended.

ここでの検査、判定に際しては、ポケット部にマスキングが施された上でシート部の異物検査が実行される。シート部異物検査については、ここでの具体的記載は省略するが、例えば、撮像された濃淡画像データにおいては、例えば正常なシート部とは異なる暗い異物が存在すると、正常なシート部分よりも暗い部分が検出されることがある。従って、かかる検出をすることで、毛髪や黒点等の異物に関するシート部検査を行うことができ、これを適切に行うことで、Eタイプ検査をより正確に行うことができる。   In the inspection and determination here, the pocket portion is masked, and then the foreign matter inspection of the sheet portion is performed. Although specific description of the sheet portion foreign matter inspection is omitted here, for example, in the captured grayscale image data, if there is a dark foreign matter different from the normal sheet portion, for example, it is darker than the normal sheet portion. Part may be detected. Therefore, by performing such detection, it is possible to perform sheet portion inspection regarding foreign matters such as hair and black spots, and by appropriately performing this, E type inspection can be performed more accurately.

これに対し、前記ステップS1003で否定判定された場合、つまり、シート部用の撮影画像では、錠剤位置(ポケット位置)が特定できないと判断された場合には、錠剤部用の撮影画像を用いるべく、ステップS1012において、錠剤部検査ルーチン(図17)で求めたポケット部位置データを、撮影タイミングのずれ量分だけ移動させてポケット部位置データとして格納し、ステップS1011へ移行する。   On the other hand, if a negative determination is made in step S1003, that is, if it is determined that the tablet position (pocket position) cannot be specified in the captured image for the sheet portion, the captured image for the tablet portion should be used. In step S1012, the pocket portion position data obtained in the tablet portion inspection routine (FIG. 17) is moved by the amount of deviation of the photographing timing and stored as pocket portion position data, and the process proceeds to step S1011.

一方、前記ステップS1002で否定判定された場合には、ステップS1013においてHタイプでの錠剤・ポケット部位置データ(座標データ)を利用するべく、当該Hタイプでの錠剤・ポケット部位置データ(座標データ)画像のずれ量分だけ移動させ、その後、ステップS1011へ移行する。尚、ずれ量分だけ移動させるのは、上述した撮像タイミングの差異によるずれ量を補正するためである。   On the other hand, if a negative determination is made in step S1002, the H-type tablet / pocket position data (coordinate data) is used to use the H-type tablet / pocket position data (coordinate data) in step S1013. ) The image is moved by the image shift amount, and then the process proceeds to step S1011. Note that the movement by the shift amount is to correct the shift amount due to the above-described difference in imaging timing.

このように、本実施形態では、上記処理を行うことで、ポケット部位置を適正に特定することができ、正確なマスキング処理を施した上で正確な検査を実現することができる。また、Eタイプで設定できない場合でも、Hタイプの錠剤・ポケット部位置データを用いることとしているため、このような場合であっても正確に検査を行うことができる。   As described above, in the present embodiment, by performing the above-described processing, the pocket portion position can be appropriately specified, and an accurate inspection can be realized after performing an accurate masking process. Further, even if it cannot be set in the E type, since the H type tablet / pocket position data is used, even in such a case, the inspection can be performed accurately.

以上詳述したように、本実施形態によれば、1つの外観検査装置21でもって、シート異物・錠剤異物に関する検査(Eタイプ検査)、錠剤表面剥離に関する検査(Hタイプ検査)、及び、シール不良(Sタイプ検査)が行われる。すなわち、Eタイプ、Hタイプ、Sタイプの3つの検査を、単一の照明装置22の照射態様を切り換えることで実現することができる。このため、著しいコストの低減及び設置スペースのコンパクト化を図ることができる。   As described above in detail, according to the present embodiment, with one appearance inspection device 21, inspection regarding sheet foreign matter / tablet foreign matter (E type inspection), inspection regarding tablet surface peeling (H type inspection), and sealing are performed. A defect (S type inspection) is performed. That is, three inspections of E type, H type, and S type can be realized by switching the irradiation mode of the single illumination device 22. For this reason, significant cost reduction and downsizing of the installation space can be achieved.

特に、Eタイプ検査に際しては、少なくとも第3の照射手段IR3が点灯状態とされ、移送中のPTPフィルム20に対しポケット部2側から略垂直方向に主として平行な赤外光が照射される。このため、特に頂面が平坦な所謂「平錠」が錠剤5として採用されているような場合に、錠剤5を適正に認識しやすい。結果として、Eタイプ検査を行うに際し、錠剤5の位置を正確に把握できることから、より精度の高い検査を行うことができる。また、当該Eタイプ検査に際しては、第1及び第2の照射手段IR1,IR2も点灯状態とされ、所定の斜め方向に、また、それよりも浅い角度で、PTPフィルム20に対し一部偏光された拡散赤外光が照射される。このため、レンズ錠や丸薬といった、頂面の丸い錠剤5が採用されているような場合にも(要するに大概の錠剤に関し)、当該錠剤5を適正に認識しやすい。結果として、Eタイプ検査を行うに際し、錠剤5の位置を正確に把握できることから、より精度の高い検査を行うことができる。また、特に、割線を有するタイプの錠剤5においても当該割線による悪影響を防止することができ、かかる意味でメリットが大きい。   In particular, at the time of E type inspection, at least the third irradiation means IR3 is turned on, and the PTP film 20 being transferred is irradiated with infrared light mainly parallel in a substantially vertical direction from the pocket portion 2 side. For this reason, especially when a so-called “flat tablet” having a flat top surface is adopted as the tablet 5, the tablet 5 is easily recognized appropriately. As a result, since the position of the tablet 5 can be accurately grasped when performing the E type inspection, a more accurate inspection can be performed. In the E type inspection, the first and second irradiation means IR1 and IR2 are also turned on, and are partially polarized with respect to the PTP film 20 in a predetermined oblique direction and at a shallower angle. Diffused infrared light is irradiated. For this reason, even when a tablet 5 having a round top surface, such as a lens tablet or a pill, is employed (in short, regarding most tablets), the tablet 5 is easily recognized properly. As a result, since the position of the tablet 5 can be accurately grasped when performing the E type inspection, a more accurate inspection can be performed. In particular, even in the tablet 5 of the type having a secant, the adverse effect due to the secant can be prevented, and the merit is great in this sense.

また、Hタイプ検査に際しては、少なくとも第6の照射手段WH6が点灯状態とされ、移送中のPTPフィルム20に対しポケット部2側から略垂直方向に主として平行な白色光が照射される。このため、例えば着色された錠剤5を適正に認識しやすいのは勿論のこと、糖衣錠等が錠剤5として採用された場合には、色調の相違に基づき、適正に表面剥離を検出することができる。結果として、より精度の高い検査を行うことができる。また、Hタイプ検査に際しては、さらに第4の照射手段WH4も点灯状態とされ、一部偏光された拡散白色光が主として照射されるため、割線を有するフィルムコート錠等において、当該割線による悪影響を防止することができ、かかる意味でメリットが大きい。その上、第5の照射手段WH5も点灯状態とされる。このため、頂面の丸い糖衣錠や、周囲に面取部を有する平糖衣錠等の輪郭を特定しやすく、かかる意味でメリットが大きい。   In the H type inspection, at least the sixth irradiating means WH6 is turned on, and the PTP film 20 being transferred is irradiated with white light mainly parallel in a substantially vertical direction from the pocket portion 2 side. For this reason, for example, when a colored tablet 5 is easily recognized properly, when a sugar-coated tablet or the like is adopted as the tablet 5, it is possible to properly detect surface peeling based on a difference in color tone. . As a result, a more accurate inspection can be performed. In the H type inspection, the fourth irradiating means WH4 is also turned on, and the partially polarized diffused white light is mainly irradiated. In this sense, the benefits are great. In addition, the fifth irradiation means WH5 is also turned on. For this reason, it is easy to specify the outline of a sugar-coated tablet with a round top surface, a flat sugar-coated tablet having a chamfered portion around the top, and the merit is great in this sense.

また、Sタイプ検査に際しては、少なくとも第3の照射手段IR3が点灯状態とされ、移送中のPTPフィルム20に対しポケット部2側から略垂直方向に主として平行な赤外光が照射される。このため、カバーフィルム4の取着が適正に行われていないシール不良部位が存在した場合、当該部位においては取着に際して形成されるシール選が形成されてしておらず、主として赤外光を照射することで、明度差(輝度差)に基づいてシール不良部分を特定できる。結果として、より精度の高い検査を行うことができる。また、本実施形態では、Sタイプ検査に際して、さらに第1の照射手段IR1も点灯状態とされ、一部偏光された拡散赤外光が照射される。このため、検査のための撮像に際し、撮像(照射)領域が、PTPフィルム20の移送方向に大きい(長い)場合に、シール不良をより精度よく検出することができる。   In the S type inspection, at least the third irradiation means IR3 is turned on, and the PTP film 20 being transferred is irradiated with infrared light mainly parallel in a substantially vertical direction from the pocket portion 2 side. For this reason, when there is a poor seal portion where the cover film 4 is not properly attached, the seal selection formed at the time of attachment is not formed at the relevant portion, and the infrared light is mainly emitted. By irradiating, a defective seal portion can be specified based on the brightness difference (luminance difference). As a result, a more accurate inspection can be performed. Further, in the present embodiment, in the S type inspection, the first irradiation unit IR1 is also turned on and irradiated with partially polarized diffused infrared light. For this reason, when imaging for inspection, when the imaging (irradiation) region is large (long) in the transfer direction of the PTP film 20, a seal failure can be detected with higher accuracy.

また、本実施形態では、上記構成とすることで、単純に3つの検査が行われるのではなく、各検査に際しては、他の検査において抽出した錠剤の位置情報、ポケット部の位置情報を利用することができる。ここで、従来では、錠剤やカバーフィルムの明度差や色合い等に起因して、適正に錠剤位置やポケット部位置の検出ができないことも懸念され、また、検査によっては、手動で錠剤位置やポケット部位置を入力したりしなければならないケースもあったりした。これに対し、本実施形態では、所定の検査に際し、錠剤位置やポケット部位置の検出ができなかったとしても、他の検査における情報を利用できる。従って、正確な位置情報に基づいた正確な検査を実行することができ、また手動入力といった煩わしさを払拭することができる。結果として、検査精度及び検査効率の飛躍的な向上を図ることができる。   Further, in the present embodiment, with the above-described configuration, the three inspections are not simply performed, and the position information of the tablet and the position information of the pocket portion extracted in the other inspections are used for each inspection. be able to. Here, conventionally, there is a concern that the tablet position or pocket position cannot be detected properly due to the difference in brightness or color of the tablet or cover film, and depending on the inspection, the tablet position or pocket may be manually detected. In some cases, part positions had to be entered. On the other hand, in the present embodiment, even when the tablet position or the pocket portion position cannot be detected during a predetermined inspection, information in another inspection can be used. Therefore, it is possible to execute an accurate inspection based on accurate position information, and it is possible to eliminate troublesomeness such as manual input. As a result, it is possible to dramatically improve inspection accuracy and inspection efficiency.

他の検査における情報を利用できることによるメリットの一例についてさらに言及すると、一般的に、シール不良に関する(Sタイプ)検査に際しては、元々の非シール部分であるポケット部2にはマスキングが施された上で検査が実施されるが、当該マスキングの精度が検査の精度に影響を与えやすく、かかる意味でポケット部2の位置情報(錠剤5の位置情報)は非常に重要であるといえる。一方で、シール不良に関する(Sタイプ)検査に際しては、正反射光を照射するのが効果的であるところ、かかる正反射光ではポケット部2を特定することが困難である。この点、本実施形態では、少なくともシール不良に関する(Sタイプ)検査に際しては、シート異物・錠剤異物に関する(Eタイプ)検査又は錠剤表面剥離に関する(Hタイプ)検査において認識した錠剤の位置情報、ポケット部の位置情報が利用された上で検査されるため、シール不良(Sタイプ)検査に好適な正反射光を照射した上で、正確な位置情報に基づいたマスキングを実行できる。そのため、検査精度を飛躍的に高めることができる。   Further mentioning an example of the merit of being able to use information in other inspections, in general, in the (S type) inspection relating to a seal failure, the original non-sealed portion of the pocket 2 is masked. However, the masking accuracy tends to affect the accuracy of the inspection, and in this sense, it can be said that the position information of the pocket portion 2 (position information of the tablet 5) is very important. On the other hand, it is effective to irradiate specularly reflected light in the (S type) inspection related to a seal failure, but it is difficult to specify the pocket portion 2 with such specularly reflected light. In this regard, in this embodiment, at least for the (S type) inspection relating to the seal failure, the position information of the tablet recognized in the (E type) inspection relating to the sheet foreign matter / tablet foreign matter or the (H type) inspection relating to the tablet surface peeling, the pocket Since the inspection is performed after the position information of the part is used, masking based on accurate position information can be performed after irradiating specular reflection light suitable for seal defect (S type) inspection. Therefore, the inspection accuracy can be dramatically improved.

さらに、本実施形態では、3つの検査がほぼ同一のポジションで行われるため、別の場所でそれぞれの検査を行う場合に比べて、搬送方向でのずれの影響を最小限に抑制でき、検査精度のさらなる向上を図ることができる。   Furthermore, in this embodiment, since the three inspections are performed at substantially the same position, the influence of the deviation in the transport direction can be suppressed to a minimum as compared with the case where each inspection is performed at different locations, and the inspection accuracy can be suppressed. Can be further improved.

しかも、各検査に際しては、それぞれ固有のカメラ23E,23H,23Sが用いられるのであるが、各カメラ23E,23H,23Sは、ほぼ同一箇所を撮像可能であるため、搬送方向でのずれの影響を最小限に抑制でき、検査精度の一層の向上を図ることができる。また、所定の検査に際し、他の1つの検査において認識した錠剤の位置情報やポケット部の位置情報を利用する場合でも、当該情報がほぼ同一箇所のものであるため、信頼性を高めることができる。さらに、若干の撮像タイミングのずれが生じた場合において、当該ずれを考慮した補正を行う場合でも、誤差を極力少なくできる。その上、各カメラ23E,23H,23Sがほぼ1箇所に集結して設置されているため、設置スペース上のメリットが大きく、また、撮影対象までの距離をいずれの検査に際してもほぼ一定とすることができる。結果として、データを相互利用する場合でもその信頼性を一層高めることができる。   In addition, each of the cameras 23E, 23H, and 23S is used for each inspection. However, since the cameras 23E, 23H, and 23S can image almost the same part, the influence of the shift in the transport direction is exerted. As a result, the inspection accuracy can be further minimized. Further, even when using the position information of the tablet or the position information of the pocket portion recognized in the other one inspection at the time of the predetermined inspection, the information is almost the same place, so that the reliability can be improved. . Furthermore, when a slight shift in the imaging timing occurs, the error can be reduced as much as possible even when correction is performed in consideration of the shift. In addition, since the cameras 23E, 23H, and 23S are gathered and installed in almost one place, the installation space has a great merit and the distance to the object to be photographed is almost constant in any inspection. Can do. As a result, even when data are mutually used, the reliability can be further increased.

以上説明した実施形態において、例えば、次のように構成の一部を適宜変更して実施することも可能である。勿論、以下において例示しない他の変更例も当然可能である。   In the embodiment described above, for example, a part of the configuration can be appropriately changed as follows. Of course, other modifications not exemplified below are also possible.

(a)上記実施形態では、1つの外観検査装置21において、Eタイプ、Hタイプ及びSタイプの3つの検査を行うようにしているが、これらのうちの2つの検査を行う場合に具体化してもよい。この場合においても、所定の検査を行うに際しては、他の1つの検査において認識した錠剤の位置情報及びポケット部の位置情報のうち少なくとも一方を利用可能とするのが望ましい。   (A) In the above embodiment, one appearance inspection apparatus 21 performs three inspections of E type, H type, and S type. Also good. Even in this case, when performing a predetermined inspection, it is desirable that at least one of the position information of the tablet and the position information of the pocket portion recognized in the other one inspection can be used.

(b)上記実施形態では、Hタイプ検査において、シート部の検査を実行することとしているが、当該シート部の検査を省略してもよい。   (B) In the above embodiment, the inspection of the sheet portion is executed in the H type inspection, but the inspection of the sheet portion may be omitted.

(c)各検査における照射態様は、必ずしも上記実施形態のものに限定されるものではない。例えば、Eタイプ検査に際しては、上記例では赤外光に関する照射手段IR1〜IR3については全て点灯状態(=照射状態,オン状態)とされ、白色光に関する照射手段WH4〜WH6については全て消灯状態(=非照射状態,オフ状態)とされているが、例えば、第3の照射手段IR3のみをオン状態としてもよいし、第1及び第2の照射手段IR1,IR2のみをオン状態としてもよい。尚、少なくとも第1及び第2の照射手段IR1,IR2から光が照射される構成とすると、錠剤として平錠(平坦面を有する)が採用された場合に特に有効である。また、錠剤の割線が深い場合には、第1の照射手段IR1からの光を照射することが有効である。   (C) The irradiation mode in each inspection is not necessarily limited to that in the above embodiment. For example, in the E type inspection, in the above example, the irradiation means IR1 to IR3 related to infrared light are all turned on (= irradiation state, on state), and the irradiation means WH4 to WH6 related to white light are all turned off ( = Non-irradiation state, off state), for example, only the third irradiation means IR3 may be turned on, or only the first and second irradiation means IR1 and IR2 may be turned on. In addition, when it is set as the structure which light is irradiated from at least 1st and 2nd irradiation means IR1, IR2, it is especially effective when a flat tablet (having a flat surface) is employ | adopted as a tablet. Further, when the secant of the tablet is deep, it is effective to irradiate light from the first irradiation means IR1.

また、Hタイプ検査に際しては、上記例では、白色光に関する照射手段WH4〜WH6については全て点灯状態(=照射状態,オン状態)とされ、赤外光に関する照射手段IR1〜IR3については全て消灯状態(=非照射状態,オフ状態)とされているが、例えば、第6の照射手段WH6のみをオン状態としてもよい。尚、少なくとも第5の照射手段WH5から白色光が照射される構成とすると、錠剤として糖衣錠、或いは面取り部のある平錠が採用された場合に特に有効である。また、錠剤(例えばフィルムコート錠)の割線が深い場合には、第4の照射手段WH4からの白色光を照射することが有効である。   In the case of the H type inspection, in the above example, the irradiation means WH4 to WH6 related to white light are all turned on (= irradiation state, on state), and the irradiation means IR1 to IR3 related to infrared light are all turned off. (= Non-irradiation state, off state), for example, only the sixth irradiation means WH6 may be turned on. In addition, when it is set as the structure which at least 5th irradiation means WH5 irradiates with white light, it is especially effective when the sugar-coated tablet or the flat tablet with a chamfering part is employ | adopted as a tablet. Moreover, when the secant of a tablet (for example, a film coat tablet) is deep, it is effective to irradiate white light from the fourth irradiation means WH4.

さらに、Sタイプ検査に際しては、上記例では、赤外光に関する第1の照射手段IR1及び第3の照射手段IR3についてのみ点灯状態(=照射状態,オン状態)とされ、それ以外については全て消灯状態(=非照射状態,オフ状態)とされているが、例えば、第3の照射手段IR3についてのみオン状態としてもよい。尚、画角を考慮した場合、少なくとも第1の照射手段IR1から赤外光を照射するのが望ましい。   Further, in the case of the S type inspection, in the above example, only the first irradiation means IR1 and the third irradiation means IR3 related to infrared light are turned on (= irradiation state, on state), and the others are all turned off. Although it is in a state (= non-irradiation state, off state), for example, only the third irradiation means IR3 may be in an on state. In consideration of the angle of view, it is desirable to irradiate infrared light from at least the first irradiation means IR1.

(d)上記実施形態では特に言及していないが、錠剤5が茶色系又は暗色系であり、シート地色が銀色又は錠剤5と異色系の場合には、少なくともSタイプ検査及び/又はEタイプ検査に際しては、Sタイプ検査において認識した錠剤、ポケット部の位置情報を利用した上で検査することが望ましい。錠剤5が茶色系又は暗色系(例えば焦げ茶や黒等、カプセルも含む)であり、シート地色が銀色又は錠剤と異色系の場合には、シート部と錠剤部との明度差が生じにくく、錠剤5を抽出(特定)することが困難となる傾向にある。この点、上記のように構成すると、少なくともSタイプ検査及びEタイプ検査に際しては、Hタイプ検査において認識した錠剤、ポケット部の位置情報が利用された上で検査される。つまり、Hタイプ検査においては、色調差(RGB)を検出できるため、これに基づきポケット部2の位置情報等を正確に抽出することができる。そして、当該位置情報を利用した上で検査が行われるため、Sタイプ及びEタイプ検査に際しても、精度の高い検査を実現できる。   (D) Although not specifically mentioned in the above embodiment, at least S type inspection and / or E type when the tablet 5 is brown or dark and the sheet background color is silver or different from the tablet 5 In the inspection, it is desirable to inspect using the positional information of the tablets and pockets recognized in the S type inspection. When the tablet 5 is a brown or dark color system (for example, dark brown or black, including capsules) and the sheet background color is silver or different from the tablet, a difference in brightness between the sheet portion and the tablet portion hardly occurs, It tends to be difficult to extract (specify) the tablet 5. In this regard, when configured as described above, at least during the S-type inspection and the E-type inspection, the position information of the tablets and pockets recognized in the H-type inspection is used for inspection. That is, in the H type inspection, since the color tone difference (RGB) can be detected, the position information and the like of the pocket portion 2 can be accurately extracted based on this. And since an inspection is performed using the position information, a highly accurate inspection can be realized in the S type and E type inspections.

また、錠剤5が白色系であり、シート地色が銀色若しくは錠剤と同色系の場合、又は、錠剤5が捺印の施されたカプセルである場合には、少なくともSタイプ検査及び/又はHタイプ検査に際しては、Eタイプ検査において認識した錠剤、ポケット部の位置情報を利用した上で検査するのが望ましい。錠剤5が白色系(白、淡い青、黄、緑、桃等、糖衣錠やフィルムコート錠も含む)であり、シート地色が銀色若しくは錠剤と同色系の場合、又は、錠剤が捺印の施されたカプセル(2色を含む)である場合、Sタイプ検査、Hタイプ検査に際しては、色合い、明度が同等であったり、或いは、捺印位置が規定できなかったりして、錠剤5を抽出(特定)することが困難となる傾向にある。この点、上記構成とすることで、少なくともSタイプ検査、Hタイプ検査に際しては、Eタイプ検査において認識した錠剤、ポケット部の位置情報が利用された上で検査される。つまり、Eタイプ検査においては、主として拡散光による照射態様により、ポケット部2の立ち上がり部分を精度よく検出できるため、これに基づきポケット部2の位置情報等を正確に抽出することができる。そして、当該位置情報を利用した上で検査が行われるため、Sタイプ検査、Hタイプ検査に際しても、精度の高い検査を実現できる。   Further, when the tablet 5 is white and the sheet background color is silver or the same color as the tablet, or when the tablet 5 is a capsule with a seal, at least S type inspection and / or H type inspection At this time, it is desirable to inspect after using the position information of the tablets and pockets recognized in the E type inspection. Tablet 5 is white (white, light blue, yellow, green, peach, etc., including sugar-coated tablets and film-coated tablets), and the sheet ground color is silver or the same color as the tablet, or the tablet is stamped In the case of a capsule (including 2 colors), the tablet 5 is extracted (identified) in the S type inspection and the H type inspection because the hue and lightness are the same or the marking position cannot be defined. Tend to be difficult to do. In this regard, with the above-described configuration, at least at the time of the S type inspection and the H type inspection, the inspection is performed after using the position information of the tablet and the pocket portion recognized in the E type inspection. That is, in the E type inspection, the rising portion of the pocket portion 2 can be detected with high accuracy mainly by the irradiation mode using the diffused light, so that the position information and the like of the pocket portion 2 can be accurately extracted based on this. And since an inspection is performed after using the position information, a highly accurate inspection can be realized in the S type inspection and the H type inspection.

(e)上記実施形態では特に言及していないが、各照射手段IR1〜IR3,WH4〜WH6の点灯の有無のみならず、それらの光量についても、そのときどきの検査に応じて適宜調整してもよい。この場合、より一層検査精度を高めることができる。   (E) Although not particularly mentioned in the above embodiment, not only whether or not each of the irradiation means IR1 to IR3 and WH4 to WH6 is turned on, but also their light amounts may be appropriately adjusted according to the inspection at that time. Good. In this case, the inspection accuracy can be further increased.

一実施形態における照明装置の概略構成を説明するより現実的な断面図である。It is more realistic sectional drawing explaining schematic structure of the illuminating device in one Embodiment. (a)はPTPシートを示す斜視図であり、(b)はPTPシートを示す部分拡大断面図であり、(c)はPTPシートの一部を密封用フィルム側から見た場合の平面図であり、(d)はポケットウインドウ及び錠剤追従ウインドウの概念を説明するための図である。(A) is a perspective view which shows a PTP sheet, (b) is a partial expanded sectional view which shows a PTP sheet, (c) is a top view at the time of seeing a part of PTP sheet from the film for sealing. (D) is a figure for demonstrating the concept of a pocket window and a tablet follow-up window. PTP包装機等の概略構成を示す模式図である。It is a schematic diagram which shows schematic structure, such as a PTP packaging machine. 照明装置の概略構成を説明する模式的な断面図である。It is typical sectional drawing explaining schematic structure of an illuminating device. (a)は照明手段と各カメラの関係を示す模式図であり、(b)はE用カメラとS用カメラの配置関係を示す模式図である。(A) is a schematic diagram which shows the relationship between an illumination means and each camera, (b) is a schematic diagram which shows the arrangement | positioning relationship between the camera for E, and the camera for S. FIG. Eタイプ検査に際しての照射態様を説明するための照明装置の模式的な断面図である。It is typical sectional drawing of the illuminating device for demonstrating the irradiation aspect in the case of E type inspection. Hタイプ検査に際しての照射態様を説明するための照明装置の模式的な断面図である。It is typical sectional drawing of the illuminating device for demonstrating the irradiation aspect in the case of H type inspection. Sタイプ検査に際しての照射態様を説明するための照明装置の模式的な断面図である。It is typical sectional drawing of the illuminating device for demonstrating the irradiation aspect in the case of a S type test | inspection. 外観検査装置の電気的構成を示すブロック図である。It is a block diagram which shows the electrical structure of an external appearance inspection apparatus. 各検査の撮像タイミングを説明するためのタイミングチャートである。It is a timing chart for demonstrating the imaging timing of each test | inspection. (a)は「Sタイプ設定ルーチン」を示すフローチャートであり、(b)は「Sタイプ検査ルーチン」を示すフローチャートである。(A) is a flowchart showing an “S type setting routine”, and (b) is a flowchart showing an “S type inspection routine”. 「Hタイプ錠剤部設定ルーチン」を示すフローチャートである。It is a flowchart which shows "H type tablet part setting routine". 「Hタイプ錠剤部検査ルーチン」を示すフローチャートである。It is a flowchart which shows "H type tablet part inspection routine." 「Hタイプシート部設定ルーチン」を示すフローチャートである。It is a flowchart which shows "H type sheet part setting routine." 「Hタイプシート部検査ルーチン」を示すフローチャートである。It is a flowchart which shows "H type sheet part inspection routine." 「Eタイプ錠剤部設定ルーチン」を示すフローチャートである。It is a flowchart which shows "E type tablet part setting routine." 「Eタイプ錠剤部検査ルーチン」を示すフローチャートである。It is a flowchart which shows "E type tablet part test | inspection routine." 「Eタイプシート部設定ルーチン」を示すフローチャートである。It is a flowchart which shows "E type sheet part setting routine." 「Eタイプシート部検査ルーチン」を示すフローチャートである。It is a flowchart which shows "E type sheet | seat part inspection routine."

符号の説明Explanation of symbols

1…シートとしてのPTPシート、2…ポケット部、3…包装用フィルムとしての容器フィルム、4…カバーフィルムとしての密封用フィルム、5…錠剤、6…シール線、7…PTP包装機、21…外観検査装置、22…照明装置、23E…撮像手段としてのE用カメラ、23H…撮像手段としてのH用カメラ、23S…撮像手段としてのS用カメラ、24手画像処理装置、IR1…第1の照射手段、IR2…第2の照射手段、IR3…第3の照射手段、WH4…第4の照射手段、WH5…第5の照射手段、WH6…第6の照射手段。   DESCRIPTION OF SYMBOLS 1 ... PTP sheet as a sheet, 2 ... Pocket part, 3 ... Container film as a packaging film, 4 ... Sealing film as a cover film, 5 ... Tablet, 6 ... Seal wire, 7 ... PTP packaging machine, 21 ... Appearance inspection apparatus, 22 ... illumination device, 23E ... E camera as imaging means, 23H ... H camera as imaging means, 23S ... S camera as imaging means, 24-hand image processing apparatus, IR1 ... first Irradiation means, IR2 ... second irradiation means, IR3 ... third irradiation means, WH4 ... fourth irradiation means, WH5 ... fifth irradiation means, WH6 ... sixth irradiation means.

Claims (6)

包装用フィルムに形成されたポケット部に錠剤が収容され、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着されるPTPシートの製造に際し用いられ、シート異物・錠剤異物に関する検査、錠剤表面剥離に関する検査、及び、シール不良に関する検査を実行する外観検査装置であって、
移送中のシートに対し前記ポケット部側から所定の斜め方向に赤外光を照射可能な斜方向赤外光照射手段と、前記斜方向赤外光照射手段よりも浅い角度で、移送中のシートに対し前記ポケット部側から斜め方向に赤外光を照射可能な浅角斜方向赤外光照射手段と、移送中のシートに対し前記ポケット部側から略垂直方向に赤外光を照射可能な垂直赤外光照射手段と、移送中のシートに対し前記ポケット部側から略垂直方向に白色光を照射可能な垂直白色光照射手段とを備える1の照明装置と
シート異物・錠剤異物に関する検査用のカメラと、
錠剤表面剥離に関する検査用のカメラと、
シール不良に関する検査用のカメラと、
前記各カメラによる撮像データに基づき、画像処理を行う画像処理装置と、
前記各照射手段の点灯状態を切換制御する制御装置とを備え、
前記各カメラはほぼ1箇所に集結して設置されており、
前記制御装置は、
前記シート異物・錠剤異物に関する検査に際しては、少なくとも前記斜方向赤外光照射手段及び浅角斜方向赤外光照射手段が点灯状態とされ、
前記錠剤表面剥離に関する検査に際しては、少なくとも前記垂直白色光照射手段が点灯状態とされ、
前記シール不良に関する検査に際しては、少なくとも前記垂直赤外光照射手段が点灯状態とされるよう切換制御することを特徴とする外観検査装置。
Used in the manufacture of PTP sheets in which tablets are stored in pockets formed in packaging films, and the cover film is attached in a sealed state so as to close the pockets. test for peeling, and are external test 査装 location to perform testing for defective sealing,
An oblique direction infrared light irradiation means capable of irradiating infrared light in a predetermined oblique direction from the pocket portion side to the sheet being transferred, and a sheet being transferred at a shallower angle than the oblique direction infrared light irradiation means In contrast, a shallow angle oblique direction infrared light irradiating means capable of irradiating infrared light obliquely from the pocket side, and infrared light irradiating substantially perpendicular direction from the pocket side to the sheet being transferred. a vertical infrared light irradiating means, and a lighting device Ru and a vertical white light irradiating means capable of irradiating white light in a substantially perpendicular direction from said pocket side relative to the seat during transit,
A camera for inspection of sheet foreign matter / tablet foreign matter,
A camera for inspection related to tablet surface peeling;
A camera for inspection related to seal failure,
An image processing device that performs image processing based on image data captured by each camera;
A control device for switching and controlling the lighting state of each irradiation means,
Each of the cameras is installed in almost one place,
The controller is
When inspecting the sheet foreign matter / tablet foreign matter, at least the oblique direction infrared light irradiation means and the shallow angle oblique direction infrared light irradiation means are turned on,
When inspecting the tablet surface peeling, at least the vertical white light irradiation means is turned on,
Wherein when testing for seal failure, the appearance inspection 査装 location, characterized by switching control such that at least said vertical infrared light irradiating means is a lighting state.
前記照明装置は、さらに、移送中のシートに対し前記ポケット部側から所定の斜め方向に赤外光を照射可能な斜方向赤外光照射手段を具備し、
前記制御装置は、前記シート異物・錠剤異物に関する検査に際しては、さらに前記斜方向赤外光照射手段も点灯状態とされるよう切換制御することを特徴とする請求項1に記載の外観検査装置。
The illumination device further includes oblique infrared light irradiation means capable of irradiating infrared light in a predetermined oblique direction from the pocket portion side to the sheet being transferred,
The control device, wherein when testing for sheet foreign matter and tablets foreign matters further the oblique infrared light irradiating means the appearance inspection 査装 according to claim 1, characterized in that the switching control so as to be a lighting state Place.
前記照明装置は、さらに、移送中のシートに対し前記ポケット部側から所定の斜め方向に白色光を照射可能な斜方向白色光照射手段を具備し、
前記制御装置は、前記錠剤表面剥離に関する検査に際しては、さらに前記斜方向白色光照射手段も点灯状態とされるよう切換制御することを特徴とする請求項1又は2に記載の外観検査装置。
The illumination device further includes oblique white light irradiation means capable of irradiating white light in a predetermined oblique direction from the pocket portion side to the sheet being transferred,
Wherein the controller, when testing for the tablet surface release further the appearance inspection 査装 location according to claim 1 or 2 diagonal white light illumination means is also characterized by switching control to be a lighting state .
前記照明装置は、さらに、前記斜方向白色光照射手段よりも浅い角度で、移送中のシートに対し前記ポケット部側から斜め方向に白色光を照射可能な浅角斜方向白色光照射手段を具備し、
前記制御装置は、前記錠剤表面剥離に関する検査に際しては、さらに前記浅角斜方向白色光照射手段も点灯状態とされるよう切換制御することを特徴とする請求項に記載の外観検査装置。
The illumination device further includes shallow angle oblique white light irradiation means capable of irradiating white light obliquely from the pocket side to the sheet being transferred at an angle shallower than that of the oblique direction white light irradiation means. And
Wherein the controller, when testing for the tablet surface peeling, appearance inspection 査装 location according to claim 3, characterized in that also the switching control so as to be a lighting state further the shallow angle oblique white light emitting means .
前記照明装置は、さらに、移送中のシートに対し前記ポケット部側から所定の斜め方向に赤外光を照射可能な斜方向赤外光照射手段を具備し、
前記制御装置は、前記シール不良に関する検査に際しては、さらに前記斜方向赤外光照射手段も点灯状態とされるよう切換制御することを特徴とする請求項乃至のいずれかに記載の外観検査装置。
The illumination device further includes oblique infrared light irradiation means capable of irradiating infrared light in a predetermined oblique direction from the pocket portion side to the sheet being transferred,
The control device, the seal during test for failure, further appearance inspection according to any one of claims 1 to 4 characterized in that it also controls switching so that is lit the oblique infrared light irradiating means 査装 location.
包装用フィルムに形成されたポケット部に錠剤が収容され、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着されるPTPシートの製造に際し用いられ、シート異物・錠剤異物に関する検査、錠剤表面剥離に関する検査、及び、シール不良に関する検査を実行する外観検査装置であって、
移送中のシートに対し前記ポケット部側から所定の斜め方向に赤外光を照射可能な斜方向赤外光照射手段と、前記斜方向赤外光照射手段よりも浅い角度で、移送中のシートに対し前記ポケット部側から斜め方向に赤外光を照射可能な浅角斜方向赤外光照射手段と、移送中のシートに対し前記ポケット部側から略垂直方向に赤外光を照射可能な垂直赤外光照射手段と、移送中のシートに対し前記ポケット部側から所定の斜め方向に白色光を照射可能な斜方向白色光照射手段と、前記斜方向白色光照射手段よりも浅い角度で、移送中のシートに対し前記ポケット部側から斜め方向に白色光を照射可能な浅角斜方向白色光照射手段と、移送中のシートに対し前記ポケット部側から略垂直方向に白色光を照射可能な垂直白色光照射手段とを備える1の照明装置と
シート異物・錠剤異物に関する検査用のカメラと、
錠剤表面剥離に関する検査用のカメラと、
シール不良に関する検査用のカメラと、
前記各カメラによる撮像データに基づき、画像処理を行う画像処理装置と、
前記各照射手段の点灯状態を切換制御する制御装置とを備え、
前記各カメラはほぼ1箇所に集結して設置されており、
前記制御装置は、
前記シート異物・錠剤異物に関する検査に際しては、少なくとも前記垂直赤外光照射手段、並びに、前記斜方向赤外光照射手段及び浅角斜方向赤外光照射手段のうち少なくとも一方が点灯状態とされ、
前記錠剤表面剥離に関する検査に際しては、少なくとも前記斜方向白色光照射手段、浅角斜方向白色光照射手段、及び、垂直白色光照射手段が点灯状態とされ、
前記シール不良に関する検査に際しては、少なくとも前記垂直赤外光照射手段が点灯状態とされるよう切換制御することを特徴とする外観検査装置。
Used in the manufacture of PTP sheets in which tablets are stored in pockets formed in packaging films, and the cover film is attached in a sealed state so as to close the pockets. test for peeling, and are external test 査装 location to perform testing for defective sealing,
An oblique direction infrared light irradiation means capable of irradiating infrared light in a predetermined oblique direction from the pocket portion side to the sheet being transferred, and a sheet being transferred at a shallower angle than the oblique direction infrared light irradiation means In contrast, a shallow angle oblique direction infrared light irradiating means capable of irradiating infrared light obliquely from the pocket side, and infrared light irradiating substantially perpendicular direction from the pocket side to the sheet being transferred. Vertical infrared light irradiation means, oblique white light irradiation means capable of emitting white light in a predetermined oblique direction from the pocket side to the sheet being transferred, and at a shallower angle than the oblique white light irradiation means A shallow-angle oblique white light irradiating means capable of irradiating white light in an oblique direction from the pocket side to the sheet being transferred, and irradiating white light in a substantially vertical direction from the pocket side to the sheet being transferred possible and one of Ru with a vertical white light emitting means And the illumination device,
A camera for inspection of sheet foreign matter / tablet foreign matter,
A camera for inspection related to tablet surface peeling;
A camera for inspection related to seal failure,
An image processing device that performs image processing based on image data captured by each camera;
A control device for switching and controlling the lighting state of each irradiation means,
Each of the cameras is installed in almost one place,
The controller is
When inspecting the sheet foreign matter / tablet foreign matter, at least one of the vertical infrared light irradiation means, and the oblique direction infrared light irradiation means and the shallow angle oblique direction infrared light irradiation means is turned on,
In the inspection on the tablet surface peeling, at least the oblique direction white light irradiation means, the shallow angle oblique direction white light irradiation means, and the vertical white light irradiation means are turned on,
Wherein when testing for seal failure, the appearance inspection 査装 location, characterized by switching control such that at least said vertical infrared light irradiating means is a lighting state.
JP2004306284A 2004-10-21 2004-10-21 Lighting device for visual inspection Active JP4213108B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004306284A JP4213108B2 (en) 2004-10-21 2004-10-21 Lighting device for visual inspection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004306284A JP4213108B2 (en) 2004-10-21 2004-10-21 Lighting device for visual inspection

Publications (2)

Publication Number Publication Date
JP2006118951A JP2006118951A (en) 2006-05-11
JP4213108B2 true JP4213108B2 (en) 2009-01-21

Family

ID=36536974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004306284A Active JP4213108B2 (en) 2004-10-21 2004-10-21 Lighting device for visual inspection

Country Status (1)

Country Link
JP (1) JP4213108B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013156064A (en) * 2012-01-27 2013-08-15 Hitachi Information & Control Solutions Ltd Sheet inspection device, manufacturing system of sheet, and packaging system

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5150848B2 (en) * 2008-12-26 2013-02-27 キリンテクノシステム株式会社 Lighting device
JP6036625B2 (en) * 2013-09-19 2016-11-30 株式会社デンソー Welded part appearance inspection device and welded part appearance inspection method
JP6046585B2 (en) * 2013-10-10 2016-12-21 Ckd株式会社 Inspection device and PTP packaging machine
JP2015114226A (en) * 2013-12-12 2015-06-22 ジェイティエンジニアリング株式会社 Visual inspection device and visual inspection method
JP6596290B2 (en) * 2015-09-29 2019-10-23 アンリツインフィビス株式会社 Inspection equipment
JP6612100B2 (en) * 2015-09-30 2019-11-27 アンリツインフィビス株式会社 Inspection equipment
JP6062102B1 (en) * 2016-11-16 2017-01-18 Ckd株式会社 Inspection device and PTP packaging machine
JP6862155B2 (en) * 2016-11-24 2021-04-21 第一実業ビスウィル株式会社 Visual inspection equipment
JP7026727B2 (en) 2020-05-20 2022-02-28 Ckd株式会社 Lighting equipment for visual inspection, visual inspection equipment and blister packaging machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013156064A (en) * 2012-01-27 2013-08-15 Hitachi Information & Control Solutions Ltd Sheet inspection device, manufacturing system of sheet, and packaging system

Also Published As

Publication number Publication date
JP2006118951A (en) 2006-05-11

Similar Documents

Publication Publication Date Title
US9541499B2 (en) Package inspection system
JP4368808B2 (en) Appearance inspection device and PTP packaging machine
JP4647643B2 (en) Defect inspection device and PTP packaging machine
KR20070009555A (en) Device and method for detecting contamination in a container
JP4332122B2 (en) Appearance inspection device and PTP packaging machine
JP4213108B2 (en) Lighting device for visual inspection
JP6411599B1 (en) Blister packing machine
JP6613353B2 (en) Appearance inspection device and blister packaging machine
JP2007279064A (en) Visual inspection device for ptp encapsuled body
JP4213106B2 (en) Appearance inspection device and PTP packaging machine
JP2007507707A (en) System and method for reflecting features of an object
JP5161905B2 (en) Tablet inspection device and PTP packaging machine
JP2005291939A (en) Apparatus and method for inspecting ptp sheet
TW201629474A (en) Inspection device
JP4477516B2 (en) Inspection device and PTP packaging machine
JP4684172B2 (en) Appearance inspection apparatus and PTP sheet manufacturing apparatus
JP3549752B2 (en) PTP sheet appearance inspection device and PTP packaging machine
JP5744414B2 (en) Tablet inspection device and PTP packaging machine
WO2021161619A1 (en) Inspection device, packaging sheet manufacturing device, and inspection method
JP4684173B2 (en) Appearance inspection apparatus and PTP sheet manufacturing apparatus
JP5063235B2 (en) Tablet inspection device and PTP packaging machine
JP2014122825A (en) Bottle cap appearance inspection device and appearance inspection method
JP2006138683A (en) Visual inspection device and ptp packaging machine
JP2004117103A (en) Label tear inspection device of vessel
JP4251325B2 (en) Appearance inspection device and PTP packaging machine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080624

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080812

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081029

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

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4213108

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111107

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121107

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131107

Year of fee payment: 5