JP2006292419A - Defect inspection device and ptp packaging machine - Google Patents

Defect inspection device and ptp packaging machine Download PDF

Info

Publication number
JP2006292419A
JP2006292419A JP2005109897A JP2005109897A JP2006292419A JP 2006292419 A JP2006292419 A JP 2006292419A JP 2005109897 A JP2005109897 A JP 2005109897A JP 2005109897 A JP2005109897 A JP 2005109897A JP 2006292419 A JP2006292419 A JP 2006292419A
Authority
JP
Japan
Prior art keywords
light
light source
tablet
packaging film
imaging
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.)
Granted
Application number
JP2005109897A
Other languages
Japanese (ja)
Other versions
JP4523474B2 (en
Inventor
Yukihiro Taguchi
幸弘 田口
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 JP2005109897A priority Critical patent/JP4523474B2/en
Publication of JP2006292419A publication Critical patent/JP2006292419A/en
Application granted granted Critical
Publication of JP4523474B2 publication Critical patent/JP4523474B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • G01N21/9508Capsules; Tablets

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a defect inspection device capable of suppressing complication of processing in inspection, and improving inspection accuracy, while preventing a smear phenomenon, in defect inspection in a manufacturing process of a PTP sheet, and a PTP packaging machine. <P>SOLUTION: This defect inspection device 21 is used in a stage before fixing a sealing film 4 for blocking a pocket part, after storing a tablet in the pocket part formed on a container film 3 to be conveyed. The defect inspection device 21 is equipped with a lighting system 22 equipped with the first light source and the second light source, a camera 23 capable of imaging light transmitted through the tablet, and an image processing device 24 for processing an image signal outputted from the camera 23. The lighting system 22 is provided on the pocket part side of the container film 3, and the camera 23 is provided on the opposite side to the lighting system 22 through the container film 3. Then, transmitted light inspection on a tablet chip or the like is executed by light transmitted through the tablet in light from the first light source and by light directly entering the camera 23 from the second light source. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、PTPシートの製造に際し、錠剤やカプセル等を透過するほどの比較的強い光を用いて行われる不良検査のための装置、及び、当該不良検査装置を備えたPTP包装機を含む技術分野に属するものである。   The present invention relates to a device including a device for defect inspection that is performed using relatively strong light that is transmitted through a tablet, a capsule, or the like in manufacturing a PTP sheet, and a PTP packaging machine that includes the defect inspection device. Belongs to the field.

一般に、PTPシートは、錠剤等が充填されるポケット部が形成された樹脂製の包装用フィルムと、その包装用フィルムにポケット部の開口側を密封するように前記包装用フィルムに取着されるアルミニウム製のカバーフィルムとから構成されている。   In general, a PTP sheet is attached to a packaging film made of resin in which a pocket portion filled with tablets or 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.

ところで、ポケット部に錠剤等が充填された後、カバーフィルムが取着される前段階において、錠剤の表面欠け等に関する異常を検査することが行われる。かかる検査手法としては、照射手段を用いて所定の光を錠剤に照射し、そこで反射した光を撮像することに基づいて、画像信号から輝度データを得た上で検査を行うのが一般的である。   By the way, after the pocket portion is filled with tablets or the like, before the cover film is attached, it is inspected for abnormality relating to the chipping of the surface of the tablet or the like. As such an inspection method, it is common to perform inspection after obtaining luminance data from an image signal based on irradiating a tablet with predetermined light using an irradiating means and imaging the reflected light there. is there.

しかしながら、上記技術では、錠剤の表面欠け部分に陰ができるような照射手段を用意する必要がある。一方で、そのような照射手段を用いて照射を行うと、錠剤表面の照度斑が大きくなり、期待する検出精度が得られないおそれがある。   However, in the above technique, it is necessary to prepare an irradiation means that can shade the chipped portion of the tablet. On the other hand, when irradiation is performed using such irradiation means, the illuminance unevenness on the tablet surface increases, and the expected detection accuracy may not be obtained.

これに対し、錠剤充填後において、例えばポケット部側に設けられた照射手段から光を照射して、照射手段とは反対側に設けられたカメラにて透過光の撮像を行うという技術がある。この技術では、包装用フィルム及び錠剤を透過した光の画像データに基づいて、錠剤表面に欠け等の異常があるか否かが検査される(例えば、特許文献1参照)。
特開2004−198175号公報
On the other hand, after tablet filling, for example, there is a technique in which light is irradiated from an irradiation unit provided on the pocket portion side, and transmitted light is imaged by a camera provided on the side opposite to the irradiation unit. In this technique, based on image data of light transmitted through a packaging film and a tablet, whether or not there is an abnormality such as a chip on the tablet surface is inspected (for example, see Patent Document 1).
JP 2004-198175 A

ところが、上記技術では、照射手段からは、錠剤を透過するほどの比較的強い光が照射される。このため、錠剤の存在する領域と、存在しない背景領域との輝度差(明度差)が著しく大きくなってしまう。特に、CCDカメラで撮像したような場合には、所謂スミア現象が起きてしまい、錠剤の領域を的確に特定できず、正確な検査に支障を来したり、異常検出精度が低下したりするという不具合の起こるおそれがあった。   However, in the above technique, the irradiation means irradiates relatively strong light enough to pass through the tablet. For this reason, the luminance difference (brightness difference) between the region where the tablet is present and the background region where the tablet is not present is significantly increased. In particular, when the image is taken with a CCD camera, a so-called smear phenomenon occurs, and the tablet region cannot be accurately specified, which may hinder accurate inspection or decrease the abnormality detection accuracy. There was a risk of malfunction.

本発明は、上記事情に鑑みてなされたものであり、PTPシートの製造過程における不良を検査するに際し、スミア現象を防止しつつ、検査精度の飛躍的な向上を図ることのできる不良検査装置、及び、PTP包装機を提供することを主たる目的の一つとしている。また、本発明は、検査に際しての処理の複雑化を抑制することをも目的の一つとしている。   The present invention has been made in view of the above circumstances, and when inspecting defects in the manufacturing process of a PTP sheet, a defect inspection apparatus capable of dramatically improving inspection accuracy while preventing smearing, One of the main purposes is to provide a PTP packaging machine. Another object of the present invention is to suppress complication of processing during inspection.

以下、上記目的等を解決するのに適した各手段につき項分けして説明する。なお、必要に応じて対応する手段に特有の作用効果等を付記する。   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シートの製造過程にあって、搬送される帯状の包装用フィルムに形成されたポケット部に錠剤が収容された後、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着される前段階において用いられる不良検査装置であって、
前記錠剤及び包装用フィルムに対し、所定の光を照射可能な第1光源及び第2光源を具備する照明手段と、
前記照明手段とは前記包装用フィルムを介して反対側に設けられ、前記第1光源及び前記第2光源から照射され前記錠剤及び前記包装用フィルムを透過する光を撮像可能な撮像手段と、
前記撮像手段から出力される画像信号を処理する画像処理装置とを備え、
前記画像処理装置は、前記画像信号から得た画像データに基づき、少なくとも前記錠剤の表面異常を検出可能に構成されており、
前記撮像手段によって、前記第1光源からの光のうち前記包装用フィルム越しに前記錠剤を透過した光と、前記第2光源から前記包装用フィルム越しに前記撮像手段に直接入射する光とが撮像されるよう構成したことを特徴とする不良検査装置。
Means 1. In the manufacturing process of the PTP sheet, after the tablet is stored in the pocket portion formed in the belt-shaped packaging film to be conveyed, the stage before the cover film is attached in a sealed state so as to close the pocket portion A defect inspection apparatus used in
Illumination means comprising a first light source and a second light source capable of irradiating the tablet and the packaging film with predetermined light;
The illumination means is provided on the opposite side through the packaging film, and imaging means capable of imaging light that is irradiated from the first light source and the second light source and passes through the tablet and the packaging film;
An image processing device for processing an image signal output from the imaging means,
The image processing device is configured to be able to detect at least a surface abnormality of the tablet based on image data obtained from the image signal,
Of the light from the first light source, light that has passed through the tablet through the packaging film and light that is directly incident on the imaging means from the second light source through the packaging film are captured by the imaging unit. A defect inspection apparatus characterized in that it is configured.

手段1によれば、PTPシートの製造過程にあって、搬送される帯状の包装用フィルムに形成されたポケット部に錠剤が収容された後、ポケット部を塞ぐようにカバーフィルムがシール状態で取着される前段階において不良検査装置による不良検査が行われる。すなわち、照明手段の光源からは、錠剤及び包装用フィルムに対し、所定の光が照射される。また、照明手段とは包装用フィルムを介して反対側に設けられた撮像手段により、光源から照射され錠剤及び包装用フィルムを透過する光が撮像される。そして、画像処理装置では、前記撮像手段から出力される画像信号が処理され、画像信号から得た画像データに基づき、少なくとも錠剤の表面異常が検出される。このため、反射光を用いて検査を行う場合と異なり、錠剤表面の照度斑が大きくなる等の懸念の必要がなくなる。   According to the means 1, in the process of manufacturing the PTP sheet, after the tablet is stored in the pocket portion formed in the belt-shaped packaging film to be conveyed, the cover film is taken in a sealed state so as to close the pocket portion. A defect inspection by a defect inspection apparatus is performed at a stage before being worn. That is, predetermined light is irradiated to the tablet and the packaging film from the light source of the illumination means. Moreover, the light which is irradiated from a light source and permeate | transmits a tablet and the packaging film is imaged by the imaging means provided on the opposite side through the packaging film with respect to the illumination means. In the image processing apparatus, the image signal output from the imaging means is processed, and at least a surface abnormality of the tablet is detected based on the image data obtained from the image signal. For this reason, unlike the case where the inspection is performed using the reflected light, there is no need to worry that the illuminance unevenness on the tablet surface becomes large.

また、撮像手段にて、錠剤を透過するのに十分な光(比較的強い光)が直接撮像される構成とした場合、錠剤の存在する領域と、存在しない背景領域との輝度差(明度差)が著しく大きくなってしまうことが懸念される。この点、本手段では、第1光源からの光については、錠剤を透過した光のみが撮像手段に撮像されるようになっている。このため、第1光源を、錠剤を透過するのに十分な光を照射可能とすることで、上記したような透過光による検査を実施することができるとともに、撮像手段に入射される光が強すぎることに起因する不具合、例えば、撮像手段としてCCDカメラ等が採用された場合のスミア現象を防止することができる。   In addition, when the imaging means is configured to directly capture light that is sufficient to pass through the tablet (relatively strong light), the luminance difference (brightness difference) between the area where the tablet exists and the background area where it does not exist ) May become significantly larger. In this regard, in this means, only the light transmitted through the tablet is picked up by the image pickup means with respect to the light from the first light source. Therefore, by making the first light source capable of irradiating with sufficient light to pass through the tablet, it is possible to carry out the inspection with the transmitted light as described above, and the light incident on the imaging means is strong. It is possible to prevent a problem caused by the excess, for example, a smear phenomenon when a CCD camera or the like is employed as the imaging means.

また、例えば、このような第1光源からの光だけを照射する場合、錠剤の存在する領域は明るく、錠剤の存在しない背景領域は暗くなる。しかしながら、第1光源からの光のうち、ポケット部のエッジ部(包装用フィルム表面とポケット部の底面とを連結する部位)を透過する光に関しては、当該エッジ部を透過する際に撮像手段に直接入射する方向に屈折してしまうおそれがある。そして、当該屈折に起因して、背景領域のうちエッジ部に対応する部分については明るくなってしまい、錠剤の存在する領域と当該エッジ部の領域との区別がつきにくくなることが懸念される。特に、錠剤がエッジ部に寄ってしまっていると、当該エッジ部の領域についても錠剤の存在する領域であると認定されてしまうおそれがあるため、錠剤とエッジ部とを区別して錠剤の存在する領域を特定するための処理を別途行う必要があり、この場合、処理の複雑化を招くおそれがある。   Further, for example, when only the light from the first light source is irradiated, the region where the tablet is present is bright and the background region where the tablet is not present is dark. However, among the light from the first light source, the light that passes through the edge portion of the pocket portion (the portion that connects the packaging film surface and the bottom surface of the pocket portion) is transmitted to the imaging means when passing through the edge portion. There is a risk of refraction in the direction of direct incidence. Then, due to the refraction, a portion corresponding to the edge portion in the background region becomes bright, and there is a concern that it is difficult to distinguish between the region where the tablet exists and the region of the edge portion. In particular, if the tablet is close to the edge portion, the region of the edge portion may be recognized as a region where the tablet exists, so there is a tablet distinguishing the tablet from the edge portion. It is necessary to separately perform processing for specifying an area, and in this case, the processing may be complicated.

この点、本手段では、第2光源からの光を照射することとしており、これにより包装用フィルム越しに撮像手段への光の直接入射が許容される。このため、錠剤の存在しない背景領域については、錠剤の存在する領域よりも確実に明るくなる。すなわち、前記エッジ部をも含む錠剤の存在しない背景領域と、錠剤の存在する領域との明度差が明確に表れ、これによって錠剤と背景領域とを確実に区別することができる。従って、錠剤の領域を特定するために、エッジ部と錠剤とを区別するための処理を別途行わなくとも済み、処理の複雑化を招くといったおそれを抑制することができる。結果として、スミア現象を防止しつつ、検査に際しての処理の複雑化を招くことなく、異常検出精度の向上を図ることができる。   In this respect, the present means irradiates light from the second light source, thereby allowing direct incidence of light to the imaging means through the packaging film. For this reason, the background area without the tablet is surely brighter than the area with the tablet. That is, a difference in brightness between the background area where the tablet including the edge portion does not exist and the area where the tablet exists clearly appears, and thus the tablet and the background area can be reliably distinguished. Therefore, it is not necessary to separately perform processing for distinguishing between the edge portion and the tablet in order to specify the tablet region, and the risk that the processing becomes complicated can be suppressed. As a result, it is possible to improve the abnormality detection accuracy while preventing the smear phenomenon and without complicating the processing during the inspection.

なお、「前記第2光源は、スミア現象が起きない程度の(前記錠剤を透過しない)比較的弱い光を照射可能であること」としてもよい。この場合、スミア現象を防止するといった効果が確実に奏される。   The second light source may be capable of irradiating a relatively weak light that does not cause a smear phenomenon (does not pass through the tablet). In this case, the effect of preventing the smear phenomenon is reliably exhibited.

手段2.前記第1光源を前記撮像手段のレンズ画角範囲外に配設し、かつ、前記第2光源を前記撮像手段のレンズ画角範囲内に配設した構成、及び、
前記第1光源を、当該第1光源からの光が、少なくとも前記撮像手段の撮像に際して前記包装用フィルム越しに前記錠剤にのみ照射されるように、指向性のある光を照射可能とし、かつ、前記第2光源を、前記包装用フィルム越しに前記撮像手段に直接入射する光を照射可能とする構成のうち少なくとも一方の構成を採用したことを特徴とする手段1に記載の不良検査装置。
Mean 2. A configuration in which the first light source is disposed outside a lens field angle range of the imaging unit, and the second light source is disposed within a lens field angle range of the imaging unit; and
The first light source can be irradiated with directional light so that the light from the first light source is irradiated only on the tablet through the packaging film at least during imaging by the imaging means, and 2. The defect inspection apparatus according to claim 1, wherein the second light source employs at least one of the configurations that enables irradiation of light directly incident on the imaging unit through the packaging film.

手段2によれば、第1光源を撮像手段のレンズ画角範囲外に配設したり、又は、撮像手段の撮像に際し、第1光源からの指向性を有する光が包装用フィルム越しに錠剤にのみ当たるよう構成したりすることで、第1光源からの(比較的強い)光が撮像手段に直接入射することが確実に抑止され、直接入射に起因するスミア現象の防止が図られる。   According to the means 2, the first light source is arranged outside the range of the lens angle of view of the image pickup means, or when the image pickup means takes an image, the light having directivity from the first light source is applied to the tablet through the packaging film. For example, it is possible to reliably prevent (relatively strong) light from the first light source from directly entering the imaging unit, and to prevent a smear phenomenon caused by direct incidence.

また、第2光源からの光を照射することとしており、これにより包装用フィルム越しに撮像手段への光の直接入射が許容される。以上のような構成を採用することで、上記手段1の作用効果がより確実に奏される。   In addition, the light from the second light source is irradiated, so that direct incidence of light to the image pickup means is allowed through the packaging film. By adopting the configuration as described above, the effect of the means 1 is more reliably achieved.

なお、「指向性のある光」とあるのは、例えば、レーザ光に代表されるような「広がることなく一方向へ進む光」が含まれる。また、本手段においては、第1光源からの光が撮像手段に直接入射することによる不具合を回避することを技術的特徴としており、例えば、「前記第1光源からの光のうち前記包装用フィルム越しに前記撮像手段に直接入射する光を遮る遮光手段を備え」ることでも、第1光源からの光を指向性のあるもの(前記包装用フィルム越しに前記撮像手段に直接入射する光を除いた光)とすることができ、上記不具合を回避することができる。つまり、上記のような「光」も「指向性のある光」に含まれる。   The “directional light” includes, for example, “light traveling in one direction without spreading” as typified by laser light. Further, in this means, a technical feature is to avoid a problem caused by direct incidence of light from the first light source on the imaging means. For example, “the packaging film out of the light from the first light source” It is also possible to provide light shielding means for blocking light directly incident on the imaging means through the light source from the first light source (except for light directly incident on the imaging means through the packaging film). The above-mentioned problems can be avoided. That is, “light” as described above is also included in “directional light”.

手段3.PTPシートの製造過程にあって、搬送される帯状の包装用フィルムに形成されたポケット部に錠剤が収容された後、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着される前段階において用いられる不良検査装置であって、
前記錠剤及び包装用フィルムに対し、前記錠剤を透過するのに十分な、第1の波長域の光を照射可能な第1光源、及び前記第1の波長域とは異なる第2の波長域の光を照射可能な第2光源を具備する照明手段と、
前記照明手段とは前記包装用フィルムを介して反対側に設けられ、前記第1光源及び前記第2光源から照射され前記包装用フィルム及び前記錠剤を透過する光を撮像可能な撮像手段と、
前記撮像手段から出力される画像信号を処理する画像処理装置とを備え、
前記画像処理装置は、前記画像信号から得た画像データに基づき、少なくとも前記錠剤の表面異常を検出可能に構成されており、
さらに、前記第1光源からの光に関しては、前記包装用フィルム越しに前記撮像手段に直接入射する光を除去又は減光させ、前記第2光源からの光に関しては、前記包装用フィルム越しに前記撮像手段への光の直接入射を許容する直接入射光制限手段を設けたことを特徴とする不良検査装置。
Means 3. In the manufacturing process of the PTP sheet, after the tablet is stored in the pocket portion formed in the belt-shaped packaging film to be conveyed, the stage before the cover film is attached in a sealed state so as to close the pocket portion A defect inspection apparatus used in
A first light source capable of irradiating light in the first wavelength range sufficient to transmit the tablet and the packaging film, and a second wavelength range different from the first wavelength range Illumination means comprising a second light source capable of irradiating light;
The illumination means is provided on the opposite side through the packaging film, and imaging means capable of imaging light that is irradiated from the first light source and the second light source and passes through the packaging film and the tablet;
An image processing device for processing an image signal output from the imaging means,
The image processing device is configured to be able to detect at least a surface abnormality of the tablet based on image data obtained from the image signal,
Further, with respect to the light from the first light source, the light directly incident on the imaging means through the packaging film is removed or reduced, and with respect to the light from the second light source, the light is transmitted through the packaging film. A defect inspection apparatus comprising a direct incident light limiting unit that allows direct incidence of light on an imaging unit.

手段3によれば、直接入射光制限手段を設けることによって、錠剤を透過するのに十分な強い光である第1光源からの光のうち、包装用フィルム越しに撮像手段に直接入射する光が除去又は減光させられる。また、第2光源からの光を照射することとしており、これにより包装用フィルム越しに撮像手段への光の直接入射が許容される。従って、上記手段1と同様の作用効果が奏される。   According to the means 3, by providing the direct incident light limiting means, the light directly incident on the imaging means through the packaging film out of the light from the first light source that is strong enough to pass through the tablet. Removed or dimmed. In addition, the light from the second light source is irradiated, so that direct incidence of light to the image pickup means is allowed through the packaging film. Therefore, the same function and effect as the above means 1 can be achieved.

手段4.PTPシートの製造過程にあって、搬送される帯状の包装用フィルムに形成されたポケット部にカプセルが収容された後、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着される前段階において用いられる不良検査装置であって、
前記カプセル及び包装用フィルムに対し、所定の光を照射可能な第1光源及び第2光源を具備する照明手段と、
前記照明手段とは前記包装用フィルムを介して反対側に設けられ、前記第1光源及び前記第2光源から照射され前記カプセル及び前記包装用フィルムを透過する光を撮像可能な撮像手段と、
前記撮像手段から出力される画像信号を処理する画像処理装置とを備え、
前記画像処理装置は、前記画像信号から得た画像データに基づき、少なくとも前記カプセルの空異常を検出可能に構成されており、
前記撮像手段によって、前記第1光源からの光のうち前記包装用フィルム越しに前記カプセルを透過した光と、前記第2光源から前記包装用フィルム越しに前記撮像手段に直接入射する光とが撮像されるよう構成したことを特徴とする不良検査装置。
Means 4. In the manufacturing process of the PTP sheet, after the capsule is accommodated in the pocket portion formed in the belt-shaped packaging film to be conveyed, the stage before the cover film is attached in a sealed state so as to close the pocket portion A defect inspection apparatus used in
Illumination means comprising a first light source and a second light source capable of irradiating predetermined light to the capsule and the packaging film;
The illumination means is provided on the opposite side via the packaging film, and imaging means capable of imaging light that is irradiated from the first light source and the second light source and passes through the capsule and the packaging film;
An image processing device for processing an image signal output from the imaging means,
The image processing device is configured to detect at least an empty abnormality of the capsule based on image data obtained from the image signal,
Of the light from the first light source, the light transmitted through the capsule through the packaging film and the light directly incident on the imaging means from the second light source through the packaging film are captured by the imaging unit. A defect inspection apparatus characterized in that it is configured.

手段4によれば、透過光を用いることでカプセルの空異常の検査が実現できる。そして、当該検査に際し、上記手段1と同様の作用効果が奏される。   According to the means 4, it is possible to realize the inspection of the capsule empty abnormality by using the transmitted light. And in the said test | inspection, the effect similar to the said means 1 is show | played.

手段5.前記第1光源を前記撮像手段のレンズ画角範囲外に配設し、かつ、前記第2光源を前記撮像手段のレンズ画角範囲内に配設した構成、及び、
前記第1光源を、当該第1光源からの光が、少なくとも前記撮像手段の撮像に際して前記包装用フィルム越しに前記錠剤にのみ照射されるように、指向性のある光を照射可能とし、かつ、前記第2光源を、前記包装用フィルム越しに前記撮像手段に直接入射する光を照射可能とする構成のうち少なくとも一方の構成を採用したことを特徴とする手段4に記載の不良検査装置。
Means 5. A configuration in which the first light source is disposed outside a lens field angle range of the imaging unit, and the second light source is disposed within a lens field angle range of the imaging unit; and
The first light source can be irradiated with directional light so that the light from the first light source is irradiated only on the tablet through the packaging film at least during imaging by the imaging means, and 5. The defect inspection apparatus according to claim 4, wherein at least one of the second light sources is configured to be capable of irradiating light directly incident on the imaging unit through the packaging film.

手段5によれば、カプセルの空異常の検査に関し、上記手段2と同様の作用効果が奏される。   According to the means 5, the same effect as that of the means 2 can be obtained with respect to the inspection of the capsule empty abnormality.

手段6.PTPシートの製造過程にあって、搬送される帯状の包装用フィルムに形成されたポケット部にカプセルが収容された後、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着される前段階において用いられる不良検査装置であって、
前記カプセル及び前記包装用フィルムに対し、前記カプセルを透過するのに十分な、第1の波長域の光を照射可能な第1光源、及び前記第1の波長域とは異なる第2の波長域の光を照射可能な第2光源を具備する照明手段と、
前記照明手段とは前記包装用フィルムを介して反対側に設けられ、前記第1光源及び前記第2光源から照射され前記包装用フィルム及び前記カプセルを透過する光を撮像可能な撮像手段と、
前記撮像手段から出力される画像信号を処理する画像処理装置とを備え、
前記画像処理装置は、前記画像信号から得た画像データに基づき、少なくとも前記カプセルの空異常を検出可能に構成されており、
さらに、前記第1光源からの光に関しては、前記包装用フィルム越しに前記撮像手段に直接入射する光を除去又は減光させ、前記第2光源からの光に関しては、前記包装用フィルム越しに前記撮像手段への光の直接入射を許容する直接入射光制限手段を設けたことを特徴とする不良検査装置。
Means 6. In the manufacturing process of the PTP sheet, after the capsule is accommodated in the pocket portion formed in the belt-shaped packaging film to be conveyed, the stage before the cover film is attached in a sealed state so as to close the pocket portion A defect inspection apparatus used in
A first light source capable of irradiating light in a first wavelength range sufficient to transmit the capsule and the packaging film, and a second wavelength range different from the first wavelength range Illumination means comprising a second light source capable of emitting the light of
The illumination means is provided on the opposite side through the packaging film, and imaging means capable of imaging light that is irradiated from the first light source and the second light source and passes through the packaging film and the capsule;
An image processing device for processing an image signal output from the imaging means,
The image processing device is configured to detect at least an empty abnormality of the capsule based on image data obtained from the image signal,
Further, with respect to the light from the first light source, the light directly incident on the imaging means through the packaging film is removed or reduced, and with respect to the light from the second light source, the light is transmitted through the packaging film. A defect inspection apparatus comprising a direct incident light limiting unit that allows direct incidence of light on an imaging unit.

手段6によれば、透過光を用いることでカプセルの空異常の検査が実現できる。そして、当該検査に際し、上記手段3と同様の作用効果が奏される。   According to the means 6, the inspection of the capsule empty abnormality can be realized by using the transmitted light. And in the said test | inspection, the effect similar to the said means 3 is show | played.

手段7.前記直接入射光制限手段は、少なくとも前記第1光源と、前記撮像手段のレンズ部中心を結ぶ直線上の光を一部反射又は全反射可能に構成されていることを特徴とする手段3又は6に記載の不良検査装置。   Mean 7 The direct incident light limiting means is configured to be capable of partially reflecting or totally reflecting light on a straight line connecting at least the first light source and the center of the lens portion of the imaging means. Defect inspection device described in 1.

手段7によれば、直接入射光制限手段によって、少なくとも第1光源と、撮像手段のレンズ部中心を結ぶ直線上の光が一部反射又は全反射させられる。このため、撮像手段に第1光源からの光が直接入射させられにくくなり、上述した作用効果がより確実に奏されやすくなる。   According to the means 7, the light on the straight line connecting at least the first light source and the center of the lens portion of the imaging means is partially or totally reflected by the direct incident light limiting means. For this reason, it becomes difficult for the light from the first light source to be directly incident on the image pickup means, and the above-described operation and effect can be more reliably achieved.

手段8.前記直接入射光制限手段は、少なくとも前記直線方向に対し、前記レンズ部の画角分以内の前記第1光源からの光を一部反射又は全反射可能に構成されていることを特徴とする手段7に記載の不良検査装置。   Means 8. The direct incident light limiting means is configured to be capable of partially reflecting or totally reflecting light from the first light source within an angle of view of the lens unit with respect to at least the linear direction. 8. The defect inspection apparatus according to 7.

手段8によれば、直接入射光制限手段によって、さらに、少なくとも前記直線方向に対し、(プラスマイナス)レンズ部の画角分以内の第1光源からの光が一部反射又は全反射させられる。このため、撮像手段に光源からの強い光が入射させられにくくなり、上述した作用効果がより確実に奏されやすくなる。   According to the means 8, the light from the first light source within the angle of view of the (plus or minus) lens part is partially reflected or totally reflected by the direct incident light limiting means at least in the linear direction. For this reason, it becomes difficult for strong light from the light source to be incident on the image pickup means, and the above-described operational effects are more easily achieved.

手段9.前記照明手段は、少なくとも前記第1光源からの光を拡散するための拡散手段を具備していることを特徴とする手段3、6乃至8のいずれかに記載の不良検査装置。   Means 9. 9. The defect inspection apparatus according to any one of means 3, 6 to 8, wherein the illuminating means comprises at least a diffusing means for diffusing light from the first light source.

手段9によれば、少なくとも第1光源からの光が、拡散手段によって拡散させられるため、光の均一化が図られ、例えば好適な面発光を実現しやすい。また、第1光源からの直接光が撮像手段にて撮像されるといった事態をより一層防止することができる。   According to the means 9, since at least light from the first light source is diffused by the diffusing means, the light can be made uniform, and for example, suitable surface emission can be easily realized. In addition, it is possible to further prevent a situation in which direct light from the first light source is imaged by the imaging means.

手段10.前記直接入射光制限手段は、前記拡散手段に取着されたフィルタであることを特徴とする手段9に記載の不良検査装置。   Means 10. 10. The defect inspection apparatus according to claim 9, wherein the direct incident light limiting means is a filter attached to the diffusing means.

手段10によれば、直接入射光制限手段がフィルタによって構成され、それが拡散手段に取着される。このため、照明手段としてのユニット化、コンパクト化を図ることができ、装置全体が嵩張ったものとなるのを抑制できる。   According to the means 10, the direct incident light limiting means is constituted by a filter, which is attached to the diffusing means. For this reason, unitization as an illuminating means and compactness can be achieved, and the entire apparatus can be prevented from becoming bulky.

手段11.前記撮像手段は、前記第1光源及び前記第2光源から同時に照射された光に基づく撮像を行うこと特徴とする手段1乃至10のいずれかに記載の不良検査装置。   Means 11. The defect inspection apparatus according to any one of means 1 to 10, wherein the imaging means performs imaging based on light simultaneously emitted from the first light source and the second light source.

手段11によれば、撮像手段による1回の撮像に基づく画像データに基づいて異常を検出することができる。このため、例えば、第1光源から光を照射したときと第2光源から光を照射したときとで別々に撮影するといったような手間を省略することができる。また、第1光源の光だけを照射したときの画像データと、第2光源の光だけを照射したときの画像データとを後で組合わせる(重ね合わせる)等の処理を行わなくとも済み、処理の複雑化を回避することができる。さらに、上記のように、後で画像データを組合わせる場合には、両画像データを組合わせる際にずれが生じたり、該ずれを補正するための別処理を行う必要が生じたりする不具合が懸念されるが、本手段の構成を採用することで、上記不具合を回避することができる。結果として、処理の複雑化を招くことなく、異常検出を精度よく行うことができるといった効果がより確実に奏される。   According to the means 11, the abnormality can be detected based on the image data based on the single imaging by the imaging means. For this reason, for example, it is possible to save the trouble of photographing separately when light is emitted from the first light source and when light is emitted from the second light source. Further, it is not necessary to perform processing such as combining (superimposing) image data when only the light from the first light source is irradiated with image data when only the light from the second light source is irradiated. Can be avoided. Furthermore, as described above, when image data are combined later, there is a concern that there may be a deviation when combining both image data, or that it is necessary to perform another process for correcting the deviation. However, the above-described problem can be avoided by adopting the configuration of this means. As a result, the effect that the abnormality detection can be performed with high accuracy without complicating the processing is more reliably achieved.

手段12.前記第1光源の光の強さ及び前記第2光源の光の強さを個別に調節可能な調光手段を備えたことを特徴とする手段1乃至11のいずれかに記載の不良検査装置。   Means 12. 12. The defect inspection apparatus according to any one of means 1 to 11, further comprising a dimming means capable of individually adjusting the light intensity of the first light source and the light intensity of the second light source.

手段12によれば、第1光源の光の強さと第2光源の光の強さとをそれぞれ個別に調節することができる。このため、検査対象(錠剤、カプセル)や包装用フィルムを変更する場合にも適切に対処することができる。なお、調光手段は、各光源の光の強さを手動で調節可能に構成してもよいし、品種等に応じて自動調節可能に構成してもよい。   According to the means 12, the light intensity of the first light source and the light intensity of the second light source can be individually adjusted. For this reason, it is possible to appropriately cope with the case where the inspection object (tablet, capsule) or the packaging film is changed. The light control means may be configured such that the light intensity of each light source can be manually adjusted, or may be configured to be automatically adjustable according to the product type.

手段13.少なくとも前記第1光源は、赤外光を照射可能であることを特徴とする手段1乃至12のいずれかに記載の不良検査装置。   Means 13. The defect inspection apparatus according to any one of means 1 to 12, wherein at least the first light source is capable of emitting infrared light.

手段13によれば、前記光源から赤外光が照射される。ここで、赤外光は、可視光に比べて錠剤等の透過率が高いため、より精度の高い検査が可能となる。しかも、錠剤等として着色の施されたものが採用されたり、包装用フィルムとして着色フィルムが採用されたりする場合があるが、このような場合でも、着色による減光要素を無視しやすいというメリットがある。なお、第2光源については、赤外光を照射可能に構成してもよいし、赤外光以外の光(例えば可視光)を照射可能に構成してもよい。   According to the means 13, infrared light is irradiated from the light source. Here, since infrared light has a higher transmittance of tablets or the like than visible light, a more accurate inspection can be performed. In addition, a colored product such as a tablet may be employed, or a colored film may be employed as a packaging film. is there. The second light source may be configured to be able to irradiate infrared light, or may be configured to be able to irradiate light other than infrared light (for example, visible light).

手段14.手段1乃至13のいずれかに記載の不良検査装置を備えたことを特徴とするPTP包装機。   Means 14. A PTP packaging machine comprising the defect inspection apparatus according to any one of means 1 to 13.

手段14のように、不良検査装置をPTP包装機に備えることで、PTPシートの製造過程において不良品を効率的に除外できる等のメリットが生じる。   By providing the defect inspection apparatus in the PTP packaging machine as in the means 14, there is a merit that defective products can be efficiently excluded in the manufacturing process of the PTP sheet.

以下、一実施形態について、図面を参照しつつ説明する。   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つずつ収容されている。   In this embodiment, by installing a defect inspection device in the PTP packaging machine, the PTP sheet machine is inspected for defects in the PTP sheet (particularly, abnormalities such as chipping of the tablet called chipping, capping, sticking, etc.). It has become so. 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). Presents). The sealing film 4 is made of aluminum. Each pocket 2 contains one tablet 5 (in this example, an orally disintegrating tablet) as an object to be filled.

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

一方、帯状に形成された密封用フィルム4は、テンションロール16,17を介してフィルム受けロール18の方へと案内されている。フィルム受けロール18には、加熱ロール19が圧接可能となっており、該加熱ロール19の外周面には、僅かに凸状に形成された格子状の線(図示略)が設けられている。そして、両ロール18,19間に、容器フィルム3及び密封用フィルム4が送り込まれるようになっている。両フィルム3,4が、両ロール18,19間を加熱圧接状態で通過することで、容器フィルム3に密封用フィルム4が取着される。これによって、錠剤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. The sealing film 4 is attached to the container film 3 by passing both the films 3 and 4 between the rolls 18 and 19 in a heated and pressed state. Thus, a long PTP film 20 in which the tablet 5 is filled in each pocket portion 2 is manufactured.

さて、前記充填装置14の下流側、かつ、前記フィルム受けロール18及び加熱ロール19の上流側には、容器フィルム3の移送経路に沿って、容器フィルム3(充填された錠剤5)の不良を検査するための不良検査装置21が配設されている。当該不良検査装置21は、ポケット部2に充填された錠剤5の割れ、欠け等の表面異常の検出を主目的とする検査を行うものである。   Now, on the downstream side of the filling device 14 and the upstream side of the film receiving roll 18 and the heating roll 19, defects in the container film 3 (filled tablet 5) are detected along the transfer path of the container film 3. A defect inspection device 21 for inspection is provided. The defect inspection apparatus 21 performs an inspection mainly intended to detect surface abnormalities such as cracks and chipping of the tablet 5 filled in the pocket portion 2.

上記検査を経て、容器フィルム3に密封用フィルム4が取着された後、PTPフィルム20は、図示しない打抜装置によってPTPシート1単位に裁断される。なお、不良検査装置21によって不良品判定された場合、その不良品判定となったPTPシートは、図示しない不良シート排出機構によって別途排出される。   After the inspection, after the sealing film 4 is attached to the container film 3, the PTP film 20 is cut into one PTP sheet by a punching device (not shown). In addition, when a defective product is determined by the defect 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の概略は以上のとおりであるが、以下においては図3〜5等に基づき、不良検査装置21についてより具体的に説明する。   Now, the outline of the PTP packaging machine 7 is as described above. Hereinafter, the defect inspection apparatus 21 will be described more specifically based on FIGS.

不良検査装置21は、照明手段としての照明装置22、撮像手段としてのカメラ23、画像処理装置24、モニタ25、及びキーボード26等を備えている。   The defect inspection apparatus 21 includes an illumination device 22 as an illumination unit, a camera 23 as an imaging unit, an image processing device 24, a monitor 25, a keyboard 26, and the like.

まずは、照明装置22について詳細に説明する。本実施形態における照明装置22は、容器フィルム3のポケット部2側に設けられており(図1参照)、面発光が可能となっている。図3に示すように照明装置22は、容器フィルム3に近い側(図の上側)において容器フィルム3と平行に延びる拡散板27を有しているとともに、その内部には、LED実装基板28が設けられている。該LED実装基板28には、第1光源としての第1赤外光LED28a及び第2光源としての第2赤外光LED28bが交互に多数配列されている。そして、両赤外光LED28a、28bが同時に錠剤5及び容器フィルム3に対して光を照射するようになっている。本実施形態では、第1赤外光LED28aは、800nm〜900nmの波長域の赤外光(例えば850nmの赤外光)を照射するようになっている。一方、第2赤外光LED28bは、800nm〜900nm以外の波長域の赤外光(例えば950nmの赤外光)を照射するようになっている。   First, the lighting device 22 will be described in detail. The illuminating device 22 in this embodiment is provided in the pocket part 2 side of the container film 3 (refer FIG. 1), and surface emission is possible. As shown in FIG. 3, the illuminating device 22 has a diffusion plate 27 extending in parallel with the container film 3 on the side close to the container film 3 (upper side in the figure), and an LED mounting substrate 28 is provided in the inside thereof. Is provided. A large number of first infrared LEDs 28 a as first light sources and second infrared LEDs 28 b as second light sources are alternately arranged on the LED mounting substrate 28. And both infrared LED28a, 28b irradiates light with respect to the tablet 5 and the container film 3 simultaneously. In the present embodiment, the first infrared LED 28a emits infrared light in the wavelength range of 800 nm to 900 nm (for example, infrared light of 850 nm). On the other hand, the second infrared LED 28b is configured to irradiate infrared light in a wavelength region other than 800 nm to 900 nm (for example, infrared light of 950 nm).

さらに、前記拡散板27の容器フィルム3側の面には、直接入射光制限手段としての角度透過率制御フィルタ29が取着されている。当該角度透過率制御フィルタ29は、800nm〜900nmの波長域の光に関しては、図4に示すように、少なくとも光源(ここでは第1赤外光LED28a)と、カメラ23のレンズ部中心を結ぶ直線L1上の光を全反射可能に構成されているとともに、前記直線L1に対し、プラスマイナス前記レンズ部の画角θ以内の光を全反射可能に構成されている。換言すれば、角度透過率制御フィルタ29は、第1赤外光LED28aの光に関しては、前記レンズ部の画角θよりも大きな光のみを透過しうるよう構成されている。これにより、第1赤外光LED28aからの赤外光のカメラ23への直接の入射が制限されるようになっている。   Further, an angle transmittance control filter 29 as a direct incident light limiting unit is attached to the surface of the diffusion plate 27 on the container film 3 side. As shown in FIG. 4, the angular transmittance control filter 29 is a straight line connecting at least the light source (here, the first infrared LED 28 a) and the center of the lens unit of the camera 23 with respect to light in the wavelength range of 800 nm to 900 nm. The light on L1 is configured to be totally reflective, and the light within the angle of view θ of the lens unit is configured to be capable of total reflection with respect to the straight line L1. In other words, the angular transmittance control filter 29 is configured to transmit only light larger than the angle of view θ of the lens portion with respect to the light of the first infrared LED 28a. Thereby, the direct incidence of the infrared light from the first infrared LED 28a on the camera 23 is restricted.

その一方で、角度透過率制御フィルタ29は、800nm〜900nmの波長域以外の光(ここでは第2赤外光LED28bの光)に関しては、カメラ23のレンズ部に対する光の照射角度によらず、光の透過を許容するよう構成されている。   On the other hand, the angle transmittance control filter 29 is not related to the light irradiation angle with respect to the lens portion of the camera 23 for light outside the wavelength range of 800 nm to 900 nm (here, the light of the second infrared LED 28b), It is configured to allow light transmission.

さらに、本実施形態では、照明装置22に対して調光手段31が接続されている。該調光手段31は、上記第1赤外光LED28a及び第2赤外光LED28bの光の強さを個別に調節可能に構成されている。当該調光手段31によって、第1赤外光LED28aに対応しては、錠剤5を透過するのに十分な比較的強い光を照射するように調節され、一方、第2赤外光LED28bに対応しては、スミア現象が起きない程度の比較的弱い光を照射するように調節される。尚、第1赤外光LED28からの光のうち、錠剤5に当たった光が錠剤5内部で拡散を繰り返すことで、錠剤5表面が明るくなる。また、各赤外光LED28a、28bの光量は、そのときどきの錠剤の厚み、密度、糖衣の有無、及び容器フィルム3の厚み、材質、色等によってそれぞれ違った値に設定される。   Further, in the present embodiment, the light control means 31 is connected to the illumination device 22. The light control means 31 is configured to be capable of individually adjusting the light intensity of the first infrared light LED 28a and the second infrared light LED 28b. The dimmer 31 adjusts the first infrared light LED 28a so as to emit a relatively strong light sufficient to pass through the tablet 5, while corresponding to the second infrared light LED 28b. Therefore, the light is adjusted so as to emit a relatively weak light that does not cause a smear phenomenon. Of the light from the first infrared LED 28, the light hitting the tablet 5 is repeatedly diffused inside the tablet 5, so that the surface of the tablet 5 becomes bright. The light quantity of each infrared LED 28a, 28b is set to a different value depending on the thickness, density, presence or absence of sugar coating, and the thickness, material, color, etc. of the container film 3 at that time.

また、撮像手段を構成する前記カメラ23は、前記容器フィルム3を介して前記照明装置22とは反対側(図1では上側)に設けられており、照明装置22から照射される光のうち、容器フィルム3及び錠剤5を透過した光を撮像可能となっている。本実施形態では、カメラ23としては、少なくとも赤外光に感度のあるCCDカメラが採用されている。   Further, the camera 23 constituting the imaging means is provided on the opposite side (upper side in FIG. 1) to the illumination device 22 via the container film 3, and among the light irradiated from the illumination device 22, The light transmitted through the container film 3 and the tablet 5 can be imaged. In this embodiment, a CCD camera that is sensitive to at least infrared light is employed as the camera 23.

このように、本実施形態では、第1赤外光LED28a及び第2赤外光LED28bの光が、容器フィルム3及び錠剤5を照らし、そこを透過した光が、カメラ23によって二次元撮像されるように構成されている。そして、カメラ23によって撮像された画像データは、カメラ23内部においてデジタル信号に変換された上で、デジタル信号の形で画像処理装置24に入力されるようになっている。   Thus, in this embodiment, the light of the first infrared light LED 28a and the second infrared light LED 28b illuminates the container film 3 and the tablet 5, and the light transmitted therethrough is two-dimensionally imaged by the camera 23. It is configured as follows. The image data captured by the camera 23 is converted into a digital signal inside the camera 23 and then input to the image processing device 24 in the form of a digital signal.

画像処理装置24は、図5に示すように、カメラ23に対応する画像メモリ41、マスキング手段42、二値化手段43、判定用メモリ44、検査結果及び統計データメモリ45、カメラタイミング制御手段46、並びに、CPU及び入出力インターフェース47などから構成され、後述するような画像データの処理や、錠剤不良の判定(検査)等を実施可能となっている。   As shown in FIG. 5, the image processing device 24 includes an image memory 41 corresponding to the camera 23, a masking unit 42, a binarizing unit 43, a determination memory 44, an inspection result and statistical data memory 45, and a camera timing control unit 46. In addition, it includes a CPU, an input / output interface 47, and the like, and can perform image data processing, tablet defect determination (inspection), and the like as described later.

カメラ23で撮像された二次元イメージデータは、デジタル信号に変換された後、対応する画像メモリ41に記憶される。また、イメージデータは、検査時において、マスキング手段42によりマスキング処理が行われた後、再度画像メモリ41に記憶され、同様に、二値化手段43により二値化された後、再度画像メモリ41に記憶される。   The two-dimensional image data captured by the camera 23 is converted into a digital signal and then stored in the corresponding image memory 41. Further, at the time of inspection, the image data is subjected to masking processing by the masking means 42 and then stored again in the image memory 41. Similarly, after being binarized by the binarizing means 43, the image data 41 again. Is remembered.

CPU及び入出力インターフェース47は、各種処理プログラムを判定用メモリ44の記憶内容などを使用しつつ実行するとともに、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 stored contents of the determination memory 44 and the like, and send control signals to the PTP packaging machine 7 or various signals such as operation signals from the PTP packaging machine 7. Is for sending and receiving. 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 grayscale image data, a defect inspection result, 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.

検査結果及び統計データメモリ45は、イメージデータに関する座標等のデータ、検査結果データ、及び、該検査結果データを確率統計的に処理した統計データなどを記憶するものである。これらの検査結果データや統計データは、CPU及び入出力インターフェース47の制御に基づき、適宜モニタ25に表示させることができる。また、これらの検査結果データや統計データに基づいてCPU及び入出力インターフェース47がPTP包装機7に制御信号を送出することもできる。   The inspection result and statistical data memory 45 stores data such as coordinates relating to image data, inspection result data, statistical data obtained by probabilistically processing the inspection result data, and the like. These inspection result data and statistical data can be appropriately displayed on 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 these inspection result data and statistical data.

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

なお、本実施形態においては、検査に先だって、各ウインドウの設定処理が実行されるようになっている。当該ウインドウは、予め設定される錠剤ウインドウJW及び錠剤形状ウインドウKWからなる。図8に示すように、錠剤ウインドウJWは、ポケット部2内の領域(ポケット部領域)と、ポケット部2外のシート部の領域(シート部領域)とを区別するための境界とされるものである。当該錠剤ウインドウJWは、良品サンプル及び各種データに基づき事前に設定されるものであって、ポケット部2の円と同心円をなし(ポケット部2が円形である場合)、かつ、径が一回り(例えば直径が1mm)大きい。そして、検査に際しては、例えば、図8(b)に示すように、各検査画像データに関し、錠剤ウインドウJWが設定された上で、ポケット部2内の領域について、錠剤の異常が検出される(ポケット部2外の領域(同図網目模様を付した領域)についてはマスキングが施される)ようになっている。   In the present embodiment, the setting process for each window is executed prior to the inspection. The window includes a tablet window JW and a tablet shape window KW that are set in advance. As shown in FIG. 8, the tablet window JW is a boundary for distinguishing between an area in the pocket part 2 (pocket part area) and an area of the sheet part outside the pocket part 2 (sheet part area). It is. The tablet window JW is set in advance based on the non-defective sample and various data, and is concentric with the circle of the pocket portion 2 (when the pocket portion 2 is circular) and has a diameter once ( For example, the diameter is 1 mm) larger. Then, at the time of inspection, for example, as shown in FIG. 8 (b), the tablet window JW is set for each inspection image data, and the abnormality of the tablet is detected in the region in the pocket portion 2 ( The area outside the pocket portion 2 (the area with a mesh pattern in the figure) is masked).

また、図9に示すように、錠剤形状ウインドウKWは、錠剤5の形状が適正であるかを検査する際に用いられるものであって、事前に設定されるものである。錠剤形状ウインドウKWは、錠剤5の大きさよりも一回り小さい内側形状ウインドウKW1と、錠剤5の大きさよりも一回り大きい外側形状ウインドウKW2とからなる。   Moreover, as shown in FIG. 9, the tablet shape window KW is used when inspecting whether the shape of the tablet 5 is appropriate, and is set in advance. The tablet-shaped window KW includes an inner-shaped window KW1 that is slightly smaller than the size of the tablet 5 and an outer-shaped window KW2 that is slightly larger than the size of the tablet 5.

次に、上記不良検査(錠剤検査)の手順について図6のフローチャート等に従って説明する。   Next, the procedure of the defect inspection (tablet inspection) will be described according to the flowchart of FIG.

同図に示すように、「検査ルーチン」において、まずステップS101では、検査用の濃淡画像を取得する。次に、ステップS102においては、取得した画像につきシェーディング補正を行い、続くステップS103においては、所定の閾値に基づき2値化処理を行い、錠剤2値化画像A,Bを得る。ここで、図7及び図10に基づいて当該2値化処理について説明する。図7において、(a)は、チッピング(欠け)Tが生じ、かつ、中央に割線PLを有し、かつ、「C」字状の刻印KMの付された錠剤5を模式的に示す平面図であり、(b)は、(a)のJ−J線断面図であり、(c)はJ−J線に沿った画像信号(明度)曲線を示すグラフである。錠剤5は、欠け等が生じて薄肉となっている部位ほど光を通しやすい。そのため、薄肉部位ほど画像が明るくなる傾向にある。本実施形態における2値化処理に際しては、まず、第1の閾値δ1以下の2値化画像A(図10(a)参照)を得る。当該画像Aにおいては、チッピングTや割線PLを除いた正常な錠剤部位が暗いものとなる。また、これとともに、第2の閾値δ2以下の2値化画像Bを得る。当該画像Bにおいては、チッピングT、割線PLに加えて、刻印KM部分を除いた正常な錠剤部位が暗いものとなる。尚、第1の閾値δ1及び第2の閾値δ2は、そのときどきの錠剤の厚み、密度、糖衣の有無等によってそれぞれ違った値に設定される。   As shown in the figure, in the “inspection routine”, first, in step S101, a gray image for inspection is acquired. Next, in step S102, shading correction is performed on the acquired image, and in the subsequent step S103, binarization processing is performed based on a predetermined threshold value to obtain tablet binarized images A and B. Here, the binarization process will be described with reference to FIGS. 7 and 10. In FIG. 7, (a) is a plan view schematically showing a tablet 5 in which chipping (chip) T occurs, a dividing line PL is provided at the center, and a “C” -shaped engraving KM is attached. (B) is a sectional view taken along line JJ of (a), and (c) is a graph showing an image signal (lightness) curve along the line JJ. The portion of the tablet 5 that is thin due to chipping or the like is easier to transmit light. For this reason, the thinner the portion, the brighter the image. In the binarization process in the present embodiment, first, a binarized image A (see FIG. 10A) having a first threshold value δ1 or less is obtained. In the image A, the normal tablet portion excluding the chipping T and the secant PL is dark. At the same time, a binarized image B having a second threshold value δ2 or less is obtained. In the image B, in addition to the chipping T and the secant line PL, the normal tablet portion excluding the marking KM portion is dark. The first threshold value δ1 and the second threshold value δ2 are set to different values depending on the tablet thickness, density, presence or absence of sugar coating, etc. at that time.

その後、ステップS104において、塊処理を行う。より詳しくは、上記2値化画像Aを塊処理した結果Cと、2値化画像Bを塊処理した結果Dとを得る。   Thereafter, in step S104, lump processing is performed. More specifically, the result C of the binarized image A obtained by the lump processing and the result D of the binarized image B obtained by the lump processing are obtained.

次に、ステップS105において、予め設定した前記錠剤ウインドウJWを用いて、ポケット部領域を特定するとともに、各ポケット部領域において、面積値が基準錠剤面積Lo以上の塊を抽出する(Lo未満の塊を除去する)。その後、ステップS106では、各ポケット部領域毎の塊個数が「1」であるか否かを判定し、否定判定された場合には、後述するステップS110へ移行する。   Next, in step S105, using the tablet window JW set in advance, the pocket portion area is specified, and in each pocket portion area, a lump whose area value is greater than or equal to the reference tablet area Lo is extracted (a lump less than Lo). Removed). Thereafter, in step S106, it is determined whether or not the number of chunks for each pocket area is “1”. If a negative determination is made, the process proceeds to step S110 described later.

これに対し、各ポケット部領域毎の塊個数が「1」である場合には、ステップS107において、前記錠剤形状ウインドウKWを用いて、錠剤5の形状が良好(適正)であるか否かを判断する。より詳しくは、前述した錠剤5の塊データより錠剤5の重心を求め、当該重心を同心とするようにして、予め設定された錠剤形状ウインドウKW(内側形状ウインドウKW1及び外側形状ウインドウKW2)を同時に配置し、両ウインドウKW1,KW2間から錠剤5の外形線が逸脱するか否かを判断する。そして、両ウインドウKW1,KW2間から錠剤5の外形線が逸脱する場合に、錠剤5の形状が異常であるものとして、ステップS109へ移行し、そこで、錠剤5に関し不良判定し、その後の処理を一旦終了する。   On the other hand, if the number of lumps for each pocket area is “1”, it is determined in step S107 whether or not the shape of the tablet 5 is good (appropriate) using the tablet shape window KW. to decide. More specifically, the center of gravity of the tablet 5 is obtained from the mass data of the tablet 5, and the tablet shape windows KW (the inner shape window KW1 and the outer shape window KW2) set in advance are set simultaneously so that the center of gravity is concentric. It arranges and it is judged whether the outline of tablet 5 deviates from between both windows KW1 and KW2. Then, when the outline of the tablet 5 deviates from between the two windows KW1, KW2, it is determined that the shape of the tablet 5 is abnormal, and the process proceeds to step S109. Exit once.

また、前記ステップS107で肯定判定された場合には、ステップS108へ移行し、錠剤5に関し、良品判定を行い、その後の処理を一旦終了する。   If the determination in step S107 is affirmative, the process proceeds to step S108, the non-defective product is determined for the tablet 5, and the subsequent processing is temporarily ended.

さて、前記ステップS106において、否定判定された場合には、ステップS110へ移行する。ステップS110においては、今回の検査ルーチンにおいて、「割線あり」の設定がなされているか否かを判定するとともに、塊個数が「2」であるか否かを判定する。そして、「割線あり」の設定がなされており、かつ、塊個数が「2」である場合に限り、ステップS111へ移行し、割線部マスク処理を行った上で、ステップS107の錠剤形状が良好か否かを判定する。   If a negative determination is made in step S106, the process proceeds to step S110. In step S110, it is determined whether or not “with secant” is set in the current inspection routine, and whether or not the number of chunks is “2”. And only when the setting of “with dividing line” is made and the number of lumps is “2”, the process proceeds to step S111, and the tablet shape of step S107 is good after performing the dividing line mask process. It is determined whether or not.

ここで、割線部マスク処理について図11に基づき説明すると、2つの塊のそれぞれの重心位置M1,M2を求め、当該重心位置M1,M2を通る線分αの中心点C1を得る。そして、当該中心点C1を通り、かつ、前記線分αに直交する線分(直線)γを求め、当該線分γにプラスマイナスβの幅を持たせた帯状領域を、割線PLとみなしてマスク部として設定する。当該マスク処理されることで、次のステップS107においては、割線部の影響を除外した上での形状検査が可能となる。   Here, the dividing line mask process will be described with reference to FIG. 11. The center-of-gravity positions M1 and M2 of the two blocks are obtained, and the center point C1 of the line segment α passing through the center-of-gravity positions M1 and M2 is obtained. Then, a line segment (straight line) γ that passes through the center point C1 and is orthogonal to the line segment α is obtained, and a band-like region in which the line segment γ has a width of plus or minus β is regarded as a dividing line PL. Set as mask part. By performing the mask process, in the next step S107, the shape inspection can be performed after the influence of the dividing line portion is excluded.

一方、前記ステップS110において、「割線あり」の設定がなされていないと判定されるか、又は、塊個数が「2」でもないと判定された場合には、ステップS109へ移行し、錠剤5に関し不良判定を行い、その後の処理を一旦終了する。   On the other hand, if it is determined in step S110 that the setting of “with dividing line” is not made, or if it is determined that the number of lumps is not “2”, the process proceeds to step S109, and the tablet 5 is related. Defect determination is performed, and the subsequent processing is temporarily ended.

以上詳述したように、本実施形態によれば、照明装置22の第1赤外LED28a及び第2赤外LED28bからは、錠剤5及び容器フィルム3に対し、赤外光が照射され、反対側に設けられたカメラ23により、錠剤5及び容器フィルム3を透過する透過光が撮像される。そして、画像処理装置24では、画像信号から得た画像データに基づき、錠剤5の欠け等の表面異常が検出される。このため、反射光を用いて検査を行う場合と異なり、錠剤表面の照度斑が大きくなる等の懸念の必要がない。   As described in detail above, according to the present embodiment, infrared light is irradiated to the tablet 5 and the container film 3 from the first infrared LED 28a and the second infrared LED 28b of the illumination device 22, and the opposite side. The transmitted light that passes through the tablet 5 and the container film 3 is picked up by the camera 23 provided in. Then, the image processing device 24 detects surface abnormality such as chipping of the tablet 5 based on the image data obtained from the image signal. For this reason, unlike the case where the inspection is performed using the reflected light, there is no need to worry that the illuminance unevenness on the tablet surface becomes large.

また、一方で、本実施形態の如くカメラ23にて透過光が撮像される構成とした場合、錠剤5の存在する領域と、存在しない背景領域との輝度差(明度差)が著しく大きくなってしまうことが懸念される。この点、本実施形態では、角度透過率制御フィルタ29を設けることとしており、当該角度透過率制御フィルタ29によって、錠剤5を透過するのに十分な比較的強い光である第1赤外光LED28aからの光のうち、容器フィルム3越しにカメラ23に直接入射する光が除去又は減光させられる。   On the other hand, when the transmitted light is imaged by the camera 23 as in the present embodiment, the luminance difference (brightness difference) between the area where the tablet 5 exists and the background area where the tablet 5 does not exist becomes significantly large. There is a concern that In this regard, in the present embodiment, the angular transmittance control filter 29 is provided, and the first infrared LED 28a that is relatively strong light sufficient to pass through the tablet 5 by the angular transmittance control filter 29. The light directly incident on the camera 23 through the container film 3 is removed or attenuated.

より詳しくは、第1赤外光LED28aと、カメラ23のレンズ部中心を結ぶ直線L1上の光、並びに、直線L1に対しレンズ部の画角θ以内の光が、全反射されるよう構成されている。これにより、第1赤外光LED28aからの赤外光のカメラ23への直接の入射が制限されることとなり、カメラ23に入射される光が強すぎることに起因する不具合、例えばスミア現象を防止することができ、錠剤5の領域を的確に特定することができる。結果として、正確な検査を実現でき、異常検出精度の向上を図ることができる。   More specifically, the light on the straight line L1 connecting the first infrared LED 28a and the center of the lens part of the camera 23 and the light within the angle of view θ of the lens part with respect to the straight line L1 are totally reflected. ing. As a result, the direct incidence of infrared light from the first infrared LED 28a on the camera 23 is limited, thereby preventing problems caused by excessively incident light on the camera 23, such as smearing. The region of the tablet 5 can be accurately specified. As a result, accurate inspection can be realized, and abnormality detection accuracy can be improved.

また、例えば、図12(a),(b)に示すような錠剤5及び容器フィルム3に対して、第1赤外光LED28aの光だけを照射する場合、図12(c)に示すように、錠剤5の存在する領域は明るく、錠剤5の存在しない背景領域は暗くなる。しかしながら、第1赤外光LED28aの光のうち、ポケット部2のエッジ部2a(容器フィルム3表面とポケット部2の底部2bとを連結する部位)を透過する光に関しては、当該エッジ部2aを透過する際にカメラ23のレンズ部に直接入射する方向に屈折してしまうおそれがある。そして、当該屈折に起因して、背景領域のうちエッジ部2aに対応する部分が明るくなってしまう(図12(c)参照)。このため、例えば錠剤5がエッジ部2aに寄ってしまっていると、図12(d)に示すように、δ3を閾値とした2値化後の画像だけでは錠剤5とエッジ部2aとの境界を認識することができず、エッジ部2aの領域についても錠剤5の存在する領域であると認定してしまうおそれがある。このため、錠剤5とエッジ部2aとを区別して錠剤5の存在する領域を特定するための処理を別途行う必要があり、この場合、処理の複雑化を招くおそれがある。   Further, for example, when only the light of the first infrared LED 28a is irradiated on the tablet 5 and the container film 3 as shown in FIGS. 12A and 12B, as shown in FIG. The area where the tablet 5 is present is bright and the background area where the tablet 5 is absent is dark. However, of the light from the first infrared LED 28a, the light passing through the edge 2a of the pocket 2 (the portion connecting the surface of the container film 3 and the bottom 2b of the pocket 2) is transmitted through the edge 2a. There is a possibility that the light will be refracted in the direction of direct incidence to the lens portion of the camera 23 during transmission. Then, due to the refraction, the portion corresponding to the edge portion 2a in the background region becomes bright (see FIG. 12C). For this reason, for example, if the tablet 5 has approached the edge portion 2a, as shown in FIG. 12D, the boundary between the tablet 5 and the edge portion 2a is obtained only with the binarized image using δ3 as a threshold value. Cannot be recognized, and the area of the edge portion 2a may be recognized as an area where the tablet 5 exists. For this reason, it is necessary to separately perform processing for distinguishing between the tablet 5 and the edge portion 2a and specifying the region where the tablet 5 exists, and in this case, there is a possibility that the processing becomes complicated.

この点、本実施形態では、第2赤外光LED28bからの光を照射することとしており、これにより、容器フィルム3越しにカメラ23のレンズ部への光の直接入射が許容される。このため、錠剤5の存在しない背景領域については、錠剤5の存在する領域よりも確実に明るくなる。すなわち、前記エッジ部2aをも含む錠剤5の存在しない背景領域と、錠剤5の存在する領域との明度差が明確に表れ、これによって錠剤5と背景領域とを確実に区別することができる。従って、錠剤5の領域を特定するために、エッジ部2aと錠剤5とを区別するための処理を別途行わなくとも済み、処理の複雑化を招くといったおそれを抑制することができる。結果として、スミア現象を防止しつつ、検査に際しての処理の複雑化を招くことなく、異常検出精度の向上を図ることができる。加えて、第2赤外光LED28bは、スミア現象が起きない程度の錠剤5を透過しない比較的弱い光を照射するよう構成されているため、スミア現象を確実に防止することができる。尚、図12では、錠剤5のチッピングT、割線PLに加えて、刻印KM部分を省略している。   In this regard, in the present embodiment, the light from the second infrared LED 28b is irradiated, and this allows light to be directly incident on the lens portion of the camera 23 through the container film 3. For this reason, the background area where the tablet 5 does not exist is surely brighter than the area where the tablet 5 exists. That is, the brightness difference between the background area where the tablet 5 including the edge portion 2a does not exist and the area where the tablet 5 exists clearly appears, whereby the tablet 5 and the background area can be reliably distinguished. Therefore, it is not necessary to separately perform processing for distinguishing the edge portion 2a from the tablet 5 in order to specify the region of the tablet 5, and the risk of complicating the processing can be suppressed. As a result, it is possible to improve the abnormality detection accuracy while preventing the smear phenomenon and without complicating the processing during the inspection. In addition, since the second infrared LED 28b is configured to emit relatively weak light that does not pass through the tablet 5 to such an extent that the smear phenomenon does not occur, the smear phenomenon can be reliably prevented. In FIG. 12, in addition to the chipping T and secant PL of the tablet 5, the marking KM portion is omitted.

また、本実施形態では、第1及び第2赤外光LED28a、28bが同時に光を照射する構成のため、カメラ23は、両赤外光LED28a、28bから同時にされた光に基づく撮像を行うこととなる。これにより、カメラ23による1回の撮像に基づく画像データに基づいて異常を検出することができる。このため、例えば、第1赤外光LED28aから光を照射したときと第2赤外光LED28bから光を照射したときとで別々に撮影するといったような手間を省略することができる。また、第1赤外光LED28aだけを照射したときの画像データと、第2赤外光LED28bの光だけを照射したときの画像データとを後で組合わせる(重ね合わせる)等の処理を行わなくとも済み、処理の複雑化を回避することができる。さらに、上記のように、後で画像データを組合わせる場合には、両画像データを組合わせる際にずれが生じたり、該ずれを補正するための別処理を行う必要が生じたりする不具合が懸念されるが、本実施形態の構成を採用することで、上記不具合を回避することができる。結果として、検査に際しての処理の複雑化を招くことなく、異常検出を精度よく行うことができるといった効果がより確実に奏される。   In the present embodiment, since the first and second infrared LEDs 28a and 28b emit light at the same time, the camera 23 performs imaging based on the lights simultaneously from both the infrared LEDs 28a and 28b. It becomes. Thereby, abnormality can be detected based on the image data based on one imaging by the camera 23. For this reason, for example, it is possible to omit the trouble of separately photographing when irradiating light from the first infrared light LED 28a and when irradiating light from the second infrared light LED 28b. Further, the image data when only the first infrared LED 28a is irradiated and the image data when only the second infrared LED 28b is irradiated are not subjected to processing such as later combining (superimposing). It is possible to avoid complicated processing. Furthermore, as described above, when image data are combined later, there is a concern that there may be a deviation when combining both image data, or that it is necessary to perform another process for correcting the deviation. However, the above-described problem can be avoided by adopting the configuration of the present embodiment. As a result, the effect that the abnormality can be accurately detected without complicating the processing at the time of inspection is more reliably achieved.

加えて、調光手段31を備えることで、第1赤外光LED28aの光の強さと第2赤外光LED28bの光の強さとをそれぞれ個別に調節することができる。このため、検査対象(錠剤5)や包装用フィルム3を変更する場合にも的確に対処することができる。   In addition, by providing the light control means 31, the light intensity of the first infrared LED 28a and the light intensity of the second infrared LED 28b can be individually adjusted. For this reason, it is possible to accurately cope with the case where the inspection object (tablet 5) or the packaging film 3 is changed.

また、錠剤5が割線PLを有しているような場合、当該割線PL部分は他の錠剤5部位に比べて薄肉であり、光をより透過させやすい。そのため、錠剤5の欠け等と誤って判断されることが懸念される。この点、本実施形態では、錠剤5が割線PLを具備しているか否かによって、錠剤5の表面異常検出のアルゴリズムが異なっている(ステップS106,107等参照)。すなわち、割線PLを有している場合であっても、当該割線PLにマスク処理を施したり(ステップS111)、判断すべき塊個数を異ならせたりする(ステップS110)ことで、割線PLがない場合と同様の的確な検査を実施できる。そのため、多種態様の態様を有する錠剤5に応じた適正な検査を行うことが可能となる。   Moreover, when the tablet 5 has the dividing line PL, the said dividing line PL part is thin compared with the other 5 tablet part, and it is easy to permeate | transmit light more. Therefore, there is a concern that it may be erroneously determined that the tablet 5 is missing. In this regard, in the present embodiment, the algorithm for detecting the surface abnormality of the tablet 5 differs depending on whether or not the tablet 5 has the secant PL (see steps S106, 107, etc.). That is, even when the dividing line PL is provided, the dividing line PL is masked (step S111), or the number of blocks to be determined is changed (step S110), so that there is no dividing line PL. Exact inspection similar to the case can be performed. Therefore, it is possible to perform an appropriate inspection according to the tablet 5 having various aspects.

さらに、照射装置22は拡散板27を具備しており、第1赤外光LED28a及び第2赤外光LED28bからの光が拡散板27によって拡散させられる。このため、光の均一化が図られ、好適な面発光を実現しやすい。また、第1赤外光LED28aからの直接光がカメラ23にて撮像されるという不具合をより一層防止することができる。結果として、検査精度の一層の向上を図ることができる。   Further, the irradiation device 22 includes a diffusion plate 27, and the light from the first infrared light LED 28 a and the second infrared light LED 28 b is diffused by the diffusion plate 27. For this reason, the light is made uniform, and it is easy to realize suitable surface light emission. Moreover, the malfunction that the direct light from 1st infrared light LED28a is imaged with the camera 23 can be prevented further. As a result, the inspection accuracy can be further improved.

その上、直接入射光を制限するための手段が角度透過率制御フィルタ29によって構成され、それが拡散板27に取着されているため、照明装置22としてのユニット化、コンパクト化を図ることができ、装置全体が嵩張ったものとなるのを抑制できる。   In addition, since the means for limiting the direct incident light is constituted by the angle transmittance control filter 29 and is attached to the diffusion plate 27, it is possible to achieve unitization and compactness as the illumination device 22. It can suppress that the whole apparatus becomes bulky.

また、本実施形態では、赤外光を照射可能な光源(第1及び第2赤外光LED28a、28b)を採用している。ここで、赤外光は、可視光に比べて錠剤5等の透過率が高いため、より精度の高い検査が可能となる。しかも、錠剤5等として着色の施されたものが採用されたり、容器フィルム3として着色フィルムが採用されたりする場合があるが、このような場合でも、着色による減光要素を無視しやすいというメリットがある。   Moreover, in this embodiment, the light source (1st and 2nd infrared-light LED28a, 28b) which can irradiate infrared light is employ | adopted. Here, since infrared light has a higher transmittance of the tablet 5 or the like than visible light, a more accurate inspection can be performed. In addition, a colored product may be used as the tablet 5 or the like, or a colored film may be used as the container film 3. Even in such a case, it is easy to ignore the dimming element due to coloring. There is.

以上説明した実施形態において、例えば、次のように構成の一部を適宜変更して実施することも可能である。勿論、以下において例示しない他の変更例も当然可能である。   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)上記実施形態では、ポケット部2に収容される錠剤5として口腔内崩壊錠を例示するとともに、当該錠剤5の欠け等の有無を検査する場合に具体化している。これに対し、錠剤5に代えて、或いは加えて、カプセルの空異常の有無について検査する場合に具体化することも可能である。   (A) In the above embodiment, an orally disintegrating tablet is exemplified as the tablet 5 accommodated in the pocket portion 2, and the tablet 5 is embodied when the presence or absence of a chip or the like of the tablet 5 is inspected. On the other hand, instead of or in addition to the tablet 5, it is also possible to embody when inspecting for the presence or absence of an empty capsule.

図13は、ポケット部2に収容される対象として、カプセル5A(図14参照)が採用され、当該カプセル5Aに内容物が正しく充填されているか否か(空異常でないかどうか)を検査するための「検査ルーチン」を示すフローチャートである。当該フローチャートに従って説明すると、まずステップS201では、検査用の濃淡画像を取得し、次のステップS202においては、取得した画像につきシェーディング補正を行い、続くステップS203においては、所定の閾値に基づき2値化処理を行い、2値化画像Aを得る。ここで、図14に基づいて当該2値化処理について説明する。同図において、(a)は、カプセル5Aを示す平面模式図であり、(b)は、カプセル5Aを示す(a)のK−K線断面図であって、左側が正常なカプセル5Aを、右側は空のカプセル5Aを示す図であり、(c)はそれぞれについてのK−K線に沿った画像信号(明度)曲線を示すグラフである。カプセル5Aは、内容物(薬剤)が充填されていなければ光を通しやすく、充填されていれば光を通しにくい。そのため、空のカプセル5Aであれば画像が明るくなる傾向にある。この点に鑑み、本実施形態における2値化処理に際しては、第1の閾値δ1以下の2値化画像Aを得る。当該画像Aにおいては、内容物が正しく充填されているカプセル5Aであれば当該カプセル5A部位が暗いものとなり、空のカプセル5Aであれば明るいものとなる。   In FIG. 13, a capsule 5A (see FIG. 14) is adopted as an object to be accommodated in the pocket portion 2, and it is inspected whether or not the content is correctly filled in the capsule 5A (whether there is no empty abnormality). 5 is a flowchart showing an “inspection routine”. Explaining in accordance with the flowchart, first, in step S201, a gray image for inspection is acquired, and in the next step S202, shading correction is performed on the acquired image, and in the subsequent step S203, binarization is performed based on a predetermined threshold value. Processing is performed to obtain a binary image A. Here, the binarization process will be described with reference to FIG. In the figure, (a) is a schematic plan view showing the capsule 5A, (b) is a sectional view taken along the line KK of (a) showing the capsule 5A, and the capsule 5A on the left side is normal. The right side is a diagram showing an empty capsule 5A, and (c) is a graph showing an image signal (lightness) curve along the line KK for each. The capsule 5A is easy to transmit light if it is not filled with the contents (medicine), and difficult to transmit light if it is filled. Therefore, if the capsule 5A is empty, the image tends to become brighter. In view of this point, in the binarization process in the present embodiment, a binarized image A having a first threshold value δ1 or less is obtained. In the image A, the capsule 5A portion is dark when the capsule 5A is properly filled with the contents, and the capsule 5A is bright when the capsule 5A is empty.

その後、ステップS204において、塊処理を行う。より詳しくは、上記2値化画像Aを塊処理した結果Cを得る。   Thereafter, in step S204, a lump process is performed. More specifically, a result C obtained by performing the lump processing on the binarized image A is obtained.

次に、ステップS205において、前記結果Cについて、予め設定した前記錠剤ウインドウJWを用いて、ポケット部領域を特定するとともに、各ポケット部領域において、面積値が基準錠剤面積Lo以上の塊を抽出する(Lo未満の塊を除去する)。その後、ステップS206では、各ポケット部領域毎の塊個数が「1」であるか否かを判定し、肯定判定された場合には、ステップS207へ移行し、カプセル5Aに関し、良品判定を行い、その後の処理を一旦終了する。一方、ステップS206で否定判定された場合には、ステップS208において空異常として不良判定を行い、その後の処理を一旦終了する。   Next, in step S205, for the result C, the pocket region is specified using the tablet window JW set in advance, and a lump whose area value is equal to or larger than the reference tablet area Lo is extracted in each pocket region. (Removes lumps less than Lo). After that, in step S206, it is determined whether or not the number of lumps for each pocket area is “1”. If an affirmative determination is made, the process proceeds to step S207 to perform non-defective determination regarding the capsule 5A. The subsequent processing is temporarily terminated. On the other hand, if a negative determination is made in step S206, a failure determination is made as an empty abnormality in step S208, and the subsequent processing is temporarily terminated.

(b)上記実施形態では、照明装置22に対して角度透過率制御フィルタ29が設けられているが、該角度透過率制御フィルタ29を省略することも可能である。以下、角度透過率制御フィルタ29を省略する場合の態様例を、上記実施形態とは異なる構成を中心に、図15を参照しつつ説明する。なお、図15は、カメラ23と、錠剤5と、第1及び第2赤外光LED28a、28bとの位置関係等を模式的に説明するための説明図である。   (B) In the above-described embodiment, the angle transmittance control filter 29 is provided for the lighting device 22, but the angle transmittance control filter 29 may be omitted. Hereinafter, an example of a case in which the angle transmittance control filter 29 is omitted will be described with reference to FIG. 15 with a focus on a configuration different from the above embodiment. FIG. 15 is an explanatory diagram for schematically explaining the positional relationship between the camera 23, the tablet 5, and the first and second infrared LEDs 28a and 28b.

さて、上記実施形態と同様に、照明装置22は、第1及び第2赤外光LED28a、28bを備えるのであるが、その配置構成等が上記実施形態とは異なっている。まず、第2赤外光LED28bについて説明すると、当該第2赤外光LED28bは、カメラ23の撮像範囲(カメラ23のレンズ画角範囲)内に配設されている。これにより、容器フィルム3越しにカメラ23のレンズ部への光の直接入射が許容される。   As in the above embodiment, the illumination device 22 includes the first and second infrared LEDs 28a and 28b, but the arrangement and the like thereof are different from those in the above embodiment. First, the second infrared light LED 28b will be described. The second infrared light LED 28b is disposed within the imaging range of the camera 23 (the lens field angle range of the camera 23). Thereby, direct incidence of light to the lens portion of the camera 23 through the container film 3 is allowed.

次に、第1赤外光LED28aについて説明すると、当該第1赤外光LED28aは、カメラ23のレンズ画角範囲外に配設されている。このように、カメラ23の撮影範囲に第1赤外光LED28aが存在しないため、第1赤外光LED28aからの光のうちカメラ23のレンズ部に直接入射するような光は撮像されずに、カメラ23のレンズ画角範囲内に存在する錠剤5を透過した光のみがカメラ23に撮像されることとなる。このため、錠剤5を透過するのに十分な比較的強い光がカメラ23のレンズ部に直接入射することに起因するスミア現象を防止することができる。   Next, the first infrared light LED 28 a will be described. The first infrared light LED 28 a is disposed outside the lens field angle range of the camera 23. Thus, since the first infrared LED 28a does not exist in the shooting range of the camera 23, light that directly enters the lens unit of the camera 23 out of the light from the first infrared LED 28a is not imaged. Only the light transmitted through the tablet 5 existing within the lens angle of view range of the camera 23 is imaged by the camera 23. For this reason, it is possible to prevent a smear phenomenon caused by the fact that relatively strong light sufficient to pass through the tablet 5 is directly incident on the lens portion of the camera 23.

また、第1赤外光LED28aについては指向性のある光を照射するようになっており、さらに、カメラ23の撮像に際しては、当該第1光源からの光が容器フィルム3越しに錠剤5にのみ当たるようになっている。つまり、第1赤外光LED28aは、容器フィルム3越しに錠剤5に当たるような光だけを照射している。このため、第1赤外光LED28aからの比較的強い光が、カメラ23のレンズ部に直接入射してしまうといった不具合をより確実に防止することができる。   Further, the first infrared LED 28a is adapted to irradiate directional light. Furthermore, when the camera 23 takes an image, the light from the first light source passes only through the container film 3 to the tablet 5 only. It has come to hit. In other words, the first infrared LED 28 a emits only light that strikes the tablet 5 through the container film 3. For this reason, the problem that the comparatively strong light from the 1st infrared LED28a directly injects into the lens part of the camera 23 can be prevented more reliably.

以上のような構成を採用することでも、スミア現象を防止しつつ、検査に際しての処理の複雑化を招くことなく、異常検査精度の向上を図ることができ、上記実施形態と同様の作用効果が奏される。なお、第1赤外光LED28aに関しては、レンズ画角範囲外に配設する構成、及び光に指向性を持たせ、その光を錠剤5に(のみ)当てるようにする構成のうちいずれか一方の構成を採用するだけでも十分に上記効果が奏される。   Even by adopting the configuration as described above, it is possible to improve the abnormality inspection accuracy without incurring the complexity of the processing at the time of inspection while preventing the smear phenomenon, and the same effect as the above embodiment can be obtained. Played. As for the first infrared LED 28a, one of a configuration in which the first infrared LED 28a is disposed outside the lens angle of view and a configuration in which the light has directivity and the light is applied to the tablet 5 (only). The above-described effect can be sufficiently achieved by simply adopting the configuration.

(c)また、上記(b)においては、第1赤外光LED28aが指向性のある光を照射可能に構成されている。かかる構成の態様例としては、第1赤外光LED28aが、レーザ光に代表されるような広がることなく一方向へ進む光を照射可能に構成してもよいし、例えば、図16に示すように、第1赤外光LED28aからの光のうち容器フィルム3越しにカメラ23のレンズ部に直接入射する光を遮る遮光手段(遮光板)51を設けることで、第1赤外光LED28aからの光が指向性を有するよう構成してもよい。すなわち、第1赤外光LED28a自体が指向性を有する光を照射可能に構成してもよいし、第1赤外光LED28aから照射される光が結果的に指向性を有するよう構成してもよい。どちらの構成を採用するにしても、第1赤外光LED28aからの光がカメラ23のレンズ部に直接入射することによる不具合を回避することができる。   (C) Moreover, in said (b), it is comprised so that the 1st infrared light LED28a can irradiate directional light. As an example of such a configuration, the first infrared LED 28a may be configured to be capable of irradiating light traveling in one direction without spreading as typified by laser light. For example, as shown in FIG. In addition, by providing a light shielding means (light shielding plate) 51 for shielding light directly incident on the lens portion of the camera 23 through the container film 3 out of the light from the first infrared light LED 28a, the light from the first infrared light LED 28a is provided. You may comprise so that light may have directivity. That is, the first infrared light LED 28a itself may be configured to be able to irradiate light having directivity, or the light irradiated from the first infrared light LED 28a may be configured to have directivity as a result. Good. Whichever configuration is employed, it is possible to avoid a problem caused by the light from the first infrared LED 28a being directly incident on the lens portion of the camera 23.

(d)上記実施形態では、特に言及しなかったが、画像B及び結果Dを利用して、刻印KM部分の検査を行うこととしてもよい。かかる検査を行うことで、スティッキング等の異常を検出することも可能である。尚、刻印等の検査を行わないのであれば、2値化処理(ステップS103)における画像Bを得る処理、及び、塊処理(ステップS104)における結果Dを得る処理を省略することとしてもよい。   (D) Although not specifically mentioned in the above embodiment, the image B and the result D may be used to inspect the marking KM portion. By performing such inspection, it is possible to detect abnormalities such as sticking. If inspection such as marking is not performed, the process of obtaining the image B in the binarization process (step S103) and the process of obtaining the result D in the block process (step S104) may be omitted.

(e)上記実施形態では、光源として赤外光を照射可能な第1赤外光LED28a及び第2赤外光LED28bを採用しているが、可視光(例えば赤色光、青色光、白色光等)を照射可能な光源を採用することとしてもよい。   (E) In the above embodiment, the first infrared light LED 28a and the second infrared light LED 28b that can irradiate infrared light as the light source are employed, but visible light (for example, red light, blue light, white light, etc.) ) May be used.

(f)上記実施形態では、ポケット部2側に照明装置22を設け、それと反対側にカメラ23を設けることとしているが、両者の配置関係を逆にしてもよい。この場合、作業者の眼に優しい検査を実現できる等のメリットが奏される。勿論、両者の配置関係を逆にした照明装置及びカメラの組み合わせを併設して、両面側にて検査を行うこととしてもよい。   (F) In the above embodiment, the illumination device 22 is provided on the pocket portion 2 side and the camera 23 is provided on the opposite side, but the arrangement relationship between them may be reversed. In this case, there are advantages such as being able to realize an inspection that is kind to the eyes of the operator. Of course, it is also possible to perform inspection on both sides by providing a combination of a lighting device and a camera in which the arrangement relationship between them is reversed.

(g)上記実施形態では、各ウインドウはいずれも円形状をなしているが、当該ウインドウは錠剤の形状等に応じて適宜設定できるものであって、必ずしも円形状に限定されるものではない。   (G) In the above embodiment, each window has a circular shape, but the window can be appropriately set according to the shape of the tablet and the like, and is not necessarily limited to the circular shape.

(h)上記実施形態における第1赤外光LED28a及び第2赤外光LED28bの光の波長は特に限定されるものではない。ただし、第1赤外光LED28aの光の波長を変更する場合、角度透過率制御フィルタ29によって、第1赤外光LED28aと角度透過率制御フィルタ29とを結ぶ直線上の光、並びに、直線に対しレンズ部の画角θ以内の光を全反射し得るような角度透過率制御フィルタ29を選択する。また、第2赤外光LED28bの光の波長を、上記実施形態における第1赤外光LED28aの光の波長域(800nm〜900nm)よりも下に設定する場合には、700nm以下の可視光とするのが望ましい。   (H) The wavelength of light of the first infrared LED 28a and the second infrared LED 28b in the above embodiment is not particularly limited. However, when the wavelength of the light of the first infrared light LED 28a is changed, the light on the straight line connecting the first infrared light LED 28a and the angular transmittance control filter 29 by the angular transmittance control filter 29, and the straight line On the other hand, the angle transmittance control filter 29 that can totally reflect light within the angle of view θ of the lens unit is selected. Further, when the wavelength of the light of the second infrared LED 28b is set to be lower than the wavelength range (800 nm to 900 nm) of the light of the first infrared LED 28a in the above embodiment, visible light of 700 nm or less and It is desirable to do.

(i)上記実施形態では、第1赤外光LED28a及び第2赤外光LED28bから同時に光を照射し、1度の撮像に基づく画像データに基づいて異常を検出しているが、第1赤外光LED28aだけの光を照射したときと、第2赤外光LED28bだけの光を照射したときとで2度に分けて錠剤5を撮像してもよい。   (I) In the above embodiment, the first infrared light LED 28a and the second infrared light LED 28b are simultaneously irradiated with light, and the abnormality is detected based on the image data based on one imaging. The tablet 5 may be imaged in two portions when the light of only the external light LED 28a is irradiated and when the light of only the second infrared LED 28b is irradiated.

(j)上記実施形態では特に言及しなかったが、調光手段31は、第1赤外光LED28a及び第2赤外光LED28bの光の強さを、手動で調節可能に構成してもよいし、品種等に応じて自動調節可能に構成してもよい。   (J) Although not specifically mentioned in the above embodiment, the dimming unit 31 may be configured to manually adjust the light intensity of the first infrared light LED 28a and the second infrared light LED 28b. However, it may be configured to be automatically adjustable according to the product type.

一実施形態におけるPTP包装機等の概略構成を示す模式図である。It is a schematic diagram which shows schematic structure, such as a PTP packaging machine in one Embodiment. (a)はPTPシートを示す斜視図であり、(b)はPTPシートを示す部分拡大断面図である。(A) is a perspective view which shows a PTP sheet, (b) is a partial expanded sectional view which shows a PTP sheet. 照明装置を模式的に示す部分断面図である。It is a fragmentary sectional view which shows an illuminating device typically. 照明装置のうち、角度透過率制御フィルタの機能を模式的に説明する説明図である。It is explanatory drawing which illustrates typically the function of an angle transmittance control filter among illuminating devices. 不良検査装置の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of a defect inspection apparatus. 「検査ルーチン」を示すフローチャートである。It is a flowchart which shows an "inspection routine." (a)はチッピング(欠け)が生じ、中央に割線を有し、かつ、刻印の付された錠剤を模式的に示す平面図、(b)は(a)のJ−J線断面図、(c)はJ−J線に沿った画像信号(明度)曲線を示すグラフ、(d)はカメラの撮影画像である。(A) is a plan view schematically showing a tablet in which chipping (chip) occurs, has a secant in the center and is engraved, (b) is a cross-sectional view taken along line JJ of (a), ( c) is a graph showing an image signal (lightness) curve along the line JJ, and (d) is a photographed image of the camera. 錠剤ウインドウの概念を説明するための平面模式図である。It is a plane schematic diagram for demonstrating the concept of a tablet window. 錠剤形状ウインドウの概念を説明するための平面模式図である。It is a plane schematic diagram for demonstrating the concept of a tablet-shaped window. 2値化後の画像を示す模式図である。It is a schematic diagram which shows the image after binarization. 割線部のマスク処理の手法を説明する説明図である。It is explanatory drawing explaining the method of the mask process of a secant part. 第1赤外光LED28aの光だけを照射する場合を例示して説明するための説明図であり、(a)は錠剤を模式的に示す平面図、(b)は(a)のL−L線断面図、(c)はL−L線に沿った画像信号(明度)曲線を示すグラフ、(d)は2値化後の画像を示す模式図である。It is explanatory drawing for demonstrating and demonstrating the case where only the light of 1st infrared light LED28a is irradiated, (a) is a top view which shows a tablet typically, (b) is LL of (a). (C) is a graph showing an image signal (brightness) curve along line LL, (d) is a schematic diagram showing an image after binarization. 別の実施形態における「検査ルーチン」を示すフローチャートである。It is a flowchart which shows the "inspection routine" in another embodiment. (a)はカプセルを示す平面模式図であり、(b)はカプセルを示す(a)のK−K線断面図であって、正常なカプセル及び空のカプセルを示す図であり、(c)はそれぞれについてのK−K線に沿った画像信号(明度)曲線を示すグラフである。(A) is a schematic plan view showing the capsule, (b) is a sectional view taken along the line KK of (a) showing the capsule, and shows a normal capsule and an empty capsule, (c) These are graphs showing image signal (lightness) curves along the line KK for each. 別の実施形態におけるカメラと、錠剤と、第1及び第2赤外光LEDとの位置関係を模式的に説明するための説明図である。It is explanatory drawing for demonstrating typically the positional relationship of the camera in another embodiment, a tablet, and 1st and 2nd infrared light LED. 別の実施形態におけるカメラと、錠剤と、遮光手段と、第1及び第2赤外光LEDとの位置関係を模式的に説明するための説明図である。It is explanatory drawing for demonstrating typically the positional relationship of the camera in another embodiment, a tablet, a light-shielding means, and 1st and 2nd infrared-light LED.

符号の説明Explanation of symbols

1…PTPシート、2…ポケット部、3…包装用フィルムとしての容器フィルム、4…カバーフィルムとしての密封用フィルム、5…錠剤、5A…カプセル、7…PTP包装機、21…不良検査装置、22…照明手段としての照明装置、23…撮像手段としてのカメラ、24…画像処理装置、27…拡散手段としての拡散板、28a…第1光源としての第1赤外光LED、28b…第2光源としての第2赤外光LED、29…直接入射光制限手段としての角度透過率制御フィルタ、31…調光手段。
DESCRIPTION OF SYMBOLS 1 ... PTP sheet, 2 ... Pocket part, 3 ... Container film as packaging film, 4 ... Sealing film as cover film, 5 ... Tablet, 5A ... Capsule, 7 ... PTP packaging machine, 21 ... Defect inspection apparatus, DESCRIPTION OF SYMBOLS 22 ... Illuminating device as an illumination means, 23 ... Camera as an imaging means, 24 ... Image processing apparatus, 27 ... Diffusing plate as a diffusing means, 28a ... 1st infrared light LED as a 1st light source, 28b ... 2nd Second infrared LED as light source, 29... Angle transmittance control filter as direct incident light limiting means, 31.

Claims (14)

PTPシートの製造過程にあって、搬送される帯状の包装用フィルムに形成されたポケット部に錠剤が収容された後、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着される前段階において用いられる不良検査装置であって、
前記錠剤及び包装用フィルムに対し、所定の光を照射可能な第1光源及び第2光源を具備する照明手段と、
前記照明手段とは前記包装用フィルムを介して反対側に設けられ、前記第1光源及び前記第2光源から照射され前記錠剤及び前記包装用フィルムを透過する光を撮像可能な撮像手段と、
前記撮像手段から出力される画像信号を処理する画像処理装置とを備え、
前記画像処理装置は、前記画像信号から得た画像データに基づき、少なくとも前記錠剤の表面異常を検出可能に構成されており、
前記撮像手段によって、前記第1光源からの光のうち前記包装用フィルム越しに前記錠剤を透過した光と、前記第2光源から前記包装用フィルム越しに前記撮像手段に直接入射する光とが撮像されるよう構成したことを特徴とする不良検査装置。
In the manufacturing process of the PTP sheet, after the tablet is stored in the pocket portion formed in the belt-shaped packaging film to be conveyed, the stage before the cover film is attached in a sealed state so as to close the pocket portion A defect inspection apparatus used in
Illumination means comprising a first light source and a second light source capable of irradiating the tablet and the packaging film with predetermined light;
The illumination means is provided on the opposite side through the packaging film, and imaging means capable of imaging light that is irradiated from the first light source and the second light source and passes through the tablet and the packaging film;
An image processing device for processing an image signal output from the imaging means,
The image processing device is configured to be able to detect at least a surface abnormality of the tablet based on image data obtained from the image signal,
Of the light from the first light source, light that has passed through the tablet through the packaging film and light that is directly incident on the imaging means from the second light source through the packaging film are captured by the imaging unit. A defect inspection apparatus characterized in that it is configured.
前記第1光源を前記撮像手段のレンズ画角範囲外に配設し、かつ、前記第2光源を前記撮像手段のレンズ画角範囲内に配設した構成、及び、
前記第1光源を、当該第1光源からの光が、少なくとも前記撮像手段の撮像に際して前記包装用フィルム越しに前記錠剤にのみ照射されるように、指向性のある光を照射可能とし、かつ、前記第2光源を、前記包装用フィルム越しに前記撮像手段に直接入射する光を照射可能とする構成のうち少なくとも一方の構成を採用したことを特徴とする請求項1に記載の不良検査装置。
A configuration in which the first light source is disposed outside a lens field angle range of the imaging unit, and the second light source is disposed within a lens field angle range of the imaging unit; and
The first light source can be irradiated with directional light so that the light from the first light source is irradiated only on the tablet through the packaging film at least during imaging by the imaging means, and 2. The defect inspection apparatus according to claim 1, wherein at least one of the second light sources is configured to be capable of irradiating light directly incident on the imaging unit through the packaging film.
PTPシートの製造過程にあって、搬送される帯状の包装用フィルムに形成されたポケット部に錠剤が収容された後、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着される前段階において用いられる不良検査装置であって、
前記錠剤及び包装用フィルムに対し、前記錠剤を透過するのに十分な、第1の波長域の光を照射可能な第1光源、及び前記第1の波長域とは異なる第2の波長域の光を照射可能な第2光源を具備する照明手段と、
前記照明手段とは前記包装用フィルムを介して反対側に設けられ、前記第1光源及び前記第2光源から照射され前記包装用フィルム及び前記錠剤を透過する光を撮像可能な撮像手段と、
前記撮像手段から出力される画像信号を処理する画像処理装置とを備え、
前記画像処理装置は、前記画像信号から得た画像データに基づき、少なくとも前記錠剤の表面異常を検出可能に構成されており、
さらに、前記第1光源からの光に関しては、前記包装用フィルム越しに前記撮像手段に直接入射する光を除去又は減光させ、前記第2光源からの光に関しては、前記包装用フィルム越しに前記撮像手段への光の直接入射を許容する直接入射光制限手段を設けたことを特徴とする不良検査装置。
In the manufacturing process of the PTP sheet, after the tablet is stored in the pocket portion formed in the belt-shaped packaging film to be conveyed, the stage before the cover film is attached in a sealed state so as to close the pocket portion A defect inspection apparatus used in
A first light source capable of irradiating light in the first wavelength range sufficient to transmit the tablet and the packaging film, and a second wavelength range different from the first wavelength range Illumination means comprising a second light source capable of irradiating light;
The illumination means is provided on the opposite side through the packaging film, and imaging means capable of imaging light that is irradiated from the first light source and the second light source and passes through the packaging film and the tablet;
An image processing device for processing an image signal output from the imaging means,
The image processing device is configured to be able to detect at least a surface abnormality of the tablet based on image data obtained from the image signal,
Further, with respect to the light from the first light source, the light directly incident on the imaging means through the packaging film is removed or reduced, and with respect to the light from the second light source, the light is transmitted through the packaging film. A defect inspection apparatus comprising a direct incident light limiting unit that allows direct incidence of light on an imaging unit.
PTPシートの製造過程にあって、搬送される帯状の包装用フィルムに形成されたポケット部にカプセルが収容された後、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着される前段階において用いられる不良検査装置であって、
前記カプセル及び包装用フィルムに対し、所定の光を照射可能な第1光源及び第2光源を具備する照明手段と、
前記照明手段とは前記包装用フィルムを介して反対側に設けられ、前記第1光源及び前記第2光源から照射され前記カプセル及び前記包装用フィルムを透過する光を撮像可能な撮像手段と、
前記撮像手段から出力される画像信号を処理する画像処理装置とを備え、
前記画像処理装置は、前記画像信号から得た画像データに基づき、少なくとも前記カプセルの空異常を検出可能に構成されており、
前記撮像手段によって、前記第1光源からの光のうち前記包装用フィルム越しに前記カプセルを透過した光と、前記第2光源から前記包装用フィルム越しに前記撮像手段に直接入射する光とが撮像されるよう構成したことを特徴とする不良検査装置。
In the manufacturing process of the PTP sheet, after the capsule is accommodated in the pocket portion formed in the belt-shaped packaging film to be conveyed, the stage before the cover film is attached in a sealed state so as to close the pocket portion A defect inspection apparatus used in
Illumination means comprising a first light source and a second light source capable of irradiating predetermined light to the capsule and the packaging film;
The illumination means is provided on the opposite side via the packaging film, and imaging means capable of imaging light that is irradiated from the first light source and the second light source and passes through the capsule and the packaging film;
An image processing device for processing an image signal output from the imaging means,
The image processing device is configured to detect at least an empty abnormality of the capsule based on image data obtained from the image signal,
Of the light from the first light source, the light transmitted through the capsule through the packaging film and the light directly incident on the imaging means from the second light source through the packaging film are captured by the imaging unit. A defect inspection apparatus characterized in that it is configured.
前記第1光源を前記撮像手段のレンズ画角範囲外に配設し、かつ、前記第2光源を前記撮像手段のレンズ画角範囲内に配設した構成、及び、
前記第1光源を、当該第1光源からの光が、少なくとも前記撮像手段の撮像に際して前記包装用フィルム越しに前記錠剤にのみ照射されるように、指向性のある光を照射可能とし、かつ、前記第2光源を、前記包装用フィルム越しに前記撮像手段に直接入射する光を照射可能とする構成のうち少なくとも一方の構成を採用したことを特徴とする請求項4に記載の不良検査装置。
A configuration in which the first light source is disposed outside a lens field angle range of the imaging unit, and the second light source is disposed within a lens field angle range of the imaging unit; and
The first light source can be irradiated with directional light so that the light from the first light source is irradiated only on the tablet through the packaging film at least during imaging by the imaging means, and 5. The defect inspection apparatus according to claim 4, wherein the second light source employs at least one of a configuration in which light that is directly incident on the imaging unit can be irradiated through the packaging film.
PTPシートの製造過程にあって、搬送される帯状の包装用フィルムに形成されたポケット部にカプセルが収容された後、前記ポケット部を塞ぐようにカバーフィルムがシール状態で取着される前段階において用いられる不良検査装置であって、
前記カプセル及び前記包装用フィルムに対し、前記カプセルを透過するのに十分な、第1の波長域の光を照射可能な第1光源、及び前記第1の波長域とは異なる第2の波長域の光を照射可能な第2光源を具備する照明手段と、
前記照明手段とは前記包装用フィルムを介して反対側に設けられ、前記第1光源及び前記第2光源から照射され前記包装用フィルム及び前記カプセルを透過する光を撮像可能な撮像手段と、
前記撮像手段から出力される画像信号を処理する画像処理装置とを備え、
前記画像処理装置は、前記画像信号から得た画像データに基づき、少なくとも前記カプセルの空異常を検出可能に構成されており、
さらに、前記第1光源からの光に関しては、前記包装用フィルム越しに前記撮像手段に直接入射する光を除去又は減光させ、前記第2光源からの光に関しては、前記包装用フィルム越しに前記撮像手段への光の直接入射を許容する直接入射光制限手段を設けたことを特徴とする不良検査装置。
In the manufacturing process of the PTP sheet, after the capsule is accommodated in the pocket portion formed in the belt-shaped packaging film to be conveyed, the stage before the cover film is attached in a sealed state so as to close the pocket portion A defect inspection apparatus used in
A first light source capable of irradiating light in a first wavelength range sufficient to transmit the capsule and the packaging film, and a second wavelength range different from the first wavelength range Illumination means comprising a second light source capable of emitting the light of
The illumination means is provided on the opposite side through the packaging film, and imaging means capable of imaging light that is irradiated from the first light source and the second light source and passes through the packaging film and the capsule;
An image processing device for processing an image signal output from the imaging means,
The image processing device is configured to detect at least an empty abnormality of the capsule based on image data obtained from the image signal,
Further, with respect to the light from the first light source, the light directly incident on the imaging means through the packaging film is removed or reduced, and with respect to the light from the second light source, the light is transmitted through the packaging film. A defect inspection apparatus comprising a direct incident light limiting unit that allows direct incidence of light on an imaging unit.
前記直接入射光制限手段は、少なくとも前記第1光源と、前記撮像手段のレンズ部中心を結ぶ直線上の光を一部反射又は全反射可能に構成されていることを特徴とする請求項3又は6に記載の不良検査装置。   The direct incident light limiting means is configured to be capable of partially reflecting or totally reflecting light on a straight line connecting at least the first light source and the center of the lens portion of the imaging means. 6. The defect inspection apparatus according to 6. 前記直接入射光制限手段は、少なくとも前記直線方向に対し、前記レンズ部の画角分以内の前記第1光源からの光を一部反射又は全反射可能に構成されていることを特徴とする請求項7に記載の不良検査装置。   The direct incident light limiting unit is configured to be capable of partially reflecting or totally reflecting light from the first light source within an angle of view of the lens unit with respect to at least the linear direction. Item 8. The defect inspection apparatus according to Item 7. 前記照明手段は、少なくとも前記第1光源からの光を拡散するための拡散手段を具備していることを特徴とする請求項3、6乃至8のいずれかに記載の不良検査装置。   9. The defect inspection apparatus according to claim 3, wherein the illuminating means includes at least a diffusing means for diffusing light from the first light source. 前記直接入射光制限手段は、前記拡散手段に取着されたフィルタであることを特徴とする請求項9に記載の不良検査装置。   The defect inspection apparatus according to claim 9, wherein the direct incident light limiting unit is a filter attached to the diffusion unit. 前記撮像手段は、前記第1光源及び前記第2光源から同時に照射された光に基づく撮像を行うこと特徴とする請求項1乃至10のいずれかに記載の不良検査装置。   The defect inspection apparatus according to claim 1, wherein the imaging unit performs imaging based on light simultaneously irradiated from the first light source and the second light source. 前記第1光源の光の強さ及び前記第2光源の光の強さを個別に調節可能な調光手段を備えたことを特徴とする請求項1乃至11のいずれかに記載の不良検査装置。   The defect inspection apparatus according to claim 1, further comprising a dimming unit capable of individually adjusting the light intensity of the first light source and the light intensity of the second light source. . 少なくとも前記第1光源は、赤外光を照射可能であることを特徴とする請求項1乃至12のいずれかに記載の不良検査装置。   The defect inspection apparatus according to claim 1, wherein at least the first light source is capable of emitting infrared light. 請求項1乃至13のいずれかに記載の不良検査装置を備えたことを特徴とするPTP包装機。
A PTP packaging machine comprising the defect inspection apparatus according to claim 1.
JP2005109897A 2005-04-06 2005-04-06 Defect inspection device and PTP packaging machine Active JP4523474B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005109897A JP4523474B2 (en) 2005-04-06 2005-04-06 Defect inspection device and PTP packaging machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005109897A JP4523474B2 (en) 2005-04-06 2005-04-06 Defect inspection device and PTP packaging machine

Publications (2)

Publication Number Publication Date
JP2006292419A true JP2006292419A (en) 2006-10-26
JP4523474B2 JP4523474B2 (en) 2010-08-11

Family

ID=37413151

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005109897A Active JP4523474B2 (en) 2005-04-06 2005-04-06 Defect inspection device and PTP packaging machine

Country Status (1)

Country Link
JP (1) JP4523474B2 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012002648A (en) * 2010-06-16 2012-01-05 Naoetsu Electronics Co Ltd Wafer detect inspection device
JP2012215519A (en) * 2011-04-01 2012-11-08 Ckd Corp Tablet inspection device and ptp packaging machine
JP2012237649A (en) * 2011-05-12 2012-12-06 Ckd Corp Tablet inspection device and ptp packing machine
EP2341331A3 (en) * 2009-12-30 2013-06-05 JVM Co., Ltd. Medicine management system and method using the same
WO2014038012A1 (en) * 2012-09-05 2014-03-13 株式会社島津製作所 Solar cell inspecting apparatus
US9272796B1 (en) 2011-01-11 2016-03-01 Chudy Group, LLC Automatic drug packaging machine and package-less verification system
EP3000458A4 (en) * 2013-05-22 2016-05-18 Panasonic Healthcare Holdings Co Ltd Pill inspection device and pill inspection method
JP2017067549A (en) * 2015-09-29 2017-04-06 アンリツインフィビス株式会社 Article inspection device
JP2018084496A (en) * 2016-11-24 2018-05-31 第一実業ビスウィル株式会社 Visual inspection device
JP2020203008A (en) * 2019-06-19 2020-12-24 クオリカプス株式会社 Secant information acquisition device and tablet printing device
CN112262311A (en) * 2018-05-30 2021-01-22 Ckd株式会社 Inspection device and PTP packaging machine
CN114463327A (en) * 2022-04-08 2022-05-10 深圳市睿阳精视科技有限公司 Multi-shooting imaging detection equipment and method for watermark defect of electronic product lining package
KR102544143B1 (en) * 2022-09-14 2023-06-16 주식회사 제이에스티 Oral drug testing device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103803127A (en) * 2013-12-18 2014-05-21 天津市汇源印刷有限公司 Detection system avoiding mixing of finished package boxes

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56120937A (en) * 1980-02-28 1981-09-22 Satake Eng Co Ltd Adjusting device for luminous energy of color-sorting machine
JPS63318003A (en) * 1987-05-26 1988-12-26 ミネソタ マイニング アンド マニユフアクチユアリング カンパニー Lighting equipment outputting normalized light
JPH07141908A (en) * 1993-11-05 1995-06-02 Minnesota Mining & Mfg Co <3M> Prism member and lighting apparatus using prism member
JPH0821805A (en) * 1994-07-08 1996-01-23 Datsuku Eng Kk Appearance inspecting method and device thereof
JPH1113U (en) * 1998-06-08 1999-01-29 東芝エンジニアリング株式会社 Lighting equipment
JPH1151845A (en) * 1997-08-08 1999-02-26 Toyo Seimaiki Seisakusho:Kk Granular body selector
JP2000171410A (en) * 1998-12-04 2000-06-23 Ckd Corp Visual inspection apparatus for ptp sheet and ptp packaging machine
JP2001041894A (en) * 1997-06-17 2001-02-16 Yuki Gijutsu Sogo:Kk Apparatus and method for inspecting sheet package
JP2004108995A (en) * 2002-09-19 2004-04-08 Kubota Corp Defective object detection device and isolation device using it
JP2004198175A (en) * 2002-12-17 2004-07-15 Lion Engineering Co Ltd Visual inspection method for article

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56120937A (en) * 1980-02-28 1981-09-22 Satake Eng Co Ltd Adjusting device for luminous energy of color-sorting machine
JPS63318003A (en) * 1987-05-26 1988-12-26 ミネソタ マイニング アンド マニユフアクチユアリング カンパニー Lighting equipment outputting normalized light
JPH07141908A (en) * 1993-11-05 1995-06-02 Minnesota Mining & Mfg Co <3M> Prism member and lighting apparatus using prism member
JPH0821805A (en) * 1994-07-08 1996-01-23 Datsuku Eng Kk Appearance inspecting method and device thereof
JP2001041894A (en) * 1997-06-17 2001-02-16 Yuki Gijutsu Sogo:Kk Apparatus and method for inspecting sheet package
JPH1151845A (en) * 1997-08-08 1999-02-26 Toyo Seimaiki Seisakusho:Kk Granular body selector
JPH1113U (en) * 1998-06-08 1999-01-29 東芝エンジニアリング株式会社 Lighting equipment
JP2000171410A (en) * 1998-12-04 2000-06-23 Ckd Corp Visual inspection apparatus for ptp sheet and ptp packaging machine
JP2004108995A (en) * 2002-09-19 2004-04-08 Kubota Corp Defective object detection device and isolation device using it
JP2004198175A (en) * 2002-12-17 2004-07-15 Lion Engineering Co Ltd Visual inspection method for article

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2341331A3 (en) * 2009-12-30 2013-06-05 JVM Co., Ltd. Medicine management system and method using the same
EP2720030A3 (en) * 2009-12-30 2015-06-03 JVM Co., Ltd. Medicine management system and method using the same
JP2012002648A (en) * 2010-06-16 2012-01-05 Naoetsu Electronics Co Ltd Wafer detect inspection device
US9272796B1 (en) 2011-01-11 2016-03-01 Chudy Group, LLC Automatic drug packaging machine and package-less verification system
JP2012215519A (en) * 2011-04-01 2012-11-08 Ckd Corp Tablet inspection device and ptp packaging machine
JP2012237649A (en) * 2011-05-12 2012-12-06 Ckd Corp Tablet inspection device and ptp packing machine
WO2014038012A1 (en) * 2012-09-05 2014-03-13 株式会社島津製作所 Solar cell inspecting apparatus
US9958400B2 (en) 2013-05-22 2018-05-01 Panasonic Healthcare Holdings Co., Ltd. Pill inspection apparatus and pill inspection method
EP3000458A4 (en) * 2013-05-22 2016-05-18 Panasonic Healthcare Holdings Co Ltd Pill inspection device and pill inspection method
JP2017067549A (en) * 2015-09-29 2017-04-06 アンリツインフィビス株式会社 Article inspection device
JP2018084496A (en) * 2016-11-24 2018-05-31 第一実業ビスウィル株式会社 Visual inspection device
CN112262311A (en) * 2018-05-30 2021-01-22 Ckd株式会社 Inspection device and PTP packaging machine
JP2020203008A (en) * 2019-06-19 2020-12-24 クオリカプス株式会社 Secant information acquisition device and tablet printing device
JP7323344B2 (en) 2019-06-19 2023-08-08 クオリカプス株式会社 Secant information acquisition device and tablet printing device
CN114463327A (en) * 2022-04-08 2022-05-10 深圳市睿阳精视科技有限公司 Multi-shooting imaging detection equipment and method for watermark defect of electronic product lining package
KR102544143B1 (en) * 2022-09-14 2023-06-16 주식회사 제이에스티 Oral drug testing device

Also Published As

Publication number Publication date
JP4523474B2 (en) 2010-08-11

Similar Documents

Publication Publication Date Title
JP4523474B2 (en) Defect inspection device and PTP packaging machine
CN107076680B (en) Inspection apparatus and method for transmission light inspection of containers
TWI622766B (en) Inspection system and inspection method
JP4647643B2 (en) Defect inspection device and PTP packaging machine
KR20160047360A (en) System and method for defect detection
JP5873066B2 (en) PTP packaging machine
JP4472499B2 (en) Defect inspection device and PTP packaging machine
JP4332122B2 (en) Appearance inspection device and PTP packaging machine
JP2004028930A (en) Device and method for detecting foreign matter in container
KR102162693B1 (en) System and method for defect detection
JP6616658B2 (en) Inspection method of conveyed object
JP6454913B2 (en) Inspection method for cap having bridge and inspection device for the cap
JP2001033390A (en) Visual examination apparatus of tablet and ptp packaging machine
TW201629474A (en) Inspection device
JP2010091530A (en) Method and apparatus for inspecting foreign substance
JP4788870B2 (en) Defect inspection device and PTP packaging machine
JP5313999B2 (en) Tablet inspection device and PTP packaging machine
JP5959430B2 (en) Bottle cap appearance inspection device and appearance inspection method
JP5063235B2 (en) Tablet inspection device and PTP packaging machine
JP6612100B2 (en) Inspection equipment
JP4684172B2 (en) Appearance inspection apparatus and PTP sheet manufacturing apparatus
JP2006138683A (en) Visual inspection device and ptp packaging machine
KR101746416B1 (en) Chip led inspection apparatus
WO2020059214A1 (en) Appearance inspection device and ptp packaging machine
JP2017161226A (en) Inspection device and blister packing machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070216

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090908

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091104

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4523474

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130604

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140604

Year of fee payment: 4