JP6314017B2 - Product picking apparatus and program - Google Patents

Product picking apparatus and program Download PDF

Info

Publication number
JP6314017B2
JP6314017B2 JP2014073083A JP2014073083A JP6314017B2 JP 6314017 B2 JP6314017 B2 JP 6314017B2 JP 2014073083 A JP2014073083 A JP 2014073083A JP 2014073083 A JP2014073083 A JP 2014073083A JP 6314017 B2 JP6314017 B2 JP 6314017B2
Authority
JP
Japan
Prior art keywords
axis direction
product
container
distance
picking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014073083A
Other languages
Japanese (ja)
Other versions
JP2015193468A (en
Inventor
隆也 角森
隆也 角森
信二 滋野
信二 滋野
健一 白竹
健一 白竹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Seibu Electric and Machinery Co Ltd
Fujitsu Advanced Engineering Ltd
Original Assignee
Fujitsu Ltd
Seibu Electric and Machinery Co Ltd
Fujitsu Advanced Engineering 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 Fujitsu Ltd, Seibu Electric and Machinery Co Ltd, Fujitsu Advanced Engineering Ltd filed Critical Fujitsu Ltd
Priority to JP2014073083A priority Critical patent/JP6314017B2/en
Publication of JP2015193468A publication Critical patent/JP2015193468A/en
Application granted granted Critical
Publication of JP6314017B2 publication Critical patent/JP6314017B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manipulator (AREA)

Description

本発明は、商品ピッキング装置及びプログラムに関する。   The present invention relates to a commodity picking apparatus and a program.

乱雑に重なり合って置かれたバラ積み部品(ワーク)に関する距離データと画像データをそれぞれ取得し、複数のワークの3次元位置及び姿勢を認識するバラ積みピッキング装置が知られている(例えば、特許文献1参照)。   2. Description of the Related Art There is known a bulk picking device that acquires distance data and image data related to loosely stacked parts (workpieces) that are randomly stacked and recognizes the three-dimensional positions and orientations of a plurality of works (for example, Patent Documents). 1).

特開2010-120141号公報JP 2010-120141 A

ところで、複数の商品が配置された容器内から商品をロボットによりピッキングする場合、容器内の複数の商品の配置態様を正確に検出することが有用である。これは、例えば、同じ配置パターンで容器内に同一商品が配置される場合であっても、容器内の複数の商品が一方側に寄っている場合や、商品同士が接触しあっている場合等があり、容器毎に複数の商品の正確な配置位置が異なりうるためである。   By the way, when a product is picked by a robot from a container in which a plurality of products are arranged, it is useful to accurately detect an arrangement mode of the plurality of products in the container. For example, even when the same product is arranged in the container with the same arrangement pattern, when a plurality of products in the container are close to one side, or when the products are in contact with each other, etc. This is because the exact arrangement position of a plurality of products may differ for each container.

そこで、1つの側面では、本発明は、容器内の複数の商品の配置態様を精度良く検出することが可能な商品ピッキング装置及びプログラムの提供を目的とする。   Therefore, in one aspect, an object of the present invention is to provide a product picking apparatus and a program that can accurately detect an arrangement mode of a plurality of products in a container.

本開示の一局面によれば、容器内の底面をXY平面としたとき、ロボットによるピッキング予定の商品が複数配置された容器内のZ軸方向の距離情報を、X軸方向の複数位置及びY軸方向の複数位置で取得するセンサと、
前記X軸方向の複数位置及び前記Y軸方向の複数位置での前記距離情報から得られるX軸方向及びY軸方向のそれぞれに沿った距離変化パターンに基づいて、前記容器内のX軸方向及びY軸方向のそれぞれの方向における前記商品の配置数を算出する処理装置と含む、商品ピッキング装置が提供される。
According to one aspect of the present disclosure, when the bottom surface in the container is an XY plane, distance information in the Z-axis direction in the container in which a plurality of products to be picked by the robot are arranged, the plurality of positions in the X-axis direction and the Y-axis Sensors acquired at multiple positions in the axial direction;
Based on the distance change pattern along each of the X-axis direction and the Y-axis direction obtained from the distance information at the plurality of positions in the X-axis direction and the plurality of positions in the Y-axis direction, There is provided a product picking device including a processing device that calculates the number of products arranged in each of the Y-axis directions.

容器内の複数の商品の配置態様を精度良く検出することが可能な商品ピッキング装置及びプログラムが得られる。   A product picking apparatus and program capable of accurately detecting an arrangement mode of a plurality of products in a container are obtained.

商品ピッキング装置の適用されるピッキング設備の一例を概略的に示す図。The figure which shows roughly an example of the picking installation with which a goods picking apparatus is applied. 商品ピッキング装置の適用されるピッキング設備の他の一例を概略的に示す図。The figure which shows schematically another example of the picking installation with which a goods picking apparatus is applied. 商品ピッキング装置の構成の一例を示す図。The figure which shows an example of a structure of a goods picking apparatus. 距離センサと商品容器内の商品と関係の一例を概略的に示す図。The figure which shows an example of a relationship between a distance sensor and the goods in a goods container roughly. 処理装置のハードウェア構成の一例を示す図。The figure which shows an example of the hardware constitutions of a processing apparatus. 処理装置により実行される初期処理の一例を示すフローチャート。The flowchart which shows an example of the initial process performed by a processing apparatus. 距離変化パターンの例を示す図。The figure which shows the example of a distance change pattern. 距離変化パターンの他の例を示す図。The figure which shows the other example of a distance change pattern. 距離変化パターンの他の例を示す図。The figure which shows the other example of a distance change pattern. 距離変化パターンの他の例を示す図。The figure which shows the other example of a distance change pattern. 距離変化パターンの他の例を示す図。The figure which shows the other example of a distance change pattern. 横方向のヒストグラム及び縦方向のヒストグラムの説明図。Explanatory drawing of the histogram of a horizontal direction, and the histogram of a vertical direction. 図6のステップ604の処理(山数算出処理)の一例を示すフローチャート。7 is a flowchart illustrating an example of a process (mount number calculation process) in step 604 in FIG. 6. 山数算出処理の説明図。Explanatory drawing of a mountain number calculation process. 山数算出処理の説明図。Explanatory drawing of a mountain number calculation process. 図6のステップ606の処理(配置パターン特定処理)の一例を示すフローチャート。7 is a flowchart illustrating an example of processing (arrangement pattern specifying processing) in step 606 in FIG. 6. 図6のステップ604の処理(山数算出処理)の他の一例を示すフローチャート。7 is a flowchart showing another example of the process of step 604 in FIG. 6 (mountain number calculation process). 区切りポイントの平均高さの算出方法の説明図。Explanatory drawing of the calculation method of the average height of a division | segmentation point. 図6のステップ606の処理(配置パターン特定処理)の他の一例を示すフローチャート。7 is a flowchart showing another example of the process (arrangement pattern specifying process) in step 606 in FIG. 6. 個体最高高さの説明図。Explanatory drawing of individual maximum height. 図6のステップ608の処理(個体サイズ検出処理)の一例を示すフローチャート。7 is a flowchart showing an example of processing (individual size detection processing) in step 608 in FIG. 6. 最大個体サイズの算出方法の一例の説明図。Explanatory drawing of an example of the calculation method of maximum individual size. 標準個体サイズの算出方法の一例の説明図。Explanatory drawing of an example of the calculation method of standard individual size. 標準個体サイズの算出方法の他の一例の説明図。Explanatory drawing of another example of the calculation method of standard individual size. 商品容器C1内の各商品のピッキング座標を算出する処理の一例を示すフローチャート。The flowchart which shows an example of the process which calculates the picking coordinate of each goods in the goods container C1. 商品容器C1内の各商品のピッキング座標を算出する処理の他の一例を示すフローチャート。The flowchart which shows another example of the process which calculates the picking coordinate of each goods in the goods container C1. 商品個体番号の付与ルールの一例の説明図。Explanatory drawing of an example of the provision rule of goods individual number. 分離した画素集合の説明図。Explanatory drawing of the isolate | separated pixel set. 接触商品画素集合の分割方法の説明図。Explanatory drawing of the division | segmentation method of a contact goods pixel set.

以下、添付図面を参照しながら各実施例について詳細に説明する。   Hereinafter, embodiments will be described in detail with reference to the accompanying drawings.

図1は、商品ピッキング装置の適用されるピッキング設備の一例を概略的に示す図である。   FIG. 1 is a diagram schematically illustrating an example of a picking facility to which a commodity picking apparatus is applied.

図1に示すピッキング設備1では、商品配置ライン4に沿って搬送容器Cが順次搬送される。尚、この搬送にはコンベア等が用いられる。商品配置ライン4に沿って複数のロボット50が配置される。各ロボット50は、商品容器ステーション52上の商品容器C1内の商品Pをピッキングし、ピッキングした商品Pを商品配置ライン4上の搬送容器C内に配置する。商品容器ステーション52には、商品容器C1内の全ての商品Pがピッキングされて無くなる毎に新たな商品容器C1が供給される。尚、各ロボット50による商品配置時は、搬送容器Cは、商品配置ライン4上の所定位置で停止される。各ロボット50によるピッキングされる商品Pの種類は、互いに異なってもよい。尚、ピッキングされる商品Pは、任意であるが、例えば袋詰めされた商品(例えば、パン・菓子・食品類)であってよい。このようにして、図1に示すピッキング設備1では、搬送容器Cは、複数のロボット50のうちの所定のロボット50により商品が配置されながら、下流側へと搬送され、出庫される。尚、各搬送容器Cに配置されるべき商品の種類や数量(即ちどのロボット50が何個商品を配置するか)は、店舗オーダー等により決定される。   In the picking facility 1 shown in FIG. 1, the transport container C is sequentially transported along the product placement line 4. In addition, a conveyor etc. are used for this conveyance. A plurality of robots 50 are arranged along the product arrangement line 4. Each robot 50 picks the product P in the product container C 1 on the product container station 52 and places the picked product P in the transport container C on the product placement line 4. A new product container C1 is supplied to the product container station 52 every time all the products P in the product container C1 are picked and lost. Note that the transport container C is stopped at a predetermined position on the product placement line 4 at the time of product placement by each robot 50. The types of products P picked by each robot 50 may be different from each other. The product P to be picked is arbitrary, but may be, for example, a packaged product (for example, bread, confectionery, food). In this manner, in the picking facility 1 shown in FIG. 1, the transport container C is transported to the downstream side and delivered out while a product is placed by the predetermined robot 50 among the plurality of robots 50. It should be noted that the type and quantity of products to be placed in each transport container C (that is, which robot 50 arranges how many products) is determined by a store order or the like.

図2は、商品ピッキング装置の適用されるピッキング設備の他の一例を概略的に示す図である。   FIG. 2 is a diagram schematically illustrating another example of the picking equipment to which the commodity picking apparatus is applied.

図2に示すピッキング設備2では、商品配置ライン4に沿って搬送容器Cが順次搬送される。尚、この搬送にはコンベア等が用いられる。商品配置ライン4に沿って複数のロボット50が配置される。各ロボット50は、商品容器ステーション52上の商品容器C1内の商品Pをピッキングし、ピッキングした商品Pを商品配置ライン4上の搬送容器C内に配置する。商品容器ステーション52には、商品容器C1内の全ての商品Pがピッキングされて無くなる毎に新たな商品容器C1が供給される。尚、各ロボット50による商品配置時は、搬送容器Cは、商品配置ライン4上の所定位置で停止される。各ロボット50によるピッキングされる商品Pの種類は、互いに異なってもよい。商品配置が完了した搬送容器Cは、商品払出ライン6へと排出される。従って、例えば最も上流側のロボット50により商品配置が完了する搬送容器Cは、その位置で商品払出ライン6へと排出される。商品払出ライン6へと排出された搬送容器Cは、下流側へと搬送され、出庫される。   In the picking facility 2 shown in FIG. 2, the transport container C is sequentially transported along the product placement line 4. In addition, a conveyor etc. are used for this conveyance. A plurality of robots 50 are arranged along the product arrangement line 4. Each robot 50 picks the product P in the product container C 1 on the product container station 52 and places the picked product P in the transport container C on the product placement line 4. A new product container C1 is supplied to the product container station 52 every time all the products P in the product container C1 are picked and lost. Note that the transport container C is stopped at a predetermined position on the product placement line 4 at the time of product placement by each robot 50. The types of products P picked by each robot 50 may be different from each other. The transport container C in which the product placement is completed is discharged to the product delivery line 6. Therefore, for example, the transport container C in which the product placement is completed by the most upstream robot 50 is discharged to the product delivery line 6 at that position. The transport container C discharged to the commodity delivery line 6 is transported downstream and discharged.

図1及び図2に示すピッキング設備1及び2において、各ロボット50は、後述する処理装置100からピッキング座標をピッキング指示を受けると、ピッキング座標に向けて商品挟持部(アーム)を動かして商品をピッキングする。尚、ロボット50へピッキング指示を行うアプリケーションは、例えば、ピッキング対象の商品を商品個体番号で指定してピッキング指示を行い、ピッキング後の時点でどの商品個体番号の商品が残っているかを管理する。   In the picking facilities 1 and 2 shown in FIGS. 1 and 2, each robot 50 receives a picking instruction for picking coordinates from the processing apparatus 100 described later, and moves a product holding unit (arm) toward the picking coordinates to produce a product. Pick. Note that the application that gives a picking instruction to the robot 50 specifies, for example, a product to be picked by a product individual number and performs a picking instruction, and manages which product individual number product remains at the time after picking.

尚、図1及び図2に示すピッキング設備1及び2は、あくまで一例であり、以下で説明する商品ピッキング装置は、図1及び図2に示す以外のピッキング設備にも適用可能である。また、ロボット50の数についても任意であり、究極的にはロボット50の数は1つであってもよい。商品容器ステーション52の数は、ロボット50の数に対応してよい。   The picking equipment 1 and 2 shown in FIGS. 1 and 2 are merely examples, and the product picking apparatus described below can be applied to picking equipment other than those shown in FIGS. 1 and 2. Also, the number of robots 50 is arbitrary, and ultimately the number of robots 50 may be one. The number of product container stations 52 may correspond to the number of robots 50.

図3は、商品ピッキング装置の構成の一例を概略的に示す図である。   FIG. 3 is a diagram schematically illustrating an example of the configuration of the commodity picking apparatus.

商品ピッキング装置10は、図3に示すように、距離センサ70と、処理装置100とを含む。距離センサ70は、商品容器ステーション52(図1及び図2参照)毎に設けられる。以下では、代表として、1つの距離センサ70に関する構成について説明する。   As shown in FIG. 3, the product picking apparatus 10 includes a distance sensor 70 and a processing apparatus 100. The distance sensor 70 is provided for each commodity container station 52 (see FIGS. 1 and 2). Below, the structure regarding one distance sensor 70 is demonstrated as a representative.

距離センサ70は、商品容器C1の所定の商品配置範囲における距離に関する情報(以下、「距離情報」ともいう)を取得する。距離情報は、商品容器C1の底面をXY平面としたとき、Z軸方向の距離情報である。ここでは、便宜上、距離情報は、商品容器C1の底面(商品の下面と接触する面)を基準として、商品容器C1の底面からの距離を表す。但し、距離情報の基準は、商品容器C1の底面以外であってもよい。距離情報は、X軸方向及びY軸方向のそれぞれに沿った複数点で取得される。複数点の数は、後述のヒストグラムを生成できるのに十分な任意の数であり、その数(分解能)が大きいほど商品容器C1内の各商品Pの配置態様について高精度の検出が可能となる。以下では、一例として、距離センサ70は、例えばKinect(キネクト)センサのような距離画像を生成するセンサであるとする。距離画像は、X軸方向及びY軸方向のそれぞれに沿った複数点における距離情報を含む。以下では、X軸方向を「横方向」とも称し、Y軸方向を「縦方向」とも称し、Z軸方向を「高さ方向」とも称する。従って、距離センサ70により検出される距離は、商品容器C1の底面からの高さに対応する。商品容器C1の所定の商品配置範囲に商品Pが配置されているときは、距離情報は、商品Pの高さに関する情報を含むことになる。   The distance sensor 70 acquires information related to the distance in the predetermined product arrangement range of the product container C1 (hereinafter also referred to as “distance information”). The distance information is distance information in the Z-axis direction when the bottom surface of the product container C1 is the XY plane. Here, for the sake of convenience, the distance information represents the distance from the bottom surface of the product container C1 on the basis of the bottom surface of the product container C1 (the surface that contacts the lower surface of the product). However, the reference of the distance information may be other than the bottom surface of the product container C1. The distance information is acquired at a plurality of points along each of the X-axis direction and the Y-axis direction. The number of the plurality of points is an arbitrary number sufficient to generate a histogram to be described later, and the higher the number (resolution), the higher the accuracy of detecting the arrangement mode of each product P in the product container C1. . Hereinafter, as an example, the distance sensor 70 is assumed to be a sensor that generates a distance image, such as a Kinect sensor. The distance image includes distance information at a plurality of points along each of the X-axis direction and the Y-axis direction. Hereinafter, the X-axis direction is also referred to as “lateral direction”, the Y-axis direction is also referred to as “vertical direction”, and the Z-axis direction is also referred to as “height direction”. Therefore, the distance detected by the distance sensor 70 corresponds to the height from the bottom surface of the product container C1. When the product P is arranged in a predetermined product arrangement range of the product container C1, the distance information includes information related to the height of the product P.

尚、以下では、前提として、商品容器C1内の各商品Pは、原則として、所定の商品配置範囲内にX軸方向及びY軸方向の2次元で配置される。即ち、各商品Pは、商品容器C1内で乱雑に重なり合ってバラ積みされない。但し、商品容器C1内の各商品Pは、商品の入れ方や搬送時の傾きや衝撃などの影響により、Z軸方向で部分的に重なりあったり、X軸方向及び/又はY軸方向で接触しあったりすることはあり得る。尚、このような傾向は、特に袋詰めされた商品(例えば、パン・菓子・食品類)において生じやすい。所定の商品配置範囲は、任意であり、商品の種類によって異なってもよい。以下では、一例として、所定の商品配置範囲は、商品容器C1の底面全体に対応する。尚、商品容器C1の形態は、任意であり、例えば箱やトレーの形態であってよい。   In the following, as a premise, each product P in the product container C1 is basically arranged in a two-dimensional manner in the X-axis direction and the Y-axis direction within a predetermined product placement range. That is, the products P are not stacked in a random manner in the product container C1. However, each product P in the product container C1 is partially overlapped in the Z-axis direction or contacted in the X-axis direction and / or the Y-axis direction due to the effects of how to put in the product, the inclination during transport, impact, etc. It can happen. Such a tendency is particularly likely to occur in a packaged product (for example, bread, confectionery, food). The predetermined product arrangement range is arbitrary, and may vary depending on the type of product. In the following, as an example, the predetermined product arrangement range corresponds to the entire bottom surface of the product container C1. The form of the product container C1 is arbitrary, and may be, for example, a box or a tray.

図4は、距離センサ70と商品容器C1内の商品Pと関係の一例を概略的に示す3面図である。尚、図4に示す例では、商品容器C1内には商品Pが縦に2ずつ横に3列で計6個配置されている。   FIG. 4 is a trihedral view schematically showing an example of the relationship between the distance sensor 70 and the product P in the product container C1. In the example shown in FIG. 4, a total of 6 products P are arranged in 3 rows horizontally by 2 vertically in the product container C1.

距離センサ70は、例えば図4に示すように、商品容器C1の上方から距離情報を取得する。距離センサ70は、図4に示すように、商品容器C1の商品配置範囲の中心付近に対して配置されてよい。距離センサ70のZ方向の位置(高さ)は、商品容器C1の商品配置範囲に亘る距離画像が取得できるように設定されてよい。以下では、説明の都合上、X軸方向及びY軸方向を図4に示すように商品容器C1の商品配置範囲の横と縦を基準に定め、商品容器C1の商品配置範囲の角を原点とする。商品容器C1の商品配置範囲の大きさを横がb0、縦がa0とすると、距離センサ70は、商品容器C1の商品配置範囲(b0×a0)に係る距離画像を取得する。   The distance sensor 70 acquires distance information from above the product container C1, for example, as shown in FIG. As shown in FIG. 4, the distance sensor 70 may be disposed near the center of the commodity arrangement range of the commodity container C1. The position (height) in the Z direction of the distance sensor 70 may be set so that a distance image over the product arrangement range of the product container C1 can be acquired. Hereinafter, for convenience of explanation, the X-axis direction and the Y-axis direction are determined based on the horizontal and vertical directions of the product arrangement range of the product container C1, as shown in FIG. 4, and the corner of the product arrangement range of the product container C1 is defined as the origin. To do. When the size of the product arrangement range of the product container C1 is b0 and the length is a0, the distance sensor 70 acquires a distance image related to the product arrangement range (b0 × a0) of the product container C1.

処理装置100は、1つの処理装置により形成されてもよいし、複数の処理装置を含んでもよい。例えば、処理装置100は、以下の各種処理(図6等)を行う処理装置と、ロボット50等のピッキング設備の制御を行う処理装置とを別々に含んでもよい。   The processing apparatus 100 may be formed by a single processing apparatus or may include a plurality of processing apparatuses. For example, the processing apparatus 100 may separately include a processing apparatus that performs the following various processes (FIG. 6 and the like) and a processing apparatus that controls a picking facility such as the robot 50.

図5は、処理装置100のハードウェア構成の一例を示す図である。   FIG. 5 is a diagram illustrating an example of a hardware configuration of the processing apparatus 100.

図5に示す例では、処理装置100は、制御部101、主記憶部102、補助記憶部103、ドライブ装置104、ネットワークI/F部106、入力部107を含む。   In the example illustrated in FIG. 5, the processing device 100 includes a control unit 101, a main storage unit 102, an auxiliary storage unit 103, a drive device 104, a network I / F unit 106, and an input unit 107.

制御部101は、主記憶部102や補助記憶部103に記憶されたプログラムを実行する演算装置であり、入力部107や記憶装置からデータを受け取り、演算、加工した上で、記憶装置などに出力する。   The control unit 101 is an arithmetic device that executes a program stored in the main storage unit 102 or the auxiliary storage unit 103, receives data from the input unit 107 or the storage device, calculates, processes, and outputs the data to the storage device or the like. To do.

主記憶部102は、ROM(Read Only Memory)やRAM(Random Access Memory)などであり、制御部101が実行する基本ソフトウェアであるOSやアプリケーションソフトウェアなどのプログラムやデータを記憶又は一時保存する記憶装置である。   The main storage unit 102 is a ROM (Read Only Memory), a RAM (Random Access Memory), or the like, and a storage device that stores or temporarily stores programs and data such as an OS and application software that are basic software executed by the control unit 101. It is.

補助記憶部103は、HDD(Hard Disk Drive)などであり、アプリケーションソフトウェアなどに関連するデータを記憶する記憶装置である。   The auxiliary storage unit 103 is an HDD (Hard Disk Drive) or the like, and is a storage device that stores data related to application software or the like.

ドライブ装置104は、記録媒体105、例えばフレキシブルディスクからプログラムを読み出し、記憶装置にインストールする。   The drive device 104 reads the program from the recording medium 105, for example, a flexible disk, and installs it in the storage device.

記録媒体105は、所定のプログラムを格納する。この記録媒体105に格納されたプログラムは、ドライブ装置104を介して処理装置100にインストールされる。インストールされた所定のプログラムは、処理装置100により実行可能となる。   The recording medium 105 stores a predetermined program. The program stored in the recording medium 105 is installed in the processing device 100 via the drive device 104. The installed predetermined program can be executed by the processing apparatus 100.

ネットワークI/F部106は、有線及び/又は無線回線などのデータ伝送路により構築されたネットワークを介して接続された通信機能を有する周辺機器と処理装置100とのインターフェースである。   The network I / F unit 106 is an interface between the processing apparatus 100 and a peripheral device having a communication function connected via a network constructed by a data transmission path such as a wired and / or wireless line.

入力部107は、カーソルキー、数字入力及び各種機能キー等を備えたキーボード、マウスやスライスパット等を有する。   The input unit 107 includes a keyboard having cursor keys, numeric input, various function keys, and the like, a mouse, a slice pad, and the like.

尚、図5に示す例において、以下で説明する各種処理等は、プログラムを処理装置100に実行させることで実現することができる。また、プログラムを記録媒体105に記録し、このプログラムが記録された記録媒体105を処理装置100に読み取らせて、以下で説明する各種処理等を実現させることも可能である。なお、記録媒体105は、様々なタイプの記録媒体を用いることができる。例えば、CD−ROM、フレキシブルディスク、光磁気ディスク等の様に情報を光学的,電気的或いは磁気的に記録する記録媒体、ROM、フラッシュメモリ等の様に情報を電気的に記録する半導体メモリ等であってよい。なお、記録媒体105には、搬送波は含まれない。   In the example illustrated in FIG. 5, various processes described below can be realized by causing the processing apparatus 100 to execute a program. It is also possible to record the program on the recording medium 105 and cause the processing apparatus 100 to read the recording medium 105 on which the program is recorded, thereby realizing various processes described below. Note that various types of recording media can be used as the recording medium 105. For example, a recording medium for optically, electrically or magnetically recording information such as a CD-ROM, flexible disk, magneto-optical disk, etc., a semiconductor memory for electrically recording information such as ROM, flash memory, etc. It may be. Note that the recording medium 105 does not include a carrier wave.

図6は、処理装置100により実行される初期処理の一例を示すフローチャートである。図6に示す処理は、ある商品容器(以下、説明の都合上、「モデル商品容器」ともいう)内の商品の配置パターン等に関する初期情報を得るために実行される前処理である。モデル商品容器には、所定の配置パターンで商品が配置される。工場の設備や商品の種類によって配置パターンが異なる場合は、モデル商品容器は、配置パターン毎に用意されてよい。図6に示す処理は、商品の配置パターンが異なるモデル商品容器毎に実行されてよい。例えば、図6に示す処理は、取り扱う商品の種類が異なる商品容器ステーション52毎に実行される。このとき、図6に示す処理は、対応する商品容器ステーション52に、配置パターンが異なる新たな商品容器C1が供給されたときに、その商品容器C1をモデル商品容器として実行されてよい。即ち、モデル商品容器とは、対応する商品容器ステーション52に供給される1つ目の商品容器であってよい。ここでは、一例として、ある1つのモデル商品容器に対する処理について代表して説明する。他のモデル商品容器に対する処理についても同様であってよい。   FIG. 6 is a flowchart illustrating an example of initial processing executed by the processing device 100. The process shown in FIG. 6 is a pre-process that is executed to obtain initial information related to the arrangement pattern of products in a certain product container (hereinafter also referred to as “model product container” for convenience of explanation). In the model product container, products are arranged in a predetermined arrangement pattern. In the case where the arrangement pattern varies depending on the type of factory equipment and product, a model product container may be prepared for each arrangement pattern. The process shown in FIG. 6 may be executed for each model product container having a different product arrangement pattern. For example, the process shown in FIG. 6 is executed for each product container station 52 that handles different types of products. At this time, when a new product container C1 having a different arrangement pattern is supplied to the corresponding product container station 52, the process shown in FIG. 6 may be executed using the product container C1 as a model product container. That is, the model product container may be the first product container supplied to the corresponding product container station 52. Here, as an example, processing for one model product container will be described as a representative. The same may be said about the process with respect to another model goods container.

ステップ600では、処理装置100は、距離センサ70からモデル商品容器に係る距離画像を取得する。この距離画像は、モデル商品容器が商品容器ステーション52上に位置するときに距離センサ70により取得された距離画像であってよい。   In step 600, the processing apparatus 100 acquires a distance image related to the model product container from the distance sensor 70. This distance image may be a distance image acquired by the distance sensor 70 when the model product container is located on the product container station 52.

ステップ602では、処理装置100は、モデル商品容器に関する距離画像に基づいて、横方向に沿った距離変化パターンと、縦方向に沿った距離変化パターンとを生成する。   In step 602, the processing apparatus 100 generates a distance change pattern along the horizontal direction and a distance change pattern along the vertical direction based on the distance image related to the model product container.

図7は、距離変化パターンの例を示す図であり、(A)は、横方向に沿った距離変化パターンの例を示し、(B)は、縦方向に沿った距離変化パターンを示す。図7では、図4に示したモデル商品容器のY=aの位置でのX軸方向に沿った距離変化パターンが(A)で示され、図4に示したモデル商品容器のX=bの位置でのY軸方向に沿った距離変化パターンが(B)で示されている。   FIG. 7 is a diagram illustrating an example of the distance change pattern. FIG. 7A illustrates an example of the distance change pattern along the horizontal direction, and FIG. 7B illustrates the distance change pattern along the vertical direction. In FIG. 7, the distance change pattern along the X-axis direction at the position of Y = a of the model product container shown in FIG. 4 is shown by (A), and X = b of the model product container shown in FIG. A distance change pattern along the Y-axis direction at the position is indicated by (B).

図8は、距離変化パターンの他の例を示す図であり、(A)は、横方向に沿った距離変化パターンの例を示し、(B)は、縦方向に沿った距離変化パターンを示す。図8に示す例では、図4に示したモデル商品容器のY軸方向の各位置での高さを総和したX軸方向に沿った距離変化パターンが(A)で示されている。また、図8に示す例では、図4に示したモデル商品容器のX軸方向の各位置での高さを総和したY軸方向に沿った距離変化パターンが(B)で示されている。尚、図8に示す距離変化パターンは、図9乃至図11等に示すヒストグラムと実質的に同一である。   8A and 8B are diagrams showing another example of the distance change pattern. FIG. 8A shows an example of the distance change pattern along the horizontal direction, and FIG. 8B shows the distance change pattern along the vertical direction. . In the example shown in FIG. 8, a distance change pattern along the X-axis direction in which the heights at the respective positions in the Y-axis direction of the model product container shown in FIG. Further, in the example shown in FIG. 8, a distance change pattern along the Y-axis direction in which the heights at the respective positions in the X-axis direction of the model product container shown in FIG. 4 are summed is shown in (B). The distance change pattern shown in FIG. 8 is substantially the same as the histogram shown in FIGS.

図9乃至図11は、距離変化パターンの他の例を示す図であり、それぞれ、(A)は、横方向に沿った距離変化パターンの例を示し、(B)は、縦方向に沿った距離変化パターンを示す。図9乃至図11に示す例では、距離変化パターンは、ヒストグラムで表れている。(A)は、横方向のヒストグラムであり、(B)は、縦方向のヒストグラムである。図9乃至図11に示す例では、モデル商品容器における商品の配置パターンが図4に示した例とは異なる。具体的には、図9に示す例では、横方向に5個、縦方向に2個の配置パターンに関するヒストグラムが示されている。図10に示す例では、横方向に4個、縦方向に4個の配置パターンに関するヒストグラムが示されている。図11に示す例では、横方向に7個、縦方向に2個の配置パターンに関するヒストグラムが示されている。尚、以下では、横方向にm個、縦方向にn個の配置パターンについては、「m×nの配置パターン」とも表す。   9 to 11 are diagrams showing other examples of the distance change pattern. FIG. 9A shows an example of the distance change pattern along the horizontal direction, and FIG. 9B shows the example of the distance change pattern along the vertical direction. The distance change pattern is shown. In the example shown in FIGS. 9 to 11, the distance change pattern is represented by a histogram. (A) is a horizontal histogram, and (B) is a vertical histogram. In the example shown in FIGS. 9 to 11, the arrangement pattern of the products in the model product container is different from the example shown in FIG. Specifically, in the example shown in FIG. 9, a histogram relating to five arrangement patterns in the horizontal direction and two in the vertical direction is shown. In the example shown in FIG. 10, a histogram relating to four arrangement patterns in the horizontal direction and four arrangement patterns in the vertical direction is shown. In the example shown in FIG. 11, a histogram relating to seven arrangement patterns in the horizontal direction and two arrangement patterns in the vertical direction is shown. In the following, m arrangement patterns in the horizontal direction and n arrangement patterns in the vertical direction are also referred to as “m × n arrangement patterns”.

図12は、横方向のヒストグラム及び縦方向のヒストグラムの説明図である。図12には、4×4の配置パターンで商品が配列されたモデル商品容器に関する距離画像Mが模式的に示されている。距離画像Mには、15×13のマス目(点線)が付与されているが、このマス目は説明用である。横方向のヒストグラムは、符号Aで示すように、横方向の15個の列のそれぞれについて、縦方向に13個のマス内の距離情報を平均化することで生成されてもよい。同様に、縦方向のヒストグラムは、符号Bで示すように、縦方向の13個の行のそれぞれについて、横方向に15個のマス内の距離情報を平均化することで生成されてもよい。尚、一のマス内の距離情報は、そのマス内の距離情報の平均であってもよいし、代表値であってもよいし、任意である。尚、図12に示す例では、15×13のマス目でヒストグラムが生成されているが、ヒストグラムを生成する際の分解能は任意である。   FIG. 12 is an explanatory diagram of a horizontal histogram and a vertical histogram. FIG. 12 schematically shows a distance image M related to a model product container in which products are arranged in a 4 × 4 arrangement pattern. The distance image M is provided with 15 × 13 grids (dotted lines), but these grids are for explanation. The horizontal histogram may be generated by averaging distance information in 13 squares in the vertical direction for each of the 15 columns in the horizontal direction, as indicated by symbol A. Similarly, as indicated by reference numeral B, the vertical histogram may be generated by averaging distance information in 15 squares in the horizontal direction for each of the 13 rows in the vertical direction. The distance information in one square may be an average of distance information in the square, a representative value, or arbitrary. In the example shown in FIG. 12, a histogram is generated with 15 × 13 squares, but the resolution for generating the histogram is arbitrary.

図6に戻るに、ステップ604では、処理装置100は、上記ステップ602で得た距離変化パターンに基づいて、X軸方向の変化パターンにおける山の数Nxと、Y軸方向の変化パターンにおける山の数Nyを算出する。例えば図8に示す例では、X軸方向の山の数Nx(以下、「X軸方向山数Nx」ともいう)は、3つであり、Y軸方向の山の数Ny(以下、「Y軸方向山数Ny」ともいう)は、2つである。同様に、例えば、図9に示す例では、X軸方向山数Nxは、5つであり、Y軸方向山数Nyは、2つである。かかる変化パターンの山は、商品の存在を示唆し、山の数は、商品の数(商品配置数)を示唆する。尚、山の数に代えて、谷の数を算出してもよい。   Returning to FIG. 6, in step 604, based on the distance change pattern obtained in step 602, the processing apparatus 100 determines the number Nx of peaks in the change pattern in the X-axis direction and the peaks in the change pattern in the Y-axis direction. The number Ny is calculated. For example, in the example shown in FIG. 8, the number Nx of peaks in the X-axis direction (hereinafter also referred to as “X-axis direction peaks Nx”) is three, and the number Ny of peaks in the Y-axis direction (hereinafter “Y” The number of axial ridges Ny ”is two. Similarly, for example, in the example illustrated in FIG. 9, the X-axis direction mountain number Nx is five, and the Y-axis direction mountain number Ny is two. The peak of such a change pattern suggests the presence of a product, and the number of peaks indicates the number of products (the number of product placement). Note that the number of valleys may be calculated instead of the number of peaks.

ステップ606では、処理装置100は、上記ステップ604で得たX軸方向山数Nx及びY軸方向山数Nyに基づいて、モデル商品容器における商品の配置パターンを特定する。即ち、モデル商品容器におけるX軸方向及びY軸方向のそれぞれの商品配置数を特定する。簡易的には、処理装置100は、Nx×Nyの配置パターンであると特定してもよい。これは、X軸方向の変化パターンにおける山の数(X軸方向山数Nx)は、X軸方向の商品配置数を表し、Y軸方向山数Nyは、Y軸方向の商品配置数を表す可能性が高いためである。但し、Nx×Nyの配置パターンが、実際に取りうる複数の配置パターン内に存在しない場合は、X軸方向山数Nx及びY軸方向山数Nyのそれぞれの信頼性の高低に応じて、他の態様で配置パターンを特定してもよい。実際に取りうる複数の配置パターンは、予め登録されてよい。これについては後述する。   In step 606, the processing apparatus 100 specifies the arrangement pattern of the product in the model product container based on the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny obtained in step 604. That is, the number of product arrangements in the X-axis direction and the Y-axis direction in the model product container is specified. For simplicity, the processing apparatus 100 may specify that the arrangement pattern is Nx × Ny. This is because the number of peaks in the change pattern in the X-axis direction (X-axis direction peak number Nx) represents the number of product arrangements in the X-axis direction, and the Y-axis direction peak number Ny represents the number of product arrangements in the Y-axis direction. This is because the possibility is high. However, when the arrangement pattern of Nx × Ny does not exist in a plurality of arrangement patterns that can actually be taken, other values may be used depending on the reliability of the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny. The arrangement pattern may be specified in the manner described above. A plurality of arrangement patterns that can actually be taken may be registered in advance. This will be described later.

ステップ608では、処理装置100は、上記ステップ604で特定した配置パターンに基づいて、モデル商品容器内の商品の標準個体サイズを特定する。尚、以下の説明において、"サイズ"とは、X軸方向及びY軸方向のそれぞれの長さで規定される2次元のサイズであるとする。商品の標準個体サイズは、商品の種類や、商品の各配置パターンに対応付けられて予め登録されていてもよい。この場合、処理装置100は、上記ステップ604で特定した配置パターンに応じた標準個体サイズ(登録情報)を採用してよい。   In step 608, the processing apparatus 100 specifies the standard individual size of the product in the model product container based on the arrangement pattern specified in step 604. In the following description, “size” is assumed to be a two-dimensional size defined by respective lengths in the X-axis direction and the Y-axis direction. The standard individual size of the product may be registered in advance in association with the type of product or each arrangement pattern of the product. In this case, the processing apparatus 100 may adopt a standard individual size (registration information) corresponding to the arrangement pattern specified in step 604 above.

図6に示す処理によれば、モデル商品容器における商品の配置パターンに関する情報を取得することができる。また、商品の標準個体サイズに関する情報を取得することができる。このようにして取得された商品の配置パターン及び標準個体サイズに関する情報は、初期パラメータとして所定の記憶装置(例えば主記憶部102)に記憶される。以下では、このようにして取得された商品の配置パターン関する情報を「配置パターン情報」とも称し、標準個体サイズに関する情報を「個体サイズ情報」とも称する。配置パターン情報等は、モデル商品容器と同じ配置パターンで商品が配置される他の商品容器C1内の各商品のピッキング座標を算出するために使用することができる。   According to the process shown in FIG. 6, it is possible to acquire information related to the arrangement pattern of products in the model product container. In addition, information on the standard individual size of the product can be acquired. Information regarding the arrangement pattern and standard individual size of the product acquired in this way is stored in a predetermined storage device (for example, the main storage unit 102) as an initial parameter. Hereinafter, information on the arrangement pattern of the product acquired in this way is also referred to as “arrangement pattern information”, and information on the standard individual size is also referred to as “individual size information”. The arrangement pattern information or the like can be used for calculating picking coordinates of each product in another product container C1 in which the product is arranged with the same arrangement pattern as the model product container.

尚、図6に示す処理において、上記ステップ608の処理は、個体サイズ情報が後述するピッキング座標を算出するために不要である構成(例えば図25参照)においては省略されてもよい。   In the process shown in FIG. 6, the process in step 608 may be omitted in a configuration where the individual size information is not necessary for calculating picking coordinates described later (see, for example, FIG. 25).

図13は、図6のステップ604の処理(山数算出処理)の一例を示すフローチャートである。図13に示す処理は、X軸方向山数Nx及びY軸方向山数Nyをそれぞれ得るために、それぞれの方向の距離変化パターンを用いて、別々に実行される。以下では、一例として、X軸方向の距離変化パターンを用いて、X軸方向山数Nxを算出する場合について説明する。Y軸方向の距離変化パターンを用いて、Y軸方向山数NYを算出する方法も同様である。   FIG. 13 is a flowchart illustrating an example of the process (mount number calculation process) in step 604 of FIG. The process shown in FIG. 13 is executed separately using distance change patterns in the respective directions in order to obtain the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny, respectively. Hereinafter, as an example, a case where the X-axis direction mountain number Nx is calculated using a distance change pattern in the X-axis direction will be described. The same applies to the method of calculating the number of peaks in the Y-axis direction NY using the distance change pattern in the Y-axis direction.

ステップ1300では、処理装置100は、距離変化パターンにおける谷部を、距離変化パターンの底面側から探索する。図14に示す例では、距離変化パターンはヒストグラムである。図14にて矢印Z1で示すように、距離変化パターンの底面側から上方(高さの高い方)に向かって谷部が探索される。具体的には、高さが一定の直線S(以下、「探索直線S」という)の高さhを0から徐々に増加させていき、距離変化パターンにおいて探索直線Sよりも低くなるX軸方向の範囲が出現すると、その領域が谷部として検出される。尚、図14に示す例では、探索直線Sが高さh1まで上昇したときに、5つの谷部V1乃至V4が検出される。   In step 1300, processing device 100 searches for a valley in the distance change pattern from the bottom side of the distance change pattern. In the example shown in FIG. 14, the distance change pattern is a histogram. As indicated by an arrow Z1 in FIG. 14, a valley is searched from the bottom side of the distance change pattern upward (the higher one). Specifically, the height h of a straight line S with a constant height (hereinafter referred to as “search line S”) is gradually increased from 0, and becomes lower than the search line S in the distance change pattern. When this range appears, the region is detected as a valley. In the example shown in FIG. 14, when the search straight line S rises to the height h1, five valleys V1 to V4 are detected.

ステップ1302では、処理装置100は、各山部の横幅が均等であるか否かを判定する。山部の横幅は、本例ではX軸方向の幅であり、隣接する谷部間の幅に対応する。尚、山部の横幅は、上記ステップ1300で谷部を検出したときの探索直線Sの高さにて算出される。例えば、図14に示す例では、探索直線Sが高さh1まで上昇したときに谷部V1乃至V4を検出しているので、処理装置100は、高さh1における各山部の横幅W1,W2,W3を算出する。   In step 1302, the processing apparatus 100 determines whether or not the horizontal width of each mountain portion is equal. The horizontal width of the peak is the width in the X-axis direction in this example, and corresponds to the width between adjacent valleys. The lateral width of the peak portion is calculated by the height of the search straight line S when the valley portion is detected in step 1300. For example, in the example shown in FIG. 14, since the valleys V1 to V4 are detected when the search straight line S rises to the height h1, the processing device 100 detects the lateral widths W1, W2 of the peaks at the height h1. , W3 is calculated.

尚、本ステップ1302において、均等とは、必ずしも完全な均等を意味せず、ある程度の誤差を伴った均等である。例えば、30%以内の誤差範囲を均等としてもよい。例えば、各山部の横幅の最大値と平均値を用いて、最大値の50%以上の横幅を持ち、平均値に対して30%以内の誤差範囲内の横幅を持つ各山部については、横幅が均等であるとみなしてもよい。   In this step 1302, equality does not necessarily mean complete equality, but is equal with a certain amount of error. For example, an error range within 30% may be made equal. For example, using the maximum value and the average value of the width of each peak, for each peak having a width of 50% or more of the maximum value and a width within an error range of 30% or less of the average value, You may consider that width is equal.

本ステップ1302において、各山部の横幅が均等である場合は、ステップ1304に進む。各山部の横幅が均等でない場合は、ステップ1300に戻る。例えば、図14に示す例では、高さh1における各山部の横幅W1,W2,W3は、均等でない(W3が有意に大きいので)、ステップ1300に戻ることになる。この場合、ステップ1300では、新たな谷部が見つかるまで、探索直線Sの高さが更に増加される。この結果、図15に示す例では、探索直線Sが高さh2まで上昇したときに新たな谷部V5を検出されることになる。尚、ステップ1300において、探索直線Sの高さが上限値まで増加されても谷部が新たに検出されない場合は、X軸方向山数Nxを"不定"として図13の処理を終了してよい。   If it is determined in step 1302 that the widths of the peaks are equal, the process proceeds to step 1304. If the widths of the peaks are not uniform, the process returns to step 1300. For example, in the example shown in FIG. 14, the horizontal widths W1, W2, and W3 of the peaks at the height h1 are not uniform (since W3 is significantly large), the process returns to step 1300. In this case, in step 1300, the height of the search line S is further increased until a new valley is found. As a result, in the example shown in FIG. 15, when the search straight line S rises to the height h2, a new valley V5 is detected. In step 1300, if the valley is not newly detected even when the height of the search straight line S is increased to the upper limit value, the number of peaks in the X-axis direction Nx is set to “indefinite” and the processing in FIG. 13 may be terminated. .

ステップ1304では、処理装置100は、山部の数(本例ではX軸方向山数Nx)を算出する。例えば、図15に示す例では、X軸方向山数Nxは、"4"となる。   In step 1304, the processing apparatus 100 calculates the number of peaks (in this example, the number of peaks in the X-axis direction Nx). For example, in the example illustrated in FIG. 15, the X-axis direction mountain number Nx is “4”.

図13に示す処理によれば、距離変化パターンにおける山部の横幅を考慮することで、X軸方向における商品配置数に対応するX軸方向山数Nxを精度良く算出することができる。具体的には、各山部は、基本的に、モデル商品容器内の各商品に起因して形成される。モデル商品容器内の各商品は同一である。従って、各山部がモデル商品容器内の各商品に対応して検出されている場合には、各山部の横幅は均等になる傾向がある。図13に示す処理によれば、かかる傾向を利用することで、X軸方向における商品配置数に対応するX軸方向山数Nxを精度良く算出することができる。   According to the processing shown in FIG. 13, the X-axis direction peak number Nx corresponding to the number of product arrangements in the X-axis direction can be accurately calculated by taking into account the lateral width of the peak part in the distance change pattern. Specifically, each mountain portion is basically formed due to each product in the model product container. Each product in the model product container is the same. Therefore, when each mountain part is detected corresponding to each product in the model product container, the width of each mountain part tends to be equal. According to the process shown in FIG. 13, by using such a tendency, it is possible to accurately calculate the number Nx in the X-axis direction corresponding to the number of product arrangements in the X-axis direction.

尚、図13に示す処理では、ステップ1302で肯定判定となった場合は、その時点の山部の数が採用されるが、更に探索直線Sの高さを上昇させ、横幅が均等な山部の数が増加するか否かを確認してもよい。横幅が均等な山部の数が増加した場合は、その増加後の山部の数(X軸方向山数Nx)を採用することとしてよい。   In the process shown in FIG. 13, if the determination in step 1302 is affirmative, the number of peak portions at that time is adopted, but the height of the search straight line S is further increased, and the peak portions having a uniform lateral width. It may be confirmed whether or not the number increases. When the number of ridges having a uniform lateral width increases, the number of ridges (X-axis direction ridge number Nx) after the increase may be employed.

図16は、図6のステップ606の処理(配置パターン特定処理)の一例を示すフローチャートである。ここでは、前提として、商品の配置パターンのうち、実際に取りうる配置パターンが全て予め登録されているものとする。以下では、このようにして登録されている配置パターンを「登録配置パターン」とも称する。   FIG. 16 is a flowchart illustrating an example of the process (arrangement pattern specifying process) in step 606 of FIG. Here, it is assumed that all arrangement patterns that can actually be taken are registered in advance among arrangement patterns of products. Hereinafter, the arrangement pattern registered in this way is also referred to as a “registered arrangement pattern”.

ステップ1600では、処理装置100は、上記ステップ604で得たX軸方向山数Nx及びY軸方向山数Nyに対応した登録配置パターンが存在するか否かを判定する。即ち、処理装置100は、Nx×Nyの登録配置パターンが存在するか否かを判定する。Nx×Nyの登録配置パターンが存在する場合は、ステップ1602に進み、それ以外の場合は、ステップ1604に進む。   In step 1600, the processing apparatus 100 determines whether or not there is a registered arrangement pattern corresponding to the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny obtained in step 604. That is, the processing apparatus 100 determines whether or not Nx × Ny registered arrangement patterns exist. If there is a registered arrangement pattern of Nx × Ny, the process proceeds to step 1602, and otherwise, the process proceeds to step 1604.

ステップ1602では、処理装置100は、モデル商品容器の配置パターンをNx×Nyの配置パターンと確定する。   In step 1602, the processing apparatus 100 determines the arrangement pattern of the model product container as an Nx × Ny arrangement pattern.

ステップ1604では、処理装置100は、谷部の底からの各山部の高さH(以下、「山部高さH」という)を算出する。谷部の底は、探索直線Sの現在の高さに対応する。山部高さHは、各山部の横幅が均等となる区間(高さ方向の範囲)として算出される。山部高さHは、各山部の横幅が均等が崩れるまで探索直線Sの高さを増加したときの高さの増分に対応する。図15に示す例では、探索直線Sの高さをh3まで増加したときに、各山部の横幅が均等が崩れる。従って、この場合、山部高さHは、h3−h2となる。尚、処理装置100は、山部高さHを、X軸方向及びY軸方向のそれぞれの距離変化パターンに対してそれぞれ算出する。   In step 1604, the processing apparatus 100 calculates the height H of each peak from the bottom of the valley (hereinafter referred to as “peak height H”). The bottom of the valley corresponds to the current height of the search line S. The peak height H is calculated as a section (a range in the height direction) in which the horizontal width of each peak is equal. The peak height H corresponds to an increase in height when the height of the search straight line S is increased until the horizontal width of each peak is broken. In the example shown in FIG. 15, when the height of the search straight line S is increased to h3, the horizontal widths of the peaks are not uniform. Therefore, in this case, the peak height H is h3-h2. Note that the processing apparatus 100 calculates the peak height H for each distance change pattern in the X-axis direction and the Y-axis direction.

ステップ1606では、処理装置100は、X軸方向とY軸方向のうち、距離変化パターンに係る山部高さHが高い方の方向を選択する。例えば、X軸方向に係る距離変化パターンに係る山部高さHがY軸方向に係る距離変化パターンに係る山部高さHよりも高い場合は、X軸方向が選択される。   In step 1606, the processing apparatus 100 selects a direction having a higher peak height H related to the distance change pattern among the X-axis direction and the Y-axis direction. For example, when the peak height H related to the distance change pattern in the X-axis direction is higher than the peak height H related to the distance change pattern in the Y-axis direction, the X-axis direction is selected.

ステップ1608では、処理装置100は、上記ステップ1606で選択した方向に係る山数を、同方向に係る商品配置数とする登録配置パターンが存在するか否かを判定する。例えば、X軸方向が選択された場合は、X軸方向山数NxをX軸方向に係る商品配置数とする登録配置パターンが存在するか否かが判定される。例えば、Nx=4のとき、例えば4×4の登録配置パターンが存在する場合、本ステップの判定結果は肯定判定となる。本ステップの判定結果が肯定判定の場合は、ステップ1610に進み、それ以外の場合は、ステップ1612に進む。   In step 1608, the processing apparatus 100 determines whether or not there is a registered arrangement pattern in which the number of mountains related to the direction selected in step 1606 is the number of products arranged in the same direction. For example, when the X-axis direction is selected, it is determined whether or not there is a registered arrangement pattern in which the X-axis direction mountain number Nx is the number of product arrangements in the X-axis direction. For example, when Nx = 4, for example, if there is a 4 × 4 registered arrangement pattern, the determination result of this step is affirmative. If the determination result in this step is affirmative, the process proceeds to step 1610. Otherwise, the process proceeds to step 1612.

ステップ1610では、処理装置100は、上記ステップ1606で選択した方向に係る山数と一致する商品配置数を同方向において持つ登録配置パターンを、モデル商品容器の配置パターンと確定する。例えば、X軸方向が選択され且つX軸方向山数Nx=4のとき、4×4の配置パターンが登録されていれば、4×4の配置パターンを、モデル商品容器の配置パターンと確定する。   In step 1610, the processing apparatus 100 determines the registered arrangement pattern having the number of product arrangements in the same direction as the number of peaks in the direction selected in step 1606 as the model product container arrangement pattern. For example, when the X-axis direction is selected and the number of peaks in the X-axis direction Nx = 4, if a 4 × 4 arrangement pattern is registered, the 4 × 4 arrangement pattern is determined as the arrangement pattern of the model product container. .

ステップ1612では、処理装置100は、上記ステップ1606で選択されなかった方の方向を選択する。即ち、処理装置100は、X軸方向とY軸方向のうち、距離変化パターンに係る山部高さHが低い方の方向を選択する。   In step 1612, the processing apparatus 100 selects the direction that was not selected in step 1606. That is, the processing apparatus 100 selects a direction having a lower peak height H related to the distance change pattern from among the X-axis direction and the Y-axis direction.

ステップ1614では、処理装置100は、上記ステップ1608と同様、上記ステップ1612で選択した方向に係る山数を、同方向に係る商品配置数とする登録配置パターンが存在するか否かを判定する。本ステップの判定結果が肯定判定の場合は、ステップ1616に進み、それ以外の場合は、ステップ1618に進む。   In step 1614, as in step 1608, the processing apparatus 100 determines whether there is a registered arrangement pattern in which the number of mountains in the direction selected in step 1612 is the number of product arrangements in the same direction. If the determination result in this step is affirmative, the process proceeds to step 1616. Otherwise, the process proceeds to step 1618.

ステップ1616では、処理装置100は、上記ステップ1612で選択した方向に係る山数と一致する商品配置数を同方向において持つ登録配置パターンを、モデル商品容器の配置パターンと確定する。   In step 1616, the processing apparatus 100 determines the registered arrangement pattern having the number of product arrangements in the same direction as the number of peaks in the direction selected in step 1612 as the arrangement pattern of the model product container.

ステップ1618では、処理装置100は、モデル商品容器の配置パターンは"不定"と判定する。   In step 1618, the processing apparatus 100 determines that the arrangement pattern of the model product container is “undefined”.

図16に示す処理によれば、X軸方向山数Nx及びY軸方向山数Nyと登録配置パターンとの整合性を判断することで、モデル商品容器における商品の配置パターンを精度良く特定することができる(ステップ1602参照)。   According to the processing shown in FIG. 16, the arrangement pattern of the product in the model product container can be accurately identified by determining the consistency between the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny and the registered arrangement pattern. (See step 1602).

ところで、モデル商品容器内の各商品は、上述の如く、2次元配置されるので、距離画像に基づいて上述の如く算出されるX軸方向山数Nx及びY軸方向山数Nyは、登録配置パターンと完全に整合する傾向となる。但し、実際には、モデル商品容器内の各商品は、商品の入れ方や搬送時の傾きや衝撃などの影響により、Z軸方向で部分的に重なりあったり、X軸方向及び/又はY軸方向で接触しあったりすることがありうる。この場合、X軸方向又はY軸方向の距離変化パターンにおいて山部が顕著に現れず、その結果、X軸方向山数Nx及びY軸方向山数Nyが登録配置パターンと完全に整合しないことがありうる。   By the way, since each product in the model product container is two-dimensionally arranged as described above, the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny calculated as described above based on the distance image are registered and arranged. It tends to be perfectly consistent with the pattern. However, in actuality, each product in the model product container partially overlaps in the Z-axis direction due to the way of putting in the product, the tilt or impact during transportation, the X-axis direction and / or the Y-axis. In some directions. In this case, the peak portion does not appear remarkably in the distance change pattern in the X-axis direction or the Y-axis direction, and as a result, the X-axis direction peak number Nx and the Y-axis direction peak number Ny may not completely match the registered arrangement pattern. It is possible.

この点、図16に示す処理によれば、X軸方向山数Nx及びY軸方向山数Nyが登録配置パターンと完全に整合しない場合でも、部分的に整合する登録配置パターンを用いて商品の配置パターンを特定することができる(ステップ1610及びステップ1616参照)。この際、X軸方向山数Nx及びY軸方向山数Nyのうち、山部高さHが高い方の方向における山数を考慮することで、商品の配置パターンを精度良く特定することができる。これは、X軸方向山数Nx及びY軸方向山数Nyのうち、山部高さHが高い方の方向における山数の方が、低い方の方向における山数よりも信頼性が相対的に高いためである。   In this regard, according to the processing shown in FIG. 16, even if the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny do not completely match the registered arrangement pattern, An arrangement pattern can be specified (see step 1610 and step 1616). At this time, the arrangement pattern of the product can be accurately identified by considering the number of peaks in the direction of the higher peak height H out of the number Nx in the X-axis direction and the number Ny in the Y-axis direction. . This is because the number of peaks in the direction with the higher peak height H of the number of peaks in the X-axis direction Nx and the number of peaks in the Y-axis direction Ny is more reliable than the number of peaks in the lower direction. It is because it is expensive.

尚、図16に示す処理は、図13に示した処理と組合わせて実行されてよい。また、図13に示した処理では、山部の高さを考慮せずにX軸方向山数Nx及びY軸方向山数Nyを算出しているが、山部の高さが一定値以上ある場合に限り、X軸方向山数Nx及びY軸方向山数Nyを算出してもよい。   The process shown in FIG. 16 may be executed in combination with the process shown in FIG. Further, in the processing shown in FIG. 13, the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny are calculated without considering the height of the mountain portion, but the height of the mountain portion is a certain value or more. Only in some cases, the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny may be calculated.

図17は、図6のステップ604の処理(山数算出処理)の他の一例を示すフローチャートである。ここでは、前提として、登録配置パターンが存在するものとする。   FIG. 17 is a flowchart showing another example of the process of step 604 in FIG. 6 (mountain number calculation process). Here, it is assumed that a registered arrangement pattern exists as a premise.

ステップ1700では、処理装置100は、登録配置パターンに基づく商品配置数毎に、各商品配置数に係る区切りポイントをX軸方向及びY軸方向の距離変化パターンに当てはめ、区切りポイントの平均高さを算出する。区切りポイントとは、商品間を区切るラインの位置に対応する。例えば、2×6の配置パターンの場合、X軸方向の商品配置数は、2つであるので、X軸方向の区切りポイントは、商品配置範囲のX軸方向の幅b0(図4参照)の半分の位置に対応する。また、この場合、Y軸方向の商品配置数は、6つであるので、Y軸方向の区切りポイントは、商品配置範囲のY軸方向の幅a0(図4参照)の1/6毎の位置に対応する。   In step 1700, for each number of product placements based on the registered placement pattern, the processing device 100 applies the breakpoints associated with each product placement number to the distance change pattern in the X-axis direction and the Y-axis direction, and sets the average height of the breakpoints. calculate. The break point corresponds to the position of the line that separates the products. For example, in the case of a 2 × 6 arrangement pattern, since the number of product arrangements in the X-axis direction is two, the break point in the X-axis direction is the width b0 (see FIG. 4) in the X-axis direction of the product arrangement range. Corresponds to half the position. In this case, since the number of product arrangements in the Y-axis direction is six, the break point in the Y-axis direction is the position of every 1/6 of the width a0 (see FIG. 4) in the Y-axis direction of the product arrangement range. Corresponding to

図18は、区切りポイントの平均高さの算出方法の説明図である。尚、図18には、距離変化パターンが曲線のパターンで示されているが、距離変化パターンはヒストグラムであってもよい。図18において、(A)は、登録配置パターンが2×2の配置パターンの場合のX軸方向の区切りポイントL1を示す。区切りポイントL1は、商品配置範囲のX軸方向を均等に2分割したときの分割線の位置に対応する。このとき、区切りポイントL1の平均高さは、区切りポイントL1における距離変化パターンの高さ(図18(A)の交点P1の高さ)に対応する。同様に、図18において、(B)は、登録配置パターンが3×4の配置パターンの場合のX軸方向の区切りポイントL2、L3を示す。区切りポイントL2、L3は、商品配置範囲のX軸方向を均等に3分割したときの分割線の位置に対応する。このとき、区切りポイントL2、L3の平均高さは、区切りポイントL2、L3のそれぞれにおける距離変化パターンの高さ(図18(B)の交点P2、P3の高さ)の平均値に対応する。同様に、図18において、(C)は、登録配置パターンが4×4の配置パターンの場合のX軸方向の区切りポイントL4〜L6を示す。区切りポイントL4〜L6は、商品配置範囲のX軸方向を均等に4分割したときの分割線の位置に対応する。このとき、区切りポイントL4〜L6の平均高さは、区切りポイントL4〜L6のそれぞれにおける距離変化パターンの高さ(図18(C)の交点P4〜P6の高さ)の平均値に対応する。同様に、図18において、(D)は、登録配置パターンが6×2の配置パターンの場合のX軸方向の区切りポイントL7〜L11を示す。区切りポイントL7〜L11は、商品配置範囲のX軸方向を均等に6分割したときの分割線の位置に対応する。このとき、区切りポイントL7〜L11の平均高さは、区切りポイントL7〜L11のそれぞれにおける距離変化パターンの高さ(図18(D)の交点P7〜P11の高さ)の平均値に対応する。   FIG. 18 is an explanatory diagram of a method for calculating the average height of break points. In FIG. 18, the distance change pattern is shown as a curved pattern, but the distance change pattern may be a histogram. 18A shows a delimiter point L1 in the X-axis direction when the registered arrangement pattern is a 2 × 2 arrangement pattern. The dividing point L1 corresponds to the position of the dividing line when the X axis direction of the product arrangement range is equally divided into two. At this time, the average height of the separation point L1 corresponds to the height of the distance change pattern at the separation point L1 (the height of the intersection point P1 in FIG. 18A). Similarly, in FIG. 18, (B) shows delimitation points L2 and L3 in the X-axis direction when the registered arrangement pattern is a 3 × 4 arrangement pattern. Separation points L2 and L3 correspond to the positions of the dividing lines when the X-axis direction of the product arrangement range is equally divided into three. At this time, the average height of the separation points L2 and L3 corresponds to the average value of the heights of the distance change patterns at the separation points L2 and L3 (the heights of the intersections P2 and P3 in FIG. 18B). Similarly, in FIG. 18, (C) shows separation points L4 to L6 in the X-axis direction when the registered arrangement pattern is a 4 × 4 arrangement pattern. Separation points L4 to L6 correspond to the positions of the dividing lines when the X-axis direction of the product arrangement range is equally divided into four. At this time, the average height of the break points L4 to L6 corresponds to the average value of the height of the distance change pattern at each of the break points L4 to L6 (the height of the intersection points P4 to P6 in FIG. 18C). Similarly, in FIG. 18, (D) shows separation points L7 to L11 in the X-axis direction when the registered arrangement pattern is a 6 × 2 arrangement pattern. Separation points L7 to L11 correspond to the positions of the dividing lines when the X-axis direction of the product arrangement range is equally divided into six. At this time, the average height of the break points L7 to L11 corresponds to the average value of the height of the distance change pattern at each of the break points L7 to L11 (the height of the intersection points P7 to P11 in FIG. 18D).

図17に戻るに、ステップ1702では、処理装置100は、上記ステップ1700で求めた各区切りポイントの平均高さに基づいて、平均高さが最小となる区切りポイントを選択する。このとき、2つ以上の区切りポイントの平均高さが同等であるときは、処理装置100は、商品配置数が多い方の区切りポイントを選択する。例えば図18に示す例では、3×4の配置パターンの登録配置パターンに係る区切りポイントの平均高さと、4×4の配置パターンの登録配置パターンに係る区切りポイントの平均高さとが同等である。この場合、商品配置数が多い方の区切りポイントL4〜L6が選択されることになる。これは、区切りポイント(商品配置数)が多くても平均高さが低いことは、その区切りポイントが正解である可能性が高いためである。即ち、2つ以上の区切りポイントの平均高さが同等であるときは、商品配置数が多い方の区切りポイントに商品配置数が少ない方の区切りポイントが含まれている可能性が高く、商品配置数が多い方の区切りポイントが正解である可能性が高いためである。   Returning to FIG. 17, in step 1702, the processing apparatus 100 selects a separation point with the minimum average height based on the average height of each separation point obtained in step 1700. At this time, when the average heights of two or more separation points are equal, the processing apparatus 100 selects the separation point having the larger number of product arrangements. For example, in the example illustrated in FIG. 18, the average height of the separation points related to the registered arrangement pattern of the 3 × 4 arrangement pattern is equal to the average height of the separation points related to the registered arrangement pattern of the 4 × 4 arrangement pattern. In this case, the separation points L4 to L6 having the larger number of product arrangements are selected. This is because the average height is low even if there are many break points (the number of product arrangements) because the break points are likely to be correct. That is, when the average height of two or more break points is the same, it is highly possible that the break point with the larger product placement number includes the break point with the smaller product placement number. This is because the break point with the larger number is likely to be correct.

本ステップ1702では、処理装置100は、X軸方向及びY軸方向のそれぞれについて、平均高さが最小となる区切りポイントを選択する。   In step 1702, the processing apparatus 100 selects a break point with the minimum average height for each of the X-axis direction and the Y-axis direction.

ステップ1704では、処理装置100は、上記ステップ1702で選択した区切りポイントに基づいて、X軸方向山数Nx及びY軸方向山数Nyを算出する。このとき、X軸方向山数Nxは、選択したX軸方向に係る区切りポイントの数に1を足すことで算出される。同様に、Y軸方向山数Nyは、選択したY軸方向に係る区切りポイントの数に1を足すことで算出される。例えば、選択したX軸方向に係る区切りポイントの数が"3"であるとき(図18(C)参照)、X軸方向山数Nxは、3+1=4となる。   In step 1704, the processing apparatus 100 calculates the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny based on the break point selected in step 1702. At this time, the X-axis direction peak number Nx is calculated by adding 1 to the number of separation points in the selected X-axis direction. Similarly, the number Ny in the Y-axis direction is calculated by adding 1 to the number of separation points in the selected Y-axis direction. For example, when the number of separation points in the selected X-axis direction is “3” (see FIG. 18C), the X-axis direction peak number Nx is 3 + 1 = 4.

図17に示す処理によれば、距離変化パターンと登録配置パターンとの整合性を考慮することで、X軸方向及びY軸方向における商品配置数(商品の配置パターン)に対応するX軸方向山数Nx及びY軸方向山数Nyを精度良く算出することができる。具体的には、各山部は、基本的に、モデル商品容器内の各商品に起因して形成される。区切りポイントが各山部間に存在する場合は、区切りポイントの平均高さは小さくなる。従って、各山部がモデル商品容器内の各商品に対応して検出されている場合には、区切りポイントの平均高さは小さくなる傾向がある。図13に示す処理によれば、かかる傾向を利用することで、X軸方向及びY軸方向における商品配置数に対応するX軸方向山数Nx及びY軸方向山数Nyを精度良く算出することができる。   According to the processing shown in FIG. 17, by considering the consistency between the distance change pattern and the registered arrangement pattern, the X-axis direction mountain corresponding to the number of product arrangements (product arrangement pattern) in the X-axis direction and the Y-axis direction. The number Nx and the number Ny in the Y-axis direction can be calculated with high accuracy. Specifically, each mountain portion is basically formed due to each product in the model product container. When a break point exists between the peaks, the average height of the break points is reduced. Therefore, when each mountain portion is detected corresponding to each product in the model product container, the average height of the break points tends to be small. According to the processing shown in FIG. 13, by using such a tendency, the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny corresponding to the number of product arrangements in the X-axis direction and the Y-axis direction can be calculated with high accuracy. Can do.

図19は、図6のステップ606の処理(配置パターン特定処理)の他の一例を示すフローチャートである。図19に示す処理は、図16に示した処理に対して、ステップ1904の処理が主に異なる。以下では、図16に示した処理と同様であってよい処理については、同一のステップ番号を付して説明を省略する。図19に示す処理は、図17に示した処理と組み合わせて実行される。即ち、図19に示す処理は、図6のステップ604が図17に示した処理により実現された場合の図6のステップ604に後続するステップ606の処理の一例である。   FIG. 19 is a flowchart illustrating another example of the process (arrangement pattern specifying process) in step 606 of FIG. The processing shown in FIG. 19 is mainly different from the processing shown in FIG. In the following, processing that may be the same as the processing shown in FIG. 16 is assigned the same step number and description thereof is omitted. The process shown in FIG. 19 is executed in combination with the process shown in FIG. That is, the process shown in FIG. 19 is an example of the process of step 606 subsequent to step 604 of FIG. 6 when step 604 of FIG. 6 is realized by the process shown in FIG.

ステップ1904では、処理装置100は、区切りポイントの平均高さに対する個体最高高さH1を算出する。区切りポイントの平均高さとしては、図17のステップ1702で選択した区切りポイントに係る平均高さが用いられる。尚、処理装置100は、個体最高高さH1を、X軸方向及びY軸方向のそれぞれの距離変化パターンに対してそれぞれ算出する。個体最高高さH1は、区切りポイントの平均高さを基準としたときの距離変化パターンの最高高さに対応する。距離変化パターンの最高高さは、基本的には、モデル商品容器内の商品に起因して発生する。図20は、個体最高高さH1の説明図であり、(A)は、個体最高高さH1が比較的大きい場合を示し、(B)は、個体最高高さH1が比較的小さい場合を示す。図20(A)は、図17のステップ1702で区切りポイントL4〜L6が選択された場合の個体最高高さH1の説明図である。図20(B)は、図17のステップ1702で区切りポイントL7〜L11が選択された場合の個体最高高さH1の説明図である。尚、図20(A)と図20(B)とでは、距離変化パターンが異なる。   In step 1904, the processing apparatus 100 calculates the individual maximum height H1 with respect to the average height of the breakpoints. As the average height of the breakpoints, the average height related to the breakpoints selected in step 1702 in FIG. 17 is used. The processing apparatus 100 calculates the individual maximum height H1 for each distance change pattern in the X-axis direction and the Y-axis direction. The individual maximum height H1 corresponds to the maximum height of the distance change pattern based on the average height of the break points. The maximum height of the distance change pattern is basically generated due to the product in the model product container. FIG. 20 is an explanatory diagram of the individual maximum height H1, in which (A) shows the case where the individual maximum height H1 is relatively large, and (B) shows the case where the individual maximum height H1 is relatively small. . FIG. 20A is an explanatory diagram of the individual maximum height H1 when the separation points L4 to L6 are selected in step 1702 of FIG. FIG. 20B is an explanatory diagram of the individual maximum height H1 when the delimiter points L7 to L11 are selected in step 1702 of FIG. Note that FIG. 20A and FIG. 20B have different distance change patterns.

ステップ1906では、処理装置100は、X軸方向とY軸方向のうち、距離変化パターンに係る個体最高高さH1が高い方の方向を選択する。例えば、X軸方向に係る距離変化パターンに係る個体最高高さH1がY軸方向に係る距離変化パターンに係る個体最高高さH1よりも高い場合は、X軸方向が選択される。   In step 1906, the processing apparatus 100 selects a direction having a higher individual maximum height H1 related to the distance change pattern among the X-axis direction and the Y-axis direction. For example, when the individual maximum height H1 related to the distance change pattern related to the X-axis direction is higher than the individual maximum height H1 related to the distance change pattern related to the Y-axis direction, the X-axis direction is selected.

ステップ1912では、処理装置100は、X軸方向とY軸方向のうち、距離変化パターンに係る個体最高高さH1が低い方の方向を選択する。   In step 1912, the processing apparatus 100 selects a direction having a lower individual maximum height H1 related to the distance change pattern from the X-axis direction and the Y-axis direction.

図19に示す処理によれば、図16に示した処理と同様、X軸方向山数Nx及びY軸方向山数Nyと登録配置パターンとの整合性を判断することで、モデル商品容器における商品の配置パターンを精度良く特定することができる(ステップ1602参照)。   According to the process shown in FIG. 19, as in the process shown in FIG. 16, the product in the model product container is determined by determining the consistency between the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny and the registered arrangement pattern. Can be accurately identified (see step 1602).

ところで、上述の如く、モデル商品容器内の各商品は、商品の入れ方や搬送時の傾きや衝撃などの影響により、Z軸方向で部分的に重なりあったり、X軸方向及び/又はY軸方向で接触しあったりすることがありうる。この場合、X軸方向又はY軸方向の距離変化パターンにおいて区切りポイントの平均高さが顕著に低くならず(図20(B)参照)、その結果、X軸方向山数Nx及びY軸方向山数Nyが登録配置パターンと完全に整合しないことがありうる。   By the way, as described above, each product in the model product container partially overlaps in the Z-axis direction due to the effects of how to put in the product, tilt during transportation, impact, etc., or in the X-axis direction and / or the Y-axis. In some directions. In this case, the average height of the break points in the distance change pattern in the X-axis direction or the Y-axis direction is not significantly reduced (see FIG. 20B), and as a result, the number of peaks in the X-axis direction Nx and the peaks in the Y-axis direction It is possible that the number Ny does not completely match the registered arrangement pattern.

この点、図19に示す処理によれば、X軸方向山数Nx及びY軸方向山数Nyが登録配置パターンと完全に整合しない場合でも、部分的に整合する登録配置パターンを用いて商品の配置パターンを特定することができる(ステップ1610及びステップ1616)。この際、X軸方向山数Nx及びY軸方向山数Nyのうち、個体最高高さH1が高い方の方向における山数を考慮することで、商品の配置パターンを精度良く特定することができる。これは、X軸方向山数Nx及びY軸方向山数Nyのうち、個体最高高さH1が高い方の方向における山数の方が、低い方の方向における山数よりも信頼性が相対的に高いためである。   In this regard, according to the process shown in FIG. 19, even when the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny do not completely match the registered arrangement pattern, the registered arrangement pattern that partially matches is used. An arrangement pattern can be specified (steps 1610 and 1616). At this time, by considering the number of peaks in the direction with the highest individual maximum height H1 out of the number Nx in the X-axis direction and the number Ny in the Y-axis direction, the arrangement pattern of the product can be specified with high accuracy. . This is because the number of peaks in the direction with the highest individual maximum height H1 out of the number of peaks in the X-axis direction Nx and the number of peaks in the Y-axis direction Ny is more reliable than the number of peaks in the lower direction. It is because it is expensive.

尚、図19に示す処理と図17に示した処理とを組み合わせる場合、図17に示すステップ1704において、個体最高高さH1が一定値以上ある場合に限り、X軸方向山数Nx及びY軸方向山数Nyを算出してもよい。即ち、図17に示した処理では、個体最高高さH1を考慮せずにX軸方向山数Nx及びY軸方向山数Nyを算出しているが、個体最高高さH1が一定値以上ある場合に限り、X軸方向山数Nx及びY軸方向山数Nyを算出してもよい。   When the process shown in FIG. 19 and the process shown in FIG. 17 are combined, the number of peaks in the X-axis direction Nx and the Y-axis only in the case where the individual maximum height H1 is greater than or equal to a certain value in step 1704 shown in FIG. The number of direction peaks Ny may be calculated. That is, in the process shown in FIG. 17, the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny are calculated without considering the individual maximum height H1, but the individual maximum height H1 is a certain value or more. Only in some cases, the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny may be calculated.

また、図19に示す処理と図17に示した処理とを組み合わせる場合、上記の例では、X軸方向山数Nx及びY軸方向山数Nyと登録配置パターンとの整合性を判断しているが、他のパラメータと登録配置パターンとの整合性を判断してもよい。他のパラメータは、X軸方向山数Nx及びY軸方向山数Nyに関連するパラメータであり、例えば、図17のステップ1702で選択した区切りポイントの数であってもよい。   Further, when the process shown in FIG. 19 and the process shown in FIG. 17 are combined, in the above example, the consistency between the X-axis direction mountain number Nx and the Y-axis direction mountain number Ny and the registered arrangement pattern is determined. However, the consistency between the other parameters and the registered arrangement pattern may be determined. The other parameter is a parameter related to the number of peaks Nx in the X-axis direction and the number of peaks Ny in the Y-axis direction, and may be, for example, the number of separation points selected in Step 1702 of FIG.

尚、図19に示す処理は、図16に示した処理と組み合わせて実行されてもよい。例えば、図16に示した処理において、ステップ1618に進む場合に、図19に示す処理(図17に示した処理)が実行されてもよい。即ち、図16に示す方法により商品の配置パターンが特定できない場合に、図19に示した方法により商品の配置パターンを特定してもよい。或いは、逆に、図19に示した処理において、ステップ1618に進む場合に、図16に示す処理(図13に示した処理)が実行されてもよい。   The process shown in FIG. 19 may be executed in combination with the process shown in FIG. For example, in the process shown in FIG. 16, when the process proceeds to step 1618, the process shown in FIG. 19 (the process shown in FIG. 17) may be executed. That is, when the product arrangement pattern cannot be specified by the method shown in FIG. 16, the product arrangement pattern may be specified by the method shown in FIG. Or, conversely, in the process shown in FIG. 19, when the process proceeds to step 1618, the process shown in FIG. 16 (the process shown in FIG. 13) may be executed.

図21は、図6のステップ608の処理(個体サイズ検出処理)の一例を示すフローチャートである。   FIG. 21 is a flowchart showing an example of the processing (individual size detection processing) in step 608 of FIG.

ステップ2100では、処理装置100は、特定した配置パターンに基づいて、モデル商品容器内の商品に関する最大個体サイズを算出する。最大個体サイズは、商品配置範囲に係る画素領域のサイズを配置パターンに基づくX軸方向及びY軸方向のそれぞれの商品個数で割ることで算出されてもよい。図22に示す例は、4×3の配置パターンが特定された例であり、この場合、最大個体サイズは、商品配置範囲に係る画素領域のX軸方向の長さを4で均等に割り且つ商品配置範囲に係る画素領域のY軸方向の長さを3で均等に割ることで算出される。   In step 2100, the processing apparatus 100 calculates the maximum individual size related to the product in the model product container based on the identified arrangement pattern. The maximum individual size may be calculated by dividing the size of the pixel area related to the product arrangement range by the number of products in the X-axis direction and the Y-axis direction based on the arrangement pattern. The example shown in FIG. 22 is an example in which a 4 × 3 arrangement pattern is specified. In this case, the maximum individual size is obtained by equally dividing the length in the X-axis direction of the pixel area related to the product arrangement range by 4 and It is calculated by equally dividing the length of the pixel area in the product arrangement range in the Y-axis direction by 3.

ステップ2102では、処理装置100は、上記ステップ2100で得た最大個体サイズに基づいて、距離画像内にノイズ除去面積以上且つ最大個体サイズ以下の画素集合が存在するか否かを判定する。ノイズ除去面積とは、距離画像内のノイズに係る画素集合を除去するための設定値である。ノイズ除去面積以上且つ最大個体サイズ以下の画素集合は、モデル商品容器の底面よりも僅かに高い高さ(所定の閾値)で探索されてよい。即ち、ノイズ除去面積以上且つ最大個体サイズ以下の画素集合は、所定の閾値以上の距離情報を持つ画素の中から探索される。これは、商品の断面(Z軸方向視の断面)はモデル商品容器の底面付近の高さで標準的なサイズとなっているものが多いことによる。換言すると、モデル商品容器の底面から比較的高い位置で探索すると、実際の商品のサイズよりも小さい画素集合(商品の上部に対応する画素集合)が探索される可能性が高いためである。距離画像内にノイズ除去面積以上且つ最大個体サイズ以下の画素集合が存在する場合は、ステップ2104に進み、それ以外の場合は、ステップ2106に進む。   In step 2102, based on the maximum individual size obtained in step 2100, the processing apparatus 100 determines whether or not a pixel set having a noise removal area that is greater than or equal to the maximum individual size exists in the distance image. The noise removal area is a set value for removing a pixel set related to noise in the distance image. A pixel set not less than the noise removal area and not more than the maximum individual size may be searched at a height (predetermined threshold) slightly higher than the bottom surface of the model product container. That is, a pixel set having a noise removal area that is equal to or greater than the maximum individual size is searched for from pixels having distance information that is equal to or greater than a predetermined threshold. This is because the cross section of the product (the cross section viewed in the Z-axis direction) is often a standard size at a height near the bottom surface of the model product container. In other words, when searching at a relatively high position from the bottom surface of the model product container, there is a high possibility that a pixel set smaller than the actual product size (a pixel set corresponding to the upper part of the product) is searched. If there is a pixel set in the distance image that is larger than the noise removal area and smaller than the maximum individual size, the process proceeds to step 2104; otherwise, the process proceeds to step 2106.

ステップ2104では、処理装置100は、上記ステップ2102で検出した画素集合のサイズを、モデル商品容器の商品に関する標準個体サイズとして算出する。標準個体サイズは、上記ステップ2102で検出した画素集合の外接矩形で表されてもよい。このとき、外接矩形は、画素集合内の画素に対して外接しつつ完全に囲繞するように形成されてもよいし、各辺が画素集合内の画素を例えば50%以上を含むように形成されてよい。標準個体サイズは、距離画像によりモデル商品容器の1つの商品が分離して検出されるときの当該商品の画素集合のサイズの取りうる標準値に相当する。例えば、図23に示す例では、所定の閾値以上の距離情報を持つ画素集合が2つ(G1,G2にて指示)が検出されている。画素集合G1は、ノイズ除去面積以上且つ最大個体サイズ以下の画素集合である。従って、この場合、標準個体サイズは、画素集合G1のサイズに設定される。尚、画素集合G2は、複数の商品が分離しない状態で検出された場合の画素集合に対応する。尚、かかる画素集合G2は、モデル商品容器内の複数の商品が接触しあっているときに発生する傾向がある。   In step 2104, the processing apparatus 100 calculates the size of the pixel set detected in step 2102 as the standard individual size related to the product in the model product container. The standard individual size may be represented by a circumscribed rectangle of the pixel set detected in step 2102 above. At this time, the circumscribed rectangle may be formed so as to be completely surrounded while circumscribing the pixels in the pixel set, or each side includes 50% or more of the pixels in the pixel set. It's okay. The standard individual size corresponds to a standard value that can be taken by the size of the pixel set of the product when one product in the model product container is separately detected from the distance image. For example, in the example shown in FIG. 23, two pixel sets (indicated by G1 and G2) having distance information equal to or greater than a predetermined threshold are detected. The pixel set G1 is a pixel set that is not less than the noise removal area and not more than the maximum individual size. Accordingly, in this case, the standard individual size is set to the size of the pixel set G1. The pixel set G2 corresponds to a pixel set when a plurality of products are detected without being separated. The pixel set G2 tends to occur when a plurality of products in the model product container are in contact with each other.

ステップ2106では、処理装置100は、所定の閾値以上の距離情報を持つ画素集合の全体サイズを、配置パターンに基づく商品個数で割ることで、モデル商品容器の商品に関する標準個体サイズを算出する。例えば、図24に示す例では、所定の閾値以上の距離情報を持つ画素集合G3が検出されている。この場合、画素集合G3は、配置パターンを形成する全ての商品に係る画素集合であると見なすことができる。図24に示す例は、4×3の配置パターンが特定された例であり、この場合、標準個体サイズは、画素集合G3のサイズをX軸方向及びY軸方向のそれぞれで4及び3で均等に割ることで算出される。   In step 2106, the processing apparatus 100 calculates the standard individual size related to the product of the model product container by dividing the overall size of the pixel set having distance information equal to or greater than a predetermined threshold by the number of products based on the arrangement pattern. For example, in the example illustrated in FIG. 24, a pixel set G3 having distance information equal to or greater than a predetermined threshold is detected. In this case, the pixel set G3 can be regarded as a pixel set related to all commodities forming the arrangement pattern. The example shown in FIG. 24 is an example in which a 4 × 3 arrangement pattern is specified. In this case, the standard individual size is equal to 4 and 3 in the X-axis direction and the Y-axis direction, respectively. It is calculated by dividing into two.

図25は、商品容器C1内の各商品のピッキング座標を算出する処理の一例を示すフローチャートである。図25の処理は、上述のモデル商品容器と同一の商品が入った商品容器C1を扱う商品容器ステーション52に関する処理である。尚、商品容器C1には、上述のモデル商品容器と同一の所定の配置パターンで商品が配置される。以下、一例として、上述のモデル商品容器と同一の商品が入った商品容器C1を扱う1つの商品容器ステーション52に関する処理について代表して説明する。他の商品容器ステーション52に関する処理も同様であってよい。   FIG. 25 is a flowchart illustrating an example of a process for calculating picking coordinates of each product in the product container C1. The process of FIG. 25 is a process related to the product container station 52 that handles the product container C1 containing the same product as the model product container described above. In the product container C1, products are arranged in the same predetermined arrangement pattern as the above-described model product container. Hereinafter, as an example, a process related to one product container station 52 that handles a product container C1 containing the same product as the above-described model product container will be described as a representative. The processing for the other merchandise container stations 52 may be similar.

図25の処理は、上述のモデル商品容器の後に商品容器ステーション52に供給される任意の商品容器C1に対して実行される。   The process shown in FIG. 25 is performed on an arbitrary product container C1 supplied to the product container station 52 after the model product container described above.

ステップ2500では、処理装置100は、配置パターン情報(図6に示した処理で得られるモデル商品容器内の商品の配置パターンに関する情報)を読み出す。   In step 2500, the processing apparatus 100 reads the arrangement pattern information (information relating to the arrangement pattern of the product in the model product container obtained by the process shown in FIG. 6).

ステップ2502では、処理装置100は、上記ステップ2500で読み出した配置パターン情報に基づいて、商品容器C1内の各商品のピッキング座標を算出する。例えば、処理装置100は、商品容器C1の商品配置範囲を配置パターン情報に従って均等に分割する。例えば、配置パターン情報が2×6の配置パターンを表す場合は、商品容器C1の商品配置範囲を2×6のパターンで12個の領域に分割する。処理装置100は、分割して得られる各領域の中心点を各商品のピッキング座標として算出する。   In step 2502, the processing apparatus 100 calculates picking coordinates of each product in the product container C1 based on the arrangement pattern information read in step 2500. For example, the processing apparatus 100 equally divides the product arrangement range of the product container C1 according to the arrangement pattern information. For example, when the arrangement pattern information represents a 2 × 6 arrangement pattern, the product arrangement range of the product container C1 is divided into 12 areas with a 2 × 6 pattern. The processing apparatus 100 calculates the center point of each area obtained by the division as the picking coordinates of each product.

図25に示す処理によれば、上述の如く取得した配置パターン情報を用いて、商品容器C1内の各商品のピッキング座標を算出することができる。これは、特に商品容器ステーション52に供給される商品容器C1内の商品の配置パターンが固定でない場合に好適である。即ち、商品容器ステーション52上の商品容器内の商品の種類が変化する場合に好適である。この場合、商品容器ステーション52上の商品容器内の商品の種類が変化した後の最初の商品容器C1をモデル商品容器として、図6に示す処理を実行し、その後、図25に示す処理により、変化後の商品容器C1内の各商品のピッキング座標を算出すればよい。尚、モデル商品容器内の各商品のピッキング座標についても同様の態様で算出されてもよい。   According to the process shown in FIG. 25, the picking coordinates of each product in the product container C1 can be calculated using the arrangement pattern information acquired as described above. This is particularly suitable when the arrangement pattern of products in the product container C1 supplied to the product container station 52 is not fixed. That is, it is suitable when the type of product in the product container on the product container station 52 changes. In this case, the process shown in FIG. 6 is executed using the first product container C1 after the type of the product in the product container on the product container station 52 is changed as a model product container, and then the process shown in FIG. What is necessary is just to calculate the picking coordinate of each product in the product container C1 after the change. The picking coordinates of each product in the model product container may be calculated in the same manner.

尚、図25に示す処理(後述の図26に示す処理においても同様)において、配置パターン情報が得られない場合(ステップ1618参照)、固定(デフォルト)ピッキング座標を採用することとしてよい。配置パターン情報が得られない場合は、例えば商品の上部が真四角の断面で且つ各商品間が隙間なく密接している場合や、商品同士がX軸方向及びY軸方向の双方で接触している場合等に生じうる。このような商品については、商品容器C1内で配置位置がずれる可能性が低く、或いは、複数の商品が一方に片寄ることで形状が小さくなる可能性が低く、固定ピッキング座標によるピッキングが可能である場合が多い。   Note that in the process shown in FIG. 25 (the same applies to the process shown in FIG. 26 described later), when arrangement pattern information is not obtained (see step 1618), fixed (default) picking coordinates may be adopted. When arrangement pattern information cannot be obtained, for example, when the upper part of the product is a square cross section and the products are in close contact with each other with no gap, or the products are in contact with each other in both the X-axis direction and the Y-axis direction. This can occur when For such products, there is a low possibility that the arrangement position in the product container C1 is shifted, or the shape is less likely to be reduced by shifting a plurality of products to one side, and picking by fixed picking coordinates is possible. There are many cases.

図26は、商品容器C1内の各商品のピッキング座標を算出する処理の一例を示すフローチャートである。図26の処理は、上述のモデル商品容器と同一の商品が入った商品容器C1を扱う商品容器ステーション52に関する処理である。以下、一例として、上述のモデル商品容器と同一の商品が入った商品容器C1を扱う1つの商品容器ステーション52に関する処理について代表して説明する。他の商品容器ステーション52に関する処理も同様であってよい。   FIG. 26 is a flowchart illustrating an example of processing for calculating the picking coordinates of each product in the product container C1. The process of FIG. 26 is a process related to the product container station 52 that handles the product container C1 containing the same product as the model product container described above. Hereinafter, as an example, a process related to one product container station 52 that handles a product container C1 containing the same product as the above-described model product container will be described as a representative. The processing for the other merchandise container stations 52 may be similar.

以下では、商品容器ステーション52上の商品容器C1内の商品の種類(及びそれに伴う商品の配置パターン)が変化しない間の処理について説明する。商品容器ステーション52上の商品容器C1内の商品の種類が変化した場合は、図26の処理は、図25の処理と同様、商品の種類が変化後のモデル商品容器に対する図6に示す処理が実行された後に、実行されればよい。尚、モデル商品容器内の各商品のピッキング座標についても、以下で説明する態様で算出されてもよい。   In the following, processing while the type of product in the product container C1 on the product container station 52 (and the product arrangement pattern associated therewith) does not change will be described. When the type of the product in the product container C1 on the product container station 52 has changed, the process of FIG. 26 performs the process shown in FIG. 6 for the model product container after the change of the product type, similar to the process of FIG. It may be executed after being executed. The picking coordinates of each product in the model product container may also be calculated in the manner described below.

ステップ2600では、処理装置100は、配置パターン情報及び個体サイズ情報を読み出す。尚、個体サイズ情報は、上述の如く、図6(図21)の処理で得られるモデル商品容器内の商品の標準個体サイズ等に関する情報を含む。   In step 2600, the processing apparatus 100 reads the arrangement pattern information and the individual size information. The individual size information includes information on the standard individual size of the product in the model product container obtained by the processing of FIG. 6 (FIG. 21) as described above.

ステップ2601では、処理装置100は、距離センサ70から商品容器C1に係る距離画像を取得する。   In step 2601, the processing apparatus 100 acquires a distance image related to the product container C <b> 1 from the distance sensor 70.

ステップ2602では、処理装置100は、上記ステップ2600で得た距離画像に基づいて、高さが所定の閾値以上の画素を1、高さが所定の閾値未満の画素を0とした2値画像を作成する。所定の閾値は、商品容器C1の底面よりも僅かに高い位置の高さに対応してよい(図21の説明参照)。以下では、"1"の値を持つ画素の集合を、「商品候補画素集合」とも称する。画素の集合とは、集合内の任意の一の画素("1"の値を持つ画素)が他の一の画素("1"の値を持つ画素)と隣接し合っている状態を指す。   In step 2602, based on the distance image obtained in step 2600, the processing apparatus 100 creates a binary image in which the pixel whose height is equal to or greater than a predetermined threshold is 1 and the pixel whose height is less than the predetermined threshold is 0. create. The predetermined threshold value may correspond to the height of a position slightly higher than the bottom surface of the product container C1 (see the description of FIG. 21). Hereinafter, a set of pixels having a value of “1” is also referred to as a “product candidate pixel set”. A pixel set refers to a state in which any one pixel (a pixel having a value of “1”) in the set is adjacent to another pixel (a pixel having a value of “1”).

ステップ2603では、処理装置100は、配置パターン情報に基づいて、商品個体番号を付与する。商品個体番号は、任意の態様で付与されてよく、例えば図27には、4×4の配列パターンについての商品(計16個)の個体番号の付与ルールの一例が示されている。図27では、商品個体番号は、○内の数字で示されている。図27に示す例では、X軸方向に沿って右から左に進みつつ、Y軸方向の上から下に向かう向きで、商品個体番号が昇順に付与されている。   In step 2603, the processing apparatus 100 assigns a product individual number based on the arrangement pattern information. The product individual number may be assigned in an arbitrary manner. For example, FIG. 27 shows an example of an individual number assignment rule for products (16 items in total) for a 4 × 4 array pattern. In FIG. 27, the product individual number is indicated by a number in a circle. In the example shown in FIG. 27, product individual numbers are assigned in ascending order in the direction from the top to the bottom in the Y-axis direction while proceeding from right to left along the X-axis direction.

例えば、処理装置100は、商品候補画素集合の全てを囲繞する外形を、配置パターン情報に基づく配置パターンで分割し、それぞれの分割領域の中心座標に対応付けて商品個体番号を付与する。尚、この分割領域は、商品が1つ存在しうると推定される領域に対応するが、ここでの中心座標は、後述の如く、そのままピッキング座標として用いられない。即ち、中心座標は、商品容器C1内の各商品に商品個体番号を付与するときに各商品を特定するための固有情報に相当する。尚、ステップ2603の処理は、ある商品容器C1に対する初回の処理時においてのみ実行されてもよい。   For example, the processing device 100 divides the outer shape surrounding all of the product candidate pixel sets by the arrangement pattern based on the arrangement pattern information, and assigns the product individual number in association with the center coordinates of each divided area. This divided area corresponds to an area where it is estimated that one product can exist, but the center coordinates here are not used as picking coordinates as described later. That is, the center coordinates correspond to unique information for specifying each product when a product individual number is assigned to each product in the product container C1. Note that the processing in step 2603 may be executed only during the first processing for a certain product container C1.

ステップ2604では、処理装置100は、個体サイズ情報の標準個体サイズに基づいて、最大個体サイズを算出する。処理装置100は、標準個体サイズに対して所定の拡大率K1(>1)を乗じた値を最大個体サイズとして算出してよい。これは、商品容器C1内に商品が斜めに配置されること等に起因して、標準個体サイズよりも大きいサイズの商品候補画素集合であっても、1商品に対応する可能性があるためである。尚、処理装置100は、個体サイズ情報の最大個体サイズをそのまま利用してもよい。   In step 2604, the processing apparatus 100 calculates the maximum individual size based on the standard individual size of the individual size information. The processing apparatus 100 may calculate a value obtained by multiplying the standard individual size by a predetermined enlargement ratio K1 (> 1) as the maximum individual size. This is because a product candidate pixel set having a size larger than the standard individual size may correspond to one product due to the fact that the product is arranged obliquely in the product container C1. is there. Note that the processing apparatus 100 may use the maximum individual size of the individual size information as it is.

ステップ2606では、処理装置100は、個体サイズ情報の標準個体サイズに基づいて、最小個体サイズを算出する。処理装置100は、標準個体サイズに対して所定の縮小率K2(<1)を乗じた値を最小個体サイズとして算出してよい。これは、商品容器C1内に商品が1方向に片寄って配置されること等に起因して、標準個体サイズよりも小さいサイズの商品候補画素集合であっても、1商品に対応する可能性があるためである。   In step 2606, the processing apparatus 100 calculates the minimum individual size based on the standard individual size of the individual size information. The processing apparatus 100 may calculate a value obtained by multiplying the standard individual size by a predetermined reduction rate K2 (<1) as the minimum individual size. This is because the product candidate pixel set having a size smaller than the standard individual size may correspond to one product because the product is arranged in one direction in the product container C1. Because there is.

ステップ2608では、処理装置100は、上記ステップ2606で得た最小個体サイズ以上且つ上記ステップ2604で得た最大個体サイズ以下のサイズを持つ商品候補画素集合が存在するか否かを判定する。例えば、図28に示す例では、2つの商品候補画素集合G1,G2が検出されている。商品候補画素集合G1は、最小個体サイズ以上且つ最大個体サイズ以下の商品候補画素集合である。この場合、本ステップ2608の判定結果は肯定判定となる。本ステップ2608において、最小個体サイズ以上且つ最大個体サイズ以下のサイズを持つ商品候補画素集合が存在する場合は、ステップ2610に進み、それ以外の場合は、ステップ2612に進む。尚、最小個体サイズ以上且つ最大個体サイズ以下のサイズを持つ商品候補画素集合は、複数検出される場合もある。   In step 2608, the processing apparatus 100 determines whether or not there is a candidate product pixel set having a size not less than the minimum individual size obtained in step 2606 and not more than the maximum individual size obtained in step 2604. For example, in the example shown in FIG. 28, two product candidate pixel sets G1 and G2 are detected. The product candidate pixel set G1 is a product candidate pixel set that is not less than the minimum individual size and not more than the maximum individual size. In this case, the determination result of this step 2608 is affirmative. In this step 2608, if there is a candidate product pixel set having a size not less than the minimum individual size and not more than the maximum individual size, the process proceeds to step 2610, and otherwise, the process proceeds to step 2612. A plurality of product candidate pixel sets having a size not less than the minimum individual size and not more than the maximum individual size may be detected.

ステップ2610では、処理装置100は、最小個体サイズ以上且つ最大個体サイズ以下のサイズを持つ商品候補画素集合を、1つの商品に係る画素集合(以下、「商品画素集合」という)と認識する。即ち、処理装置100は、1つの商品に係る分離した商品画素集合と認識する。また、最小個体サイズ以上且つ最大個体サイズ以下のサイズを持つ商品候補画素集合が複数検出された場合は、処理装置100は、それぞれの商品候補画素集合を商品画素集合として認識する。尚、処理装置100は、分離した商品画素集合のサイズを算出し、算出したサイズを標準個体サイズとして置き換えてもよいし、個体サイズ情報の標準個体サイズを平均化して補正してもよい。   In step 2610, the processing apparatus 100 recognizes a product candidate pixel set having a size not less than the minimum individual size and not more than the maximum individual size as a pixel set related to one product (hereinafter referred to as “product pixel set”). In other words, the processing apparatus 100 recognizes a separated product pixel set related to one product. When a plurality of product candidate pixel sets having a size greater than the minimum individual size and less than or equal to the maximum individual size are detected, the processing apparatus 100 recognizes each product candidate pixel set as a product pixel set. Note that the processing apparatus 100 may calculate the size of the separated product pixel set, replace the calculated size with a standard individual size, or average the standard individual size of the individual size information and correct it.

ステップ2612では、処理装置100は、上記ステップ2604で得た最大個体サイズよりも大きい商品候補画素集合が存在するか否かを判定する。例えば、図28に示す例では、商品候補画素集合G2は、最大個体サイズよりもサイズが大きい。この場合、本ステップ2612の判定結果は肯定判定となる。最大個体サイズよりも大きい商品候補画素集合が存在する場合は、ステップ2614に進み、それ以外の場合は、ステップ2620に進む。尚、最大個体サイズよりもサイズが大きい商品候補画素集合は、複数検出される場合もある。   In step 2612, the processing apparatus 100 determines whether there is a product candidate pixel set larger than the maximum individual size obtained in step 2604. For example, in the example shown in FIG. 28, the commodity candidate pixel set G2 has a size larger than the maximum individual size. In this case, the determination result of this step 2612 is affirmative. If a product candidate pixel set larger than the maximum individual size exists, the process proceeds to step 2614. Otherwise, the process proceeds to step 2620. A plurality of product candidate pixel sets having a size larger than the maximum individual size may be detected.

ステップ2614では、処理装置100は、最大個体サイズよりもサイズが大きい商品候補画素集合を、複数の商品(接触しあっている商品)に係る画素集合(以下、「接触商品画素集合」ともいう)と認識する。処理装置100は、接触商品画素集合に対するX軸方向及びY軸方向のそれぞれの分割数(接触商品画素集合に含まれる商品数)を算出する。例えば、処理装置100は、接触商品画素集合のX軸方向の長さを、標準個体サイズのX軸方向の長さで割って得られる整数値を、接触商品画素集合に含まれるX軸方向の分割数として算出する。同様に、処理装置100は、接触商品画素集合のY軸方向の長さを、標準個体サイズのY軸方向の長さで割って得られる整数値を、接触商品画素集合に含まれるY軸方向の分割数として算出する。尚、接触商品画素集合の形状が矩形でない場合は、まず、接触商品画素集合を、標準個体サイズのY軸方向の長さで均等分割し、それぞれの分割領域ついて、標準個体サイズのX軸方向の長さで均等分割し、分割数を算出してもよい。例えば、図28に示す例では、処理装置100は、接触商品画素集合G2を、標準個体サイズのY軸方向の長さで均等分割し、それぞれの分割領域G21,G22,G23ついて、標準個体サイズのX軸方向の長さで均等分割し、分割数を算出する。   In step 2614, the processing apparatus 100 converts a product candidate pixel set having a size larger than the maximum individual size into a pixel set related to a plurality of products (products in contact with each other) (hereinafter also referred to as “contact product pixel set”). Recognize. The processing apparatus 100 calculates the number of divisions (the number of products included in the contact product pixel set) in the X-axis direction and the Y-axis direction with respect to the contact product pixel set. For example, the processing device 100 calculates an integer value obtained by dividing the length in the X-axis direction of the contact product pixel set by the length in the X-axis direction of the standard individual size in the X-axis direction included in the contact product pixel set. Calculated as the number of divisions. Similarly, the processing apparatus 100 determines the integer value obtained by dividing the length in the Y-axis direction of the contact product pixel set by the length in the Y-axis direction of the standard individual size in the Y-axis direction included in the contact product pixel set. It is calculated as the number of divisions. If the shape of the contact product pixel set is not rectangular, first, the contact product pixel set is equally divided by the length of the standard individual size in the Y-axis direction, and the X-axis direction of the standard individual size is obtained for each divided region. The number of divisions may be calculated by equally dividing the length. For example, in the example shown in FIG. 28, the processing device 100 equally divides the contact product pixel set G2 by the length of the standard individual size in the Y-axis direction, and the standard individual size for each of the divided regions G21, G22, G23. Are equally divided by the length in the X-axis direction, and the number of divisions is calculated.

ステップ2616では、処理装置100は、上記ステップ2614で得たX軸方向及びY軸方向の各分割数に基づいて、接触商品画素集合をX軸方向及びY軸方向のそれぞれで均等に分割する。尚、接触商品画素集合の形状が矩形でない場合は、処理装置100は、まず、接触商品画素集合をY軸方向で均等分割し、それぞれの分割領域ついて、X軸方向で均等分割する。例えば、図28に示す例では、処理装置100は、接触商品画素集合G2をY軸方向で均等分割し、それぞれの分割領域G21,G22,G23ついてX軸方向で均等分割する。この結果、接触商品画素集合が複数の分割領域へと分割され、各分割領域が1つの商品に対応することになる。以下では、この各分割領域を「分割枠」と称する。分割枠は、分割領域そのものであってもよいし、分割領域に外接する矩形の枠であってもよい。以下では、一例として、分割枠は、分割領域に外接する矩形の枠であるとする。このとき、分割枠は、対応する分割領域内の画素を、外接しつつ完全に囲繞するように配置されてもよいし、各辺が例えば50%以上を含むように配置されてよい。以下では、分割枠内の画素集合は、1つの商品に係る画素集合(接触商品画素集合内の各商品画素集合)に対応するので、商品画素集合とも称する。   In step 2616, the processing apparatus 100 equally divides the contact product pixel set in each of the X axis direction and the Y axis direction based on the number of divisions in the X axis direction and the Y axis direction obtained in step 2614. When the shape of the contact product pixel set is not rectangular, the processing device 100 first equally divides the contact product pixel set in the Y-axis direction and equally divides each divided region in the X-axis direction. For example, in the example shown in FIG. 28, the processing device 100 equally divides the contact product pixel set G2 in the Y-axis direction, and equally divides each divided region G21, G22, G23 in the X-axis direction. As a result, the contact product pixel set is divided into a plurality of divided regions, and each divided region corresponds to one product. Hereinafter, each of the divided areas is referred to as a “divided frame”. The divided frame may be the divided area itself, or may be a rectangular frame that circumscribes the divided area. In the following, as an example, the division frame is assumed to be a rectangular frame circumscribing the division area. At this time, the divided frame may be arranged so as to completely surround the pixels in the corresponding divided area, or may be arranged so that each side includes, for example, 50% or more. Hereinafter, the pixel set in the division frame corresponds to a pixel set related to one product (each product pixel set in the contact product pixel set), and is also referred to as a product pixel set.

ステップ2618では、処理装置100は、上述の如く算出した分割枠のサイズを、必要に応じて補正する。例えば、分割枠のサイズが上記ステップ2606で得た最小個体サイズ以上且つ上記ステップ2604で得た最大個体サイズ以下である場合は、処理装置100は、分割枠のサイズを補正しない。他方、分割枠のサイズが上記ステップ2606で得た最小個体サイズ未満である場合は、処理装置100は、上記ステップ2606で得た最小個体サイズに分割枠のサイズを補正する。また、分割枠のサイズが上記ステップ2604で得た最大個体サイズよりも大きい場合は、処理装置100は、上記ステップ2604で得た最大個体サイズに分割枠のサイズを補正する。   In step 2618, the processing apparatus 100 corrects the size of the divided frame calculated as described above as necessary. For example, when the size of the divided frame is not less than the minimum individual size obtained in step 2606 and not more than the maximum individual size obtained in step 2604, the processing device 100 does not correct the size of the divided frame. On the other hand, if the size of the divided frame is less than the minimum individual size obtained in step 2606, the processing apparatus 100 corrects the size of the divided frame to the minimum individual size obtained in step 2606. If the size of the divided frame is larger than the maximum individual size obtained in step 2604, the processing apparatus 100 corrects the size of the divided frame to the maximum individual size obtained in step 2604.

また、ステップ2618では、処理装置100は、分割枠の位置を、必要に応じて補正する。この位置の補正は、例えば、上記ステップ2616で得た分割枠のサイズが、上述の如く、最大個体サイズ又は最小個体サイズに補正された場合等に必要となりうる。即ち、分割枠のサイズを上述の如く補正すると、特定の分割枠について、サイズに余りや不足が生じる場合がある。また、分割枠間で隙間が発生する場合がある。この場合、処理装置100は、接触商品画素集合に係る複数の商品のうちの最もピッキング順が早い商品(次のピッキング対象の商品)に係る分割枠の位置を基準として、当該分割枠に向けて他の分割枠を詰めていく態様で、分割枠の位置を補正してもよい。例えば、ピッキング順が図27に示す商品個体番号の昇順に対応するとき、処理装置100は、X軸方向に沿って左から右に、かつ、Y軸方向の下から上に向かう向きで、各分割枠の位置を詰めていく。尚、処理装置100は、必要に応じて、次のピッキング対象の商品に係る分割枠についても同様の方向に詰めることで補正してもよい。   In Step 2618, processing device 100 corrects the position of a division frame as needed. This position correction may be necessary, for example, when the size of the divided frame obtained in step 2616 is corrected to the maximum individual size or the minimum individual size as described above. In other words, when the size of the divided frame is corrected as described above, there may be a case where a particular divided frame is excessive or insufficient in size. In addition, a gap may occur between the divided frames. In this case, the processing apparatus 100 is directed toward the divided frame with reference to the position of the divided frame related to the product with the earliest picking order (the product to be picked next) among the plurality of products related to the contact product pixel set. You may correct | amend the position of a division frame in the aspect which closes another division frame. For example, when the picking order corresponds to the ascending order of the product individual numbers shown in FIG. 27, the processing device 100 moves from left to right along the X-axis direction and from bottom to top along the Y-axis direction. The position of the dividing frame is reduced. Note that the processing device 100 may correct the divided frames related to the next picking target product in the same direction as necessary.

ステップ2620では、処理装置100は、各商品画素集合の面積の中心点をそれぞれの商品に係るピッキング座標として算出する。例えば、接触商品画素集合の場合、処理装置100は、接触商品画素集合を各商品画素集合へと分割したときの分割枠の中心点をそれぞれの商品に係るピッキング座標として算出する。また、分離した商品画素集合の場合(ステップ2610参照)、処理装置100は、分離した商品画素集合の外接矩形の中心点をピッキング座標として算出してもよい。このとき、外接矩形は、分離した商品画素集合内の画素を、各辺が例えば50%以上を含むように形成されてよい。   In step 2620, the processing apparatus 100 calculates the center point of the area of each product pixel set as the picking coordinates related to each product. For example, in the case of a contact product pixel set, the processing device 100 calculates the center point of the division frame when the contact product pixel set is divided into each product pixel set as picking coordinates related to each product. In the case of a separated product pixel set (see step 2610), the processing device 100 may calculate the center point of the circumscribed rectangle of the separated product pixel set as picking coordinates. At this time, the circumscribed rectangle may be formed such that each side includes, for example, 50% or more of the pixels in the separated product pixel set.

ステップ2622では、処理装置100は、上記ステップ2620で算出したピッキング座標に基づいて、次のピッキング対象の商品(1つ以上の商品の場合もある)をロボット50によりピッキングさせる。即ち、処理装置100は、ピッキング指示を出力する。この結果、商品容器C1内の商品の配置パターンは変化し、或いは、商品容器C1内の商品が全てなくなることで、新たな商品容器C1が商品容器ステーション52に供給される。処理装置100は、ピッキング指示出力後、ロボット50からの情報に基づいて、商品容器C1内の商品の残存状態を更新する。商品容器C1内の商品の残存状態とは、例えば、残りの商品の数(残数)や残りの商品に係る商品個体番号である。尚、商品容器C1内の商品の残存状態に関する情報は、例えばステップ2618で次のピッキング対象の商品を特定するために使用されてよい。ステップ2622の処理が終了すると、ステップ2601に戻り、処理が繰り返される。   In step 2622, the processing apparatus 100 causes the robot 50 to pick the next product to be picked (may be one or more products) based on the picking coordinates calculated in step 2620. That is, the processing apparatus 100 outputs a picking instruction. As a result, the arrangement pattern of the merchandise in the merchandise container C1 changes, or all the merchandise in the merchandise container C1 disappears, so that a new merchandise container C1 is supplied to the merchandise container station 52. After outputting the picking instruction, the processing apparatus 100 updates the remaining state of the product in the product container C1 based on information from the robot 50. The remaining state of the product in the product container C1 is, for example, the number of remaining products (remaining number) or a product individual number related to the remaining products. Note that the information regarding the remaining state of the product in the product container C1 may be used, for example, in order to specify the next product to be picked in step 2618. When the process of step 2622 ends, the process returns to step 2601 and the process is repeated.

図26に示す処理によれば、商品容器C1に係る距離画像に基づいて、商品容器C1内の各商品のピッキング座標を算出することができる。これにより、商品容器C1内の商品の片寄り等に起因して商品容器C1毎に僅かながら変化しうる各商品の位置に精度良く適合するピッキング座標を算出することができる。また、配置パターン情報を利用するので、距離画像において複数の商品に係る画素集合が互いに分離されていない場合でも、これらの商品のピッキング座標を精度良く算出することができる。また、図26に示す処理によれば、接触商品画素集合を分割する分割枠のサイズや位置を補正するので、商品容器C1内の各商品の接触状態(密接度合等)が反映された高い精度のピッキング座標を算出することができる。   According to the process shown in FIG. 26, the picking coordinates of each product in the product container C1 can be calculated based on the distance image related to the product container C1. As a result, it is possible to calculate the picking coordinates that accurately match the position of each product that can slightly change for each product container C1 due to the deviation of the product in the product container C1. In addition, since the arrangement pattern information is used, picking coordinates of these products can be calculated with high accuracy even when pixel sets relating to a plurality of products are not separated from each other in the distance image. In addition, according to the processing shown in FIG. 26, the size and position of the division frame that divides the contact product pixel set is corrected, so that the high accuracy that reflects the contact state (degree of closeness, etc.) of each product in the product container C1. The picking coordinates can be calculated.

尚、図26に示す処理によれば、ステップ2601からの処理は、新たな商品容器C1が商品容器ステーション52に供給される毎に実行されると共に、商品容器C1内の商品がロボット50によるピッキングされる毎に実行される。これにより、商品容器C1毎に僅かに異なりうる各商品の位置に対しても、高い精度のピッキング座標を算出することができる。尚、商品容器C1内の商品がロボット50によるピッキングされると、ピッキング動作による外乱等に起因して残りの商品の位置がわずかに変化する場合もある。図26に示す処理によれば、商品容器C1内の商品がロボット50によるピッキングされる毎にステップ2601からの処理が実行されるので、かかる変化が生じた場合でも、高い精度のピッキング座標を算出することができる。   26, the processing from step 2601 is executed every time a new product container C1 is supplied to the product container station 52, and the product in the product container C1 is picked by the robot 50. It is executed whenever it is done. Thereby, it is possible to calculate the picking coordinates with high accuracy even for the position of each product that may be slightly different for each product container C1. Note that when the product in the product container C1 is picked by the robot 50, the position of the remaining product may slightly change due to disturbance caused by the picking operation. According to the process shown in FIG. 26, since the process from step 2601 is executed every time the product in the product container C1 is picked by the robot 50, the picking coordinates with high accuracy are calculated even when such a change occurs. can do.

尚、図26に示す処理では、分割枠のサイズを可変しているが、分割枠のサイズは、固定値であってもよい。この場合、固定値は、個体サイズ情報の標準個体サイズ又は上述の置き換え後の標準個体サイズであってもよい。   In the process shown in FIG. 26, the size of the divided frame is variable, but the size of the divided frame may be a fixed value. In this case, the fixed value may be the standard individual size of the individual size information or the standard individual size after the replacement described above.

また、図26に示す処理では、ステップ2603で得た中心座標は、ピッキング座標として使用されない。即ち、ピッキング座標は、ステップ2604乃至2620の処理により算出される。但し、ステップ2603で得た中心座標は、ピッキング座標として使用されてもよい。この場合、ステップ2604乃至2620の処理は省略されてもよい。   In the processing shown in FIG. 26, the center coordinates obtained in step 2603 are not used as picking coordinates. That is, the picking coordinates are calculated by the processing in steps 2604 to 2620. However, the center coordinates obtained in step 2603 may be used as picking coordinates. In this case, the processing of steps 2604 to 2620 may be omitted.

ところで、物流業務におけるコスト効率の改善施策として、上述の如くロボット50を用いた商品ピッキング作業が考えられる。一般的に、ロボットは、特定の位置に配置された商品をピッキング対象とする、あるいは1つの商品種としては商品自体の形状が一定であるものを対象するのが主流であった。このため、予め決められた固定座標によるピッキング、あるいは画像認識技術を用い、物体の存在位置をロボット座標として指示することで、ロボットによるピッキングが可能であった。   By the way, as a measure for improving cost efficiency in logistics operations, product picking work using the robot 50 as described above can be considered. In general, the mainstream of robots is to target a product placed at a specific position as a picking object, or to target a product whose shape of the product itself is constant as one product type. For this reason, picking by a fixed coordinate determined in advance or picking by a robot is possible by using an image recognition technique to indicate the position of an object as robot coordinates.

しかし、特に袋物の商品については形状が安定しないため、実際にピッキング作業向けに(例えば商品容器ステーション52に)届けられる段階では、前工程の搬送などの影響を受け、各商品が商品容器C1内の特定位置に配置されていない場合が多々発生する。また、昨今では消費者のニーズの多様化により、メーカー・卸売業者などから店舗に対する納品傾向が少量多品種化しており、店舗へ納入する容器(搬送容器Cや商品容器C1)は同一のものでありながら、実際の商品は様々な形状が存在する。また、商品の形状の違いに起因して、各商品種における商品容器C1内の商品の配置パターンも多様となるが、作業者による物流業務においてはこの情報が不要である。このため、商品容器C1内の入数の登録はあるものの、配置パターンについては登録がないことが多い。或いは、同一商品であっても生産ラインの特性(出荷工場)によって複数種の配置パターンとなるケースも発生する。   However, since the shape of the product in particular is not stable, in the stage where it is actually delivered for picking work (for example, to the product container station 52), each product is received in the product container C1 due to the influence of transport in the previous process. There are many cases where it is not arranged at a specific position. In recent years, due to diversification of consumer needs, the trend of delivery to stores from manufacturers / wholesalers has increased in small quantities, and the containers (transport containers C and product containers C1) delivered to stores are the same. However, there are various shapes for actual products. Further, due to the difference in the shape of the product, the arrangement pattern of the product in the product container C1 for each product type varies, but this information is not necessary for the logistics work by the operator. For this reason, although there is registration of the number in the product container C1, there is often no registration of the arrangement pattern. Or even if it is the same goods, the case where it becomes a multiple types of arrangement pattern by the characteristic (shipping factory) of a production line also occurs.

従って、特に袋物の商品について予め決められた固定座標によってロボットによるピッキングを行う場合、ピッキングミスが多発する要因となり、作業効率、品質の面で好ましくない。これらの商品群を画像認識技術を用いてピッキング座標を検出する場合、単純な画像認識技術では各商品の存在位置の検出が困難である。これは、各商品の配置が特定位置にないこと、また商品容器C1内の商品同士と接触していることで各商品の区切りが不明確になることに起因する。   Accordingly, when picking with a robot using fixed coordinates determined in advance for a bag product, picking mistakes frequently occur, which is not preferable in terms of work efficiency and quality. When picking coordinates of these product groups using image recognition technology, it is difficult to detect the location of each product using simple image recognition technology. This is due to the fact that the placement of each product is not at a specific position and that the separation of each product is unclear due to contact with the products in the product container C1.

この点、本実施例によれば、上述の如く、図6に示すような前処理を行うことで、商品の配置パターンの登録がない場合でも、商品の配置パターンを検出することができる。これにより、商品の配置パターンが稼働中に多様に変動する場合であっても、変動後の配置パターンを検出することができる。また、本実施例によれば、商品容器C1毎に距離画像を取得し、ピッキング座標を算出するので、商品容器C1毎に商品の配置位置が微妙に異なる場合であっても、精度の良いピッキング座標を算出することができる。また、ピッキング毎に距離画像を取得し、ピッキング座標を更新するので、ピッキングに伴って商品の配置位置が変化した場合でも、精度の良いピッキング座標を算出することができる。また、本実施例によれば、登録配置パターンとの整合性を考慮して、商品の配置パターンを特定するので、各商品の区切りが不明確である場合でも、精度の良いピッキング座標を算出することができる。これにより、ピッキングミスの頻度を低減することができる。また、本実施例によれば、上述の如く、距離画像を用いて商品の配置パターンを検出するので、複数のセンサ(例えばカメラとレーザーセンサ)を組み合わせて用いる必要がなく、簡易な検出手段を実現することができる。   In this regard, according to the present embodiment, as described above, by performing the preprocessing as shown in FIG. 6, the product arrangement pattern can be detected even when the product arrangement pattern is not registered. Thereby, even if it is a case where the arrangement pattern of goods changes variously during operation, the arrangement pattern after change can be detected. In addition, according to the present embodiment, since the distance image is acquired for each product container C1 and the picking coordinates are calculated, accurate picking is possible even when the product placement position is slightly different for each product container C1. Coordinates can be calculated. In addition, since the distance image is acquired for each picking and the picking coordinates are updated, the picking coordinates with high accuracy can be calculated even when the arrangement position of the product is changed due to the picking. In addition, according to the present embodiment, the arrangement pattern of the product is specified in consideration of the consistency with the registered arrangement pattern. Therefore, even when the division of each product is unclear, accurate picking coordinates are calculated. be able to. Thereby, the frequency of picking mistakes can be reduced. Further, according to the present embodiment, as described above, since the arrangement pattern of the product is detected using the distance image, it is not necessary to use a combination of a plurality of sensors (for example, a camera and a laser sensor), and simple detection means can be used. Can be realized.

以上、各実施例について詳述したが、特定の実施例に限定されるものではなく、特許請求の範囲に記載された範囲内において、種々の変形及び変更が可能である。また、前述した実施例の構成要素を全部又は複数を組み合わせることも可能である。   Although each embodiment has been described in detail above, it is not limited to a specific embodiment, and various modifications and changes can be made within the scope described in the claims. It is also possible to combine all or a plurality of the components of the above-described embodiments.

例えば、上述した実施例では、モデル商品容器に後続する商品容器についてはモデル商品容器と同じ商品の配置パターンであることを考慮して、モデル商品容器に対してのみヒストグラム等を用いて配置パターンを特定している。しかしながら、商品容器内の商品の配置パターンが多様に変化する設備等においては、各商品容器に対しても同様のヒストグラム等を用いて配置パターンを特定してもよい。   For example, in the above-described embodiment, in consideration of the fact that the product container following the model product container has the same product placement pattern as the model product container, the placement pattern is set only for the model product container using a histogram or the like. I have identified. However, in equipment or the like in which the arrangement pattern of the products in the product container changes variously, the arrangement pattern may be specified for each product container using the same histogram or the like.

なお、以上の実施例に関し、さらに以下の付記を開示する。
(付記1)
容器内の底面をXY平面としたとき、ロボットによるピッキング予定の商品が複数配置された容器内のZ軸方向の距離情報を、X軸方向の複数位置及びY軸方向の複数位置で取得するセンサと、
前記X軸方向の複数位置及び前記Y軸方向の複数位置での前記距離情報から得られるX軸方向及びY軸方向のそれぞれに沿った距離変化パターンに基づいて、前記容器内のX軸方向及びY軸方向のそれぞれの方向における前記商品の配置数を算出する処理装置と含む、商品ピッキング装置。
(付記2)
X軸方向に沿った前記距離変化パターンは、前記X軸方向の複数位置において前記Y軸方向の複数位置での前記距離情報を平均または累計したヒストグラムを含み、
Y軸方向に沿った前記距離変化パターンは、前記Y軸方向の複数位置において前記X軸方向の複数位置での前記距離情報を平均または累計したヒストグラムを含む、付記1に記載の商品ピッキング装置。
(付記3)
前記処理装置は、X軸方向に沿った前記距離変化パターンにおける山部の数を算出すると共に、Y軸方向に沿った前記距離変化パターンにおける山部の数を算出し、算出した山部の数に基づいて、前記配置数を算出する、付記1又は2に記載の商品ピッキング装置。
(付記4)
前記処理装置は、X軸方向に沿った前記距離変化パターンにおける前記山部の数と、Y軸方向に沿った前記距離変化パターンにおける前記山部の数とを、それぞれ、X軸方向及びY軸方向のそれぞれの方向における前記商品の配置数とする、付記3に記載の商品ピッキング装置。
(付記5)
前記処理装置は、X軸方向に沿った前記距離変化パターンについては、X軸方向のそれぞれの幅が均等な山部の数を算出し、Y軸方向に沿った前記距離変化パターンについては、Y軸方向のそれぞれの幅が均等な山部の数を算出する、付記3又は4に記載の商品ピッキング装置。
(付記6)
前記処理装置は、X軸方向に沿った前記距離変化パターンにおける前記山部の数と、Y軸方向に沿った前記距離変化パターンにおける前記山部の数とが、前記容器における商品の配置パターンに関する登録情報と整合する場合に、整合する登録情報に基づいて、前記配置数を算出する、付記3〜5のうちのいずれか1項に記載の商品ピッキング装置。
(付記7)
前記処理装置は、X軸方向に沿った前記距離変化パターンにおいて各山部の幅が均等となる高さ範囲を算出すると共に、Y軸方向に沿った前記距離変化パターンにおいて各山部の幅が均等となる高さ範囲を算出し、
X軸方向に沿った前記距離変化パターンにおける前記山部の数と、Y軸方向に沿った前記距離変化パターンにおける前記山部の数とが、前記容器における商品の配置パターンに関する登録情報と整合しない場合であって、X軸方向及びY軸方向のうちの前記高さ範囲が広い方の方向に係る山部の数のみが、前記登録情報と整合する場合に、前記処理装置は、整合する登録情報に基づいて、前記配置数を算出する、付記6に記載の商品ピッキング装置。
(付記8)
前記処理装置は、算出した前記配置数に基づいて、前記商品の個体サイズを算出する、付記1に記載の商品ピッキング装置。
(付記9)
前記処理装置は、前記容器における商品の配置パターンに関する登録情報に基づいて、前記登録情報に係る登録配置パターン毎に、X軸方向及びY軸方向に沿った前記距離変化パターンのそれぞれに対して商品間の区切りポイントを設定すると共に、設定した区切りポイントにおける距離情報の平均値をX軸方向及びY軸方向別に算出し、
前記処理装置は、X軸方向に関して算出した前記距離情報の平均値が最も小さい区切りポイントと、Y軸方向に関して算出した前記距離情報の平均値が最も小さい区切りポイントとに基づいて、前記配置数を算出する、付記1又は2に記載の商品ピッキング装置。
(付記10)
前記処理装置は、X軸方向及びY軸方向のいずれにおいても、算出した前記距離情報の平均値が同等に最も小さい区切りポイントが複数の登録配置パターンについて発生した場合は、対応する方向における配置数が最も多い登録配置パターンに対応する区切りポイントを用いる、付記9に記載の商品ピッキング装置。
(付記11)
前記処理装置は、X軸方向に関して算出した前記距離情報の平均値が最も小さい区切りポイントと、Y軸方向に関して算出した前記距離情報の平均値が最も小さい区切りポイントとが、前記登録情報に係る登録配置パターンと整合する場合に、整合する前記登録配置パターンに基づいて、前記配置数を算出する、付記9又は10に記載の商品ピッキング装置。
(付記12)
X軸方向に関して算出した前記距離情報の平均値が最も小さい区切りポイントと、Y軸方向に関して算出した前記距離情報の平均値が最も小さい区切りポイントとが、前記登録情報に係る登録配置パターンと整合しない場合、前記処理装置は、X軸方向及びY軸方向のうちの、前記距離情報の平均値と前記距離情報の最大値との差が大きい方の方向の区切りポイントに対応する前記登録情報に係る登録配置パターンに基づいて、前記配置数を算出する、付記11に記載の商品ピッキング装置。
(付記13)
前記処理装置は、前記配置数に基づいて、前記容器と同一の配置パターンで同一の商品が配置された別の容器内の各商品に対するピッキング座標を算出する、付記1〜12のうちのいずれか1項に記載の商品ピッキング装置。
(付記14)
前記センサは、前記容器と同一の配置パターンで同一の商品が配置された別の容器に関する前記距離情報を取得し、
前記処理装置は、前記配置数と、前記別の容器に関する前記距離情報とに基づいて、前記別の容器内の各商品に対するピッキング座標を算出する、付記1〜12のうちのいずれか1項に記載の商品ピッキング装置。
(付記15)
前記処理装置は、前記配置数に基づいて、前記商品の個体サイズを算出し、算出した前記商品の個体サイズと、前記別の容器に関する前記距離情報とに基づいて、前記ピッキング座標を算出する、付記14に記載の商品ピッキング装置。
(付記16)
前記センサは、前記ロボットより前記別の容器内の商品がピッキングされる毎に、前記距離情報を取得する、付記14又は15に記載の商品ピッキング装置。
(付記17)
前記処理装置は、前記別の容器内における商品の残存状態に関する情報に基づいて、前記ピッキング座標を算出する、付記14〜16のうちのいずれか1項に記載の商品ピッキング装置。
(付記18)
前記センサは、前記距離情報を含む距離画像を取得し、
前記処理装置は、前記別の容器の底面に対して所定距離以上を表す前記距離情報を持つ画素集合を前記距離画像内で検出し、検出した前記画素集合に基づいて、前記ピッキング座標を算出する、付記14〜17のうちのいずれか1項に記載の商品ピッキング装置。
(付記19)
前記処理装置は、前記画素集合のサイズが前記商品の個体サイズに整合する場合に、前記画素集合の中心位置に基づいて、前記画素集合に係る商品の前記ピッキング座標を算出する、付記18に記載の商品ピッキング装置。
(付記20)
前記処理装置は、前記画素集合のサイズが前記商品の個体サイズよりも有意に大きい場合には、前記配置数と、前記商品の個体サイズとに基づいて、前記画素集合の分割態様を決定し、前記画素集合を前記分割態様で分割して得られる各分割画素集合の中心位置に基づいて、前記画素集合に係る各商品の前記ピッキング座標を算出する、付記18に記載の商品ピッキング装置。
(付記21)
付記1〜20のうちのいずれか1項に記載の商品ピッキング装置の前記処理装置による各種処理を前記処理装置に実行させるプログラム。
(付記22)
容器内の底面をXY平面としたとき、ロボットによるピッキング予定の商品が複数配置された容器内のZ軸方向の距離情報を、X軸方向の各位置及びY軸方向の各位置で取得するセンサから、前記距離情報を取得し、
X軸方向の各位置及びY軸方向の各位置での前記距離情報から得られるX軸方向及びY軸方向のそれぞれに沿った距離変化パターンに基づいて、前記容器内X軸方向及びY軸方向のそれぞれの方向における前記商品の配置数を算出する、
処理をコンピューターに実行させるプログラム。
(付記23)
前記商品の配置数に基づいて、前記容器と同一の配置パターンで同一の商品が配置された別の容器内の各商品に対するピッキング座標を算出する、
処理をコンピューターに実行させる付記22に記載のプログラム。
(付記24)
容器内の底面をXY平面としたとき、ロボットによるピッキング予定の商品が複数配置された容器内のZ軸方向の距離情報を、X軸方向の複数位置及びY軸方向の複数位置で取得するセンサから、前記距離情報を取得し、
前記X軸方向の複数位置及び前記Y軸方向の複数位置での前記距離情報から得られるX軸方向及びY軸方向のそれぞれに沿った距離変化パターンに基づいて、前記容器内のX軸方向及びY軸方向のそれぞれの方向における前記商品の配置数を算出することを含む、商品ピッキング方法。
(付記25)
付記1〜24における前記商品は、袋詰めされたパン・菓子・食品類である。
In addition, the following additional remarks are disclosed regarding the above Example.
(Appendix 1)
Sensor that acquires distance information in the Z-axis direction in a container where a plurality of products to be picked by a robot are arranged at a plurality of positions in the X-axis direction and a plurality of positions in the Y-axis direction when the bottom surface in the container is the XY plane When,
Based on the distance change pattern along each of the X-axis direction and the Y-axis direction obtained from the distance information at the plurality of positions in the X-axis direction and the plurality of positions in the Y-axis direction, A merchandise picking apparatus including a processing apparatus that calculates the number of arrangements of the merchandise in each of the Y-axis directions.
(Appendix 2)
The distance change pattern along the X-axis direction includes a histogram obtained by averaging or accumulating the distance information at a plurality of positions in the Y-axis direction at a plurality of positions in the X-axis direction,
The product picking apparatus according to claim 1, wherein the distance change pattern along the Y-axis direction includes a histogram obtained by averaging or accumulating the distance information at the plurality of positions in the X-axis direction at the plurality of positions in the Y-axis direction.
(Appendix 3)
The processing device calculates the number of peaks in the distance change pattern along the X-axis direction, calculates the number of peaks in the distance change pattern along the Y-axis direction, and calculates the number of peaks The product picking device according to Supplementary Note 1 or 2, wherein the number of arrangements is calculated based on the above.
(Appendix 4)
The processing apparatus calculates the number of the crests in the distance change pattern along the X-axis direction and the number of the crests in the distance change pattern along the Y-axis direction, respectively. The product picking device according to attachment 3, wherein the number of the products is arranged in each direction.
(Appendix 5)
For the distance change pattern along the X-axis direction, the processing device calculates the number of peaks having the same width in the X-axis direction, and for the distance change pattern along the Y-axis direction, Y The product picking device according to appendix 3 or 4, which calculates the number of ridges each having an equal width in the axial direction.
(Appendix 6)
In the processing device, the number of the crests in the distance change pattern along the X-axis direction and the number of the crests in the distance change pattern along the Y-axis direction relate to the arrangement pattern of the products in the container. The product picking device according to any one of appendices 3 to 5, wherein the number of arrangements is calculated based on registration information to be matched when matching with registration information.
(Appendix 7)
The processing device calculates a height range in which the widths of the peaks in the distance change pattern along the X-axis direction are uniform, and the widths of the peaks in the distance change pattern along the Y-axis direction. Calculate a uniform height range,
The number of ridges in the distance change pattern along the X-axis direction and the number of ridges in the distance change pattern along the Y-axis direction do not match the registration information regarding the arrangement pattern of the product in the container. If only the number of peaks in the X axis direction and the Y axis direction in which the height range is wider matches the registration information, the processing apparatus registers matching information. The product picking device according to attachment 6, wherein the arrangement number is calculated based on the information.
(Appendix 8)
The product picking device according to appendix 1, wherein the processing device calculates an individual size of the product based on the calculated number of arrangements.
(Appendix 9)
The processing device, based on registration information related to the arrangement pattern of products in the container, for each registered arrangement pattern related to the registration information, for each of the distance change patterns along the X-axis direction and the Y-axis direction. Set the break point between them, and calculate the average value of the distance information at the set break point for each X-axis direction and Y-axis direction,
The processing device calculates the number of arrangements based on a separation point having the smallest average value of the distance information calculated in the X-axis direction and a separation point having the smallest average value of the distance information calculated in the Y-axis direction. The product picking device according to Supplementary Note 1 or 2, which is calculated.
(Appendix 10)
In the processing device, the number of arrangements in the corresponding direction is generated when a plurality of registered arrangement patterns have the same dividing point where the average value of the calculated distance information is the same in both the X-axis direction and the Y-axis direction. Item 10. The commodity picking apparatus according to appendix 9, wherein a delimiter point corresponding to the registered arrangement pattern having the largest number is used.
(Appendix 11)
In the processing apparatus, a registration point according to the registration information includes a separation point having the smallest average value of the distance information calculated in the X-axis direction and a separation point having the smallest average value of the distance information calculated in the Y-axis direction. The product picking device according to appendix 9 or 10, wherein the number of arrangements is calculated based on the registered arrangement pattern to be matched when matching with the arrangement pattern.
(Appendix 12)
The separation point with the smallest average value of the distance information calculated in the X-axis direction and the separation point with the smallest average value of the distance information calculated in the Y-axis direction are not consistent with the registered arrangement pattern related to the registration information. In this case, the processing device relates to the registration information corresponding to a separation point in a direction in which the difference between the average value of the distance information and the maximum value of the distance information is larger in the X-axis direction and the Y-axis direction. The product picking apparatus according to appendix 11, wherein the number of arrangements is calculated based on a registered arrangement pattern.
(Appendix 13)
The processing device calculates the picking coordinates for each product in another container in which the same product is arranged in the same arrangement pattern as the container based on the number of arrangements, any one of additional notes 1-12 The product picking apparatus according to claim 1.
(Appendix 14)
The sensor acquires the distance information regarding another container in which the same product is arranged in the same arrangement pattern as the container,
The processing apparatus calculates picking coordinates for each commodity in the another container based on the number of arrangements and the distance information regarding the another container. The product picking apparatus described.
(Appendix 15)
The processing device calculates an individual size of the product based on the number of arrangements, and calculates the picking coordinates based on the calculated individual size of the product and the distance information regarding the another container. Item 15. A product picking device according to appendix 14.
(Appendix 16)
16. The commodity picking apparatus according to appendix 14 or 15, wherein the sensor acquires the distance information each time a commodity in the another container is picked by the robot.
(Appendix 17)
The product picking device according to any one of appendices 14 to 16, wherein the processing device calculates the picking coordinates based on information related to a remaining state of a product in the another container.
(Appendix 18)
The sensor acquires a distance image including the distance information,
The processing device detects a pixel set having the distance information representing a predetermined distance or more with respect to a bottom surface of the another container in the distance image, and calculates the picking coordinates based on the detected pixel set. The commodity picking apparatus according to any one of Supplementary Notes 14 to 17.
(Appendix 19)
The processing device calculates the picking coordinates of the product related to the pixel set based on the center position of the pixel set when the size of the pixel set matches the individual size of the product. Goods picking equipment.
(Appendix 20)
When the size of the pixel set is significantly larger than the individual size of the product, the processing device determines a division mode of the pixel set based on the number of arrangements and the individual size of the product, The product picking apparatus according to appendix 18, wherein the picking coordinates of each product related to the pixel set are calculated based on a center position of each divided pixel set obtained by dividing the pixel set in the division mode.
(Appendix 21)
The program which makes the said processing apparatus perform the various processes by the said processing apparatus of the picking apparatus of any one of Additional remarks 1-20.
(Appendix 22)
Sensor that acquires distance information in the Z-axis direction in each container in the X-axis direction and each position in the Y-axis direction in the container where a plurality of products to be picked by the robot are arranged when the bottom surface in the container is the XY plane To obtain the distance information,
Based on the distance change pattern along each of the X-axis direction and the Y-axis direction obtained from the distance information at each position in the X-axis direction and each position in the Y-axis direction, the in-container X-axis direction and the Y-axis direction Calculating the number of products arranged in each direction of
A program that causes a computer to execute processing.
(Appendix 23)
Based on the number of arrangement of the product, calculating picking coordinates for each product in another container in which the same product is arranged in the same arrangement pattern as the container,
The program according to appendix 22, which causes a computer to execute processing.
(Appendix 24)
Sensor that acquires distance information in the Z-axis direction in a container where a plurality of products to be picked by a robot are arranged at a plurality of positions in the X-axis direction and a plurality of positions in the Y-axis direction when the bottom surface in the container is the XY plane To obtain the distance information,
Based on the distance change pattern along each of the X-axis direction and the Y-axis direction obtained from the distance information at the plurality of positions in the X-axis direction and the plurality of positions in the Y-axis direction, A product picking method, comprising: calculating the number of products arranged in each direction of the Y-axis direction.
(Appendix 25)
The said goods in additional notes 1-24 are bread | baked bread | baked confectionery and foodstuffs.

1、2 ピッキング設備
4 商品配置ライン
6 商品払出ライン
10 商品ピッキング装置
50 ロボット
52 商品容器ステーション
70 距離センサ
100 処理装置
1, 2 Picking equipment 4 Product placement line 6 Product delivery line 10 Product picking device 50 Robot 52 Product container station 70 Distance sensor 100 Processing device

Claims (15)

容器内の底面をXY平面としたとき、ロボットによるピッキング予定の商品が複数配置された容器内のZ軸方向の距離情報を、X軸方向の複数位置及びY軸方向の複数位置で取得するセンサと、
前記X軸方向の複数位置及び前記Y軸方向の複数位置での前記距離情報から得られるX軸方向及びY軸方向のそれぞれに沿った距離変化パターンに基づいて、前記容器内のX軸方向及びY軸方向のそれぞれの方向における前記商品の配置数を算出する処理装置と含む、商品ピッキング装置。
Sensor that acquires distance information in the Z-axis direction in a container where a plurality of products to be picked by a robot are arranged at a plurality of positions in the X-axis direction and a plurality of positions in the Y-axis direction when the bottom surface in the container is the XY plane When,
Based on the distance change pattern along each of the X-axis direction and the Y-axis direction obtained from the distance information at the plurality of positions in the X-axis direction and the plurality of positions in the Y-axis direction, A merchandise picking apparatus including a processing apparatus that calculates the number of arrangements of the merchandise in each of the Y-axis directions.
X軸方向に沿った前記距離変化パターンは、前記X軸方向の複数位置において前記Y軸方向の複数位置での前記距離情報を平均または累計したヒストグラムを含み、
Y軸方向に沿った前記距離変化パターンは、前記Y軸方向の複数位置において前記X軸方向の複数位置での前記距離情報を平均または累計したヒストグラムを含む、請求項1に記載の商品ピッキング装置。
The distance change pattern along the X-axis direction includes a histogram obtained by averaging or accumulating the distance information at a plurality of positions in the Y-axis direction at a plurality of positions in the X-axis direction,
The product picking apparatus according to claim 1, wherein the distance change pattern along the Y-axis direction includes a histogram obtained by averaging or accumulating the distance information at the plurality of positions in the X-axis direction at the plurality of positions in the Y-axis direction. .
前記処理装置は、X軸方向に沿った前記距離変化パターンにおける山部の数を算出すると共に、Y軸方向に沿った前記距離変化パターンにおける山部の数を算出し、算出した前記山部の数に基づいて、前記配置数を算出する、請求項1又は2に記載の商品ピッキング装置。   The processing device calculates the number of peaks in the distance change pattern along the X-axis direction, calculates the number of peaks in the distance change pattern along the Y-axis direction, and calculates the calculated peak The product picking apparatus according to claim 1, wherein the arrangement number is calculated based on a number. 前記処理装置は、X軸方向に沿った前記距離変化パターンにおける前記山部の数と、Y軸方向に沿った前記距離変化パターンにおける前記山部の数とが、前記容器における商品の配置パターンに関する登録情報と整合する場合に、整合する登録情報に基づいて、前記配置数を算出する、請求項3に記載の商品ピッキング装置。   In the processing device, the number of the crests in the distance change pattern along the X-axis direction and the number of the crests in the distance change pattern along the Y-axis direction relate to the arrangement pattern of the products in the container. The commodity picking apparatus according to claim 3, wherein the number of arrangements is calculated based on the matching registration information when matching with the registration information. 前記処理装置は、X軸方向に沿った前記距離変化パターンにおいて各山部の幅が均等となる高さ範囲を算出すると共に、Y軸方向に沿った前記距離変化パターンにおいて各山部の幅が均等となる高さ範囲を算出し、
X軸方向に沿った前記距離変化パターンにおける前記山部の数と、Y軸方向に沿った前記距離変化パターンにおける前記山部の数とが、前記容器における商品の配置パターンに関する登録情報と整合しない場合であって、X軸方向及びY軸方向のうちの前記高さ範囲が広い方の方向に係る山部の数のみが、前記登録情報と整合する場合に、前記処理装置は、整合する登録情報に基づいて、前記配置数を算出する、請求項4に記載の商品ピッキング装置。
The processing device calculates a height range in which the widths of the peaks in the distance change pattern along the X-axis direction are uniform, and the widths of the peaks in the distance change pattern along the Y-axis direction. Calculate a uniform height range,
The number of ridges in the distance change pattern along the X-axis direction and the number of ridges in the distance change pattern along the Y-axis direction do not match the registration information regarding the arrangement pattern of the product in the container. If only the number of peaks in the X axis direction and the Y axis direction in which the height range is wider matches the registration information, the processing apparatus registers matching information. The commodity picking apparatus according to claim 4, wherein the arrangement number is calculated based on information.
前記処理装置は、前記容器における商品の配置パターンに関する登録情報に基づいて、前記登録情報に係る登録配置パターン毎に、X軸方向及びY軸方向に沿った前記距離変化パターンのそれぞれに対して商品間の区切りポイントを設定すると共に、設定した区切りポイントにおける距離情報の平均値をX軸方向及びY軸方向別に算出し、
前記処理装置は、X軸方向に関して算出した前記距離情報の平均値が最も小さい区切りポイントと、Y軸方向に関して算出した前記距離情報の平均値が最も小さい区切りポイントとに基づいて、前記配置数を算出する、請求項1又は2に記載の商品ピッキング装置。
The processing device, based on registration information related to the arrangement pattern of products in the container, for each registered arrangement pattern related to the registration information, for each of the distance change patterns along the X-axis direction and the Y-axis direction. Set the break point between them, and calculate the average value of the distance information at the set break point for each X-axis direction and Y-axis direction,
The processing device calculates the number of arrangements based on a separation point having the smallest average value of the distance information calculated in the X-axis direction and a separation point having the smallest average value of the distance information calculated in the Y-axis direction. The product picking device according to claim 1 or 2, wherein the product picking device is calculated.
前記処理装置は、X軸方向に関して算出した前記距離情報の平均値が最も小さい区切りポイントと、Y軸方向に関して算出した前記距離情報の平均値が最も小さい区切りポイントとが、前記登録情報に係る登録配置パターンの区切りポイントと整合する場合に、整合する区切りポイントを有する前記登録配置パターンに基づいて、前記配置数を算出する、請求項6に記載の商品ピッキング装置。 In the processing apparatus, a registration point according to the registration information includes a separation point having the smallest average value of the distance information calculated in the X-axis direction and a separation point having the smallest average value of the distance information calculated in the Y-axis direction. when consistent with the delimiting point arrangement pattern, based on the registration arrangement pattern having a delimiting point to be aligned, to calculate the number of placement, product picking device according to claim 6. X軸方向に関して算出した前記距離情報の平均値が最も小さい区切りポイントと、Y軸方向に関して算出した前記距離情報の平均値が最も小さい区切りポイントとが、前記登録情報に係る登録配置パターンの区切りポイントと整合しない場合、前記処理装置は、X軸方向及びY軸方向のうちの、前記距離情報の平均値と前記距離情報の最大値との差が大きい方の方向の区切りポイントに対応する区切りポイントを有する前記登録情報に係る登録配置パターンに基づいて、前記配置数を算出する、請求項7に記載の商品ピッキング装置。 A smallest-separated point average value of the distance information calculated in the X-axis direction, and the smallest-separated point average value of the distance information calculated in the Y-axis direction, separated points of the registration arrangement pattern according to the registration information If not aligned with, the processing unit, of the X-axis direction and the Y-axis direction, delimiting points corresponding to the average value and the distance towards direction delimiting point of a large difference between the maximum value of information of the distance information The product picking apparatus according to claim 7, wherein the number of arrangements is calculated based on a registered arrangement pattern related to the registration information having the information. 前記センサは、前記容器と同一の配置パターンで同一の商品が配置された別の容器に関する前記距離情報を取得し、
前記処理装置は、前記配置数と、前記別の容器に関する前記距離情報とに基づいて、前記別の容器内の各商品に対するピッキング座標を算出する、請求項1〜8のうちのいずれか1項に記載の商品ピッキング装置。
The sensor acquires the distance information regarding another container in which the same product is arranged in the same arrangement pattern as the container,
The said processing apparatus calculates the picking coordinate with respect to each goods in the said another container based on the said arrangement number and the said distance information regarding the said another container, The any one of Claims 1-8. The product picking apparatus described in 1.
前記処理装置は、前記配置数に基づいて、前記商品の個体サイズを算出し、算出した前記商品の個体サイズと、前記別の容器に関する前記距離情報とに基づいて、前記ピッキング座標を算出する、請求項9に記載の商品ピッキング装置。   The processing device calculates an individual size of the product based on the number of arrangements, and calculates the picking coordinates based on the calculated individual size of the product and the distance information regarding the another container. The product picking apparatus according to claim 9. 前記センサは、前記ロボットより前記別の容器内の商品がピッキングされる毎に、前記距離情報を取得する、請求項9又は10に記載の商品ピッキング装置。   The product picking device according to claim 9 or 10, wherein the sensor acquires the distance information every time a product in the another container is picked by the robot. 前記センサは、前記距離情報を含む距離画像を取得し、
前記処理装置は、前記別の容器の底面に対して所定距離以上を表す前記距離情報を持つ画素集合を前記距離画像内で検出し、検出した前記画素集合に基づいて、前記ピッキング座標を算出する、請求項9〜11のうちのいずれか1項に記載の商品ピッキング装置。
The sensor acquires a distance image including the distance information,
The processing device detects a pixel set having the distance information representing a predetermined distance or more with respect to a bottom surface of the another container in the distance image, and calculates the picking coordinates based on the detected pixel set. The commodity picking apparatus according to any one of claims 9 to 11.
前記処理装置は、前記画素集合のサイズが前記商品の個体サイズに整合する場合に、前記画素集合の中心位置に基づいて、前記画素集合に係る商品の前記ピッキング座標を算出する、請求項12に記載の商品ピッキング装置。   The processing device calculates the picking coordinates of the product related to the pixel set based on the center position of the pixel set when the size of the pixel set matches the individual size of the product. The product picking apparatus described. 前記処理装置は、前記画素集合のサイズが前記商品の個体サイズよりも有意に大きい場合には、前記配置数と、前記商品の個体サイズとに基づいて、前記画素集合の分割態様を決定し、前記画素集合を前記分割態様で分割して得られる各分割画素集合の中心位置に基づいて、前記画素集合に係る各商品の前記ピッキング座標を算出する、請求項13に記載の商品ピッキング装置。   When the size of the pixel set is significantly larger than the individual size of the product, the processing device determines a division mode of the pixel set based on the number of arrangements and the individual size of the product, The product picking apparatus according to claim 13, wherein the picking coordinates of each product related to the pixel set are calculated based on a center position of each divided pixel set obtained by dividing the pixel set in the division mode. 容器内の底面をXY平面としたとき、ロボットによるピッキング予定の商品が複数配置された容器内のZ軸方向の距離情報を、X軸方向の複数位置及びY軸方向の複数位置で取得するセンサから、前記距離情報を取得し、
前記X軸方向の複数位置及び前記Y軸方向の複数位置での前記距離情報から得られるX軸方向及びY軸方向のそれぞれに沿った距離変化パターンに基づいて、前記容器内のX軸方向及びY軸方向のそれぞれの方向における前記商品の配置数を算出する、
処理をコンピューターに実行させるプログラム。
Sensor that acquires distance information in the Z-axis direction in a container where a plurality of products to be picked by a robot are arranged at a plurality of positions in the X-axis direction and a plurality of positions in the Y-axis direction when the bottom surface in the container is the XY plane To obtain the distance information,
Based on the distance change pattern along each of the X-axis direction and the Y-axis direction obtained from the distance information at the plurality of positions in the X-axis direction and the plurality of positions in the Y-axis direction, Calculating the number of arrangement of the product in each direction of the Y-axis direction,
A program that causes a computer to execute processing.
JP2014073083A 2014-03-31 2014-03-31 Product picking apparatus and program Active JP6314017B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014073083A JP6314017B2 (en) 2014-03-31 2014-03-31 Product picking apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014073083A JP6314017B2 (en) 2014-03-31 2014-03-31 Product picking apparatus and program

Publications (2)

Publication Number Publication Date
JP2015193468A JP2015193468A (en) 2015-11-05
JP6314017B2 true JP6314017B2 (en) 2018-04-18

Family

ID=54432899

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014073083A Active JP6314017B2 (en) 2014-03-31 2014-03-31 Product picking apparatus and program

Country Status (1)

Country Link
JP (1) JP6314017B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017110499A1 (en) * 2015-12-22 2017-06-29 株式会社イシダ Picking system
JP6692247B2 (en) 2016-08-04 2020-05-13 株式会社東芝 Article holding device and article holding method
JP7009755B2 (en) * 2017-03-21 2022-01-26 富士通株式会社 Object detection method, object detection program and object detection device
JP6948548B2 (en) * 2017-11-20 2021-10-13 富士通株式会社 Numbering device, numbering method and numbering program
JP7073762B2 (en) * 2018-02-08 2022-05-24 富士通株式会社 Storage system
US11966435B2 (en) 2018-03-20 2024-04-23 Nec Corporation Information processing apparatus, control method, and program
KR102292600B1 (en) * 2019-06-04 2021-08-24 최중인 An autonomous convenience store system and a method for operating the same
EP4032663A4 (en) * 2019-09-18 2022-08-31 Fuji Corporation Work robot and work system
CN113911621B (en) * 2021-09-23 2023-03-07 江苏齐鑫智能科技有限公司 Intelligent file cabinet system scanning and storage method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05139509A (en) * 1991-11-20 1993-06-08 Murata Mach Ltd Residual quantity detection method for picking system
JPH09272090A (en) * 1996-04-04 1997-10-21 Mitsubishi Electric Corp Robot system
JP3919932B2 (en) * 1998-04-22 2007-05-30 オークラ輸送機株式会社 Bag-like workpiece posture detection device
JP2012230041A (en) * 2011-04-27 2012-11-22 Seiko Epson Corp Position detection method, position detector and robot system

Also Published As

Publication number Publication date
JP2015193468A (en) 2015-11-05

Similar Documents

Publication Publication Date Title
JP6314017B2 (en) Product picking apparatus and program
US10679379B1 (en) Robotic system with dynamic packing mechanism
US11794346B2 (en) Robotic system with error detection and dynamic packing mechanism
US11062457B2 (en) Robotic system with automated package registration mechanism and minimum viable region detection
JP6746819B1 (en) High-speed warehouse placement method, equipment and storage medium
US11020854B2 (en) Robotic system with wall-based packing mechanism and methods of operating same
US10692231B1 (en) Composite agent representation
US20220219916A1 (en) A robotic system with packing mechanism
US11591168B2 (en) Robotic system for processing packages arriving out of sequence
CN112070838A (en) Object identification and positioning method and device based on two-dimensional-three-dimensional fusion characteristics
JP2007130711A (en) Picking order determination method, device and program and picking system
KR20180046361A (en) Method and System for loading optimization based on depth sensor
JP5760220B2 (en) Distance image camera and method for recognizing surface shape of object using the same
Li et al. Using Kinect for monitoring warehouse order picking operations
CN111498213B (en) Robot system with dynamic packaging mechanism
CN111498212B (en) Robotic system for handling out-of-order arriving packages
JP2007179301A (en) Cargo collapse detection method and device
US10891736B1 (en) Associating an agent with an event using motion analysis
JP7009755B2 (en) Object detection method, object detection program and object detection device
JPWO2019003686A1 (en) Package recognition device, package sorting system and package recognition method
JP6845057B2 (en) Object detection method, object detection program and object detection device
JP6893429B2 (en) Object detection method, object detection program and object detection device
WO2023073780A1 (en) Device for generating learning data, method for generating learning data, and machine learning device and machine learning method using learning data
JP2019185204A (en) Image processing system, robot system, and image processing method
CN116342858A (en) Object detection method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171205

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180125

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180326

R150 Certificate of patent or registration of utility model

Ref document number: 6314017

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350