JP4004364B2 - Label sticking device and label sticking method to product - Google Patents

Label sticking device and label sticking method to product Download PDF

Info

Publication number
JP4004364B2
JP4004364B2 JP2002274937A JP2002274937A JP4004364B2 JP 4004364 B2 JP4004364 B2 JP 4004364B2 JP 2002274937 A JP2002274937 A JP 2002274937A JP 2002274937 A JP2002274937 A JP 2002274937A JP 4004364 B2 JP4004364 B2 JP 4004364B2
Authority
JP
Japan
Prior art keywords
product
printing
posture
label
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002274937A
Other languages
Japanese (ja)
Other versions
JP2004106915A (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.)
Ishida Co Ltd
Original Assignee
Ishida Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ishida Co Ltd filed Critical Ishida Co Ltd
Priority to JP2002274937A priority Critical patent/JP4004364B2/en
Publication of JP2004106915A publication Critical patent/JP2004106915A/en
Application granted granted Critical
Publication of JP4004364B2 publication Critical patent/JP4004364B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、商品の包装を行った後、値段等が印字された所定のラベルを貼付する(値付する)包装値付装置の、特にラベル貼付に係る技術に関する。
【0002】
【従来の技術】
スーパーやコンビニエンスストアにおいて販売される生鮮食料品、あるいは弁当類や総菜類などの加工食品などの商品には、商品名や値段、内容量等を記載したラベルが貼付されている。通常、こうした商品へのラベルの貼付は、陳列時に見栄えがよいことや、商品を購入する顧客が商品を選定する際の妨げにならないことなどの条件に従って、貼付場所と貼付方向とがあらかじめ定められている。
【0003】
また、効率的な処理を目的として、商品の包装、そして必要な場合には計量、さらにはラベルの貼付(値付)に至るまでの一連の処理が自動化された包装(計量)値付装置が、広く用いられている(例えば、特許文献1参照。)。
【0004】
【特許文献1】
特開平11−124117号公報
【0005】
【発明が解決しようとする課題】
しかしながら、そうした包装値付装置を用いた包装および値付においては、商品を所定の姿勢とは異なる姿勢にて投入しても、その誤った姿勢のまま誤った場所にラベルが貼付されてしまっていた。あるいは、貼付の対象ではない商品を誤って投入した場合であっても、なんらチェックされずにそのままラベルが貼付されてしまっていた。こうした場合は、いずれも貼付のやり直しが必要となり、処理の効率化を妨げる要因となっていた。
【0006】
本発明は、上記課題に鑑みてなされたものであり、商品の正誤を識別し、商品の正しい場所にラベルを貼付できるラベル貼付装置を提供することを目的とする。
【0007】
【課題を解決するための手段】
上記課題を解決するため、請求項1の発明は、所定の印字フォーマットに従ってラベルに印字する印字手段と、所定の移動機構を備え、商品の任意の位置に前記ラベルを貼付することが可能な貼付手段と、を備え、商品にラベルを貼付する装置であって、装置内部の所定の位置に載置された商品の略水平面内における姿勢を検出する姿勢検出手段をさらに備え、前記印字手段は、前記印字フォーマットを回転させずに前記ラベルに印字を行う正常印字と、前記印字フォーマットを180°回転させて前記ラベルに印字する回転印字とを選択的に実行可能であり、前記商品があらかじめ定められた本来の姿勢である第1姿勢を取っていると前記姿勢検出手段によって検出された場合は、前記印字手段は前記ラベルに前記正常印字を行い、前記貼付手段は前記商品に応じてあらかじめ定められた基準貼付位置に前記ラベルを貼付し、前記商品が前記第1姿勢から水平面内において略180°回転した姿勢である第2姿勢を取っていると前記姿勢検出手段によって検出された場合は、前記印字手段は前記ラベルに前記回転印字を行い、前記貼付手段は前記略水平面内において商品中心に関して前記基準貼付位置と点対称な位置に前記ラベルを貼付し、前記姿勢検出手段は、前記商品の上面を撮像して商品画像を取得する撮像手段と、前記商品画像の所定の対象領域における輝度分布である被判定データと、あらかじめ前記商品を前記第1姿勢に保って取得しておいた基準画像の所定の対象領域における輝度分布である基準データとを比較し、前記被判定データと前記基準データとの差異に基づいて前記第1姿勢および前記第2姿勢を判断する比較判断手段と、を備え、前記比較判断手段は、前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にある場合には、前記商品が前記第1姿勢を取っていると判断し、前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にない場合には、前記商品画像を180°回転させたうえで前記対象領域に該当する領域における輝度分布を前記被判定データとして再取得し、再取得された前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にあるときには、前記商品が前記第2姿勢を取っていると判断することを特徴とする。
【0012】
また、請求項の発明は、請求項に記載のラベル貼付装置であって、前記再取得された前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にない場合には、動作を停止することを特徴とする。
【0013】
また、請求項の発明は、所定の印字フォーマットに従ってラベルに印字する印字工程と、所定の移動機構によって、商品の任意の位置に前記ラベルを貼付することが可能な貼付工程と、を含む、商品へのラベルの貼付方法であって、装置内部の所定の位置に載置された商品の略水平面内における姿勢を検出する姿勢検出工程をさらに備え、前記印字工程では、前記印字フォーマットを回転させずに前記ラベルに印字を行う正常印字と、前記印字フォーマットを180°回転させて前記ラベルに印字する回転印字とを選択的に実行可能であり、前記商品があらかじめ定められた本来の姿勢である第1姿勢を取っていると前記姿勢検出工程において検出された場合は、前記印字工程において前記ラベルに前記正常印字が行われ、前記貼付工程において前記商品に応じてあらかじめ定められた基準貼付位置に前記ラベルが貼付され、前記商品が前記第1姿勢から水平面内において略180°回転した姿勢である第2姿勢を取っていると前記姿勢検出工程によって検出された場合は、前記印字工程において前記ラベルに前記回転印字が行われ、前記貼付工程において前記略水平面内において商品中心に関して前記基準貼付位置と点対称な位置に前記ラベルが貼付され、前記姿勢検出工程は、前記商品の上面を撮像して商品画像を取得する撮像工程と、前記商品画像の所定の対象領域における輝度分布である被判定データと、あらかじめ前記商品を前記第1姿勢に保って取得しておいた基準画像の所定の対象領域における輝度分布である基準データとを比較し、前記被判定データと前記基準データとの差異に基づいて前記第1姿勢および前記第2姿勢を判断する比較判断工程と、を備え、前記比較判断工程では、前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にある場合には、前記商品が前記第1姿勢を取っていると判断され、前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にない場合には、前記商品画像を180°回転させたうえで前記対象領域に該当する領域における輝度分布を前記被判定データとして再取得し、再取得された前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にあるときには、前記商品が前記第2姿勢を取っていると判断されることを特徴とする。
【0014】
た、請求項の発明は、請求項に記載のラベル貼付方法であって、前記比較判断工程において、前記再取得された前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にない場合には、前記印字工程と前記貼付工程とが行われないことを特徴とする。
【0015】
【発明の実施の形態】
<第1の実施の形態>
<装置構成>
図1は、本発明の第1の実施の形態に係る包装値付装置100を示す外観斜視図である。図2は、包装値付装置100の構成を示すブロック図である。包装値付装置100は、トレーに載置された商品をトレーごとラップフィルムにて包装し、商品名や値段、内容量等を記載したラベルをフィルム面に貼付する装置である。また、商品の種類により、必要に応じて、計量を行う機能も備えている。これらの機能を実現するため、包装値付装置100は、図1ないしは図2に示すように、投入・排出部10と、計量部20と、撮像部30と、リフト部40と、包装部50と、印字部60と、貼付部70と、表示・操作部80と、制御部90とを主として備えている。各部はバスラインBLを介して電気的に接続されている。なお、図1には、包装値付装置100の奥行き方向をx軸、幅方向をy軸、高さ方向をz軸とする3次元座標系を付している。以降の説明も、この座標系に従って行うこととする。
【0016】
表示・操作部80は、包装値付装置100のオペレータが装置各部の動作に係る設定を行ったり、包装値付装置100の動作状態を表示するために備わり、キーボードや液晶パネルなどから構成される。液晶パネルは、タッチ操作が可能なタッチパネルディスプレイであってもよい。
【0017】
制御部90は、包装値付装置100の各部の動作を制御するために備わり、CPU90aと、ROM90bと、RAM90cと、記憶部90dとを備え、コンピュータによりその機能が実現されるものである。記憶部90dは、ハードディスク等の記憶装置により実現される。記憶部90dには、各種の制御用のプログラムPと、包装等の処理の対象となる商品についての情報を格納するデータベースである商品マスタMS1(図8)と、トレーについてのデータベースであるトレーマスタMS2(図9)と、商品の識別等の判定を行う際の基準となる情報についてのデータベースである基準マスタMS3(図10)と、判定に用いる個々の商品ごとの基準画像データRIDと、ラベルを印字する際のフォーマットであるラベルフォーマットデータLFDとが、主に記憶されている。
【0018】
図3は、包装値付装置100における商品の搬送経路の前段部分、すなわち、投入された商品が撮像され、必要な場合は計量され、その後包装に至るまでの部分を模式的に示す側断面図である。当該前段部分は、主として、投入・排出部10と、計量部20と、撮像部30と、リフト部40とから構成される。
【0019】
包装値付装置100における包装値付処理の対象となる商品Mは、多くの場合、トレーTに載置された状態で投入・排出部10の投入部11に載置される。以降の説明においては、トレーTを含めて単に商品と称する場合もある。
【0020】
投入部11は、その裏面において計量部20と連接されており、計量部20のロードセル21によって商品Mの重量が検知されるようになっている。検知された重量データは、商品Mが重量あたりの単価に応じて値段が定まる商品である場合など、重量データが必要な場合には、制御部90に送られ、値付等に利用される。
【0021】
また、投入部11の上方に配置されている投入・排出部10の排出部15の裏面側には、撮像部30が設けられている。撮像部30は、投入部11に載置された商品Mを、CCDカメラ31によって撮像するために備わる。CCDカメラ31は、好ましくはカラー撮影が可能な機能を備える。
【0022】
また、投入・排出部10は、4つのプーリPLに巻き掛けられ、図示しない駆動手段によって駆動される左右2組の搬送ベルト12と、当該搬送ベルト12により固定されており、複数の搬送爪13Fを有する搬送バー13とを備えている。なお、図3においては図示しないが、投入部11の端部には、搬送爪13Fが通過を可能とするための切り欠き11N(図11)が設けられている。搬送ベルト12および搬送バー13が矢印AR1ないし矢印AR2のように駆動されると、やがて搬送バー13によって商品MはトレーTごと押されることになり、センタリングコンベア14、さらにはその奥(x軸負方向)に備わるリフト部40の支持部材43(後述)の上へと搬送されていくことになる。ここで、センタリングコンベア14は、投入部11における商品Mのy軸方向の投入位置にばらつきがあった場合にこれを中心部まで移動させるために備わる。センタリングコンベア14の作用により、商品Mは、リフト部40の支持部材43のy軸方向中心部に載置されることになる。
【0023】
リフト部40は、電動ボールネジ機構44により上下移動が可能とされている支持基台41と、支持基台41上に下端部を固設され、長手方向がz軸方向となるよう設けられる複数の支持バー42と、各支持バーの上端部に回動自在に、かつ、トレーTの底面を支持可能に設けられた支持部材43とを備える。商品Mが支持部材43上に載置されると、電動ボールネジ機構44の作用によって支持基台が上方(z軸正方向)へ移動させられる。これにより商品Mは上方へと移送されることになる。
【0024】
図4は、包装値付装置100における商品の搬送経路の後段部分、すなわち、リフト部40によって押し上げられた商品が包装された後、印字されたラベルが貼付されるまでの部分を模式的に示す側断面図である。当該前段部分は、主として、包装部50と、印字部60と、貼付部70とから構成される。
【0025】
包装部50は、商品Mを、包装用のラップフィルムFを用いて包装するために備わる。包装部50は、フィルム搬送機構51と、一対の左右折込板52と、後折込板53と、プッシャ54と、シールコンベア55とを有している。包装部50においては、前述したリフト部40による商品Mの上方移送動作に先立って、フィルム搬送機構51によって、ラップフィルムFがトレーTの上方においてあらかじめ張設状態とされて供給されている。そして、このリフト部40による移送動作の結果、トレーT上に載置された商品Mの上面やトレーTの辺縁部にラップフィルムFが密着する。さらに、トレーTの上面をラップフィルムFが覆った状態で、左右折込板52、後折込板53、およびプッシャ54などにより、ラップフィルムFの四辺がトレーTの底面(下面)側に折り込まれる。その後、シールコンベア55においてトレーTの底面側に折り込まれたラップフィルムFの各辺縁部が互いに熱溶着されることにより、包装が完了する。
【0026】
印字部60は、商品が投入されて、包装がなされるまでの間に、商品に貼付すべきラベルLBに所定の印字内容を印字するために備わる。また、貼付部70は、印字されたレベルLBを、商品Mの(包装面上の)所定の位置に、所定の向きに貼付するために備わる。図5は、印字部60および貼付部70の動作を説明するための側断面図である。
【0027】
印字部60においては、台紙BSと一体となったラベルLBが、プラテンローラPRによりガイドされつつ、供給ロールSRから矢印AR4のように供給され、ラベルフォーマットデータLFDと商品Mの種類により定まる所定の印字内容に基づき、印字ヘッド61によって印字面LBSに対する印字が行われる。
【0028】
貼付部70においては、印字されたラベルLBが貼付ヘッド71により吸引保持しつつ台紙BSから剥離され、商品Mの所定の位置に貼付される。貼付ヘッド71は底部に複数の吸引孔VHを有しており、貼付ヘッド71の内部が負圧状態とされることで、当該吸引孔VHからの吸引によってラベルLBを保持することができる。また、貼付部70は、水平駆動機構72と垂直駆動機構73と、回転駆動機構74とを備えており、ラベルLBを保持したまま、矢印AR5ないしAR7に示すように、水平移動、垂直移動、および回転ができるようになっている。これにより、ラベルLBを商品Mの任意の位置に、縦向きないしは横向きのいずれかの姿勢で商品Mに貼付することが可能となる。ラベルLBが貼付された商品は、排出部15に排出されることになる。
【0029】
<商品の判定>
次に、包装値付装置100において、投入された商品の正誤および姿勢の判定について、具体例を挙げつつ説明する。いま、包装値付装置100における処理の対象となる商品Mが、トレーTに入り、透明な上ぶたを被せられた「カレーライス」CRであるとする。
【0030】
図6は、制御部90において、CPU90aと、ROM90bと、RAM90cと、記憶部90dとの機能によって実現される、商品の判定に係る各部と、判定に際し生成される種々のデータとの関係を示すブロック図である。制御部90においては、商品の判定を行うために、処理対象選択部91と、基準データ生成部92と、被判定データ生成部93と、比較判定部94とが実現される。また、図7は、商品の判定の流れを示す図である。図8は商品マスタMS1を、図9はトレーマスタMS2を、図10は基準マスタMS3を、それぞれ例示的に示す部分図である。なお、いずれのマスタにおいても、各行を「レコード」、各列を「項目」と称することとする。また、各マスタにおいて記述されている座標やサイズの単位は「mm」、基準マスタMS3における項目「しきい値」の単位は「%」であるとする。
【0031】
まずはじめに、包装値付装置100において処理を行う商品の決定がなされると、オペレータによる表示・操作部80の操作に応じて、処理対象選択部91が、商品マスタMS1およびトレーマスタMS2から、対象となる商品についての情報を取得する(ステップS1)。いま、処理対象商品は「カレーライス」CRであるので、商品マスタMS1において「呼出No.」が「15」のレコードを元に、判定対象設定データOSDが生成される。具体的には、「呼出No.」が「15」のレコードにおける項目「トレーNo.」の値は「08」であるので、トレーマスタMS2において「トレーNo.」が「08」のレコードの内容のうち、商品の判定に必要な情報、例えば、「奥行き」、「幅」、「高さ」等の情報が、判定対象設定データOSDとして抽出される。さらに「呼出No.」が商品マスタMS1と共通に付与されている基準マスタMS3からは、「呼出No.」が「15」のレコードの中から、判定に用いる基準画像データRIDのデータファイル名を示す「基準画像」や、判定の基準となる「判定位置」や「しきい値」などの情報が、同じく判定対象設定データOSDとして抽出される。なお、基準画像データRIDは、対象となる商品について包装値付装置100における処理に先立って撮像したデータからあらかじめ作成され、例えばビットマップ形式で記憶部90dに記憶されているものとする。
【0032】
対象商品についての設定等、処理のための種々の設定が完了すると、商品の投入が開始される(ステップS2)。図11は、投入部11の上面図である。商品は、投入部11の載置面11sのうち、撮像部30による撮像範囲を示す載置枠FLの範囲内に載置するものとする。なお、載置枠FLは、奥行きをHf、幅をWfとする矩形領域であり、枠内には、+x方向をX軸正の向き、+y方向をY軸正の向きとする軸AX、AYを規定し、その交点を投入原点Oと規定する。また、原則として商品は、長手方向をY軸方向と略一致するように載置するものと規定しておく。また、商品の中心を投入原点Oと一致させ、かつ、長手方向を軸AYと一致するように商品を載置する状態を理想状態、理想状態における商品の配置位置を理想位置IP、と称することとする。基準画像データRIDは、好ましくは、この理想状態で商品を撮像することにより得られるデータである。
【0033】
なお、上述のように、商品の投入に際してはなるべく理想状態と近い姿勢で載置するように規定しておくことにより、正常な姿勢から著しくずれた姿勢で載置される状況の発生はあらかじめ抑制される。また、そうした姿勢で載置されたとしても、後述するようにトレーのサイズが登録されているサイズと一致しないので、誤って処理が続行されることはない。よって、主として問題となるのは、理想状態から略180°回転した姿勢、すなわち反転した姿勢で商品が載置される場合である。
【0034】
商品が投入部11に載置されると、前述したように各部での動作が順次行われることになる。ここで、計量が必要な場合は計量部20により計量が行われるが、計量の要否に関わらず、載置された商品は撮像部30によって撮像される(ステップS3)。撮像により得られた画像は、撮像データIDとしてRAM90cあるいは記憶部90dに記憶される。撮像データIDは、主として商品の判定に用いるデータであるので、必ずしも、判定処理の後まで保存しておく必要はないが、記憶部90dに記憶する場合は、例えば、商品個体ごとの包装時の外観状態を、後になって確認する後追い検査等に利用することも可能となる。
【0035】
撮像データIDが得られると、商品の判定に用いる基準データRDと、被判定データEDとが生成される(ステップS4)。本実施の形態においては、商品の色分布に関する情報、具体的には、輝度の情報に基づいて、商品の正誤、あるいは姿勢を判定するので、基準データRDと、被判定データEDとはいずれも、この目的に即したデータとして得られることになる。
【0036】
基準データRDは、基準データ生成部92によって、あらかじめ取得され記憶部90dに記憶されている基準画像データRIDから、判定対象設定データOSDに記述された設定内容、つまり、もともとは基準マスタMS3(図10)に記述されていた設定内容に基づいて生成される。すなわち、「カレーライス」CRについての基準データRDは、「curry」というファイル名の基準画像データRIDにおいて、投入原点Oからみて座標(25,25)なる位置を中心とし、x方向に50(mm)、y方向に50(mm)のサイズを有する矩形領域SQ0から生成することになる(図13)。
【0037】
一方、被判定データEDは、判定対象設定データOSDの設定内容に従って、撮像データIDから生成される。ただし、実際の商品の投入においては、必ずしも理想状態で商品を載置するとは限らず、理想状態を目指して載置したとしても実際の載置位置RPと理想位置IPとが一致せず、また商品の姿勢が理想状態からずれることも頻繁に起こりうる。従って、被判定データEDを得るには、まず載置位置のずれをキャンセルした後、商品の情報を得ることになる。図12は、これを説明するための図である。
【0038】
図12においては、載置枠FLの枠内に、実際の載置位置RPに載置された商品の外周形状を実線で、理想位置IPの商品の外周形状を破線で示している。実際の載置位置RPに載置された商品の商品中心Cの座標がXY座標系において(C1,C2)であるとする。
【0039】
なお、商品の撮像データIDからは、まず、商品の外周位置が検出され、これより商品のサイズが判別される(ステップS5)。該外周形状は、例えば、トレーTの幅と奥行きとを代表値として規定することができる。外周位置の検出は、例えば、商品と投入部11との色成分の違いに基づいて、撮像データIDにハイパスフィルタ処理を施すことにより可能である。こうして得られたX軸方向の最端部をE1、E2、Y軸方向の最端部をE3、E4とし、E1と載置枠FLの再奥部との距離をH1、E2と最前部との距離をH2、E3と左端部との距離をW3、E4と右端部との距離をW4とすると、姿勢のずれを考慮しない計算上のトレーサイズは、奥行きをH0、幅をW0とすると、それぞれ、
H0=Hf−H1−H2 (式1)
W0=Wf−W3−W4 (式2)
により与えられる。式1および式2により求まるトレーのサイズが、トレーマスタMS2に登録されているトレーのサイズを基準に所定の誤差範囲内にあるかどうかが判定される。誤差範囲内にない場合は、著しく姿勢がずれていることによる投入不良であるとして処理が停止される(ステップS12)。これにより、その後の包装処理に際して包装することができないという不都合が回避される。この場合には、包装値付装置100は商品の処理動作を一旦停止すると共に、表示・操作部80のディスプレイに、この旨の警告メッセージを表示することになる。その後、商品が取り出され、正しい商品が投入し直されるか、正しい設定が与えられて、処理が再開される。
【0040】
トレーサイズが基準を満たす場合は、後段の処理が行われる。トレーが点対称の形状を有する場合、商品中心Cの座標(C1、C2)は、最端部同士を結ぶ直線の交点として与えられる。すなわち、
C1=(H1−H2)/2 (式3)
C2=(W3−W4)/2 (式4)
となる。実際には商品の姿勢や検出誤差等に起因して、真の中心位置とずれる場合があるが、目的とする商品の判定に際して与える影響は小さい。
【0041】
商品中心Cの座標が求まったことにより、理想位置IPからずれて商品が載置された場合であっても、商品中心Cからの相対座標を用いることで、載置位置によらず撮像データIDから判定対象となる範囲の情報を抽出することができる。すなわち、載置位置のずれがキャンセルされることになる。すなわち、被判定データEDは、商品中心Cからみて座標(25,25)なる位置を中心とし、X軸方向に50(mm)、Y軸方向に50(mm)のサイズを有する矩形領域SQ1から生成することになる。なお、前述したように、撮像された商品は包装処理に至る前にセンタリングコンベア14によってセンタリングされるので、後段の処理においても、載置位置のずれが影響することはない。
【0042】
図13は、基準画像データRIDと対応する商品の画像IM0と、基準データの生成対象となる矩形領域SQ0を示す図である。図14は、撮像データID(ID1)と対応する商品の画像IM1と、被判定データED(ED1)の生成対象となる矩形領域SQ1を示す図である。なお、図14の商品は、包装においては問題とならない程度である、正しい姿勢から微小角度α(せいぜい数度程度)だけ傾いた姿勢で載置されたものとする。また、図15は、商品が逆向きに載置された場合に取得される撮像データID(ID2)と対応する商品の画像IM2と、被判定データED(ED2)の生成対象となる矩形領域SQ2とを示す図である。さらに、図16は、基準用データRDと、被判定データED(ED1、ED2)とを示す図である。
【0043】
図13の画像IM0に示すように、いま、対象となっている商品「カレーライス」CRは、上面からみると「ご飯」領域RG1と、「ルゥ」領域RG2と、トレーTの外周領域RG3と、に大別される。また、「ルゥ」上には、その一部に「ゆで卵」がトッピングされているので、この領域を「ゆで卵」RG2eと称することとする。また、「カレーライス」CRにおいては、基準データの生成対象となる矩形領域SQ0は、「ご飯」領域RG1上に設定されている。この矩形領域SQ0における輝度情報を、相対輝度分布データとして抽出することにより得られるのが、図16(a)に示す基準データRDである。図16(a)に示すように、「カレーライス」CRの基準データRDは、もっとも輝度が高い領域に大きなピークを有するという特徴を有している。これはすなわち、主として白色である「ご飯」領域RG1の位置を、商品が正しい姿勢を取っているか否かの基準として利用することに相当する。なお、基準データRDには、わずかにトレーTに相当する領域RG3も含まれている。
【0044】
一方、図14に示す画像IM1、および図15に示す画像IM2においてそれぞれ、商品中心Cからみて、矩形領域SQ0と相対的に同じ位置に設定された矩形領域SQ1および矩形領域SQ2における輝度情報を、相対輝度分布データとして抽出したものが、図16(b)、(c)にそれぞれ示す被判定データED1、ED2である。被判定データED1、ED2と基準データRDとの差異が、所定の「しきい値」内に収まっているかを、比較判定部94が判断することにより、商品の正誤、および姿勢が判定されることになる(ステップS6)。
【0045】
基準データRDと被判定データED(ED1、ED2)との一致度の判定は、例えば、同一輝度値における被判定データED1と基準データRDとの相対度数の差の2乗和を全ての輝度値について総和して平方をとり、その値が、あらかじめ基準マスタMS3に定められている「しきい値」である「5%」以下であるか否か、によって行う。
【0046】
被判定データED1の場合は、商品の姿勢は理想状態に比して角度αだけ傾いてはいるが、トレーサイズも誤差範囲内に収まるものとする。また、図16(a)と(b)とを比較してわかるように、その相対輝度分布はおおむね基準データRDと合致し、「5%」以下という基準を満たすものと判定される。この場合、正しい商品が、概ね正常な姿勢で投入された、と判定され、対応する内容の判定結果データERDが生成されることになる(ステップS6でYES、ステップS10)。判定結果データERDは、例えば、商品の姿勢についての情報がフラグデータとして記述されているデータであり、この場合は、正常な姿勢を示す所定のフラグを有する判定結果データERDが生成されることになる。
【0047】
以上のような判定処理を行うことで、厳密に姿勢を理想状態と一致させずとも、「しきい値」をみたす場合は、処理をそのまま続行することができる。逆に、投入の際のある程度の姿勢のずれを許容するよう「しきい値」が設定されることが望ましい。
【0048】
一方、被判定データED2の場合は、図16(a)と(c)とを比較してわかるように、その相対輝度分布は基準データRDの分布と全く異なっている。すなわち、ちょうど中間調あたりにピークが現れている。これは、「ルゥ」領域RG2に相当するピークといえる。また、高輝度範囲にもピークは存在するが、その形状は基準データRDに見られるものとは明らかに異なっている。これは、「ゆで卵」領域RG2eに相当するピークといえる。このような特徴を有する被判定データED2は、しきい値の基準を満たすことはないので、これより、少なくとも、正しい商品が、概ね正常な姿勢で投入された、とは判定できないことになる(ステップS6でNO)。
【0049】
この場合は、比較判定部94が、撮像データID2より画像IM2に対し商品の姿勢が180°回転した新たな商品画像を生成する撮像画像回転処理を行う(ステップS7)。その結果は、上述の例であればちょうど、図14に示された画像IM0と一致することになる。そして、再び、所定の領域から被判定データを抽出して(ステップS8)、判定処理を行うことになる(ステップS9)。その結果、基準を満たせば、正しい商品が投入されてはいるが、その姿勢が略180°反転した状態で投入部11に載置されている、と判定されることになる。この場合は、反転姿勢を示す所定のフラグを有する判定結果データERDが生成されることになる。(ステップS9でYES、ステップS11)。
【0050】
あるいは、ステップS1の時点で「カレーライス」CRを処理対象としているにも関わらず、例えば、「チャーハン弁当」など、処理対象とは異なる商品が投入された場合、図17に示すように「カレーライス」CRとは異なる商品画像IM3を有する撮像データID(ID3)が取得されることになる。図18は、この場合の被判定データED(ED3、ED4)と基準データRDとを比較した図である。なお、この場合、トレーの形状は若干異なっているが、「カレーライス」CRのトレーサイズの誤差範囲内に収まるものとする。
【0051】
この場合、ステップS4において最初に矩形領域SQ3から被判定データED3が抽出される。その結果得られる被判定データED3が図18(b)に示されているものとする。なお、図18(a)は、図16(a)と同じ、基準データRDである。図18(a)、(b)からわかるように、両者の分布は全く異なっているので、ステップS6ではNOが選択される。引き続き、撮像画像回転処理がなされる(ステップS7)が、これは結局、図17の矩形領域SQ4から被判定データED4を抽出する処理へとつながることになる。その結果得られる被判定データED4もやはり、基準データRDとは異なる分布を有している。
【0052】
すなわち、この場合、2回の判定においていずれも基準を満たさず、ステップS9においてもNOが選択される。従って、はじめに処理対象として設定された商品とは異なる商品が投入されたものと判定される(ステップS12)。この場合には、判定結果データERDを生成する代わりに、包装値付装置100は商品の処理動作を一旦停止すると共に、表示・操作部80のディスプレイに、この旨の警告メッセージを表示することになる。その後、商品が取り出され、正しい商品が投入し直されるか、正しい設定が与えられて、処理が再開される。
【0053】
以上のように商品の姿勢が判定されると、判定結果データERDに従って、以降においてラベルの印字処理、および貼付処理が行われることになる。
【0054】
<ラベルの印字と貼付>
商品の正誤および姿勢の判定が終了すると、引き続き商品に対し包装処理がなされるとともに、包装された商品に速やかにラベルを貼付すべく、印字部60における印字処理が並行して行われる。そして、印字されたラベルは、貼付部70によって速やかに商品へと貼付される。以降についても、処理対象となる商品が「カレーライス」CRであるとする。
【0055】
図19は、制御部90において、CPU90aと、ROM90bと、RAM90cと、記憶部90dとの機能によって実現される、ラベルの印字に係る各部と、印字に際し生成される種々のデータとの関係を示すブロック図である。制御部90においては、商品の姿勢に応じたラベルへの印字を行うために、印字データ生成部95と、印字制御部96とが実現される。また、図20は、商品の印字処理の流れを示す図である。
【0056】
印字データ生成部95は、ラベルフォーマットデータLFD、商品マスタMS1、トレーマスタMS2、および判定結果データERDに基づいて、印字データPDあるいは反転印字データRPDを生成する。
【0057】
印字制御部96は、印字データPDあるいは反転印字データRPDに従った印字を行うべく、印字ヘッド61など印字部60全体の動作を制御する。
【0058】
前述のステップS1において包装値付装置100において処理を行う商品の決定がなされると、印字データ生成部95は、商品マスタMS1から対象となる商品についての印字内容を、トレーマスタMS2から貼付位置に関する情報を取得する(ステップS21)。また、商品マスタMS1に記述されている、印字の際に使用するフォーマットに関する情報に基づいて、ラベルフォーマットデータLFDが読み出される(ステップS22)。これにより、商品名、値段、加工日等の所定の印字項目それぞれをラベル上にレイアウトした情報、すなわち印字データPDが定まることになる(ステップS23)。
【0059】
印字データPDが得られると、印字の位置および向きを決めるために、トレーマスタMS2からは貼付情報が取得され、また、判定結果データERDが参照される(ステップS24)。貼付情報は、ラベルの貼付位置と貼付方向に関する情報である。「カレーライス」CRに対応する「トレーNo.」は「08」であるので、項目「貼付座標」(ラベルの貼付位置の中心座標)の項目値(12,25)、項目「貼付方向」の項目値「横」(長手方向が商品幅方向と一致)という情報が取得されることになる。なお、貼付座標の座標軸については、後述する。
【0060】
判定結果データERDに、商品姿勢が正常であるとの情報が記述されているときは、印字制御部96は、印字データPDそのままに従ってラベルLB1を印字すべく、印字部60を制御する。これにより、ラベルLB1が印字される(ステップS25)。図21(a)は、印字データPDに従って印字されるラベルLB1を例示的に示す図である。いま、「貼付方向」は「横」と与えられているので、図21(a)においても、ラベルLB1の長手方向をy軸方向と一致させて示している。
【0061】
そして、このように印字されたラベルLB1は、印字部60から発行されると、貼付部70によって、貼付座標(12,25)に貼付されることになる(ステップS26)。図22(a)は、ラベルLB1が商品に貼付された状態を示している。なお、貼付座標は、商品の中心を原点として、x軸方向にu軸、y軸方向にv軸を取るuv座標系によって与えるものとする。また、一般にラベルは、購入を検討する顧客が商品の内容を見極める際になるべく妨げとならない位置に貼付されることが望ましい。「カレーライス」CRの場合であれば、図22(a)に示すように、「ご飯」領域RG1に貼付されるよう、貼付座標が定められている。
【0062】
一方、判定結果データERDに、商品姿勢が反転しているとの情報が記述されている場合、正常な場合と同じようにラベルLB1を印字し、貼付したのでは、図22(b)に示すように、「ルゥ」領域RG2のしかも「ゆで卵」領域RG2eに貼付されてしまうことになる。これは、商品の視認性を著しく妨げてしまうことになり、好ましくない。
【0063】
そこでこの場合は、印字データ作成部95が、印字データPDに基づいて、ラベルLB1のフォーマットを保ったまま向きだけを180°回転させたラベルLB2を得るための反転印字データRPDを生成する(ステップS27)。印字制御部96は、この反転印字データRPDに従ってラベルLB2を印字すべく、印字部60を制御する。これにより、ラベルLB2の印字が行われる(ステップS28)。図21(b)は、ラベルLB2を、ラベルLB1と同じ座標系にて示す図である。
【0064】
さらに、このように印字されたラベルLB2は、印字部60から発行されると、貼付部70によって、正常な姿勢をとっていれば本来貼付されるべき位置に相当する位置に、商品に貼付されることになる。「カレーライス」CRの場合であれば本来の貼付座標(12,25)とちょうどuv座標系で点対称な位置に、貼付されることになる(ステップS29)。図22(c)は、ラベルLB2を姿勢が反転している「カレーライス」CRに対して貼付した状態を示す図である。なお、あらかじめ反転印字が実行されているので、貼付ヘッド71によってラベルLB2そのものを回転させずとも、本来貼付されるべき向きに相当する向きに貼付されることになる。回転動作が不要であるので、商品の姿勢が反転していても、それが原因となって、貼付に要する時間が著しく増大することはない。
【0065】
以上、説明したように、本実施の形態に係る包装値付装置100は、誤った商品が投入された場合に、これを検知し、処理を停止させることができる。また、商品が投入された商品の姿勢が、あらかじめ定められた正常な姿勢と異なっている場合であっても、ラベルへの印字を反転することにより、ラベルを回転させることなく、正常な姿勢の場合に貼付されるべき位置に相当する位置に、本来貼付されるべき姿勢に相当する姿勢で貼付することができる。これにより、包装や値付のやり直しなどが不要となり、商品の投入ミスに起因した処理効率の低下を防ぐことが可能となる。
【0066】
<第2の実施の形態>
第1の実施の形態は、主として反転姿勢で商品が載置された場合についての態様を示しているが、本実施の形態では、異なる形状や姿勢の商品に対応する包装値付装置200における姿勢の判定と、ラベルの貼付について説明する。ただし、包装値付装置200の各部の構成は第1の実施の形態に係る包装値付装置100と基本的に同じであるので、相違点の除いては、以降において同一の符号を用いてその説明を省略する。
【0067】
図23は、本実施の形態に係る商品MとラベルLBの貼付位置との関係を説明するための図である。図23(a)は商品Mの理想状態を示す図である。本実施の形態に係る商品Mは、円形のトレーTに内容物が盛られているものとする。内容物は、上方からみると2つの領域RG11とRG12に大別され、領域RG12の上にラベルLBが貼付されるよう、貼付座標が設定されているものとする。
【0068】
従来は、商品Mが理想状態とは異なる姿勢を与えられて投入されたとしても、ラベルLBは、図23(b)に示すように与えられた貼付座標のままに貼付されていた。この場合は、図23(c)に示すように、姿勢に応じてラベルLBが貼付されることが望ましい。以下、これを説明する。
【0069】
図24は、制御部90において、CPU90aと、ROM90bと、RAM90cと、記憶部90dとの機能によって実現される、商品の姿勢の演算に係る各部と、演算に際し生成される種々のデータとの関係を示すブロック図である。制御部90においては、商品の姿勢の演算を行うために、第1の実施の形態に係る包装値付装置100と同様に処理対象選択部91と、基準データ生成部92と、被判定データ生成部93とが実現されるのに加えて、姿勢演算部97が実現される。姿勢演算部97は、撮像データIDと、判定対象設定データOSDとから、商品の姿勢を求める演算処理を担う。商品の姿勢は姿勢データADとして取得され、ラベルLBの貼付に際し利用される。
【0070】
図25は、商品の姿勢を求める方法について説明する図である。本実施の形態においても、姿勢演算部97によって、まず、第1の実施の形態と同様に、撮像データIDから、トレーのサイズと商品中心Cとが算出される。本実施の形態の場合も、算出されたトレーサイズと登録されたサイズと異なる場合は、処理は停止される。トレーのサイズが条件を満たした場合、姿勢演算部97は、商品中心Cを通りY軸に平行な直線L0と、さらにこの直線と平行な複数の直線L1、L2、・・・とのそれぞれに沿った輝度分布とを抽出する。図25(a)は、3本の等間隔かつ平行な直線L0、L1、およびL2を対称とした場合を示しており、図25(b)が、それぞれの直線に対応する輝度分布を示している。いま、領域RG11がおおよそ一定の輝度を有し、その変化が比較的小さい領域であったとすると、各直線における輝度が連続して、所定の輝度値を中心に一定の誤差範囲Δの中に収まる範囲が、当該領域RG11に相当する範囲であると判定できることになる。そこで、直線L0、L1、およびL2において、この範囲の終端に対応する位置を求め、これらを結ぶ直線を考えると、これはおおよそ、領域RG11とRG12とを分ける境界線に相当することになる。そこで、姿勢演算部97は、該境界線を上述の輝度分布から算出し、そのY軸方向に対する傾きθを姿勢データADとして算出する。なお、その際に、着目すべき領域と輝度値、輝度分布の算出範囲、および誤差範囲Δなどは、基準マスタMS3に、処理対象となる商品ごとに与えられているものとする。
【0071】
理想状態が、図23(a)に示す当該境界線がY軸に平行となるように定められているとすると、この傾きθが、図23(b)あるいは(c)に示すように、投入された商品の、実際の姿勢に相当することになる。
【0072】
印字部60におけるラベルLBの印字は、第1の実施の形態と同様に、印字データに基づいて行われる。一方、貼付部70は、任意の角度にラベルLBを回転させることが可能な回転駆動機構74の作用により、印字されたラベルLBを、姿勢データADとして得られた傾きθだけ回転させた後、商品Mへと貼付する。
【0073】
これにより、図23(c)に示すように、商品の姿勢が理想状態からずれている場合でも、正常の位置にラベルLBを貼付することができる。
【0074】
以上説明したように、本実施の形態においては、輝度分布を利用して商品の姿勢を求めることにより、任意の姿勢を取っている商品に対しても、正しくラベルを貼付することができるので、処理効率の低下を防ぐことが可能となる。
【0075】
<第3の実施の形態>
本発明に係るラベル貼付装置は、上述の実施の形態のような包装値付装置以外によっても実現される。本実施の形態においては、コンベアを有し、商品をコンベアで搬送しつつ連続的に計量と値付とを行う計量値付装置における処理について説明する。
【0076】
図26は、計量値付装置300の構成を模式的に示す図である。計量値付装置300は、上流側に配置された包装装置等の装置群400から供給された商品Mを取り込むための取込コンベアCV1を備える取込部310と、計量コンベアCV2によって商品Mを搬送しつつ、該商品Mの計量を行う計量部320と、商品Mに貼付すべきラベルを印字し、商品Mを貼付コンベアCV3にて搬送しつつ該ラベルを貼付する貼付部330と、計量値付装置300の動作状況等を表示する表示部340と、オペレータが所定の動作指示等を入力するための操作部350と、計量値付装置300の各部の動作を制御する制御部360とを主として備えている。
【0077】
取込部310には、商品Mを搬送する取込コンベアCV1の上方に、商品Mを撮影するための撮像部311が備わっている。撮像部311には、取込コンベアCV1の上流側端部に相当する位置に、商品Mの通過を検知する、例えば赤外線などを利用したセンサ312が設けられている。また、取込コンベアCV1の下流側に相当する位置には、センサ312にて検知された商品Mを撮像するためのCCDカメラ313が設けられている。取込コンベアCV1は通常、略一定の速度によって商品Mを搬送しており、センサ312とCCDカメラ313との間の搬送経路に沿った距離Dも既知であるので、センサ312の直下を通過後、取込コンベアCV1により搬送されてきた商品Mを、ちょうどCCDカメラ313の直下に達するタイミングで撮像することができる。撮像結果は、後述する印字機構331におけるラベルへの印字と、商品Mへの該ラベルの貼付とに利用される。
【0078】
計量部320には、計量コンベアCV2の下方に計量機構321が設けられており、商品Mを搬送したままの状態で計量を行うことができる。
【0079】
貼付部330には、印字機構331と、貼付機構332とが主として備わっている。印字機構331は、第1の実施の形態に係る印字部60と同様に、通常のラベルへの印字を担うのに加えて、商品Mの姿勢に応じて、必要に応じて印字内容を反転させてラベルを印字することができる。貼付機構332には貼付ヘッド333が備わっており、印字されたラベルを所定の位置に所定の向きで貼付することができる。
【0080】
これにより、本実施の形態に係る計量値付装置300においても、商品の姿勢が正常な姿勢と異なる場合であっても、所定の位置に所定の向きにてラベルを貼付することができる。
【0081】
なお、計量値付装置300においては、制御部360によって各コンベアCV1〜CV3それぞれの搬送速度v1〜v3が制御されている。そして、処理対象となっている商品の種類と、ある時点における各コンベアCV1〜CV3の搬送速度v1〜v3とに基づいて、計量値付装置300がその時点で単位時間あたりに処理しうる、最大の商品個数である最大処理能力Amが、制御部360において常に算出されている。
【0082】
一方、例えばセンサ312における商品の検知結果に基づいて、計量値付装置300へと取り込まれる商品Mの取込時間間隔についてのデータも、制御部360において取得されている。制御部360は、このデータに基づいて、計量値付装置300が単位時間あたりに実際に処理している商品個数である現在能力Apを常に算出している。
【0083】
そして、計量値付装置300が動作している間、これら最大処理能力Amおよび現在能力Apは、各コンベアCV1〜CV3の搬送速度v1〜v3とともに、表示部340に表示されている。図27は、この処理能力表示DSPを例示的に示す図である。あるいは、計量値付装置300から離れたところからも確認できるように、別途に設けられた表示手段にも表示される態様であってもよい。
【0084】
この処理能力表示DSPがなされることにより、計量値付装置300が設置されている工場等の作業者や管理者は、工程の処理能力をリアルタイムで知ることが容易になる。これにより、最大処理能力Amと現在能力Apとの差異に応じて、計量値付装置300に至るまでの前工程(例えば、カット、盛りつけ、包装など)に用いられる装置群400を含めた処理能力の調整を、的確に行えるようになる。あるいは、計量値付装置300やその前工程の装置群400についての処理能力(現在能力)の調整を、現状を把握しつつ適正に行うことができるので、処理能力に係るトラブルやクレーム等を未然に防ぐことができるようになる。
【0085】
<変形例>
商品の正誤や姿勢の判定に用いる基準の設定の仕方は、商品および用いられるトレーの特徴に応じて種々に定められることが好ましい。例えば、商品の内容物の配置関係や、トレーの外周の形状や色成分、仕切部分の位置や色成分等を基準に用いてもよい。一の商品について、複数箇所を用いて基準データを作成し、判定を行う態様であってもよい。また、複数の判定方法を組み合わせて用いてもよい。
【0086】
上述の実施の形態では、輝度を判定に用いていたが、RGBカラー画像の各色成分ごとに分布を抽出し、判定を行ってもよい。
【0087】
第1の実施の形態においては、ラベルへの印字を反転して行っていたが、これに代わり、印字は正常なままで行い、その後貼付の際に、ラベルを回転して貼付してもよい。
【0088】
第2の実施の形態においては、輝度の分布から境界線を求めていたが、これに代わり、例えばハイパスフィルタ処理などによって境界線を求めてもよい。
【0089】
【発明の効果】
以上、説明したように、請求項1ないしの発明によれば、逆向きの姿勢で商品を供給しても、正しい位置にラベルを貼付することができるので、装置の停止や貼付のやり直しがなくなり、処理効率が向上する。また、ラベルを回転させる必要がないので、装置の複雑化を回避することができるとともに、貼付処理時間の増大も抑制できる。さらに、ラベルの貼付に際して、商品の姿勢の検出を自動化することができる。
【0094】
また、特に請求項及びの発明によれば、本来の貼付対象でない商品が誤投入された場合に、ラベルを貼付することが回避できるので、貼付のやり直しを回避でき、処理効率の低下を抑制できる。
【図面の簡単な説明】
【図1】第1の実施の形態に係る包装値付装置100を示す外観斜視図である。
【図2】包装値付装置100の構成を示すブロック図である。
【図3】包装値付装置100における商品の搬送経路の前段部分を示す図である。
【図4】包装値付装置100における商品の搬送経路の後段部分を示す図である。
【図5】印字部60および貼付部70の動作を説明するための側断面図である。
【図6】制御部90において実現される、商品の判定に係る各部と、判定に際し生成される種々のデータとの関係を示すブロック図である。
【図7】商品の判定の流れを示す図である。
【図8】商品マスタMS1を例示的に示す部分図である。
【図9】トレーマスタMS2を例示的に示す部分図である。
【図10】基準マスタMS3を例示的に示す部分図である。
【図11】投入部11の上面図である。
【図12】載置位置のずれのキャンセルについて説明する図である。
【図13】商品の画像IM0と、基準データの生成対象となる矩形領域SQ0を示す図である。
【図14】画像IM1と、被判定データED(ED1)の生成対象となる矩形領域SQ1を示す図である。
【図15】商品の画像IM2と、被判定データED(ED2)の生成対象となる矩形領域SQ2とを示す図である。
【図16】基準用データRDと、被判定データED(ED1、ED2)とを示す図である。
【図17】「カレーライス」CRとは異なる商品画像IM3を示す図である。
【図18】被判定データED(ED3、ED4)と基準データRDとを比較した図である。
【図19】制御部90において実現される、ラベルの印字に係る各部と、印字に際し生成される種々のデータとの関係を示すブロック図である。
【図20】商品の印字処理の流れを示す図である。
【図21】ラベルLB1およびLB2を示す図である。
【図22】ラベルLB1およびLB2が商品に貼付された状態を示す図である。
【図23】商品MとラベルLBの貼付位置との関係を説明するための図である。
【図24】制御部90において実現される、商品の姿勢の演算に係る各部と、演算に際し生成される種々のデータとの関係を示すブロック図である。
【図25】商品の姿勢を求める方法について説明する図である。
【図26】計量値付装置300の構成を模式的に示す図である。
【図27】処理能力表示DSPを例示的に示す図である。
【符号の説明】
11 投入部
11s 載置面
14 センタリングコンベア
15 排出部
21 ロードセル
31、313 CCDカメラ
61 印字ヘッド
71 貼付ヘッド
100、200 包装値付装置
300 計量値付装置
312 センサ
321 計量機構
331 印字機構
332 貼付機構
333 貼付ヘッド
C 商品中心
CV1 取込コンベア
CV2 計量コンベア
CV3 貼付コンベア
DSP 処理能力表示
FL 載置枠
IP 理想位置
LB、LB1、LB2 ラベル
LBS 印字面
M 商品
O 投入原点
RP (実際の)載置位置
SQ0〜SQ4 矩形領域
T トレー
v1〜v3 搬送速度
[0001]
BACKGROUND OF THE INVENTION
TECHNICAL FIELD The present invention relates to a packaging pricing apparatus that attaches (prices) a predetermined label on which a price or the like is printed after packaging a product, and particularly relates to a technique relating to labeling.
[0002]
[Prior art]
Products such as fresh foods sold at supermarkets and convenience stores, or processed foods such as bento lunches and prepared dishes are affixed with labels that describe product names, prices, contents, and the like. Usually, labeling on such products is pre-determined in accordance with conditions such as good appearance at the time of display and not obstructing customers purchasing the product when selecting products. ing.
[0003]
In addition, for the purpose of efficient processing, there is a packaging (weighing) pricing device that automates a series of processing from packaging of products, weighing when necessary, and even labeling (with pricing). Are widely used (see, for example, Patent Document 1).
[0004]
[Patent Document 1]
Japanese Patent Laid-Open No. 11-124117
[0005]
[Problems to be solved by the invention]
However, in packaging and pricing using such a packaging pricing device, even if the product is put in a posture different from the predetermined posture, the label is stuck in the wrong place in the wrong posture. It was. Or, even when a product that is not the target of pasting is accidentally introduced, the label is pasted without being checked. In these cases, it is necessary to redo the pasting, which is a factor that hinders the efficiency of processing.
[0006]
This invention is made | formed in view of the said subject, and it aims at providing the label sticking apparatus which can identify the correctness of goods, and can stick a label on the correct place of goods.
[0007]
[Means for Solving the Problems]
  In order to solve the above-mentioned problems, the invention of claim 1 is provided with a printing means for printing on a label according to a predetermined printing format, and a predetermined moving mechanism, and is capable of sticking the label at an arbitrary position of a product. Means for attaching a label to the product, further comprising posture detection means for detecting the posture of the product placed at a predetermined position inside the device in a substantially horizontal plane, Normal printing for printing on the label without rotating the printing format and rotational printing for printing on the label by rotating the printing format by 180 ° can be selectively executed, and the product is determined in advance. When the posture detecting means detects that the first posture is the original posture, the printing means performs the normal printing on the label, and the sticking The means affixes the label at a reference sticking position determined in advance according to the product, and the posture is when the product takes a second posture which is a posture rotated approximately 180 ° in a horizontal plane from the first posture. When detected by the detecting means, the printing means performs the rotational printing on the label, and the sticking means sticks the label at a position symmetrical to the reference sticking position with respect to the center of the product in the substantially horizontal plane.The posture detection means captures the first product in advance, imaging means for capturing a product image by capturing an upper surface of the product, data to be determined that is a luminance distribution in a predetermined target area of the product image, and The reference image, which is a luminance distribution in a predetermined target area of the reference image acquired while maintaining the posture, is compared, and the first posture and the second posture are determined based on the difference between the determination target data and the reference data. Comparison judgment means for judging an attitude, wherein the comparison judgment means determines that the product is the first when the difference between the judged data and the reference data is within a predetermined threshold range. If the difference between the data to be judged and the reference data is not within a predetermined threshold range, the product image is rotated by 180 ° and then moved to the target area. Applicable territory When the difference between the re-acquired data to be determined and the reference data is within a predetermined threshold range, the product takes the second posture. JudgingIt is characterized by doing.
[0012]
  Claims2The invention of claim1The label affixing device according to claim 1, wherein the operation is stopped when a difference between the re-acquired determination data and the reference data is not within a predetermined threshold range. .
[0013]
  Claims3The invention includes a printing process for printing on a label according to a predetermined printing format, and a predetermined moving mechanism.ByAn affixing step capable of affixing the label to an arbitrary position of the product, and a method for applying the label to the product, wherein the product is placed in a substantially horizontal plane at a predetermined position inside the apparatus. A posture detecting step for detecting a posture in the printing, wherein in the printing step, normal printing for printing on the label without rotating the printing format and rotation for printing on the label by rotating the printing format by 180 ° Printing can be selectively executed, and when the product is in the first posture, which is a predetermined original posture, is detected in the posture detection step, the label is printed on the label in the printing step. Normal printing is performed, and the label is affixed to a reference affixing position predetermined according to the product in the affixing step, and the product is removed from the first posture. When the posture detection step detects that the second posture, which is a posture rotated by approximately 180 ° in the plane, the rotary printing is performed on the label in the printing step, and the abbreviation in the pasting step. The label is affixed at a position symmetrical to the reference affixing position with respect to the product center in the horizontal plane.The attitude detection step includes an imaging step of capturing a product image by capturing an upper surface of the product, determination data that is a luminance distribution in a predetermined target region of the product image, and the product in advance in the first posture. Is compared with reference data that is a luminance distribution in a predetermined target region of the reference image that has been acquired in the above-described manner, and the first posture and the second posture based on the difference between the determination target data and the reference data A comparison and determination step for determining whether the product is in the first posture when the difference between the determined data and the reference data is within a predetermined threshold range. If the difference between the data to be judged and the reference data is not within a predetermined threshold range, the product image is rotated 180 ° and corresponds to the target area. Do When the difference between the re-acquired data to be determined and the reference data is within a predetermined threshold range, the product has the second posture. Is judged to be takingIt is characterized by that.
[0014]
MaClaim4The invention of claim3The labeling method according to claim 1, wherein, in the comparison and determination step, if the difference between the re-acquired data to be determined and the reference data is not within a predetermined threshold range, the printing step And the pasting step is not performed.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
<First Embodiment>
<Device configuration>
FIG. 1 is an external perspective view showing a packaging price attaching device 100 according to a first embodiment of the present invention. FIG. 2 is a block diagram showing a configuration of the packaging price attaching device 100. The packaging price attaching device 100 is a device that wraps a product placed on a tray with a wrap film and attaches a label describing a product name, a price, an internal volume, and the like on a film surface. It also has a function of weighing as required depending on the type of product. In order to realize these functions, as shown in FIG. 1 or FIG. 2, the packaging price adding device 100 includes a loading / discharging unit 10, a weighing unit 20, an imaging unit 30, a lift unit 40, and a packaging unit 50. A printing unit 60, a pasting unit 70, a display / operation unit 80, and a control unit 90. Each part is electrically connected via a bus line BL. Note that FIG. 1 has a three-dimensional coordinate system in which the packaging price attaching device 100 has a depth direction as an x-axis, a width direction as a y-axis, and a height direction as a z-axis. The subsequent description will be made according to this coordinate system.
[0016]
The display / operation unit 80 is provided for the operator of the packaging price attaching device 100 to perform settings related to the operation of each part of the device or to display the operation state of the packaging pricing device 100, and is configured from a keyboard, a liquid crystal panel, and the like. . The liquid crystal panel may be a touch panel display capable of a touch operation.
[0017]
The control unit 90 is provided to control the operation of each unit of the packaging price attaching device 100, and includes a CPU 90a, a ROM 90b, a RAM 90c, and a storage unit 90d, and the function is realized by a computer. The storage unit 90d is realized by a storage device such as a hard disk. The storage unit 90d includes various control programs P, a product master MS1 (FIG. 8) that is a database that stores information about products to be processed such as packaging, and a tray master that is a database about trays. MS2 (FIG. 9), a reference master MS3 (FIG. 10) which is a database for information serving as a reference when making a determination such as product identification, reference image data RID for each product used for determination, and a label The label format data LFD, which is a format for printing “”, is mainly stored.
[0018]
FIG. 3 is a side cross-sectional view schematically showing a front part of a product conveyance path in the packaging price assigning apparatus 100, that is, a part from which an inputted product is imaged, weighed if necessary, and thereafter to packaging. It is. The front part mainly includes an input / discharge unit 10, a weighing unit 20, an imaging unit 30, and a lift unit 40.
[0019]
In many cases, the product M to be subjected to the packaging pricing process in the packaging pricing apparatus 100 is placed on the loading unit 11 of the loading / unloading unit 10 while being placed on the tray T. In the following description, the tray T and the like may be simply referred to as a product.
[0020]
The input unit 11 is connected to the weighing unit 20 on the back surface thereof, and the weight of the product M is detected by the load cell 21 of the weighing unit 20. The detected weight data is sent to the control unit 90 and used for pricing or the like when weight data is required, such as when the product M is a product whose price is determined according to the unit price per weight.
[0021]
In addition, an imaging unit 30 is provided on the back surface side of the discharge unit 15 of the input / discharge unit 10 disposed above the input unit 11. The imaging unit 30 is provided for imaging the product M placed on the input unit 11 by the CCD camera 31. The CCD camera 31 preferably has a function capable of color photography.
[0022]
Further, the input / discharge unit 10 is wound around four pulleys PL, and is fixed by two sets of left and right conveying belts 12 driven by driving means (not shown) and the conveying belts 12, and includes a plurality of conveying claws 13F. And a transport bar 13 having Although not shown in FIG. 3, a notch 11 </ b> N (FIG. 11) is provided at the end of the loading unit 11 to allow the transport claw 13 </ b> F to pass therethrough. When the conveyor belt 12 and the conveyor bar 13 are driven as indicated by the arrows AR1 and AR2, the product M is eventually pushed together with the tray T by the conveyor bar 13, and the centering conveyor 14 and further to the back (x-axis negative) (The direction) is transported onto a support member 43 (described later) of the lift portion 40. Here, the centering conveyor 14 is provided to move the product M in the loading unit 11 to the center when there is variation in the loading position of the product M in the y-axis direction. Due to the action of the centering conveyor 14, the product M is placed at the center in the y-axis direction of the support member 43 of the lift part 40.
[0023]
The lift portion 40 has a support base 41 that can be moved up and down by an electric ball screw mechanism 44, and a plurality of lower ends fixed on the support base 41 so that the longitudinal direction is the z-axis direction. A support bar 42 and a support member 43 provided at the upper end of each support bar so as to be rotatable and support the bottom surface of the tray T are provided. When the product M is placed on the support member 43, the support base is moved upward (z-axis positive direction) by the action of the electric ball screw mechanism 44. Thereby, the commodity M is transferred upward.
[0024]
FIG. 4 schematically shows a rear part of the product conveyance path in the packaging price assigning apparatus 100, that is, a part until the printed label is pasted after the product pushed up by the lift unit 40 is packaged. It is a sectional side view. The front part mainly includes a packaging unit 50, a printing unit 60, and a pasting unit 70.
[0025]
The packaging unit 50 is provided for packaging the product M using a wrap film F for packaging. The packaging unit 50 includes a film transport mechanism 51, a pair of left and right folding plates 52, a rear folding plate 53, a pusher 54, and a seal conveyor 55. In the packaging unit 50, prior to the upward transfer operation of the product M by the lift unit 40 described above, the wrap film F is stretched in advance and supplied above the tray T by the film transport mechanism 51. As a result of the transfer operation by the lift unit 40, the wrap film F adheres to the upper surface of the product M placed on the tray T and the edge of the tray T. Further, with the upper surface of the tray T covered by the wrap film F, the four sides of the wrap film F are folded to the bottom surface (lower surface) side of the tray T by the left and right folding plates 52, the rear folding plate 53, the pusher 54, and the like. Then, each edge part of the wrap film F folded in the bottom face side of tray T in the seal conveyor 55 is heat-welded mutually, and packaging is completed.
[0026]
The printing unit 60 is provided for printing a predetermined print content on a label LB to be affixed to a product during the period from when the product is put into packaging. The pasting unit 70 is provided for pasting the printed level LB at a predetermined position (on the packaging surface) of the product M in a predetermined direction. FIG. 5 is a side sectional view for explaining operations of the printing unit 60 and the pasting unit 70.
[0027]
In the printing unit 60, a label LB integrated with the mount BS is supplied as indicated by an arrow AR4 from the supply roll SR while being guided by the platen roller PR, and is determined according to the label format data LFD and the type of the product M. Based on the print contents, the print head 61 prints on the print surface LBS.
[0028]
In the affixing unit 70, the printed label LB is peeled off from the mount BS while being sucked and held by the affixing head 71, and affixed to a predetermined position of the product M. The sticking head 71 has a plurality of suction holes VH at the bottom, and the label LB can be held by suction from the suction holes VH when the inside of the sticking head 71 is in a negative pressure state. The sticking unit 70 includes a horizontal drive mechanism 72, a vertical drive mechanism 73, and a rotation drive mechanism 74. With the label LB held, as shown by arrows AR5 to AR7, the horizontal movement, vertical movement, And can be rotated. As a result, the label LB can be attached to the product M at any position of the product M in either a portrait orientation or a landscape orientation. The product to which the label LB is attached is discharged to the discharge unit 15.
[0029]
<Determination of product>
Next, the correctness / incorrectness of the introduced product and the determination of the attitude in the packaging price attaching device 100 will be described with specific examples. Now, it is assumed that the product M to be processed in the packaging price assigning apparatus 100 is a “curry rice” CR that enters the tray T and is covered with a transparent upper lid.
[0030]
FIG. 6 shows the relationship between each unit related to product determination and various data generated at the time of determination, which is realized by the functions of the CPU 90a, ROM 90b, RAM 90c, and storage unit 90d in the control unit 90. It is a block diagram. In the control unit 90, a processing target selection unit 91, a reference data generation unit 92, a determination target data generation unit 93, and a comparison determination unit 94 are realized in order to determine a product. FIG. 7 is a diagram showing a flow of product determination. FIG. 8 is a partial view exemplarily showing a commodity master MS1, FIG. 9 is a tray master MS2, and FIG. 10 is a reference master MS3. In any master, each row is referred to as a “record” and each column is referred to as an “item”. The unit of coordinates and size described in each master is “mm”, and the unit of the item “threshold value” in the reference master MS 3 is “%”.
[0031]
First, when a product to be processed is determined in the packaging price assigning apparatus 100, the processing target selection unit 91 receives the target from the product master MS1 and the tray master MS2 in accordance with the operation of the display / operation unit 80 by the operator. Information about the product to be obtained is acquired (step S1). Since the product to be processed is “curry and rice” CR, the determination target setting data OSD is generated based on the record of “15” for “calling No.” in the product master MS1. Specifically, since the value of the item “Tray No.” in the record “Call No.” is “15” is “08”, the content of the record “Tray No.” is “08” in the tray master MS 2. Among them, information necessary for determining the product, for example, information such as “depth”, “width”, and “height” is extracted as the determination target setting data OSD. Further, from the reference master MS3 to which “call No.” is assigned in common with the product master MS1, the data file name of the reference image data RID used for determination is selected from the records with “call No.” being “15”. Information such as “reference image” to be shown and “determination position” and “threshold value” serving as a determination reference are also extracted as determination target setting data OSD. It is assumed that the reference image data RID is created in advance from data captured prior to processing in the packaging price assignment apparatus 100 for the target product, and is stored in the storage unit 90d in, for example, a bitmap format.
[0032]
When various settings for processing, such as the setting for the target product, are completed, the product introduction is started (step S2). FIG. 11 is a top view of the charging unit 11. The product is placed within the placement frame FL indicating the imaging range of the imaging unit 30 on the placement surface 11s of the input unit 11. The mounting frame FL is a rectangular area having a depth of Hf and a width of Wf. In the frame, the axes AX and AY have the + x direction as the X axis positive direction and the + y direction as the Y axis positive direction. And the intersection is defined as the input origin O. As a general rule, the product is defined to be placed so that the longitudinal direction substantially coincides with the Y-axis direction. Further, a state where the product is placed so that the center of the product coincides with the input origin O and the longitudinal direction thereof coincides with the axis AY is referred to as an ideal state, and the arrangement position of the product in the ideal state is referred to as an ideal position IP. And The reference image data RID is preferably data obtained by imaging a product in this ideal state.
[0033]
In addition, as described above, by setting the product to be placed in a posture that is as close to the ideal state as possible, it is possible to prevent the occurrence of a situation where the product is placed in a posture that deviates significantly from the normal posture in advance. Is done. Even if the tray is placed in such a posture, the size of the tray does not match the registered size as will be described later, so that the processing is not erroneously continued. Therefore, the main problem is when the product is placed in a posture rotated approximately 180 ° from the ideal state, that is, in a reversed posture.
[0034]
When the product is placed on the input unit 11, the operation in each unit is sequentially performed as described above. Here, when weighing is necessary, weighing is performed by the weighing unit 20, but the placed product is imaged by the imaging unit 30 regardless of the necessity of weighing (step S3). An image obtained by imaging is stored in the RAM 90c or the storage unit 90d as an imaging data ID. Since the imaging data ID is data used mainly for determination of a product, it is not always necessary to store it until after the determination process. However, in the case of storing it in the storage unit 90d, for example, at the time of packaging for each product individual It is also possible to use the appearance state for a follow-up inspection to be confirmed later.
[0035]
When the imaging data ID is obtained, reference data RD used for product determination and data to be determined ED are generated (step S4). In the present embodiment, since the correctness or attitude of the product is determined based on the information on the color distribution of the product, specifically, the luminance information, both the reference data RD and the determination target data ED are used. Therefore, it is obtained as data suitable for this purpose.
[0036]
The reference data RD is obtained from the reference image data RID acquired in advance by the reference data generation unit 92 and stored in the storage unit 90d, the setting contents described in the determination target setting data OSD, that is, the original reference master MS3 (FIG. It is generated based on the setting contents described in 10). That is, the reference data RD for the “curry and rice” CR is 50 (mm) in the x direction centered on the position of the coordinates (25, 25) as viewed from the input origin O in the reference image data RID with the file name “curry”. ), And is generated from a rectangular region SQ0 having a size of 50 (mm) in the y direction (FIG. 13).
[0037]
On the other hand, the determination data ED is generated from the imaging data ID according to the setting contents of the determination target setting data OSD. However, when an actual product is put in, the product is not necessarily placed in an ideal state, and even if the product is placed aiming at the ideal state, the actual placement position RP and the ideal position IP do not match. The attitude of the product may deviate from the ideal state frequently. Therefore, in order to obtain the determination target data ED, first, after canceling the deviation of the placement position, information on the product is obtained. FIG. 12 is a diagram for explaining this.
[0038]
In FIG. 12, the outer peripheral shape of the product placed at the actual placement position RP in the frame of the placement frame FL is indicated by a solid line, and the outer peripheral shape of the product at the ideal position IP is indicated by a broken line. Assume that the coordinates of the product center C of the product placed at the actual placement position RP are (C1, C2) in the XY coordinate system.
[0039]
In addition, from the imaging data ID of the product, first, the outer peripheral position of the product is detected, and the size of the product is determined from this (step S5). The outer peripheral shape can be defined by, for example, the width and depth of the tray T as representative values. The outer peripheral position can be detected, for example, by applying a high-pass filter process to the imaging data ID based on the difference in color components between the product and the input unit 11. The end parts in the X axis direction thus obtained are E1, E2, the end parts in the Y axis direction are E3, E4, and the distances between E1 and the rearmost part of the mounting frame FL are H1, E2, and the foremost part. H2 is the distance between E3 and the left end, W3 is the distance between E4 and the right end, and W4 is the calculated tray size that does not take into account the deviation of the posture, the depth is H0 and the width is W0. Respectively,
H0 = Hf-H1-H2 (Formula 1)
W0 = Wf-W3-W4 (Formula 2)
Given by. It is determined whether or not the tray size obtained from Equations 1 and 2 is within a predetermined error range with reference to the tray size registered in the tray master MS2. If it is not within the error range, the processing is stopped because it is a defective insertion due to a significant deviation in the posture (step S12). This avoids the inconvenience of being unable to be packaged during the subsequent packaging process. In this case, the packaging price assigning apparatus 100 temporarily stops the product processing operation, and displays a warning message to this effect on the display of the display / operation unit 80. Thereafter, the product is taken out and the correct product is reintroduced or given the correct settings, and the process is resumed.
[0040]
If the tray size meets the standard, the subsequent processing is performed. When the tray has a point-symmetric shape, the coordinates (C1, C2) of the product center C are given as intersections of straight lines connecting the extreme ends. That is,
C1 = (H1-H2) / 2 (Formula 3)
C2 = (W3-W4) / 2 (Formula 4)
It becomes. Actually, there may be a deviation from the true center position due to the attitude of the product, detection error, etc., but the influence on the determination of the target product is small.
[0041]
By obtaining the coordinates of the product center C, even if the product is placed with a deviation from the ideal position IP, by using the relative coordinates from the product center C, the imaging data ID is used regardless of the placement position. The range information to be determined can be extracted from That is, the deviation of the placement position is cancelled. That is, the determination data ED is from a rectangular area SQ1 having a size of 50 (mm) in the X-axis direction and 50 (mm) in the Y-axis direction, centered on the position of the coordinates (25, 25) when viewed from the product center C. Will be generated. As described above, since the imaged product is centered by the centering conveyor 14 before reaching the packaging process, the displacement of the placement position does not affect the subsequent process.
[0042]
FIG. 13 is a diagram illustrating a product image IM0 corresponding to the reference image data RID and a rectangular area SQ0 that is a generation target of the reference data. FIG. 14 is a diagram illustrating a product image IM1 corresponding to the imaging data ID (ID1) and a rectangular area SQ1 that is a generation target of the determination target data ED (ED1). It is assumed that the product shown in FIG. 14 is placed in a posture inclined by a minute angle α (about several degrees at most) from a correct posture, which is not a problem in packaging. Further, FIG. 15 illustrates a rectangular image SQ2 that is a generation target of the image IM2 of the product corresponding to the imaging data ID (ID2) acquired when the product is placed in the reverse direction and the determination data ED (ED2). FIG. Further, FIG. 16 is a diagram showing the reference data RD and the determination target data ED (ED1, ED2).
[0043]
As shown in the image IM0 in FIG. 13, the product “curry and rice” CR, which is the target, is now viewed from the top as “rice” region RG1, “ru” region RG2, and outer periphery region RG3 of tray T. It is divided roughly. Since “boiled egg” is partially topped on “Ru”, this region is referred to as “boiled egg” RG2e. In the “curry and rice” CR, the rectangular area SQ0 for which the reference data is to be generated is set on the “rice” area RG1. The reference data RD shown in FIG. 16A is obtained by extracting the luminance information in the rectangular area SQ0 as relative luminance distribution data. As shown in FIG. 16A, the reference data RD of “curry and rice” CR has a characteristic of having a large peak in a region with the highest luminance. In other words, this corresponds to using the position of the “rice” region RG1, which is mainly white, as a reference for determining whether or not the product has the correct posture. Note that the reference data RD includes a region RG3 slightly corresponding to the tray T.
[0044]
On the other hand, in the image IM1 shown in FIG. 14 and the image IM2 shown in FIG. 15, respectively, the luminance information in the rectangular area SQ1 and the rectangular area SQ2 set at the same position as the rectangular area SQ0 when viewed from the product center C, The data extracted as the relative luminance distribution data are the determination data ED1 and ED2 shown in FIGS. 16B and 16C, respectively. The comparison judgment unit 94 judges whether the difference between the judged data ED1, ED2 and the reference data RD is within a predetermined “threshold value”, thereby judging the correctness and attitude of the product. (Step S6).
[0045]
The determination of the degree of coincidence between the reference data RD and the determination data ED (ED1, ED2) is performed, for example, by calculating the sum of squares of the difference in relative frequency between the determination data ED1 and the reference data RD at the same luminance value for all luminance values. Is summed and squared, and whether or not the value is equal to or less than “5%” which is a “threshold value” set in advance in the reference master MS3.
[0046]
In the case of the determination target data ED1, the product posture is inclined by an angle α as compared with the ideal state, but the tray size is also within the error range. Further, as can be seen from a comparison between FIGS. 16A and 16B, the relative luminance distribution generally matches the reference data RD, and is determined to satisfy the criterion of “5%” or less. In this case, it is determined that the correct product has been introduced in a substantially normal posture, and determination result data ERD having corresponding contents is generated (YES in step S6, step S10). The determination result data ERD is, for example, data in which information about the attitude of a product is described as flag data. In this case, determination result data ERD having a predetermined flag indicating a normal attitude is generated. Become.
[0047]
By performing the determination process as described above, the process can be continued as it is when the “threshold value” is met without strictly matching the posture with the ideal state. On the contrary, it is desirable to set the “threshold value” so as to allow a certain degree of posture deviation upon insertion.
[0048]
On the other hand, in the case of the determination target data ED2, the relative luminance distribution is completely different from the distribution of the reference data RD, as can be seen by comparing FIGS. 16 (a) and 16 (c). That is, a peak appears just around the halftone. This can be said to be a peak corresponding to the “Lu” region RG2. Moreover, although a peak also exists in the high luminance range, its shape is clearly different from that seen in the reference data RD. This can be said to be a peak corresponding to the “boiled egg” region RG2e. Since the determination data ED2 having such characteristics does not satisfy the threshold criteria, it cannot be determined that at least a correct product has been introduced in a generally normal posture (see FIG. NO in step S6).
[0049]
In this case, the comparison / determination unit 94 performs captured image rotation processing for generating a new product image in which the attitude of the product is rotated by 180 ° with respect to the image IM2 based on the captured data ID2 (step S7). The result is exactly the same as the image IM0 shown in FIG. 14 in the above example. And again, to-be-determined data is extracted from a predetermined area (step S8), and a determination process is performed (step S9). As a result, if the standard is satisfied, it is determined that the correct product has been put in, but the product is placed on the loading unit 11 in a state where the posture is reversed by approximately 180 °. In this case, determination result data ERD having a predetermined flag indicating the reverse posture is generated. (YES in step S9, step S11).
[0050]
Alternatively, when “curry rice” CR is a processing target at the time of step S1, for example, a product different from the processing target such as “fried rice lunch” is introduced, as shown in FIG. An imaging data ID (ID3) having a product image IM3 different from “Rice” CR is acquired. FIG. 18 is a diagram comparing the determination target data ED (ED3, ED4) and the reference data RD in this case. In this case, although the shape of the tray is slightly different, it is assumed that it falls within the error range of the tray size of the “curry rice” CR.
[0051]
In this case, the determination target data ED3 is first extracted from the rectangular area SQ3 in step S4. It is assumed that the determination target data ED3 obtained as a result is shown in FIG. Note that FIG. 18A shows the reference data RD, which is the same as FIG. As can be seen from FIGS. 18A and 18B, since the distributions of the two are completely different, NO is selected in step S6. Subsequently, the captured image rotation process is performed (step S7). This eventually leads to a process of extracting the determination target data ED4 from the rectangular area SQ4 of FIG. The determination target data ED4 obtained as a result also has a distribution different from the reference data RD.
[0052]
That is, in this case, none of the two determinations satisfies the standard, and NO is selected also in step S9. Therefore, it is determined that a product different from the product initially set as the processing target is input (step S12). In this case, instead of generating the determination result data ERD, the packaging price attaching device 100 temporarily stops the product processing operation and displays a warning message to this effect on the display of the display / operation unit 80. Become. Thereafter, the product is taken out and the correct product is reintroduced or given the correct settings, and the process is resumed.
[0053]
When the attitude of the product is determined as described above, label printing processing and pasting processing are subsequently performed in accordance with the determination result data ERD.
[0054]
<Printing and pasting labels>
When the correctness / incorrectness of the product and the determination of the posture are finished, the product is continuously subjected to the packaging process, and the printing process in the printing unit 60 is performed in parallel so that the label is quickly attached to the packaged product. Then, the printed label is quickly pasted on the product by the pasting unit 70. In the following, it is assumed that the product to be processed is a “curry and rice” CR.
[0055]
FIG. 19 shows the relationship between each part related to label printing and various data generated at the time of printing, which are realized by the functions of the CPU 90a, ROM 90b, RAM 90c, and storage unit 90d in the control unit 90. It is a block diagram. In the control unit 90, a print data generation unit 95 and a print control unit 96 are realized in order to perform printing on a label corresponding to the attitude of the product. FIG. 20 is a diagram showing the flow of the product printing process.
[0056]
The print data generation unit 95 generates the print data PD or the reverse print data RPD based on the label format data LFD, the product master MS1, the tray master MS2, and the determination result data ERD.
[0057]
The print control unit 96 controls the operation of the entire print unit 60 such as the print head 61 in order to perform printing according to the print data PD or the reverse print data RPD.
[0058]
When the product to be processed is determined in the packaging price attaching device 100 in the above-described step S1, the print data generating unit 95 displays the print content of the target product from the product master MS1 and the paste position from the tray master MS2. Information is acquired (step S21). Further, the label format data LFD is read based on the information related to the format used for printing described in the merchandise master MS1 (step S22). As a result, information on the layout of predetermined print items such as product name, price, and processing date on the label, that is, print data PD is determined (step S23).
[0059]
When the print data PD is obtained, the pasting information is acquired from the tray master MS2 and the determination result data ERD is referred to in order to determine the print position and orientation (step S24). The pasting information is information regarding the label pasting position and the pasting direction. Since “Tray No.” corresponding to “Curry and Rice” CR is “08”, the item value (12, 25) of the item “Paste Coordinate” (center coordinate of the label sticking position) and the item “Paste Direction” Information of item value “horizontal” (longitudinal direction coincides with product width direction) is acquired. The coordinate axes of the pasted coordinates will be described later.
[0060]
When the determination result data ERD describes information that the product attitude is normal, the print control unit 96 controls the printing unit 60 to print the label LB1 according to the print data PD as it is. Thereby, the label LB1 is printed (step S25). FIG. 21A is a diagram exemplarily showing a label LB1 printed according to the print data PD. Now, since the “sticking direction” is given as “horizontal”, the longitudinal direction of the label LB1 is also shown in FIG. 21A so as to coincide with the y-axis direction.
[0061]
When the label LB1 printed in this way is issued from the printing unit 60, the label LB1 is pasted to the pasting coordinates (12, 25) by the pasting unit 70 (step S26). FIG. 22A shows a state where the label LB1 is affixed to the product. The pasting coordinates are given by a uv coordinate system in which the center of the product is the origin, the u axis is in the x axis direction, and the v axis is in the y axis direction. In general, it is desirable that the label be affixed at a position that does not interfere as much as possible when the customer considering the purchase determines the contents of the product. In the case of “curry and rice” CR, as shown in FIG. 22A, the pasting coordinates are determined so as to be pasted on the “rice” region RG1.
[0062]
On the other hand, when information indicating that the product attitude is reversed is described in the determination result data ERD, the label LB1 is printed and pasted as in the normal case, as shown in FIG. As described above, the “Ru” region RG2 and the “boiled egg” region RG2e are pasted. This significantly hinders the visibility of the product, which is not preferable.
[0063]
Therefore, in this case, the print data creation unit 95 generates the reverse print data RPD for obtaining the label LB2 that is rotated by 180 ° only while maintaining the format of the label LB1, based on the print data PD (step) S27). The print control unit 96 controls the print unit 60 to print the label LB2 in accordance with the reverse print data RPD. Thereby, the label LB2 is printed (step S28). FIG. 21B shows the label LB2 in the same coordinate system as the label LB1.
[0064]
Further, when the label LB2 printed in this way is issued from the printing unit 60, the label LB2 is affixed to the product at a position corresponding to the position to be originally affixed by the affixing unit 70 if it is in a normal posture. Will be. In the case of “curry and rice” CR, the curling rice is pasted at a point symmetrical with the original pasting coordinates (12, 25) in the uv coordinate system (step S29). FIG. 22C is a diagram illustrating a state in which the label LB2 is attached to the “curry rice” CR whose posture is reversed. In addition, since reverse printing is performed in advance, the label LB2 itself is not rotated by the applying head 71, but is attached in a direction corresponding to the direction to be originally attached. Since a rotating operation is not required, even if the product posture is reversed, the time required for sticking does not increase significantly due to that.
[0065]
As described above, the packaging price assigning apparatus 100 according to the present embodiment can detect and stop the processing when an incorrect product is introduced. In addition, even if the attitude of the product into which the product has been introduced is different from the normal posture determined in advance, the normal posture can be maintained without rotating the label by reversing the printing on the label. In this case, it can be attached at a position corresponding to the position to be applied in a posture corresponding to the posture to be originally applied. This eliminates the need for packaging, re-pricing, etc., and prevents a reduction in processing efficiency due to a product insertion error.
[0066]
<Second Embodiment>
Although 1st Embodiment has mainly shown the aspect about the case where goods are mounted in the reverse posture, in this Embodiment, the attitude | position in the packaging price attaching apparatus 200 corresponding to the goods of a different shape and attitude | position This determination and label sticking will be described. However, the configuration of each part of the packaging price attaching device 200 is basically the same as that of the packaging price attaching device 100 according to the first embodiment, and therefore, except for the differences, the same reference numerals are used hereinafter. Description is omitted.
[0067]
FIG. 23 is a diagram for explaining the relationship between the product M and the label LB attachment position according to the present embodiment. FIG. 23A shows an ideal state of the product M. FIG. It is assumed that the product M according to the present embodiment has contents on a circular tray T. The contents are roughly divided into two regions RG11 and RG12 when viewed from above, and the pasting coordinates are set so that the label LB is pasted on the region RG12.
[0068]
Conventionally, even when the product M is put in with a posture different from the ideal state, the label LB is stuck in the given sticking coordinates as shown in FIG. In this case, as shown in FIG. 23 (c), it is desirable that the label LB be attached according to the posture. This will be described below.
[0069]
FIG. 24 shows the relationship between each unit related to the calculation of the attitude of a product and various data generated in the calculation, realized by the functions of the CPU 90a, ROM 90b, RAM 90c, and storage unit 90d in the control unit 90. FIG. In the control unit 90, in order to calculate the attitude of the product, the processing object selection unit 91, the reference data generation unit 92, and the determination data generation are performed in the same manner as the packaging price attaching device 100 according to the first embodiment. In addition to the realization of the unit 93, the posture calculation unit 97 is realized. The posture calculation unit 97 performs calculation processing for obtaining the posture of the product from the imaging data ID and the determination target setting data OSD. The attitude of the product is acquired as attitude data AD, and is used for attaching the label LB.
[0070]
FIG. 25 is a diagram illustrating a method for obtaining the attitude of a product. Also in the present embodiment, the posture calculating unit 97 first calculates the size of the tray and the product center C from the imaging data ID, as in the first embodiment. Also in the present embodiment, if the calculated tray size is different from the registered size, the processing is stopped. When the size of the tray satisfies the condition, the posture calculation unit 97 performs a straight line L0 that passes through the product center C and is parallel to the Y axis, and a plurality of straight lines L1, L2,. The luminance distribution along the line is extracted. FIG. 25A shows a case where three equally spaced parallel lines L0, L1, and L2 are symmetric, and FIG. 25B shows a luminance distribution corresponding to each straight line. Yes. Now, assuming that the region RG11 has a substantially constant luminance and the change is relatively small, the luminance in each straight line is continuously within a certain error range Δ with a predetermined luminance value as the center. It can be determined that the range is a range corresponding to the region RG11. Therefore, when the positions corresponding to the end of this range are obtained on the straight lines L0, L1, and L2, and a straight line connecting these is considered, this roughly corresponds to a boundary line that separates the regions RG11 and RG12. Accordingly, the posture calculation unit 97 calculates the boundary line from the above-described luminance distribution, and calculates the inclination θ with respect to the Y-axis direction as posture data AD. In this case, it is assumed that the region to be focused on, the luminance value, the calculation range of the luminance distribution, the error range Δ, and the like are given to the reference master MS 3 for each product to be processed.
[0071]
Assuming that the ideal state is determined so that the boundary line shown in FIG. 23 (a) is parallel to the Y-axis, this inclination θ is applied as shown in FIG. 23 (b) or (c). This corresponds to the actual attitude of the product.
[0072]
The printing of the label LB in the printing unit 60 is performed based on the print data as in the first embodiment. On the other hand, the pasting unit 70 rotates the printed label LB by the inclination θ obtained as the posture data AD by the action of the rotation drive mechanism 74 capable of rotating the label LB at an arbitrary angle. Affix to product M.
[0073]
As a result, as shown in FIG. 23C, the label LB can be attached to the normal position even when the attitude of the product is deviated from the ideal state.
[0074]
As described above, in the present embodiment, by obtaining the posture of the product using the luminance distribution, it is possible to correctly attach a label even to a product taking an arbitrary posture. It is possible to prevent a decrease in processing efficiency.
[0075]
<Third Embodiment>
The label sticking device according to the present invention can be realized by devices other than the packaging value attaching device as in the above-described embodiment. In the present embodiment, processing in a weighing value adding apparatus that has a conveyor and continuously measures and values while conveying goods on the conveyor will be described.
[0076]
FIG. 26 is a diagram schematically showing the configuration of the weighing value adding device 300. The weighing value added device 300 conveys the product M by the take-in conveyor 310 having the take-in conveyor CV1 for taking in the product M supplied from the device group 400 such as a packaging device arranged on the upstream side, and the weighing conveyor CV2. However, the weighing unit 320 for weighing the product M, the label to be pasted on the product M, the pasting unit 330 for pasting the label while transporting the product M on the pasting conveyor CV3, and the weighing value attached It mainly includes a display unit 340 that displays an operation status and the like of the device 300, an operation unit 350 for an operator to input a predetermined operation instruction and the like, and a control unit 360 that controls the operation of each unit of the weighing value adding device 300. ing.
[0077]
The take-in unit 310 includes an imaging unit 311 for photographing the product M above the take-in conveyor CV1 that conveys the product M. The imaging unit 311 is provided with a sensor 312 that detects the passage of the product M, for example using infrared rays, at a position corresponding to the upstream end of the take-in conveyor CV1. In addition, a CCD camera 313 for taking an image of the product M detected by the sensor 312 is provided at a position corresponding to the downstream side of the take-in conveyor CV1. The take-in conveyor CV1 normally conveys the product M at a substantially constant speed, and since the distance D along the conveyance path between the sensor 312 and the CCD camera 313 is also known, after passing directly under the sensor 312 The product M conveyed by the take-in conveyor CV1 can be imaged at the timing when it reaches just below the CCD camera 313. The imaging result is used for printing on a label in a printing mechanism 331 described later and attaching the label to the product M.
[0078]
The weighing unit 320 is provided with a weighing mechanism 321 below the weighing conveyor CV2, and can measure the product M while being conveyed.
[0079]
The pasting unit 330 mainly includes a printing mechanism 331 and a pasting mechanism 332. Like the printing unit 60 according to the first embodiment, the printing mechanism 331 performs printing on a normal label, and inverts the printing contents as necessary according to the attitude of the product M. Label can be printed. The sticking mechanism 332 includes a sticking head 333, which can stick a printed label at a predetermined position in a predetermined direction.
[0080]
Thereby, also in the weighing value addition apparatus 300 according to the present embodiment, it is possible to attach a label in a predetermined direction at a predetermined position even when the attitude of the product is different from the normal attitude.
[0081]
In addition, in the weighing value addition apparatus 300, the conveyance speeds v1 to v3 of the conveyors CV1 to CV3 are controlled by the control unit 360. Then, based on the type of product to be processed and the conveying speeds v1 to v3 of the conveyors CV1 to CV3 at a certain time, the weighing value adding device 300 can process per unit time at that time. The maximum processing capacity Am, which is the number of products, is always calculated by the control unit 360.
[0082]
On the other hand, for example, based on the detection result of the product in the sensor 312, data on the take-in time interval of the product M taken into the weighing value adding device 300 is also acquired in the control unit 360. Based on this data, the control unit 360 always calculates the current capability Ap, which is the number of products actually processed per unit time by the weighing value addition device 300.
[0083]
While the weighing value adding device 300 is operating, the maximum processing capacity Am and the current capacity Ap are displayed on the display unit 340 together with the conveyance speeds v1 to v3 of the conveyors CV1 to CV3. FIG. 27 is a diagram exemplarily showing this processing capacity display DSP. Or the aspect displayed on the display means provided separately so that it can confirm also from the place away from the apparatus 300 with a measured value may be sufficient.
[0084]
By performing the processing capacity display DSP, it becomes easy for a worker or a manager of a factory or the like where the weighing value attaching apparatus 300 is installed to know the processing capacity of the process in real time. Thereby, according to the difference between the maximum processing capacity Am and the current capacity Ap, the processing capacity including the device group 400 used in the previous process (for example, cutting, laying, packaging, etc.) up to the weighing value added device 300. Can be adjusted accurately. Alternatively, it is possible to appropriately adjust the processing capacity (current capacity) of the weighing value added apparatus 300 and the apparatus group 400 of the preceding process while grasping the current situation, so that troubles and complaints related to the processing capacity can be prevented. Will be able to prevent.
[0085]
<Modification>
It is preferable that the method of setting the reference used for determining the correctness / incorrectness of the product and the attitude is variously determined according to the characteristics of the product and the tray used. For example, the arrangement relationship of the contents of the product, the shape and color component of the outer periphery of the tray, the position and color component of the partition portion, and the like may be used as a reference. A mode may be used in which reference data is created using a plurality of locations and a determination is made for one product. A plurality of determination methods may be used in combination.
[0086]
In the above-described embodiment, the luminance is used for the determination, but the determination may be performed by extracting the distribution for each color component of the RGB color image.
[0087]
In the first embodiment, printing on the label is reversed, but instead, printing may be performed normally, and then the label may be rotated and pasted at the time of pasting. .
[0088]
In the second embodiment, the boundary line is obtained from the luminance distribution. Instead, the boundary line may be obtained, for example, by high-pass filter processing.
[0089]
【The invention's effect】
  As described above, claims 1 to4According to this invention, even if a product is supplied in a reverse orientation, the label can be attached at the correct position, so that the apparatus is not stopped or reapplied, and the processing efficiency is improved. Further, since it is not necessary to rotate the label, it is possible to avoid complication of the apparatus and to suppress an increase in the sticking processing time.Furthermore, the detection of the attitude of the product can be automated when the label is attached.
[0094]
  In particular, the claims2as well as4According to this invention, it is possible to avoid sticking a label when a product that is not an original sticking target is erroneously inserted, so that re-sticking can be avoided and a reduction in processing efficiency can be suppressed.
[Brief description of the drawings]
FIG. 1 is an external perspective view showing a packaging price attaching device 100 according to a first embodiment.
FIG. 2 is a block diagram showing a configuration of a packaging price attaching device 100. FIG.
FIG. 3 is a diagram showing a front part of a product conveyance path in the packaging price assigning apparatus.
FIG. 4 is a view showing a rear part of a product conveyance path in the packaging price assigning apparatus 100. FIG.
FIG. 5 is a side sectional view for explaining the operation of the printing unit 60 and the pasting unit 70;
FIG. 6 is a block diagram illustrating a relationship between each unit related to product determination and various data generated in the determination, which is realized in the control unit 90;
FIG. 7 is a diagram illustrating a flow of determining a product.
FIG. 8 is a partial view exemplarily showing a product master MS1.
FIG. 9 is a partial view exemplarily showing a tray master MS2.
FIG. 10 is a partial view exemplarily showing a reference master MS3.
FIG. 11 is a top view of the charging unit 11;
FIG. 12 is a diagram for explaining cancellation of a displacement of a placement position.
FIG. 13 is a diagram illustrating a product image IM0 and a rectangular area SQ0 for which reference data is to be generated.
14 is a diagram illustrating an image IM1 and a rectangular area SQ1 that is a generation target of determination target data ED (ED1). FIG.
FIG. 15 is a diagram illustrating a product image IM2 and a rectangular area SQ2 that is a generation target of determination target data ED (ED2).
FIG. 16 is a diagram showing reference data RD and determination target data ED (ED1, ED2).
FIG. 17 is a diagram showing a product image IM3 different from “curry and rice” CR.
FIG. 18 is a diagram comparing data to be judged ED (ED3, ED4) with reference data RD.
FIG. 19 is a block diagram illustrating a relationship between each unit related to label printing and various data generated in printing, which is realized by the control unit 90;
FIG. 20 is a diagram illustrating a flow of a product printing process.
FIG. 21 is a diagram showing labels LB1 and LB2.
FIG. 22 is a diagram showing a state where labels LB1 and LB2 are affixed to a product.
FIG. 23 is a diagram for explaining a relationship between a product M and a label LB sticking position.
FIG. 24 is a block diagram illustrating a relationship between each unit related to the calculation of the attitude of a product and various data generated in the calculation, which is realized in the control unit 90.
FIG. 25 is a diagram illustrating a method for obtaining the attitude of a product.
FIG. 26 is a diagram schematically showing a configuration of a weighing value adding apparatus 300. FIG.
FIG. 27 is a diagram exemplarily showing a processing capacity display DSP.
[Explanation of symbols]
11 Input section
11s Placement surface
14 Centering conveyor
15 Discharge section
21 Load cell
31, 313 CCD camera
61 Print head
71 Pasting head
100, 200 Packaging price device
300 Device with weighing value
312 sensor
321 Weighing mechanism
331 Printing mechanism
332 Pasting mechanism
333 sticking head
C Product center
CV1 intake conveyor
CV2 weighing conveyor
CV3 sticking conveyor
DSP processing capacity display
FL Mounting frame
IP ideal position
LB, LB1, LB2 labels
LBS printing surface
M product
O Input origin
RP (actual) placement position
SQ0 to SQ4 rectangular area
T tray
v1 to v3 transport speed

Claims (4)

所定の印字フォーマットに従ってラベルに印字する印字手段と、
所定の移動機構を備え、商品の任意の位置に前記ラベルを貼付することが可能な貼付手段と、
を備え、商品にラベルを貼付する装置であって、
装置内部の所定の位置に載置された商品の略水平面内における姿勢を検出する姿勢検出手段をさらに備え、
前記印字手段は、前記印字フォーマットを回転させずに前記ラベルに印字を行う正常印字と、前記印字フォーマットを180°回転させて前記ラベルに印字する回転印字とを選択的に実行可能であり、
前記商品があらかじめ定められた本来の姿勢である第1姿勢を取っていると前記姿勢検出手段によって検出された場合は、前記印字手段は前記ラベルに前記正常印字を行い、前記貼付手段は前記商品に応じてあらかじめ定められた基準貼付位置に前記ラベルを貼付し、
前記商品が前記第1姿勢から水平面内において略180°回転した姿勢である第2姿勢を取っていると前記姿勢検出手段によって検出された場合は、前記印字手段は前記ラベルに前記回転印字を行い、前記貼付手段は前記略水平面内において商品中心に関して前記基準貼付位置と点対称な位置に前記ラベルを貼付し、
前記姿勢検出手段は、
前記商品の上面を撮像して商品画像を取得する撮像手段と、
前記商品画像の所定の対象領域における輝度分布である被判定データと、あらかじめ前記商品を前記第1姿勢に保って取得しておいた基準画像の所定の対象領域における輝度分布である基準データとを比較し、前記被判定データと前記基準データとの差異に基づいて前記第1姿勢および前記第2姿勢を判断する比較判断手段と、
を備え、
前記比較判断手段は、
前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にある場合には、前記商品が前記第1姿勢を取っていると判断し、
前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にない場合には、前記商品画像を180°回転させたうえで前記対象領域に該当する領域における輝度分布を前記被判定データとして再取得し、再取得された前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にあるときには、前記商品が前記第2姿勢を取っていると判断することを特徴とするラベル貼付装置。
Printing means for printing on the label according to a predetermined printing format;
A sticking means comprising a predetermined moving mechanism, and capable of sticking the label at an arbitrary position of the product;
A device for attaching a label to a product,
It further comprises posture detecting means for detecting the posture of the product placed at a predetermined position inside the apparatus in a substantially horizontal plane,
The printing means can selectively execute normal printing for printing on the label without rotating the printing format and rotational printing for printing on the label by rotating the printing format by 180 °,
When the posture detecting means detects that the product has a first posture which is a predetermined original posture, the printing means performs the normal printing on the label, and the sticking means is the product. Affix the label at a predetermined reference position according to
When the posture detecting means detects that the product has taken the second posture, which is a posture rotated approximately 180 ° in the horizontal plane from the first posture, the printing means performs the rotational printing on the label. The sticking means sticks the label at a position symmetrical to the reference sticking position with respect to the product center in the substantially horizontal plane ,
The posture detection means includes
Imaging means for capturing the product image by imaging the upper surface of the product;
To-be-determined data that is a luminance distribution in a predetermined target area of the product image, and reference data that is a luminance distribution in a predetermined target area of the reference image acquired in advance while maintaining the product in the first posture. Comparing and judging means for comparing and judging the first posture and the second posture based on a difference between the judged data and the reference data;
With
The comparison determination means includes
If the difference between the judged data and the reference data is within a predetermined threshold range, the product is determined to be in the first posture;
If the difference between the determination target data and the reference data is not within a predetermined threshold range, the product image is rotated 180 ° and the luminance distribution in the region corresponding to the target region is calculated. Re-acquisition as determination data, and when the difference between the re-acquired determination data and the reference data is within a predetermined threshold range, determining that the product is in the second posture A labeling device characterized by.
請求項1に記載のラベル貼付装置であって、
前記再取得された前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にない場合には、動作を停止することを特徴とするラベル貼付装置。
It is a label sticking apparatus of Claim 1, Comprising:
Wherein when the difference between the re-acquired the determination target data and the reference data is not within the predetermined threshold, the label sticking apparatus characterized that you stop the operation.
所定の印字フォーマットに従ってラベルに印字する印字工程と、
所定の移動機構によって、商品の任意の位置に前記ラベルを貼付することが可能な貼付工程と、
を含む、商品へのラベルの貼付方法であって、
装置内部の所定の位置に載置された商品の略水平面内における姿勢を検出する姿勢検出工程をさらに備え、
前記印字工程では、前記印字フォーマットを回転させずに前記ラベルに印字を行う正常印字と、前記印字フォーマットを180°回転させて前記ラベルに印字する回転印字とを選択的に実行可能であり、
前記商品があらかじめ定められた本来の姿勢である第1姿勢を取っていると前記姿勢検出工程において検出された場合は、前記印字工程において前記ラベルに前記正常印字が行われ、前記貼付工程において前記商品に応じてあらかじめ定められた基準貼付位置に前記ラベルが貼付され、
前記商品が前記第1姿勢から水平面内において略180°回転した姿勢である第2姿勢 を取っていると前記姿勢検出工程によって検出された場合は、前記印字工程において前記ラベルに前記回転印字が行われ、前記貼付工程において前記略水平面内において商品中心に関して前記基準貼付位置と点対称な位置に前記ラベルが貼付され、
前記姿勢検出工程は、
前記商品の上面を撮像して商品画像を取得する撮像工程と、
前記商品画像の所定の対象領域における輝度分布である被判定データと、あらかじめ前記商品を前記第1姿勢に保って取得しておいた基準画像の所定の対象領域における輝度分布である基準データとを比較し、前記被判定データと前記基準データとの差異に基づいて前記第1姿勢および前記第2姿勢を判断する比較判断工程と、
を備え、
前記比較判断工程では、
前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にある場合には、前記商品が前記第1姿勢を取っていると判断され、
前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にない場合には、前記商品画像を180°回転させたうえで前記対象領域に該当する領域における輝度分布を前記被判定データとして再取得し、再取得された前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にあるときには、前記商品が前記第2姿勢を取っていると判断されることを特徴とするラベル貼付方法
A printing process for printing on a label according to a predetermined printing format;
A pasting step capable of pasting the label at an arbitrary position of the product by a predetermined moving mechanism;
A method of applying a label to a product including
A posture detection step of detecting a posture of the product placed in a predetermined position inside the apparatus in a substantially horizontal plane;
In the printing step, normal printing for printing on the label without rotating the printing format and rotational printing for printing on the label by rotating the printing format by 180 ° can be selectively executed.
When the product is in a first posture, which is a predetermined original posture, and is detected in the posture detection step, the normal printing is performed on the label in the printing step, and in the pasting step, the normal printing is performed. The label is affixed to a predetermined reference affixing position according to the product,
If the attitude detection step detects that the product has taken a second attitude , which is an attitude rotated approximately 180 ° in a horizontal plane from the first attitude , the rotational printing is performed on the label in the printing process. In the pasting step, the label is pasted at a position symmetrical to the reference pasting position with respect to the product center in the substantially horizontal plane,
The posture detection step includes
An imaging step of acquiring the product image by imaging the upper surface of the product;
To-be-determined data that is a luminance distribution in a predetermined target region of the product image, and reference data that is a luminance distribution in a predetermined target region of the reference image that is acquired in advance while keeping the product in the first posture. A comparison and determination step of comparing and determining the first posture and the second posture based on a difference between the determination target data and the reference data;
With
In the comparison judgment step,
If the difference between the judged data and the reference data is within a predetermined threshold range, it is determined that the product is in the first posture;
If the difference between the determination target data and the reference data is not within a predetermined threshold range, the product image is rotated 180 ° and the luminance distribution in the region corresponding to the target region is calculated. reacquired as determination data, when the difference between the re-acquired the determination target data and the reference data is within the predetermined threshold, Ru is determined that the product is taking the second posture A labeling method characterized by that.
請求項3に記載のラベル貼付方法であって、
前記比較判断工程において、前記再取得された前記被判定データと前記基準データとの差異が所定のしきい値の範囲内にない場合には、前記印字工程と前記貼付工程とが行われないことを特徴とするラベル貼付方法
It is a label sticking method of Claim 3, Comprising :
In the comparison and determination step, when the difference between the re-acquired determination data and the reference data is not within a predetermined threshold range, the printing step and the pasting step are not performed. A labeling method characterized by :
JP2002274937A 2002-09-20 2002-09-20 Label sticking device and label sticking method to product Expired - Fee Related JP4004364B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002274937A JP4004364B2 (en) 2002-09-20 2002-09-20 Label sticking device and label sticking method to product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002274937A JP4004364B2 (en) 2002-09-20 2002-09-20 Label sticking device and label sticking method to product

Publications (2)

Publication Number Publication Date
JP2004106915A JP2004106915A (en) 2004-04-08
JP4004364B2 true JP4004364B2 (en) 2007-11-07

Family

ID=32271273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002274937A Expired - Fee Related JP4004364B2 (en) 2002-09-20 2002-09-20 Label sticking device and label sticking method to product

Country Status (1)

Country Link
JP (1) JP4004364B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009208775A (en) 2008-02-29 2009-09-17 Sato Knowledge & Intellectual Property Institute Label attaching system
JP5329493B2 (en) * 2010-08-23 2013-10-30 東芝テック株式会社 Label issuing device and program
DE102011105260A1 (en) * 2011-06-17 2012-12-20 Bizerba Gmbh & Co Kg labeling
JP2014145639A (en) * 2013-01-29 2014-08-14 Tdi Product Solution Co Ltd Food product inspection device
CN108584051A (en) * 2018-06-05 2018-09-28 李占胜 Intelligent labelling machine
CN115303598B (en) * 2022-09-13 2023-08-01 深圳市利和兴股份有限公司 Intelligent labeling system and working method thereof

Also Published As

Publication number Publication date
JP2004106915A (en) 2004-04-08

Similar Documents

Publication Publication Date Title
US20210150695A1 (en) Inspection device
JP4004364B2 (en) Label sticking device and label sticking method to product
JP2001163314A (en) Article packaging apparatus including printer
US10755223B2 (en) Logistic station and method for logistic
CN107767213A (en) Order processing method, apparatus, equipment and computer-readable recording medium
JP2007249827A (en) Print system
JP2001175854A (en) Device for quality inspection by image
JP7000663B2 (en) Packing equipment for small items
JP2002145227A (en) Label affixing device, packaging-affixing device, device with measured value, and device with measured packaging value
JP2000227401A (en) Tape carrier defect inspection device, and tape carrier conveying method in the same device
JP2004347393A (en) Method and apparatus for inspecting film bonding position
CN210348649U (en) Storage cabinet suitable for intelligent goods selling
JP7388871B2 (en) Judgment device, judgment method and judgment program
JP5135980B2 (en) Packaging equipment
JP3833363B2 (en) Product processing equipment
JP2017057003A (en) Size detecting apparatus and packaging apparatus
JPH07257524A (en) Packing device and price tag-fixing device
JPH0957213A (en) Quality deciding device and assorting device for mushrooms
JP2002071317A (en) Commercial product processor
CN212862731U (en) Goods identification device
JP4361293B2 (en) Label application system and packaging application system
JP3953627B2 (en) Product processing equipment
JP7349862B2 (en) Product registration device and program
JP7211447B2 (en) Image recognition device, system, method and program
JP2002337826A (en) Measured weight affixing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050726

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060817

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061011

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070522

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070719

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070719

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20070727

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070821

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100831

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110831

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120831

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130831

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees