JP7446392B1 - Manufacturing equipment status confirmation system - Google Patents

Manufacturing equipment status confirmation system Download PDF

Info

Publication number
JP7446392B1
JP7446392B1 JP2022183111A JP2022183111A JP7446392B1 JP 7446392 B1 JP7446392 B1 JP 7446392B1 JP 2022183111 A JP2022183111 A JP 2022183111A JP 2022183111 A JP2022183111 A JP 2022183111A JP 7446392 B1 JP7446392 B1 JP 7446392B1
Authority
JP
Japan
Prior art keywords
target data
inspection
image data
video
video data
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
JP2022183111A
Other languages
Japanese (ja)
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 JP2022183111A priority Critical patent/JP7446392B1/en
Application granted granted Critical
Publication of JP7446392B1 publication Critical patent/JP7446392B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

【課題】不具合の発生原因などを把握するために必要な動画データをより確実にかつより容易に得ることができる製造装置の状況確認システムを提供する。【解決手段】確認システム50は、時系列順で保存された複数の静止フレーム画像データからなる動画データを得るカメラR1~R6と、ワーク自体及びワークに対する処理のうちの少なくとも一方についての良否を判定する検査装置C1~C4と、検査装置C1~C4により不良判定されたことをトリガーとして、動画データの中から所定の対象データを抽出して保存する対象データ保存部67とを備える。対象データ保存部67は、動画データのうち、前記トリガーが発生したときの静止フレーム画像データを基準とし、ワークの搬送量に対応する遡及フレーム数の分だけ遡った位置にある所定範囲のものを、対象データとして抽出して保存する。【選択図】 図11An object of the present invention is to provide a status confirmation system for manufacturing equipment that can more reliably and more easily obtain video data necessary for understanding the cause of a malfunction. A confirmation system 50 determines the quality of cameras R1 to R6 that obtain video data consisting of a plurality of still frame image data stored in chronological order, and at least one of the workpiece itself and processing for the workpiece. and a target data storage unit 67 that extracts and stores predetermined target data from video data, triggered by a defective determination by the testers C1 to C4. The target data storage unit 67 stores video data in a predetermined range at a position that is traced back by the number of retroactive frames corresponding to the transport amount of the workpiece, based on the still frame image data when the trigger occurs. , extract and save as target data. [Selection diagram] Figure 11

Description

本発明は、搬送されるワークに対し各種処理を施す製造装置において、製造に係る不具合が発生したときに、その不具合の発生状況を確認するためのシステムに関する。 TECHNICAL FIELD The present invention relates to a system for confirming the occurrence status of a manufacturing defect when it occurs in a manufacturing apparatus that performs various processes on transported workpieces.

製造装置としては、順序を変えることなく搬送されるワークに対し、各種処理を繰り返し施すことで、各種製品を製造するものがある。このような製造装置としては、例えば、ワークとしての容器フィルムを搬送しつつ、該容器フィルムに対し各種処理を繰り返し施すことで、製品としてのブリスタシートを順次製造するブリスタ包装機を挙げることができる。各種処理には、例えば、容器フィルムにポケット部を形成する処理や、ポケット部に錠剤などの内容物を収容する処理、容器フィルムに対しカバーフィルムを取着する処理などが含まれる。 Some manufacturing devices manufacture various products by repeatedly performing various processes on workpieces that are transported without changing the order. An example of such manufacturing equipment is a blister packaging machine that sequentially manufactures blister sheets as products by repeatedly performing various treatments on the container film while conveying the container film as a workpiece. . The various processes include, for example, a process of forming a pocket in the container film, a process of storing contents such as a tablet in the pocket, a process of attaching a cover film to the container film, and the like.

ところで、製品の製造中に、ワーク自体やワークに対する処理についての不具合が生じることがある。例えば、ブリスタ包装機では、処理前の容器フィルムに孔や汚れがあったり、ポケット部の成形不良が生じたり、ポケット部に対し内容物が適切な状態で収容されなかったり、容器フィルムに対するカバーフィルムの取着が不十分になったりすることがある。このような不具合が生じた場合には、同種の不具合が再度発生することを防止すべく、適切な対応をとる必要がある。 By the way, during the manufacturing of a product, problems may occur in the work itself or in the processing of the work. For example, in a blister packaging machine, the container film before processing may have holes or dirt, the pocket may be poorly formed, the contents may not be properly accommodated in the pocket, or the cover film may not be properly placed on the container film. may become insufficiently attached. When such a problem occurs, it is necessary to take appropriate measures to prevent the same type of problem from occurring again.

そこで、ワーク等を撮像する撮像手段(カメラなど)と、該撮像手段により得られた画像データに基づき良否判定を行う判定手段とを備え、該判定手段によりワーク自体やワークに対する処理についての良否を判定するとともに、良否判定に用いた画像データと、良否判定結果とを関連付けて記憶する検査装置を設けることが提案されている(例えば、特許文献1等参照)。この検査装置によれば、検査状況の把握が可能になるとともに、検査状況が適切でない場合に、適切な対応をとることが可能となる。 Therefore, it is equipped with an imaging means (such as a camera) that takes an image of the workpiece, etc., and a determination means that makes a quality judgment based on the image data obtained by the imaging means. It has been proposed to provide an inspection device that performs the judgment and stores the image data used for the pass/fail judgment in association with the pass/fail judgment result (see, for example, Patent Document 1). According to this inspection device, it becomes possible to grasp the inspection status and to take appropriate measures when the inspection status is not appropriate.

また、ワーク自体やワークに対する処理の実行状況を撮影して動画データを得る撮影手段と、得られた動画データを保存するメモリと、ワークの搬送路に設置された検査装置(検出装置)から出力された信号をトリガー信号として入力するための外部入力手段とを備えた工程監視装置を設けることも提案されている(例えば、特許文献2等参照)。この装置では、検査装置によってワークに係る不具合が検出されて、トリガー信号が入力されると、メモリに保存された動画データのうち、トリガー信号が入力された時点から設定時間以上過去に遡った動画データが、上書き不可の動画データとして保存される。従って、ワーク自体やワークに対する処理についての不具合が発生した場合には、上書き不可の動画データを利用することで、適切な対応をとることが可能になると考えられる。 In addition, there is a photographing means for capturing video data by photographing the workpiece itself and the execution status of processing on the workpiece, a memory for storing the obtained video data, and output from an inspection device (detection device) installed on the workpiece conveyance path. It has also been proposed to provide a process monitoring device equipped with an external input means for inputting the generated signal as a trigger signal (see, for example, Patent Document 2). In this device, when a defect related to the workpiece is detected by the inspection device and a trigger signal is input, the system uses video data stored in the memory that goes back more than a set time from the time the trigger signal was input. The data is saved as video data that cannot be overwritten. Therefore, if a problem occurs with the work itself or the processing on the work, it is considered possible to take appropriate measures by using non-overwritable video data.

特開2006-214814号公報JP2006-214814A 特開2016-122319号公報Japanese Patent Application Publication No. 2016-122319

しかしながら、上記特許文献1,2に記載の各装置では、不具合の発生防止のための適切な対応を十分にとることができなかったり、適切な対応をとることが難しくなったりするおそれがある。 However, with each of the devices described in Patent Documents 1 and 2, there is a risk that it may not be possible to take sufficient appropriate measures to prevent the occurrence of defects, or that it may be difficult to take appropriate measures.

まず、上記特許文献1に記載の検査装置は、あくまで良否判定に用いた画像データを保存しているに過ぎない。そのため、不具合が発生したこと自体を確認することはできるが、その不具合の発生原因や発生時期を把握することができないことがある。例えば、製造装置がブリスタ包装機であり、ポケット部に内容物が収容されていないといった不具合が生じたとする。この場合、画像データからは、その不具合の発生自体を確認することはできるが、ポケット部に内容物が収容されていないという不具合がどの処理の時点で生じたのかが分からないことがある。そのため、不具合の発生原因や発生時期を把握することはできず、不具合の発生防止のための適切な対応を十分にとることができないおそれがある。 First, the inspection device described in Patent Document 1 merely stores image data used for quality determination. Therefore, although it is possible to confirm that a problem has occurred, it may not be possible to understand the cause or timing of the problem. For example, assume that the manufacturing device is a blister packaging machine, and a problem occurs in which the contents are not accommodated in the pockets. In this case, although it is possible to confirm the occurrence of the problem from the image data, it may not be possible to know at what point in the process the problem of no contents being stored in the pocket occurred. Therefore, it is not possible to understand the cause or timing of the occurrence of the malfunction, and there is a possibility that appropriate measures cannot be taken to prevent the occurrence of the malfunction.

また、上記特許文献2に記載の装置において、上書き不可の動画データとして保存されるのは、トリガー信号が入力された時点から設定時間以上過去に遡った動画データとなる。そのため、上書き不可の動画データが、不具合の発生原因を把握するために必要な動画データの他に、不具合とは無関係の多くの動画データを含むものとなり得る。そのため、必要な動画データを探し出すことが非常に難しくなり、不具合の発生防止のための適切な対応をとることが難しくなるおそれがある。 Furthermore, in the device described in Patent Document 2, what is saved as non-overwritable video data is video data that goes back more than a set time from the time when the trigger signal was input. Therefore, the non-overwritable video data may include not only the video data necessary to understand the cause of the problem, but also a lot of video data unrelated to the problem. Therefore, it becomes extremely difficult to find necessary video data, and it may become difficult to take appropriate measures to prevent the occurrence of defects.

例えば、製造装置がブリスタ包装機であって、撮影手段から検査装置までの距離が比較的大きなものであり、また、ポケット部に対する内容物の充填速度が非常に高いもの(例えば6000個/分)であるとする。この場合、撮影手段から検査装置までの距離に対応して上書き不可の動画データを比較的長時間のものとする必要がある一方、充填速度が非常に高いから、上書き不可の動画データの全体に対し、必要な動画データはごく一部となる。そのため、必要な動画データを探し出すことが非常に難しい。 For example, the manufacturing equipment is a blister packaging machine, the distance from the imaging means to the inspection equipment is relatively long, and the filling speed of the contents into the pockets is very high (for example, 6000 pieces/min). Suppose that In this case, it is necessary to make the non-overwritable video data relatively long in accordance with the distance from the imaging means to the inspection device, but since the filling speed is extremely high, the entire non-overwritable video data On the other hand, only a small portion of the video data is required. Therefore, it is extremely difficult to search for necessary video data.

さらに、上書き不可の動画データは、時間(設定時間)に基づき特定されるから、ワークの搬送速度に変動が生じたような場合には、上書き不可の動画データの中に、必要な動画データが含まれていないといった事態が生じ得る。このような事態が生じると、不具合の発生防止のための適切な対応をとることができなくなる。 Furthermore, video data that cannot be overwritten is specified based on time (set time), so if there is a change in the transport speed of the workpiece, necessary video data may be included in the video data that cannot be overwritten. There may be a situation where it is not included. When such a situation occurs, it becomes impossible to take appropriate measures to prevent the occurrence of defects.

本発明は、上記事情に鑑みてなされたものであり、その目的は、不具合の発生原因などを把握するために必要な動画データをより確実にかつより容易に得ることができる製造装置の状況確認システムを提供することにある。 The present invention has been made in view of the above circumstances, and its purpose is to check the status of manufacturing equipment so that video data necessary for understanding the causes of defects can be obtained more reliably and more easily. The goal is to provide a system.

以下、上記目的を解決するのに適した各手段につき、項分けして説明する。なお、必要に応じて対応する手段に特有の作用効果を付記する。 In the following, each means suitable for solving the above object will be explained in terms of sections. Note that effects specific to the corresponding means will be added as necessary.

手段1.搬送方向に沿った順序を変えることなく搬送されるワークに対し、同一処理を繰り返し施す製造装置に用いられ、製造に係る不具合の発生状況を動画によって確認するための製造装置の状況確認システムであって、
前記ワークの搬送経路に沿って配置され、時系列順で保存された複数の静止フレーム画像データからなる、前記ワーク自体又は前記ワークに対する処理に係る動画データを得る動画撮影手段と、
前記ワーク自体及び前記ワークに対する処理のうちの少なくとも一方についての良否を判定する検査手段と、
前記検査手段により不良判定されたことをトリガーとして、前記動画データの中から所定の対象データを抽出して保存する対象データ保存手段とを備え、
前記対象データ保存手段は、前記動画データのうち、前記トリガーが発生したときの前記静止フレーム画像データを基準とし、前記検査手段による不良判定に関係する前記動画撮影手段から該検査手段に対する前記ワークの搬送量に対応する遡及フレーム数の分だけ遡った位置にある所定範囲のものを、前記対象データとして抽出して保存するように構成され
少なくとも前記ワークの搬送に係る基準となる回転数及び位相を生成可能なマスターエンコーダを備え、
前記動画撮影手段は、前記マスターエンコーダの起動に合わせて前記動画データの撮影を開始するとともに、前記マスターエンコーダの停止に合わせて前記動画データの撮影を終了するように構成されており、
前記マスターエンコーダにより生成される回転数及び位相に基づき、前記遡及フレーム数を導出可能な遡及フレーム数導出手段を有することを特徴とする製造装置の状況確認システム。
Means 1. This is a status confirmation system for manufacturing equipment that is used in manufacturing equipment that repeatedly performs the same process on workpieces that are transported without changing the order along the transport direction, and is used to check the occurrence of manufacturing defects using videos. hand,
a moving image capturing means for obtaining moving image data related to the work itself or processing on the work, which consists of a plurality of still frame image data arranged along a conveyance path of the work and stored in chronological order;
Inspection means for determining the quality of at least one of the workpiece itself and the processing for the workpiece;
target data storage means for extracting and storing predetermined target data from the video data, triggered by the determination of the defect by the inspection means;
The target data storage means uses the still frame image data of the moving image data at the time when the trigger occurs as a reference, and stores the work from the moving image capturing means to the inspecting means related to the defect determination by the inspecting means. configured to extract and save as the target data data in a predetermined range located at a position as far back as the number of retroactive frames corresponding to the amount of transport ;
At least a master encoder capable of generating a reference rotation speed and phase for transporting the workpiece,
The video shooting means is configured to start shooting the video data when the master encoder is activated, and to end shooting the video data when the master encoder stops;
A system for checking the status of a manufacturing device , comprising retroactive frame number deriving means capable of deriving the retroactive frame number based on the rotation speed and phase generated by the master encoder .

上記手段1によれば、対象データ保存手段は、動画撮影手段により得られた動画データの中から、所定の対象データを抽出して保存する。この対象データの抽出にあたっては、動画データのうち、トリガーが発生したとき(不良判定されたとき)の静止フレーム画像データを基準とし、検査手段による不良判定に関係する動画撮影手段から該検査手段に対するワークの搬送量に対応する遡及フレーム数の分だけ遡った位置にある所定範囲のものが、対象データとして抽出される。 According to the above means 1, the target data storage means extracts and stores predetermined target data from the moving image data obtained by the moving image photographing means. In extracting this target data, the still frame image data of the video data when the trigger occurs (when it is determined to be defective) is used as a reference, and from the video capturing means related to the defective determination by the inspection means to the inspection means. Data in a predetermined range located at a position that is traced back by the number of retroactive frames corresponding to the amount of workpiece conveyance is extracted as target data.

すなわち、上記手段1によれば、時間ではなく、ワークの搬送量に基づき動画データの中から対象データが抽出される。従って、動画データの中から、対象データとして、不具合の発生原因や発生時期の把握に必要な動画データをピンポイントで抽出することができ、必要な動画データをより確実にかつより容易に得ることができる。また、ワークの搬送量に基づいて対象データを抽出するから、ワークの搬送速度に変動が生じたような場合であっても、不具合の発生原因などを把握するために必要な動画データをより確実に得ることができる。 That is, according to the above-mentioned means 1, target data is extracted from the video data based on the conveyance amount of the workpiece instead of the time. Therefore, it is possible to pinpoint the video data necessary for understanding the cause and timing of occurrence of a problem as target data from the video data, and to obtain the necessary video data more reliably and more easily. Can be done. In addition, since the target data is extracted based on the amount of workpiece conveyance, even if there is a fluctuation in the workpiece conveyance speed, the video data necessary to understand the cause of the problem can be more reliably obtained. can be obtained.

また、上記手段によれば、少なくともワークの搬送に係る基準となる回転数及び位相を生成可能なマスターエンコーダが設けられている。また、動画撮影手段は、マスターエンコーダの起動に合わせて動画データの撮影を開始し、マスターエンコーダの停止に合わせて動画データの撮影を終了する。従って、動画データを構成する複数の静止フレーム画像データは、マスターエンコーダの回転数及び位相に対応付けられた状態となる。 Further, according to the above-mentioned means 1 , there is provided a master encoder capable of generating at least the rotation speed and phase that serve as a reference for transporting the workpiece. Further, the video capturing means starts capturing video data when the master encoder is activated, and ends capturing video data when the master encoder stops. Therefore, a plurality of still frame image data constituting the moving image data are associated with the rotation speed and phase of the master encoder.

そして、遡及フレーム数導出手段は、マスターエンコーダにより生成される回転数及び位相に基づき、遡及フレーム数を導出する。従って、上記の通り、動画データにおいて、複数の静止フレーム画像データとマスターエンコーダの回転数及び位相とが対応付けられた状態となることに合わせて、この動画データに合う遡及フレーム数をより正確に導出することができる。その結果、対象データとして、不具合の発生原因などを把握するために必要な動画データを一層確実に得ることができる。 The retrospective frame number deriving means derives the retrospective frame number based on the rotation speed and phase generated by the master encoder. Therefore, as described above, in the video data, multiple still frame image data and the rotation speed and phase of the master encoder are associated with each other, and the number of retroactive frames that match this video data can be determined more accurately. can be derived. As a result, it is possible to more reliably obtain, as target data, video data necessary for understanding the cause of a malfunction.


手段.前記動画撮影手段により得られた前記動画データは、前記静止フレーム画像データごとに、該静止フレーム画像データが得られたときの時刻を示す実時刻タイムコードを付した形式で所定のリングバッファに保存されており、
前記マスターエンコーダにより生成される回転数及び位相と、前記実時刻タイムコードとの対応関係を示す変換テーブルを用いて、前記マスターエンコーダにより生成される回転数及び位相を、前記実時刻タイムコードに変換する変換手段を有し、
前記対象データ保存手段は、前記変換手段によって、前記マスターエンコーダにより生成される回転数及び位相を、前記実時刻タイムコードに変換するとともに、該実時刻タイムコードを利用して、前記リングバッファに保存された前記動画データの中から前記対象データを抽出して保存するように構成されていることを特徴とする手段に記載の製造装置の状況確認システム。

Means 2 . The moving image data obtained by the moving image capturing means is stored in a predetermined ring buffer in a format in which a real time time code indicating the time when the still frame image data is obtained is attached to each of the still frame image data. has been
Converting the rotation speed and phase generated by the master encoder into the real time time code using a conversion table showing the correspondence between the rotation speed and phase generated by the master encoder and the real time time code. has a conversion means to
The target data storage means converts the rotation speed and phase generated by the master encoder into the real time time code by the conversion means, and stores the real time time code in the ring buffer using the real time time code. The system for checking the status of a manufacturing apparatus according to means 1 , characterized in that the system is configured to extract and save the target data from the video data that has been processed.

上記手段によれば、動画データは、リングバッファに保存される。従って、動画データを保存するためのメモリ領域を節約することができる。また、動画データは、静止フレーム画像データが得られたときの時刻に関する情報を有するため、不具合がいつ発生したのか、不具合を生じさせた事象がどのようなスピードで生じたのかについて確認することができる。従って、不具合の発生防止のための対応をより適切にとることができる。 According to the above means 2 , the moving image data is stored in the ring buffer. Therefore, the memory area for storing video data can be saved. Additionally, since video data contains information about the time when the still frame image data was obtained, it is possible to confirm when the problem occurred and at what speed the event that caused the problem occurred. can. Therefore, it is possible to take more appropriate measures to prevent the occurrence of defects.

また、上記手段によれば、変換手段を用いることで、マスターエンコーダにより生成される回転数及び位相を、実時刻タイムコードに変換することができる。そして、この実時刻タイムコードを利用して、動画データの中から対象データを抽出することができる。従って、対象データとして、不具合の発生原因などを把握するために必要な動画データを一層確実に得ることができる。 Moreover, according to the above means 2 , by using the converting means, the rotation speed and phase generated by the master encoder can be converted into a real time time code. Then, using this real time time code, target data can be extracted from the video data. Therefore, as the target data, it is possible to more reliably obtain the video data necessary to understand the cause of the occurrence of the malfunction.

手段.前記動画撮影手段により得られた前記動画データは、前記静止フレーム画像データごとに、該静止フレーム画像データが得られたときの、前記マスターエンコーダにより生成される回転数及び位相を示す機械的タイムコードを付した形式で所定のリングバッファに保存されており、
前記対象データ保存手段は、前記機械的タイムコードを利用して、前記リングバッファに保存された前記動画データの中から前記対象データを抽出して保存するように構成されていることを特徴とする手段に記載の製造装置の状況確認システム。
Means 3 . The moving image data obtained by the moving image capturing means includes, for each still frame image data, a mechanical time code indicating the rotation speed and phase generated by the master encoder when the still frame image data was obtained. It is saved in the specified ring buffer in the format with
The target data storage means is configured to extract and store the target data from the video data stored in the ring buffer using the mechanical time code. A status confirmation system for manufacturing equipment according to means 1 .

上記手段によれば、動画データは、リングバッファに保存されるため、動画データを保存するためのメモリ領域を節約することができる。 According to the above means 3 , since the video data is stored in the ring buffer, the memory area for storing the video data can be saved.

また、上記手段によれば、変換手段を用いることなく、動画データの中から対象データを抽出することができる。従って、対象データの抽出に係る処理負担の低減を図ることができる。
手段4.前記動画撮影手段は、前記ワークの搬送方向に沿って複数設けられており、
前記検査手段には、複数の検査項目についての良否判定を行うものが含まれており、
前記検査項目と、前記検査項目に関係する前記動画撮影手段との対応関係を示す特定テーブルを用いて、複数の前記動画撮影手段の中から、不良判定された検査項目に関係するものを特定する撮影手段特定手段を有し、
前記対象データ保存手段は、前記撮影手段特定手段により特定された前記動画撮影手段が得た前記動画データの中から、前記対象データを抽出して保存するように構成されていることを特徴とする手段1乃至3のいずれか1項に記載の製造装置の状況確認システム。
Moreover, according to the above means 3 , target data can be extracted from video data without using a conversion means. Therefore, it is possible to reduce the processing load associated with extraction of target data.
Means 4. A plurality of the video shooting means are provided along the conveyance direction of the workpiece,
The inspection means includes one for determining pass/fail for a plurality of inspection items,
Using a specific table showing a correspondence relationship between the inspection item and the video capturing means related to the inspection item, one of the plurality of video capturing means related to the inspection item determined to be defective is specified. It has a photographing means identification means,
The target data storage means is configured to extract and store the target data from among the video data obtained by the video shooting means specified by the video shooting means specifying means. A status confirmation system for manufacturing equipment according to any one of means 1 to 3.

手段5.搬送方向に沿った順序を変えることなく搬送されるワークに対し、同一処理を繰り返し施す製造装置に用いられ、製造に係る不具合の発生状況を動画によって確認するための製造装置の状況確認システムであって、
前記ワークの搬送経路に沿って配置され、時系列順で保存された複数の静止フレーム画像データからなる、前記ワーク自体又は前記ワークに対する処理に係る動画データを得る動画撮影手段と、
前記ワーク自体及び前記ワークに対する処理のうちの少なくとも一方についての良否を判定する検査手段と、
前記検査手段により不良判定されたことをトリガーとして、前記動画データの中から所定の対象データを抽出して保存する対象データ保存手段とを備え、
前記対象データ保存手段は、前記動画データのうち、前記トリガーが発生したときの前記静止フレーム画像データを基準とし、前記検査手段による不良判定に関係する前記動画撮影手段から該検査手段に対する前記ワークの搬送量に対応する遡及フレーム数の分だけ遡った位置にある所定範囲のものを、前記対象データとして抽出して保存するように構成され、
前記動画撮影手段は、前記ワークの搬送方向に沿って複数設けられており、
前記検査手段には、複数の検査項目についての良否判定を行うものが含まれており、
前記検査項目と、前記検査項目に関係する前記動画撮影手段との対応関係を示す特定テーブルを用いて、複数の前記動画撮影手段の中から、不良判定された検査項目に関係するものを特定する撮影手段特定手段を有し、
前記対象データ保存手段は、前記撮影手段特定手段により特定された前記動画撮影手段が得た前記動画データの中から、前記対象データを抽出して保存するように構成されていることを特徴とする製造装置の状況確認システム。
Means 5. This is a manufacturing equipment status confirmation system used in manufacturing equipment that repeatedly performs the same process on workpieces that are transported without changing the order along the transport direction, and is used to check the occurrence of manufacturing defects using videos. hand,
a moving image capturing means for obtaining moving image data relating to the work itself or processing on the work, which consists of a plurality of still frame image data arranged along a conveyance path of the work and stored in chronological order;
Inspection means for determining the quality of at least one of the workpiece itself and the processing for the workpiece;
target data storage means for extracting and storing predetermined target data from the video data, triggered by a defective determination by the inspection means;
The target data storage means uses the still frame image data of the moving image data at the time when the trigger occurs as a reference, and stores the work from the moving image capturing means to the inspecting means related to the defect determination by the inspecting means. configured to extract and save as the target data data in a predetermined range located at a position as far back as the number of retroactive frames corresponding to the transport amount;
A plurality of the video shooting means are provided along the conveyance direction of the workpiece,
The inspection means includes one for determining pass/fail for a plurality of inspection items,
Using a specific table showing a correspondence relationship between the inspection item and the video capturing means related to the inspection item, one of the plurality of video capturing means related to the inspection item determined to be defective is specified. It has a photographing means identification means,
The target data storage means is configured to extract and save the target data from the video data obtained by the video capture means specified by the capture means identification means. A system for checking the status of manufacturing equipment.

上記手段4、5によれば、撮影手段特定手段によって、ある検査項目について不良判定された場合に、その検査項目に関係する1又は複数の動画撮影手段を特定することができる。そして、対象データ保存手段によって、特定された1又は複数の動画撮影手段が得た1又は複数の動画データの中から、対象データが抽出して保存される。従って、対象データの抽出をより容易に行うことが可能となる。 According to the above-mentioned means 4 and 5, when a certain inspection item is determined to be defective by the imaging means specifying means, one or more moving image capturing means related to the inspection item can be specified. Then, the target data storage means extracts and stores the target data from among the one or more moving image data obtained by the specified one or more moving image capturing means. Therefore, target data can be extracted more easily.

また、1の検査項目に対し、複数の動画撮影手段が関係する場合には、これら動画撮影手段により得られた複数の動画データから、複数の対象データを得ることができる。従って、不具合の発生原因などをより容易にかつより正確に把握することが可能となる。 Furthermore, when a plurality of moving image capturing means are involved in one inspection item, a plurality of target data can be obtained from a plurality of moving image data obtained by these moving image capturing means. Therefore, it becomes possible to more easily and accurately understand the cause of the malfunction.

PTPシートを示す斜視図である。It is a perspective view showing a PTP sheet. PTPシートの部分拡大断面図である。It is a partially enlarged sectional view of a PTP sheet. PTPフィルムを示す斜視図である。It is a perspective view showing a PTP film. PTP包装機などの概略構成を示す模式図である。FIG. 1 is a schematic diagram showing a schematic configuration of a PTP packaging machine and the like. 確認システムなどの概略構成を示すブロック図である。FIG. 2 is a block diagram showing a schematic configuration of a confirmation system and the like. マスターエンコーダにより生成される回転数及び位相を基準として動作する各種装置を示すブロック図である。FIG. 2 is a block diagram showing various devices that operate based on the rotation speed and phase generated by a master encoder. マスターエンコーダにより生成される回転数及び位相と時間との関係を示すグラフである。It is a graph showing the relationship between the rotation speed and phase generated by the master encoder and time. マスターエンコーダにおける位相と、第一エンコーダにおける位相との関係を説明するための説明図である。FIG. 3 is an explanatory diagram for explaining the relationship between the phase in the master encoder and the phase in the first encoder. マスターエンコーダにおける位相と、第二エンコーダにおける位相との関係を説明するための説明図である。FIG. 3 is an explanatory diagram for explaining the relationship between the phase in a master encoder and the phase in a second encoder. マスターエンコーダにおける位相と、第三、第四エンコーダにおける位相との関係を説明するための説明図である。FIG. 7 is an explanatory diagram for explaining the relationship between the phase in the master encoder and the phases in the third and fourth encoders. 制御装置などの概略構成を示すブロック図である。FIG. 2 is a block diagram showing a schematic configuration of a control device and the like. 保存された動画データを説明するための説明図である。FIG. 3 is an explanatory diagram for explaining saved video data. 特定テーブルを説明するための説明図である。It is an explanatory diagram for explaining a specific table. 変換テーブル等について説明するための説明図である。FIG. 3 is an explanatory diagram for explaining a conversion table and the like. 第二カメラから第一検査装置までの容器フィルムの搬送量について説明するための説明図である。It is an explanatory view for explaining the conveyance amount of the container film from the second camera to the first inspection device. 第一検査装置及び第二カメラに係る遡及フレーム数導出式の一例を示すグラフである。It is a graph which shows an example of a retrospective frame number derivation formula concerning a first inspection device and a second camera. 第四カメラから第二検査装置までの容器フィルムの搬送量について説明するための説明図である。It is an explanatory view for explaining the conveyance amount of a container film from a fourth camera to a second inspection device. 第二検査装置及び第四カメラに係る遡及フレーム数導出式の一例を示すグラフである。It is a graph which shows an example of a retroactive frame number derivation formula concerning a second inspection device and a fourth camera. 別の実施形態において、保存された動画データを説明するための説明図である。FIG. 7 is an explanatory diagram for explaining saved video data in another embodiment.

以下に、一実施形態について図面を参照しつつ説明する。まず、「製品」としてのPTPシートの構成について説明する。図1,2に示すように、PTPシート1は、複数のポケット部2を備えた容器フィルム3と、ポケット部2を塞ぐようにして容器フィルム3に取着されたカバーフィルム4とを有している。 An embodiment will be described below with reference to the drawings. First, the structure of a PTP sheet as a "product" will be explained. As shown in FIGS. 1 and 2, the PTP sheet 1 includes a container film 3 having a plurality of pockets 2, and a cover film 4 attached to the container film 3 so as to close the pockets 2. ing.

本実施形態における容器フィルム3は、例えばPP(ポリプロピレン)やPVC(ポリ塩化ビニル)等の透明の熱可塑性樹脂材料により形成されている。一方、カバーフィルム4は、例えばポリプロピレン樹脂等からなるシーラントが表面に設けられた不透明材料(例えばアルミニウム箔等)により構成されている。勿論、各フィルム3,4の材料は、これらに限定されるものではなく、他の材質のものを採用してもよい。 The container film 3 in this embodiment is made of a transparent thermoplastic resin material such as PP (polypropylene) or PVC (polyvinyl chloride). On the other hand, the cover film 4 is made of an opaque material (for example, aluminum foil, etc.) on the surface of which a sealant made of, for example, polypropylene resin or the like is provided. Of course, the materials for each of the films 3 and 4 are not limited to these, and other materials may be used.

PTPシート1は、帯状の容器フィルム3及び帯状のカバーフィルム4から形成された帯状のPTPフィルム6(図3参照)が打抜かれることによって製造されるものであり、平面視略矩形状に形成されている。 The PTP sheet 1 is manufactured by punching out a strip-shaped PTP film 6 (see FIG. 3) formed from a strip-shaped container film 3 and a strip-shaped cover film 4, and is formed into a substantially rectangular shape in plan view. has been done.

PTPシート1には、その長手方向に沿って配列された5個のポケット部2からなるポケット列が、その短手方向に2列形成されている。各ポケット部2には、「内容物」としての錠剤5が1つずつ収容されている。尚、錠剤5は、各種情報などが印刷されたものであってもよい。 In the PTP sheet 1, two rows of pockets are formed in the transverse direction, each consisting of five pockets 2 arranged along the longitudinal direction of the PTP sheet 1. Each pocket part 2 accommodates one tablet 5 as "contents". Note that the tablet 5 may have various information printed thereon.

次に、上記PTPシート1を製造するためのPTP包装機10の概略構成について説明する。本実施形態では、PTP包装機10が「製造装置」及び「ブリスタ包装機」に相当する。PTP包装機10は、搬送方向に沿った順序を変えることなく搬送される「ワーク」としての容器フィルム3に対し同一処理を繰り返し施す装置である。尚、本実施形態では、容器フィルム3を備えたPTPシート1も「ワーク」に相当する。 Next, a schematic configuration of the PTP packaging machine 10 for manufacturing the above-mentioned PTP sheet 1 will be explained. In this embodiment, the PTP packaging machine 10 corresponds to a "manufacturing device" and a "blister packaging machine." The PTP packaging machine 10 is a device that repeatedly performs the same processing on the container film 3 as a "work" that is transported without changing the order along the transport direction. In this embodiment, the PTP sheet 1 provided with the container film 3 also corresponds to the "work".

図4に示すように、PTP包装機10の最上流側では、帯状の容器フィルム3の原反がロール状に巻回されている。ロール状に巻回された容器フィルム3の引出し端側は、ガイドロール13に案内されている。容器フィルム3は、ガイドロール13の下流側において間欠送りロール14に掛装されている。間欠送りロール14は、容器フィルム3を間欠的に搬送する。 As shown in FIG. 4, on the most upstream side of the PTP packaging machine 10, the original fabric of the strip-shaped container film 3 is wound into a roll. The drawn-out end side of the container film 3 wound into a roll is guided by a guide roll 13. The container film 3 is hung on an intermittent feed roll 14 on the downstream side of the guide roll 13. The intermittent feed roll 14 intermittently conveys the container film 3.

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

間欠送りロール14から送り出された容器フィルム3は、テンションロール18、ガイドロール19及びフィルム受けロール20の順に掛装されている。フィルム受けロール20は、容器フィルム3を連続的に且つ一定速度で搬送する。テンションロール18は、間欠送りロール14とフィルム受けロール20との搬送動作の相違による容器フィルム3の弛みを防止して容器フィルム3を常時緊張状態に保持する。 The container film 3 sent out from the intermittent feed roll 14 is hung over a tension roll 18, a guide roll 19, and a film receiving roll 20 in this order. The film receiving roll 20 conveys the container film 3 continuously and at a constant speed. The tension roll 18 prevents the container film 3 from loosening due to the difference in conveyance operation between the intermittent feed roll 14 and the film receiving roll 20, and keeps the container film 3 in a constant state of tension.

ガイドロール19とフィルム受けロール20との間には、容器フィルム3の搬送経路に沿って、充填装置22が配設されている。 A filling device 22 is disposed between the guide roll 19 and the film receiving roll 20 along the conveyance path of the container film 3.

充填装置22は、例えば所定間隔毎にシャッタを開いて錠剤5を自由落下させること等により各ポケット部2に錠剤5を充填する。 The filling device 22 fills each pocket portion 2 with tablets 5 by, for example, opening a shutter at predetermined intervals to allow the tablets 5 to fall freely.

一方、帯状に形成されたカバーフィルム4の原反は、最上流側においてロール状に巻回されている。ロール状に巻回されたカバーフィルム4の引出し端は、ガイドロール24によって加熱ロール25の方へと案内されている。 On the other hand, the original fabric of the cover film 4 formed into a band shape is wound into a roll shape on the most upstream side. The drawn-out end of the cover film 4 wound into a roll is guided toward a heating roll 25 by a guide roll 24 .

加熱ロール25は、前記フィルム受けロール20に圧接可能となっており、両ロール20,25間に容器フィルム3及びカバーフィルム4が送り込まれるようになっている。そして、両フィルム3,4が両ロール20,25間を加熱圧接状態で通過することで、容器フィルム3にカバーフィルム4が取着され、ポケット部2がカバーフィルム4で塞がれる。これにより、錠剤5が各ポケット部2に収容された帯状のPTPフィルム6が製造される。本実施形態において、PTPフィルム6は「ブリスタフィルム」に相当する。 The heating roll 25 can be brought into pressure contact with the film receiving roll 20, so that the container film 3 and the cover film 4 are fed between both rolls 20 and 25. Then, by passing both the films 3 and 4 between the rolls 20 and 25 under heat and pressure, the cover film 4 is attached to the container film 3 and the pocket portion 2 is closed with the cover film 4. As a result, a strip-shaped PTP film 6 in which a tablet 5 is housed in each pocket portion 2 is manufactured. In this embodiment, the PTP film 6 corresponds to a "blister film".

フィルム受けロール20から送り出されたPTPフィルム6は、テンションロール27及び間欠送りロール28の順に掛装されている。間欠送りロール28は、PTPフィルム6を間欠的に搬送する。テンションロール27は、フィルム受けロール20と間欠送りロール28との搬送動作の相違によるPTPフィルム6の弛みを防止してPTPフィルム6を常時緊張状態に保持する。 The PTP film 6 sent out from the film receiving roll 20 is hung on a tension roll 27 and an intermittent feed roll 28 in this order. The intermittent feed roll 28 intermittently conveys the PTP film 6. The tension roll 27 prevents the PTP film 6 from loosening due to the difference in conveyance operation between the film receiving roll 20 and the intermittent feed roll 28, and keeps the PTP film 6 in a constant state of tension.

間欠送りロール28から送り出されたPTPフィルム6は、テンションロール31及び間欠送りロール32の順に掛装されている。間欠送りロール32は、PTPフィルム6を間欠的に搬送する。テンションロール31は、前記間欠送りロール28,32間でのPTPフィルム6の弛みを防止する。 The PTP film 6 sent out from the intermittent feed roll 28 is hung on a tension roll 31 and an intermittent feed roll 32 in this order. The intermittent feed roll 32 transports the PTP film 6 intermittently. The tension roll 31 prevents the PTP film 6 from loosening between the intermittent feed rolls 28 and 32.

間欠送りロール28とテンションロール31との間には、PTPフィルム6の搬送経路に沿って、スリット形成装置33及び刻印装置34が配設されている。スリット形成装置33は、PTPフィルム6の所定位置に切離用スリットを形成する。刻印装置34はPTPフィルム6の所定位置(例えばタグ部)に刻印を付す。尚、図1等では、切離用スリットや刻印の図示を省略している。 A slit forming device 33 and a marking device 34 are disposed between the intermittent feed roll 28 and the tension roll 31 along the conveyance path of the PTP film 6. The slit forming device 33 forms a separation slit at a predetermined position on the PTP film 6. The marking device 34 marks a predetermined position (for example, a tag portion) on the PTP film 6. Note that in FIG. 1 and the like, illustrations of the separation slit and the markings are omitted.

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

シート打抜装置37によって得られたPTPシート1は、コンベア39によって搬送され、完成品用ホッパ40に一旦貯留される。但し、後述する検査装置C1,C2,C3,C4のうちの少なくとも1つによって不良判定がなされた場合、不良判定に係るPTPシート1は、完成品用ホッパ40へ送られることなく、図示しない不良シート排出機構によって別途排出される。 The PTP sheet 1 obtained by the sheet punching device 37 is conveyed by a conveyor 39 and temporarily stored in a hopper 40 for finished products. However, if at least one of the inspection devices C1, C2, C3, and C4, which will be described later, determines that the PTP sheet 1 is defective, the PTP sheet 1 that has been determined to be defective will not be sent to the finished product hopper 40 and will be sent to a defective (not shown) It is separately ejected by the sheet ejection mechanism.

また、前記連続送りロール36の下流側には、裁断装置42が配設されている。そして、シート打抜装置37による打抜き後に帯状に残った残材部(スクラップ部)を構成する不要フィルム部43は、テンションロール35及び連続送りロール36に案内された後、裁断装置42に導かれる。裁断装置42は、不要フィルム部43を所定寸法に裁断する。裁断された不要フィルム部43(スクラップ)はスクラップ用ホッパ44に貯留された後、廃棄処理される。 Furthermore, a cutting device 42 is disposed downstream of the continuous feed roll 36. Then, the unnecessary film portion 43 constituting the band-shaped residual material portion (scrap portion) remaining after punching by the sheet punching device 37 is guided by the tension roll 35 and the continuous feed roll 36, and then guided to the cutting device 42. . The cutting device 42 cuts the unnecessary film portion 43 into predetermined dimensions. The cut unnecessary film portion 43 (scrap) is stored in a scrap hopper 44 and then disposed of.

次いで、上述した間欠送りロール14、フィルム受けロール20、間欠送りロール28,32及びコンベア39を動作させるための第一モータM1、第二モータM2、第三モータM3、第四モータM4及び第五モータM5について説明する。尚、以下では、これらを「モータM1~M5」と表記することがある。 Next, a first motor M1, a second motor M2, a third motor M3, a fourth motor M4, and a fifth motor are used to operate the intermittent feed roll 14, film receiving roll 20, intermittent feed rolls 28, 32, and conveyor 39 described above. The motor M5 will be explained. Note that hereinafter, these may be referred to as "motors M1 to M5."

第一モータM1は、間欠送りロール14を動作させることで、予熱装置15及びポケット部形成装置16による処理の対象となる容器フィルム3を間欠搬送するためのものである。本実施形態において、第一モータM1は、後述するマスターエンコーダEMによって生成される回転数が偶数(又は奇数)のときであって、マスターエンコーダEMによって生成される位相(回転角度)が所定値(角度α)となったタイミングで動作する。つまり、第一モータM1は、マスターエンコーダEMの回転数が2つ増加する度に1回だけ動作する。第一モータM1が1回動作することによって、容器フィルム3は所定長さ(本実施形態では、PTPシート1二枚分の長さ)だけ搬送される。 The first motor M1 operates the intermittent feed roll 14 to intermittently transport the container film 3 to be processed by the preheating device 15 and the pocket forming device 16. In the present embodiment, the first motor M1 operates when the rotational speed generated by the master encoder EM (described later) is an even number (or odd number), and the phase (rotation angle) generated by the master encoder EM is a predetermined value ( It operates at the timing when the angle α) is reached. That is, the first motor M1 operates only once every time the number of revolutions of the master encoder EM increases by two. By operating the first motor M1 once, the container film 3 is conveyed by a predetermined length (in this embodiment, the length of one or two PTP sheets).

第二モータM2は、フィルム受けロール20を動作させることで、前記両ロール20,25によってカバーフィルム4が取着される容器フィルム3を一定速度で連続搬送するためのものである。本実施形態では、マスターエンコーダEMの回転数が1増加し、第二モータM2が1回動作することによって、容器フィルム3が所定長さ(本実施形態では、PTPシート1一枚分)だけ搬送される。 The second motor M2 operates the film receiving roll 20 to continuously transport the container film 3 to which the cover film 4 is attached by the rolls 20 and 25 at a constant speed. In this embodiment, the rotation speed of the master encoder EM increases by 1 and the second motor M2 operates once, so that the container film 3 is conveyed by a predetermined length (in this embodiment, one PTP sheet). be done.

第三モータM3及び第四モータM4は、スリット形成装置33、刻印装置34及びシート打抜装置37による処理の対象となる容器フィルム3を間欠搬送するためのものである。本実施形態においては、マスターエンコーダEMの位相が所定値(角度α)となる度に、つまり、マスターエンコーダEMの回転数が1増加する度に、両モータM3,M4が1回動作することによって、容器フィルム3が所定長さ(本実施形態では、PTPシート1一枚分の長さ)だけ搬送される。 The third motor M3 and the fourth motor M4 are for intermittently transporting the container film 3 to be processed by the slit forming device 33, the marking device 34, and the sheet punching device 37. In this embodiment, each time the phase of the master encoder EM reaches a predetermined value (angle α), that is, each time the number of rotations of the master encoder EM increases by 1, both motors M3 and M4 operate once. , the container film 3 is conveyed by a predetermined length (in this embodiment, the length of one PTP sheet).

第五モータM5は、コンベア39を動作させることで、PTPシート1を間欠搬送するためのものである。本実施形態においては、マスターエンコーダEMの位相が所定値(角度α)となる度に、つまり、マスターエンコーダEMの回転数が1増加する度に、第五モータM5が1回動作することによって、PTPシート1が所定距離だけ間欠搬送される。尚、第五モータM5は、PTPシート1を連続搬送可能なものであってもよい。 The fifth motor M5 is for intermittently conveying the PTP sheet 1 by operating the conveyor 39. In this embodiment, the fifth motor M5 operates once every time the phase of the master encoder EM reaches a predetermined value (angle α), that is, every time the rotational speed of the master encoder EM increases by 1. PTP sheet 1 is intermittently conveyed by a predetermined distance. Note that the fifth motor M5 may be capable of continuously conveying the PTP sheet 1.

さらに、PTP包装機10に対しては、図5に示すように、製造装置の状況確認システム50(以下、単に「確認システム50」という)が適用されている。確認システム50は、PTPシート1の製造に係る不具合の発生状況などを画像によって確認可能とするためのものである。確認システム50は、容器フィルム3自体や容器フィルム3に対する処理についての良否を判定する機能、容器フィルム3や処理の実行状況についての動画データを得る機能、動画データの中から必要なデータのみを抽出して保存する機能などを具備している。確認システム50は、マスターモータMM、マスターエンコーダEM及び制御装置60などを備えている。 Furthermore, as shown in FIG. 5, a manufacturing equipment status confirmation system 50 (hereinafter simply referred to as "confirmation system 50") is applied to the PTP packaging machine 10. The confirmation system 50 is for making it possible to confirm the occurrence of defects related to the production of the PTP sheet 1 using images. The confirmation system 50 has a function of determining the quality of the container film 3 itself and the processing on the container film 3, a function of obtaining video data about the container film 3 and the processing execution status, and a function of extracting only necessary data from the video data. It has functions such as saving the data. The confirmation system 50 includes a master motor MM, a master encoder EM, a control device 60, and the like.

マスターモータMMは、一定速度で回転するサーボモータ等により構成されており、所定の回転駆動部(例えばモータ軸)を有している。マスターモータMMの起動及び停止は、制御装置60によって制御される。本実施形態において、マスターモータMM(回転駆動部)の動作速度は、PTP包装機10の動作開始時には徐々に増大していき、PTP包装機10の動作開始から一定時間経過後に一定となり、PTP包装機10の動作停止時には徐々に減少して、最終的に0となるようになっている。 The master motor MM is constituted by a servo motor or the like that rotates at a constant speed, and has a predetermined rotational drive section (for example, a motor shaft). Starting and stopping of master motor MM is controlled by control device 60. In this embodiment, the operating speed of the master motor MM (rotary drive unit) gradually increases when the PTP packaging machine 10 starts operating, becomes constant after a certain period of time has passed from the start of the PTP packaging machine 10, and the When the machine 10 stops operating, it gradually decreases and finally reaches 0.

マスターエンコーダEMは、PTP包装機10における各装置の動作制御の基準となる回転数及び位相を生成する。本実施形態において、マスターエンコーダEMは、マスターモータMMの前記回転駆動部に係る回転数及び位相を読み取り、この読み取った回転数及び位相を生成する。生成された回転数及び位相は、モータM1~M5の動作タイミングに係る基準(つまり容器フィルム3の搬送タイミングに係る基準)、後述する検査装置C1,C2,C3,C4による検査の実行タイミングに係る基準、後述するカメラR1,R2,R3,R4,R5,R6による撮影の実行タイミングに係る基準として用いられる。つまり、マスターエンコーダEMは、モータM1~M5、検査装置C1,C2,C3,C4及びカメラR1,R2,R3,R4,R5,R6の動作制御の基準となる回転数及び位相を生成する(図6参照)。 The master encoder EM generates the rotation speed and phase that serve as a reference for controlling the operation of each device in the PTP packaging machine 10. In this embodiment, the master encoder EM reads the rotation speed and phase of the rotational drive section of the master motor MM, and generates the read rotation speed and phase. The generated rotational speed and phase are standards related to the operation timing of the motors M1 to M5 (that is, standards related to the conveyance timing of the container film 3), and the timing of execution of inspection by inspection devices C1, C2, C3, and C4, which will be described later. The standard is used as a standard regarding the execution timing of photographing by cameras R1, R2, R3, R4, R5, and R6, which will be described later. In other words, the master encoder EM generates the rotational speed and phase that serve as the reference for operating control of the motors M1 to M5, inspection devices C1, C2, C3, C4, and cameras R1, R2, R3, R4, R5, and R6 (Fig. (see 6).

マスターエンコーダEMによって生成された回転数及び位相は、制御装置60へと入力される。本実施形態では、上記のようにマスターモータMMが動作することで、マスターエンコーダEMにより生成される位相及び回転数は、PTP包装機10の動作開始時には徐々に増大し、PTP包装機10の動作開始から一定時間経過後には一定速度で増大し、PTP包装機10の動作停止時には徐々に減少することとなる(図7参照)。 The rotation speed and phase generated by the master encoder EM are input to the control device 60. In this embodiment, as the master motor MM operates as described above, the phase and rotation speed generated by the master encoder EM gradually increase when the PTP packaging machine 10 starts operating, and the PTP packaging machine 10 operates. It increases at a constant speed after a certain period of time has passed from the start, and gradually decreases when the PTP packaging machine 10 stops operating (see FIG. 7).

次いで、制御装置60の説明に先立って、確認システム50が有するその他の装置について説明する。 Next, prior to explaining the control device 60, other devices included in the confirmation system 50 will be explained.

確認システム50は、容器フィルム3やPTPシート1の搬送経路に沿って、第一検査装置C1、第二検査装置C2、第三検査装置C3及び第四検査装置C4を備えている。以下では、これらを「検査装置C1~C4」と表記することがある。本実施形態において、検査装置C1~C4は、それぞれ「検査手段」に相当する。 The confirmation system 50 includes a first inspection device C1, a second inspection device C2, a third inspection device C3, and a fourth inspection device C4 along the conveyance route of the container film 3 and the PTP sheet 1. Below, these may be referred to as "inspection devices C1 to C4." In this embodiment, each of the inspection devices C1 to C4 corresponds to an "inspection means".

各検査装置C1~C4は、照射装置、撮像装置及び判定装置(それぞれ不図示)などを備えている。照射装置は、容器フィルム3や錠剤5、PTPシート1などに対し所定の光を照射する。撮像装置は、照射装置によって光の照射された容器フィルム3等を撮像する。判定装置は、撮像装置により得られた画像データに基づき、容器フィルム3自体及び容器フィルム3に対する処理のうちの少なくとも一方についての良否を判定する。 Each of the inspection devices C1 to C4 includes an irradiation device, an imaging device, a determination device (each not shown), and the like. The irradiation device irradiates the container film 3, tablet 5, PTP sheet 1, etc. with predetermined light. The imaging device images the container film 3 and the like irradiated with light by the irradiation device. The determination device determines the quality of at least one of the container film 3 itself and the processing performed on the container film 3 based on the image data obtained by the imaging device.

第一検査装置C1は、ポケット部形成装置16の下流かつ充填装置22の上流であって、連続搬送される容器フィルム3に対応して設けられている(図4参照)。第一検査装置C1は、ポケット部2の形成後であって、ポケット部2に対する錠剤5の充填前に、容器フィルム3における傷(例えば、ピンホール等)や汚れの有無という検査項目と、ポケット部2における成形不良の有無という検査項目とについての検査を行う。傷や汚れの有無についての検査を行うことで、容器フィルム3自体の良否を判定することができる。また、ポケット部2における成形不良の有無についての検査を行うことで、結果的に、予熱装置15やポケット部形成装置16による容器フィルム3に対する処理が適切に行われた否かを判定することができる。 The first inspection device C1 is provided downstream of the pocket forming device 16 and upstream of the filling device 22, corresponding to the container film 3 that is continuously conveyed (see FIG. 4). After forming the pocket portion 2 and before filling the pocket portion 2 with tablets 5, the first inspection device C1 performs inspection items such as the presence or absence of scratches (for example, pinholes, etc.) and dirt on the container film 3, and the pocket portion 2. An inspection is performed regarding the inspection item of presence or absence of molding defects in section 2. By inspecting the presence or absence of scratches and dirt, it is possible to determine whether the container film 3 itself is good or bad. Furthermore, by inspecting the presence or absence of molding defects in the pocket portion 2, it is possible to determine whether or not the container film 3 has been appropriately processed by the preheating device 15 and the pocket portion forming device 16. can.

第二検査装置C2は、充填装置22の下流かつフィルム受けロール20の上流に設けられている(図4参照)。第二検査装置C2は、「欠錠」の有無という検査項目や、「立錠」の有無という検査項目についての検査を行う。「欠錠」とは、ポケット部2に対し錠剤5が収容されていないことをいう。「立錠」とは、ポケット部2に充填された錠剤5が立った状態となっていることをいう。「欠錠」や「立錠」についての検査を行うことで、結果的に、充填装置22によるポケット部2に対する錠剤5の充填処理が適切に行われたか否かを判定することができる。 The second inspection device C2 is provided downstream of the filling device 22 and upstream of the film receiving roll 20 (see FIG. 4). The second inspection device C2 performs an inspection regarding the inspection items of the presence or absence of "missing tablets" and the inspection items of the presence or absence of "standing tablets." “Missing tablet” means that no tablet 5 is accommodated in the pocket portion 2. "Standing tablet" means that the tablet 5 filled in the pocket portion 2 is in an upright state. By inspecting for "missing tablets" and "standing tablets", it can be determined whether or not the filling process of filling the pocket portion 2 with the tablets 5 by the filling device 22 has been performed appropriately.

第三検査装置C3は、フィルム受けロール20とテンションロール27との間に設けられている(図4参照)。第三検査装置C3は、「欠錠」の有無という検査項目や、「シール不良」の有無という検査項目についての検査を行う。「シール不良」とは、容器フィルム3に対するカバーフィルム4の取着が不十分であることをいう。「シール不良」についての検査が行われることで、結果的に、両ロール20,25による、容器フィルム3に対するカバーフィルム4の取着処理が適切であるか否かを判定することができる。 The third inspection device C3 is provided between the film receiving roll 20 and the tension roll 27 (see FIG. 4). The third inspection device C3 performs inspections regarding the presence or absence of "missing tablets" and the presence or absence of "defective seals." "Poor sealing" refers to insufficient attachment of the cover film 4 to the container film 3. By performing the inspection for "seal failure", it can be determined whether or not the process of attaching the cover film 4 to the container film 3 by both rolls 20 and 25 is appropriate.

第四検査装置C4は、コンベア39により搬送されるPTPシート1に対応して設けられている(図4参照)。第四検査装置C4は、「打抜き不良」の有無という検査項目についての検査を行う。「打抜き不良」とは、打抜かれたPTPシート1に不良箇所が生じていることをいう。「打抜き不良」についての検査が行われることで、シート打抜装置37によるPTPフィルム6の打抜処理が適切であるか否かを判定することができる。 The fourth inspection device C4 is provided corresponding to the PTP sheet 1 conveyed by the conveyor 39 (see FIG. 4). The fourth inspection device C4 performs an inspection regarding the inspection item of presence or absence of "defective punching". The term "defective punching" refers to the occurrence of defective parts in the punched PTP sheet 1. By inspecting for "defective punching", it can be determined whether the punching process of the PTP film 6 by the sheet punching device 37 is appropriate.

尚、検査装置C1~C4による良否判定結果は、制御装置60へと送られる。また、上記の通り、検査装置C1~C4による検査の実行タイミングは、マスターエンコーダEMにより生成された回転数及び位相によって制御される。 Note that the pass/fail determination results from the inspection devices C1 to C4 are sent to the control device 60. Further, as described above, the execution timing of the inspection by the inspection devices C1 to C4 is controlled by the rotation speed and phase generated by the master encoder EM.

加えて、確認システム50は、第一エンコーダE1、第二エンコーダE2、第三エンコーダE3、第四エンコーダE4及び第五エンコーダE5を備えている。以下では、これらを「エンコーダE1~E5」と表記することがある。 In addition, the verification system 50 includes a first encoder E1, a second encoder E2, a third encoder E3, a fourth encoder E4, and a fifth encoder E5. Below, these may be referred to as "encoders E1 to E5."

第一エンコーダE1は、第一モータM1に係る回転数及び位相を取得するためのものである。本実施形態において、第一エンコーダE1は、マスターエンコーダEMの位相が720°進み(マスターエンコーダEMの回転数が2増加し)、第一モータM1が1回動作して容器フィルム3が所定長さ(PTPシート1二枚分の長さ)だけ間欠搬送される度に、取得される位相が360°進んで、回転数が1だけ増加するように設定されている(図8参照)。 The first encoder E1 is for acquiring the rotation speed and phase of the first motor M1. In this embodiment, the first encoder E1 advances the phase of the master encoder EM by 720 degrees (the rotational speed of the master encoder EM increases by 2), and the first motor M1 operates once to extend the container film 3 to a predetermined length. It is set so that each time it is intermittently conveyed by (the length of one or two PTP sheets), the acquired phase advances by 360 degrees and the number of rotations increases by 1 (see FIG. 8).

第二エンコーダE2は、第二モータM2に係る回転数及び位相を取得するためのものである。本実施形態において、第二エンコーダE2は、マスターエンコーダEMの位相が360°進み、第二モータM2が連続動作して容器フィルム3が所定長さ(PTPシート1一枚分の長さ)だけ搬送される度に、取得される位相が360°進んで、回転数が1だけ増加するように設定されている(図9参照)。従って、第二エンコーダE2により取得される回転数及び位相は、第二モータM2による容器フィルム3の搬送量と比例する。 The second encoder E2 is for acquiring the rotation speed and phase of the second motor M2. In this embodiment, the second encoder E2 advances the phase of the master encoder EM by 360 degrees, and the second motor M2 continuously operates to convey the container film 3 by a predetermined length (the length of one PTP sheet). It is set so that the acquired phase advances by 360° and the number of rotations increases by 1 each time the rotation is performed (see FIG. 9). Therefore, the rotation speed and phase acquired by the second encoder E2 are proportional to the amount of conveyance of the container film 3 by the second motor M2.

第三エンコーダE3は、第三モータM3に係る回転数及び位相を取得するためのものである。第四エンコーダE4は、第四モータM4に係る回転数及び位相を取得するためのものである。両エンコーダE3,E4は、マスターエンコーダEMの位相が360°進み、各モータM3,M4が1回動作して容器フィルム3が所定長さ(PTPシート1一枚分の長さ)だけ搬送される度に、取得される位相が360°進んで、回転数が1だけ増加するように設定されている(図10参照)。 The third encoder E3 is for acquiring the rotation speed and phase of the third motor M3. The fourth encoder E4 is for acquiring the rotation speed and phase of the fourth motor M4. In both encoders E3 and E4, the phase of the master encoder EM advances by 360 degrees, and each motor M3 and M4 operates once to convey the container film 3 by a predetermined length (the length of one PTP sheet). It is set so that the acquired phase advances by 360° and the rotational speed increases by 1 each time (see FIG. 10).

第五エンコーダE5は、第五モータM5に係る回転数及び位相を取得するためのものである。第五エンコーダE5は、第五モータM5が1回動作してPTPシート1が所定距離だけ搬送されると、取得される位相が360°進んで、回転数が1だけ増加するように設定されている。 The fifth encoder E5 is for acquiring the rotation speed and phase of the fifth motor M5. The fifth encoder E5 is set so that when the fifth motor M5 operates once and the PTP sheet 1 is conveyed a predetermined distance, the obtained phase advances by 360 degrees and the rotation speed increases by 1. There is.

さらに、確認システム50は、容器フィルム3の搬送経路に沿って、第一カメラR1、第二カメラR2、第三カメラR3、第四カメラR4、第五カメラR5及び第六カメラR6を備えている。以下では、これらを「カメラR1~R6」と表記することがある。本実施形態において、カメラR1~R6は、検査装置C1~C4の前記撮像装置とは別に設けられており、それぞれ「動画撮影手段」に相当する。 Further, the confirmation system 50 includes a first camera R1, a second camera R2, a third camera R3, a fourth camera R4, a fifth camera R5, and a sixth camera R6 along the conveyance path of the container film 3. . Below, these may be referred to as "cameras R1 to R6." In this embodiment, the cameras R1 to R6 are provided separately from the imaging devices of the inspection devices C1 to C4, and each corresponds to a "video shooting means".

カメラR1~R6は、処理前の容器フィルム3、容器フィルム3に対する処理の実行状況、該処理の良否に伴い状態や姿勢に変動が生じ得る容器フィルム3や錠剤5などを撮影することで、動画データを得るためのものである。動画データは、容器フィルム3自体又は容器フィルム3に対する処理に係るものであって、時系列順で保存された複数の静止フレーム画像データによって構成されている。カメラR1~R6により得られた動画データは、制御装置60に入力される。本実施形態において、1秒分の動画データは、60枚の静止フレーム画像データによって構成されている。 The cameras R1 to R6 take videos of the container film 3 before processing, the execution status of the processing on the container film 3, and the container film 3 and tablets 5, which may change in condition and posture depending on the quality of the processing. It is for obtaining data. The moving image data is related to the container film 3 itself or processing on the container film 3, and is composed of a plurality of still frame image data stored in chronological order. Video data obtained by cameras R1 to R6 is input to control device 60. In this embodiment, one second of video data is composed of 60 still frame image data.

また、カメラR1~R6は、マスターエンコーダEMの起動に合わせて動画データの撮影を開始するとともに、マスターエンコーダEMの停止に合わせて動画データの撮影を終了する。これにより、動画データを構成する複数の静止フレーム画像データは、マスターエンコーダEMの回転数及び位相に対応付けられた状態となる。 Furthermore, the cameras R1 to R6 start capturing video data when the master encoder EM is activated, and end capturing video data when the master encoder EM is stopped. Thereby, the plurality of still frame image data constituting the moving image data are brought into a state of being associated with the rotation speed and phase of the master encoder EM.

第一カメラR1は、予熱装置15の上流に設けられている(図4参照)。第一カメラR1は、原反から繰り出された容器フィルム3自体を撮影する。第一カメラR1により得られた動画データは、容器フィルム3に対する処理以前に、容器フィルム3に傷や汚れなどがあったか否かを確認するために利用される。 The first camera R1 is provided upstream of the preheating device 15 (see FIG. 4). The first camera R1 photographs the container film 3 itself unrolled from the original film. The video data obtained by the first camera R1 is used to check whether there are any scratches, dirt, etc. on the container film 3 before the container film 3 is processed.

第二カメラR2は、予熱装置15及びポケット部形成装置16間に設けられている(図4参照)。第二カメラR2は、サーモカメラによって構成されており、予熱装置15によって予熱処理が施された容器フィルム3を撮影する。第二カメラR2によって得られた動画データは、容器フィルム3における温度分布を示すものであり、容器フィルム3に対する予熱処理が適切であったか否かを確認するために利用される。 The second camera R2 is provided between the preheating device 15 and the pocket forming device 16 (see FIG. 4). The second camera R2 is configured by a thermo camera and photographs the container film 3 that has been preheated by the preheating device 15. The video data obtained by the second camera R2 shows the temperature distribution in the container film 3, and is used to confirm whether the preheating treatment for the container film 3 was appropriate.

第三カメラR3は、ポケット部形成装置16の直下流に設けられている(図4参照)。第三カメラR3は、ポケット部形成装置16によってポケット部2の形成処理が施された容器フィルム3を撮影する。第三カメラR3によって得られた動画データは、容器フィルム3に対するポケット部2の形成処理が適切であったか否かを確認するために利用される。 The third camera R3 is provided directly downstream of the pocket forming device 16 (see FIG. 4). The third camera R3 photographs the container film 3 on which the pocket portion 2 has been formed by the pocket portion forming device 16. The video data obtained by the third camera R3 is used to confirm whether or not the process for forming the pocket portion 2 on the container film 3 was appropriate.

第四カメラR4は、充填装置22による錠剤5の充填ポジションに対応して設けられている(図4参照)。第四カメラR4は、ポケット部2へと錠剤5を充填する場面や、充填された錠剤5などを撮影する。第四カメラR4によって得られた動画データは、ポケット部2に対する錠剤5の充填処理が適切であったか否かを確認するために利用される。 The fourth camera R4 is provided corresponding to the filling position of the tablet 5 by the filling device 22 (see FIG. 4). The fourth camera R4 photographs the scene in which the tablets 5 are filled into the pocket portion 2, the filled tablets 5, and the like. The video data obtained by the fourth camera R4 is used to confirm whether the filling process of the tablets 5 into the pocket portion 2 was appropriate.

第五カメラR5は、容器フィルム3に対するカバーフィルム4の取着ポジションに対応して設けられている(図4参照)。第五カメラR5は、容器フィルム3に対しカバーフィルム4を取着する場面を撮影する。第五カメラR5によって得られた動画データは、容器フィルム3に対するカバーフィルム4の取着処理が適切であったか否かを確認するために利用される。 The fifth camera R5 is provided corresponding to the attachment position of the cover film 4 to the container film 3 (see FIG. 4). The fifth camera R5 photographs a scene in which the cover film 4 is attached to the container film 3. The video data obtained by the fifth camera R5 is used to confirm whether the attachment process of the cover film 4 to the container film 3 was appropriate.

第六カメラR6は、シート打抜装置37によるPTPフィルム6の打抜ポジションに対応して設けられている(図4参照)。第六カメラR6は、PTPフィルム6からPTPシート1を打抜く場面を撮影する。第六カメラR6によって得られた動画データは、PTPフィルム6に対する打抜処理が適切であったか否かを確認するために利用される。 The sixth camera R6 is provided corresponding to the punching position of the PTP film 6 by the sheet punching device 37 (see FIG. 4). The sixth camera R6 photographs a scene in which the PTP sheet 1 is punched out from the PTP film 6. The video data obtained by the sixth camera R6 is used to confirm whether the punching process for the PTP film 6 was appropriate.

次いで、制御装置60について説明する。制御装置60は、PTP包装機10や確認システム50における各装置の動作制御などを担うものである。制御装置60は、演算手段としてのCPUや、各種プログラムを記憶するROM、演算データや入出力データなどの各種データを一時的に記憶するRAM、各種データを長期記憶する記憶媒体、情報の入力を行うための入力装置(例えばキーボード等)、各種情報を表示するための表示装置(例えば液晶ディスプレイ等)などを備えている。 Next, the control device 60 will be explained. The control device 60 is responsible for controlling the operation of each device in the PTP packaging machine 10 and the confirmation system 50. The control device 60 includes a CPU as a calculation means, a ROM for storing various programs, a RAM for temporarily storing various data such as calculation data and input/output data, a storage medium for long-term storage of various data, and a storage medium for inputting information. It is equipped with an input device (for example, a keyboard, etc.) for performing operations, a display device (for example, a liquid crystal display, etc.) for displaying various information, and the like.

制御装置60は、図5に示すように、モータ制御部61、カメラ制御部62及び検査装置制御部63を備えている。 As shown in FIG. 5, the control device 60 includes a motor control section 61, a camera control section 62, and an inspection device control section 63.

モータ制御部61は、マスターエンコーダEMにより生成される回転数及び位相に基づき、各モータM1~M5の動作を制御する。これにより、各モータM1~M5は、それぞれ上述の態様で動作する。 The motor control unit 61 controls the operation of each motor M1 to M5 based on the rotation speed and phase generated by the master encoder EM. As a result, each of the motors M1 to M5 operates in the manner described above.

カメラ制御部62は、マスターエンコーダEMにより生成される回転数及び位相に基づき、各カメラR1~R6の動作を制御する。これにより、各カメラR1~R6は、上記の通り、マスターエンコーダEMの起動に合わせて動画データの撮影を開始するとともに、マスターエンコーダEMの停止に合わせて動画データの撮影を終了する。 The camera control unit 62 controls the operation of each camera R1 to R6 based on the rotation speed and phase generated by the master encoder EM. As a result, each of the cameras R1 to R6 starts capturing video data when the master encoder EM is activated, and ends capturing video data when the master encoder EM stops, as described above.

検査装置制御部63は、マスターエンコーダEMにより生成される回転数及び位相に基づき、各検査装置C1~C4による検査の実行タイミングを制御する。本実施形態では、マスターエンコーダEMにより生成される位相が所定値となる度に、各検査装置C1~C4による検査が実行されるようになっている。 The inspection device control unit 63 controls the execution timing of inspection by each of the inspection devices C1 to C4 based on the rotation speed and phase generated by the master encoder EM. In this embodiment, each inspection device C1 to C4 executes inspection every time the phase generated by the master encoder EM reaches a predetermined value.

さらに、制御装置60は、図11に示すように、リングバッファ64、動画保存部65、カメラ特定部66、対象データ保存部67、変換部68及び遡及フレーム数導出部69を備えている。本実施形態では、カメラ特定部66が「撮影手段特定手段」を構成し、同様に、対象データ保存部67が「対象データ保存手段」を、変換部68が「変換手段」を、遡及フレーム数導出部69が「遡及フレーム数導出手段」を、それぞれ構成する。 Furthermore, as shown in FIG. 11, the control device 60 includes a ring buffer 64, a video storage section 65, a camera identification section 66, a target data storage section 67, a conversion section 68, and a retroactive frame number derivation section 69. In this embodiment, the camera specifying unit 66 constitutes a "photographing means specifying means", similarly, the target data storage unit 67 constitutes a "target data storage means", the converting section 68 constitutes a "converting means", and the retroactive frame number. The deriving unit 69 constitutes a "retroactive frame number deriving means".

リングバッファ64は、前記記憶媒体によって構成されており、この記憶媒体における一定の情報格納領域を輪のように扱うものである。リングバッファ64は、全ての情報格納領域にデータが格納された後に、先頭の情報格納領域に戻ってデータの上書きが行われるように構成されている。 The ring buffer 64 is constituted by the storage medium, and handles a certain information storage area in this storage medium like a ring. The ring buffer 64 is configured such that after data is stored in all the information storage areas, the data is overwritten by returning to the first information storage area.

動画保存部65は、カメラR1~R6により得られた動画データを保存する。より詳しくは、動画保存部65は、カメラR1~R6により得られた動画データを、静止フレーム画像データごとに、該静止フレーム画像データが得られたときの時刻を示す実時刻タイムコードを付した形式で、リングバッファ64に保存する(図12参照)。本実施形態において、実時刻タイムコードは、時刻及びフレーム番号によって構成されている。図12では、静止フレーム画像データとして、時刻とフレーム番号とからなるデータ名を記載している。本実施形態におけるフレーム番号は、0~59の数値であり、1秒分の動画データを構成する60枚の静止フレーム画像データの取得順序を示している。時刻は、制御装置60の有する時計機能を利用して取得される。 The video storage unit 65 stores video data obtained by the cameras R1 to R6. More specifically, the video storage unit 65 attaches a real time time code indicating the time when the still frame image data was obtained to each still frame image data of the video data obtained by the cameras R1 to R6. It is stored in the ring buffer 64 in the format (see FIG. 12). In this embodiment, the real time time code is composed of time and frame number. In FIG. 12, a data name consisting of a time and a frame number is described as still frame image data. The frame number in this embodiment is a numerical value from 0 to 59, and indicates the acquisition order of 60 still frame image data forming one second of video data. The time is acquired using the clock function of the control device 60.

カメラ特定部66は、複数のカメラR1~R6の中から、検査装置C1~C4によって不良判定された検査項目に関係するものを特定する。この特定にあたって、カメラ特定部66は、予め取得された、検査項目と該検査項目に関係するカメラR1~R6との対応関係を示す特定テーブル(図13参照)を用いる。 The camera specifying unit 66 specifies, from among the plurality of cameras R1 to R6, those related to the inspection item determined to be defective by the inspection devices C1 to C4. For this identification, the camera identification unit 66 uses a identification table (see FIG. 13) that is obtained in advance and shows the correspondence between the inspection item and the cameras R1 to R6 related to the inspection item.

例えば、第一検査装置C1によって、ポケット部2における成形不良の有無という検査項目で不良判定がなされる原因としては、容器フィルム3に対する予熱処理や、ポケット部2の形成処理において何らかの不具合が発生したことが考えられる。従って、成形不良の有無という検査項目には、予熱された容器フィルム3を撮影する第二カメラR2と、ポケット部2が形成された後の容器フィルム3を撮影する第三カメラR3とが関係する。そのため、特定テーブルでは、ポケット部2における成形不良の有無という検査項目に対し、第二カメラR2及び第三カメラR3が対応している点が示される。 For example, the first inspection device C1 may determine that there is a molding defect in the pocket portion 2 as a defect because some defect occurred in the preheating process for the container film 3 or in the forming process of the pocket portion 2. It is possible that Therefore, the inspection item of presence or absence of molding defects involves the second camera R2 that photographs the preheated container film 3, and the third camera R3 that photographs the container film 3 after the pocket portion 2 has been formed. . Therefore, the specific table shows that the second camera R2 and the third camera R3 correspond to the inspection item of the presence or absence of molding defects in the pocket portion 2.

また、例えば、第二検査装置C2によって、「欠錠」や「立錠」の有無という検査項目で不良判定がなされる原因としては、充填装置22による錠剤5の充填時、又は、充填装置22よりも下流位置での容器フィルム3の搬送時に何らかの不具合が発生したことが考えられる。そのため、「欠錠」や「立錠」の有無という検査項目には、ポケット部2に対し錠剤5を充填する場面を撮影する第四カメラR4が関係する。そのため、特定テーブルでは、「欠錠」や「立錠」の有無という検査項目に対し、第四カメラR4が対応している点が示される。第四カメラR4により得られた動画データを確認することで、充填装置22による錠剤5の充填時、及び、充填装置22よりも下流位置での容器フィルム3の搬送時のいずれかのタイミングで不具合が発生したことを把握できる。 For example, the second inspection device C2 may determine that the tablet 5 is defective due to the presence or absence of “missing tablets” or “standing tablets” when the filling device 22 fills the tablet 5, or when the filling device 22 It is conceivable that some kind of problem occurred during conveyance of the container film 3 at a downstream position. Therefore, the inspection item of the presence or absence of "missing tablets" and "standing tablets" involves the fourth camera R4 that photographs the scene in which the pocket portion 2 is filled with the tablets 5. Therefore, the specific table indicates that the fourth camera R4 corresponds to the inspection items such as the presence or absence of "missing locks" and "standing locks." By checking the video data obtained by the fourth camera R4, it is possible to detect a malfunction at either time when the filling device 22 fills the tablet 5 or when transporting the container film 3 at a downstream position from the filling device 22. It is possible to understand that something has occurred.

対象データ保存部67は、検査装置C1~C4により不良判定されたことをトリガーとして、リングバッファ64に記憶された動画データの中から所定の対象データを抽出して保存する。対象データは、不具合の発生原因や発生時期を特定するために必要になると考えられるデータである。尚、本実施形態において、対象データは、複数の静止フレーム画像データからなる動画データとされているが、1の静止フレーム画像データからなる静止画データであってもよい。 The target data storage unit 67 extracts and stores predetermined target data from the video data stored in the ring buffer 64, triggered by the defective determination by the inspection devices C1 to C4. The target data is data that is considered necessary to identify the cause and timing of occurrence of the problem. In this embodiment, the target data is moving image data consisting of a plurality of still frame image data, but may be still image data consisting of one still frame image data.

対象データの抽出・保存に当たって、対象データ保存部67は、動画データのうち、前記トリガーが発生したときの静止フレーム画像データを基準とし、遡及フレーム数の分だけ遡った位置にある“所定範囲”のものを、対象データとして抽出して保存する。 When extracting and saving the target data, the target data storage unit 67 extracts a "predetermined range" from the video data at a position that is located back by the number of retroactive frames, with the still frame image data at the time when the trigger occurs as a reference. Extract and save as target data.

ここで、遡及フレーム数とは、検査装置C1~C4にて不良判定がなされた場合において、その不良判定に関係するカメラR1~R6により得られた動画データの中から、その不良判定に関係するデータ(対象データ)を抽出するために、現時点の動画データからどの程度のフレーム数を遡るべきであるのかを示すものである。遡及フレーム数は、検査装置C1~C4による不良判定に関係するカメラR1~R6から、不良判定を行った検査装置C1~C1に対する容器フィルム3(PTPシート1を含む)の搬送量に対応する。遡及フレーム数は、遡及フレーム数導出部69によって導出される。遡及フレーム数の導出手法については、後述する。 Here, the number of retroactive frames refers to the number of frames related to the defective judgment from among the video data obtained by the cameras R1 to R6 related to the defective judgment when the inspection devices C1 to C4 make a defective judgment. This indicates how many frames should be traced back from the current video data in order to extract data (target data). The retroactive frame number corresponds to the conveyance amount of the container film 3 (including the PTP sheet 1) from the cameras R1 to R6 related to the defect determination by the inspection devices C1 to C4 to the inspection devices C1 to C1 that made the defect determination. The retroactive frame number is derived by the retroactive frame number deriving unit 69. The method for deriving the number of retrospective frames will be described later.

また、“所定範囲”は、対象データの時間長に対応するものであって、適宜変更することができる。本実施形態において、所定範囲は、遡及フレーム数の分だけ遡った位置と、該位置からPTPシート1一枚分(つまり、マスターエンコーダEM一回転分)だけ遡った位置との間の範囲に設定されている(図14参照)。 Further, the "predetermined range" corresponds to the time length of the target data, and can be changed as appropriate. In this embodiment, the predetermined range is set to a range between a position that has gone back by the number of retroactive frames and a position that has gone back by one PTP sheet (that is, one rotation of the master encoder EM) from that position. (See Figure 14).

加えて、対象データ保存部67は、カメラ特定部66により特定されたカメラR1~R6が得た1又は複数の動画データの中から、1又は複数の対象データを抽出して保存する。従って、ポケット部2における成形不良の有無という検査項目で不良判定がなされた場合、第二カメラR2が得た動画データの中から1つの対象データが抽出されて保存されるとともに、第三カメラR3が得た動画データの中からもう1つの対象データが抽出されて保存される。 In addition, the target data storage unit 67 extracts and stores one or more target data from among the one or more video data obtained by the cameras R1 to R6 specified by the camera specifying unit 66. Therefore, when a defect is determined based on the inspection item of the presence or absence of molding defects in the pocket portion 2, one target data is extracted and saved from the video data obtained by the second camera R2, and the third camera R3 Another target data is extracted and saved from the video data obtained.

さらに、対象データ保存部67は、リングバッファ64に保存された動画データから対象データを抽出するにあたり、変換部68によって、前記所定範囲に対応するマスターエンコーダEMの回転数及び位相を、実時刻タイムコードに変換する。 Furthermore, when extracting the target data from the video data stored in the ring buffer 64, the target data storage unit 67 uses the conversion unit 68 to convert the rotation speed and phase of the master encoder EM corresponding to the predetermined range at real time. Convert to code.

ここで、変換部68は、マスターエンコーダEMにより生成される回転数及び位相と実時刻タイムコードとの対応関係を示す変換テーブル(図14参照)を用いて、前記所定範囲に対応するマスターエンコーダEMの回転数及び位相を、実時刻タイムコードへと変換する。尚、変換テーブルは、例えば、PTP包装機10の動作中に、マスターエンコーダEMによって生成される回転数及び位相と実時刻タイムコードとの対応関係を取得することによって得ることができる。 Here, the conversion unit 68 converts the master encoder EM corresponding to the predetermined range using a conversion table (see FIG. 14) showing the correspondence between the rotation speed and phase generated by the master encoder EM and the real time time code. Converts the rotation speed and phase of the system into real-time time code. Note that the conversion table can be obtained, for example, by obtaining the correspondence between the rotation speed and phase generated by the master encoder EM and the real time time code during operation of the PTP packaging machine 10.

そして、対象データ保存部67は、変換処理により得られた実時刻タイムコードを利用して、リングバッファ64に保存された動画データの中から対象データを抽出する。より詳しくは、対象データ保存部67は、動画データの中から、変換処理により得られた実時刻タイムコードと一致する実時刻タイムコードの付された複数の静止フレーム画像データを、対象データとして抽出する。 Then, the target data storage unit 67 extracts target data from the video data stored in the ring buffer 64 using the real time time code obtained by the conversion process. More specifically, the target data storage unit 67 extracts, as target data, a plurality of still frame image data attached with a real time time code that matches the real time time code obtained by the conversion process from the video data. do.

さらに、対象データ保存部67は、抽出した対象データを、対象データの抽出のトリガーとなった検査装置C1~C4による検査結果と関連付けて保存する。例えば、第一検査装置C1によって、ポケット部2における成形不良の有無という検査項目で不良判定がなされた場合、その検査結果と対象データとが関連付けて保存される。尚、良否判定で用いた画像データ(検査用の画像データ)を、対象データと関連付けて保存してもよい。 Further, the target data storage unit 67 stores the extracted target data in association with the inspection results by the inspection devices C1 to C4 that triggered the extraction of the target data. For example, when the first inspection device C1 determines that the pocket portion 2 is defective based on the inspection item of presence or absence of molding defects, the inspection result and the target data are stored in association with each other. Note that the image data used in the quality determination (image data for inspection) may be stored in association with the target data.

また、対象データは、前記記憶媒体におけるリングバッファ64を構成する領域とは別の領域に保存される。従って、対象データは、リングバッファ64に保存されたデータとは異なり、一定期間の経過に伴い消去されることはない。 Further, the target data is stored in an area different from the area constituting the ring buffer 64 in the storage medium. Therefore, unlike the data stored in the ring buffer 64, the target data is not erased over a certain period of time.

遡及フレーム数導出部69は、マスターエンコーダEMにより生成される回転数及び位相と、予め取得された遡及フレーム数導出式とに基づき、遡及フレーム数を導出する。遡及フレーム数導出式としては、一定の値を示すものや、マスターエンコーダEMの回転数や位相により変動するものがある。遡及フレーム数導出式は、前記特定テーブル(図13参照)にて対応付けられた検査装置C1~C4及びカメラR1~R6の組合せごとに設けられている。従って、遡及フレーム数導出式としては、第一検査装置C1及び第一カメラR1に係るもの、第一検査装置C1及び第二カメラR2に係るものなどがある。 The retroactive frame number deriving unit 69 derives the retroactive frame number based on the rotation speed and phase generated by the master encoder EM and a retroactive frame number derivation formula acquired in advance. As the retroactive frame number derivation formula, there are those that show a constant value and those that vary depending on the rotation speed and phase of the master encoder EM. A retroactive frame number derivation formula is provided for each combination of inspection devices C1 to C4 and cameras R1 to R6 that are associated in the specific table (see FIG. 13). Therefore, the retrospective frame number derivation formula includes one related to the first inspection device C1 and the first camera R1, and one related to the first inspection device C1 and the second camera R2.

例えば、第一検査装置C1及び第二カメラR2に係る遡及フレーム数導出式は、次のようにして取得することができる。すなわち、第一検査装置C1により検査される容器フィルム3はマスターエンコーダEMが1回転する度に所定量(PTPシート1一枚分)搬送される一方、第二カメラR2により撮影される容器フィルム3はマスターエンコーダEMの位相が所定値となったタイミングでPTPシート1二枚分だけ間欠搬送される。そのため、第二カメラR2から第一検査装置C1までの容器フィルム3の搬送量L1は、マスターエンコーダEMの回転数や位相に応じて変動するものとなる(図15参照)。 For example, the retroactive frame number derivation formula for the first inspection device C1 and the second camera R2 can be obtained as follows. That is, the container film 3 to be inspected by the first inspection device C1 is transported by a predetermined amount (one PTP sheet) each time the master encoder EM rotates once, while the container film 3 to be photographed by the second camera R2 is is intermittently conveyed by one or two PTP sheets at the timing when the phase of the master encoder EM reaches a predetermined value. Therefore, the transport amount L1 of the container film 3 from the second camera R2 to the first inspection device C1 varies depending on the rotation speed and phase of the master encoder EM (see FIG. 15).

従って、マスターエンコーダEMの回転数や位相に応じて変動する、搬送量L1を示す式を求めることができる。その上で、該式(搬送量L1)を、マスターエンコーダEMが1回転する度に搬送される容器フィルム3の搬送量(PTPシート1一枚分)で除算する。これにより、マスターエンコーダEMの回転数や位相により変動する、第一検査装置C1及び第二カメラR2に係る遡及フレーム数導出式(図16参照)を取得することができる。 Therefore, it is possible to obtain a formula indicating the conveyance amount L1, which varies depending on the rotation speed and phase of the master encoder EM. Then, this formula (conveyance amount L1) is divided by the conveyance amount (for one PTP sheet) of the container film 3 conveyed every time the master encoder EM rotates once. Thereby, it is possible to obtain a retroactive frame number derivation formula (see FIG. 16) related to the first inspection device C1 and the second camera R2, which varies depending on the rotation speed and phase of the master encoder EM.

また、例えば、第二検査装置C2及び第四カメラR4に係る遡及フレーム数導出式は、次のようにして取得することができる。すなわち、第二検査装置C2により検査される容器フィルム3と、第四カメラR4により撮影される容器フィルム3とは、それぞれ一定速度で連続搬送される。そのため、第四カメラR4から第二検査装置C2までの容器フィルム3の搬送量L2は、一定の値を示すものとなる(図17参照)。 Further, for example, the retroactive frame number derivation formula for the second inspection device C2 and the fourth camera R4 can be obtained as follows. That is, the container film 3 inspected by the second inspection device C2 and the container film 3 photographed by the fourth camera R4 are each continuously conveyed at a constant speed. Therefore, the transport amount L2 of the container film 3 from the fourth camera R4 to the second inspection device C2 exhibits a constant value (see FIG. 17).

そのため、搬送量L2を、マスターエンコーダEMが1回転する度に搬送される容器フィルム3の搬送量(PTPシート1一枚分)で除算することにより、第二検査装置C2及び第四カメラR4に係る遡及フレーム数導出式(図18参照。この場合は一定値)を取得することができる。 Therefore, by dividing the conveyance amount L2 by the conveyance amount (one PTP sheet) of the container film 3 conveyed each time the master encoder EM rotates once, the second inspection device C2 and the fourth camera R4 Such a retroactive frame number derivation formula (see FIG. 18; in this case, a constant value) can be obtained.

そして、遡及フレーム数導出部69は、不良判定がなされたタイミングにおけるマスターエンコーダEMの回転数及び位相を用いて、遡及フレーム数導出式から遡及フレーム数を導出する。例えば、第一検査装置C1及び第二カメラR2に係る遡及フレーム数を導出する場合、第一検査装置C1及び第二カメラR2に係る遡及フレーム数導出式に対し、不良判定がなされたときのマスターエンコーダEMの回転数や位相を代入することによって、第一検査装置C1及び第二カメラR2に係る遡及フレーム数を取得することができる。 Then, the retrospective frame number deriving unit 69 derives the retrospective frame number from the retrospective frame number derivation formula using the rotation speed and phase of the master encoder EM at the timing when the defective determination was made. For example, when deriving the number of retroactive frames related to the first inspection device C1 and the second camera R2, the number of retroactive frames related to the first inspection device C1 and the second camera R2 is derived from the master By substituting the rotation speed and phase of the encoder EM, it is possible to obtain the number of retroactive frames related to the first inspection device C1 and the second camera R2.

尚、遡及フレーム数導出部69は、予め取得した導出テーブルを利用して、遡及フレーム数を導出するものであってもよい。導出テーブルは、前記特定テーブルにて対応付けられた検査装置C1~C4及びカメラR1~R6間の搬送量に対応する遡及フレーム数と、マスターエンコーダEMの回転数や位相との対応関係を示すものである。遡及フレーム数導出部69は、この導出テーブルと、不良判定がなされたときのマスターエンコーダEMの回転数や位相とに基づき、遡及フレーム数を導出することができる。 Note that the retroactive frame number deriving unit 69 may derive the retroactive frame number using a derivation table acquired in advance. The derivation table shows the correspondence between the retroactive frame number corresponding to the transport amount between the inspection devices C1 to C4 and cameras R1 to R6, which are associated in the specific table, and the rotation speed and phase of the master encoder EM. It is. The retroactive frame number deriving unit 69 can derive the retroactive frame number based on this deriving table and the rotation speed and phase of the master encoder EM when the defective determination is made.

上記のように構成された確認システム50は、次のようにして動作する。すなわち、検査装置C1~C4によって不良判定がなされると、カメラ特定部66によって、不良判定された検査項目に関係するカメラR1~R6が特定される。例えば、第一検査装置C1によって傷や汚れの有無という検査項目で不良判定がなされると、カメラ特定部66によって、カメラR1,R2,R3が特定される。 The confirmation system 50 configured as described above operates as follows. That is, when a defective determination is made by the inspection devices C1 to C4, the camera specifying unit 66 specifies cameras R1 to R6 related to the inspection item for which the defective determination has been made. For example, when the first inspection device C1 determines that the camera is defective based on inspection items such as the presence or absence of scratches and dirt, the camera specifying unit 66 specifies the cameras R1, R2, and R3.

また、遡及フレーム数導出部69によって、遡及フレーム数が導出される。これにより、動画データにおける前記所定範囲が定まる〔図14における(1)〕。例えば、カメラ特定部66によってカメラR1,R2,R3が特定されている場合、これらカメラR1,R2,R3ごとに、それぞれ異なる遡及フレーム数が導出される。そして、遡及フレーム数が導出されることで、カメラR1,R2,R3により得られた動画データごとに前記所定範囲が定まる。 Further, the retroactive frame number deriving unit 69 derives the retroactive frame number. This determines the predetermined range in the video data [(1) in FIG. 14]. For example, when cameras R1, R2, and R3 are specified by the camera specifying unit 66, different retroactive frame numbers are derived for each of these cameras R1, R2, and R3. Then, by deriving the retroactive frame number, the predetermined range is determined for each video data obtained by cameras R1, R2, and R3.

さらに、変換部68によって、前記所定範囲に対応するマスターエンコーダEMの回転数及び位相が、実時刻タイムコードへと変換される〔図14における(2)〕。例えば、カメラ特定部66によってカメラR1,R2,R3が特定されている場合、3種類の前記所定範囲に対応して、3種類の実時刻タイムコードが導出される。 Further, the converter 68 converts the rotation speed and phase of the master encoder EM corresponding to the predetermined range into a real time time code [(2) in FIG. 14]. For example, when cameras R1, R2, and R3 are specified by the camera specifying unit 66, three types of real time time codes are derived corresponding to the three types of predetermined ranges.

その上で、対象データ保存部67によって、リングバッファ64に保存された動画データの中から、変換部68による変換処理により得られた実時刻タイムコードと一致する実時刻タイムコードの付された複数の静止フレーム画像データが、対象データとして抽出される〔図14における(3)〕。例えば、カメラ特定部66によってカメラR1,R2,R3が特定されている場合、第一カメラR1,R2,R3により得られた計3つの動画データの中から計3つの対象データが抽出される。 Then, the target data storage unit 67 selects a plurality of pieces of video data from among the video data stored in the ring buffer 64 to which real time time codes that match the real time time codes obtained by the conversion process by the conversion unit 68 are attached. Still frame image data of is extracted as target data [(3) in FIG. 14]. For example, when cameras R1, R2, and R3 are specified by the camera specifying unit 66, a total of three target data are extracted from a total of three moving image data obtained by the first cameras R1, R2, and R3.

そして最終的に、対象データ保存部67によって、抽出された対象データが検査結果等と関連付けて保存される。保存された対象データなどを確認することで、オペレータ等は、不具合の発生原因や発生時期を知ることができ、また、不具合の再発防止のために、より適切な対応をとることができる。 Finally, the target data storage unit 67 stores the extracted target data in association with the test results and the like. By checking the stored target data, etc., an operator or the like can learn the cause and timing of the occurrence of a malfunction, and can take more appropriate measures to prevent recurrence of the malfunction.

以上詳述したように、本実施形態によれば、動画データのうち、トリガーが発生したとき(不良判定されたとき)の静止フレーム画像データを基準とし、検査装置C1~C4による不良判定に関係するカメラR1~R6から該検査装置C1~C4に対する容器フィルム3(PTPシート1を含む)の搬送量に対応する遡及フレーム数の分だけ遡った位置にある所定範囲のものが、対象データとして抽出される。 As described in detail above, according to the present embodiment, the still frame image data of the video data at the time when the trigger occurs (when the defective judgment is made) is used as the reference, and the A predetermined range located at a position that is traced back by the number of retroactive frames corresponding to the conveyance amount of the container film 3 (including PTP sheet 1) from the cameras R1 to R6 to the inspection devices C1 to C4 is extracted as target data. be done.

すなわち、時間ではなく、容器フィルム3の搬送量に基づき動画データの中から対象データが抽出される。従って、動画データの中から、対象データとして、不具合の発生原因や発生時期の把握に必要な動画データをピンポイントで抽出することができ、必要な動画データをより確実にかつより容易に得ることができる。また、容器フィルム3の搬送量に基づいて対象データを抽出するから、容器フィルム3の搬送速度に変動が生じたような場合であっても、不具合の発生原因などを把握するために必要な動画データをより確実に得ることができる。 In other words, target data is extracted from the video data based on the conveyance amount of the container film 3 instead of the time. Therefore, it is possible to pinpoint the video data necessary for understanding the cause and timing of occurrence of a problem as target data from the video data, and to obtain the necessary video data more reliably and more easily. Can be done. In addition, since the target data is extracted based on the conveyance amount of the container film 3, even if there is a change in the conveyance speed of the container film 3, the video necessary to understand the cause of the problem etc. Data can be obtained more reliably.

また、遡及フレーム数導出部69は、マスターエンコーダEMにより生成される回転数及び位相に基づき、遡及フレーム数を導出する。従って、動画データにおいて、複数の静止フレーム画像データとマスターエンコーダの回転数及び位相とが対応付けられた状態となることに合わせて、この動画データに合う遡及フレーム数をより正確に導出することができる。その結果、対象データとして、不具合の発生原因などを把握するために必要な動画データを一層確実に得ることができる。 Further, the retroactive frame number deriving unit 69 derives the retroactive frame number based on the rotation speed and phase generated by the master encoder EM. Therefore, in accordance with the fact that in video data, a plurality of still frame image data and the rotation speed and phase of the master encoder are associated with each other, it is possible to more accurately derive the number of retroactive frames that match this video data. can. As a result, it is possible to more reliably obtain, as target data, video data necessary for understanding the cause of a malfunction.

さらに、動画データは、リングバッファ64に保存される。従って、動画データを保存するためのメモリ領域を節約することができる。加えて、動画データは、静止フレーム画像データが得られたときの時刻に関する情報を有するため、不具合がいつ発生したのか、不具合を生じさせる事象がどのようなスピードで生じたのかについて確認することができる。従って、不具合の発生防止のための対応をより適切にとることができる。 Further, the video data is stored in the ring buffer 64. Therefore, the memory area for storing video data can be saved. In addition, since video data contains information about the time when the still frame image data was obtained, it is possible to confirm when the problem occurred and at what speed the events that caused the problem occurred. can. Therefore, it is possible to take more appropriate measures to prevent the occurrence of defects.

また、変換部68を用いることで、マスターエンコーダEMにより生成される回転数及び位相を、実時刻タイムコードに変換することができる。そして、この実時刻タイムコードを利用して、動画データの中から対象データを抽出することができる。従って、対象データとして、不具合の発生原因などを把握するために必要な動画データを一層確実に得ることができる。 Further, by using the converter 68, the rotation speed and phase generated by the master encoder EM can be converted into a real time time code. Then, using this real time time code, target data can be extracted from the video data. Therefore, as the target data, it is possible to more reliably obtain the video data necessary to understand the cause of the occurrence of the malfunction.

加えて、カメラ特定部66によって、ある検査項目について不良判定された場合に、その検査項目に関係する1又は複数のカメラR1~R6を特定することができる。そして、対象データ保存部67によって、特定された1又は複数のカメラR1~R6が得た1又は複数の動画データの中から、対象データが抽出して保存される。従って、対象データの抽出をより容易に行うことが可能となる。 In addition, when a certain inspection item is determined to be defective, the camera specifying unit 66 can specify one or more cameras R1 to R6 related to that inspection item. Then, the target data storage unit 67 extracts and stores the target data from among the one or more video data obtained by the identified one or more cameras R1 to R6. Therefore, target data can be extracted more easily.

また、1の検査項目に対し、複数のカメラR1~R6が関係する場合には、これらカメラR1~R6により得られた複数の動画データから、複数の対象データを得ることができる。従って、不具合の発生原因などをより容易にかつより正確に把握することが可能となる。 Further, when a plurality of cameras R1 to R6 are involved in one inspection item, a plurality of target data can be obtained from a plurality of moving image data obtained by these cameras R1 to R6. Therefore, it becomes possible to more easily and accurately understand the cause of the malfunction.

尚、上記実施形態の記載内容に限定されず、例えば次のように実施してもよい。勿論、以下において例示しない他の応用例、変更例も当然可能である。 Note that the present invention is not limited to the content described in the above embodiment, and may be implemented as follows, for example. Of course, other applications and modifications not exemplified below are also possible.

(a)上記実施形態において、カメラR1~R6により得られた動画データは、静止フレーム画像データごとに、該静止フレーム画像データが得られたときの時刻を示す実時刻タイムコードを付した形式でリングバッファ64に保存されている。これに対し、図19に示すように、カメラR1~R6により得られた動画データを、静止フレーム画像データごとに、該静止フレーム画像データが得られたときの、マスターエンコーダEMにより生成される回転数及び位相を示す機械的タイムコードを付した形式でリングバッファ64に保存するようにしてもよい。そして、対象データ保存部67は、機械的タイムコードを利用して、リングバッファ64に保存された動画データの中から対象データを抽出して保存するものであってもよい。 (a) In the above embodiment, the video data obtained by cameras R1 to R6 is in a format in which a real time time code indicating the time when the still frame image data is obtained is attached to each still frame image data. It is stored in the ring buffer 64. On the other hand, as shown in FIG. 19, the moving image data obtained by cameras R1 to R6 are rotated by the master encoder EM for each still frame image data when the still frame image data is obtained. The data may be stored in the ring buffer 64 in a format with a mechanical time code indicating the number and phase. The target data storage unit 67 may extract and store target data from the video data stored in the ring buffer 64 using a mechanical time code.

この場合、動画データは、リングバッファ64に保存されるため、動画データを保存するためのメモリ領域を節約することができる。 In this case, since the video data is stored in the ring buffer 64, the memory area for storing the video data can be saved.

また、変換部68を用いることなく、動画データの中から対象データを抽出することができるため、対象データの抽出に係る処理負担の低減を図ることができる。 Furthermore, since the target data can be extracted from the video data without using the converter 68, it is possible to reduce the processing load associated with extracting the target data.

尚、機械的タイムコードは、フレーム番号を具備するものであってもよい。 Note that the mechanical time code may include a frame number.

(b)上記実施形態において、マスターエンコーダEMは、マスターモータMMに係る回転数及び位相を読み取り、この読み取った回転数及び位相を生成するものとされている。これに対し、マスターエンコーダEMは、例えば、フィルム受けロール20を駆動させる第二モータに係る回転数及び位相を読み取り、この読み取った回転数及び位相を生成するものであってもよい。従って、第二エンコーダE2が、マスターエンコーダEMを兼ねるように構成してもよい。 (b) In the above embodiment, the master encoder EM reads the rotation speed and phase of the master motor MM, and generates the read rotation speed and phase. On the other hand, the master encoder EM may, for example, read the rotation speed and phase of the second motor that drives the film receiving roll 20, and generate the read rotation speed and phase. Therefore, the second encoder E2 may be configured to also serve as the master encoder EM.

また、マスターエンコーダEMを、ソフトウェア上で仮想的に実現してもよい。 Further, the master encoder EM may be virtually realized on software.

(c)上記実施形態における容器フィルム3の搬送態様は一例であって、この搬送態様を適宜変更してもよい。従って、例えば、両モータM3,M4が1回動作することによって、容器フィルム3がPTPシート1複数枚分の長さだけ搬送されるように構成してもよい。 (c) The manner in which the container film 3 is conveyed in the above embodiment is merely an example, and the manner in which the container film 3 is conveyed may be changed as appropriate. Therefore, for example, the container film 3 may be configured to be conveyed by a length corresponding to one or more PTP sheets by operating both motors M3 and M4 once.

また、マスターエンコーダEMにより生成される回転数及び位相を用いることなく、容器フィルム3が予め定められた態様で搬送されるように構成してもよい。 Alternatively, the container film 3 may be conveyed in a predetermined manner without using the rotation speed and phase generated by the master encoder EM.

(d)上記実施形態において、確認システム50は、4つの検査装置C1~C4を備えているが、検査装置の数を適宜変更してもよい。 (d) In the above embodiment, the confirmation system 50 includes four inspection devices C1 to C4, but the number of inspection devices may be changed as appropriate.

また、検査項目についても適宜変更してもよい。例えば、第二検査装置C2は、錠剤5における破損の有無という検査項目についての検査を行うものであってもよい。 In addition, the inspection items may also be changed as appropriate. For example, the second inspection device C2 may perform an inspection regarding the inspection item of the presence or absence of breakage in the tablet 5.

(e)上記実施形態では、「内容物」として錠剤5を挙げているが、内容物は錠剤に限定されるものではない。 (e) In the above embodiment, the tablet 5 is mentioned as the "content", but the content is not limited to the tablet.

また、錠剤の種別や形状等については、上記実施形態に限定されるものではない。例えば錠剤には、医薬のみならず、飲食用に用いられる錠剤なども含まれる。また、錠剤には、素錠、糖衣錠、フィルムコーティング錠、腸溶錠及びゼラチン被包錠などが含まれるのは勿論のこと、硬カプセルや軟カプセルなどの各種カプセル錠なども含まれる。 Further, the type, shape, etc. of the tablet are not limited to the above embodiments. For example, tablets include not only medicines but also tablets used for consumption. Furthermore, tablets include not only plain tablets, sugar-coated tablets, film-coated tablets, enteric-coated tablets, and gelatin-encapsulated tablets, but also various capsule tablets such as hard capsules and soft capsules.

さらに、錠剤の形状に関しては、平面視円形状のみならず、例えば、平面視多角形状、平面視楕円形状、平面視長円形状等であってもよい。 Furthermore, the shape of the tablet is not limited to a circular shape in a plan view, but may be, for example, a polygonal shape, an elliptical shape in a plan view, an ellipse shape in a plan view, or the like.

(f)製造されるPTPシートの構成は上記実施形態に限定されるものではない。例えばPTPシート1単位のポケット部2の配列や個数は上記実施形態に何ら限定されるものではない。 (f) The configuration of the manufactured PTP sheet is not limited to the above embodiment. For example, the arrangement and number of pocket portions 2 per unit of PTP sheet are not limited to those in the above embodiment.

また、上記実施形態において、PTPフィルム6は、その幅方向に沿って1シート分に対応する数のポケット部2が配列された構成となっているが、これに限定されるものではなく、例えば、その幅方向に沿って複数シート分に対応する数のポケット部2が配列された構成であってもよい。勿論、PTPフィルム6の構成に合わせて、予熱装置15及びポケット部形成装置16の構成を変更してもよい。また、予熱装置15等の構成に合わせて、予熱装置15等による処理の対象となる容器フィルム3の搬送量を適宜変更してもよい。 Further, in the above embodiment, the PTP film 6 has a configuration in which the pocket portions 2 of the number corresponding to one sheet are arranged along the width direction of the PTP film 6, but the structure is not limited to this, and for example, , a configuration may be adopted in which a number of pocket portions 2 corresponding to a plurality of sheets are arranged along the width direction. Of course, the configurations of the preheating device 15 and the pocket forming device 16 may be changed according to the configuration of the PTP film 6. Further, the amount of conveyance of the container film 3 to be processed by the preheating device 15 or the like may be changed as appropriate depending on the configuration of the preheating device 15 or the like.

さらに、上記実施形態では、ブリスタシートとしてPTPシート1を挙げているが、PTPシート1以外のブリスタシートに対し本発明の技術思想を適用してもよい。 Further, in the above embodiment, the PTP sheet 1 is used as the blister sheet, but the technical idea of the present invention may be applied to blister sheets other than the PTP sheet 1.

(g)上記実施形態では、PTP包装機10に対し確認システム50が適用されているが、確認システム50を適用可能な製造装置は、搬送方向に沿った順序を変えることなく搬送されるワークに対し、同一処理を繰り返し施すものであればよく、PTP包装機10に限定されるものではない。 (g) In the above embodiment, the confirmation system 50 is applied to the PTP packaging machine 10, but a manufacturing device to which the confirmation system 50 can be applied is applicable to workpieces that are transferred without changing the order along the transfer direction. On the other hand, it is not limited to the PTP packaging machine 10 as long as the same process is repeatedly performed.

従って、例えば、「ワーク」としての容器(トレイ)に対し、内容物を収容する処理、蓋フィルムを取着する処理などを繰り返し施す密封パックの製造装置(例えば、特開2021-181330号公報に記載の装置)に対し、確認システム50を適用してもよい。また、例えば、「ワーク」としてのベース基板に対し、半田を塗布する処理、電子部品を実装する処理及び半田を加熱溶融させる処理(リフロー処理)などを繰り返し施す基板製造装置(例えば、特開2017-15717号公報に記載の基板製造システム)に対し、確認システム50を適用してもよい。 Therefore, for example, an apparatus for manufacturing a sealed pack that repeatedly processes a container (tray) as a "work" to contain the contents, attach a lid film, etc. The verification system 50 may be applied to the described device). In addition, for example, a board manufacturing apparatus that repeatedly performs processes such as applying solder, mounting electronic components, and heating and melting the solder (reflow process) on a base board as a "work" (for example, Japanese Patent Application Laid-Open No. 2011 The confirmation system 50 may be applied to the substrate manufacturing system described in Japanese Patent No. 15717.

1…PTPシート(ワーク)、3…容器フィルム(ワーク)、10…PTP包装機(製造装置)、50…製造装置の状況確認システム、64…リングバッファ、66…カメラ特定部(撮影手段特定手段)、67…対象データ保存部(対象データ保存手段)、68…変換部(変換手段)、69…遡及フレーム数導出部(遡及フレーム数導出手段)、C1~C4…検査装置(検査手段)、EM…マスターエンコーダ、R1~R6…カメラ(動画撮影手段)。 DESCRIPTION OF SYMBOLS 1... PTP sheet (work), 3... Container film (work), 10... PTP packaging machine (manufacturing equipment), 50... Manufacturing equipment status confirmation system, 64... Ring buffer, 66... Camera identification unit (photographing means identification means) ), 67... Target data storage section (target data storage means), 68... Conversion section (conversion means), 69... Retroactive frame number deriving section (retroactive frame number deriving means), C1 to C4... Inspection device (inspection means), EM...Master encoder, R1 to R6...Camera (video shooting means).

Claims (5)

搬送方向に沿った順序を変えることなく搬送されるワークに対し、同一処理を繰り返し施す製造装置に用いられ、製造に係る不具合の発生状況を動画によって確認するための製造装置の状況確認システムであって、
前記ワークの搬送経路に沿って配置され、時系列順で保存された複数の静止フレーム画像データからなる、前記ワーク自体又は前記ワークに対する処理に係る動画データを得る動画撮影手段と、
前記ワーク自体及び前記ワークに対する処理のうちの少なくとも一方についての良否を判定する検査手段と、
前記検査手段により不良判定されたことをトリガーとして、前記動画データの中から所定の対象データを抽出して保存する対象データ保存手段とを備え、
前記対象データ保存手段は、前記動画データのうち、前記トリガーが発生したときの前記静止フレーム画像データを基準とし、前記検査手段による不良判定に関係する前記動画撮影手段から該検査手段に対する前記ワークの搬送量に対応する遡及フレーム数の分だけ遡った位置にある所定範囲のものを、前記対象データとして抽出して保存するように構成され
少なくとも前記ワークの搬送に係る基準となる回転数及び位相を生成可能なマスターエンコーダを備え、
前記動画撮影手段は、前記マスターエンコーダの起動に合わせて前記動画データの撮影を開始するとともに、前記マスターエンコーダの停止に合わせて前記動画データの撮影を終了するように構成されており、
前記マスターエンコーダにより生成される回転数及び位相に基づき、前記遡及フレーム数を導出可能な遡及フレーム数導出手段を有することを特徴とする製造装置の状況確認システム。
This is a status confirmation system for manufacturing equipment that is used in manufacturing equipment that repeatedly performs the same process on workpieces that are transported without changing the order along the transport direction, and is used to check the occurrence of manufacturing defects using videos. hand,
a moving image capturing means for obtaining moving image data related to the work itself or processing on the work, which consists of a plurality of still frame image data arranged along a conveyance path of the work and stored in chronological order;
Inspection means for determining the quality of at least one of the workpiece itself and the processing for the workpiece;
target data storage means for extracting and storing predetermined target data from the video data, triggered by the determination of the defect by the inspection means;
The target data storage means uses the still frame image data at the time when the trigger occurs among the moving image data as a reference, and stores the work from the moving image capturing means to the inspecting means related to the defect determination by the inspecting means. configured to extract and save as the target data data in a predetermined range located at a position as far back as the number of retroactive frames corresponding to the amount of transport ;
At least a master encoder capable of generating a reference rotation speed and phase for transporting the workpiece,
The video shooting means is configured to start shooting the video data when the master encoder is activated, and to end shooting the video data when the master encoder stops;
A system for checking the status of a manufacturing device , comprising retroactive frame number deriving means capable of deriving the retroactive frame number based on the rotation speed and phase generated by the master encoder .
前記動画撮影手段により得られた前記動画データは、前記静止フレーム画像データごとに、該静止フレーム画像データが得られたときの時刻を示す実時刻タイムコードを付した形式で所定のリングバッファに保存されており、
前記マスターエンコーダにより生成される回転数及び位相と、前記実時刻タイムコードとの対応関係を示す変換テーブルを用いて、前記マスターエンコーダにより生成される回転数及び位相を、前記実時刻タイムコードに変換する変換手段を有し、
前記対象データ保存手段は、前記変換手段によって、前記マスターエンコーダにより生成される回転数及び位相を、前記実時刻タイムコードに変換するとともに、該実時刻タイムコードを利用して、前記リングバッファに保存された前記動画データの中から前記対象データを抽出して保存するように構成されていることを特徴とする請求項に記載の製造装置の状況確認システム。
The moving image data obtained by the moving image capturing means is stored in a predetermined ring buffer in a format in which a real time time code indicating the time when the still frame image data is obtained is attached to each of the still frame image data. has been
Converting the rotation speed and phase generated by the master encoder into the real time time code using a conversion table showing the correspondence between the rotation speed and phase generated by the master encoder and the real time time code. has a conversion means to
The target data storage means converts the rotation speed and phase generated by the master encoder into the real time time code by the conversion means, and stores the real time time code in the ring buffer using the real time time code. 2. The manufacturing apparatus status confirmation system according to claim 1, wherein the system is configured to extract and save the target data from the video data that has been processed.
前記動画撮影手段により得られた前記動画データは、前記静止フレーム画像データごとに、該静止フレーム画像データが得られたときの、前記マスターエンコーダにより生成される回転数及び位相を示す機械的タイムコードを付した形式で所定のリングバッファに保存されており、
前記対象データ保存手段は、前記機械的タイムコードを利用して、前記リングバッファに保存された前記動画データの中から前記対象データを抽出して保存するように構成されていることを特徴とする請求項に記載の製造装置の状況確認システム。
The moving image data obtained by the moving image capturing means includes, for each still frame image data, a mechanical time code indicating the rotation speed and phase generated by the master encoder when the still frame image data was obtained. It is saved in the specified ring buffer in the format with
The target data storage means is configured to extract and store the target data from the video data stored in the ring buffer using the mechanical time code. A status confirmation system for manufacturing equipment according to claim 1 .
前記動画撮影手段は、前記ワークの搬送方向に沿って複数設けられており、
前記検査手段には、複数の検査項目についての良否判定を行うものが含まれており、
前記検査項目と、前記検査項目に関係する前記動画撮影手段との対応関係を示す特定テーブルを用いて、複数の前記動画撮影手段の中から、不良判定された検査項目に関係するものを特定する撮影手段特定手段を有し、
前記対象データ保存手段は、前記撮影手段特定手段により特定された前記動画撮影手段が得た前記動画データの中から、前記対象データを抽出して保存するように構成されていることを特徴とする請求項1乃至3のいずれか1項に記載の製造装置の状況確認システム。
A plurality of the video shooting means are provided along the conveyance direction of the workpiece,
The inspection means includes one for determining pass/fail for a plurality of inspection items,
Using a specific table showing a correspondence relationship between the inspection item and the video capturing means related to the inspection item, one of the plurality of video capturing means related to the inspection item determined to be defective is specified. It has a photographing means identification means,
The target data storage means is configured to extract and store the target data from among the video data obtained by the video shooting means specified by the photographing means specifying means. A status confirmation system for manufacturing equipment according to any one of claims 1 to 3 .
搬送方向に沿った順序を変えることなく搬送されるワークに対し、同一処理を繰り返し施す製造装置に用いられ、製造に係る不具合の発生状況を動画によって確認するための製造装置の状況確認システムであって、This is a manufacturing equipment status confirmation system used in manufacturing equipment that repeatedly performs the same process on workpieces that are transported without changing the order along the transport direction, and is used to check the occurrence of manufacturing defects using videos. hand,
前記ワークの搬送経路に沿って配置され、時系列順で保存された複数の静止フレーム画像データからなる、前記ワーク自体又は前記ワークに対する処理に係る動画データを得る動画撮影手段と、a moving image capturing means for obtaining moving image data relating to the work itself or processing on the work, which consists of a plurality of still frame image data arranged along a conveyance path of the work and stored in chronological order;
前記ワーク自体及び前記ワークに対する処理のうちの少なくとも一方についての良否を判定する検査手段と、Inspection means for determining the quality of at least one of the workpiece itself and the processing for the workpiece;
前記検査手段により不良判定されたことをトリガーとして、前記動画データの中から所定の対象データを抽出して保存する対象データ保存手段とを備え、target data storage means for extracting and storing predetermined target data from the video data, triggered by a defective determination by the inspection means;
前記対象データ保存手段は、前記動画データのうち、前記トリガーが発生したときの前記静止フレーム画像データを基準とし、前記検査手段による不良判定に関係する前記動画撮影手段から該検査手段に対する前記ワークの搬送量に対応する遡及フレーム数の分だけ遡った位置にある所定範囲のものを、前記対象データとして抽出して保存するように構成され、The target data storage means uses the still frame image data of the moving image data at the time when the trigger occurs as a reference, and stores the work from the moving image capturing means to the inspecting means related to the defect determination by the inspecting means. configured to extract and save as the target data data in a predetermined range located at a position as far back as the number of retroactive frames corresponding to the transport amount;
前記動画撮影手段は、前記ワークの搬送方向に沿って複数設けられており、A plurality of the video shooting means are provided along the conveyance direction of the workpiece,
前記検査手段には、複数の検査項目についての良否判定を行うものが含まれており、The inspection means includes one for determining pass/fail for a plurality of inspection items,
前記検査項目と、前記検査項目に関係する前記動画撮影手段との対応関係を示す特定テーブルを用いて、複数の前記動画撮影手段の中から、不良判定された検査項目に関係するものを特定する撮影手段特定手段を有し、Using a specific table showing a correspondence relationship between the inspection item and the video capturing means related to the inspection item, one of the plurality of video capturing means related to the inspection item determined to be defective is specified. It has a photographing means identification means,
前記対象データ保存手段は、前記撮影手段特定手段により特定された前記動画撮影手段が得た前記動画データの中から、前記対象データを抽出して保存するように構成されていることを特徴とする製造装置の状況確認システム。The target data storage means is configured to extract and store the target data from among the video data obtained by the video shooting means specified by the photographing means specifying means. Manufacturing equipment status confirmation system.
JP2022183111A 2022-11-16 2022-11-16 Manufacturing equipment status confirmation system Active JP7446392B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022183111A JP7446392B1 (en) 2022-11-16 2022-11-16 Manufacturing equipment status confirmation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022183111A JP7446392B1 (en) 2022-11-16 2022-11-16 Manufacturing equipment status confirmation system

Publications (1)

Publication Number Publication Date
JP7446392B1 true JP7446392B1 (en) 2024-03-08

Family

ID=90105494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022183111A Active JP7446392B1 (en) 2022-11-16 2022-11-16 Manufacturing equipment status confirmation system

Country Status (1)

Country Link
JP (1) JP7446392B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001239686A (en) 2000-02-25 2001-09-04 Fuji Photo Film Co Ltd Thermal printer
JP2001268509A (en) 2000-03-17 2001-09-28 Omron Corp Image recording device and system
JP2014224763A (en) 2013-05-16 2014-12-04 住友化学株式会社 Defect inspection system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001239686A (en) 2000-02-25 2001-09-04 Fuji Photo Film Co Ltd Thermal printer
JP2001268509A (en) 2000-03-17 2001-09-28 Omron Corp Image recording device and system
JP2014224763A (en) 2013-05-16 2014-12-04 住友化学株式会社 Defect inspection system

Similar Documents

Publication Publication Date Title
JP5081188B2 (en) Input device for film packaging machine
CN108733010B (en) Industrial control device, control method, recording medium, packaging machine, and packaging machine control device
JP2007069950A (en) Ptp sheet manufacturing device
US10839501B2 (en) System for checking package body with image
EP3553504B1 (en) Inspection device and ptp packaging machine
JP6229193B1 (en) Judgment method of delayed leak from filling package
CN106802304B (en) Appearance inspection device
JP6062396B2 (en) Inspection system and PTP packaging machine
JP5357203B2 (en) Tablet inspection device and PTP packaging machine
JP7446392B1 (en) Manufacturing equipment status confirmation system
US6576390B1 (en) Method of and apparatus for manufacturing instant photographic film units
JP2003191918A (en) Method and system for managing processing history of sheetlike photosensitive material
JP4477516B2 (en) Inspection device and PTP packaging machine
JP4929205B2 (en) Quality recording device for packaged products in packaging machines
JP3186889U (en) Combined goods inspection device
JP2023104231A (en) Blister packaging machine and manufacturing method of blister sheet
JP2009276102A (en) Pocket shape inspecting device
JP5266503B2 (en) Control device for film packaging machine
JPS6335483B2 (en)
JP6456329B2 (en) Inspection system and PTP packaging machine
JP2008087849A (en) Automatic packaging machine
KR20180107355A (en) Method of detecting data stamp transferring error for food packing wrapper
JP2019155770A (en) Manufacturing method of pouch
JP6943168B2 (en) Inspection system and inspection method
JP2011189607A (en) Apparatus for detecting positional deviation of punched hole and bag making machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231107

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20231107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240129

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240227

R150 Certificate of patent or registration of utility model

Ref document number: 7446392

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150