JP2020033151A - Workpiece count control system and part feeder - Google Patents

Workpiece count control system and part feeder Download PDF

Info

Publication number
JP2020033151A
JP2020033151A JP2018161246A JP2018161246A JP2020033151A JP 2020033151 A JP2020033151 A JP 2020033151A JP 2018161246 A JP2018161246 A JP 2018161246A JP 2018161246 A JP2018161246 A JP 2018161246A JP 2020033151 A JP2020033151 A JP 2020033151A
Authority
JP
Japan
Prior art keywords
work
search area
feature point
search
transport direction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018161246A
Other languages
Japanese (ja)
Other versions
JP7303412B2 (en
Inventor
喜文 田邊
Yoshifumi Tanabe
喜文 田邊
岡田 和之
Kazuyuki Okada
和之 岡田
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.)
Sinfonia Technology Co Ltd
Original Assignee
Sinfonia Technology Co 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 Sinfonia Technology Co Ltd filed Critical Sinfonia Technology Co Ltd
Priority to JP2018161246A priority Critical patent/JP7303412B2/en
Priority to KR1020190037686A priority patent/KR20200026005A/en
Priority to TW108112232A priority patent/TWI793299B/en
Priority to CN201910407240.6A priority patent/CN110872005B/en
Publication of JP2020033151A publication Critical patent/JP2020033151A/en
Application granted granted Critical
Publication of JP7303412B2 publication Critical patent/JP7303412B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65GTRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
    • B65G65/00Loading or unloading
    • B65G65/30Methods or devices for filling or emptying bunkers, hoppers, tanks, or like containers, of interest apart from their use in particular chemical or physical processes or their application in particular machines, e.g. not covered by a single other subclass
    • B65G65/34Emptying devices
    • B65G65/40Devices for emptying otherwise than from the top
    • B65G65/44Devices for emptying otherwise than from the top using reciprocating conveyors, e.g. jigging conveyors
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65GTRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
    • B65G43/00Control devices, e.g. for safety, warning or fault-correcting
    • B65G43/08Control devices operated by article or material being fed, conveyed or discharged
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65GTRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
    • B65G27/00Jigging conveyors
    • B65G27/10Applications of devices for generating or transmitting jigging movements
    • B65G27/16Applications of devices for generating or transmitting jigging movements of vibrators, i.e. devices for producing movements of high frequency and small amplitude
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65GTRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
    • B65G47/00Article or material-handling devices associated with conveyors; Methods employing such devices
    • B65G47/02Devices for feeding articles or materials to conveyors
    • B65G47/04Devices for feeding articles or materials to conveyors for feeding articles
    • B65G47/12Devices for feeding articles or materials to conveyors for feeding articles from disorderly-arranged article piles or from loose assemblages of articles
    • B65G47/14Devices for feeding articles or materials to conveyors for feeding articles from disorderly-arranged article piles or from loose assemblages of articles arranging or orientating the articles by mechanical or pneumatic means during feeding
    • B65G47/1407Devices for feeding articles or materials to conveyors for feeding articles from disorderly-arranged article piles or from loose assemblages of articles arranging or orientating the articles by mechanical or pneumatic means during feeding the articles being fed from a container, e.g. a bowl
    • B65G47/1414Devices for feeding articles or materials to conveyors for feeding articles from disorderly-arranged article piles or from loose assemblages of articles arranging or orientating the articles by mechanical or pneumatic means during feeding the articles being fed from a container, e.g. a bowl by means of movement of at least the whole wall of the container
    • B65G47/1421Vibratory movement
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65GTRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
    • B65G47/00Article or material-handling devices associated with conveyors; Methods employing such devices
    • B65G47/22Devices influencing the relative position or the attitude of articles during transit by conveyors
    • B65G47/24Devices influencing the relative position or the attitude of articles during transit by conveyors orientating the articles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65GTRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
    • B65G65/00Loading or unloading
    • B65G65/30Methods or devices for filling or emptying bunkers, hoppers, tanks, or like containers, of interest apart from their use in particular chemical or physical processes or their application in particular machines, e.g. not covered by a single other subclass
    • B65G65/34Emptying devices
    • B65G65/40Devices for emptying otherwise than from the top
    • B65G65/48Devices for emptying otherwise than from the top using other rotating means, e.g. rotating pressure sluices in pneumatic systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M1/00Design features of general application
    • G06M1/27Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65GTRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
    • B65G2201/00Indexing codes relating to handling devices, e.g. conveyors, characterised by the type of product or load being conveyed or handled
    • B65G2201/02Articles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65GTRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
    • B65G2203/00Indexing code relating to control or detection of the articles or the load carriers during conveying
    • B65G2203/02Control or detection
    • B65G2203/0208Control or detection relating to the transported articles
    • B65G2203/0241Quantity of articles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65GTRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
    • B65G2203/00Indexing code relating to control or detection of the articles or the load carriers during conveying
    • B65G2203/04Detection means
    • B65G2203/041Camera
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

To provide a workpiece count control system capable of counting the number of transferred workpieces on the basis of image data without using a trigger sensor.SOLUTION: The workpiece count control system includes: an image storage unit S21 for storing image data captured by imaging means S that continuously captures a workpiece W at a constant trigger interval; a search area setting unit S22 for setting a search area SA for the image data; a search unit S23 for searching for a feature point of the workpiece W in which a detection position in a transport direction coordinate of the search area SA changes for each piece of the image data; and a counting unit S24 for counting workpieces on the basis of a change in the coordinate value of the feature point in the transport direction coordinates obtained from a search result of the search unit S23. A length Ls of the search area SA is set based on a trigger interval of imaging means S1, a transport speed of the workpiece W, the number of times of imaging the identical workpieces W in the search area SA by the imaging means S1, and a length of a transport direction H for specifying a feature point.SELECTED DRAWING: Figure 1

Description

本発明は、ワークを所定方向に搬送しながら供給先に供給可能な供給装置に適用可能なワークカウント制御システム、及びパーツフィーダに関するものである。   The present invention relates to a work count control system applicable to a supply device capable of supplying a work to a supply destination while conveying the work in a predetermined direction, and a parts feeder.

搬送対象物であるワークを所定の搬送路上において1列で搬送しながら姿勢や向きを揃えて所定の供給先まで供給可能なパーツフィーダ(供給装置)において、ワークの搬送数をカウントする手段が種々講じられている。
例えば、搬送路上にトリガセンサ(透過型ファイバセンサ)を設け、トリガセンサのON・OFF信号によってワークをカウントする手段が知られている。すなわち、搬送路上を横切る所定位置に、投光用トリガセンサ及び受光用トリがセンサを対向配置し、これらトリガセンサによる投受光ラインを検知ラインに設定することで、ワークが検知ラインを通過した(横切った)場合には「遮光状態」になり、トリガセンサはOFF信号を発信する一方、ワークが検知ラインを通過していない場合には「通光状態」になり、トリガセンサはON信号を発信する。そして、トリガセンサからの発信信号がON信号からOFF信号に切り替わった回数を「ワークカウント」とすることで、ワークの搬送数をカウントする技術が従来より知られている。
In a parts feeder (supply device) that can supply a work to be transferred to a predetermined destination while aligning the posture and orientation while transferring the work in a single row on a predetermined transfer path, there are various means for counting the number of transferred works. Has been taken.
For example, there is known a means in which a trigger sensor (transmission type fiber sensor) is provided on a transport path, and the work is counted by an ON / OFF signal of the trigger sensor. That is, a light-emitting trigger sensor and a light-receiving bird are arranged opposite to each other at a predetermined position crossing the transport path, and the light-emitting and receiving lines by these trigger sensors are set as detection lines, so that the workpiece passes through the detection line ( If the work does not pass through the detection line, it will be in the “light-transmitting state” and the trigger sensor will send an ON signal. I do. A technique has been conventionally known in which the number of times that a transmission signal from a trigger sensor is switched from an ON signal to an OFF signal is referred to as a “work count”, thereby counting the number of works conveyed.

特許第4243471号公報Japanese Patent No. 4243471

しかしながら、このような構成であれば、トリガセンサが必須であることに加えて、複数のワークが搬送方向に隙間無く並んだ状態で検知ラインを通過した場合、これら複数のワークが通過している間、トリガセンサからの発信信号はOFF信号のままであるため、トリガセンサによるワークのカウント数が実際のワークの搬送数と一致しないという問題が生じる。   However, with such a configuration, in addition to the fact that a trigger sensor is indispensable, when a plurality of works pass through the detection line in a state where there are no gaps in the transport direction, the plurality of works pass. During this time, the transmission signal from the trigger sensor remains the OFF signal, which causes a problem that the count number of the workpiece by the trigger sensor does not match the actual number of transported workpieces.

そこで、搬送路上において搬送方向に並ぶワーク同士の間に隙間を積極的に形成するために、搬送路上に下り勾配の傾斜面を形成し、その傾斜面に検知ラインを設定した構成や、検知ラインよりも搬送方向上流側の所定位置に吸引用の小孔を形成し、小孔の形成箇所に到達したワークを吸引して一時的に搬送停止状態にする構成が考えられる。   Therefore, in order to positively form a gap between the workpieces arranged in the transport direction on the transport path, a configuration in which a downward slope is formed on the transport path and a detection line is set on the inclined surface, A configuration is conceivable in which a small hole for suction is formed at a predetermined position on the upstream side in the transport direction, and the work that has reached the location where the small hole is formed is sucked to temporarily stop the transport.

しかし、下り勾配の搬送面を形成したり小孔を形成する加工処理や、吸引機の設置処理は面倒であり、費用も掛かることに加えて、傾斜面または小孔の加工精度や、吸引機のバルブ応答性によっては、所期の目的、つまり、ワーク同士の間に隙間を形成することができず、トリガセンサの検知処理に基づくカウント精度の低下を招来する場合も起こり得る。   However, the processing of forming a downwardly inclined conveying surface or forming a small hole, and the processing of installing a suction machine are troublesome and costly. Depending on the valve responsiveness, a gap may not be formed between the intended purposes, that is, there may be cases where the count accuracy based on the detection processing of the trigger sensor is reduced.

本発明は、このような問題に着目してなされたものであって、主たる目的は、トリガセンサを用いずに、画像処理データに基づいてワークの搬送数をカウント可能なワークカウント制御システムを提供することにある。   The present invention has been made in view of such a problem, and a main object of the present invention is to provide a work count control system capable of counting the number of transferred works based on image processing data without using a trigger sensor. Is to do.

すなわち本発明は、搬送路上のワークを移動させながら所定の供給先まで搬送可能な供給装置に適用可能なワークカウント制御システムであり、搬送路上において1列で移動するワークを所定の撮影時間間隔で連続撮影する撮像手段と、撮像手段によって撮影した画像データを保存する画像保存部を有する画像処理装置とを備え、画像処理装置として、画像保存部に保存された画像データを用いて、ワークの搬送速度及び撮影時間間隔の関係からワークが含まれるようにサーチエリアを設定可能なサーチエリア設定部と、サーチエリアにおいて搬送方向に沿った軸を有する搬送方向座標における検出位置が画像データごとに変化するワークの特徴点をサーチするサーチ部と、サーチ部によるサーチ結果から得られる搬送方向座標における特徴点の座標値の変化に基づいてワーク1個の通過であるとカウントするカウント部とを備えたものを適用し、搬送方向に沿ったサーチエリアの長さを、撮像手段の撮影時間間隔(トリガ間隔)、ワークの搬送速度、サーチエリア内における同一ワークに対する撮像手段の撮影回数、及び特徴点を特定するための搬送方向の長さ、に基づいて設定していることを特徴としている。ここで搬送対象物であるワークとしては、例えば微小サイズの電子部品等を挙げることができるが、供給装置によって搬送可能なものであれば特に限定されない。また、「ワークの搬送速度及び撮影時間間隔の関係からワークが含まれるようにサーチエリアを設定可能」とは、「ワークの搬送速度及び撮影時間間隔の関係から1個のワークについて当該ワークの一部分または全体が含まれるようにサーチエリアを設定可能」という意味である。   That is, the present invention is a work count control system applicable to a supply device capable of conveying a work to a predetermined destination while moving the work on the conveyance path. An image processing device having an image storage unit for storing image data captured by the imaging unit; and transporting a workpiece using the image data stored in the image storage unit as the image processing device. A search area setting unit capable of setting a search area so that a work is included from the relationship between the speed and the photographing time interval, and a detection position in a conveyance direction coordinate having an axis along the conveyance direction in the search area changes for each image data. A search unit that searches for feature points of a work, and features in the transport direction coordinates obtained from search results by the search unit And a counting unit that counts the passage of one workpiece based on the change in the coordinate value of the object. The length of the search area along the transport direction is determined by the photographing time interval (trigger interval) of the imaging unit. ), The transfer speed of the work, the number of times of photographing of the same work in the search area by the imaging means, and the length in the transfer direction for specifying the characteristic point. Here, as the work to be transported, for example, a micro-sized electronic component can be cited, but is not particularly limited as long as it can be transported by the supply device. Also, "the search area can be set so that the work is included from the relationship between the work transfer speed and the photographing time interval" means "part of the work for one work from the relationship between the work transfer speed and the photographing time interval". Alternatively, the search area can be set so as to include the entirety. "

本発明者は、このような本発明に係るワークカウント制御システムによれば、搬送路上において1列の状態で搬送中のワークに対して、撮像手段で撮影した画像データを画像保存部に保存し、保存した画像データを用いてサーチエリア設定部で設定したサーチエリア内におけるワークの特徴点をサーチし、サーチ部によるサーチ結果から得られる搬送方向座標における特徴点の値(座標値)の変化に基づいてワークを正確にカウントできることを見出した。特に、「撮像手段の撮影時間間隔(トリガ間隔)」、「ワーク搬送速度」、「サーチエリア内における同一ワークに対する撮像手段の撮影回数」、及び「特徴点を特定するための搬送方向の長さ」、以上の4項目に基づいて「搬送方向に沿ったサーチエリアの長さ」を設定することで、搬送路上において1列の状態で搬送中のワークを、ワークカウント処理のために一旦停止させたり、搬送速度を一時的に加速させる必要もなく、適切にカウントすることが可能な本発明に係るワークカウント制御システムは、これまでに着想されることのない極めて斬新で有用なものである。なお、本発明のワークカウント制御システムは、搬送路上のワークを移動させながら所定の供給先まで搬送可能な供給装置全般に適用可能なものであり、ワークを振動によって移動させる構成の供給装置に限らず、ワークを振動以外の手段(例えばエアによって浮上させる手段等)によって移動させる構成の供給装置にも適用することができる。   According to the work count control system according to the present invention, the inventor saves image data captured by the imaging unit in the image storage unit with respect to the work being transported in a row on the transport path. Using the stored image data, a search is made for a feature point of the work in the search area set by the search area setting unit, and the change in the value (coordinate value) of the feature point in the transport direction coordinate obtained from the search result by the search unit. It has been found that the workpiece can be accurately counted based on this. In particular, "imaging time interval (trigger interval) of imaging means", "work conveyance speed", "number of times imaging is performed by the imaging means on the same work in the search area", and "length of conveyance direction for specifying feature points" ”, By setting“ the length of the search area along the transport direction ”based on the above four items, the workpieces being transported in a single row on the transport path are temporarily stopped for workpiece count processing. The work count control system according to the present invention, which does not need to temporarily accelerate the transport speed and can appropriately count, is a very novel and useful one that has never been conceived. The work count control system of the present invention can be applied to all supply devices that can transfer a work on a transfer path to a predetermined supply destination while moving the work, and is not limited to a supply device configured to move a work by vibration. Instead, the present invention can be applied to a supply device configured to move a workpiece by means other than vibration (for example, means for floating by air).

特に、本発明に係るワークカウント制御システムであれば、トリガセンサが不要であり、ワーク同士が搬送方向に隙間無く並んだ状態であっても、ワークを正確にカウントすることができ、単位時間あたりのワークの供給量が増加する。なお、本発明に係るワークカウント制御システムであれば、搬送方向に並ぶワーク同士の間に隙間がある状態で搬送されたワークに対しても正確にカウントすることが可能である。   In particular, the work count control system according to the present invention does not require a trigger sensor, and can accurately count the work even when the works are lined up without a gap in the transport direction. The supply of the workpiece increases. Note that, with the work count control system according to the present invention, it is possible to accurately count even a work conveyed in a state where there is a gap between the works arranged in the conveyance direction.

さらに、本発明に係るワークカウント制御システムは、各画像データに共通のサーチエリアを1か所設定することで正確なワークカウントを行うことでき、ワークカウントを行うために複数の計測領域を設定することが要求される構成と比較して、制御の簡便性が向上し、ワークカウント処理に要する時間の短縮化を図ることが可能である。   Further, the work count control system according to the present invention can perform an accurate work count by setting a single search area common to each image data, and sets a plurality of measurement areas to perform the work count. As compared with a configuration in which the control is required, the simplicity of the control is improved, and the time required for the work count process can be reduced.

本発明において、「搬送方向に沿った前記サーチエリアの長さ」は、サーチエリア内における同一ワークに対する撮像手段の撮影回数を搬送方向に沿ったワークの長さで除算した値が、撮像手段の撮影時間間隔(トリガ間隔)とワーク搬送速度の乗算値以上であるという第1条件と、撮像手段の撮影時間間隔(トリガ間隔)、ワーク搬送速度及びサーチエリア内における同一ワークに対する撮像手段の撮影回数の乗算値に、特徴点を特定するための搬送方向の長さを加算した値以上であるという第2条件とを満たす長さであることが好ましい。   In the present invention, the “length of the search area along the transport direction” is a value obtained by dividing the number of times the imaging unit captures the same work in the search area by the length of the work along the transport direction. The first condition that the value is equal to or more than the multiplication value of the photographing time interval (trigger interval) and the work transfer speed, the photographing time interval (trigger interval) of the image pickup device, the work transfer speed, and the number of times the image pickup device shoots the same work in the search area It is preferable that the length satisfies the second condition that the value is equal to or more than the value obtained by adding the length in the transport direction for specifying the characteristic point to the multiplied value of.

本発明におけるカウント部が、サーチ部によって新たに検出した搬送方向座標における特徴点の座標値と前回検出時の特徴点の座標値とを比較して所定条件を満たす変化があった時点でワーク1個の通過であるとカウントするものであれば、比較的簡単な制御でカウント処理を実現できる。   The counting unit according to the present invention compares the coordinate values of the characteristic points in the transport direction coordinates newly detected by the search unit with the coordinate values of the characteristic points detected last time, and when there is a change satisfying a predetermined condition, the work 1 If the number of passes is counted, the counting process can be realized by relatively simple control.

本発明における「特徴点を特定するための搬送方向の長さ」が搬送方向に沿ったワークの長さ以上である場合には、サーチ部が、サーチエリア内における最下流側の特徴点またはサーチエリア内における最上流側の特徴点をサーチするように構成することで、正確なワークカウント処理を実施できる。   When the “length in the transport direction for specifying the feature point” in the present invention is equal to or longer than the length of the work along the transport direction, the search unit may determine the most downstream feature point or the search point in the search area. By configuring to search for the most upstream feature point in the area, accurate work count processing can be performed.

一方、本発明における「特徴点を特定するための搬送方向の長さ」が搬送方向に沿ったワークの長さ未満である場合には、サーチ部が、サーチエリア内における特徴点及び特徴点の有無をサーチするように構成することで、正確なワークカウント処理を実施できる。   On the other hand, when the “length in the transport direction for specifying the feature point” in the present invention is less than the length of the work along the transport direction, the search unit determines the feature point and the feature point in the search area. By configuring to search for presence / absence, accurate work count processing can be performed.

本発明における「特徴点」としては、「ワークの重心」、またはワークにおける任意の一点(点、線を含む)を挙げることができる。なお、画像保存部には、同一ワークに関して2回以上撮影した画像データを保存するように設定することで、撮影時刻ごとに変化するサーチエリア内のワークの移動を適切に把握することができる。この場合、「サーチエリア内における同一ワークに対する撮像手段の撮影回数」は、「2以上の整数」に設定することになる。   As the “feature point” in the present invention, a “center of gravity of a work” or an arbitrary point (including a point and a line) on the work can be exemplified. By setting the image storage unit to store image data of the same work photographed twice or more, it is possible to appropriately grasp the movement of the work in the search area that changes for each photographing time. In this case, “the number of times the imaging unit captures the same work in the search area” is set to “an integer of 2 or more”.

また、本発明に係るパーツフィーダは、ワークカウント制御システムを用いてワークカウント制御システムによるワークカウント処理を行うように構成されたことを特徴としている。このようなパーツフィーダによれば、搬送路上のワークを移動させながら所定の供給先まで搬送する任意のタイミングで、ワークカウント制御システムによるワークカウント処理を行うことで、ワークカウント処理を正確に行うことができ、実用性が高まる。   Further, the parts feeder according to the present invention is characterized in that a work count control system is used to perform a work count process using the work count control system. According to such a parts feeder, the work count processing is performed by the work count control system at an arbitrary timing for transferring the work on the transfer path to a predetermined supply destination, thereby performing the work count processing accurately. Is possible, and practicality is improved.

本発明によれば、撮像手段によって撮影した画像データを保存し、画像データを用いて設定したサーチエリアにおいてワークの特徴点を搬送方向座標上の値としてサーチし、そのサーチ結果から得られる搬送方向座標における特徴点の座標値の変化に基づいてワーク1個の通過であるとカウントする処理を実行することで、トリガセンサを用いずに、搬送方向に隙間無く並んで搬送される(連続的に搬送される)ワーク、及び、ワーク同士の間に間隔を空けて搬送される(間欠的、断続的に搬送される)ワークの搬送数を正確にカウント可能なワークカウント制御システム、及びパーツフィーダを提供することができる。   According to the present invention, image data captured by an imaging unit is stored, and a feature point of a work is searched as a value on a transfer direction coordinate in a search area set using the image data, and a transfer direction obtained from the search result is obtained. By performing the process of counting the passing of one workpiece based on the change in the coordinate value of the feature point in the coordinates, the workpiece is conveyed without gaps in the transport direction without using a trigger sensor (continuously). A work count control system and a parts feeder capable of accurately counting the number of works conveyed and works conveyed at intervals between the works (intermittently and intermittently conveyed). Can be provided.

本発明の一実施形態に係るワークカウント制御装置を適用した供給装置の平面模式図。FIG. 1 is a schematic plan view of a supply device to which a work count control device according to an embodiment of the present invention is applied. 同実施形態における画像保存部で保存された画像データの一例を示す図。FIG. 3 is a diagram illustrating an example of image data stored in an image storage unit according to the embodiment. 同実施形態における画像データを用いたサーチエリア内での特徴点の変化を示す図。FIG. 4 is a diagram showing a change in a feature point in a search area using image data in the embodiment. 同サーチエリア内での特徴点の変化を図3よりも多い画像データを用いて示す図。FIG. 4 is a diagram showing a change in a feature point in the search area using more image data than in FIG. 3. 同実施形態における搬送方向座標及び搬送方向座標上の特徴点の変化をグラフとして示す図。FIG. 3 is a graph showing a change in a conveyance direction coordinate and a feature point on the conveyance direction coordinate according to the first embodiment; 本実施形態の第1変形例における搬送方向座標及び搬送方向座標上の特徴点の変化をグラフとして示す図。FIG. 7 is a graph showing a change in a conveyance direction coordinate and a feature point on the conveyance direction coordinate in a first modification of the embodiment as a graph. 本実施形態の第2、3変形例における特徴点の変化を図4に対応して示す図。FIG. 5 is a diagram illustrating a change in feature points according to second and third modifications of the embodiment, corresponding to FIG. 4. 第2、3変形例における特徴点の変化をグラフとして示す図。The figure which shows the change of the feature point in a 2nd, 3rd modification as a graph. 本実施形態の第4、5変形例における特徴点の変化を図4に対応して示す図。FIG. 9 is a view showing changes in feature points according to fourth and fifth modifications of the embodiment, corresponding to FIG. 4. 第4、5変形例における特徴点の変化をグラフとして示す図。The figure which shows the change of the feature point in a 4th, 5th modification as a graph. 第6、7変形例における特徴点の変化をグラフとして示す図。The figure which shows the change of the feature point in a 6th, 7th modification as a graph. ワークカウントのタイミングに関する条件を示す図。The figure which shows the conditions regarding the timing of a work count.

以下、本発明の一実施形態を、図面を参照して説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

本実施形態に係るワークカウント制御システムSは、搬送路上の搬送対象物である電子部品等のワークWを移動させながら所定の供給先まで搬送可能な供給装置Xに適用可能なものである。   The work count control system S according to the present embodiment is applicable to a supply device X that can transfer a work W such as an electronic component as a transfer target on a transfer path to a predetermined supply destination while moving the work W.

供給装置Xは、例えば図1に示すように、ボウルY1の内周面に螺旋状の搬送路であるボウル搬送路Y2が形成されたボウルフィーダYと、ボウル搬送路Y2の終端に連続する位置に配置されるリニア搬送路Z2を有するリニアフィーダZとを備え、ワークWを振動によってボウル搬送路Y2、リニア搬送路Z2の順に移動させながら所定の供給先に搬送可能なものである。   For example, as shown in FIG. 1, the supply device X includes a bowl feeder Y in which a bowl transport path Y2 that is a spiral transport path is formed on the inner peripheral surface of the bowl Y1, and a position that is continuous with an end of the bowl transport path Y2. And a linear feeder Z having a linear transport path Z2 disposed at the center, and the workpiece W can be transported to a predetermined supply destination while being moved by vibration in the order of the bowl transport path Y2 and the linear transport path Z2.

ボウルフィーダYは、ワークW(例えば図2に模式的に示すワークW等)を螺旋状の搬送路(ボウル搬送路Y2)上において振動により移動させながら所定の搬送先(供給先)に搬送する装置である。本実施形態に係るボウルフィーダYは、収容したワークWを整列させながら搬送するボウルY1と、ボウルY1に振動を発生させる加振源(図示省略)とを備え、加振源によりボウルY1に対して振動を発生させることによって、ボウルY1内に収容されたワークWをボウル搬送路Y2に沿って移動させることができる。   The bowl feeder Y conveys a work W (for example, the work W schematically shown in FIG. 2) to a predetermined transfer destination (supply destination) while moving the work W by vibration on a spiral transfer path (bowl transfer path Y2). Device. The bowl feeder Y according to the present embodiment includes a bowl Y1 that transports the accommodated works W while aligning them, and a vibration source (not shown) that generates vibrations in the bowl Y1. As a result, the workpiece W accommodated in the bowl Y1 can be moved along the bowl transport path Y2.

ボウルY1は、底面に形成され多数のワークWを貯留可能な平面視略円形の貯留部Y3と、貯留部Y3の周縁部における所定部分を始端として内周壁に沿って登り傾斜の螺旋状に形成したボウル搬送路Y2(トラックとも称される)とを備えた鉢状のものである。なお、図1ではボウル搬送路Y2に関する詳細な記載を省略しているが、一般的に知られているボウル搬送路を適用することができる。   The bowl Y1 is formed on the bottom surface and has a substantially circular storage portion Y3 in plan view capable of storing a large number of works W, and is formed in a spiral shape ascending and inclining along an inner peripheral wall starting from a predetermined portion of a peripheral portion of the storage portion Y3 as a start end. And a bowl conveying path Y2 (also referred to as a truck). Although the detailed description of the bowl transport path Y2 is omitted in FIG. 1, a generally known bowl transport path can be applied.

貯留部Y3は、中心側を径方向外側よりも高くなるように設定された上向き面を有し、ボウルY1の振動や貯留部Y3内に収容されている搬送対象物Wの自重によってワークWを径方向外側へ移動させるものである。貯留部Y3の上向き面上において径方向外側へ移動したワークWは、ボウル搬送路Y2の始端に到達し、そのままボウル搬送路Y2の始端を通過してボウル搬送路Y2に沿って移動する。   The storage part Y3 has an upward surface set so that the center side is higher than the radially outer side, and the work W is moved by the vibration of the bowl Y1 and the own weight of the transfer target object W stored in the storage part Y3. It is to be moved radially outward. The workpiece W that has moved radially outward on the upward surface of the storage section Y3 reaches the start end of the bowl transfer path Y2, passes through the start end of the bowl transfer path Y2, and moves along the bowl transfer path Y2.

ボウル搬送路Y2は、始端が貯留部Y3に連続しており、上向き面であるボウル搬送面を例えば径方向外側に向けて下方に傾斜させた平坦な面に設定したものである。そして、振動によってワークWが受ける搬送力のうち径方向外側へ向かう力とボウル搬送面の傾斜によって、ワークWはボウルY1の内周壁に接しながら下流側(ボウル搬送路Y2の終端側)に向けて搬送される。本実施形態では、このようなボウル搬送路Y2の所定箇所に整列手段(図示省略)を設け、整列手段によって所定姿勢であるワークWのみを搬送方向H下流側に搬送し、所定姿勢ではないワークWを貯留部Y3へ戻す(落下させる)ように構成している。以上のような構成により、本実施形態のボウルフィーダYは、1列状に整列させたワークWをリニアフィーダZに搬送(供給)できる。   The bowl transport path Y2 has a start end that is continuous with the storage section Y3, and has a bowl transport surface, which is an upward surface, set to a flat surface inclined downward, for example, radially outward. Then, the work W is directed toward the downstream side (end side of the bowl transfer path Y2) while being in contact with the inner peripheral wall of the bowl Y1 due to the radially outward force of the transfer force received by the work W due to the vibration and the inclination of the bowl transfer surface. Transported. In the present embodiment, an aligning means (not shown) is provided at a predetermined location of such a bowl transport path Y2, and only the work W in a predetermined attitude is transported downstream in the transport direction H by the aligning means. It is configured to return (drop) W to the storage section Y3. With the above configuration, the bowl feeder Y of the present embodiment can transport (supply) the works W arranged in a line to the linear feeder Z.

リニアフィーダZは、図1に示すように、直線状をなす長尺の供給トラフZ1(搬送台またはシュートとも称される)に振動を与えることで、供給トラフZ1上に設定されたリニア搬送路Z2に沿ってワークWを搬送方向H下流側へ供給可能なものである。本実施形態におけるリニアフィーダZにおいて、供給トラフZ1を振動させて供給トラフZ1上のワークWを搬送方向H下流側へ搬送する具体的な構成は特に限定されず、例えば、加振源から与えられる加振力によって、供給トラフZ1が接続された可動部と固定部とを相互に連結する板バネ(駆動用バネ)を直接または間接的に起振させることで、可動部及び固定部が互いに逆方向に振動し、これによって可動部に接続されている供給トラフZ1が長手方向に振動し、ワークWを搬送方向Hに沿って下流側へ搬送する構成を挙げることができる。なお、図1では、供給トラフZ1を可動部に固定するボルト等の固定具を省略している。   As shown in FIG. 1, the linear feeder Z applies vibration to a long linear supply trough Z1 (also referred to as a conveyance table or a chute) to thereby set a linear conveyance path set on the supply trough Z1. The workpiece W can be supplied to the downstream side in the transport direction H along Z2. In the linear feeder Z according to the present embodiment, the specific configuration for vibrating the supply trough Z1 and transporting the work W on the supply trough Z1 to the downstream side in the transport direction H is not particularly limited, and is provided from, for example, a vibration source. By vibrating directly or indirectly a plate spring (drive spring) that interconnects the movable part and the fixed part to which the supply trough Z1 is connected by the excitation force, the movable part and the fixed part are opposite to each other. The supply trough Z <b> 1 connected to the movable portion vibrates in the longitudinal direction, whereby the work W is conveyed to the downstream side along the conveyance direction H. In FIG. 1, a fixture such as a bolt for fixing the supply trough Z1 to the movable portion is omitted.

リニア搬送路Z2は、始端がボウル搬送路Y2の終端に連続し、リニアフィーダZの長手方向に沿って一直線状に延伸する凹溝によって形成されたものである。   The linear transport path Z2 is formed by a concave groove whose start end is continuous with the end of the bowl transport path Y2 and extends linearly along the longitudinal direction of the linear feeder Z.

本実施形態の供給装置Xは、振動搬送中のワークWに対してその搬送姿勢を所定の姿勢に矯正する姿勢矯正手段や、所定の搬送姿勢ではないワークWを選別してリニア搬送路Z2上から排除する選別手段を備えている。   The supply device X according to the present embodiment includes a posture correcting unit that corrects the transfer posture of the work W being vibrated and transferred to a predetermined position, and a work W that is not in the predetermined transfer position and is selected on the linear transfer path Z2. It is provided with a sorting means to eliminate from.

次に、供給装置Xの作用について説明する。   Next, the operation of the supply device X will be described.

ボウルフィーダYを構成するボウルY1の貯留部Y3に供給された多数のワークWは、ボウルY1の振動によってボウル搬送路Y2上を振動搬送される。ボウル搬送路Y2上を振動搬送されるワークWは、ボウル搬送路Y2の所定位置に設けた幅狭部や姿勢矯正部(何れも図示省略)を通過することで、搬送姿勢が矯正されて一定の姿勢となり、1列に整列された状態でボウル搬送路Y2の終端に到達し、ボウル搬送路Y2の終端に段差無く連続するリニア搬送路Z2の始端Z2aに搬送される。   A large number of works W supplied to the storage section Y3 of the bowl Y1 constituting the bowl feeder Y are vibrated and conveyed on the bowl conveyance path Y2 by the vibration of the bowl Y1. The work W, which is vibrated and conveyed on the bowl conveyance path Y2, passes through a narrow portion provided at a predetermined position of the bowl conveyance path Y2 and a posture correction unit (both not shown), so that the conveyance posture is corrected and fixed. And reaches the end of the bowl transport path Y2 in a state of being aligned in one line, and is transported to the start end Z2a of the linear transport path Z2 that is continuous with the end of the bowl transport path Y2 without any level difference.

供給装置Xは、ボウル搬送路Y2の終端からリニア搬送路Z2の始端Z2aに到達したワークWをリニア搬送路Z2に沿って振動搬送する。なお、リニア搬送路Z2上に姿勢矯正手段及び選別手段を設け、正規の搬送姿勢とは異なる搬送姿勢のワークWを選別してリニア搬送路Z2外に排出する一方、正規の搬送姿勢にあるワークWがリニア搬送路Z2の終端に到達するように構成し、このようなワークWをリニア搬送路Z2の終端から所定の供給先に供給することができる。   The supply device X vibrates and conveys the work W that has reached the starting end Z2a of the linear conveyance path Z2 from the end of the bowl conveyance path Y2 along the linear conveyance path Z2. It should be noted that a posture correcting means and a sorting means are provided on the linear transport path Z2 to select a workpiece W having a transport attitude different from the normal transport attitude and discharge it to the outside of the linear transport path Z2. W is configured to reach the end of the linear transport path Z2, and such a work W can be supplied to a predetermined destination from the end of the linear transport path Z2.

このような供給装置Xに適用可能な本実施形態に係るワークカウント制御システムSは、搬送路上において1列で移動するワークWを所定の撮影時間間隔で連続撮影する撮像手段S1(撮像機)と、撮像手段S1によって撮影した画像データを処理する画像処理装置S2とを備えている。   The work count control system S according to the present embodiment, which is applicable to such a supply device X, includes an imaging unit S1 (imaging device) that continuously captures a workpiece W moving in a line on a transport path at a predetermined capturing time interval. And an image processing device S2 for processing image data photographed by the imaging means S1.

撮像手段S1は、図1に示すように、例えばリニア搬送路Z2の所定領域を上方(真上)から撮像可能なものであり、設置スペースや仕様に応じて適宜のもの(例えば、ラインカメラまたはエリアカメラ等)を適用できる。ここで、本実施形態では、リニア搬送路Z2の所定領域を上方(真上)から撮像可能な位置に撮像手段S1を配置しているため、本発明係る「ワークカウント制御システムを用いてワークカウント処理を行うように構成されたパーツフィーダ」は「リニアフィーダZ」であると捉えることができる。なお、「ボウルフィーダY及びリニアフィーダZを備えた供給装置X」が本発明に係る「パーツフィーダ」であると捉えることもできる。   As shown in FIG. 1, the imaging unit S1 can image a predetermined area of the linear transport path Z2, for example, from above (directly above). Area camera etc.) can be applied. Here, in the present embodiment, since the imaging unit S1 is arranged at a position where the predetermined area of the linear transport path Z2 can be imaged from above (directly above), the “work count control system using the work count control system” according to the present invention is used. The “parts feeder configured to perform the processing” can be regarded as the “linear feeder Z”. Note that the “supply device X including the bowl feeder Y and the linear feeder Z” may be regarded as the “parts feeder” according to the present invention.

画像処理装置S2は、画像保存部S21と、サーチエリア設定部S22と、サーチ部S23と、カウント部S24とを備え、これら各部における処理を図示しない制御部によって制御している。   The image processing device S2 includes an image storage unit S21, a search area setting unit S22, a search unit S23, and a counting unit S24, and the processing in each unit is controlled by a control unit (not shown).

画像保存部S21は、図2に示すように、撮像手段S1によって撮影した画像データimgを保存するものである。画像処理装置S2は、撮像手段S1に有線または無線で通信可能に接続されている。そして、撮像手段S1で撮影した画像データimgは、画像処理装置S2に入力されて、画像保存部S21に保存される。撮像手段S1による撮影時間間隔は一定であり、この一定時間をトリガ間隔trと捉えることができる。画像保存部S21では、図2に示すように、各時刻で撮像された画像データimgをimg(t)[t=1,2,3…tは計測回数]として保存する。ここで、搬送路上を、搬送方向Hに沿った長さ(図示例では長手寸法)LのワークWを速度(v_work)で搬送させた場合、トリガ間隔tr時間内のワークWの移動距離は、v_work*trとなる。つまり、図2に示すように、撮影時刻ごとの画像データimg(t)[t=1,2,…]に基づいて、トリガ間隔tr時間内にワークWが移動距離v_work*trずつ移動するワークWの動きを把握することができる。なお、図2では、搬送方向Hに並ぶ複数のワークWに関して、説明の便宜上、先頭(最下流)のワークWに数字の「1」を付し、先頭から2番目以降の各ワークWにもそれぞれ数字を昇順で付している。   As shown in FIG. 2, the image storage unit S21 stores image data img captured by the imaging unit S1. The image processing device S2 is communicably connected to the imaging unit S1 by wire or wirelessly. Then, the image data img taken by the imaging means S1 is input to the image processing device S2 and stored in the image storage unit S21. The photographing time interval by the imaging means S1 is constant, and this constant time can be regarded as the trigger interval tr. In the image storage unit S21, as shown in FIG. 2, the image data img captured at each time is stored as img (t) [t = 1, 2, 3,... Here, when a workpiece W having a length (longitudinal dimension in the illustrated example) L along the transport direction H is transported at a speed (v_work) on the transport path, the travel distance of the workpiece W within the trigger interval tr is: v_work * tr. That is, as shown in FIG. 2, based on the image data img (t) [t = 1, 2,...] For each shooting time, the work W moves by the moving distance v_work * tr within the trigger interval tr time. The movement of W can be grasped. In FIG. 2, for the sake of convenience, a plurality of works W arranged in the transport direction H are numbered “1” to the first (most downstream) work W, and the second and subsequent works W from the top are also denoted. Each number is given in ascending order.

サーチエリア設定部S22は、図3に示すように、画像保存部S21に保存された画像データimgを用いて、ワークWの搬送速度v_work及び撮像手段S1の撮影時間間隔(トリガ間隔)trの関係からワークWが含まれるようにサーチエリアSAを設定可能なものである。サーチエリア設定部S22におけるサーチエリアSAの設定処理は、パラメータとなる各数値が入力されることによって自動的に設定される処理であってもよいし、オペレータによって直接入力される数値そのものをサーチエリアSAとして設定する処理であってもよい。   As shown in FIG. 3, the search area setting unit S22 uses the image data img stored in the image storage unit S21 to determine the relationship between the transport speed v_work of the work W and the shooting time interval (trigger interval) tr of the imaging unit S1. The search area SA can be set to include the work W from. The process of setting the search area SA in the search area setting unit S22 may be a process that is automatically set by inputting each numerical value serving as a parameter, or may be a process in which the numerical value directly input by the operator is used as the search area. The processing may be set as SA.

サーチエリアSAは、各画像データimgに設定されるワーク検出用の計測領域である。本実施形態では、撮影時刻ごとの画像データimg(t)[t=1,2,…]のサーチエリアSA内に、サーチ対象となるワークW(同一ワークW)が、必ずn(nは2以上の整数)回以上撮像され、且つ常にサーチエリアSAの最下流側に撮像されるように、撮像手段S1の撮影時間間隔(トリガ間隔)trと、ワークWの搬送速度v_workと、サーチエリアSAの搬送方向Hの長さLsを以下の式(1)、式(2)、式(3)を満たす長さに設定している。
L/n≧tr*v_work・・・式(1)
Ls≧L+n*tr*v_work・・・式(2)
n≧2・・・式(3)
ここで、Lは搬送方向Hに沿ったワーク1個分の長さ(ワーク長)であり、nはワーク1個に対する撮像手段S1の撮影回数である。なお、式(2)における「ワーク長L」が本発明の「特徴点を特定するための搬送方向の長さ」に相当する。上記の式より、1つのワークWに対して撮影回数に相当するワークWの移動距離が、ワーク1つあたりの搬送方向Hの寸法以下(ゼロより大きくワーク1つあたりの寸法(ワーク長)L以下)であることが理解できる。
The search area SA is a measurement area for work detection set in each image data img. In the present embodiment, in the search area SA of the image data img (t) [t = 1, 2,...] For each shooting time, the work W to be searched (the same work W) is always n (n is 2). The photographing time interval (trigger interval) tr of the image pickup means S1, the transport speed v_work of the work W, the search area SA, and the like, so that the image is taken at least (integer times) times or more and always at the most downstream side of the search area SA. Is set to a length that satisfies the following equations (1), (2), and (3).
L / n ≧ tr * v_work Equation (1)
Ls ≧ L + n * tr * v_work Equation (2)
n ≧ 2 Expression (3)
Here, L is the length (work length) of one work along the transport direction H, and n is the number of times the imaging unit S1 has photographed one work. The “work length L” in the equation (2) corresponds to the “length in the transport direction for specifying a feature point” of the present invention. From the above equation, the moving distance of the work W corresponding to the number of times of photographing for one work W is equal to or less than the dimension in the transport direction H per work (larger than zero and the dimension per work (work length) L The following can be understood.

サーチエリア設定部S22において、式(1)、式(2)、式(3)を全て満たすサーチエリアSAを設定することで、図3及び図4に示すように、同一ワークWがサーチエリアSAの最下流側にn回撮像されることになる。特に、本実施形態では、サーチエリアSAの搬送方向Hの長さLsを、ワーク長Lを超えた値であって且つワーク長Lの2倍未満の値に設定している。したがって、搬送方向Hに複数のワークWが並んで移動している状況を撮像した画像データimgにおいて、搬送方向Hに途切れずに全体(全長)がサーチエリアSA内に撮像されているワークWの最大数は「1」である。なお、サーチエリアSAの設定に関して、搬送方向Hに直交する方向(搬送路を横切る方向)のサーチエリアSAの長さは、搬送方向Hに直交する方向のワーク1個分の長さ(図示例ではワークWの短寸方向)を超える値であればよく、ワーク長Lを超える値に設定することもできる。   By setting a search area SA that satisfies all of the expressions (1), (2), and (3) in the search area setting unit S22, as shown in FIGS. Will be imaged n times at the most downstream side of. In particular, in the present embodiment, the length Ls of the search area SA in the transport direction H is set to a value exceeding the work length L and less than twice the work length L. Therefore, in the image data img obtained by imaging a situation in which the plurality of works W are moving side by side in the transport direction H, the entirety (the entire length) of the work W imaged in the search area SA without interruption in the transport direction H The maximum number is “1”. Regarding the setting of the search area SA, the length of the search area SA in the direction orthogonal to the transport direction H (the direction traversing the transport path) is equal to the length of one work in the direction orthogonal to the transport direction H (illustrated example). In this case, a value exceeding the length L of the work W may be used.

サーチ部S23は、サーチエリアSA内におけるワークWの特徴点をサーチするものである。ワークWの特徴点は、ワークWの任意の一点であれば特に限定されないが、本実施形態では、ワークWの重心W1を特徴点に設定している。図3及び図4では、ワークWの重心W1を×印で示している。本実施形態のサーチ部S23は、サーチエリアSAに対して最上流側からワークWの検出を行うものであり、具体的にはサーチエリアSA内において全体形状が撮像されているワークWをサーチ対象ワークとして検出し、画像データimgから特定可能なワークWの全体形状に基づいて適宜の手法によりワークWの重心W1を検出するものである。   The search section S23 searches for a feature point of the work W in the search area SA. The feature point of the work W is not particularly limited as long as it is an arbitrary point on the work W. In the present embodiment, the center of gravity W1 of the work W is set as the feature point. 3 and 4, the center of gravity W1 of the work W is indicated by a cross. The search unit S23 of the present embodiment detects the work W from the most upstream side with respect to the search area SA. Specifically, the search unit S23 searches for the work W whose entire shape is imaged in the search area SA. The center of gravity W1 of the work W is detected by an appropriate method based on the entire shape of the work W which is detected as a work and can be specified from the image data img.

サーチエリアSA内におけるサーチ対象ワークWの特徴点(重心W1)の位置は、図3及び図4に示すように、画像データimgごとに変化し、サーチエリアSAにおいて搬送方向Hに沿った軸を有する搬送方向座標における検出位置(座標値)としてプロットすることが可能である。サーチエリアSAに対して最下流側からワークWの検出を行う本実施形態のサーチ部S23によるサーチ結果は、図5に示すように、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標(同図(a)参照)に特徴点の変化(変遷)をプロットしたグラフ(同図(b)参照)として把握することができる。同図(b)に、縦軸をワークWの特徴点である重心W1の搬送方向座標値x_work[t][t=1,2,…tは計測回数]とし、横軸を計測回数tとするグラフを示す。このように、サーチ部S23は、撮影時刻ごとの画像データimg(t)[t=1,2,…]に設定した共通のサーチエリアSAに対して、搬送方向H最下流側からサーチ対象ワークを特定し、そのワークWの特徴点(重心W1)をサーチする。   The position of the feature point (centroid W1) of the search target work W in the search area SA changes for each image data img as shown in FIGS. 3 and 4, and the axis along the transport direction H in the search area SA. It can be plotted as a detected position (coordinate value) in the transport direction coordinates. As shown in FIG. 5, the search result by the search unit S23 of the present embodiment that detects the work W from the most downstream side with respect to the search area SA matches one of the four corners of the search area SA at the downstream end SA1. It can be grasped as a graph (see (b) in the figure) in which the change (change) of the characteristic point is plotted on the coordinates in the transport direction (see (a) in the figure) with the point of origin as the origin. In FIG. 6B, the vertical axis represents the coordinate value x_work [t] of the center of gravity W1 which is a feature point of the work W in the transport direction [t = 1, 2,... T is the number of measurements], and the horizontal axis represents the number of measurements t. FIG. As described above, the search unit S23 searches the common search area SA set in the image data img (t) [t = 1, 2,... Is specified, and the feature point (center of gravity W1) of the work W is searched.

カウント部S24は、サーチ部S23によるサーチ結果から得られる搬送方向座標における特徴点の値(座標値)の変化に基づいてワークWをカウントするものである。ワークWの特徴点である重心W1の搬送方向座標値をx_work[t][t=1,2,…tは計測回数]とすると、ワークWの重心W1とサーチ対象ワークの関係は以下のようになる。具体的には、同一ワークWを検出している際(サーチ対象ワークが同じである場合)は、以下の条件1を満たす関係、すなわち、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標において、新たに検出した重心W1の搬送方向座標値x_work[t+1]が直近(直前)の検出値である重心W1の搬送方向座標値x_work[t]よりも小さい、という関係になる。
x_work[t+1]<x_work[t]・・・条件1
The counting unit S24 counts the work W based on a change in the value (coordinate value) of the feature point in the transport direction coordinate obtained from the search result by the search unit S23. Assuming that the coordinate value in the transport direction of the center of gravity W1 which is the feature point of the work W is x_work [t] [t = 1, 2,... T is the number of times of measurement], the relationship between the center of gravity W1 of the work W and the search target work is as follows. become. Specifically, when the same work W is detected (when the search target works are the same), the relationship satisfying the following condition 1 is satisfied, that is, one of the four corners of the search area SA at the downstream end SA1. In the transport direction coordinates with the coincident point as the origin, the newly detected transport direction coordinate value x_work [t + 1] of the center of gravity W1 is the nearest (previous) transport direction coordinate value x_work [t] of the center of gravity W1. Smaller than that.
x_work [t + 1] <x_work [t] ・ ・ ・ Condition 1

一方、新しいワークWを検出した際(サーチ対象ワークが変更する場合)は、以下の条件2を満たす関係、すなわち、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標において、新たに検出した重心W1の搬送方向座標値x_work[t+1]が直近(直前)の検出値である重心W1の搬送方向座標値x_work[t]よりも大きい、という関係になる。
x_work[t+1]>x_work[t]・・・条件2
On the other hand, when a new work W is detected (when the search target work is changed), a relationship satisfying the following condition 2, that is, a point that coincides with one corner of the downstream end SA1 among the four corners of the search area SA is set as the origin. In the transfer direction coordinates, the newly detected transfer direction coordinate value x_work [t + 1] of the center of gravity W1 is larger than the transfer direction coordinate value x_work [t] of the center of gravity W1 which is the latest (just before) detected value. become.
x_work [t + 1]> x_work [t] ・ ・ ・ Condition 2

本実施形態に係るワークカウント制御システムSは、サーチ部S23によって重心W1の搬送方向座標値x_work[t]を毎回計測(サーチ)し、条件1を満たしている状態から条件2を満たす変化があった時点で、ワーク1個の通過であるとしてカウント部S24によりカウントする。すなわち、サーチ部S23によるサーチ結果から得られる特徴点の搬送方向座標値、具体的には、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点(直近の計測時の特徴点、以下同義)の値よりも大きい値に変化した時点でワーク1個の通過と判定してカウントする。図5(b)に示すグラフを用いて説明すると、カウント部S24は、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値(重心W1の搬送方向座標値x_work[t])が直近の特徴点の値よりも大きい値に変化した時点でワーク1個の通過と判定してカウントする。   In the work count control system S according to this embodiment, the search unit S23 measures (searches) the transport direction coordinate value x_work [t] of the center of gravity W1 every time, and there is a change that satisfies the condition 2 from the state where the condition 1 is satisfied. At this point, the counting unit S24 counts that one workpiece has passed. That is, the transport direction coordinate values of the feature points obtained from the search result by the search unit S23, specifically, the features in the transport direction coordinates whose origin is a point that coincides with one corner of the downstream end SA1 among the four corners of the search area SA. When the value of the point changes to a value larger than the value of the latest characteristic point (the characteristic point at the time of the most recent measurement, hereinafter the same meaning), it is determined that one workpiece has passed and counted. Explaining with reference to the graph shown in FIG. 5B, the counting unit S24 determines the value of the characteristic point (centroid of gravity) in the transport direction coordinates whose origin is a point that coincides with one corner of the downstream end SA1 among the four corners of the search area SA. When the transfer direction coordinate value x_work [t]) of W1 changes to a value larger than the value of the latest feature point, it is determined that one work has passed and counted.

このような構成を有するワークカウント制御システムSを適用した供給装置Xによるワークカウント処理は、搬送路L2上において1列1層の状態で搬送中のワークWに対して、撮像手段S1で撮影した画像データimgを撮影時刻ごとに画像保存部S21に保存する画像データ保存ステップと、サーチエリア設定部S22で設定したサーチエリアSA内におけるワークWの特徴点をサーチするワーク特徴点サーチステップと、サーチ部S23によるサーチ結果から得られる搬送方向座標における特徴点の値(座標値)の変化に基づいてワークWをカウントするワークカウントステップとを、この順に経て実行することができる。   In the work counting process by the supply device X to which the work count control system S having such a configuration is applied, the image pickup unit S1 captures an image of the work W being conveyed in the state of one row and one layer on the conveyance path L2. An image data storage step of storing the image data img in the image storage unit S21 at each shooting time, a work feature point search step of searching for a feature point of the work W in the search area SA set by the search area setting unit S22, A work counting step of counting the works W based on a change in the value (coordinate value) of the feature point in the transport direction coordinate obtained from the search result by the unit S23 can be executed in this order.

このように、本実施形態に係るワークカウント制御システムSによれば、ワークW同士が搬送方向Hに隙間無く並んだ状態であっても、ワークWを正確にカウントすることができ、搬送方向Hにおいて隙間が無い状態で多数のワークWを連続搬送することが可能になることで、供給効率の向上に貢献する。加えて、本実施形態に係るワークカウント制御システムSによれば、トリガセンサが不要であり、トリガセンサを必須とする構成と比較して、搬送方向Hにおけるワーク同士の間に隙間が形成されるように下り勾配の搬送面を形成したり、吸引機を設置する必要がなく、傾斜面または吸引用小孔の加工精度や吸引機のバルブ応答性の低下に起因して、ワーク同士の間に隙間を形成することができない場合が発生し、その結果、トリガセンサの検知処理に基づくカウント精度が低下する、という不具合も生じない点で有利である。加えて、本実施形態に係るワークカウント制御システムSによれば、搬送方向Hに並ぶワークW同士の間に隙間がある状態で搬送されるワークWに対しても、上述の処理を得ることによって正確にカウントすることができる。   As described above, according to the work count control system S according to the present embodiment, even when the workpieces W are lined up in the transport direction H without any gap, the workpieces W can be accurately counted, and the transport direction H In this case, a large number of works W can be continuously conveyed without any gap, thereby contributing to an improvement in supply efficiency. In addition, according to the work count control system S according to the present embodiment, a trigger sensor is not required, and a gap is formed between the works in the transport direction H as compared with a configuration in which a trigger sensor is required. There is no need to form a downwardly inclined conveying surface or install a suction machine as described above.Because of the processing accuracy of the inclined surface or the small hole for suction and the decrease in valve responsiveness of the suction machine, there is no This is advantageous in that a case where a gap cannot be formed does not occur, and as a result, a problem that the counting accuracy based on the detection processing of the trigger sensor is reduced does not occur. In addition, according to the work count control system S according to the present embodiment, the above-described processing is performed on the work W conveyed in a state where there is a gap between the works W arranged in the conveyance direction H. You can count accurately.

さらに、本実施形態に係るワークカウント制御システムSは、各画像データimgに共通のサーチエリアSA(計測領域)を1か所設定することで正確なワークカウントを行うことでき、ワークカウントを行うために複数の計測領域を設定することが要求される構成と比較して、簡便に制御を行うことができ、ワークカウント処理に要する時間の短縮化を図ることが可能である。   Furthermore, the work count control system S according to the present embodiment can perform accurate work counting by setting one common search area SA (measurement area) for each image data img, and performs work counting. As compared with the configuration in which it is required to set a plurality of measurement areas, the control can be performed more easily, and the time required for the work count processing can be reduced.

本実施形態に係るワークカウント制御システムSでは、サーチエリアSA内でワークWが検出されなかった場合(サーチエリアSA内でワークWの特徴点が検出されなかった場合)に、ワークの搬送方向座標値x_work[t]=0と入力するように設定することで、先頭のワークWや、搬送方向Hに隙間がある状態で搬送されるワークWも確実に検出することができる。   In the work count control system S according to the present embodiment, when the work W is not detected in the search area SA (when the characteristic point of the work W is not detected in the search area SA), the coordinates of the work in the transport direction are set. By setting to input the value x_work [t] = 0, it is possible to reliably detect the first work W and the work W conveyed with a gap in the conveyance direction H.

なお、本発明は上述した実施形態に限定されるものではない。例えば、上述の実施形態では、サーチ部S23として、サーチエリアSAに対して最下流側からワークWの検出を行うものを例示したが、サーチ部S23が、サーチエリアSAに対して最上流側からワークWの検出を行うものであってもよい。   Note that the present invention is not limited to the embodiment described above. For example, in the above-described embodiment, an example in which the search unit S23 detects the work W from the most downstream side with respect to the search area SA has been described. The work W may be detected.

サーチエリアSAに対して最上流側からワークWの検出を行う本変形例(第1変形例)のサーチ部S23によるサーチ結果は、図6に示すように、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標(同図(a)参照)に特徴点の変化(変遷)をプロットしたグラフ(同図(b)参照)として把握することができる。同図(b)に、縦軸をワークWの特徴点である重心W1の搬送方向座標値x_work[t][t=1,2,…tは計測回数]とし、横軸を計測回数tとするグラフを示す。このように、サーチ部S23は、撮影時刻ごとの画像データimg(t)[t=1,2,…]に設定した共通のサーチエリアSAに対して、搬送方向H最上流側からサーチ対象ワークを特定し、そのワークWの特徴点(重心W1)をサーチする。   As shown in FIG. 6, the search result of the search unit S23 of the present modification (first modification) in which the work W is detected from the most upstream side with respect to the search area SA is the upstream end of the four corners of the search area SA. It can be grasped as a graph (see FIG. 2B) in which the change (change) of the characteristic point is plotted on the transport direction coordinates (see FIG. 2A) with the point corresponding to one corner of SA2 as the origin. In FIG. 6B, the vertical axis represents the coordinate value x_work [t] of the center of gravity W1, which is a feature point of the work W, in the transfer direction [t = 1, 2,... FIG. As described above, the search unit S23 searches the common search area SA set in the image data img (t) [t = 1, 2,... Is specified, and the feature point (center of gravity W1) of the work W is searched.

そして、ワークWの特徴点である重心W1の搬送方向座標値をx_work[t][t=1,2,…tは計測回数]とすると、ワークWの重心W1とサーチ対象ワークの関係は以下のようになる。具体的には、同一ワークWを検出している際(サーチ対象ワークが同じである場合)は、上述の条件2を満たす関係、すなわち、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標において、新たに検出した重心W1の搬送方向座標値x_work[t+1]が直近(直前)の検出値である重心W1の搬送方向座標値x_work[t]よりも大きい、という関係になる。   Then, assuming that the coordinate value in the transport direction of the center of gravity W1 which is a feature point of the work W is x_work [t] [t = 1, 2,... T is the number of times of measurement], the relationship between the center of gravity W1 of the work W and the search target work is as follows. become that way. Specifically, when the same work W is detected (when the work to be searched is the same), the relationship that satisfies the condition 2 described above, that is, one of the four corners of the search area SA at the upstream end SA2. In the transfer direction coordinates having the coincident point as the origin, the transfer direction coordinate value x_work [t + 1] of the newly detected center of gravity W1 is the transfer value x_work [t] of the center of gravity W1 which is the closest (immediately before) detected value. Greater than

一方、新しいワークWを検出した際(サーチ対象ワークが変更する場合)は、以下の条件1を満たす関係、すなわち、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標において、新たに検出した重心W1の搬送方向座標値x_work[t+1]が直近(直前)の検出値である重心W1の搬送方向座標値x_work[t]よりも小さい、という関係になる。   On the other hand, when a new work W is detected (when the search target work is changed), a relationship satisfying the following condition 1, that is, a point which coincides with one corner of the upstream end SA2 among the four corners of the search area SA is set as the origin. In the transfer direction coordinates, the relationship that the newly detected transfer direction coordinate value x_work [t + 1] of the center of gravity W1 is smaller than the transfer direction coordinate value x_work [t] of the center of gravity W1 which is the latest (immediately before) detected value. become.

本変形例に係るワークカウント制御システムSは、サーチ部S23によってx_work[t]を毎回計測(サーチ)し、条件2を満たしている状態から条件1を満たす変化があった時点で、ワーク1個の通過であるとしてカウント部S24によりカウントする。すなわち、サーチ部S23によるサーチ結果から得られる特徴点の搬送方向座標値、具体的には、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも小さい値に変化した時点でワーク1個の通過と判定してカウントする。図6(b)に示すグラフを用いて説明すると、カウント部S24は、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも小さい値に変化した時点でワーク1個の通過と判定してカウントすることになり、上述の実施形態に係るワークカウント制御システムSと同様の作用効果を奏し、ワークWを正確にカウントすることができる。   The work count control system S according to the present modification measures (searches) x_work [t] every time by the search unit S23, and when there is a change satisfying the condition 1 from the state satisfying the condition 2, one work Is counted by the counting unit S24. That is, the transport direction coordinate values of the feature points obtained from the search result by the search unit S23, specifically, the features in the transport direction coordinates whose origin is a point that coincides with one corner of the upstream end SA2 among the four corners of the search area SA. When the value of the point changes to a value smaller than the value of the nearest feature point, it is determined that one workpiece has passed and counted. Explaining with reference to the graph shown in FIG. 6B, the count unit S24 determines that the value of the characteristic point in the transport direction coordinates whose origin is a point that coincides with one corner of the upstream end SA2 among the four corners of the search area SA. When the value of the work point changes to a value smaller than the value of the characteristic point, it is determined that one work has passed, and the work is counted. Thus, the same operation and effect as those of the work count control system S according to the above-described embodiment are obtained, and the work W Can be accurately counted.

このように、同じ画像データに基づくワークカウント処理であっても、サーチ対象ワークの特徴点の変化(変遷)を、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標における検出位置として捉えるか、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標における検出位置として捉えるかで、カウントする条件は異なるものの、何れの場合にも正確にワークWをカウントすることができる。   As described above, even in the work counting process based on the same image data, a change (change) of the feature point of the search target work is determined by using, as the origin, a point which coincides with one corner of the downstream end SA1 among the four corners of the search area SA. Although the counting condition differs depending on whether it is captured as a detection position in the transport direction coordinate to be detected or as a detection position in the transport direction coordinate whose origin is a point corresponding to one corner of the upstream end SA2 among the four corners of the search area SA, In any case, the work W can be accurately counted.

また、本発明では、搬送方向Hに沿ったサーチエリアSAの長さLsを、撮像手段S1の撮影時間間隔(トリガ間隔)、ワークWの搬送速度、サーチエリアSA内における同一ワークWに対する撮像手段S1の撮影回数、及び特徴点を特定するための搬送方向Hの長さ、に基づいて任意の値に設定することができる。上述の実施形態では、搬送方向Hに沿ったサーチエリアSAの長さLsを、「ワーク長Lを超えた値であって且つワーク長Lの2倍未満の値」に設定した構成を例示したが、搬送方向Hに沿ったサーチエリアSAの長さLsを「ワーク長Lの2倍を越える値」に設定することもできる。   Further, in the present invention, the length Ls of the search area SA along the transport direction H is determined by the photographing time interval (trigger interval) of the imaging unit S1, the transport speed of the work W, and the imaging unit for the same work W in the search area SA. An arbitrary value can be set based on the number of times of photographing in S1 and the length of the transport direction H for specifying a feature point. In the above-described embodiment, a configuration in which the length Ls of the search area SA along the transport direction H is set to “a value exceeding the work length L and less than twice the work length L” is exemplified. However, the length Ls of the search area SA along the transport direction H can be set to “a value exceeding twice the work length L”.

例えば、搬送方向Hに沿ったサーチエリアSAの長さLsを「ワーク長Lの2倍を越える値であって且つワーク長Lの3倍未満の値」に設定した場合、図7に示すように、搬送方向Hに複数のワークWが並んで移動している状況を撮像手段S1で撮像した画像データimgにおいて、サーチエリアSA内において搬送方向Hに途切れずに全体(全長)が撮像されているワークWの最大数は「2」である。   For example, when the length Ls of the search area SA along the transport direction H is set to “a value exceeding twice the work length L and less than three times the work length L”, as shown in FIG. Next, in the image data img obtained by imaging the state in which the plurality of works W are moving side by side in the transport direction H by the imaging unit S1, the entire (full length) is imaged in the search area SA without being interrupted in the transport direction H. The maximum number of existing works W is “2”.

搬送方向Hに沿ったサーチエリアSAの長さLsを「ワーク長Lの2倍を越える値」に設定した場合であっても、上述の実施形態及び第1変形例に準じた処理手順を経ることにより、ワークを正確にカウントすることができる。すなわち、図7に示すように、サーチエリアSA内に、ワークWの特徴点を2つ以上検出した場合において、サーチ部S23は、それらの特徴点のうち最下流側の特徴点を有するワークW、または最上流側の特徴点を有するワークWの何れか一方をサーチ対象ワークとして特定し、その特定したサーチ対象ワークの特徴点をサーチする。そして、カウント部S24が、サーチ部S23によるサーチ結果から得られる搬送方向座標における特徴点の値(座標値)の変化に基づいてワークWをカウントすることによって、ワークWを正確にカウントすることができる。   Even when the length Ls of the search area SA along the transport direction H is set to “a value exceeding twice the length L of the work”, the processing procedure according to the above-described embodiment and the first modification is performed. Thereby, the work can be accurately counted. That is, as shown in FIG. 7, when two or more feature points of the work W are detected in the search area SA, the search unit S23 selects the work W having the most downstream feature point among the feature points. , Or one of the works W having the most upstream feature point is specified as a search target work, and the feature point of the specified search target work is searched. Then, the counting unit S24 counts the workpieces W based on the change in the value (coordinate value) of the feature point in the transport direction coordinates obtained from the search result by the search unit S23, so that the workpieces W can be accurately counted. it can.

図7に、搬送方向Hに沿ったサーチエリアSAの長さLsを「ワーク長Lの2倍を越える値であって且つワーク長Lの3倍未満の値」に設定した場合において、最下流側の特徴点を有するワークWをサーチ対象ワークとして特定し、その特定したサーチ対象ワークの特徴点の変化を実線で示す。なお、本変形例(第2変形例)においても、ワークW全体がサーチエリアSA内に撮像されることで特定可能なワークWの重心W1を特徴点としている。サーチエリアSAに対して最下流側からワークWの検出を行うサーチ部S23によるサーチ結果は、図8(a)に示すように、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標に特徴点の変化(変遷)をプロットしたグラフとして把握することができる。そして、サーチ部S23によって特徴点の搬送方向座標値x_work[t]を毎回計測(サーチ)し、上述の条件1を満たしている状態から条件2を満たす変化があった時点で、ワーク1個の通過であるとしてカウント部S24によりカウントする。すなわち、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも大きい値に変化した時点でワークW個の通過と判定してカウントする。図8(a)に示すグラフを用いて説明すると、カウント部S24は、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも大きい値に変化した時点でワーク1個の通過と判定してカウントする。   FIG. 7 shows a case where the length Ls of the search area SA along the transport direction H is set to “a value exceeding twice the work length L and less than three times the work length L”. A work W having a feature point on the side is specified as a search target work, and a change in the feature point of the specified search target work is indicated by a solid line. In this modification (second modification) as well, the center of gravity W1 of the work W, which can be specified by imaging the entire work W in the search area SA, is set as a feature point. As shown in FIG. 8A, the search result by the search unit S23 that detects the work W from the most downstream side with respect to the search area SA matches one corner of the downstream end SA1 among the four corners of the search area SA. It can be grasped as a graph in which a change (transition) of a feature point is plotted on the conveyance direction coordinates with the point as the origin. Then, the search unit S23 measures (searches) the coordinate value x_work [t] of the feature point in the transport direction each time, and when there is a change satisfying the condition 2 from the condition satisfying the condition 1, the work 1 It is counted by the counting unit S24 as passing. That is, when the value of the characteristic point in the transport direction coordinates whose origin is a point that coincides with one corner of the downstream end SA1 among the four corners of the search area SA changes to a value larger than the value of the nearest characteristic point, the work W Is determined as passing. Explaining with reference to the graph shown in FIG. 8A, the count unit S24 determines that the value of the characteristic point in the transport direction coordinates whose origin is a point that coincides with one corner of the downstream end SA1 among the four corners of the search area SA is the latest. When the value changes to a value greater than the value of the characteristic point, it is determined that one workpiece has passed and counted.

図7に、搬送方向Hに沿ったサーチエリアSAの長さLsを「ワーク長Lの2倍を越える値であって且つワーク長Lの3倍未満の値」に設定した場合において、最上流側の特徴点を有するワークWをサーチ対象ワークとして特定し、その特定したサーチ対象ワークの特徴点の変化を二点鎖線で示す。なお、本変形例(第3変形例)においても、ワークW全体がサーチエリアSA内に撮像されることで特定可能なワークWの重心W1を特徴点としている。サーチエリアSAに対して最上流側からワークWの検出を行うサーチ部S23によるサーチ結果は、図8(b)に示すように、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標に特徴点の変化(変遷)をプロットしたグラフとして把握することができる。そして、サーチ部S23によって特徴点の搬送方向座標値x_work[t]を毎回計測(サーチ)し、上述の条件2を満たしている状態から条件1を満たす変化があった時点で、ワーク1個の通過であるとしてカウント部S24によりカウントする。すなわち、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも小さい値に変化した時点でワーク1個の通過と判定してカウントする。図8(b)に示すグラフを用いて説明すると、カウント部S24は、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも小さい値に変化した時点でワーク1個の通過と判定してカウントする。   FIG. 7 shows a case where the length Ls of the search area SA along the transport direction H is set to “a value exceeding twice the work length L and less than three times the work length L”. The work W having the feature point on the side is specified as a search target work, and a change in the feature point of the specified search target work is indicated by a two-dot chain line. In this modification (third modification) as well, the center of gravity W1 of the work W that can be specified by capturing the entire work W in the search area SA is a feature point. As shown in FIG. 8B, the search result of the search unit S23 that detects the work W from the most upstream side with respect to the search area SA matches one of the four corners of the search area SA at the upstream end SA2. It can be grasped as a graph in which a change (transition) of a feature point is plotted on the conveyance direction coordinates with the point as the origin. Then, the search unit S23 measures (searches) the coordinate value x_work [t] of the feature point in the transport direction each time, and when there is a change that satisfies the condition 1 from a state in which the above condition 2 is satisfied, one work piece It is counted by the counting unit S24 as passing. That is, when the value of the feature point in the transport direction coordinates whose origin is a point corresponding to one corner of the upstream end SA2 among the four corners of the search area SA changes to a value smaller than the value of the nearest feature point, one work piece Is determined as passing. Explaining with reference to the graph shown in FIG. 8B, the count unit S24 determines that the value of the characteristic point in the transport direction coordinates whose origin is a point that coincides with one corner of the upstream end SA2 among the four corners of the search area SA When the value changes to a value smaller than the value of the feature point, it is determined that one work has passed and counted.

図7及び図8に示すように、搬送方向Hに沿ったサーチエリアSAの長さLsを「ワーク長Lの2倍を越える値」に設定すると、ワークWをカウントするタイミングが、サーチエリアSAに対して最下流側からワーク検出を行う場合(最下流側ワーク検出)と、サーチエリアSAに対して最上流側からワーク検出を行う場合(最上流側ワーク検出)とでずれることがある。これは、サーチエリアSA内に複数存在する特徴点のうち最下流側の特徴点の座標値の変化をサーチするか、最上流側の特徴点の座標値をサーチするかの違い、或いは、特徴点の変化(変遷)を、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標における検出位置として捉えるか、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標における検出位置として捉えるかの違いに起因する「ずれ」であり、最後尾のワークWがサーチエリアSAの最下流端を通過し終えた時点では、ワークカウント数は最下流側ワーク検出及び最上流側ワーク検出の何れであっても同数になり、正確にカウントすることができる。   As shown in FIGS. 7 and 8, when the length Ls of the search area SA along the transport direction H is set to “a value exceeding twice the work length L”, the timing of counting the work W becomes equal to the search area SA. There may be a difference between the case where the work detection is performed from the most downstream side (workpiece detection on the most downstream side) and the case where the work detection is performed from the most upstream side of the search area SA (workpiece detection on the most upstream side). This is due to the difference between searching for a change in the coordinate value of the most downstream feature point of the plurality of feature points in the search area SA or searching for the coordinate value of the most upstream feature point, or The change (transition) of the point may be taken as a detection position in the transport direction coordinates whose origin is a point coinciding with one corner of the downstream end SA1 among the four corners of the search area SA, or may be regarded as the detection position of the upstream end SA2 among the four corners of the search area SA. This is a “displacement” caused by a difference in whether or not the point corresponding to one corner is regarded as a detection position in the transport direction coordinates with the origin as the origin, and at the time when the last work W has finished passing the most downstream end of the search area SA. The number of work counts is the same regardless of the detection of the most downstream work and the detection of the most upstream work, and accurate counting can be performed.

なお、サーチエリアSAに対して最下流側からワーク検出を行う場合(最下流側ワーク検出)に、特徴点の変化(変遷)を、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標における検出位置として捉えることも可能であり、この場合、サーチ部S23によって特徴点の搬送方向座標値x_work[t]を毎回計測(サーチ)し、上述の条件2を満たしている状態から条件1を満たす変化があった時点で、ワーク1個の通過であるとしてカウント部S24によりカウントすればよい。   In the case where the work detection is performed from the most downstream side with respect to the search area SA (most downstream work detection), the change (change) of the feature point coincides with one corner of the upstream end SA2 among the four corners of the search area SA. In this case, the search unit S23 measures (searches) the coordinate value x_work [t] of the characteristic point in the transport direction every time, and the search unit S23 determines the detection condition. When there is a change that satisfies the condition 1 from the state where the condition is satisfied, it may be counted by the counting unit S24 that one workpiece is passed.

同様に、サーチエリアSAに対して最上流側からワーク検出を行う場合(最上流側ワーク検出)に、特徴点の変化(変遷)を、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標における検出位置として捉えることも可能であり、この場合、サーチ部S23によって特徴点の搬送方向座標値x_work[t]を毎回計測(サーチ)し、上述の条件1を満たしている状態から条件2を満たす変化があった時点で、ワーク1個の通過であるとしてカウント部S24によりカウントすればよい。   Similarly, when performing work detection from the most upstream side with respect to the search area SA (most upstream side work detection), the change (transition) of the feature point is transferred to one corner of the downstream end SA1 among the four corners of the search area SA. It is also possible to catch the coincidence point as the detection position in the transport direction coordinates with the origin as the origin. In this case, the search unit S23 measures (searches) the transport direction coordinate value x_work [t] of the characteristic point every time and searches for the above condition. When there is a change that satisfies the condition 2 from the state where the condition 1 is satisfied, the counting unit S24 may count the passing of one work.

また、本発明では、搬送方向Hに沿ったサーチエリアSAの長さLsを「ワーク長L未満の値」に設定することもできる。このような本変形例(第4変形例)では、ワークW全体がサーチエリアSA内に撮像されることで特定可能なワークWの重心W1を特徴点とすることは相応しくなく、例えば、色、形状、特定部位等によって他の部分と識別可能なワークWの一部を特徴点にすることができる。本変形例では、下流端部W2だけが白色で、残りの大部分が黒色であるワークWに対して、その下流端部W2を特徴点としている。そして、カウント部S24が、サーチ部S23によるサーチ結果から得られる搬送方向座標における特徴点W2の値(座標値)の変化に基づいてワークWをカウントすることによって、ワークWを正確にカウントすることができる。   Further, in the present invention, the length Ls of the search area SA along the transport direction H can be set to “a value less than the work length L”. In this modified example (fourth modified example), it is not appropriate to use the center of gravity W1 of the work W that can be specified by imaging the entire work W in the search area SA as a feature point. A part of the work W that can be distinguished from other parts by its shape, specific part, or the like can be used as a feature point. In the present modified example, the downstream end W2 is a feature point for a work W in which only the downstream end W2 is white and the remaining majority is black. The counting section S24 counts the workpieces W based on a change in the value (coordinate value) of the characteristic point W2 in the transport direction coordinates obtained from the search result by the search section S23, thereby accurately counting the workpieces W. Can be.

図9に、搬送方向Hに沿ったサーチエリアSAの長さLsを、「ワーク長L未満の値」に設定した場合において、最下流側の特徴点を有するワークWをサーチ対象ワークとして特定し、その特定したサーチ対象ワークの特徴点(ワークWの下流端部W2)の変化を示す。サーチエリアSAに対して最下流側からワークWの検出を行うサーチ部S23によるサーチ結果は、図10(a)に示すように、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標に特徴点の変化(変遷)をプロットしたグラフとして把握することができる。そして、サーチ部S23によって特徴点の搬送方向座標値x_work[t]を毎回計測(サーチ)し、上述の条件1を満たしている状態から条件2を満たす変化があった時点で、ワーク1個の通過であるとしてカウント部S24によりカウントする。すなわち、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも大きい値に変化した時点でワーク1個の通過と判定してカウントする。図10(a)に示すグラフを用いて説明すると、カウント部S24は、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも大きい値に変化した時点(図10(a)おける計測回数(t+1)・(t+4))でワーク1個の通過と判定してカウントする。なお、サーチエリアSA内に特徴点を検出できない場合(図9における画像データimg(t+3)・img(t+6)のサーチエリアSA内をサーチするタイミング)は、ワークの搬送方向座標値x_work[t]=0と入力するように設定することで、ワークWのカウント処理を適切且つ確実に行うことができる。   In FIG. 9, when the length Ls of the search area SA along the transport direction H is set to “a value less than the work length L”, the work W having the most downstream feature point is specified as the work to be searched. The change of the feature point (downstream end W2 of the work W) of the specified search target work is shown. As shown in FIG. 10A, the search result of the search unit S23 that detects the work W from the most downstream side of the search area SA matches one corner of the downstream end SA1 among the four corners of the search area SA. It can be grasped as a graph in which a change (transition) of a feature point is plotted on the conveyance direction coordinates with the point as the origin. Then, the search unit S23 measures (searches) the coordinate value x_work [t] of the feature point in the transport direction each time, and when there is a change satisfying the condition 2 from the condition satisfying the condition 1, the work 1 It is counted by the counting unit S24 as passing. That is, when the value of the feature point in the transport direction coordinates whose origin is a point corresponding to one corner of the downstream end SA1 among the four corners of the search area SA changes to a value larger than the value of the nearest feature point, one work piece Is determined as passing. Explaining with reference to the graph shown in FIG. 10A, the counting unit S24 determines that the value of the characteristic point in the transport direction coordinates whose origin is a point that coincides with one corner of the downstream end SA1 among the four corners of the search area SA (T + 1). (T + 4) in FIG. 10 (a), it is determined that one workpiece has passed and counted. If no feature point can be detected in the search area SA (the timing of searching the search area SA of the image data img (t + 3) and img (t + 6) in FIG. 9), the coordinate value of the workpiece in the transport direction is used. By setting to input x_work [t] = 0, the work W can be counted appropriately and reliably.

図9に示す特徴点の変化に関して、サーチエリアSAに対して最上流側からワークWの特徴点の検出を行った場合(第5変形例)、サーチ部S23によるサーチ結果は、図10(b)に示すように、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標に特徴点の変化(変遷)をプロットしたグラフとして把握することができる。そして、サーチ部S23によって特徴点の搬送方向座標値x_work[t]を毎回計測(サーチ)し、上述の条件2を満たしている状態から条件1を満たす変化があった時点で、ワーク1個の通過であるとしてカウント部S24によりカウントする。すなわち、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも小さい値に変化した時点でワーク1個の通過と判定してカウントする。図10(b)に示すグラフを用いて説明すると、カウント部S24は、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも小さい値に変化した時点(図10(b)おける計測回数(t+1)・(t+4))でワーク1個の通過と判定してカウントする。なお、本変形例(第5変形例)に係るワークカウント制御システムSでは、サーチエリアSA内でワークWが検出されなかった場合、(図9における画像データimg(t+3)・img(t+6)のサーチエリアSA内をサーチするタイミング)に、ワークの搬送方向座標値が最大値である(x_work[t]=max)と入力するように設定することで、ワークWのカウント処理を適切且つ確実に行うことができる。ここで、ワークの搬送方向座標値の最大値maxは、サーチエリアSA内におけるワークの搬送方向座標値の最大値よりも大きい所定の値である。   With respect to the change of the feature point shown in FIG. 9, when the feature point of the work W is detected from the most upstream side with respect to the search area SA (fifth modification), the search result by the search unit S23 is as shown in FIG. As shown in ()), the change (transition) of the characteristic point can be grasped as a graph in which the coordinates corresponding to one corner of the upstream end SA2 among the four corners of the search area SA are set as the origin in the transport direction coordinates. Then, the search unit S23 measures (searches) the coordinate value x_work [t] of the feature point in the transport direction each time, and when there is a change that satisfies the condition 1 from a state in which the above condition 2 is satisfied, one work piece It is counted by the counting unit S24 as passing. That is, when the value of the feature point in the transport direction coordinates whose origin is a point corresponding to one corner of the upstream end SA2 among the four corners of the search area SA changes to a value smaller than the value of the nearest feature point, one work piece Is determined as passing. Explaining with reference to the graph shown in FIG. 10B, the counting unit S24 determines that the value of the characteristic point in the transport direction coordinates whose origin is a point that coincides with one corner of the upstream end SA2 among the four corners of the search area SA (T + 1). (T + 4) in FIG. 10 (b), it is determined that one workpiece has passed and counted. In the work count control system S according to the present modification (fifth modification), when the work W is not detected in the search area SA, the image data img (t + 3) · img (t in FIG. By setting so that the coordinate value of the workpiece in the transport direction is the maximum value (x_work [t] = max) in (+6) the search area SA search timing), the count processing of the workpiece W is performed. It can be performed appropriately and reliably. Here, the maximum value max of the workpiece transfer direction coordinate value is a predetermined value larger than the maximum value of the workpiece transfer direction coordinate value in the search area SA.

図9及び図10に示すように、ワークWをカウントするタイミングは、サーチエリアSAに対して最下流側からワーク検出を行う場合(最下流側ワーク検出、第4変形例)と、サーチエリアSAに対して最上流側からワーク検出を行う場合(最上流側ワーク検出、第5変形例)とでずれることはなく、一致する。したがって、最後尾のワークWがサーチエリアSAの最下流端を通過し終えた時点において、ワークカウント数は最下流側ワーク検出及び最上流側ワーク検出の何れであっても同数になり、正確にカウントすることができる。   As shown in FIGS. 9 and 10, the work W is counted at the timing when the work is detected from the most downstream side with respect to the search area SA (the most downstream work detection, the fourth modification), and when the search area SA is detected. In the case where the work detection is performed from the most upstream side (the most upstream side work detection, the fifth modified example), there is no difference, and they are the same. Therefore, at the time when the last work W has finished passing through the most downstream end of the search area SA, the work count number is the same regardless of whether the most downstream work detection or the most upstream work detection is performed, and the work count is accurately determined. Can be counted.

なお、搬送方向Hに沿ったサーチエリアSAの長さLsを「ワーク長L未満の値」に設定した本変形例においても、サーチエリアSAに対して最下流側からワーク検出を行う場合(最下流側ワーク検出)に、特徴点の変化(変遷)を、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標における検出位置として捉えることも可能であり、この場合、サーチ部S23によって特徴点の搬送方向座標値x_work[t]を毎回計測(サーチ)し、上述の条件2を満たしている状態から条件1を満たす変化があった時点で、ワーク1個の通過であるとしてカウント部S24によりカウントすればよい。   In this modified example in which the length Ls of the search area SA along the transport direction H is set to “a value smaller than the work length L”, the work detection is performed from the most downstream side with respect to the search area SA (mostly). In the downstream work detection), the change (transition) of the characteristic point can be regarded as a detected position in the transport direction coordinates whose origin is a point corresponding to one corner of the upstream end SA2 among the four corners of the search area SA. In this case, the search unit S23 measures (searches) the coordinate value x_work [t] of the feature point in the transport direction each time, and when there is a change from the state satisfying the above condition 2 to the state satisfying the condition 1, the work 1 It may be counted by the counting unit S24 as the number of passes.

同様に、サーチエリアSAに対して最上流側からワーク検出を行う場合(最上流側ワーク検出)に、特徴点の変化(変遷)を、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標における検出位置として捉えることも可能であり、この場合、サーチ部S23によって特徴点の搬送方向座標値x_work[t]を毎回計測(サーチ)し、上述の条件1を満たしている状態から条件2を満たす変化があった時点で、ワーク1個の通過であるとしてカウント部S24によりカウントすればよい。   Similarly, when performing work detection from the most upstream side with respect to the search area SA (most upstream side work detection), the change (transition) of the feature point is transferred to one corner of the downstream end SA1 among the four corners of the search area SA. It is also possible to catch the coincidence point as the detection position in the transport direction coordinates with the origin as the origin. In this case, the search unit S23 measures (searches) the transport direction coordinate value x_work [t] of the characteristic point every time and searches for the above condition. When there is a change that satisfies the condition 2 from the state where the condition 1 is satisfied, the counting unit S24 may count the passing of one work.

上述の各実施例は、ワークW(より具体的にはワークWの特徴点)がサーチエリアSAに入ったことを検出した計測時に、ワーク1個の通過であるとしてカウント部S24によりカウントする構成である。このことは、図9を参照すると、カウント部S24によりカウントした計測時(t+1)・(t+4)が、それぞれ「ワーク2」、「ワーク3」の各特徴点W2がサーチエリアSAに入ったことを検出した計測タイミングであることからも把握できる。   In each of the above-described embodiments, at the time of measurement when it is detected that the work W (more specifically, the characteristic point of the work W) has entered the search area SA, the counting unit S24 counts that one work has passed. It is. This means that referring to FIG. 9, at the time of measurement (t + 1) and (t + 4) counted by the counting unit S24, each feature point W2 of "work 2" and "work 3" is the search area SA. It can also be grasped from the measurement timing at which the entry has been detected.

一方で、ワークW(より具体的にはワークWの特徴点)がサーチエリアSAから抜けた(外れた)ことを検出した計測時に、ワーク1個の通過であるとしてカウント部S24によりカウントする構成にすることもできる。具体的な一例として、図9に示す特徴点の変化に関して、サーチエリアSAに対して最下流側からワークWの特徴点の検出を行い、サーチエリアSA内に特徴点を検出できない場合(図9における画像データimg(t+3)・img(t+6)のサーチエリアSA内をサーチするタイミング)に、ワークの搬送方向座標値x_work[t]=maxと入力するように設定した構成(第6変形例)であれば、サーチエリアSAに対して最下流側からワークWの検出を行うサーチ部S23によるサーチ結果は、図11(a)に示すように、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標に特徴点の変化(変遷)をプロットしたグラフとして把握することができる。   On the other hand, at the time of measuring that the work W (more specifically, the characteristic point of the work W) has fallen out of the search area SA (moved off), the counting unit S24 counts that one work has passed. You can also As a specific example, regarding the change of the feature point shown in FIG. 9, the feature point of the work W is detected from the most downstream side with respect to the search area SA, and the feature point cannot be detected in the search area SA (FIG. (The timing for searching in the search area SA of the image data img (t + 3) and img (t + 6) in (2)) is set so that the coordinate value x_work [t] = max in the transport direction of the work is input. 6), the search result by the search unit S23 that detects the work W from the most downstream side with respect to the search area SA is, as shown in FIG. It can be grasped as a graph in which the change (change) of the characteristic point is plotted on the conveyance direction coordinates with the point corresponding to one corner of the end SA1 as the origin.

そして、サーチ部S23によって特徴点の搬送方向座標値x_work[t]を毎回計測(サーチ)し、上述の条件1を満たしている状態から条件2を満たす変化があった時点で、ワーク1個の通過であるとしてカウント部S24によりカウントする。すなわち、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも大きい値に変化した時点でワーク1個の通過と判定してカウントする。図11(a)に示すグラフを用いて説明すると、カウント部S24は、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも大きい値に変化した時点(図11(a)おける計測回数(t+1)・(t+3)・(t+6))でワーク1個の通過と判定してカウントする。図9を参照すると、これら計測回数(t+1)・(t+3)・(t+6)は、それぞれ「ワーク1」、「ワーク2」、「ワーク3」の各特徴点(図示例では各ワークWの下流端部W2)がサーチエリアSAから抜けたことを検出した計測タイミングであることが把握できる。   Then, the search unit S23 measures (searches) the coordinate value x_work [t] of the feature point in the transport direction each time, and when there is a change satisfying the condition 2 from the condition satisfying the condition 1, the work 1 It is counted by the counting unit S24 as passing. That is, when the value of the feature point in the transport direction coordinates whose origin is a point corresponding to one corner of the downstream end SA1 among the four corners of the search area SA changes to a value larger than the value of the nearest feature point, one work piece Is determined as passing. Describing with reference to the graph shown in FIG. 11A, the counting unit S24 determines that the value of the characteristic point in the transport direction coordinates whose origin is a point that coincides with one corner of the downstream end SA1 among the four corners of the search area SA is the nearest. It is determined that one work has passed at the point in time when the value has changed to a value larger than the value of the feature point ((t + 1), (t + 3), (t + 6) in FIG. 11A). Count. Referring to FIG. 9, these measurement times (t + 1), (t + 3), and (t + 6) are the characteristic points of “work 1”, “work 2”, and “work 3”, respectively (in the illustrated example). It can be understood that it is the measurement timing when it is detected that the downstream end portion W2) of each work W has fallen out of the search area SA.

同様に、図9に示す特徴点の変化に関して、サーチエリアSAに対して最上流側からワークWの特徴点の検出を行い、サーチエリアSA内に特徴点を検出できない場合(図9における画像データimg(t+3)・img(t+6)のサーチエリアSA内をサーチするタイミング)は、ワークの搬送方向座標値x_work[t]=0と入力するように設定した構成(第7変形例)であれば、サーチエリアSAに対して最上流側からワークWの検出を行うサーチ部S23によるサーチ結果は、図11(b)に示すように、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標に特徴点の変化(変遷)をプロットしたグラフとして把握することができる。   Similarly, regarding the change of the feature point shown in FIG. 9, the feature point of the work W is detected from the most upstream side with respect to the search area SA, and the feature point cannot be detected in the search area SA (the image data in FIG. 9). img (t + 3) / img (t + 6) search timing in the search area SA) is set so that the coordinate value x_work [t] = 0 in the transport direction of the work is input (seventh modified example) ), The search result by the search unit S23 that detects the work W from the most upstream side with respect to the search area SA is, as shown in FIG. 11B, the search result of the upstream end SA2 among the four corners of the search area SA. It can be grasped as a graph in which a change (transition) of a characteristic point is plotted in the conveyance direction coordinates with the point corresponding to one corner as the origin.

そして、サーチ部S23によって特徴点の搬送方向座標値x_work[t]を毎回計測(サーチ)し、上述の条件2を満たしている状態から条件1を満たす変化があった時点で、ワーク1個の通過であるとしてカウント部S24によりカウントする。すなわち、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも小さい値に変化した時点でワーク1個の通過と判定してカウントする。図11(b)に示すグラフを用いて説明すると、カウント部S24は、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とする搬送方向座標における特徴点の値が直近の特徴点の値よりも小さい値に変化した時点(図11(b)おける計測回数(t+1)・(t+3)・(t+6))でワーク1個の通過と判定してカウントする。図9を参照すると、これら計測回数(t+1)・(t+3)・(t+6)は、それぞれ「ワーク1」、「ワーク2」、「ワーク3」の各特徴点がサーチエリアSAから外れたことを検出した計測タイミングであることが把握できる。   Then, the search unit S23 measures (searches) the coordinate value x_work [t] of the feature point in the transport direction each time, and when there is a change that satisfies the condition 1 from a state in which the above condition 2 is satisfied, one work piece It is counted by the counting unit S24 as passing. That is, when the value of the feature point in the transport direction coordinates whose origin is a point corresponding to one corner of the upstream end SA2 among the four corners of the search area SA changes to a value smaller than the value of the nearest feature point, one work piece Is determined as passing. Describing with reference to the graph shown in FIG. 11B, the counting unit S24 determines that the value of the characteristic point in the transport direction coordinates whose origin is a point that coincides with one corner of the upstream end SA2 among the four corners of the search area SA It is determined that one work has passed at the point in time when the value has changed to a value smaller than the value of the feature point ((t + 1), (t + 3), (t + 6) in FIG. 11B). Count. Referring to FIG. 9, the number of times of measurement (t + 1), (t + 3), and (t + 6) indicates that each feature point of “work 1”, “work 2”, and “work 3” is a search area. It can be grasped that the measurement timing is the time when the deviation from SA has been detected.

このように、「ワークをカウントするタイミング」が、「ワークの特徴点がサーチエリアに入ったことを検出したタイミング」になるか、「ワークの特徴点がサーチエリアから抜けたことを検出したタイミング」になるかは、図12に示すように、サーチエリアSAに対するワーク検出方向に関する条件(具体的には、ワーク検出をサーチエリアSAに対して最上流側から行うか、最下流側から行うかという条件)と、搬送方向座標の原点の位置(取り方)に関する条件(具体的には、サーチエリアSAの四隅のうち上流端SA2の1コーナーに一致する点を原点とするか、サーチエリアSAの四隅のうち下流端SA1の1コーナーに一致する点を原点とするかという条件)と、ワークのカウント条件(具体的には、検出した特徴点が直近の検出特徴点より小さい値に変化したときにカウントするか、検出した特徴点が直近の検出特徴点より大きい値に変化したときにカウントするかという条件)と、サーチエリア内に特徴点を検出できない時(特徴点未検出時)のワークの搬送方向座標値に関する条件(具体的には、特徴点未検出時のワークの搬送方向座標値をx_work[t]=0に設定するか、x_work[t]=maxに設定するか)、これらの条件によって決まる。   As described above, the “timing for counting the work” is the “timing for detecting that the feature point of the work has entered the search area” or the “timing for detecting that the feature point of the work has left the search area”. ", As shown in FIG. 12, the condition regarding the work detection direction with respect to the search area SA (specifically, whether the work detection is performed from the most upstream side or the most downstream side with respect to the search area SA). ), And a condition relating to the position (how to take) of the origin of the coordinates in the transport direction (specifically, a point that coincides with one corner of the upstream end SA2 among the four corners of the search area SA is set as the origin, or the search area SA Among the four corners, a condition that the point coincident with one corner of the downstream end SA1 is set as the origin), and the work counting condition (specifically, the detected feature point is (E.g., counting when the feature point changes to a value smaller than the outgoing feature point, or counting when the detected feature point changes to a value larger than the most recently detected feature point), and the feature point cannot be detected in the search area. Condition (when the feature point is not detected) regarding the work transfer direction coordinate value (specifically, the work transfer direction coordinate value when the feature point is not detected is set to x_work [t] = 0 or x_work [t] ] = Max) or these conditions.

以上のように、本発明に係るワークカウント制御システムSは、搬送方向Hに沿ったサーチエリアSAの長さLsを、撮像手段S1の撮影時間間隔tr、ワークWの搬送速度v_work、サーチエリアSA内における同一ワークWに対する撮像手段S1の撮影回数n、及び特徴点を特定するための搬送方向Hの長さ、に基づいて設定し、上述の処理手順を経ることでワークカウント処理を実行できる。具体的には、撮影時刻ごとの画像データimg(t)[t=1,2,…]のサーチエリアSA内に、サーチ対象となるワークW(同一ワークW)が、必ずn(nは2以上の整数)回以上撮像され、且つ常にサーチエリアSAの最下流側または最上流側に撮像されるように、撮像手段S1の撮影時間間隔(トリガ間隔)trと、ワークWの搬送速度v_workと、サーチエリアSAの搬送方向Hの長さLsを以下の式(1)、式(2´)、式(3)を満たす長さに設定することで、ワークカウント処理を正確に行うことができる。
L/n≧tr*v_work・・・式(1)
Ls≧L´+n*tr*v_work・・・式(2´)
n≧2・・・式(3)
ここで、「L」は搬送方向Hに沿ったワーク1個分の長さ(ワーク長)であり、「n」はワークW1個に対する撮像手段S1の撮影回数であり、「L´」は「特徴点を特定するための搬送方向Hの長さ」である。そして、「特徴点を特定するための搬送方向の長さ」は、特徴点をワークWの重心W1にする場合にはワークWの全長L以上の長さであり、特徴点をワークWの「端」(下流端、上流端の何れか一方)にする場合には「0」とすることができる。したがって、「特徴点を特定するための搬送方向の長さ」は、「特徴点を特定するために必要な0以上の搬送方向の長さ」と定義することもできる。なお、ワークWの形状等に起因して特定可能なワークWの1箇所を特徴点に設定したり、ワークWに付したマークを特徴点に設定することも可能であり、特徴点をワークWのどの位置に設定するかは適宜選択・変更でき、それに応じて、「特徴点を特定するための搬送方向Hの長さ」の値を適宜の値に設定すればよい。
As described above, the work count control system S according to the present invention determines the length Ls of the search area SA along the transport direction H by the photographing time interval tr of the imaging unit S1, the transport speed v_work of the workpiece W, and the search area SA. The work count process can be executed by setting the number of times n of the image capturing means S1 for the same work W in the camera and the length in the transport direction H for specifying the feature point, and going through the above-described processing procedure. Specifically, in the search area SA of the image data img (t) [t = 1, 2,...] For each shooting time, the work W to be searched (the same work W) is always n (n is 2). The photographing time interval (trigger interval) tr of the imaging means S1 and the transport speed v_work of the work W are set so that the image is taken at least (the above integer) times and always at the most downstream side or the most upstream side of the search area SA. By setting the length Ls of the search area SA in the transport direction H to a length that satisfies the following expressions (1), (2 ′), and (3), the work count process can be accurately performed. .
L / n ≧ tr * v_work Equation (1)
Ls ≧ L ′ + n * tr * v_work (2 ′)
n ≧ 2 Expression (3)
Here, “L” is the length (work length) of one work along the transport direction H, “n” is the number of times the imaging unit S1 has photographed one work W, and “L ′” is “ Length in the transport direction H for specifying a feature point ". The “length in the transport direction for specifying a feature point” is equal to or longer than the total length L of the work W when the feature point is set to the center of gravity W1 of the work W. In the case of “end” (either downstream end or upstream end), “0” can be set. Therefore, “the length in the transport direction for specifying the feature point” can be defined as “the length in the transport direction of 0 or more necessary for specifying the feature point”. Note that it is also possible to set one location of the work W that can be specified due to the shape or the like of the work W as a feature point, or set a mark attached to the work W as a feature point. The position to be set can be selected / changed as appropriate, and the value of “the length in the transport direction H for specifying the characteristic point” may be set to an appropriate value accordingly.

本発明のワークカウント制御システムでは、搬送方向Hに沿ったサーチエリアSAの長さLsが短いほど、画像処理の高速化、ひいてはワークカウント処理の高速化が可能になる。   In the work count control system of the present invention, the shorter the length Ls of the search area SA along the transport direction H, the higher the speed of image processing and, consequently, the higher the speed of work count processing.

さらに、本発明のワークカウント制御システムでは、ワークカウント処理のために撮像手段S1で撮影した画像データに基づいて正常の搬送姿勢ではない姿勢のワーク(異姿勢ワーク)を画像処理によって特定し、異姿勢ワークであると判定した場合に、当該異姿勢ワークを、サーチエリアSAよりも下流側に設けたエア孔SB(図2等参照)から吹き付けるエア等の気体によって搬送路外へ排除したり、ボウルフィーダYの貯留部Y3へ戻すように構成することもできる。   Further, in the work count control system according to the present invention, a work having a posture other than a normal conveyance posture (a different posture work) is identified by image processing based on image data taken by the image pickup means S1 for the work count process, and the difference is determined. When it is determined that the workpiece is a posture work, the work having the different posture is removed to the outside of the conveyance path by a gas such as air blown from an air hole SB (see FIG. 2 and the like) provided downstream of the search area SA. It may be configured to return to the storage part Y3 of the bowl feeder Y.

本発明のワークカウント制御システムは、ボウル搬送路を有するボウルフィーダにも適用可能である。この場合、ボウル搬送路上を移動するワークに対してワークカウント制御システムによるカウント処理を実行することもできる。なお、リニアフィーダやボウルフィーダ以外のパーツフィーダにも本発明のワークカウント制御システムを適用することが可能である。   The work count control system of the present invention is also applicable to a bowl feeder having a bowl transport path. In this case, it is also possible to execute a counting process by the work count control system on the work moving on the bowl conveyance path. The work count control system of the present invention can be applied to a part feeder other than the linear feeder and the bowl feeder.

また、本発明の撮像手段は、カメラに限定されず、ファイバセンサ等を撮像手段として用いることができる。   Further, the imaging unit of the present invention is not limited to a camera, and a fiber sensor or the like can be used as the imaging unit.

また、本発明の供給装置(パーツフィーダ)で搬送可能な搬送対象物であるワークは電子部品に限定されず、種々の重量やサイズのものであってもよい。また、本発明のワークカウント制御システムは、搬送路上のワークを移動させながら所定の供給先まで搬送可能な供給装置全般に適用可能なものであり、ワークを振動によって移動させる構成の供給装置に限らず、ワークを振動以外の手段(例えばエアによって浮上させる手段等)によって移動させる構成の供給装置にも適用することができる。   In addition, the work to be transferred by the supply device (parts feeder) of the present invention is not limited to an electronic component, but may be of various weights and sizes. Further, the work count control system of the present invention can be applied to all supply devices that can transfer a work to a predetermined destination while moving the work on the transfer path, and is not limited to a supply device configured to move the work by vibration. Instead, the present invention can be applied to a supply device configured to move a workpiece by means other than vibration (for example, means for floating by air).

その他、各部の具体的構成についても上記実施形態に限られるものではなく、本発明の趣旨を逸脱しない範囲で種々変形が可能である。   In addition, the specific configuration of each unit is not limited to the above embodiment, and various modifications can be made without departing from the spirit of the present invention.

S…ワークカウント制御システム
S1…撮像手段
S2…画像処理装置
S21…画像保存部
S22…サーチエリア設定部
S23…サーチ部
S24…カウント部
SA…サーチエリア
Z…パーツフィーダ(リニアフィーダ)
W…ワーク
S: Work count control system S1: Imaging means S2: Image processing device S21: Image storage unit S22: Search area setting unit S23: Search unit S24: Count unit SA: Search area Z: Parts feeder (linear feeder)
W… Work

Claims (7)

搬送路上のワークを移動させながら所定の供給先まで搬送可能な供給装置に適用可能なワークカウント制御システムであり、
搬送路上において1列で移動するワークを所定の撮影時間間隔で連続撮影する撮像手段と、
前記撮像手段によって撮影した画像データを保存する画像保存部を有する画像処理装置とを備え、
前記画像処理装置が、
前記画像保存部に保存された前記画像データを用いて、ワークの搬送速度及び前記撮影時間間隔の関係からワークが含まれるようにサーチエリアを設定可能なサーチエリア設定部と、
前記サーチエリアにおいて搬送方向に沿った軸を有する搬送方向座標における検出位置が前記画像データごとに変化するワークの特徴点をサーチするサーチ部と、
前記サーチ部によるサーチ結果から得られる前記搬送方向座標における前記特徴点の座標値の変化に基づいてワーク1個の通過であるとカウントするカウント部とを備え、
搬送方向に沿った前記サーチエリアの長さを、前記撮像手段の撮影時間間隔、ワークの搬送速度、前記サーチエリア内における同一ワークに対する前記撮像手段の撮影回数、及び前記特徴点を特定するための搬送方向の長さ、に基づいて設定していることを特徴とするワークカウント制御システム。
A work count control system applicable to a supply device that can transfer a work to a predetermined destination while moving a work on a transfer path,
Imaging means for continuously photographing a workpiece moving in a row on a transport path at predetermined photographing time intervals;
An image processing device having an image storage unit that stores image data captured by the imaging unit,
The image processing device,
Using the image data stored in the image storage unit, a search area setting unit that can set a search area to include a work from the relationship between the work transfer speed and the shooting time interval,
A search unit that searches for a feature point of a work in which a detection position in a conveyance direction coordinate having an axis along a conveyance direction in the search area changes for each of the image data;
A counting unit that counts the passage of one workpiece based on a change in the coordinate value of the feature point in the transport direction coordinates obtained from a search result by the search unit,
The length of the search area along the transport direction, the imaging time interval of the imaging unit, the transport speed of the work, the number of times the imaging unit captures the same work in the search area, and the feature point for specifying A work count control system, wherein the setting is made based on a length in a conveying direction.
搬送方向に沿った前記サーチエリアの長さを、
前記サーチエリア内における同一ワークに対する前記撮像手段の撮影回数を搬送方向に沿ったワークの長さで除算した値が、前記撮像手段の撮影時間間隔とワーク搬送速度の乗算値以上であるという第1条件と、
搬送方向に沿った前記サーチエリアの長さが、前記撮像手段の撮影時間間隔、ワーク搬送速度及び前記サーチエリア内における同一ワークに対する前記撮像手段の撮影回数の乗算値に、前記特徴点を特定するための搬送方向の長さを加算した値以上であるという第2条件とを満たす長さに設定している請求項1に記載のワークカウント制御システム。
The length of the search area along the transport direction,
A first value that a value obtained by dividing the number of times of photographing by the imaging unit for the same work in the search area by the length of the work along the conveyance direction is equal to or more than a product of the photographing time interval of the imaging unit and the work conveyance speed. Conditions,
The length of the search area along the transport direction specifies the characteristic point in a multiplication value of the image capturing time interval of the image capturing unit, the workpiece transport speed, and the number of times the image capturing unit captures the same work in the search area. The work count control system according to claim 1, wherein the length is set to satisfy a second condition that the length is not less than a value obtained by adding a length in the transport direction for the work count.
前記カウント部が、前記サーチ部によって新たに検出した前記搬送方向座標における前記特徴点の座標値と前回検出時の前記特徴点の座標値とを比較して所定条件を満たす変化があった時点でワーク1個の通過であるとカウントするものである請求項1又は2に記載のワークカウント制御システム。 At the time when the counting unit compares the coordinate value of the feature point in the transport direction coordinates newly detected by the search unit with the coordinate value of the feature point at the time of previous detection, and there is a change satisfying a predetermined condition. The work count control system according to claim 1 or 2, wherein the system counts the passage of one work. 前記特徴点を特定するための搬送方向の長さが、搬送方向に沿ったワークの長さ以上であり、
前記サーチ部が、前記サーチエリア内における最下流側の前記特徴点または前記サーチエリア内における最上流側の前記特徴点をサーチするものである請求項1乃至3の何れかに記載のワークカウント制御システム。
The length in the transport direction for specifying the feature point is equal to or longer than the length of the work along the transport direction,
4. The work count control according to claim 1, wherein the search unit is configured to search for the most downstream feature point in the search area or the most upstream feature point in the search area. 5. system.
前記特徴点を特定するための搬送方向の長さが、搬送方向に沿ったワークの長さ未満であり、
前記サーチ部が、前記サーチエリア内における前記特徴点及び前記特徴点の有無をサーチするものである請求項1乃至3の何れかに記載のワークカウント制御システム。
The length in the transport direction to specify the feature point is less than the length of the work along the transport direction,
4. The work count control system according to claim 1, wherein the search unit searches for the feature point and the presence / absence of the feature point in the search area. 5.
前記特徴点がワークの重心である請求項1乃至5の何れかに記載のワークカウント制御システム。 The work count control system according to claim 1, wherein the feature point is a center of gravity of the work. 請求項1乃至6の何れかに記載のワークカウント制御システムを用いてワークカウント処理を行うように構成されたことを特徴とするパーツフィーダ。 A parts feeder configured to perform a work count process using the work count control system according to any one of claims 1 to 6.
JP2018161246A 2018-08-30 2018-08-30 Work count control system, parts feeder Active JP7303412B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2018161246A JP7303412B2 (en) 2018-08-30 2018-08-30 Work count control system, parts feeder
KR1020190037686A KR20200026005A (en) 2018-08-30 2019-04-01 Work count control system, parts feeder
TW108112232A TWI793299B (en) 2018-08-30 2019-04-09 Workpiece counting control system, parts feeder
CN201910407240.6A CN110872005B (en) 2018-08-30 2019-05-16 Workpiece counting control system and part feeder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018161246A JP7303412B2 (en) 2018-08-30 2018-08-30 Work count control system, parts feeder

Publications (2)

Publication Number Publication Date
JP2020033151A true JP2020033151A (en) 2020-03-05
JP7303412B2 JP7303412B2 (en) 2023-07-05

Family

ID=69666933

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018161246A Active JP7303412B2 (en) 2018-08-30 2018-08-30 Work count control system, parts feeder

Country Status (4)

Country Link
JP (1) JP7303412B2 (en)
KR (1) KR20200026005A (en)
CN (1) CN110872005B (en)
TW (1) TWI793299B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022014615A (en) * 2020-07-07 2022-01-20 株式会社ダイシン Conveyance system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956656A (en) * 2016-04-27 2016-09-21 梧州市自动化技术研究开发院 Equipment for counting moving objects
JP2017121995A (en) * 2016-01-08 2017-07-13 株式会社ダイシン Conveyance object discrimination control system and conveyance device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3679843B2 (en) * 1995-10-31 2005-08-03 大和製衡株式会社 Article counting device by image processing
JP4243471B2 (en) 2002-11-01 2009-03-25 株式会社石川製作所 Small object appearance inspection device
JP2007241960A (en) * 2006-03-13 2007-09-20 Fuji Electric Device Technology Co Ltd Mobile object counter
ES2396500T3 (en) * 2010-11-18 2013-02-22 Axis Ab Object counter and method for counting objects
JP2012187651A (en) * 2011-03-09 2012-10-04 Omron Corp Image processing apparatus, image processing system, and guidance apparatus therefor
TWI448977B (en) * 2011-12-08 2014-08-11 Ind Tech Res Inst Method and apparatus for video analytics based object counting
CN103324977B (en) * 2012-03-21 2016-03-30 日电(中国)有限公司 A kind of destination number detection method and equipment
JP5193389B1 (en) * 2012-10-31 2013-05-08 太陽誘電株式会社 Counting device and counting method
TW201518711A (en) * 2013-11-07 2015-05-16 Ind Tech Res Inst Image positioning method and apparatus
JP6624629B2 (en) * 2014-10-10 2019-12-25 Necソリューションイノベータ株式会社 Fish counting device, fish counting method, fish number prediction device, fish number prediction method, fish counting system and fish number prediction system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017121995A (en) * 2016-01-08 2017-07-13 株式会社ダイシン Conveyance object discrimination control system and conveyance device
CN105956656A (en) * 2016-04-27 2016-09-21 梧州市自动化技术研究开发院 Equipment for counting moving objects

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022014615A (en) * 2020-07-07 2022-01-20 株式会社ダイシン Conveyance system
JP7347807B2 (en) 2020-07-07 2023-09-20 株式会社ダイシン Conveyance system

Also Published As

Publication number Publication date
CN110872005A (en) 2020-03-10
TW202009798A (en) 2020-03-01
KR20200026005A (en) 2020-03-10
JP7303412B2 (en) 2023-07-05
TWI793299B (en) 2023-02-21
CN110872005B (en) 2022-08-09

Similar Documents

Publication Publication Date Title
US7654380B2 (en) Handling system, work system, and program
US9346630B2 (en) Robot system, robot apparatus, and method for picking workpiece
CN108372503B (en) Article transport device using at least one sensor
CN109108959B (en) Robot system
US10507990B2 (en) Article transport system and transport system controller
US20180022557A1 (en) Palletizing system for loading articles on pallet
JP5488806B2 (en) Tray transfer apparatus and method
US10093025B2 (en) Part conveyor system and attitude adjusting jig
CN107220701B (en) Accurate counting detection method for belt conveying bagged objects
CN109076728B (en) Substrate working machine
CN109789545A (en) For controlling the method and system of the speed of transport path
JP2020033151A (en) Workpiece count control system and part feeder
JP7283881B2 (en) work system
JP2019018339A (en) Robot system
JP2018193201A (en) Supply control apparatus and supply control method
JP6428367B2 (en) Transfer equipment
JP2012099668A (en) Substrate conveyer control device
JP5828751B2 (en) Combination scale
WO2021065880A1 (en) Robot control system, robot control method, and program
KR200476625Y1 (en) Object transporting device
CN112577422A (en) Detection system for detecting workpiece
JP6309305B2 (en) Sorting device
JP5452979B2 (en) Parts supply device
JP6003845B2 (en) Transport device
JP7334651B2 (en) feeder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210608

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220726

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220928

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230110

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230202

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230605

R150 Certificate of patent or registration of utility model

Ref document number: 7303412

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150