JPS626179B2 - - Google Patents

Info

Publication number
JPS626179B2
JPS626179B2 JP52101825A JP10182577A JPS626179B2 JP S626179 B2 JPS626179 B2 JP S626179B2 JP 52101825 A JP52101825 A JP 52101825A JP 10182577 A JP10182577 A JP 10182577A JP S626179 B2 JPS626179 B2 JP S626179B2
Authority
JP
Japan
Prior art keywords
signal
inspection
circuit
field
level
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.)
Expired
Application number
JP52101825A
Other languages
Japanese (ja)
Other versions
JPS5434886A (en
Inventor
Toshihiro Kajiura
Norio Taneda
Masahiro Mori
Juichi Fukui
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.)
Kanebo Ltd
Original Assignee
Kanebo Ltd
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 Kanebo Ltd filed Critical Kanebo Ltd
Priority to JP10182577A priority Critical patent/JPS5434886A/en
Publication of JPS5434886A publication Critical patent/JPS5434886A/en
Publication of JPS626179B2 publication Critical patent/JPS626179B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Sorting Of Articles (AREA)

Description

【発明の詳細な説明】 本発明はテレビカメラによつて錠剤等の規格化
された個体被検物の表面像をとらえ表面に存在す
る汚点やゴミの付着、異物混入などの欠陥検査を
行う装置に関し、高速に順次一列に移送せる被検
物を各テレビ走査フイールドにおける被検物の映
像信号の有無により確実に検知し、検知後の任意
の走査フイールドにおける映像信号により検査を
行う装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention is a device that uses a television camera to capture an image of the surface of a standardized solid specimen such as a tablet, and inspects defects such as dirt, dust, and foreign matter on the surface. The present invention relates to a device that reliably detects a test object that is transferred in a line at high speed by the presence or absence of a video signal of the test object in each television scanning field, and performs an inspection using the video signal in any scanning field after detection.

医薬品の錠剤は元来、人間の体内に入ることか
ら衛生に関する考慮が十分なされなければならな
い。特に視覚でとらえ得る錠剤表面上の汚点、異
物付着、傷などの欠点について最終製品となる以
前に全数検査によつて選別を実施する必要があ
る。
Since pharmaceutical tablets enter the human body, sufficient hygiene must be taken into consideration. In particular, it is necessary to perform a 100% inspection to screen out defects such as stains, adhesion of foreign substances, and scratches on the surface of tablets that can be visually detected before they are made into final products.

従来、この検査は複数名の検査員による目視検
査を実施しているが、検査員の個人差、たとえば
視覚検査能力、経験、疲労度合などの要因により
錠剤検査基準のばらつきを生じ、また目視では
高々1秒間に3錠程度の検査速度しか得られない
ため全数検査の場合、多大の時間を要し、検査員
の数も製剤工程の中で多くを占める現状である。
Conventionally, this inspection has been carried out visually by multiple inspectors, but due to individual differences among inspectors, such as factors such as visual inspection ability, experience, and degree of fatigue, tablet inspection standards have varied, and visual inspection has Since the inspection speed is only about 3 tablets per second at most, it takes a lot of time to inspect all the tablets, and the number of inspectors currently occupies a large portion of the formulation process.

こうした従来の目視検査の欠点を解消し、検査
精度の基準化と向上、検査処理速度の向上を目的
とするテレビカメラによる錠剤検査装置が開発さ
れている。人間の目の代用としてテレビカメラを
用い、錠剤表面像に応じたある走査フイールドに
おける映像信号から汚点、傷などの欠陥部を微分
などにより特徴抽出し、正常な錠剤では生じるこ
とのない特徴信号を判定することによつて検査を
実施しており、テレビの高速走査のため検査処理
速度も従来の目視検査時に比較し、少なくとも
5、6倍になり、さらに検査精度向上とともに検
査基準は一定となり得る。
A tablet inspection device using a television camera has been developed with the aim of eliminating these drawbacks of conventional visual inspection, standardizing and improving inspection accuracy, and improving inspection processing speed. Using a television camera as a substitute for the human eye, defects such as stains and scratches are extracted from video signals in a certain scanning field corresponding to the tablet surface image by differentiation, and characteristic signals that do not occur in normal tablets are extracted. Inspection is carried out by making judgments, and due to the high-speed scanning of televisions, the inspection processing speed is at least 5 to 6 times that of conventional visual inspection, and as inspection accuracy improves, inspection standards can become constant. .

このテレビカメラによる錠剤検査ではテレビの
高速走査を最大限発揮させるため、テレビカメラ
視野、すなわち検査域に錠剤を載置して順次移送
する手段を設け、テレビの走査フイールドの中か
ら移送中の錠剤1錠分を完全に検査域にとらえた
走査フイールドを検査対象としてサンプリングす
る必要がある。
In this tablet inspection using a television camera, in order to make maximum use of the high-speed scanning of the television, a means is provided to place the tablets in the field of view of the television camera, that is, the inspection area, and sequentially transport the tablets. It is necessary to sample a scanning field that completely captures one tablet within the inspection area.

サンプリングを行う場合、テレビの検査装置と
は別に光学的なセンサーなどをテレビカメラ視野
に被検物が移送される直前の位置に設け、光学的
に反射量変化などにより被検物を認織し、被検物
の移送速度と、光学的センサーとテレビカメラ視
野位置との距離から被検物がテレビカメラ視野に
完全に含まれるように遅延時間を設定し、光学的
認識から、かかる遅延時間後に相当するテレビの
1フイールドにおける映像情報を検査対象として
サンプリングすることが考えられるが、こうした
光学的に被検物を検知する方法では錠剤、特に糖
衣錠などのように曲率のある形状の場合、面によ
つて光の反射のばらつきがあり、また小さく、軽
量なために微妙な振動などが大きく位置ずれに影
響し、光学的認識タイミングが不安定となつたり
検知ミスを生じるという欠点を有している。
When sampling, in addition to the television inspection device, an optical sensor is placed in the field of view of the television camera just before the specimen is transferred, and the specimen is optically recognized by changes in the amount of reflection. , a delay time is set so that the object is completely included in the field of view of the television camera based on the transport speed of the object and the distance between the optical sensor and the position of the TV camera's field of view, and from optical recognition, after such delay time It is conceivable to sample the image information in one field of the corresponding television as the inspection target, but with this method of optically detecting the test object, it is difficult to detect the surface of a tablet, especially in the case of a curved shape such as a sugar-coated tablet. As a result, there are variations in light reflection, and because they are small and lightweight, subtle vibrations can greatly affect positional deviation, making optical recognition timing unstable and causing detection errors. .

本発明はテレビカメラにて錠剤等の検査を行う
装置に関し、検査対象を含む1フイールドのサン
プリングミスをなくし、確実な検査対象を有する
フイールドのサンプリングを行うために、テレビ
の1画面中に電気的に設定した検知用のエリア内
における被検物の映像信号の有無を毎フイールド
判定し、被検物の映像信号が検知エリア内にあれ
ば検知の認識情報を得、また検知エリアを含みテ
レビの1画面中に電気的に設定した検査エリア内
において、移送せる被検物全体像が完全に含まれ
るような認識後の任意の或る1フイールドにおけ
る映像信号をサンプリングし、この映像信号につ
いて欠陥の特徴抽出を行い、被検物の表面検査を
実施することを特徴とする。
The present invention relates to an apparatus for inspecting tablets, etc. using a television camera, and in order to eliminate sampling errors in one field that includes an inspection target and to ensure sampling of a field that includes an inspection target, an electrical connection is made in one screen of the television. The presence or absence of the video signal of the test object within the detection area set in the detection area is determined for each field, and if the video signal of the test object is within the detection area, detection recognition information is obtained. Within an inspection area that is electrically set in one screen, a video signal in an arbitrary field after recognition that completely includes the entire image of the object to be transferred is sampled, and defects are detected in this video signal. It is characterized by extracting features and performing a surface inspection of the object.

本発明によれば移送せる被検物の検知をテレビ
画面中に設定した検知エリア内の被検物の映像情
報有無により行うために移送せる被検物の振動や
位置ずれに対し大きな余裕度を有し、またテレビ
カメラによつて被検物を面でとらえるために被検
物の形状の差に起因する検知タイミングミスはな
く、検知後の検査フイールドのサンプリングは確
実なものとなる。また被検物の移送速度や一列に
移送せるピツチに応じて、テレビの画面中に検知
エリアと、それを含む検査エリアを任意の位置、
任意の大きさに電気的設定が容易にできるため、
移送せる被検物に対してテレビカメラ視野の設定
条件、たとえば倍率、視野内の移送方向などに応
じ検査能力を十分に発揮することができる。ま
た、被検物を撮像した映像信号から被検物のレベ
ルと背景レベルとをレベルコンパレータで分離し
て被検物のレベル信号を抽出し、このレベル信号
を検知エリアマスク信号で開くゲート回路に通
し、ゲート回路を通過した被検物のレベル信号を
検出し、この検出時点から一定フイールドを検査
フイールドとして被検物の傷等を検出するように
しているため、被検物が検査エリアに完全に入つ
た状態において検査を実施することができる。す
なわち、単に被検物を全体的に捉えるレベル信号
が検知エリアマスク信号で制御されるゲート回路
を通過したことを検出するだけでよく、回路構成
が簡単である。
According to the present invention, since the detection of the object to be transferred is performed based on the presence or absence of image information of the object within the detection area set on the TV screen, there is a large degree of margin for vibration and positional deviation of the object to be transferred. Furthermore, since the object to be inspected is captured in a plane by a television camera, there is no error in detection timing due to differences in the shape of the object to be inspected, and sampling of the inspection field after detection is reliable. In addition, depending on the transfer speed of the test object and the pitch at which it can be transferred in a line, the detection area and the inspection area containing it can be placed at any position on the TV screen.
Electrical settings can be easily made to any size, so
The inspection ability can be fully demonstrated in accordance with the setting conditions of the field of view of the television camera, such as the magnification and the direction of transport within the field of view, for the object to be transported. In addition, a level comparator separates the level of the object and the background level from the video signal obtained by imaging the object, extracts the level signal of the object, and sends this level signal to a gate circuit that opens with a detection area mask signal. The level signal of the test object that has passed through the gate circuit is detected, and from the point of detection, a fixed field is used as the inspection field to detect scratches on the test object. Inspections can be carried out in the following conditions. That is, it is sufficient to simply detect that a level signal that captures the entire object under test has passed through a gate circuit controlled by a detection area mask signal, and the circuit configuration is simple.

また移送速度向上によつて検査能力を増す場
合、通常の照明装置を用いた時に、テレビカメラ
の残像特性などの影響により像が流れて十分な精
度の検査が困難となる。これを解決するには固体
撮像素子カメラや非蓄積タイプの撮像カメラの使
用が考えられるが、一般に広く利用されている工
業用テレビカメラが非常に安価で信頼性も高く、
テレビ1フイールド走査と同期し閃光するストロ
ボライトを照明装置として備えることにより、高
速に移送せる錠剤検査が可能となり検査能力向上
が実現できる。
Furthermore, when increasing the inspection capability by increasing the transport speed, when a normal illumination device is used, the image blurs due to the afterimage characteristics of a television camera, making it difficult to inspect with sufficient accuracy. To solve this problem, it is possible to use a solid-state image pickup camera or a non-storage type image pickup camera, but industrial television cameras, which are widely used, are extremely cheap and highly reliable.
By providing a strobe light as an illumination device that flashes in synchronization with the scanning of the TV 1 field, it is possible to inspect tablets that can be transported at high speed, and the inspection capacity can be improved.

以下、錠剤を対象とする実施例により本発明の
特徴を図により説明する。
Hereinafter, the features of the present invention will be explained with reference to figures using an example that deals with tablets.

第1図は本発明の実施構成を示すブロツクダイ
アグラムである。
FIG. 1 is a block diagram showing an implementation configuration of the present invention.

被検錠剤は適当なピツチを有しテレビカメラ1
の視野内を順次一列に移送しつつ被検錠剤表面状
態に応じた映像信号に変換され、カメラコントロ
ールユニツト2より水平同期信号および垂直同期
信号とともに出力される。前記映像信号は映像信
号処理回路3により雑音消去、信号増幅などの処
理を行つた後特徴抽出回路4とレベルコンパレー
タ5に入力される。
The tablet to be tested has an appropriate pitch and the TV camera 1
The tablet is sequentially transferred in a line within the visual field of the test tablet, and is converted into a video signal according to the surface condition of the tablet to be tested, and is output from the camera control unit 2 together with a horizontal synchronization signal and a vertical synchronization signal. The video signal is subjected to processing such as noise cancellation and signal amplification by a video signal processing circuit 3 and then input to a feature extraction circuit 4 and a level comparator 5.

また前記カメラコントロールユニツト2より出
力される前記水平同期信号および前記垂直同期信
号からエリアマスク信号発生回路6によつてテレ
ビ画面中に被検錠剤の認識情報を得る検知エリア
と、該検知エリアを含み有効検査範囲としての検
査エリアに相当するタイミングパルスを発生す
る。さらに前記エリアマスク信号発生回路6には
テレビ画面中に前記検知エリアの位置およびサイ
ズを調節する調節器7、調節器8と前記検査エリ
アの位置およびサイズを調節する調節器9、調節
器10が備えられている。前記レベルコンパレー
タ5において被検錠剤の表面レベルと背景レベル
を完全にコンパレートできるようなコンパレート
レベルをレベル設定器11により設定して被検錠
剤像をパルス出力し、該パルス出力は前記エリア
マスク信号発生回路6より出力された前記検知エ
リアタイミングパルスとゲート12を介し、前記
検知エリア内に含まれるもののみを認識信号とし
て出力する。
It also includes a detection area for obtaining recognition information of the test tablet on the television screen by an area mask signal generation circuit 6 from the horizontal synchronization signal and the vertical synchronization signal output from the camera control unit 2, and the detection area. A timing pulse corresponding to the inspection area as an effective inspection range is generated. Furthermore, the area mask signal generation circuit 6 includes regulators 7 and 8 for adjusting the position and size of the detection area on the television screen, and regulators 9 and 10 for adjusting the position and size of the inspection area. It is equipped. A comparison level that allows the level comparator 5 to completely compare the surface level of the test tablet and the background level is set by the level setter 11, and the test tablet image is outputted as a pulse, and the pulse output is applied to the area mask. Through the detection area timing pulse outputted from the signal generation circuit 6 and the gate 12, only those included in the detection area are output as recognition signals.

該認識信号は検査フイールドサンプリング回路
13において、該認識信号を得たフイールドより
任意の後に続くある1フイールドを検査フイール
ドとしてサンプリングし、該検査フイールドにお
ける前記検査エリアタイミングパルスを出力す
る。調節器14は認識したフイールドから何フイ
ールド後を検査フイールドとしてサンプリングす
るか、そのタイミングを調節するものである。
The recognition signal is sampled in a test field sampling circuit 13 by sampling a certain field arbitrarily following the field from which the recognition signal was obtained as a test field, and outputs the test area timing pulse in the test field. The adjuster 14 is used to adjust the timing of how many fields after the recognized field are sampled as test fields.

前記特徴抽出回路4において微分などにより欠
陥部を強調し、微分信号の正ピーク、負ピークを
2値化した正判定信号と負判定信号を得る。こう
して得られた判定信号は前記検査フイールドサン
プリング回路13より出力された前記検査エリア
タイミングパルスとゲート15,16を介し検査
フイールドにおける該判定信号をとらえ判定回路
17において欠陥の有無を判定し錠剤検査を実施
する。
In the feature extraction circuit 4, the defective portion is emphasized by differentiation or the like, and a positive judgment signal and a negative judgment signal are obtained by binarizing the positive peak and negative peak of the differential signal. The judgment signal thus obtained is transmitted through the inspection area timing pulse outputted from the inspection field sampling circuit 13 and the judgment signal in the inspection field through the gates 15 and 16, and the judgment circuit 17 judges the presence or absence of a defect, and performs tablet inspection. implement.

第2図は本発明による実施構成における基本と
なる錠剤検査方法を示すものである。aのように
錠剤表面に汚点が存在する場合、汚点上をライン
走査すると1ラインの映像信号bを得る。汚点と
表面レベルとの差により汚点部で落ち込みを生
じ、該映像信号bをさらに微分すると微分信号c
を発生する。ここで錠剤表面の汚点は鋭いピーク
となつて錠剤エツジ部のピークとともに抽出され
る。ここでは微分による特徴抽出を実施している
が、2次微分や、該映像信号から直接コンパレー
タなどを介し抽出する方法などを行つても同様で
ある。
FIG. 2 shows the basic tablet inspection method in the implementation configuration according to the present invention. When a stain is present on the tablet surface as shown in a, one line of video signal b is obtained by scanning a line over the stain. A drop occurs at the spot due to the difference between the spot and the surface level, and when the video signal b is further differentiated, a differential signal c is obtained.
occurs. Here, the dirt on the tablet surface forms a sharp peak and is extracted together with the peak at the edge of the tablet. Here, features are extracted by differentiation, but the same effect can be achieved by performing second-order differentiation or extraction directly from the video signal via a comparator or the like.

前記微分信号Cにおける正のピーク、負のピー
クについて汚点とエツジ部を抽出するために閾値
レベルP,Nによつて各々パルス化した特徴信号
d,eを得る。正常な錠剤の場合、必ずエツジ部
においてピークが出るので該特徴信号を1ライン
でカウントすると各々1となり、汚点などの欠陥
があればd,eのように欠陥個数に応じ2以上と
なるため、検査を実施するあるフイールドにおい
て1ライン毎に該特徴信号をカウントしいかなる
ラインであつても2以上カウントすれば検査対象
となる錠剤は欠陥であると判定する。
In order to extract spots and edges from the positive peaks and negative peaks in the differential signal C, characteristic signals d and e are obtained which are pulsed at threshold levels P and N, respectively. In the case of a normal tablet, a peak always appears at the edge, so if the characteristic signals are counted in one line, each will be 1, and if there is a defect such as a stain, it will be 2 or more depending on the number of defects, such as d and e. In a certain field to be inspected, the characteristic signal is counted line by line, and if any line is counted 2 or more, the tablet to be inspected is determined to be defective.

第3図は前記映像信号処理回路3の回路構成図
であり、前記カメラコントロールユニツト2より
出力される映像信号を演算増幅器18,19でロ
ーパスフイルタを構成し、かつ増幅処理を行う。
また増幅ゲイン調節および雰レベルのクランプを
可変抵抗器20,21で行う。
FIG. 3 is a circuit diagram of the video signal processing circuit 3, in which operational amplifiers 18 and 19 constitute a low-pass filter and amplify the video signal output from the camera control unit 2.
Further, variable resistors 20 and 21 perform amplification gain adjustment and clamping of the atmospheric level.

第4図は前記特徴抽出回路4の回路構成図であ
り、前記映像信号処理回路3より出力される整形
映像信号を演算増幅器22で構成した微分回路に
よつて微分し、さらに微分信号の正ピーク、負ピ
ークを抽出するべく各々適当なバイアス電圧−
V2+V3をかけ、コンパレータ23,24により
零レベルクロスのコンパレートを行い、さらにゲ
ート25,26,27を介し同極性の2値化した
正および負判定信号を得る。また該コンパレータ
23,24にヒステリシスをもたせることで雑音
対策を図り安定したコンパレートを可能としてい
る。前記正および負判定信号は前記判定回路17
にて各々1ライン毎にカウントされ、2以上カウ
ントした被検錠剤について欠陥の検査情報を出力
し直接、選別機を制御したり、コンピユータに入
力して検査情報処理を行う。
FIG. 4 is a circuit configuration diagram of the feature extraction circuit 4, in which the shaped video signal output from the video signal processing circuit 3 is differentiated by a differentiating circuit constituted by an operational amplifier 22, and furthermore, the positive peak of the differentiated signal is , appropriate bias voltages to extract negative peaks.
V2+V3 is multiplied, comparators 23 and 24 perform zero level cross comparison, and gates 25, 26 and 27 are used to obtain binarized positive and negative determination signals of the same polarity. Further, by providing the comparators 23 and 24 with hysteresis, noise countermeasures are taken and stable comparison is possible. The positive and negative determination signals are sent to the determination circuit 17.
The tablets are counted for each line, and defect inspection information for tablets counted 2 or more is outputted to directly control the sorting machine or input to a computer to process the inspection information.

第5図は前記エリアマスク信号発生回路6にお
ける前記検査エリア信号発生の回路構成で、第6
図はその信号タイミングチヤートである。前記水
平同期信号および垂直同期信号をトリガとしたオ
フデイレイ回路28,29,30,31により第
6図に示すタイミングパルスa,b,c,dを発
生し、各々反転ゲート32,33、アンドゲート
34,35,36を介してテレビ画面中の前記検
査エリアに相当する検査エリア信号eが出力され
る。画面中の前記検査エリアの水平方向の位置は
前記オフデイレイ回路28の時定数調節器37に
より任意に決定でき、さらに垂直方向の位置も前
記オフデイレイ回路30の時定数調節器39によ
り決定できる。また前記検査エリアのサイズは水
平方向、垂直方向について前記オフデイレイ回路
29,31の時定数調節器38,40により任意
に決定できる。前記検知エリア信号の発生回路構
成は第5図と同様であり、被検錠剤の移送条件に
応じ時定数を前記検査エリア内に含まれる如く設
定する。
FIG. 5 shows a circuit configuration for generating the inspection area signal in the area mask signal generating circuit 6.
The figure shows the signal timing chart. Timing pulses a, b, c, and d shown in FIG. 6 are generated by off-delay circuits 28, 29, 30, and 31 triggered by the horizontal synchronizing signal and vertical synchronizing signal, and are inverted by inverting gates 32, 33, and AND gate 34, respectively. , 35 and 36, an inspection area signal e corresponding to the inspection area on the television screen is output. The horizontal position of the inspection area on the screen can be arbitrarily determined by the time constant adjuster 37 of the off-delay circuit 28, and the vertical position can also be determined by the time constant adjuster 39 of the off-delay circuit 30. Further, the size of the inspection area can be arbitrarily determined in the horizontal and vertical directions by the time constant adjusters 38 and 40 of the off-delay circuits 29 and 31. The circuit configuration for generating the detection area signal is the same as that shown in FIG. 5, and the time constant is set so as to be included in the inspection area depending on the transfer conditions of the tablet to be tested.

以上、前記エリアマスク信号発生回路6の基本
構成であり第7図にテレビ画面中に発生した前記
検知エリア、前記検査エリアの様子を示すが、移
送せる被検錠剤が一列でなく多列であつたり、多
方向に流れる場合など前記エリアマスク信号発生
回路6の基本構成を複数個有することにより、テ
レビ画面中に複数個の検査エリアを容易に発生
し、多列の同時検査を行うことが可能である。
The above is the basic configuration of the area mask signal generation circuit 6, and FIG. 7 shows the state of the detection area and the inspection area generated on the TV screen. By having a plurality of basic configurations of the area mask signal generation circuit 6, it is possible to easily generate multiple inspection areas on the TV screen and perform simultaneous inspection of multiple rows. It is.

第7図においてテレビ画面41内に任意に検査
エリア42を設定し、さらにその中に検知エリア
43を設定する場合、被検錠剤44の移送軌跡に
対し、機械的位置ずれなどに対する垂直方向の余
裕を設け、前記検知エリア43において検知した
ある走査フイールドより、希望する遅延したフイ
ールドで検査を行うために移送速度、被検錠剤の
サイズから、希望する検査フイールドにおける被
検錠剤の位置を求め、前記検査エリア42から抜
け出さぬように水平方向の余裕を設けることで、
最適なエリアを容易に発生する。
In FIG. 7, when an inspection area 42 is arbitrarily set within the television screen 41 and a detection area 43 is further set within the inspection area 42, there is an allowance in the vertical direction against mechanical positional deviation with respect to the transport trajectory of the test tablet 44. The position of the test tablet in the desired test field is determined based on the transport speed and the size of the test tablet in order to perform the test in a desired delayed field from a certain scanning field detected in the detection area 43. By providing a horizontal margin so as not to escape from the inspection area 42,
Easily generate optimal areas.

第8図は前記検査フイールドサンプリング回路
13の回路構成であり、前記検知エリア内で得た
認識情報bをリセツト信号、垂直同期信号をカウ
ントクロツクとし、さらに任意の検査フイールド
までのフイールドカウント設定値Cになると1フ
イールド信号を出力するようにプリセツタブルカ
ウンタ45およびゲート46を構成し、前記検査
エリア信号aの中から検査フイールドにおけるも
ののみをサンプリングする。
FIG. 8 shows the circuit configuration of the inspection field sampling circuit 13, in which the recognition information b obtained within the detection area is used as a reset signal, the vertical synchronization signal is used as a count clock, and the field count setting value up to an arbitrary inspection field is used. The presettable counter 45 and the gate 46 are configured so as to output a 1-field signal when the signal A is reached, and sample only the test field signal from the test area signal a.

また、移送条件によつて、前記検知エリア内で
1錠につき2回以上認識される場合が考えられる
が、ある認識情報を得てから同じ錠剤で再び認識
情報を得ることを禁止する如く、遅延回路47、
およびゲート48を設けている。この検知の禁止
タイミングは遅延時間設定器49にて任意に設定
することができ、いかなる移送条件にも、また被
検錠剤サイズに対しても1錠につき1回の確実な
検知とその後の任意フイールドにおける1回のサ
ンプリング検査が可能である。
Also, depending on the transport conditions, it is possible that one tablet may be recognized more than once within the detection area, but there may be a delay, such as prohibiting obtaining recognition information for the same tablet after obtaining certain recognition information. circuit 47,
and a gate 48. The timing of prohibition of this detection can be arbitrarily set using the delay time setting device 49, and regardless of the transfer conditions or the tablet size to be tested, one reliable detection per tablet and subsequent arbitrary field detection can be performed. A single sampling test is possible.

第9図は本発明によるストロボライトを具備し
た実施構成であり、テレビの垂直同期信号と完全
に同期する閃光信号発生器50とストロボライト
51を備え、高速に移送せる錠剤を静止した如く
とらえることにより、通常の工業用テレビカメラ
においてもその残像特性の影響を受けることな
く、精度高い検査を可能とし検査能力の向上を実
現するものである。
FIG. 9 shows an implementation configuration equipped with a strobe light according to the present invention, which is equipped with a flash signal generator 50 and a strobe light 51 that are completely synchronized with the vertical synchronization signal of the television, and can capture tablets that can be transported at high speed as if they were stationary. This makes it possible to perform highly accurate inspections without being affected by the afterimage characteristics of ordinary industrial television cameras, thereby improving inspection capabilities.

ある移送条件に対する検査エリア、検知エリア
の設定の例について第10図に示す。移送速度と
してテレビのフイールド走査時間内に被検錠剤の
半錠分移送する場合、テレビ画面52内に被検錠
剤が移送方向に1.5錠分入り得る検査エリア53
を設定する。ここで検知エリア54を移送方向に
対し該検査エリア53の1/3の位置にある巾を有
して設定することにより、最も早い検知状態aお
よび最も遅い検知状態bに対し、検知したフイー
ルドにおける被錠剤位置は各々b,cとなり、前
記検査エリア53に完全に含まれる。
FIG. 10 shows an example of setting the inspection area and detection area for certain transfer conditions. In the case of transferring half a tablet to be tested within the field scanning time of the TV as the transfer speed, an inspection area 53 where 1.5 tablets to be tested can fit within the TV screen 52 in the transfer direction.
Set. Here, by setting the detection area 54 to have a width that is 1/3 of the inspection area 53 in the transport direction, the width of the detected field is The tablet positions are b and c, respectively, and are completely included in the inspection area 53.

この場合、検知フイールドの次のフイールドを
検査フイールドとすることによつて検査処理回数
を増し、移送せる錠剤間隔が少くとも1錠あれば
検査フイールドにおいて決して2錠以上の像が存
在することはない。
In this case, by using the field next to the detection field as the inspection field, the number of inspection processes is increased, and as long as the interval between tablets that can be transferred is at least one tablet, images of more than two tablets will never exist in the inspection field. .

このように被検錠剤の半錠分、フイールド走査
時間内に移送する条件では以上のように検知、検
査エリアを設定することによつて検査エリア内に
おいて見かけ上の分解能を高め、さらに移送ピツ
チを小さくでき、検査の精度向上、高速処理化を
考慮した最適エリア設定が可能である。またこう
した移送条件の追従も容易な画面中へのエリア設
定により、従来、多品種な錠剤検査で避けること
のできなかつた光学的認識方法などによる認識ミ
ス、認識タイミングの狂いを防ぐための設定の困
難さを解消し、高速かつ確実に錠剤認識を行い、
認識した後任意のフイールドにて精度高い欠陥検
査を実施し得る。
In this way, under the condition that half a tablet to be tested is transferred within the field scanning time, by setting the detection and inspection area as described above, the apparent resolution within the inspection area is increased and the transfer pitch is further reduced. It can be made small, and the optimum area can be set in consideration of improved inspection accuracy and high-speed processing. In addition, by setting an area on the screen that allows easy tracking of transfer conditions, settings can be made to prevent recognition errors and recognition timing errors caused by optical recognition methods, which were previously unavoidable when inspecting a wide variety of tablets. Eliminate the difficulties and recognize tablets quickly and reliably.
After recognition, highly accurate defect inspection can be performed in any field.

なお本明細書においては被検物として医薬品の
錠剤を対象とする場合について述べたが、その他
にキヤンデー類などの食品、真珠及び精密機器の
部品の検査にも利用することができる。
In this specification, the case where pharmaceutical tablets are used as the test object has been described, but it can also be used to test foods such as candy, pearls, and parts of precision instruments.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施構成を示すブロツクダイ
アグラムである。第2図は本発明の実施例におい
て錠剤検査の基本方法を示すものである。第3図
は本発明の実施例において映像信号処理回路の回
路構成である。第4図は本発明の実施例において
特徴抽出回路の回路構成である。第5図は本発明
の実施例においてエリアマスク信号発生回路の基
本回路構成である。第6図は本発明の実施例にお
いてエリアマスク信号発生回路の基本回路信号タ
イミングチヤートである。第7図は本発明の実施
例においてテレビ画面中に発生した検知および検
査エリアの様子である。第8図は本発明の実施例
において検査フイールドサンプリング回路の回路
構成である。第9図は本発明のストロボライトを
照明装置として具備した実施構成を示すブロツク
ダイアグラムである。第10図は本発明の実施例
においてテレビ画面中における検知、検査エリア
の最適設定方法を示すものである。
FIG. 1 is a block diagram showing an implementation configuration of the present invention. FIG. 2 shows the basic method of tablet inspection in an embodiment of the present invention. FIG. 3 shows a circuit configuration of a video signal processing circuit in an embodiment of the present invention. FIG. 4 shows the circuit configuration of a feature extraction circuit in an embodiment of the present invention. FIG. 5 shows the basic circuit configuration of an area mask signal generation circuit in an embodiment of the present invention. FIG. 6 is a basic circuit signal timing chart of the area mask signal generation circuit in the embodiment of the present invention. FIG. 7 shows a detection and inspection area generated on a television screen in an embodiment of the present invention. FIG. 8 shows a circuit configuration of a test field sampling circuit in an embodiment of the present invention. FIG. 9 is a block diagram showing an embodiment of the strobe light of the present invention as a lighting device. FIG. 10 shows a method for optimally setting a detection and inspection area on a television screen in an embodiment of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 1 規格化された個体の被検物を整然と移動させ
る移送手段の近傍に設置されて前記被検物を撮像
するテレビカメラと、このテレビカメラに接続し
映像信号を出力するカメラコントロールユニツト
と、前記映像信号にアナログ処理を行う映像信号
処理回路と、アナログ処理後の映像信号から前記
被検物の特徴信号を抽出する特徴抽出回路と、前
記特徴信号を規準信号と比較して2値化する2値
化回路と、前記カメラコントロールユニツトより
出力される水平同期信号および垂直同期信号から
テレビ画面内に設定した検査エリアとこの検査エ
リアに含まれる微小な検知エリアとにそれぞれ対
応して検査エリアマスク信号と検知エリアマスク
信号とをそれぞれ発生するエリアマスク信号発生
回路と、前記映像信号から前記被検物のレベルと
背景レベルとを分離して前記被検物のレベル信号
を抽出するレベルコンパレータと、前記検知エリ
アマスク信号に応答して開くことにより前記レベ
ルコンパレータの出力を通過させる第1のゲート
回路と、この第1のゲート回路を通過したレベル
信号によりリセツトされて前記垂直同期信号をカ
ウントしこのカウント値が所定の値となつた直後
のフイールドを検査フイールドとしてサンプリン
グしこのフイールド期間に前記検査エリアマスク
信号を通過させる検査フイールドサンプリング回
路と、この検査フイールドサンプリング回路を通
過した検査エリアマスク信号に応答して開くこと
により前記2値化回路の出力を通過させる第2の
ゲート回路と、この第2のゲート回路の出力を各
水平期間毎に判定する判定回路とを備えた検査装
置。
1. A television camera installed near a transport means for orderly moving a standardized individual specimen to take an image of the specimen; a camera control unit connected to the television camera and outputting a video signal; a video signal processing circuit that performs analog processing on a video signal; a feature extraction circuit that extracts a feature signal of the object from the video signal after analog processing; and 2, a feature extraction circuit that compares the feature signal with a reference signal and binarizes it. The value conversion circuit generates an inspection area mask signal corresponding to the inspection area set within the TV screen and the minute detection area included in this inspection area from the horizontal synchronization signal and vertical synchronization signal output from the camera control unit. and a detection area mask signal, respectively; a level comparator that separates the level of the object and the background level from the video signal and extracts the level signal of the object; a first gate circuit that opens in response to a detection area mask signal to allow the output of the level comparator to pass; and a first gate circuit that is reset by the level signal that has passed through the first gate circuit to count the vertical synchronization signal; An inspection field sampling circuit samples a field immediately after the value reaches a predetermined value as an inspection field and passes the inspection area mask signal during this field period, and responds to the inspection area mask signal passed through this inspection field sampling circuit. An inspection device comprising: a second gate circuit that opens to allow the output of the binarization circuit to pass; and a determination circuit that determines the output of the second gate circuit for each horizontal period.
JP10182577A 1977-08-24 1977-08-24 Inspector Granted JPS5434886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10182577A JPS5434886A (en) 1977-08-24 1977-08-24 Inspector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10182577A JPS5434886A (en) 1977-08-24 1977-08-24 Inspector

Publications (2)

Publication Number Publication Date
JPS5434886A JPS5434886A (en) 1979-03-14
JPS626179B2 true JPS626179B2 (en) 1987-02-09

Family

ID=14310877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10182577A Granted JPS5434886A (en) 1977-08-24 1977-08-24 Inspector

Country Status (1)

Country Link
JP (1) JPS5434886A (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5669537A (en) * 1979-11-12 1981-06-10 Fuji Electric Co Ltd Defect inspection device
JPS595940A (en) * 1982-07-01 1984-01-12 Ketsuto Kagaku Kenkyusho:Kk Rejected particle detection method and apparatus for rejected particle of particulate
JPS60178910U (en) * 1984-05-09 1985-11-28 林薬品機械株式会社 Chipped tablet inspection device
JPS6130750A (en) * 1984-07-23 1986-02-13 Miyuuchiyuaru:Kk Method for inspecting appearance of solid pharmaceutical product
JP6154406B2 (en) * 2015-01-14 2017-06-28 株式会社ダイシン Conveyed object inspection system and conveying apparatus
JP6189978B2 (en) * 2016-01-08 2017-08-30 株式会社ダイシン Conveyed object discrimination control system and conveying apparatus
JP7244823B2 (en) * 2019-01-15 2023-03-23 株式会社ダイシン Transport management system and transport device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4829482A (en) * 1971-08-16 1973-04-19

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4829482A (en) * 1971-08-16 1973-04-19

Also Published As

Publication number Publication date
JPS5434886A (en) 1979-03-14

Similar Documents

Publication Publication Date Title
US5033015A (en) Automated system for testing an imaging sensor
JPH04166751A (en) Method and apparatus for inspecting defect in bottle and the like
GB2104214A (en) Inspection system
JP2000241362A (en) Surface quality inspecting apparatus and method
JP4013551B2 (en) Through-hole foreign matter inspection method and through-hole foreign matter inspection device
JPS626179B2 (en)
US4240107A (en) Apparatus and method for pattern information processing
JPH038504B2 (en)
JPH11248643A (en) Detection device for foreign matter in transparent film
JP3332175B2 (en) Defect inspection method for periodic pattern
JPS63149547A (en) Apparatus for inspecting bottle
KR830001829B1 (en) Inspection device for joint detection
JPH0694660A (en) Method and device for surface defect inspection
JP3218909B2 (en) Inspection method and apparatus
JPH0962839A (en) Inspection device for appearance of farm and merine products
EP0428626B1 (en) Automated system for testing an imaging sensor
JPS6216372B2 (en)
JPS6373139A (en) Surface inspecting system
JPS6349180B2 (en)
JP3035578B2 (en) Inspection condition determination device, inspection device, and shutter speed determination device
JPH0551944B2 (en)
JPS61169749A (en) External surface inspection for article
JPS6216373B2 (en)
Asundi et al. Automated visual inspection of moving objects
JPS58142248A (en) Tester