JPH0616855U - Multi CPU line sensor controller - Google Patents

Multi CPU line sensor controller

Info

Publication number
JPH0616855U
JPH0616855U JP6140992U JP6140992U JPH0616855U JP H0616855 U JPH0616855 U JP H0616855U JP 6140992 U JP6140992 U JP 6140992U JP 6140992 U JP6140992 U JP 6140992U JP H0616855 U JPH0616855 U JP H0616855U
Authority
JP
Japan
Prior art keywords
cpu
line sensor
slave
sensor camera
line
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.)
Pending
Application number
JP6140992U
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.)
ELM Inc
Original Assignee
ELM Inc
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 ELM Inc filed Critical ELM Inc
Priority to JP6140992U priority Critical patent/JPH0616855U/en
Publication of JPH0616855U publication Critical patent/JPH0616855U/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】 【目的】 低コストでありながら、多数の列の製品を高
速に検査することができ、或いは、1列の製品の多数の
検査項目について高速に検査することのできるラインセ
ンサコントローラを提供する。 【構成】 1台のラインセンサカメラ11の生成する線
画像を複数のスレーブCPU20,21,22,23で
分担して処理する。このとき、各スレーブCPU毎に異
なる基準値により2値化を行ない、異なる判定基準によ
り判定を行なう。また、同一の線画像を複数のスレーブ
CPUに送り込み、各CPU毎に異なる基準値により2
値化し、異なる判定基準により判定を行なう。これによ
り、複数の検査対象物を同時に、又は、1個の判定対象
物について複数の検査項目を同時に、処理することがで
きる。
(57) [Summary] [Purpose] A line sensor that can inspect many rows of products at high speed at low cost or can inspect many inspection items of one row of products at high speed. Provide a controller. [Structure] A plurality of slave CPUs 20, 21, 22, and 23 share and process a line image generated by one line sensor camera 11. At this time, binarization is performed by using a different reference value for each slave CPU, and determination is performed by using different determination criteria. In addition, the same line image is sent to a plurality of slave CPUs, and 2 is set according to a different reference value for each CPU.
The value is converted and the judgment is made according to different judgment criteria. Accordingly, it is possible to process a plurality of inspection objects at the same time or a plurality of inspection items for one determination object at the same time.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

本考案は、ラインを流れる製品の検査や選別等を行なう装置に使用されるライ ンセンサのコントローラに関する。 The present invention relates to a line sensor controller used in an apparatus for inspecting and sorting products flowing in a line.

【0002】[0002]

【従来の技術】[Prior art]

多数の製品を製造するラインでは、1本のベルトを複数の列に分割した各列に 、或いは複数のベルトにそれぞれ、製品を流して、製造スピードを上げることが 多い。このようなラインを流れる製品の大きさや外観の検査(傷、汚れ、形状、 製品の有無等)を行なう場合、従来は、例えば図3に示すように、複数の列33 に対して1台のラインセンサカメラ11と1台のコントローラ(図示せず)のみ を用い、カメラ11が撮影した画像をそのコントローラのCPUが時間的に直列 的に処理するか、或いは、高速処理が必要な場合は列33の数と同じ数(図3の 例では6台)のカメラとコントローラを設け、完全に並列的に画像処理を行なっ ていた。 In a line for manufacturing a large number of products, it is often the case that one belt is divided into a plurality of rows and the products are flowed to each row or a plurality of belts to increase the production speed. When the size and appearance of products flowing through such a line are to be inspected (scratches, stains, shapes, presence or absence of products, etc.), conventionally, for example, as shown in FIG. Only the line sensor camera 11 and one controller (not shown) are used, and the CPU of the controller processes the images captured by the camera 11 serially in time, or when high speed processing is required The same number of cameras and controllers as the number of 33 (six in the example of FIG. 3) were provided, and image processing was performed completely in parallel.

【0003】 また、このように製品が複数の列を並行に流れるのでなく、図5に示すように 製品50が1列で流れる場合であっても、検査項目が複数にわたる場合、例えば 、外形を検査すると同時に傷や汚れ等51、52、53をも検査する必要がある 場合は、1台のラインセンサカメラ54が撮影した画像について、1台のコント ローラが時間的に直列に各検査項目について画像処理を行なうようにしていた。Even when the product 50 does not flow in a plurality of rows in parallel as described above but the product 50 flows in a single row as shown in FIG. 5, when there are a plurality of inspection items, for example, When it is necessary to inspect scratches, stains, etc. 51, 52, 53 at the same time when inspecting, for the image taken by one line sensor camera 54, one controller is serially arranged in time for each inspection item. Image processing was performed.

【0004】[0004]

【考案が解決しようとする課題】[Problems to be solved by the device]

しかし、製品が複数列で流れる図3のような検査ラインの場合、1台のカメラ 11と1台のコントローラのみによる処理では、製品の数が極めて多くなって、 同時に流れる製品の列33の数が非常に多くなった場合には、1台のCPUが処 理すべきデータ処理量はその列数倍(n倍)だけ増加するため、処理速度は1/ nとなり、確実な検査を行なうことが困難となる。また、高速処理が必要とされ る場合には列数分のカメラ11及びコントローラが必要になるが、これはコスト 的に困難な場合が多い。図5のように製品50は1列で流れるが、検査項目が多 い場合も同様であり、検査を行なうべき項目の数が増加するに従い、製品50の 移動速度を低下させざるを得なくなり、検査工程がネックとなって生産性を著し く阻害することとなる。 However, in the case of an inspection line in which products flow in multiple rows as shown in FIG. 3, the number of products is extremely large and the number of product rows 33 that flow simultaneously is increased by processing with only one camera 11 and one controller. When the number of data becomes extremely large, the amount of data processing that one CPU has to process increases by the number of columns (n times), so the processing speed becomes 1 / n, and reliable inspection must be performed. Will be difficult. Further, when high-speed processing is required, the cameras 11 and controllers for the number of columns are required, but this is often difficult in terms of cost. As shown in FIG. 5, the products 50 flow in a single row, but this is also the case when there are many inspection items, and as the number of items to be inspected increases, the moving speed of the products 50 must be reduced. The inspection process becomes a bottleneck, which significantly impedes productivity.

【0005】 本考案はこのような課題を解決するために成されたものであり、その目的とす るところは低コストでありながら、多数の列の製品を高速に検査することができ 、或いは、1列の製品の多数の検査項目について高速に検査することのできるラ インセンサコントローラを提供することにある。The present invention has been made to solve the above problems, and an object of the present invention is to reduce the cost and to inspect a large number of rows of products at high speed. An object of the present invention is to provide a line sensor controller capable of inspecting a large number of inspection items of products in one row at high speed.

【0006】[0006]

【課題を解決するための手段】[Means for Solving the Problems]

上記課題を解決するために成された本考案に係るマルチCPUラインセンサコ ントローラは、 a)1台のラインセンサカメラと、 b)ラインセンサカメラで撮影される線画像の各画素のアドレスを表わすアド レス信号を発生するタイミング回路と、 c)アドレス信号に基づき、ラインセンサカメラで撮影された線画像の中の所 定の部分を取り込み、画像処理を行なう複数のスレーブCPUと、 d)1台のマスターCPUと、 e)ラインセンサカメラ、全スレーブCPU及びマスターCPUを接続するビ デオデータバスと、 f)ラインセンサカメラ、タイミング回路、全スレーブCPU及びマスターC PUを接続するビデオアドレスバスと、 g)マスターCPU及び全スレーブCPUを接続する制御バスと、 h)全スレーブCPU及びマスターCPUを接続する判定結果信号バスと を備えることを特徴としている。 A multi-CPU line sensor controller according to the present invention, which is made to solve the above-mentioned problems, comprises a) one line sensor camera, and b) the address of each pixel of a line image captured by the line sensor camera. A timing circuit that generates an address signal, and c) a plurality of slave CPUs that perform image processing by capturing a specified part of the line image taken by the line sensor camera based on the address signal, and d) 1 unit Master CPU of the above, e) a video data bus connecting the line sensor camera, all slave CPUs and the master CPU, and f) a video address bus connecting the line sensor camera, timing circuit, all the slave CPUs and the master CPU, g) a control bus connecting the master CPU and all slave CPUs, and h) all slave CPUs. And a determination result signal bus for connecting the master CPU.

【0007】[0007]

【作用】 ラインセンサカメラが検査対象物等を撮影し、生成した線画像のデータは、ビ デオデータバスに送出される。それと同時に、線画像の各画素のアドレスのデー タがタイミング回路からアドレス信号としてビデオアドレスバスに送出される。 各スレーブCPUは、マスターCPUにより設定された(後述するように、各ス レーブCPU毎に予め設定値を設けておいてもよい)アドレス範囲内のビデオデ ータのみを取り込み、画像処理及び判定等を行なう。この画像処理及び判定の内 容も、マスターCPUが制御バスを通じて各スレーブCPU毎に別個に設定する ことができるし、各スレーブ毎に予め設定しておいてもよい。各スレーブCPU では、判定した結果を判定結果信号バスに送出し、マスターCPUがそれを入力 して、多数の製品に関する統計処理や総合判定等を行なう。Operation The line sensor camera photographs the inspection object or the like, and the generated line image data is sent to the video data bus. At the same time, the data of the address of each pixel of the line image is sent from the timing circuit to the video address bus as an address signal. Each slave CPU fetches only video data within an address range set by the master CPU (a preset value may be set for each slave CPU as described later), and performs image processing and determination. Do. The contents of this image processing and determination can be set individually by the master CPU for each slave CPU through the control bus, or can be set in advance for each slave. In each slave CPU, the judgment result is sent to the judgment result signal bus, and the master CPU inputs the judgment result to perform statistical processing and comprehensive judgment for many products.

【0008】 なお、本考案のシステムはこの他にも各種態様で実施することができるが、そ れらは次の実施例の中で説明する。It should be noted that the system of the present invention can be implemented in various modes other than this, which will be described in the following examples.

【0009】[0009]

【実施例】【Example】

本考案の一実施例として、サヤ豆類(例えばインゲン)の選別装置を図1〜図 4により説明する。本実施例は図1に示すように、n個のスレーブCPU20, 21,…,23,24によりシステムを構成しており、1台のラインセンサカメ ラ11により撮影された画像をn個のスレーブCPU20,21,…,23,2 4により分割して、並列で処理するようになっている。本実施例のシステムは次 のものから構成されている。 As an embodiment of the present invention, a sorting apparatus for green beans (for example, kidney beans) will be described with reference to FIGS. 1 to 4. In this embodiment, as shown in FIG. 1, a system is constituted by n slave CPUs 20, 21, ..., 23, 24, and an image taken by one line sensor camera 11 is processed by n slave CPUs. 23, 24 are divided by the CPUs 20, 21, ..., 23, 24, and are processed in parallel. The system of this embodiment is composed of the following.

【0010】 ラインセンサカメラ11:図3に示すように、ラインを複数の列33で流れて くるサヤ豆類38を撮影する。図1ではレンズを用いた縮小型のものを使用して いるが、密着型のものを使用することもできる。 タイミング回路13:ラインセンサカメラ11を動作させるためのクロック信 号やスタート信号などのカメラ制御信号、及び、線画像を構成する各画素のアド レスを表わすビデオアドレス信号を発生する。 シグナルコンディショニング回路12:ラインセンサカメラ11から出力され る画像信号を適当な振幅の電圧に増幅するアンプ部及びA/D変換部を備える。 その他に、必要に応じて、ノイズフィルタを設けてもよい。Line sensor camera 11: As shown in FIG. 3, shoots green beans 38 flowing in a plurality of rows 33 on a line. In FIG. 1, a reduction type using a lens is used, but a contact type can also be used. Timing circuit 13: Generates a clock control signal for operating the line sensor camera 11, a camera control signal such as a start signal, and a video address signal representing an address of each pixel forming a line image. Signal conditioning circuit 12: An amplifier section and an A / D conversion section for amplifying the image signal output from the line sensor camera 11 to a voltage having an appropriate amplitude. Besides, a noise filter may be provided if necessary.

【0011】 マスターCPU14:各スレーブCPU20,21,…,23,24の動作条 件や判定条件を設定したり、スレーブCPU20,21,…,23,24から出 力される判定結果信号を受けて、統計処理や総合判定等を行なう。マスターCP U14には、ROM、RAMの他、電池でバックアップされたメモリである二次 記憶部、外部のパーソナルコンピュータ等とプログラムやデータを通信するため の通信回路、判定結果やデータを表示する表示回路、判定結果やデータを外部の シーケンサ等に伝達し、アラーム信号をブザー、ランプ等に出力するための外部 出力回路、外部からの検査スタート信号等を入力するための入力回路等15を備 える。さらに、条件設定用のスイッチもこのマスターCPU14に備えられてい る。Master CPU 14: Sets operation conditions and determination conditions of each slave CPU 20, 21, ..., 23, 24, and receives a determination result signal output from the slave CPUs 20, 21 ,. , Statistical processing and comprehensive judgment. In the master CPU 14, in addition to ROM and RAM, a secondary storage unit that is a battery-backed memory, a communication circuit for communicating programs and data with an external personal computer, etc., a display for displaying judgment results and data It is equipped with an external output circuit for transmitting circuits, judgment results and data to an external sequencer, etc., and outputting alarm signals to a buzzer, a lamp, etc., and an input circuit 15 for inputting an external inspection start signal, etc. . Further, the master CPU 14 is also provided with a switch for setting conditions.

【0012】 バス:マスターCPU14と各スレーブCPU20,21,…,23,24、 タイミング回路13及びシグナルコンディショニング回路12を接続し、マスタ ーCPU14の制御信号を各部に送信する制御バス16;ラインセンサカメラ1 1が生成する画像信号を各部に送信するビデオデータバス18;各画素のビデオ データのアドレスを表わすビデオアドレス信号を各部に供給するビデオアドレス バス17;各スレーブCPU20,21,…,23,24で生成された判定結果 信号を授受するための判定結果バス19の各バスが設けられている。Bus: a control bus 16 that connects the master CPU 14 and the slave CPUs 20, 21, ..., 23, 24, the timing circuit 13 and the signal conditioning circuit 12, and sends control signals of the master CPU 14 to each part; line sensor camera 11, a video data bus 18 for transmitting the image signal generated by 11 to each unit; a video address bus 17 for supplying a video address signal representing the address of the video data of each pixel to each unit; each slave CPU 20, 21, ..., 23, 24 Each bus of the determination result bus 19 for transmitting and receiving the determination result signal generated in 1. is provided.

【0013】 スレーブCPU20,21,…,23,24:上記の通り、本システムではn 個設けられている。それぞれ、ビデオアドレスバス17上のビデオアドレス信号 に基づき、ラインセンサカメラ11からの画像信号の内、予め定められた部分の 画像信号を取り込む。そして、マスターCPU14により設定された基準、又は 各スレーブCPU20,21,…,23,24毎に予め定められた基準に従って 画像処理及び判定を行ない、判定結果を判定結果バス19に送出する。 各スレーブCPU20,21,…,23,24の内部は図2に示すようになっ ており、画像処理や判定を行なう中央処理部(CPU回路)25を中心に構成さ れている。中央処理部25は個別のCPU、ROM、RAMチップで構成しても よいし、それらを1チップ上に搭載した1チップマイコンを使用してもよい。ス レーブCPU20,21,…,23,24にはその他に、マスターCPU14か らの制御情報(例えば動作、判定条件等)を受け取ったり、スレーブCPU20 ,21,…,23,24の動作状況をマスターCPU14に連絡するための制御 I/F28、ビデオデータの画素位置を示すビデオアドレスと、マスターCPU 14により指示された各スレーブCPU20,21,…,23,24が処理すべ きアドレス範囲とを比較し、範囲内であればビデオデータを取り込むために必要 なクロック等の発生を行なうビデオアドレス比較回路26と、ビデオアドレス比 較回路26の発生するクロック等に同期してビデオデータを2値化し、明暗の変 化点を検出して、変化点のアドレスをビデオデータメモリ29に書き込む制御を 行なう書き込み制御装置能を持つビデオ処理回路27、判定結果をマスターCP Uに返すための判定出力部30、それに、スレーブCPU20,21,…,23 ,24がそれぞれ直接に外部機器とデータを授受するための外部入出力回路31 を備えている。Slave CPUs 20, 21, ..., 23, 24: As described above, n pieces are provided in this system. Based on the video address signal on the video address bus 17, each of the image signals from the line sensor camera 11 fetches a predetermined portion of the image signal. Then, image processing and determination are performed according to a standard set by the master CPU 14 or a standard predetermined for each slave CPU 20, 21, ..., 23, 24, and the determination result is sent to the determination result bus 19. The inside of each slave CPU 20, 21, ..., 23, 24 is as shown in FIG. 2, and is mainly composed of a central processing unit (CPU circuit) 25 for performing image processing and determination. The central processing unit 25 may be composed of individual CPU, ROM, and RAM chips, or may be a one-chip microcomputer in which these are mounted on one chip. In addition, the slave CPUs 20, 21, ..., 23, 24 receive control information (for example, operation, determination condition, etc.) from the master CPU 14, and master the operation status of the slave CPUs 20, 21 ,. The control I / F 28 for communicating with the CPU 14 compares the video address indicating the pixel position of the video data with the address range to be processed by each slave CPU 20, 21, ..., 23, 24 designated by the master CPU 14. If it is within the range, the video address comparison circuit 26 that generates a clock or the like necessary to capture the video data and the video data that is synchronized with the clock or the like generated by the video address comparison circuit 26 is binarized to change the brightness. Change point is detected, and the address of the change point is written in the video data memory 29. The video processing circuit 27 having a built-in control device function, the judgment output unit 30 for returning the judgment result to the master CPU, and the slave CPUs 20, 21, ..., 23, 24 directly exchange data with external devices. External input / output circuit 31.

【0014】 なお、ビデオアドレスの指定や判定方法の指示は、検査対象や方法が確立して いる用途の場合等には、マスターCPU14からの設定ではなく、スレーブCP U20,21,…,23,24毎に設けられたスイッチにより設定したり、スレ ーブCPU20,21,…,23,24のROMに予め書き込んでおくこともで きる。このような場合には、マスターCPU14を設けない構成をとることもで きる。In addition, the instruction of the video address and the instruction of the determination method are not the setting from the master CPU 14 but the slave CPUs 20, 21, ... It can be set by a switch provided for each 24 or can be written in advance in the ROMs of the slave CPUs 20, 21, ..., 23, 24. In such a case, the master CPU 14 may not be provided.

【0015】 図3に、本実施例の選別装置が設置されるサヤ豆の選別ラインの斜視図を示す 。検査対象であるサヤ豆38は6列に分割されたベルト上を流され、1本のベル トが終わり、サヤ豆38が次のベルトに乗り移る箇所の両ベルトの間の隙間37 の上下に、ラインセンサカメラ11と光源36が設けられている。なお、このよ うなベルトの間の隙間37を使用するのではなく、ベルトの終端で落下するサヤ 豆を撮影してもよいし、1本のベルトの上部に光源とラインセンサカメラを設け 、反射光によりサヤ豆を撮影するようにしてもよい。FIG. 3 shows a perspective view of a sorting line for the bean beans in which the sorting apparatus of this embodiment is installed. The bean 38 to be inspected is flown on a belt divided into 6 rows, one belt is finished, and above and below the gap 37 between the two belts where the bean 38 transfers to the next belt, A line sensor camera 11 and a light source 36 are provided. Instead of using the gap 37 between the belts as described above, it is possible to photograph the beans falling at the end of the belt, and a light source and a line sensor camera are provided on the upper part of one belt to reflect light. You may make it photograph a green bean by light.

【0016】 ラインセンサカメラ11で撮影された画像は、図4(a)に示すように、光源 のムラやレンズの周辺減光現象により、一般に中央部よりも周辺部が暗くなって おり、線40で示すように全部分を一定の閾値で2値化すると、サヤ豆の幅の値 に誤差が生じたり、列毎にSN比が異なるということが生じる。そのため、図4 (b)の線41で示すように、列毎に閾値を変化させるシェーディング補正を加 えることにより、幅の測定値の誤差やSN比のばらつきが補正され、各列の測定 条件が補正されて各サヤ豆の幅等が正しく判定される。As shown in FIG. 4A, the image captured by the line sensor camera 11 is generally darker in the peripheral portion than in the central portion due to the unevenness of the light source and the peripheral dimming phenomenon of the lens. If all the parts are binarized with a constant threshold value as shown by 40, an error may occur in the value of the width of the bean and the SN ratio may differ for each row. Therefore, as shown by the line 41 in FIG. 4B, by adding a shading correction that changes the threshold value for each column, the error in the width measurement value and the SN ratio variation are corrected, and the measurement condition of each column is corrected. Is corrected to correctly determine the width of each pod.

【0017】 また、周辺部と中央部とではレンズの持つ歪曲歪による誤差もあり、正確な判 定を要求される選別装置の場合には歪曲歪を考慮した画素の位置による段階的な 補正を必要とするが、この計算は非常に複雑である。このため、このような補正 を画像の全域にわたって1個のCPUで処理しようとすると、非常に時間がかか り、迅速な選別処理を行なうことができなくなる恐れがある。そこで、このよう な補正を各スレーブCPUに任せ、迅速な処理を可能とする。更に、図3に示す ように、ベルトの各列33の間に仕切板34が設けられている場合、この仕切板 34の画像はサヤ豆の画像処理にとっては不要なものであり、サヤ豆に関する画 像処理及び判定を行なう前に予め除去しておく必要がある。この場合も、1個の CPUがこのような処理を行なうには大きな負担となるが、線画像を予め各スレ ーブCPU20,21,…,23,24に分担させるときにアドレス設定を適切 に行なっておくことにより、各画像をスレーブCPU20,21,…,23,2 4が読み込む際に簡単に除去してしまうことができる。図4(b)の中段は、1 本の線画像中の、各スレーブCPU20,21,…,23,24が担当するアド レス領域42を図示したものであり、斜線部は各列間の仕切板34に相当する部 分である。本実施例では線画像分割時に斜線部分のデータはいずれのスレーブC PU20,21,…,23,24にも取り込まれず、無視される。その結果、各 列33のサヤ豆の幅はグラフ43で示されるように正しく検出される。Further, there is an error due to the distortion distortion that the lens has at the peripheral portion and the central portion, and in the case of a sorting apparatus that requires accurate judgment, it is possible to perform stepwise correction by the pixel position in consideration of the distortion distortion. Although required, this calculation is very complex. Therefore, if such a correction is attempted to be processed by one CPU over the entire area of the image, it takes a very long time and it may not be possible to carry out a quick sorting process. Therefore, such correction is entrusted to each slave CPU to enable quick processing. Further, as shown in FIG. 3, when a partition plate 34 is provided between each row 33 of the belts, the image of the partition plate 34 is not necessary for the image processing of the bean beans. It must be removed in advance before image processing and judgment. Also in this case, one CPU is a heavy burden to perform such processing, but when the line image is pre-assigned to each slave CPU 20, 21, ..., 23, 24, the address setting is appropriately performed. By performing the processing, each image can be easily removed when the slave CPUs 20, 21, ..., 23, 24 read. The middle part of FIG. 4 (b) illustrates the address area 42 in each line image, which the slave CPUs 20, 21, ..., 23, 24 are in charge of. It is a part corresponding to the plate 34. In this embodiment, the data in the shaded area is not taken into any of the slave CPUs 20, 21, ..., 23, 24 when the line image is divided, and is ignored. As a result, the width of the bean in each row 33 is correctly detected as shown in the graph 43.

【0018】 本考案の別の実施例として、灰色のシート状製品50の検査装置を図5により 説明する。本実施例では検査対象物50が複数列ではなく、1列で流れてくるが 、その外形(破れ53を含む)、表面に付いた白っぽい付着物51及び黒っぽい 付着物52の3種類を同時に検査する必要がある。従来のラインセンサコントロ ーラでは、画像データを2値化する場合、一般には1個の閾値しか設定できず、 3種類の明るさに対する判定を1台のコントローラで処理することは、速度及び コストの点から困難であった。そのため、ラインを流れる検査対象物の上部に3 台のカメラを位置をずらして配置し、それぞれに設けられたコントローラ(すな わち、合計3台のコントローラ)により処理を行なっていた。As another embodiment of the present invention, an inspection apparatus for a gray sheet-like product 50 will be described with reference to FIG. In this embodiment, the inspection object 50 flows in one line instead of a plurality of lines. However, three types of the external shape (including the tear 53), the whitish deposit 51 on the surface and the blackish deposit 52 are simultaneously inspected. There is a need to. In the conventional line sensor controller, when binarizing the image data, generally only one threshold value can be set, and it is speed and cost to process judgment of three kinds of brightness with one controller. It was difficult from the point. For this reason, three cameras are arranged at positions above the inspection object flowing through the line, and processing is performed by the controllers (that is, a total of three controllers) provided for each of them.

【0019】 それに対し本実施例の検査装置では、同じ線画像を3個のスレーブCPUにそ れぞれ供給し(すなわち、各スレーブCPUの割当ビデオアドレスの範囲を同じ にし)、3個のスレーブCPUでそれぞれ別個の閾値により2値化を行ない、別 個の判定基準により判定を行なう。すなわち、図6の上部のグラフに示すように 、第1のスレーブCPUでは中間の明るさを持つシート状の検査対象物の外形や 穴、破れ等53の形状欠陥を検査するために、一点鎖線で示す2本の閾値の範囲 内に入るか、その外にあるかで線画像の2値化を行なう。第2のスレーブCPU では、検査対象物の正常な面よりも明るい汚れや付着物51を検査するために、 点線で示す2本の閾値の範囲内か範囲外かで、2値化を行なう。そして第3のス レーブCPUでは検査対象物の正常な面よりも暗い汚れや付着物52を検査する ために、2点鎖線で示す2本の閾値の範囲内外で2値化を行なう。こうして3個 のスレーブCPUにより同時に相異なる基準で2値化を行なうため、図6の下部 のグラフに示すように、製品(検査対象物)の外形や穴、破れ等の形状欠陥53 、明るい汚れ51及び暗い汚れ52をそれぞれ確実に区別して検出することがで き、高速でかつ安価に、3種の検査を同時に行なうことができる。On the other hand, in the inspection apparatus according to the present embodiment, the same line image is supplied to each of the three slave CPUs (that is, the assigned video address range of each slave CPU is the same), and the three slave CPUs. The CPU performs binarization by using different threshold values, and makes a determination by using different determination criteria. That is, as shown in the graph at the top of FIG. 6, in the first slave CPU, in order to inspect the outer shape of the sheet-like inspection object having the intermediate brightness and the shape defects such as holes and tears 53, the one-dot chain line The line image is binarized depending on whether it falls within the range of the two thresholds shown in or outside the range. The second slave CPU performs binarization within or outside the two threshold values shown by the dotted line in order to inspect the dirt and the adhered matter 51 brighter than the normal surface of the inspection object. Then, the third slave CPU performs binarization within the range of two threshold values shown by the chain double-dashed line in order to inspect the dirt and the adhered matter 52 darker than the normal surface of the inspection object. In this way, since the three slave CPUs perform binarization at the same time with different standards, as shown in the lower graph of FIG. The 51 and the dark stain 52 can be surely distinguished from each other and detected, and three types of inspection can be performed simultaneously at high speed and at low cost.

【0020】[0020]

【考案の効果】[Effect of device]

以上2種の実施例により本考案を説明したが、いずれにせよ、複数台のカメラ とコントローラを設けた場合には、各カメラの間の調整を行なう必要があったり 、コントローラ毎にタイミング回路、シグナルコンディショニング回路等のハー ドウェアが必要となる。また、1台のコントローラで複数の部分への分割や複数 の基準による判定を行なおうとすると、プログラムが複雑となり、プログラム開 発及び運用(改変)等が分割数や基準数の増加に応じて急速に困難となる。それ に対し、本考案のように複数のスレーブCPUで処理を行なうようにすると、全 スレーブCPUについて共通の1本のプログラムを開発するだけで済み、それを 全スレーブCPUに対して使用して、各スレーブCPUではそのプログラムに与 えるパラメータを変更するだけでよい。しかも、スレーブCPUのように純粋に デジタルICのみで構成することができる回路は時間のかかる調整も不要であり 検査工程が非常に容易となる。更に、周辺部品を内蔵したワンチップCPUやゲ ートアレイを利用することによりスレーブCPUは安価に製造することができ、 多数のスレーブCPUを用いたとしても装置のコストは低く抑えることができる 。なお、ラインセンサ用コントローラばかりではなく、2次元ビデオカメラ用コ ントローラについても、同様に複数のスレーブCPUによるマルチCPU型画像 処理装置を構成することができる。 The present invention has been described with reference to the two embodiments, but in any case, when a plurality of cameras and a controller are provided, it is necessary to perform adjustment between the cameras, a timing circuit for each controller, Hardware such as signal conditioning circuit is required. In addition, if one controller divides into multiple parts and tries to make judgments based on multiple standards, the program becomes complicated, and program development and operation (modification), etc., will increase as the number of divisions and standard number increases. It quickly becomes difficult. On the other hand, when processing is performed by a plurality of slave CPUs as in the present invention, it is only necessary to develop one program common to all slave CPUs and use it for all slave CPUs. Each slave CPU need only change the parameters given to the program. In addition, a circuit that can be configured by purely a digital IC such as a slave CPU does not require time-consuming adjustment, and the inspection process becomes very easy. Further, the slave CPU can be manufactured at low cost by using the one-chip CPU or the gate array in which the peripheral components are incorporated, and the cost of the device can be kept low even if a large number of slave CPUs are used. Note that not only the line sensor controller but also the two-dimensional video camera controller can form a multi-CPU image processing device with a plurality of slave CPUs.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本考案の第1実施例及び第2実施例で使用さ
れるマルチCPUラインセンサコントローラの構成を示
すブロック図。
FIG. 1 is a block diagram showing the configuration of a multi-CPU line sensor controller used in the first and second embodiments of the present invention.

【図2】 スレーブCPUの内部構成を示すブロック
図。
FIG. 2 is a block diagram showing an internal configuration of a slave CPU.

【図3】 第1実施例であるサヤ豆選別装置の斜視図。FIG. 3 is a perspective view of a bean sorting apparatus according to the first embodiment.

【図4】 第1実施例の各スレーブCPUの処理アドレ
スと判定基準を示すグラフ。
FIG. 4 is a graph showing processing addresses and determination criteria of each slave CPU of the first embodiment.

【図5】 第2実施例のシート検査装置の斜視図。FIG. 5 is a perspective view of a sheet inspection apparatus according to a second embodiment.

【図6】 第2実施例の撮影事例におけるビデオデータ
と判定基準(2値化の基準範囲)及び判定結果を示すグ
ラフ。
6A and 6B are graphs showing video data, determination criteria (reference range for binarization), and determination results in a shooting example of the second embodiment.

【符号の説明】[Explanation of symbols]

11…ラインセンサカメラ 12…シグナルコンディショニング回路 13…タイミング回路 14…マスター
CPU 15…マスターCPU外部入出力回路 16…制御バス 17…ビデオア
ドレスバス 18…ビデオデータバス 19…判定結果
バス 20,21,22,23…スレーブCPU 25…中央処理部 26…ビデオア
ドレス比較回路 27…ビデオ処理回路 28…制御I/
F 29…ビデオデータメモリ 30…判定出力
部 31…外部入出力回路 33…ベルトの列 34…仕切板 36…光源 37…隙間 38…検査対象物(サヤ豆) 50…検査対象物 51,52…付着物 53…検査対象
部の破れ穴 54…ラインセンサカメラ
11 ... Line sensor camera 12 ... Signal conditioning circuit 13 ... Timing circuit 14 ... Master CPU 15 ... Master CPU external input / output circuit 16 ... Control bus 17 ... Video address bus 18 ... Video data bus 19 ... Judgment result bus 20, 21, 22 , 23 ... Slave CPU 25 ... Central processing unit 26 ... Video address comparison circuit 27 ... Video processing circuit 28 ... Control I /
F 29 ... Video data memory 30 ... Judgment output section 31 ... External input / output circuit 33 ... Belt row 34 ... Partition plate 36 ... Light source 37 ... Gap 38 ... Inspection object (green beans) 50 ... Inspection object 51, 52 ... Attached matter 53 ... Rupture hole of inspection object 54 ... Line sensor camera

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04N 7/18 B // G06F 15/62 400 9287−5L ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI technical display location H04N 7/18 B // G06F 15/62 400 9287-5L

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 【請求項1】 a)1台のラインセンサカメラと、 b)ラインセンサカメラで撮影される線画像の各画素の
アドレスを表わすアドレス信号を発生するタイミング回
路と、 c)アドレス信号に基づき、ラインセンサカメラで撮影
された線画像の中の所定の部分を取り込み、画像処理を
行なう複数のスレーブCPUと、 d)1台のマスターCPUと、 e)ラインセンサカメラ、全スレーブCPU及びマスタ
ーCPUを接続するビデオデータバスと、 f)ラインセンサカメラ、タイミング回路、全スレーブ
CPU及びマスターCPUを接続するビデオアドレスバ
スと、 g)マスターCPU及び全スレーブCPUを接続する制
御バスと、 h)全スレーブCPU及びマスターCPUを接続する判
定結果信号バスとを備えることを特徴とするマルチCP
Uラインセンサコントローラ。
1. A) one line sensor camera, and b) each pixel of a line image captured by the line sensor camera.
Timing times to generate address signals that represent addresses
And c) Taken with line sensor camera based on address signal
Capture a specified part of the line image and perform image processing.
Multiple slave CPUs to perform, d) One master CPU, e) Line sensor camera, all slave CPUs and master
-Video data bus connecting CPU, f) Line sensor camera, timing circuit, all slaves
Video address bar to connect CPU and master CPU
And g) a system that connects the master CPU and all slave CPUs.
The master bus, and h) the judgment to connect all slave CPUs and master CPUs
A multi-CP having a constant result signal bus
U line sensor controller.
JP6140992U 1992-08-06 1992-08-06 Multi CPU line sensor controller Pending JPH0616855U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6140992U JPH0616855U (en) 1992-08-06 1992-08-06 Multi CPU line sensor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6140992U JPH0616855U (en) 1992-08-06 1992-08-06 Multi CPU line sensor controller

Publications (1)

Publication Number Publication Date
JPH0616855U true JPH0616855U (en) 1994-03-04

Family

ID=13170304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6140992U Pending JPH0616855U (en) 1992-08-06 1992-08-06 Multi CPU line sensor controller

Country Status (1)

Country Link
JP (1) JPH0616855U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08307741A (en) * 1995-05-02 1996-11-22 Matsushita Electric Ind Co Ltd Image pickup device
JP2001311692A (en) * 2000-04-28 2001-11-09 Nec Corp Apparatus and method for visual inspection
WO2006080263A1 (en) * 2005-01-28 2006-08-03 Ykk Corporation Article visual inspection device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08307741A (en) * 1995-05-02 1996-11-22 Matsushita Electric Ind Co Ltd Image pickup device
JP2001311692A (en) * 2000-04-28 2001-11-09 Nec Corp Apparatus and method for visual inspection
JP4693074B2 (en) * 2000-04-28 2011-06-01 ルネサスエレクトロニクス株式会社 Appearance inspection apparatus and appearance inspection method
WO2006080263A1 (en) * 2005-01-28 2006-08-03 Ykk Corporation Article visual inspection device
US8194967B2 (en) 2005-01-28 2012-06-05 Ykk Corporation Article visual inspection apparatus

Similar Documents

Publication Publication Date Title
TWI734888B (en) Conveyor inspection system and conveying device
JPH04166751A (en) Method and apparatus for inspecting defect in bottle and the like
JP7466229B2 (en) Pressed part inspection device and press part inspection method
JPH0616855U (en) Multi CPU line sensor controller
US5245424A (en) Defect detection method
JPH06229941A (en) Inspection apparatus for image
JPH0560537A (en) Through-hole inspection device
JP2003216928A (en) Normal/defective confection deciding system
JP2013188773A (en) Device and method for detecting positional deviation of workpiece and computer program
JP7309017B1 (en) Tablet inspection device and tablet inspection method
JP5778685B2 (en) System and method for alignment and inspection of ball grid array devices
JP4122072B2 (en) Video processing system for product inspection
JPH0676969B2 (en) Method and apparatus for inspecting articles having repetitive patterns
JPS61194305A (en) Shape inspecting apparatus
JPH052634A (en) Visual recognition device
JP3057830U (en) Detector for metal plating of solder points on integrated circuit boards
JP2656249B2 (en) Surface inspection equipment
JP2517385Y2 (en) Resin chip inspection device for semiconductor devices
JPH09293763A (en) Automatic appearance inspection device for surface of semiconductor substrate
JP3003229B2 (en) Work posture determination method
JPH08105713A (en) Method and apparatus for processing inspecting image and inspecting apparatus by image processing
TW202410230A (en) Wafer optical inspection method and device
JPH02103214U (en)
JPH04319651A (en) Method for inspecting tile unit
JPH07196130A (en) Device for and method of checking article with the use of image processing