JP4477516B2 - Inspection device and PTP packaging machine - Google Patents

Inspection device and PTP packaging machine Download PDF

Info

Publication number
JP4477516B2
JP4477516B2 JP2005021041A JP2005021041A JP4477516B2 JP 4477516 B2 JP4477516 B2 JP 4477516B2 JP 2005021041 A JP2005021041 A JP 2005021041A JP 2005021041 A JP2005021041 A JP 2005021041A JP 4477516 B2 JP4477516 B2 JP 4477516B2
Authority
JP
Japan
Prior art keywords
imaging
image
setting
packaging film
timing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2005021041A
Other languages
Japanese (ja)
Other versions
JP2006208209A (en
Inventor
幸弘 田口
克範 石榑
隆司 脇田
禎 井野口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CKD Corp
Original Assignee
CKD Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CKD Corp filed Critical CKD Corp
Priority to JP2005021041A priority Critical patent/JP4477516B2/en
Publication of JP2006208209A publication Critical patent/JP2006208209A/en
Application granted granted Critical
Publication of JP4477516B2 publication Critical patent/JP4477516B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C65/00Joining or sealing of preformed parts, e.g. welding of plastics materials; Apparatus therefor
    • B29C65/02Joining or sealing of preformed parts, e.g. welding of plastics materials; Apparatus therefor by heating, with or without pressure
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C66/00General aspects of processes or apparatus for joining preformed parts
    • B29C66/50General aspects of joining tubular articles; General aspects of joining long products, i.e. bars or profiled elements; General aspects of joining single elements to tubular articles, hollow articles or bars; General aspects of joining several hollow-preforms to form hollow or tubular articles
    • B29C66/51Joining tubular articles, profiled elements or bars; Joining single elements to tubular articles, hollow articles or bars; Joining several hollow-preforms to form hollow or tubular articles
    • B29C66/53Joining single elements to tubular articles, hollow articles or bars
    • B29C66/534Joining single elements to open ends of tubular or hollow articles or to the ends of bars
    • B29C66/5346Joining single elements to open ends of tubular or hollow articles or to the ends of bars said single elements being substantially flat
    • B29C66/53461Joining single elements to open ends of tubular or hollow articles or to the ends of bars said single elements being substantially flat joining substantially flat covers and/or substantially flat bottoms to open ends of container bodies
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C66/00General aspects of processes or apparatus for joining preformed parts
    • B29C66/80General aspects of machine operations or constructions and parts thereof
    • B29C66/83General aspects of machine operations or constructions and parts thereof characterised by the movement of the joining or pressing tools
    • B29C66/834General aspects of machine operations or constructions and parts thereof characterised by the movement of the joining or pressing tools moving with the parts to be joined
    • B29C66/8341Roller, cylinder or drum types; Band or belt types; Ball types
    • B29C66/83411Roller, cylinder or drum types
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C66/00General aspects of processes or apparatus for joining preformed parts
    • B29C66/80General aspects of machine operations or constructions and parts thereof
    • B29C66/83General aspects of machine operations or constructions and parts thereof characterised by the movement of the joining or pressing tools
    • B29C66/834General aspects of machine operations or constructions and parts thereof characterised by the movement of the joining or pressing tools moving with the parts to be joined
    • B29C66/8341Roller, cylinder or drum types; Band or belt types; Ball types
    • B29C66/83411Roller, cylinder or drum types
    • B29C66/83413Roller, cylinder or drum types cooperating rollers, cylinders or drums
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C66/00General aspects of processes or apparatus for joining preformed parts
    • B29C66/80General aspects of machine operations or constructions and parts thereof
    • B29C66/83General aspects of machine operations or constructions and parts thereof characterised by the movement of the joining or pressing tools
    • B29C66/834General aspects of machine operations or constructions and parts thereof characterised by the movement of the joining or pressing tools moving with the parts to be joined
    • B29C66/8341Roller, cylinder or drum types; Band or belt types; Ball types
    • B29C66/83411Roller, cylinder or drum types
    • B29C66/83415Roller, cylinder or drum types the contact angle between said rollers, cylinders or drums and said parts to be joined being a non-zero angle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C66/00General aspects of processes or apparatus for joining preformed parts
    • B29C66/80General aspects of machine operations or constructions and parts thereof
    • B29C66/83General aspects of machine operations or constructions and parts thereof characterised by the movement of the joining or pressing tools
    • B29C66/834General aspects of machine operations or constructions and parts thereof characterised by the movement of the joining or pressing tools moving with the parts to be joined
    • B29C66/8351Jaws mounted on rollers, cylinders, drums, bands, belts or chains; Flying jaws
    • B29C66/83511Jaws mounted on rollers, cylinders, drums, bands, belts or chains; Flying jaws jaws mounted on rollers, cylinders or drums
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29LINDEXING SCHEME ASSOCIATED WITH SUBCLASS B29C, RELATING TO PARTICULAR ARTICLES
    • B29L2031/00Other particular articles
    • B29L2031/712Containers; Packaging elements or accessories, Packages
    • B29L2031/7162Boxes, cartons, cases
    • B29L2031/7164Blister packages

Description

本発明は、PTPシートの製造に際し用いられる検査装置及び該検査装置を備えたPTP包装機を含む技術分野に属するものである。   The present invention belongs to a technical field including an inspection apparatus used in manufacturing a PTP sheet and a PTP packaging machine provided with the inspection apparatus.

一般に、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.

PTPシートの製造に際しては、ポケット部に錠剤等が充填された後、錠剤の欠け等に関する異常、或いは、包装用フィルム(シート部分)に関する異常を検査することが行われる。当該検査においては、例えば照射手段から光が照射され、その透過光をカメラにて撮像し、この撮像された画像を基に錠剤の形状やシート上の異物などが検査されたりする。   In manufacturing a PTP sheet, after a tablet or the like is filled in a pocket portion, an abnormality relating to chipping of the tablet or an abnormality relating to a packaging film (sheet portion) is inspected. In the inspection, for example, light is irradiated from the irradiation means, the transmitted light is imaged by a camera, and the shape of the tablet or the foreign matter on the sheet is inspected based on the captured image.

一般的に、カメラによる撮像は、包装用フィルムを所定量搬送するごとにシート単位(例えば打ち抜かれるPTPシート単位)で行われる。つまり、所定のシート対応部分がカメラの下に移動したタイミングにおいて、当該カメラによる撮像が行われる(例えば、特許文献1参照)。   In general, imaging by a camera is performed in sheet units (for example, punched PTP sheet units) every time a predetermined amount of packaging film is conveyed. That is, at the timing when the predetermined sheet corresponding part moves below the camera, imaging by the camera is performed (see, for example, Patent Document 1).

また、撮像タイミングを設定する際には、例えば搬送速度の比較的遅い低速モードで包装用フィルムをゆっくり搬送し、この状態で作業者がモニタを見ながら適正なタイミングを見計らって包装用フィルムを止め、この止めた位置に対応するタイミングを撮像タイミングとして登録する。
特開2004−317187号公報
When setting the imaging timing, for example, the packaging film is slowly conveyed in a low-speed mode with a relatively low conveyance speed, and in this state, the operator watches the monitor and looks for an appropriate timing to stop the packaging film. The timing corresponding to the stopped position is registered as the imaging timing.
JP 2004-317187 A

しかしながら、包装用フィルムのシート対応部分をカメラの撮像位置に合わせて適正位置に止める作業は非常に困難であり、撮像タイミングに作業者ごとの個人差が生じるおそれもある。さらには、撮像タイミングの設定作業のやり直しを何度も強いられるおそれもあり、非常に手間のかかる作業となる。ひいては包装用フィルム(PTPシート)の無駄も多くなる。   However, it is very difficult to stop the sheet-corresponding portion of the packaging film at an appropriate position in accordance with the imaging position of the camera, and there is a possibility that individual differences may occur between workers in the imaging timing. Furthermore, there is a possibility that the setting operation of the imaging timing may be re-executed many times, which is a very time-consuming operation. As a result, the packaging film (PTP sheet) is also wasted.

包装用フィルムの搬送速度を限りなく遅くすれば、カメラの撮像位置に限りなく近い位置にシート対応部分を止めることも可能であるが、これでは時間がかかり過ぎる。これに対し、ある程度速い速度で設定しようとすると、上述のようにどうしてもシート対応部分の停止位置とカメラの撮像位置とにズレが生じてしまう。   If the conveyance speed of the packaging film is slowed down as much as possible, it is possible to stop the sheet-corresponding portion at a position as close as possible to the imaging position of the camera, but this takes too much time. On the other hand, if an attempt is made to set at a somewhat high speed, there is inevitably a deviation between the stop position of the sheet corresponding portion and the imaging position of the camera as described above.

上述のように上記従来技術では、撮像タイミングの設定作業が難しく、設定時間の長期化、生産コストの増加及び生産効率の低下等を招くおそれがある。   As described above, in the above-described prior art, it is difficult to set the imaging timing, and there is a possibility that the setting time is prolonged, the production cost is increased, and the production efficiency is lowered.

本発明は、上記事情に鑑みてなされたものであり、撮像タイミングをより最適なタイミングに設定することができ、ひいては設定時間の短縮、設定作業の簡素化、生産コストの低減及び生産効率の向上等を図ることのできる検査装置及びPTP包装機を提供することを主たる目的の一つとしている。   The present invention has been made in view of the above circumstances, and the imaging timing can be set to a more optimal timing. As a result, the setting time is shortened, the setting operation is simplified, the production cost is reduced, and the production efficiency is improved. One of the main purposes is to provide an inspection apparatus and a PTP packaging machine that can achieve the above.

以下、上記目的等を解決するのに適した各手段につき項分けして説明する。なお、必要に応じて対応する手段に特有の作用効果等を付記する。   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シートの製造に際し用いられ、
前記錠剤の収容された前記包装用フィルムに対して所定の光を照射する照明手段と、
光の照射された前記包装用フィルムを視野の範囲内で撮像する撮像手段と、
前記撮像手段から出力される画像信号を処理する画像処理手段とを備えた検査装置であって、
検査に先だって行われる撮像タイミングの設定に際し用いられ、
前記包装用フィルムを停止させた状態で前記撮像手段により撮像された位置ズレ量を算出するための画像である設定用画像を基に、前記設定用画像を表示可能な表示手段と、
前記表示手段に表示される前記設定用画像に対し前記包装用フィルムの搬送方向に所定幅を有し、PTPシート対応領域が収まるように設定された計測枠を前記包装用フィルムの撮像対象位置として設定可能な撮像対象位置設定手段と、
前記撮像手段による視野の範囲内で自動的に設定される適正撮像位置と、前記撮像対象位置との位置ズレ量を算出する位置ズレ量算出手段と、
前記設定用画像の撮像タイミングと前記位置ズレ量とを基に適正な撮像タイミングを算出する撮像タイミング算出手段とを備えることを特徴とする検査装置。
Means 1. The tablet is accommodated in the pocket portion formed in the belt-shaped packaging film to be transported, and used for manufacturing the PTP sheet to which the cover film is attached so as to close the pocket portion,
Illumination means for irradiating the packaging film containing the tablet with predetermined light;
Imaging means for imaging the packaging film irradiated with light within a field of view;
An inspection apparatus comprising image processing means for processing an image signal output from the imaging means,
Used when setting the imaging timing prior to the inspection,
Display means capable of displaying the setting image based on a setting image which is an image for calculating a positional deviation amount imaged by the imaging means in a state where the packaging film is stopped;
A measurement frame that has a predetermined width in the conveyance direction of the packaging film with respect to the setting image displayed on the display means and is set so as to fit the PTP sheet corresponding region is set as an imaging target position of the packaging film. Settable imaging target position setting means;
A positional deviation amount calculating means for calculating a positional deviation amount between the appropriate imaging position automatically set within the range of the field of view by the imaging means and the imaging target position;
An inspection apparatus comprising: an imaging timing calculation unit that calculates an appropriate imaging timing based on the imaging timing of the setting image and the positional deviation amount .

上記手段1によれば、PTPシートの製造過程においては、例えば、搬送される帯状の包装用フィルムに形成されたポケット部に錠剤(カプセル錠を含む)が収容された後、光の照射された錠剤及び包装用フィルムが撮像手段により撮像され、画像処理手段によって撮像手段から出力される画像信号が処理され、画像信号から得られた画像に基づき各種検査が行われる。さらに、適正な検査を行うために撮像手段の撮像タイミングを調整する処理が行われる。すなわち、検査に先だって行われる撮像タイミングの設定に際し、撮像手段により撮像された画像を基に、前記撮像手段による視野の範囲内で自動的に設定される適正撮像位置と、別途設定される前記包装用フィルムの撮像対象位置との位置ズレ量を算出し、前記画像の撮像されたタイミングと前記位置ズレ量とを基に、撮像手段にとって適正な撮像タイミング、すなわち包装用フィルムの撮像対象位置が撮像手段の適正撮像位置に位置するタイミングを算出する。これにより、撮像タイミングの設定作業を何度も繰り返し行う必要もなく、より簡単にPTPシートの製造過程における検査時の撮像タイミングをより最適なタイミングに設定することができる。さらには、包装用フィルム(PTPシート)の無駄を少なくできる。結果として、設定時間の短縮、設定作業の簡素化、生産コストの低減及び生産効率の向上を図ることができる。なお、上記「包装用フィルムの撮像対象位置」としては、例えば打ち抜かれるPTPシートに対応したシート対応部分(撮像対象)の位置が挙げられる。また、上記撮像タイミングは、包装用フィルムの所定位置が撮像手段の適正撮像位置に位置するタイミングといった意味を含んでおり、包装用フィルムの所定位置に対応する値で表すことができる。つまり、撮像手段の適正撮像位置に位置する包装用フィルムの所定位置に対応する値を上記撮像タイミングということができ、包装用フィルムの搬送中のみならず、包装用フィルムが停止している場合でも撮像タイミングとして求めることができる。例えば、包装用フィルムの各位置に対応するように、当該包装用フィルムの所定長毎に一周期分ずつ割り当てられる位相角度で撮像タイミングを表すことができる。例えば前記所定長の中間点では180度となる。この場合、所定の撮像タイミング(所定の位相角度)を設定すれば、包装用フィルムが所定長搬送され、包装用フィルムの前記撮像タイミングに対応する位置が撮像手段の適正撮像位置を通過する毎に撮像が行われることとなる。
また、包装用フィルムを低速モード等で動かして設定を行う場合に比べて、成形不良による包装用フィルム(PTPシート)の無駄を少なくできるとともに、撮像タイミング設定後に包装用フィルム等を設定し直す必要もないため、撮像タイミング設定後そのままPTPシートの製造過程へ移行することも可能となる。結果として、生産コストの低減及び生産効率の向上を図ることができる。
また、作業者が表示手段を見ながら撮像対象位置を設定(位置決め)できる。従って、例えばポケット部の間隔、スクラップの有無、包装用フィルム上の印刷の有無などからPTPシートの区切りとなる部分を確認して撮像対象位置を各シート対応部分などに合わせて設定することができる。一つのPTPシートに複数列のポケット部が形成される場合にはポケット部の位置特定だけではシートの区切りが特定できないため、作業者が設定用画像を見ながら撮像対象位置を設定しないと、例えばポケット部一列分ずれた位置に撮像対象位置が設定されてしまうおそれもある。その点、本手段では、そのような不具合を防止することができ、より適正な位置(例えばPTPシート単位)での撮像をより確実に行うことができる。なお、錠剤用とシート用に2回撮像する場合(撮像手段が搬送方向に沿って2箇所に設置される場合)には、各撮像手段の撮像位置の中間が撮像手段の適正撮像位置となるように設定することもできる。
According to the above means 1, in the manufacturing process of the PTP sheet, for example, the tablet (including the capsule tablet) is accommodated in the pocket portion formed in the belt-shaped packaging film to be conveyed, and then irradiated with light. The tablet and the packaging film are imaged by the imaging unit, the image signal output from the imaging unit is processed by the image processing unit, and various inspections are performed based on the image obtained from the image signal. Furthermore, processing for adjusting the imaging timing of the imaging means is performed in order to perform an appropriate inspection. That is, when setting the imaging timing performed prior to the inspection, based on the image captured by the imaging unit, an appropriate imaging position that is automatically set within the field of view by the imaging unit, and the packaging that is set separately The amount of positional deviation from the film image pickup target position is calculated, and the image pickup timing appropriate for the image pickup means, that is, the image pickup target position of the packaging film is picked up based on the image pickup timing and the position shift amount. The timing at which the means is located at the appropriate imaging position is calculated. Thereby, it is not necessary to repeat the setting operation of the imaging timing over and over, and the imaging timing at the time of inspection in the manufacturing process of the PTP sheet can be set more easily. Furthermore, waste of the packaging film (PTP sheet) can be reduced. As a result, setting time can be shortened, setting work can be simplified, production cost can be reduced, and production efficiency can be improved. The “imaging target position of the packaging film” includes, for example, the position of the sheet corresponding part (imaging target) corresponding to the punched PTP sheet. The imaging timing includes a meaning such as a timing at which a predetermined position of the packaging film is positioned at an appropriate imaging position of the imaging unit, and can be represented by a value corresponding to the predetermined position of the packaging film. That is, the value corresponding to the predetermined position of the packaging film located at the appropriate imaging position of the imaging means can be referred to as the imaging timing, and even when the packaging film is stopped as well as during the transportation of the packaging film It can obtain | require as an imaging timing. For example, the imaging timing can be represented by a phase angle that is assigned to one period for each predetermined length of the packaging film so as to correspond to each position of the packaging film. For example, the intermediate point of the predetermined length is 180 degrees. In this case, if a predetermined imaging timing (predetermined phase angle) is set, the packaging film is conveyed by a predetermined length, and the position corresponding to the imaging timing of the packaging film passes through the appropriate imaging position of the imaging means. Imaging is performed.
In addition, it is possible to reduce the waste of the packaging film (PTP sheet) due to molding defects and to reset the packaging film after setting the imaging timing, compared to the case where the packaging film is moved and set in the low speed mode. Therefore, it is possible to proceed to the manufacturing process of the PTP sheet as it is after setting the imaging timing. As a result, production cost can be reduced and production efficiency can be improved.
In addition, the operator can set (position) the imaging target position while looking at the display means. Therefore, for example, a part that becomes a delimiter of the PTP sheet can be confirmed from the interval of the pocket part, the presence or absence of scrap, the presence or absence of printing on the packaging film, and the imaging target position can be set according to each sheet corresponding part. . When multiple rows of pocket portions are formed on a single PTP sheet, it is not possible to specify sheet separation only by specifying the position of the pocket portion, so if the operator does not set the imaging target position while looking at the setting image, for example, There is also a possibility that the imaging target position is set at a position shifted by one line of the pocket portion. In this respect, this means can prevent such a problem and can more reliably perform imaging at a more appropriate position (for example, PTP sheet unit). When imaging twice for tablets and sheets (when imaging means are installed at two locations along the transport direction), the middle of the imaging positions of the imaging means is the appropriate imaging position of the imaging means. It can also be set as follows.

手段2.搬送される帯状の包装用フィルムに形成されたポケット部に錠剤が収容され、当該ポケット部を塞ぐようにカバーフィルムが取着されるPTPシートの製造に際し用いられ、
前記錠剤の収容された前記包装用フィルムに対して所定の光を照射する照明手段と、
光の照射された前記包装用フィルムを視野の範囲内で撮像する撮像手段と、
前記撮像手段の撮像タイミングを制御するタイミング制御手段と、
前記撮像手段から出力される画像信号を処理する画像処理手段とを備え、
前記包装用フィルムが所定長搬送される毎に、前記包装用フィルムの撮像対象が前記撮像手段により撮像されるよう構成された検査装置であって、
検査に先だって行われる撮像タイミングの設定に際し用いられ、
前記撮像手段により前記包装用フィルムを停止させた状態で撮像された少なくとも前記位置ズレ量を算出するための画像である設定用画像を表示可能な表示手段と、
前記表示手段に表示される前記設定用画像に対し前記包装用フィルムの搬送方向に所定幅を有し、PTPシート対応領域が収まるように設定された計測枠を前記撮像対象位置として設定可能な撮像対象位置設定手段と、
前記撮像対象位置を検出する撮像対象位置検出手段と、
前記設定用画像を基に前記撮像手段による視野の範囲内で自動的に設定される適正撮像位置を検出する適正撮像位置検出手段と、
前記適正撮像位置と前記撮像対象位置との位置ズレ量を算出する位置ズレ量算出手段と、
前記設定用画像の撮像タイミングと前記位置ズレ量とを基に適正な撮像タイミングを算出する撮像タイミング算出手段とを備えることを特徴とする検査装置。
Mean 2. The tablet is accommodated in the pocket portion formed in the belt-shaped packaging film to be transported, and used for manufacturing the PTP sheet to which the cover film is attached so as to close the pocket portion,
Illumination means for irradiating the packaging film containing the tablet with predetermined light;
Imaging means for imaging the packaging film irradiated with light within a field of view;
Timing control means for controlling the imaging timing of the imaging means;
Image processing means for processing an image signal output from the imaging means,
Each time the packaging film is conveyed for a predetermined length, an inspection device configured to capture an image of the packaging film with the imaging means,
Used when setting the imaging timing prior to the inspection,
Display means capable of displaying a setting image, which is an image for calculating at least the positional deviation amount imaged in a state where the packaging film is stopped by the imaging means;
Imaging that has a predetermined width in the conveyance direction of the packaging film with respect to the setting image displayed on the display means, and that can be set as the imaging target position and is set so that the PTP sheet corresponding region is accommodated A target position setting means;
Imaging target position detecting means for detecting the imaging target position;
Appropriate imaging position detection means for detecting an appropriate imaging position that is automatically set within the field of view by the imaging means based on the setting image;
A positional deviation amount calculating means for calculating a positional deviation amount between the appropriate imaging position and the imaging target position;
An inspection apparatus comprising: an imaging timing calculation unit that calculates an appropriate imaging timing based on the imaging timing of the setting image and the positional deviation amount .

上記手段2によれば、上記手段1と同様の作用効果が奏される。なお、包装用フィルムの所定長の態様例としてはシート送り長が挙げられる。シート送り長とはPTPシート一つ分の送り長であり、PTPシートの搬送方向のシート長にスクラップ分を加えた値がシート送り長となる。但し、スクラップがない場合には搬送方向のシート長がシート送り長となる。また、適正撮像位置及び撮像対象位置は、例えば座標データとして検出される。   According to the means 2, the same effects as the means 1 can be obtained. An example of the predetermined length of the packaging film is a sheet feed length. The sheet feed length is a feed length for one PTP sheet, and a value obtained by adding the scrap to the sheet length in the conveyance direction of the PTP sheet is the sheet feed length. However, when there is no scrap, the sheet length in the transport direction is the sheet feed length. In addition, the proper imaging position and the imaging target position are detected as coordinate data, for example.

手段.前記設定用画像に対し前記適正撮像位置を自動的に設定可能な適正撮像位置設定手段を備えていることを特徴とする手段又はに記載の検査装置。 Means 3 . 3. The inspection apparatus according to means 1 or 2 , further comprising appropriate imaging position setting means capable of automatically setting the appropriate imaging position for the setting image.

上記手段によれば、適正撮像位置と撮像対象位置との位置ズレ量を表示手段において確認することができ、撮像タイミングの設定作業をより正確に行うことができる。 According to the means 3 , the amount of positional deviation between the appropriate imaging position and the imaging target position can be confirmed on the display means, and the setting operation of the imaging timing can be performed more accurately.

手段.前記適正撮像位置設定手段による前記適正撮像位置の設定に際し、当該位置に前記包装用フィルムの搬送方向に所定幅を有する基準枠を設定可能としたことを特徴とする手段に記載の検査装置。 Means 4 . Upon setting of the proper imaging position by prior Symbol proper imaging position setting means, inspection apparatus according to the means 3, characterized in that the reference frame and can be set to have a predetermined width in the conveyance direction of the packaging film to the position .

上記手段4によれば、上記作用効果をさらに高めることができる。 According to the said means 4, the said effect can be improved further.

手段.前記位置ズレ量をタイミングズレ量に換算するズレ量換算手段を備えていることを特徴とする手段1乃至のいずれかに記載の検査装置。 Means 5 . The inspection apparatus according to any one of means 1 to 4 , further comprising a deviation amount conversion means for converting the positional deviation amount into a timing deviation amount.

上記手段によれば、撮像手段により撮像された画像からタイミングズレ量を求めることができるようになり、ひいては適正な撮像タイミングを設定することができるようになる。もちろん、タイミングズレ量も、上記撮像タイミングと同様に、例えば位相角度差などで表すことができる。 According to the means 5 , the amount of timing deviation can be obtained from the image picked up by the image pick-up means, so that an appropriate image pick-up timing can be set. Of course, the amount of timing deviation can also be expressed by, for example, a phase angle difference as in the case of the imaging timing.

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

手段のように、検査装置をPTP包装機に備えることで、PTPシートの製造過程において不良品を効率的に除外できる等のメリットが生じる。 By providing the inspection apparatus in the PTP packaging machine as in the means 6 , 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 the present embodiment, the appearance inspection device is equipped in the PTP packaging machine, whereby the appearance defect of the PTP sheet is inspected in the PTP packaging machine. 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 portion 2 accommodates one tablet 5 (including a capsule 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の異常として錠剤5の有無、割れ、欠け等の異常の検出、及び、ポケット部2以外のシート部の異常としてシート部上に存在する毛髪等の異物(以下、「シート異物」と称する)の検出を主目的とする透過式検査を行うものである。   Now, on the downstream side of the filling device 14 and on the upstream side of the film receiving roll 18 and the heating roll 19, the container film 3 (filled tablets 5 and sheet portions) along the transfer path of the container film 3. An appearance inspection apparatus 21 for inspecting the appearance defects is provided. The appearance inspection device 21 is present on the sheet portion as an abnormality of the tablet 5 filled in the pocket portion 2, detecting the presence / absence of the tablet 5, an abnormality such as a crack or a chip, and an abnormality in the sheet portion other than the pocket portion 2. The transmission type inspection is performed mainly for the detection of foreign matter such as hair (hereinafter referred to as “sheet foreign matter”).

上記検査を経て、容器フィルム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). When a defective product is determined by the appearance inspection apparatus 21, the PTP sheet that has been determined to be defective is separately discharged by a defective sheet discharge mechanism (not shown).

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

外観検査装置21は、照明手段としての照明装置22、撮像手段としての撮像装置23、画像処理手段としての画像処理装置24、表示手段としてのモニタ25、並びに入力手段としての入力装置26等を備えている。   The appearance inspection device 21 includes an illumination device 22 as an illumination unit, an imaging device 23 as an imaging unit, an image processing device 24 as an image processing unit, a monitor 25 as a display unit, an input device 26 as an input unit, and the like. ing.

図1に示すように、照明装置22は容器フィルム3のポケット部2突出側に設けられている。撮像装置23は、PTPフィルム20の平面に対して、略垂直方向から撮像可能となっている。そして、照明装置22から照射された光が容器フィルム3を透過し、撮像装置23によって撮像されるように構成されている。撮像装置23によって撮像された画像(画像データ)は、撮像装置23内部においてデジタル信号に変換された上で、デジタル信号の形で画像処理装置24に入力されるようになっている。なお、本実施形態における撮像装置23は、PTPフィルム20の幅方向(搬送方向と直交する方向)に沿って並設された2つのカメラより構成されている。   As shown in FIG. 1, the illuminating device 22 is provided on the protruding side of the pocket portion 2 of the container film 3. The imaging device 23 can capture images from a substantially vertical direction with respect to the plane of the PTP film 20. And it is comprised so that the light irradiated from the illuminating device 22 permeate | transmits the container film 3, and is imaged by the imaging device 23. FIG. An image (image data) captured by the imaging device 23 is converted into a digital signal inside the imaging device 23 and then input to the image processing device 24 in the form of a digital signal. Note that the imaging device 23 in the present embodiment is configured by two cameras arranged in parallel along the width direction of the PTP film 20 (direction orthogonal to the transport direction).

さて、上述した画像処理装置24は、図3に示すように、撮像装置23に対応した画像メモリ41、PTPフィルム20の適正撮像位置を検出する適正撮像位置検出手段42、撮像されたPTPフィルム20の撮像対象位置を検出する撮像対象位置検出手段43、撮像タイミングを算出する撮像タイミング算出手段44、上記検査を実施するための検査手段45、タイミング制御手段としてのカメラタイミング制御手段46、並びに、CPU及び入出力インターフェース47などから構成され、後述するような画像の処理や、外観不良の判定等を実施可能なっている。   As shown in FIG. 3, the image processing device 24 described above includes an image memory 41 corresponding to the imaging device 23, an appropriate imaging position detection unit 42 that detects an appropriate imaging position of the PTP film 20, and the captured PTP film 20. An imaging target position detecting unit 43 for detecting the imaging target position, an imaging timing calculating unit 44 for calculating the imaging timing, an inspection unit 45 for performing the above inspection, a camera timing control unit 46 as a timing control unit, and a CPU And an input / output interface 47 and the like, and can perform image processing, appearance defect determination, and the like as will be described later.

検査手段45は、マスキング手段、二値化手段、判定用メモリ、並びに、外観検査結果及び統計データメモリなどから構成されている。通常、撮像装置23で撮像された画像は、デジタル信号に変換された後、画像メモリ41に記憶される。また、画像は、検査時においてマスキング手段によりマスキング処理が行われた後、再度画像メモリ41に記憶され、同様に、二値化手段により二値化された後、再度画像メモリ41に記憶される。   The inspection unit 45 includes a masking unit, a binarization unit, a determination memory, an appearance inspection result and statistical data memory, and the like. Usually, an image captured by the imaging device 23 is stored in the image memory 41 after being converted into a digital signal. In addition, the image is subjected to masking processing by the masking means at the time of inspection and then stored again in the image memory 41. Similarly, the image is binarized by the binarizing means and then stored again in the image memory 41. .

CPU及び入出力インターフェース47は、各種処理プログラムを上記判定用メモリの記憶内容などを使用しつつ実行するとともに、PTP包装機7に制御信号を送出し又はPTP包装機7から動作信号などの各種信号を送受信するためのものである。これによって、例えば、PTP包装機7の不良シート排出機構などを制御することができるようになっている。また、CPU及び入出力インターフェース47は、モニタ25に表示データを送出する機能をも有する。かかる機能により、各種画像や外観検査結果などを、モニタ25に表示させることができるようになっている。さらに、CPU及び入出力インターフェース47は、入力装置26からのデータを入力する機能をも有する。入力装置26には、キーボード、マウス、タッチパネル等が利用される。   The CPU and the input / output interface 47 execute various processing programs while using the stored contents of the determination memory 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, various images and appearance inspection results can be displayed on the monitor 25. Further, the CPU and input / output interface 47 has a function of inputting data from the input device 26. For the input device 26, a keyboard, a mouse, a touch panel, or the like is used.

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

カメラタイミング制御手段46は、撮像装置23が撮像する画像を、各画像メモリ41に取り込むタイミングを制御するものである。かかるタイミングはPTP包装機7に設けられた図示しないエンコーダからの信号に基づいて制御され、PTPフィルム20を所定量送るごとに撮像装置23によってシート単位(本実施形態では、打ち抜かれるPTPシート1単位)で撮像が行われる。つまり、所定のシート対応部分(撮像対象)が撮像装置23の下に移動したタイミングにおいて、当該撮像装置23による撮像が行われる。   The camera timing control means 46 controls the timing at which an image captured by the imaging device 23 is taken into each image memory 41. Such timing is controlled based on a signal from an encoder (not shown) provided in the PTP packaging machine 7, and each time the PTP film 20 is fed by a predetermined amount, the image pickup device 23 makes a sheet unit (in this embodiment, one PTP sheet to be punched). ). That is, imaging by the imaging device 23 is performed at a timing when a predetermined sheet-corresponding portion (imaging target) moves below the imaging device 23.

次に、上記PTPフィルム20の外観検査の手順について説明する。まず、外観検査に先だって事前に実行される撮像タイミング設定処理としての「撮像タイミング設定ルーチン」について図4のフローチャートに従って説明する。なお、当該検査においてPTPフィルム20と称しているのは、ポケット部2に錠剤5が充填され後、密封用フィルム4が取着される前段階の容器フィルム3のことである。   Next, a procedure for appearance inspection of the PTP film 20 will be described. First, an “imaging timing setting routine” as an imaging timing setting process executed in advance prior to the appearance inspection will be described with reference to the flowchart of FIG. In addition, what is called the PTP film 20 in the said inspection is the container film 3 of the stage before the sealing film 4 is attached after the tablet part 5 is filled with the tablet 5.

同ルーチンにおいては、先ずステップS101において、撮像装置23の視野幅の登録を行う。詳しくは、まずPTPフィルム20の搬送を停止させた状態(PTP包装機7を停止した状態)で、図5に示すようにPTPフィルム20上に当該PTPフィルム20の幅方向に沿って透明又は半透明の定規50を載せ、当該PTPフィルム20を撮像し、濃淡画像を取得する。なお、PTPフィルム20の幅方向中央部には搬送方向に沿ってセンターライン51が予め記されており、このセンターライン51に合わせて定規50が載置される。次に、撮像装置23の2つのカメラのうち手前側(図5右側)に設置されたカメラにより撮像されモニタ25に映し出された画像G1を基に、当該画像G1に映った領域の手前側端部よりセンターライン51までの視野幅X1を求める。また、画像G1を基に、当該画像G1に映った領域の奥側(図5左側)端部よりセンターライン51までの視野幅X2を求める。そして、視野幅X1と視野幅X2とを合計した値を撮像装置(各カメラ)23の視野幅として登録する。   In this routine, first, in step S101, the visual field width of the imaging device 23 is registered. Specifically, first, in a state where the transport of the PTP film 20 is stopped (a state where the PTP packaging machine 7 is stopped), the PTP film 20 is transparent or semi-transparent along the width direction of the PTP film 20 as shown in FIG. A transparent ruler 50 is placed, the PTP film 20 is imaged, and a grayscale image is acquired. Note that a center line 51 is written in advance along the transport direction at the center in the width direction of the PTP film 20, and a ruler 50 is placed along the center line 51. Next, based on the image G1 captured by the camera installed on the front side (right side in FIG. 5) of the two cameras of the imaging device 23 and displayed on the monitor 25, the front end of the area shown in the image G1 The visual field width X1 from the center to the center line 51 is obtained. Also, based on the image G1, the visual field width X2 from the back end (left side in FIG. 5) of the region shown in the image G1 to the center line 51 is obtained. Then, the total value of the visual field width X1 and the visual field width X2 is registered as the visual field width of the imaging device (each camera) 23.

ステップS102において、ステップS101で取得した画像G1を基に撮像装置(各カメラ)23の分解能Aを下式(1)から算出する。   In step S102, the resolution A of the imaging device (each camera) 23 is calculated from the following equation (1) based on the image G1 acquired in step S101.

視野幅(mm)/画像水平画素数(dot)=分解能A(mm/dot)…(1)
例えば視野幅が160(mm)、画像水平画素数が1280(dot)の場合には、分解能Aは0.125(mm/dot)となる。画像の1画素は縦横比が決まっていることから(通常は縦横同寸法)、上記分解能Aを基にPTPフィルム20の搬送方向における視野幅を求めることもできる。
Field width (mm) / number of horizontal pixels (dot) = resolution A (mm / dot) (1)
For example, when the visual field width is 160 (mm) and the number of image horizontal pixels is 1280 (dot), the resolution A is 0.125 (mm / dot). Since one pixel of the image has a fixed aspect ratio (usually the same size), the viewing width in the transport direction of the PTP film 20 can be obtained based on the resolution A.

ステップS103においてシート送り長W(mm)を登録する。シート送り長WはPTPシート1一つ分の送り長である。本実施形態では、PTPシート1の搬送方向のシート長にスクラップ分を加えた値がシート送り長Wとして登録される。但し、スクラップがない場合には搬送方向のシート長がシート送り長となる。   In step S103, the sheet feed length W (mm) is registered. The sheet feed length W is the feed length for one PTP sheet. In the present embodiment, a value obtained by adding the scrap amount to the sheet length in the conveyance direction of the PTP sheet 1 is registered as the sheet feed length W. However, when there is no scrap, the sheet length in the transport direction is the sheet feed length.

ステップS104において画像G1におけるシート送り長Wに対応する画素数(シート送り量)Sを下式(2)から算出する。   In step S104, the number of pixels (sheet feed amount) S corresponding to the sheet feed length W in the image G1 is calculated from the following equation (2).

シート送り長W(mm)/分解能A(mm/dot)=画素数S(dot)…(2)
次に、ステップS105において上記定規50を載せず、上記同様にPTPフィルム20の搬送を停止させた状態でPTPフィルム20を撮像し、設定用画像(濃淡画像)を取得する(図6参照)。なお、図6では、撮像装置23の2つのカメラのうち手前側に設置されたカメラにより撮像されモニタ25に映し出された画像G3のみ図示している。また、モニタ25の表示画面25aには、当該表示画面25aを上下左右略均等に区分けするように撮像装置23の基準位置に合わせて垂直中央線55及び水平中央線56が表示される。
Sheet feed length W (mm) / resolution A (mm / dot) = pixel number S (dot) (2)
Next, in step S105, the ruler 50 is not placed, and the PTP film 20 is imaged in a state where the transport of the PTP film 20 is stopped as described above, and a setting image (grayscale image) is acquired (see FIG. 6). In FIG. 6, only the image G <b> 3 captured by the camera installed on the front side of the two cameras of the imaging device 23 and displayed on the monitor 25 is illustrated. In addition, a vertical center line 55 and a horizontal center line 56 are displayed on the display screen 25a of the monitor 25 in accordance with the reference position of the imaging device 23 so as to divide the display screen 25a substantially vertically and horizontally.

ステップS106において設定用画像における適正撮像位置に枠体としての基準枠D1を設定する。本実施形態では、モニタ25に設定用画像が映し出されるのに合わせて、予め定められた撮像装置23の基準位置(水平中央線56)が適正撮像位置検出手段42により検出され、当該基準位置に基準枠D1(図6の点線枠参照)が自動的に設定されるように構成されている。従って、当該ステップS106の機能や入力装置26によって本実施形態における適正撮像位置設定手段が構成される。基準枠D1は、PTPフィルム20の搬送方向に対して、シート長と略同一長となっている。 In step S106, a reference frame D1 as a frame is set at an appropriate imaging position in the setting image. In the present embodiment, as the setting image is displayed on the monitor 25, a predetermined reference position (horizontal center line 56) of the image pickup device 23 is detected by the appropriate image pickup position detecting means 42, and the reference position is set. The reference frame D1 (see the dotted line frame in FIG. 6) is automatically set . What slave, proper imaging position setting means in the present embodiment is constituted by function and an input device 26 of the step S106. The reference frame D1 has substantially the same length as the sheet length with respect to the conveyance direction of the PTP film 20.

ステップS107において設定用画像における撮像対象位置に枠体としての計測枠D2を設定する。本実施形態では、まず上記基準枠D1が表示されるのに合わせて、当該基準枠D1とややずれた位置に計測枠D2が表示される。そして、この計測枠D2を上記入力装置26の操作により移動させ、シート対応部分が計測枠D2内に納まるように当該計測枠D2を位置決めする(図6の実線枠参照)。従って、当該ステップS107の機能や入力装置26によって本実施形態における撮像対象位置設定手段が構成される。   In step S107, a measurement frame D2 as a frame is set at the imaging target position in the setting image. In the present embodiment, the measurement frame D2 is displayed at a position slightly shifted from the reference frame D1 when the reference frame D1 is displayed. Then, the measurement frame D2 is moved by operating the input device 26, and the measurement frame D2 is positioned so that the corresponding portion of the sheet is within the measurement frame D2 (see the solid line frame in FIG. 6). Therefore, the imaging target position setting means in the present embodiment is configured by the function of the step S107 and the input device 26.

ステップS108において基準枠D1と計測枠D2との位置ズレ量を両者の座標データを基に算出する。つまり、適正撮像位置検出手段42により検出された適正撮像位置と、撮像対象位置検出手段43により検出された撮像対象位置との位置ズレ量が算出される。当該ステップS108の機能が本実施形態における位置ズレ量算出手段を構成する。   In step S108, a positional deviation amount between the reference frame D1 and the measurement frame D2 is calculated based on the coordinate data of both. That is, the amount of positional deviation between the appropriate imaging position detected by the appropriate imaging position detection unit 42 and the imaging target position detected by the imaging target position detection unit 43 is calculated. The function of step S108 constitutes the positional deviation amount calculation means in this embodiment.

ステップS109において基準枠D1及び計測枠D2の位置ズレ量に対応する画素数D(dot)を算出する。   In step S109, the number of pixels D (dot) corresponding to the positional deviation amount between the reference frame D1 and the measurement frame D2 is calculated.

ステップS110において、ステップS109で取得した画素数Dを基に角度ズレ量αを下式(3)から算出する。   In step S110, the angle deviation amount α is calculated from the following equation (3) based on the number of pixels D acquired in step S109.

360(度)×画素数D/画素数S=角度ズレ量α(度)…(3)
ここで求められる角度ズレ量αは、上記シート送り長W毎に一周期分(360度)ずつ割り当てられる位相角度の位置ズレ量に対応するズレ量である。本実施形態では、例えばフィルム送りロール9の回転角度を基にPTPフィルム20の位置を特定できるよう構成されている。詳しくは、フィルム送りロール9が所定角度変化する毎にPTPフィルム20が上記シート送り長W分だけ進むことに基づいて、エンコーダにより上記シート送り長W毎に一周期分(360度)ずつ割り当てられる位相角度でPTPフィルム20の各位置が表される。さらには、PTPフィルム20の所定位置が撮像装置23の適正撮像位置に位置するタイミングを撮像装置23により撮像が行われる撮像タイミングと考え、当該撮像タイミングをPTPフィルム20の所定位置に対応する位相角度の値(例えば273度)で設定するようになっている。従って、角度ズレ量はタイミングズレ量に相当する。また、上記ステップS105において取得した設定用画像の撮像タイミングT1も所定の位相角度で取得することができる。なお、角度ズレ量αや撮像タイミングT1はモニタ25の表示画面に適宜表示される。
360 (degrees) × number of pixels D / number of pixels S = angle deviation amount α (degrees) (3)
The angle shift amount α obtained here is a shift amount corresponding to the positional shift amount of the phase angle that is assigned by one period (360 degrees) for each sheet feed length W. In the present embodiment, for example, the position of the PTP film 20 can be specified based on the rotation angle of the film feed roll 9. More specifically, every time the film feed roll 9 changes by a predetermined angle, the PTP film 20 advances by the sheet feed length W, and the encoder assigns one cycle (360 degrees) for each sheet feed length W. Each position of the PTP film 20 is represented by the phase angle. Further, the timing at which the predetermined position of the PTP film 20 is positioned at the appropriate imaging position of the imaging device 23 is considered as the imaging timing at which imaging is performed by the imaging device 23, and the imaging timing is a phase angle corresponding to the predetermined position of the PTP film 20. Is set to a value (for example, 273 degrees). Therefore, the angle deviation amount corresponds to the timing deviation amount. Further, the imaging timing T1 of the setting image acquired in step S105 can also be acquired at a predetermined phase angle. The angle deviation amount α and the imaging timing T1 are appropriately displayed on the display screen of the monitor 25.

ステップS111において適正な撮像タイミングT2を下式(4)から算出する。   In step S111, an appropriate imaging timing T2 is calculated from the following equation (4).

撮像タイミングT2(度)=撮像タイミングT1(度)+角度ズレ量α(度)…(4)
例えば、設定用画像を取得した際の撮像タイミングT1が273度で、PTPフィルム20の撮像対象位置が進行方向とは逆方向へ31度ずれている場合には、撮像タイミングT2は304度となる。なお、角度ズレ量αの値は、PTPフィルム20の撮像対象位置が進行方向にずれている場合には「−」となり、逆方向にずれている場合には「+」となる。
Imaging timing T2 (degrees) = imaging timing T1 (degrees) + angle deviation amount α (degrees) (4)
For example, when the imaging timing T1 when the setting image is acquired is 273 degrees and the imaging target position of the PTP film 20 is shifted by 31 degrees in the direction opposite to the traveling direction, the imaging timing T2 is 304 degrees. . Note that the value of the angle shift amount α is “−” when the imaging target position of the PTP film 20 is shifted in the traveling direction, and is “+” when it is shifted in the reverse direction.

ステップS112において、カメラタイミング制御手段46の制御信号の出力タイミングとして上記適正な撮像タイミングT2を登録する。これにより、PTPフィルム20の撮像タイミングT2に対応する位置が撮像装置23の適正撮像位置を通過する毎に撮像が行われることとなる。   In step S112, the appropriate imaging timing T2 is registered as the output timing of the control signal of the camera timing control means 46. Thereby, every time the position corresponding to the imaging timing T2 of the PTP film 20 passes the appropriate imaging position of the imaging device 23, imaging is performed.

上記一連のステップは主として上記CPU及び入出力インターフェース47や撮像タイミング算出手段44等により実行される。特に、ステップS104、ステップS109及びステップS110の機能が本実施形態におけるズレ量換算手段を構成する。   The series of steps is mainly executed by the CPU, the input / output interface 47, the imaging timing calculation means 44, and the like. In particular, the functions of step S104, step S109, and step S110 constitute a deviation amount conversion means in the present embodiment.

次に、透過式検査について図7のフローチャートに従って説明する。本実施形態では、透過式検査において錠剤部及びシート部の検査を行うこととしている。   Next, the transmission inspection will be described with reference to the flowchart of FIG. In this embodiment, the tablet part and the sheet part are inspected in the transmission inspection.

図7の「透過式検査ルーチン」に示すように、検査に際しては、先ずステップS301において、全ポケット部2の錠剤良品フラグをそれぞれ0に設定する。   As shown in the “transmission type inspection routine” of FIG. 7, at the time of inspection, first, in step S301, the non-defective tablet flags of all the pocket portions 2 are set to 0, respectively.

ステップS302において、検査対象たるPTPフィルム20の検査濃淡画像を取得する。   In step S302, an inspection grayscale image of the PTP film 20 to be inspected is acquired.

ステップS303において、ステップS302で取得した検査濃淡画像をシェーディング補正し、ステップS304において当該検査濃淡画像を錠剤検知レベルで二値化し、当該二値化画像データを画像メモリ41に格納する(後述する錠剤部検査に用いられる)。これとともに、ステップS302で取得した検査濃淡画像をシート異物検知レベルで二値化し、当該二値化画像データを画像メモリ41に格納する(後述するシート部検査に用いられる)。   In step S303, shading correction is performed on the inspection grayscale image acquired in step S302. In step S304, the inspection grayscale image is binarized at the tablet detection level, and the binarized image data is stored in the image memory 41 (tablet described later). Used for partial inspection). At the same time, the inspection grayscale image acquired in step S302 is binarized at the sheet foreign object detection level, and the binarized image data is stored in the image memory 41 (used for sheet portion inspection described later).

次に、ステップS305で各二値化画像データにラベリング処理(塊処理)を行い、当該二値化画像データに対し予め設定された錠剤ウインドウPWを重ねる処理を行う。この際、当該二値化画像データからポケット部2の中心位置を割り出し、当該ポケット部2の中心位置に錠剤ウインドウPWの中心位置を合わせるようにして当該錠剤ウインドウPWを位置決めする。錠剤ウインドウPWは、ポケット部2内の領域(ポケット部領域)と、ポケット部2外のシート部の領域(シート部領域)とを区別するための境界とされるものであり、図2(c)に示すように、ポケット部2の円と同心円をなし、かつ、直径が一回り(例えば約1mm)大きく設定される。そして、当該錠剤ウインドウPWを用いて、ポケット部領域とシート部領域に区別し、以下のステップS306〜ステップS312においてポケット部領域における錠剤部検査を実行し、ステップS313においてシート部領域におけるシート部検査を実行する。なお、前記各検査においては、錠剤ウインドウPWによって区別された各領域のうち、検査対象外となる部分にマスキングを施す処理が行われる。例えば、錠剤部検査が実行される際にはシート部領域にマスキングが施され、シート部検査が実行される際には、ポケット部領域にマスキングが施される。   Next, in step S305, each binarized image data is subjected to a labeling process (a lump process), and a process of superimposing a preset tablet window PW on the binarized image data is performed. At this time, the center position of the pocket portion 2 is determined from the binarized image data, and the tablet window PW is positioned so that the center position of the tablet window PW is aligned with the center position of the pocket portion 2. The tablet window PW serves as a boundary for distinguishing between the region in the pocket portion 2 (pocket portion region) and the region of the sheet portion outside the pocket portion 2 (sheet portion region). As shown in FIG. 5, the circle is concentric with the circle of the pocket portion 2 and the diameter is set to be larger (for example, about 1 mm). And using the said tablet window PW, it distinguishes into a pocket part area | region and a sheet | seat part area | region, The tablet part test | inspection in a pocket part area | region is performed in the following step S306-step S312 and the sheet | seat part test | inspection in a sheet | seat part area | region in step S313 Execute. Note that, in each of the inspections, a process of masking a portion that is not subject to inspection among the regions distinguished by the tablet window PW is performed. For example, when the tablet portion inspection is executed, masking is applied to the sheet portion region, and when the sheet portion inspection is executed, masking is applied to the pocket portion region.

錠剤部検査に際しては、まずステップS306において、ポケット番号カウンタ値C1(以下、単にポケット番号C1という)に1を設定する。そして、ステップS307においてポケット番号C1の値が一検査あたり(一シートあたり)のポケット数N以下であるか否かを判定する。ここで肯定判定された場合には、ステップS308において、ポケット番号C1に対応するポケット部2において、錠剤面積値が基準錠剤面積値Lo以上の塊を抽出する(Lo未満の塊を除去する)。その後、ステップS309では、前記ポケット部2における塊個数が「1」であるか否かを判定し、否定判定された場合には、ステップS312においてポケット番号C1の値に1を加え、再びステップS307へ移行する。   In the tablet part inspection, first, in step S306, 1 is set to the pocket number counter value C1 (hereinafter simply referred to as pocket number C1). In step S307, it is determined whether or not the value of the pocket number C1 is equal to or less than the number N of pockets per inspection (per sheet). If the determination is affirmative, in step S308, in the pocket portion 2 corresponding to the pocket number C1, a mass having a tablet area value equal to or larger than the reference tablet area value Lo is extracted (a mass less than Lo is removed). Thereafter, in step S309, it is determined whether or not the number of lumps in the pocket portion 2 is “1”. If a negative determination is made, 1 is added to the value of the pocket number C1 in step S312 and step S307 is performed again. Migrate to

これに対し、塊個数が「1」である場合には、ステップS310において、錠剤ウインドウPW内における錠剤5の形状、長さ、面積等が適正であるか否かを判断する。ここで、当該錠剤5に関し不適正判定された場合にはステップS312へ移行する。一方、適正判定された場合には、ステップS311において、錠剤5が良品であるものとして、ポケット番号C1に対応した錠剤良品フラグに1を設定し、ステップS312へ移行する。   On the other hand, if the lump number is “1”, it is determined in step S310 whether or not the shape, length, area, etc. of the tablet 5 in the tablet window PW are appropriate. Here, when it is determined that the tablet 5 is inappropriate, the process proceeds to step S312. On the other hand, if the determination is appropriate, in step S311, assuming that the tablet 5 is a non-defective product, 1 is set in the non-defective tablet flag corresponding to the pocket number C1, and the process proceeds to step S312.

さて、上記ステップS307において否定判定された場合、すなわちポケット番号C1の値が一検査あたり(一シートあたり)のポケット数Nを超えたと判定された場合には、ステップS313においてシート部検査を行う。   If a negative determination is made in step S307, that is, if it is determined that the value of the pocket number C1 exceeds the number of pockets N per inspection (per sheet), a sheet portion inspection is performed in step S313.

次に、ステップS314においてシート部が良品であるか否か、例えばシート部領域内にシート異物が存在しないか否か等を判定する。ここで肯定判定されるとステップS315において一検査あたり(一シートあたり)の全ポケット部2に関して錠剤良品フラグに1が設定されているか否かを判定する。ここで肯定判定されるとステップS316において良品判定を行い、本処理を一旦終了する。これに対し、ステップS314又はステップS315において否定判定された場合には、ステップS317において不良品判定を行い、本処理を一旦終了する。これらの検査結果は、モニタ25やPTP包装機7(不良シート排出機構を含む)に出力される。   Next, in step S314, it is determined whether or not the sheet part is a non-defective product, for example, whether or not a sheet foreign object exists in the sheet part region. If an affirmative determination is made here, it is determined in step S315 whether or not 1 is set in the non-defective tablet flag for all pocket portions 2 per inspection (per sheet). If an affirmative determination is made here, a non-defective product determination is performed in step S316, and this process is temporarily terminated. On the other hand, if a negative determination is made in step S314 or step S315, defective product determination is performed in step S317, and this process is temporarily terminated. These inspection results are output to the monitor 25 and the PTP packaging machine 7 (including the defective sheet discharge mechanism).

以上詳述したように、本実施形態によれば、適正な検査を行うために撮像装置23の撮像タイミングを調整する処理が行われる。すなわち、撮像装置23により撮像された画像を基に、撮像装置23による適正撮像位置と、PTPフィルム20の撮像対象位置(シート対応部分)との位置ズレ量を算出し、前記画像の撮像されたタイミングと前記位置ズレ量とを基に、撮像装置23にとって適正な撮像タイミング、すなわちPTPフィルム20の撮像対象位置が撮像装置23の適正撮像位置に位置するタイミングを算出する。これにより、撮像タイミングの設定作業を何度も繰り返し行う必要もなく、より簡単にPTPシート1の製造過程における検査時の撮像タイミングをより最適なタイミングに設定することができる。さらには、PTPフィルム20(PTPシート1)の無駄を少なくできる。結果として、設定時間の短縮、設定作業の簡素化、生産コストの低減及び生産効率の向上を図ることができる。   As described above in detail, according to the present embodiment, processing for adjusting the imaging timing of the imaging device 23 is performed in order to perform an appropriate inspection. That is, based on the image captured by the imaging device 23, the amount of positional deviation between the appropriate imaging position by the imaging device 23 and the imaging target position (sheet corresponding portion) of the PTP film 20 is calculated, and the image is captured. Based on the timing and the positional deviation amount, an imaging timing appropriate for the imaging device 23, that is, a timing at which the imaging target position of the PTP film 20 is located at an appropriate imaging position of the imaging device 23 is calculated. Thereby, it is not necessary to repeat the setting operation of the imaging timing over and over, and the imaging timing at the time of inspection in the manufacturing process of the PTP sheet 1 can be set more easily. Furthermore, waste of the PTP film 20 (PTP sheet 1) can be reduced. As a result, setting time can be shortened, setting work can be simplified, production cost can be reduced, and production efficiency can be improved.

さらに、位置ズレ量を算出するための画像である設定用画像を、PTPフィルム20を停止させた状態で撮像するよう構成されている。従って、PTPフィルム20を低速モード等で動かして設定を行う場合に比べて、成形不良によるPTPフィルム20(PTPシート1)の無駄を少なくできるとともに、撮像タイミング設定後にPTPフィルム20等を設定し直す必要もないため、撮像タイミング設定後そのままPTPシート1の製造過程へ移行することも可能となる。結果として、生産コストの低減及び生産効率の向上を図ることができる。   Furthermore, the setting image, which is an image for calculating the positional deviation amount, is configured to be imaged in a state where the PTP film 20 is stopped. Therefore, compared to the case where the setting is performed by moving the PTP film 20 in the low speed mode or the like, waste of the PTP film 20 (PTP sheet 1) due to molding defects can be reduced, and the PTP film 20 and the like are reset after the imaging timing is set. Since it is not necessary, it is possible to proceed to the manufacturing process of the PTP sheet 1 as it is after setting the imaging timing. As a result, production cost can be reduced and production efficiency can be improved.

また、作業者がモニタ25を見ながら撮像対象位置を設定できる。従って、例えばポケット部2の間隔、スクラップの有無、PTPフィルム20上の印刷の有無などからPTPシート1の区切りとなる部分を確認して撮像対象位置を各シート対応部分に合わせて設定することができる。一つのPTPシート1に複数列のポケット部2が形成される場合にはポケット部2の位置特定だけではシートの区切りが特定できないため、作業者が設定用画像を見ながら撮像対象位置を設定しないと、例えばポケット部2一列分ずれた位置に撮像対象位置が設定されてしまうおそれもある。その点、本実施形態では、そのような不具合を防止することができ、より適正な位置(例えばPTPシート1単位)での撮像をより確実に行うことができる。   In addition, the operator can set the imaging target position while looking at the monitor 25. Therefore, for example, a portion that becomes a delimiter of the PTP sheet 1 can be confirmed from the interval between the pocket portions 2, the presence or absence of scrap, the presence or absence of printing on the PTP film 20, and the imaging target position can be set according to the corresponding portion of each sheet. it can. In the case where a plurality of rows of pocket portions 2 are formed on one PTP sheet 1, the position of the pocket portion 2 cannot be specified only by specifying the position of the pocket portion 2, so the operator does not set the imaging target position while viewing the setting image. For example, there is a possibility that the imaging target position is set at a position shifted by one row of the pocket portions 2. In this respect, in the present embodiment, such a problem can be prevented, and imaging at a more appropriate position (for example, one PTP sheet) can be more reliably performed.

以上説明した実施形態において、例えば、次のように構成の一部を適宜変更して実施することも可能である。勿論、以下において例示しない他の変更例も当然可能である。   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)上記実施形態では、検査対象となる錠剤の態様例としてタブレット錠が挙げられているが、錠剤の種類はこれに限られるものではなく、例えばカプセル錠等であってもよい。   (A) In the said embodiment, although the tablet tablet is mentioned as an aspect example of the tablet used as test | inspection object, the kind of tablet is not restricted to this, For example, a capsule tablet etc. may be sufficient.

(b)上記実施形態では、透過式検査を行う外観検査装置に具現化しているが、他の検査装置にも具現化できる。例えば、色識別検査などの反射式検査を行う外観検査装置や、カプセル錠内の薬剤の有無を検査する不良品検査装置等に具現化してもよい。   (B) In the above-described embodiment, it is embodied in an appearance inspection apparatus that performs transmission inspection, but it can also be embodied in other inspection apparatuses. For example, the present invention may be embodied in an appearance inspection device that performs a reflection inspection such as a color identification inspection, a defective product inspection device that inspects the presence or absence of a drug in a capsule tablet, and the like.

(c)上記実施形態では、位置ズレ量を算出するため設定用画像を、PTPフィルム20を停止させた状態で撮像するよう構成されているが、これに限らず、PTPフィルム20を動かして設定用画像を撮像する構成としてもよい。PTPシートの製造時の搬送速度でPTPフィルム20を搬送させて設定用画像を撮像し、撮像タイミングの設定作業を行うことも可能である。   (C) In the above-described embodiment, the setting image is configured to be captured in a state where the PTP film 20 is stopped in order to calculate the positional deviation amount. However, the present invention is not limited to this, and the setting is performed by moving the PTP film 20. It is good also as a structure which images the image for business. It is also possible to carry out the setting operation of the imaging timing by conveying the PTP film 20 at the conveyance speed at the time of manufacturing the PTP sheet and capturing an image for setting.

)適正撮像位置や撮像対象位置は上記実施形態に限られるものではない。例えば錠剤用とシート用に2回撮像する場合(撮像装置が搬送方向に沿って2箇所に設置される場合)には、各撮像装置の撮像位置の中間が適正撮像位置となる。 ( D ) The proper imaging position and imaging target position are not limited to the above embodiment. For example, when imaging twice for tablets and sheets (when imaging devices are installed at two locations along the transport direction), the middle of the imaging position of each imaging device is the appropriate imaging position.

)上記実施形態では、撮像タイミングをPTPフィルム20の所定位置に対応する位相角度の値で設定するようになっているが、もちろん、撮像タイミングの表し方はこれに限られるものではない。例えばシート搬送周期(時間)やPTPフィルム20の所定位置に対応する他の値で表してもよい。 ( E ) In the above embodiment, the imaging timing is set by the value of the phase angle corresponding to the predetermined position of the PTP film 20. However, the way of expressing the imaging timing is not limited to this. For example, it may be expressed by other values corresponding to a sheet conveyance cycle (time) or a predetermined position of the PTP film 20.

一実施形態におけるPTP包装機等の概略構成を示す模式図である。It is a schematic diagram which shows schematic structure, such as a PTP packaging machine in one Embodiment. (a)はPTPシートを示す斜視図であり、(b)はPTPシートを示す部分拡大断面図であり、(c)は錠剤ウインドウの概念を説明するための平面模式図である。(A) is a perspective view which shows a PTP sheet, (b) is a partial expanded sectional view which shows a PTP sheet, (c) is a plane schematic diagram for demonstrating the concept of a tablet window. 外観検査装置の電気的構成を示すブロック図である。It is a block diagram which shows the electrical structure of an external appearance inspection apparatus. 「撮像タイミング設定ルーチン」を示すフローチャートである。7 is a flowchart illustrating an “imaging timing setting routine”. 視野幅等の概念を説明するための平面模式図である。It is a plane schematic diagram for demonstrating concepts, such as a visual field width. PTPフィルム20の位置ズレ等の概念を説明するための平面模式図である。It is a plane schematic diagram for demonstrating concepts, such as position shift of the PTP film. 「透過式検査ルーチン」を示すフローチャートである。It is a flowchart which shows a "transmission type inspection routine".

1…PTPシート、2…ポケット部、3…包装用フィルムとしての容器フィルム、4…カバーフィルムとしての密封用フィルム、5…錠剤、7…PTP包装機、20…PTPフィルム、21…外観検査装置、23…撮像手段としての撮像装置、25…表示手段としてのモニタ、26…入力装置、42…適正撮像位置検出手段、43…撮像対象位置検出手段、44…撮像タイミング算出手段、45…検査手段。
DESCRIPTION OF SYMBOLS 1 ... PTP sheet, 2 ... Pocket part, 3 ... Container film as packaging film, 4 ... Sealing film as cover film, 5 ... Tablet, 7 ... PTP packaging machine, 20 ... PTP film, 21 ... Visual inspection apparatus , 23 ... an imaging device as an imaging means, 25 ... a monitor as a display means, 26 ... an input device, 42 ... an appropriate imaging position detection means, 43 ... an imaging target position detection means, 44 ... an imaging timing calculation means, 45 ... an inspection means .

Claims (6)

搬送される帯状の包装用フィルムに形成されたポケット部に錠剤が収容され、当該ポケット部を塞ぐようにカバーフィルムが取着されるPTPシートの製造に際し用いられ、
前記錠剤の収容された前記包装用フィルムに対して所定の光を照射する照明手段と、
光の照射された前記包装用フィルムを視野の範囲内で撮像する撮像手段と、
前記撮像手段から出力される画像信号を処理する画像処理手段とを備えた検査装置であって、
検査に先だって行われる撮像タイミングの設定に際し用いられ、
前記包装用フィルムを停止させた状態で前記撮像手段により撮像された位置ズレ量を算出するための画像である設定用画像を基に、前記設定用画像を表示可能な表示手段と、
前記表示手段に表示される前記設定用画像に対し前記包装用フィルムの搬送方向に所定幅を有し、PTPシート対応領域が収まるように設定された計測枠を前記包装用フィルムの撮像対象位置として設定可能な撮像対象位置設定手段と、
前記撮像手段による視野の範囲内で自動的に設定される適正撮像位置と、前記撮像対象位置との位置ズレ量を算出する位置ズレ量算出手段と、
前記設定用画像の撮像タイミングと前記位置ズレ量とを基に適正な撮像タイミングを算出する撮像タイミング算出手段とを備えることを特徴とする検査装置。
The tablet is accommodated in the pocket portion formed in the belt-shaped packaging film to be transported, and used for manufacturing the PTP sheet to which the cover film is attached so as to close the pocket portion,
Illumination means for irradiating the packaging film containing the tablet with predetermined light;
Imaging means for imaging the packaging film irradiated with light within a field of view;
An inspection apparatus comprising image processing means for processing an image signal output from the imaging means,
Used when setting the imaging timing prior to the inspection,
Display means capable of displaying the setting image based on a setting image which is an image for calculating a positional deviation amount imaged by the imaging means in a state where the packaging film is stopped;
A measurement frame that has a predetermined width in the conveyance direction of the packaging film with respect to the setting image displayed on the display means and is set so as to fit the PTP sheet corresponding region is set as an imaging target position of the packaging film. Settable imaging target position setting means;
A positional deviation amount calculating means for calculating a positional deviation amount between the appropriate imaging position automatically set within the range of the field of view by the imaging means and the imaging target position;
An inspection apparatus comprising: an imaging timing calculation unit that calculates an appropriate imaging timing based on the imaging timing of the setting image and the positional deviation amount .
搬送される帯状の包装用フィルムに形成されたポケット部に錠剤が収容され、当該ポケット部を塞ぐようにカバーフィルムが取着されるPTPシートの製造に際し用いられ、
前記錠剤の収容された前記包装用フィルムに対して所定の光を照射する照明手段と、
光の照射された前記包装用フィルムを視野の範囲内で撮像する撮像手段と、
前記撮像手段の撮像タイミングを制御するタイミング制御手段と、
前記撮像手段から出力される画像信号を処理する画像処理手段とを備え、
前記包装用フィルムが所定長搬送される毎に、前記包装用フィルムの撮像対象が前記撮像手段により撮像されるよう構成された検査装置であって、
検査に先だって行われる撮像タイミングの設定に際し用いられ、
前記撮像手段により前記包装用フィルムを停止させた状態で撮像された少なくとも前記位置ズレ量を算出するための画像である設定用画像を表示可能な表示手段と、
前記表示手段に表示される前記設定用画像に対し前記包装用フィルムの搬送方向に所定幅を有し、PTPシート対応領域が収まるように設定された計測枠を前記撮像対象位置として設定可能な撮像対象位置設定手段と、
前記撮像対象位置を検出する撮像対象位置検出手段と、
前記設定用画像を基に前記撮像手段による視野の範囲内で自動的に設定される適正撮像位置を検出する適正撮像位置検出手段と、
前記適正撮像位置と前記撮像対象位置との位置ズレ量を算出する位置ズレ量算出手段と、
前記設定用画像の撮像タイミングと前記位置ズレ量とを基に適正な撮像タイミングを算出する撮像タイミング算出手段とを備えることを特徴とする検査装置。
The tablet is accommodated in the pocket portion formed in the belt-shaped packaging film to be transported, and used for manufacturing the PTP sheet to which the cover film is attached so as to close the pocket portion,
Illumination means for irradiating the packaging film containing the tablet with predetermined light;
Imaging means for imaging the packaging film irradiated with light within a field of view;
Timing control means for controlling the imaging timing of the imaging means;
Image processing means for processing an image signal output from the imaging means,
Each time the packaging film is conveyed for a predetermined length, an inspection device configured to capture an image of the packaging film with the imaging means,
Used when setting the imaging timing prior to the inspection,
Display means capable of displaying a setting image, which is an image for calculating at least the positional deviation amount imaged in a state where the packaging film is stopped by the imaging means;
Imaging that has a predetermined width in the conveyance direction of the packaging film with respect to the setting image displayed on the display means, and that can be set as the imaging target position and is set so that the PTP sheet corresponding region is accommodated A target position setting means;
Imaging target position detecting means for detecting the imaging target position;
Appropriate imaging position detection means for detecting an appropriate imaging position that is automatically set within the field of view by the imaging means based on the setting image;
A positional deviation amount calculating means for calculating a positional deviation amount between the appropriate imaging position and the imaging target position;
An inspection apparatus comprising: an imaging timing calculation unit that calculates an appropriate imaging timing based on the imaging timing of the setting image and the positional deviation amount .
前記設定用画像に対し前記適正撮像位置を自動的に設定可能な適正撮像位置設定手段を備えていることを特徴とする請求項1又は2に記載の検査装置。   The inspection apparatus according to claim 1, further comprising an appropriate imaging position setting unit capable of automatically setting the appropriate imaging position for the setting image. 前記適正撮像位置設定手段による前記適正撮像位置の設定に際し、当該位置に前記包装用フィルムの搬送方向に所定幅を有する基準枠を設定可能としたことを特徴とする請求項3に記載の検査装置。   The inspection apparatus according to claim 3, wherein when setting the proper image pickup position by the appropriate image pickup position setting unit, a reference frame having a predetermined width in the conveyance direction of the packaging film can be set at the position. . 前記位置ズレ量をタイミングズレ量に換算するズレ量換算手段を備えていることを特徴とする請求項1乃至4のいずれかに記載の検査装置。   The inspection apparatus according to claim 1, further comprising a shift amount conversion unit that converts the positional shift amount into a timing shift amount. 請求項1乃至5のいずれかに記載の検査装置を備えたことを特徴とするPTP包装機。   A PTP packaging machine comprising the inspection device according to claim 1.
JP2005021041A 2005-01-28 2005-01-28 Inspection device and PTP packaging machine Active JP4477516B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005021041A JP4477516B2 (en) 2005-01-28 2005-01-28 Inspection device and PTP packaging machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005021041A JP4477516B2 (en) 2005-01-28 2005-01-28 Inspection device and PTP packaging machine

Publications (2)

Publication Number Publication Date
JP2006208209A JP2006208209A (en) 2006-08-10
JP4477516B2 true JP4477516B2 (en) 2010-06-09

Family

ID=36965236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005021041A Active JP4477516B2 (en) 2005-01-28 2005-01-28 Inspection device and PTP packaging machine

Country Status (1)

Country Link
JP (1) JP4477516B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6254055B2 (en) * 2014-08-25 2017-12-27 Ckd株式会社 PTP packaging machine
WO2018163639A1 (en) * 2017-03-06 2018-09-13 日本電気株式会社 Inspection system, inspection method, and inspection program
JP7023733B2 (en) * 2018-02-09 2022-02-22 株式会社Screenホールディングス Judgment device, judgment method, tablet printing device and tablet printing method
JP7429205B2 (en) 2021-05-13 2024-02-07 アンリツ株式会社 Article inspection equipment

Also Published As

Publication number Publication date
JP2006208209A (en) 2006-08-10

Similar Documents

Publication Publication Date Title
JP4368808B2 (en) Appearance inspection device and PTP packaging machine
JP6411599B1 (en) Blister packing machine
JP5721278B2 (en) PTP sheet inspection system
JP6251215B2 (en) Blister packing machine
JP2007069950A (en) Ptp sheet manufacturing device
JP6613353B2 (en) Appearance inspection device and blister packaging machine
KR20200043975A (en) Visual inspection device and blister packing machine
JP4477516B2 (en) Inspection device and PTP packaging machine
JP5993358B2 (en) Inspection device and PTP packaging machine
JP4368813B2 (en) Inspection device and PTP packaging machine
JP4213108B2 (en) Lighting device for visual inspection
JP6027047B2 (en) Inspection system and PTP packaging machine
JP4684172B2 (en) Appearance inspection apparatus and PTP sheet manufacturing apparatus
JP6188620B2 (en) Inspection device and PTP packaging machine
WO2022215296A1 (en) Inspection device, blister packaging machine, and method for manufacturing blister pack
JP5744414B2 (en) Tablet inspection device and PTP packaging machine
WO2021161619A1 (en) Inspection device, packaging sheet manufacturing device, and inspection method
JP4684173B2 (en) Appearance inspection apparatus and PTP sheet manufacturing apparatus
JP4213106B2 (en) Appearance inspection device and PTP packaging machine
JP5074476B2 (en) Tablet inspection device and PTP packaging machine
JP4251325B2 (en) Appearance inspection device and PTP packaging machine
JP4115978B2 (en) Appearance inspection device and PTP packaging machine
JP6444913B2 (en) Inspection device and blister packaging machine
JP5679650B2 (en) Tablet inspection device and PTP packaging machine
JP5783521B2 (en) Tablet inspection device and PTP packaging machine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090324

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090507

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100125

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4477516

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130319

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140319

Year of fee payment: 4