JP2012148309A - Printing quality evaluation system, laser marking apparatus, printing condition setting device, printing quality evaluation apparatus, printing condition setting program, printing quality evaluation program, and computer-readable recording medium - Google Patents

Printing quality evaluation system, laser marking apparatus, printing condition setting device, printing quality evaluation apparatus, printing condition setting program, printing quality evaluation program, and computer-readable recording medium Download PDF

Info

Publication number
JP2012148309A
JP2012148309A JP2011008799A JP2011008799A JP2012148309A JP 2012148309 A JP2012148309 A JP 2012148309A JP 2011008799 A JP2011008799 A JP 2011008799A JP 2011008799 A JP2011008799 A JP 2011008799A JP 2012148309 A JP2012148309 A JP 2012148309A
Authority
JP
Japan
Prior art keywords
print
printing
evaluation
print quality
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011008799A
Other languages
Japanese (ja)
Inventor
Hajime Matsuda
一 松田
Tatsuaki Nagai
龍昭 永井
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.)
Keyence Corp
Original Assignee
Keyence Corp
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 Keyence Corp filed Critical Keyence Corp
Priority to JP2011008799A priority Critical patent/JP2012148309A/en
Publication of JP2012148309A publication Critical patent/JP2012148309A/en
Pending legal-status Critical Current

Links

Landscapes

  • Thermal Transfer Or Thermal Recording In General (AREA)
  • Laser Beam Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To set a printing condition based on not visual read of a user, but read with an optical information reading apparatus in order to improve read stability.SOLUTION: The printing quality evaluation system includes: a printing position recognizing section 68 that recognizes the printing position extracted by a symbol extracting section 63; and an evaluation output section that outputs the evaluation result of the printing quality by the printing quality evaluation section 65 according to the symbol extracted by the symbol extracting sections 63, wherein printing positions of a particular pattern each are related with a printing condition printed with a symbol added with the particular pattern, two or more symbols each are an evaluation pattern in which cells of one or two or more which each are a structure unit of a particular two-dimensional code are combined, and each are composed by the evaluation patterns having a smaller size than that of the particular two-dimensional code, further each evaluation pattern is printed with a pattern in which a cell pattern is different at each printing position.

Description

本発明は、レーザ光を対象物に照射して印字等の加工を行うレーザマーキング装置、レーザ印字条件設定装置、及びこれらを組み合わせた印字品質評価システム、レーザ印字条件設定方法、レーザ印字条件設定プログラム、コンピュータで読み取り可能な記録媒体及び記録した機器並びにレーザマーキング装置に関する。   The present invention relates to a laser marking device that performs processing such as printing by irradiating an object with laser light, a laser printing condition setting device, a print quality evaluation system that combines these, a laser printing condition setting method, and a laser printing condition setting program. The present invention relates to a computer-readable recording medium, a recorded device, and a laser marking device.

今日、商品管理等の分野においてバーコード、二次元コード等様々なコードあるいは「シンボル」が利用されている。トレーサビリティ(traceability)が普及した今日においては、工場や物流拠点等に、バーコードリーダ又はコードリーダと称される光学情報読取装置を設置して、製品や産品にシンボル等を印刷又は刻印し(コード印字)、このコード印字の情報を光学情報読取装置で読み取るシステムが多くの業界で採用されている。このような印字加工を行うレーザマーキング装置は、レーザ光を所定の領域内において走査して、部品や製品等の印字対象物(ワーク)の表面に対しレーザ光を照射することで、印字やマーキング等の加工を行う。   Today, various codes or “symbols” such as barcodes and two-dimensional codes are used in the field of product management and the like. Nowadays when traceability has become widespread, optical information readers called bar code readers or code readers are installed in factories or distribution bases, and symbols or the like are printed or stamped on products and products (codes) Printing), and a system that reads information of this code printing by an optical information reader is used in many industries. A laser marking device that performs such printing processing scans a laser beam within a predetermined area and irradiates the surface of a printing object (work) such as a component or product with a laser beam, thereby printing or marking. Etc. are processed.

レーザマーキング装置を使用する際には、加工の際の印字条件としてレーザ光の走査速度、レーザ出力(レーザパワー)等の加工パラメータを最適値に設定してやる必要がある。またQスイッチングによりレーザ光をパルス発振させる場合はQスイッチ周波数も印字条件として設定する必要がある。Qスイッチングとは、光共振器の損失を増加させた状態でポンピングを行い、エネルギーを励起準位に蓄積して適当なときに損失を減少させ、レーザ作用を行わせることをいう。最適な印字条件はワークの材質や印字するマークの種類や大きさ等により異なる上、印字条件を構成するパラメータ同士も複雑に相関しているため、ユーザはこれらの値を調整しながら最適な印字条件に設定する作業は非常に困難である。   When using a laser marking device, it is necessary to set processing parameters such as the scanning speed of laser light and laser output (laser power) to optimum values as printing conditions during processing. Further, when the laser beam is pulse-oscillated by Q switching, it is necessary to set the Q switch frequency as a printing condition. Q-switching means that pumping is performed in a state where the loss of the optical resonator is increased, energy is stored in the excitation level, the loss is reduced at an appropriate time, and laser action is performed. The optimum printing conditions differ depending on the material of the workpiece, the type and size of the marks to be printed, etc., and the parameters that make up the printing conditions are also complexly correlated, so the user can make optimum printing while adjusting these values. The task of setting conditions is very difficult.

本出願人は、最適な印字条件に容易に設定可能なレーザマーキング装置を先に開発した(特許文献1、2参照)。特許文献1に記載の技術は、レーザ光の走査速度及びレーザ出力を自動的に変化させた印字条件を複数設定し、各印字条件で実際に印字加工を行い、図78に示すような異なる印字の濃度を有する複数の印字見本501が形成された印字リスト500を作成する。これにより、ユーザは印字リスト500の中の印字見本501の番号を指定するだけで、この印字見本の印字に対応した走査速度VS、レーザ出力PL及びQスイッチ周波数fsを印字条件として設定できる。また特許文献2には、三次元加工が可能なレーザマーキング装置を用いて三次元的な印字を行う際に、好ましい印字条件を設定する方法が開示される。   The present applicant has previously developed a laser marking device that can be easily set to optimum printing conditions (see Patent Documents 1 and 2). The technique described in Patent Document 1 sets a plurality of printing conditions in which the laser beam scanning speed and laser output are automatically changed, performs actual printing under each printing condition, and performs different printing as shown in FIG. A print list 500 is created in which a plurality of print samples 501 having a density of 5 are formed. Thus, the user can set the scanning speed VS, the laser output PL, and the Q switch frequency fs corresponding to the printing of the printing sample as printing conditions only by designating the number of the printing sample 501 in the printing list 500. Patent Document 2 discloses a method for setting preferable printing conditions when three-dimensional printing is performed using a laser marking apparatus capable of three-dimensional processing.

特開平11−28586号公報Japanese Patent Laid-Open No. 11-28586 特開2007−90352号公報JP 2007-90352 A

しかしながら、上記の技術はユーザの目視によって、実際に印字された複数のシンボル(一例としてQRコード)の中から所望の結果が得られているものを選択させているため、印字されるシンボルのサイズが極めて小さい場合には、目視による判別が困難になるという問題があった。例えばマイクロQRコードの場合は、シンボルのサイズが縦1mm×横1mmといったサイズもののが存在する。また、通常のQRコードであっても、得られた印字結果に顕著な差が見られない場合は、どのQRコードを選択するのかはユーザの印象や主観等で左右されることがあり、定量的な判断結果が得られないこともある。   However, since the above technique allows a user to visually select a symbol that has a desired result from a plurality of symbols that are actually printed (for example, a QR code), the size of the symbol to be printed. When is very small, there is a problem that it is difficult to visually discriminate. For example, in the case of a micro QR code, there is a symbol having a size of 1 mm in length × 1 mm in width. In addition, even if a normal QR code is used, if there is no significant difference in the obtained print results, which QR code is selected may depend on the user's impression, subjectivity, etc. There are cases where a reasonable judgment result cannot be obtained.

さらに、ユーザの目視で得られた良好な結果が、このようなQRコード等のシンボルを読み取る読取装置側の読み取り条件として良好な結果とは必ずしも一致しない。すなわち、最終的に印字されたシンボルは読取装置によって読み取られるため、これら読取装置側で安定して読み取り可能となるように、読取安定性が向上するような印字条件とすることが肝要となる。例えば、シンボルのセルサイズを最適なサイズとしたり、白黒のコントラストが明確になるように、印字対象の材質や照明条件等、要求される仕様に応じた印字条件を設定することが必要である。特に、ダイレクトパーツマーキングと称される金属や樹脂のワーク表面に直接的に刻印したコード印字は光の当たり具合がバーコードリーダの読み取りを左右する要因になることが知られている。   Furthermore, a good result obtained by the user's visual observation does not necessarily match a good result as a reading condition on the reading device side that reads such a symbol such as a QR code. That is, since the finally printed symbols are read by the reading device, it is important to set the printing conditions so that the reading stability is improved so that the reading device can stably read the symbols. For example, it is necessary to set printing conditions according to required specifications such as a material to be printed and illumination conditions so that the symbol cell size is an optimal size and the contrast of black and white becomes clear. In particular, it is known that code printing directly engraved on the surface of a metal or resin workpiece called direct parts marking is a factor that affects the reading of a barcode reader by the degree of light hitting.

したがって、ユーザが目で見て問題なしと判断したコード印字であっても、バーコードリーダでは読み取るのが困難という場合もあり得る。また、ユーザの目で見たときにどれを選んでも支障が無いと思えるほど似かよった複数のコード印字が存在する場合、バーコードリーダ側から判断したときに、特定の一のコード印字が安定して読み取りができるという場合もあり得る。   Therefore, even code printing that the user has determined visually without problems may be difficult to read with a barcode reader. In addition, when there are multiple code prints that are similar enough that no matter which one is selected when viewed by the user's eyes, one specific code print is stable when judged from the barcode reader side. In some cases, it can be read.

本発明は、従来のこのような問題点を解決するために成されたものである。本発明の主な目的は、加工されたシンボルを読み取る読取装置側の読取安定性を向上させた印字条件を設定可能な印字品質評価システム、レーザマーキング装置、レーザ印字条件設定装置、レーザ印字条件設定方法、レーザ印字条件設定プログラム、コンピュータで読み取り可能な記録媒体及び記録した機器を提供することにある。   The present invention has been made to solve such conventional problems. The main object of the present invention is to provide a print quality evaluation system, a laser marking device, a laser printing condition setting device, and a laser printing condition setting capable of setting printing conditions with improved reading stability on the reading device side for reading processed symbols. A method, a laser printing condition setting program, a computer-readable recording medium, and a recorded device are provided.

課題を解決するための手段及び発明の効果Means for Solving the Problems and Effects of the Invention

上記の目的を達成するために、本発明の第1の側面に係る印字品質評価システムによれば、印字対象物に対して、印字条件の異なる複数のシンボルを印字可能なレーザマーキング装置と、前記レーザマーキング装置で印字対象物に印字された、印字条件の異なる複数のシンボルを撮像した撮像画像に基づいて各シンボルの印字品質を評価するための印字品質評価装置と、を含む印字品質評価システムであって、
前記レーザマーキング装置は、
印字条件を構成する複数の印字パラメータのうち、印字条件を異ならせるための少なくとも一の印字パラメータを可変パラメータとし、その他を固定パラメータとして設定可能なパラメータ設定手段と、
前記パラメータ設定手段で設定された固定パラメータに固定値を代入しつつ、前記パラメータ設定手段で設定された可変パラメータに複数の異なるパラメータ値をそれぞれ代入することで、複数の異なる印字条件を生成するための印字条件生成手段と、
それぞれが特定のシンボルの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定のシンボルよりも大きさの小さい複数の評価パターンを印字データとして生成するための印字データ生成手段と、
前記印字データ生成手段にて生成された複数の評価パターンを、前記印字条件生成手段にて生成された複数の異なる印字条件に基づいて印字するマーキング手段と、
を備え、
前記印字品質評価装置は、
印字対象物に印字された個々の評価パターンを含む撮像画像であって、該評価パターンの印字品質を評価可能な解像度にて撮像された撮像画像を取得するための画像取得手段と、
前記画像取得手段により得られた撮像画像中から、印字品質を評価可能な評価パターンを抽出するための抽出手段と、
前記抽出手段により抽出された評価パターンの印字品質を評価するための印字品質評価手段と、
前記抽出手段により抽出された評価パターンの印字位置を認識するための印字位置認識手段と、
前記抽出手段により抽出された評価パターンに応じて、前記印字品質評価手段による印字品質の評価結果を出力するための評価出力手段と、
を備えることができる。これにより、複数の異なる評価パターンに基づいて、印字位置認識手段は評価パターンの印字位置を特定でき、この印字位置に対応した印字条件を把握できるので、印字品質評価手段で印字品質の高い評価パターンに応じて印字条件を決定できる。
In order to achieve the above object, according to the printing quality evaluation system according to the first aspect of the present invention, a laser marking device capable of printing a plurality of symbols with different printing conditions on a printing object, A print quality evaluation system for evaluating the print quality of each symbol based on a captured image obtained by imaging a plurality of symbols with different print conditions printed on a print object by a laser marking device. There,
The laser marking device is
Parameter setting means capable of setting at least one of the plurality of print parameters constituting the print condition as a variable parameter and different as a fixed parameter for making the print condition different;
In order to generate a plurality of different printing conditions by substituting a plurality of different parameter values for the variable parameter set by the parameter setting unit while substituting a fixed value for the fixed parameter set by the parameter setting unit Printing condition generation means,
Print data generation for generating, as print data, an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific symbol, is combined, each of which is smaller than the specific symbol Means,
Marking means for printing a plurality of evaluation patterns generated by the print data generation means based on a plurality of different printing conditions generated by the printing condition generation means;
With
The print quality evaluation device
An image acquisition means for acquiring a captured image including individual evaluation patterns printed on a print object, the image being captured at a resolution capable of evaluating the print quality of the evaluation pattern;
Extraction means for extracting an evaluation pattern capable of evaluating print quality from the captured image obtained by the image acquisition means;
Print quality evaluation means for evaluating the print quality of the evaluation pattern extracted by the extraction means;
Print position recognition means for recognizing the print position of the evaluation pattern extracted by the extraction means;
In accordance with the evaluation pattern extracted by the extraction unit, an evaluation output unit for outputting a print quality evaluation result by the print quality evaluation unit;
Can be provided. Thereby, the print position recognition means can identify the print position of the evaluation pattern based on a plurality of different evaluation patterns, and can grasp the print conditions corresponding to this print position. The printing conditions can be determined according to the conditions.

また、第2の側面に係る印字品質評価システムによれば、印字対象物に対して、印字条件の異なる複数のシンボルをレーザマーキング装置で印字するための印字条件を設定するための印字条件設定装置と、前記印字条件設定装置で設定された印字条件に従って生成された印字データに基づき、レーザマーキング装置で印字対象物に印字された、印字条件の異なる複数のシンボルを撮像した撮像画像に基づいて各シンボルの印字品質を評価するための印字品質評価装置と、を含む印字品質評価システムであって、
前記印字条件設定装置は、
印字条件を構成する複数の印字パラメータのうち、印字条件を異ならせるための少なくとも一の印字パラメータを可変パラメータとし、その他を固定パラメータとして設定可能なパラメータ設定手段と、
前記パラメータ設定手段で設定された固定パラメータに固定値を代入しつつ、前記パラメータ設定手段で設定された可変パラメータに複数の異なるパラメータ値をそれぞれ代入することで、複数の異なる印字条件を生成するための印字条件生成手段と、
それぞれが特定のシンボルの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定のシンボルよりも大きさの小さい複数の評価パターンを印字データとして生成するための印字データ生成手段と、
前記印字データ生成手段にて生成された複数の評価パターンを、前記印字条件生成手段にて生成された複数の異なる印字条件に基づいて印字するよう、レーザマーキング装置に送出するための印字データ出力手段と、
を備え、
前記印字品質評価装置は、
印字対象物に印字された個々の評価パターンを含む撮像画像であって、該評価パターンの印字品質を評価可能な解像度にて撮像された撮像画像を取得するための画像取得手段と、
前記画像取得手段により得られた撮像画像中から、印字品質を評価可能な評価パターンを抽出するための抽出手段と、
前記抽出手段により抽出された評価パターンの印字品質を評価するための印字品質評価手段と、
前記抽出手段により抽出された評価パターンの印字位置を認識するための印字位置認識手段と、
前記抽出手段により抽出された評価パターンに応じて、前記印字品質評価手段による印字品質の評価結果を出力するための評価出力手段と、
を備え、
前記評価パターンの印字位置がそれぞれ、該評価パターンを印字した印字条件と関連付けられており、各評価パターンは、セルのパターンを印字位置毎に異なるパターンで印字することができる。これにより、複数の異なる評価パターンに基づいて、印字位置認識手段は評価パターンの印字位置を特定でき、この印字位置に対応した印字条件を把握できるので、印字品質評価手段で印字品質の高い評価パターンに応じて印字条件を決定できる。
Further, according to the print quality evaluation system according to the second aspect, a print condition setting device for setting a print condition for printing a plurality of symbols having different print conditions with a laser marking device on a print object. And based on the print data generated according to the print conditions set by the print condition setting device, and based on the picked-up images obtained by picking up the plurality of symbols with different print conditions printed on the print object by the laser marking device. A print quality evaluation system including a print quality evaluation device for evaluating the print quality of a symbol,
The printing condition setting device includes:
Parameter setting means capable of setting at least one of the plurality of print parameters constituting the print condition as a variable parameter and different as a fixed parameter for making the print condition different;
In order to generate a plurality of different printing conditions by substituting a plurality of different parameter values for the variable parameter set by the parameter setting unit while substituting a fixed value for the fixed parameter set by the parameter setting unit Printing condition generation means,
Print data generation for generating, as print data, an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific symbol, is combined, each of which is smaller than the specific symbol Means,
Print data output means for sending a plurality of evaluation patterns generated by the print data generation means to a laser marking device so as to print based on a plurality of different print conditions generated by the print condition generation means When,
With
The print quality evaluation device
An image acquisition means for acquiring a captured image including individual evaluation patterns printed on a print object, the image being captured at a resolution capable of evaluating the print quality of the evaluation pattern;
Extraction means for extracting an evaluation pattern capable of evaluating print quality from the captured image obtained by the image acquisition means;
Print quality evaluation means for evaluating the print quality of the evaluation pattern extracted by the extraction means;
Print position recognition means for recognizing the print position of the evaluation pattern extracted by the extraction means;
In accordance with the evaluation pattern extracted by the extraction unit, an evaluation output unit for outputting a print quality evaluation result by the print quality evaluation unit;
With
The print position of the evaluation pattern is associated with the print condition for printing the evaluation pattern, and each evaluation pattern can print the cell pattern in a different pattern for each print position. Thereby, the print position recognition means can identify the print position of the evaluation pattern based on a plurality of different evaluation patterns, and can grasp the print conditions corresponding to this print position. The printing conditions can be determined according to the conditions.

さらに、第3の側面に係るレーザマーキング装置によれば、印字対象物に対して、印字条件の異なる複数のシンボルを印字可能なレーザマーキング装置であって、
印字条件を構成する複数の印字パラメータのうち、印字条件を異ならせるための少なくとも一の印字パラメータを可変パラメータとし、その他を固定パラメータとして設定可能なパラメータ設定手段と、
前記パラメータ設定手段で設定された固定パラメータに固定値を代入しつつ、前記パラメータ設定手段で設定された可変パラメータに複数の異なるパラメータ値をそれぞれ代入することで、複数の異なる印字条件を生成するための印字条件生成手段と、
それぞれが特定のシンボルの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定のシンボルよりも大きさの小さい複数の評価パターンを印字データとして生成するための印字データ生成手段と、
前記印字データ生成手段にて生成された複数の評価パターンを、前記印字条件生成手段にて生成された複数の異なる印字条件に基づいて印字するマーキング手段と、
を備えることができる。
Furthermore, according to the laser marking device according to the third aspect, a laser marking device capable of printing a plurality of symbols with different printing conditions on a printing object,
Parameter setting means capable of setting at least one of the plurality of print parameters constituting the print condition as a variable parameter and different as a fixed parameter for making the print condition different;
In order to generate a plurality of different printing conditions by substituting a plurality of different parameter values for the variable parameter set by the parameter setting unit while substituting a fixed value for the fixed parameter set by the parameter setting unit Printing condition generation means,
Print data generation for generating, as print data, an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific symbol, is combined, each of which is smaller than the specific symbol Means,
Marking means for printing a plurality of evaluation patterns generated by the print data generation means based on a plurality of different printing conditions generated by the printing condition generation means;
Can be provided.

さらにまた、第4の側面に係るレーザマーキング装置によれば、前記印字データ生成手段で生成される複数の評価パターンが、印字品質評価装置によって印字品質評価を行える単位にて形成されるよう構成できる。   Furthermore, according to the laser marking device according to the fourth aspect, the plurality of evaluation patterns generated by the print data generation means can be formed in units that can perform the print quality evaluation by the print quality evaluation device. .

さらにまた、第5の側面に係るレーザマーキング装置によれば、前記印字データ生成手段で生成される複数の評価パターンが、格子状に配列された複数のセルからなるよう構成できる。これにより、印字領域を小さくしても印字品質の評価を行うことが可能となり、印字対象物が小サイズであったり印字可能な領域が狭い場合にも印字品質評価が行える利点が得られる。   Furthermore, according to the laser marking device according to the fifth aspect, the plurality of evaluation patterns generated by the print data generation unit can be configured to include a plurality of cells arranged in a lattice pattern. As a result, it is possible to evaluate the print quality even if the print area is small, and there is an advantage that the print quality can be evaluated even when the print target is a small size or the printable area is narrow.

さらにまた、第6の側面に係るレーザマーキング装置によれば、前記印字データ生成手段で生成される複数の評価パターンが、二次元コードのファインダパターンを含むことができる。これにより、評価パターンがコードとして不完全であっても、印字品質の評価を行うことが可能となる。   Furthermore, according to the laser marking device according to the sixth aspect, the plurality of evaluation patterns generated by the print data generation unit can include a finder pattern of a two-dimensional code. Thereby, even if the evaluation pattern is incomplete as a code, the print quality can be evaluated.

さらにまた、第7の側面に係るレーザマーキング装置によれば、前記印字データ生成手段で生成される複数の評価パターンについて、該評価パターンの方向を特定可能な形状とできる。   Furthermore, according to the laser marking device of the seventh aspect, the direction of the evaluation pattern can be specified for the plurality of evaluation patterns generated by the print data generation unit.

さらにまた、第8の側面に係るレーザマーキング装置によれば、前記特定のシンボルを二次元コードとできる。   Furthermore, according to the laser marking device according to the eighth aspect, the specific symbol can be a two-dimensional code.

さらにまた、第9の側面に係るレーザマーキング装置によれば、前記特定のシンボルをQRコードとできる。   Furthermore, according to the laser marking device of the ninth aspect, the specific symbol can be a QR code.

さらにまた、第10の側面に係る印字条件設定装置によれば、印字対象物に対して、印字条件の異なる複数のシンボルをレーザマーキング装置で印字するための印字条件を設定するための印字条件設定装置であって、
印字条件を構成する複数の印字パラメータのうち、印字条件を異ならせるための少なくとも一の印字パラメータを可変パラメータとし、その他を固定パラメータとして設定可能なパラメータ設定手段と、
前記パラメータ設定手段で設定された固定パラメータに固定値を代入しつつ、前記パラメータ設定手段で設定された可変パラメータに複数の異なるパラメータ値をそれぞれ代入することで、複数の異なる印字条件を生成するための印字条件生成手段と、
それぞれが特定のシンボルの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定のシンボルよりも大きさの小さい複数の評価パターンを印字データとして生成するための印字データ生成手段と、
前記印字データ生成手段にて生成された複数の評価パターンを、前記印字条件生成手段にて生成された複数の異なる印字条件に基づいて印字するよう、レーザマーキング装置に送出するための印字データ出力手段と、
を備えることができる。これにより、複数の異なる評価パターンの各々に、印字品質評価装置によって読み取り可能な状態で印字条件を特定するためのが含まれるため、印字品質評価装置側で印字品質評価の高かった評価パターンに対応する印字条件を把握できる。この結果、その印字条件をレーザマーキング装置にフィードバックすることで、運用時には光学情報読取装置での読取安定性が向上するように印字条件を設定できる。これによりユーザの目視や経験によらず、定性的により適した印字条件の設定が可能になる。
Furthermore, according to the printing condition setting device according to the tenth aspect, the printing condition setting for setting a printing condition for printing a plurality of symbols with different printing conditions on the printing object by the laser marking device. A device,
Parameter setting means capable of setting at least one of the plurality of print parameters constituting the print condition as a variable parameter and different as a fixed parameter for making the print condition different;
In order to generate a plurality of different printing conditions by substituting a plurality of different parameter values for the variable parameter set by the parameter setting unit while substituting a fixed value for the fixed parameter set by the parameter setting unit Printing condition generation means,
Print data generation for generating, as print data, an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific symbol, is combined, each of which is smaller than the specific symbol Means,
Print data output means for sending a plurality of evaluation patterns generated by the print data generation means to a laser marking device so as to print based on a plurality of different print conditions generated by the print condition generation means When,
Can be provided. As a result, each of a plurality of different evaluation patterns includes information for specifying the printing conditions in a state that can be read by the print quality evaluation device, so that the print quality evaluation device has a high print quality evaluation. The printing conditions can be grasped. As a result, by feeding back the printing conditions to the laser marking device, the printing conditions can be set so that the reading stability of the optical information reading device is improved during operation. This makes it possible to set qualitatively more suitable printing conditions regardless of the user's visual observation and experience.

さらにまた、第11の側面に係る印字品質評価装置によれば、印字対象物に印字された、印字条件の異なる複数のシンボルを撮像した撮像画像に基づいて各シンボルの印字品質を評価するための印字品質評価装置であって、
印字対象物に印字された個々のシンボルを含む撮像画像であって、該シンボルの印字品質を評価可能な解像度にて撮像された撮像画像を取得するための画像取得手段と、
前記画像取得手段により得られた撮像画像中から、印字品質を評価可能なシンボルを抽出するためのシンボル抽出手段と、
前記シンボル抽出手段により抽出されたシンボルの印字品質を評価するための印字品質評価手段と、
前記シンボル抽出手段により抽出されたシンボルの印字位置を認識するための印字位置認識手段と、
前記シンボル抽出手段により抽出されたシンボルに応じて、前記印字品質評価手段による印字品質の評価結果を出力するための評価出力手段と、
を備え、
前記特定パターンの印字位置がそれぞれ、前記特定パターンが付された前記シンボルを印字した印字条件と関連付けられており、
前記複数のシンボルは、それぞれが特定の二次元コードの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定の二次元コードよりも大きさの小さい評価パターンから構成されており、
さらに各評価パターンを、セルのパターンを印字位置毎に異なるパターンで印字することができる。これにより、複数の異なる評価パターンのパターンに基づいて、印字位置認識手段で評価パターンの印字位置を特定でき、この印字位置に対応した印字条件を把握できるので、印字品質の高い評価パターンに応じた印字条件を決定できる。
Furthermore, according to the print quality evaluation apparatus according to the eleventh aspect, for evaluating the print quality of each symbol based on the picked-up image obtained by picking up a plurality of symbols printed on the print object and having different print conditions. A print quality evaluation device,
An image acquisition means for acquiring a captured image including individual symbols printed on a print object, the captured image captured at a resolution capable of evaluating the print quality of the symbol;
Symbol extraction means for extracting a symbol whose print quality can be evaluated from the captured image obtained by the image acquisition means;
A print quality evaluation means for evaluating the print quality of the symbol extracted by the symbol extraction means;
Printing position recognition means for recognizing the printing position of the symbol extracted by the symbol extraction means;
An evaluation output means for outputting a print quality evaluation result by the print quality evaluation means in accordance with the symbol extracted by the symbol extraction means;
With
Each of the printing positions of the specific pattern is associated with a printing condition for printing the symbol with the specific pattern;
Each of the plurality of symbols is an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific two-dimensional code, each composed of an evaluation pattern smaller in size than the specific two-dimensional code. And
Furthermore, each evaluation pattern can be printed with a pattern of cells different for each printing position. As a result, the printing position recognition means can identify the printing position of the evaluation pattern based on the patterns of a plurality of different evaluation patterns, and the printing conditions corresponding to this printing position can be grasped. Printing conditions can be determined.

さらにまた、第12の側面に係る印字品質評価装置によれば、印字対象物に印字された、印字条件の異なる複数のシンボルと、各シンボルの印字位置を特定するための特定パターンとを撮像した撮像画像に基づいて各シンボルの印字品質を評価するための印字品質評価装置であって、
印字対象物に印字された個々のシンボルを含む撮像画像であって、該シンボルの印字品質を評価可能な解像度にて、少なくとも前記特定パターンの一部が含まれるように撮像された撮像画像を取得するための画像取得手段と、
前記画像取得手段により得られた撮像画像中から、印字品質を評価可能なシンボルを抽出するためのシンボル抽出手段と、
前記シンボル抽出手段により抽出されたシンボルの印字品質を評価するための印字品質評価手段と、
前記画像取得手段により得られた撮像画像に含まれる前記特定パターンに基づいて、前記シンボル抽出手段により抽出されたシンボルの印字位置を認識するための印字位置認識手段と、
前記シンボル抽出手段により抽出されたシンボルに応じて、前記印字品質評価手段による印字品質の評価結果を出力するための評価出力手段と、
を備え、
前記特定パターンの印字位置がそれぞれ、前記特定パターンが付された前記シンボルを印字した印字条件と関連付けられており、
前記複数のシンボルは、それぞれが特定の二次元コードの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定の二次元コードよりも大きさの小さい評価パターンで構成できる。これにより、特定パターンに基づいてシンボルの印字位置を認識でき、該印字位置から印字条件を把握できるようになる。
Furthermore, according to the printing quality evaluation apparatus according to the twelfth aspect, a plurality of symbols printed on a printing object and having different printing conditions and a specific pattern for specifying the printing position of each symbol are imaged. A print quality evaluation apparatus for evaluating the print quality of each symbol based on a captured image,
A captured image including individual symbols printed on a print object is acquired at a resolution at which the print quality of the symbol can be evaluated so that at least a part of the specific pattern is included. Image acquisition means for
Symbol extraction means for extracting a symbol whose print quality can be evaluated from the captured image obtained by the image acquisition means;
A print quality evaluation means for evaluating the print quality of the symbol extracted by the symbol extraction means;
A print position recognition means for recognizing the print position of the symbol extracted by the symbol extraction means based on the specific pattern included in the captured image obtained by the image acquisition means;
An evaluation output means for outputting a print quality evaluation result by the print quality evaluation means in accordance with the symbol extracted by the symbol extraction means;
With
Each of the printing positions of the specific pattern is associated with a printing condition for printing the symbol with the specific pattern;
The plurality of symbols is an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific two-dimensional code, each of which can be configured with an evaluation pattern having a smaller size than the specific two-dimensional code. . Thus, the symbol printing position can be recognized based on the specific pattern, and the printing conditions can be grasped from the printing position.

さらにまた、第13の側面に係る印字品質評価装置によれば、前記特定パターンの印字位置がそれぞれ、前記特定パターンが付された前記シンボルを印字した印字条件を構成する複数の印字パラメータのうち、印字条件を異ならせるために可変とした可変パラメータの情報と関連付けることができる。これにより、特定の印字パラメータを可変させて複数のシンボルを印字した際、シンボルの印字結果に基づいて、該シンボルに付された特定パターンから適切なパラメータ値を特定できるので、実際の印字結果から好ましい印字条件を把握できる利点が得られる。   Furthermore, according to the print quality evaluation apparatus according to the thirteenth aspect, the print position of the specific pattern is a print parameter that constitutes a print condition for printing the symbol to which the specific pattern is attached, It can be associated with variable parameter information that is variable in order to vary printing conditions. As a result, when a plurality of symbols are printed with a specific printing parameter varied, an appropriate parameter value can be specified from a specific pattern attached to the symbol based on the symbol printing result. The advantage that preferred printing conditions can be grasped is obtained.

さらにまた、第14の側面に係る印字品質評価装置によれば、前記印字品質評価手段が、複数のセル間の印字品質評価を行うよう構成できる。   Furthermore, according to the print quality evaluation apparatus according to the fourteenth aspect, the print quality evaluation means can be configured to perform print quality evaluation between a plurality of cells.

さらにまた、第15の側面に係る印字品質評価装置によれば、前記印字品質評価手段が、複数のセル間の印字品質評価として、セル間のコントラスト又は均一性の評価を含むことができる。   Furthermore, according to the print quality evaluation apparatus according to the fifteenth aspect, the print quality evaluation means can include evaluation of contrast or uniformity between cells as print quality evaluation between a plurality of cells.

さらにまた、第16の側面に係る印字品質評価装置によれば、前記印字品質評価手段が、単一セルの印字品質評価を行うよう構成できる。   Furthermore, according to the print quality evaluation apparatus of the sixteenth aspect, the print quality evaluation means can be configured to perform the print quality evaluation of a single cell.

さらにまた、第17の側面に係る印字品質評価装置によれば、前記印字品質評価手段が、単一セルの印字品質評価として、セルの形状の適否の評価を含むことができる。これにより、セルの太り細りやエッジ線明度といった形状適否に基づいて、適切に品質評価を行うことができる。   Furthermore, according to the print quality evaluation apparatus according to the seventeenth aspect, the print quality evaluation means can include evaluation of suitability of the cell shape as the print quality evaluation of a single cell. Thereby, quality evaluation can be appropriately performed based on the suitability of the shape, such as cell thinning and edge line brightness.

さらにまた、第18の側面に係る印字品質評価装置によれば、さらに前記印字品質評価手段による印字品質の評価結果とともに、前記印字位置認識手段により認識されたシンボルの位置情報を表示可能な評価表示手段を備えることができる。これにより、ユーザは評価表示手段を確認して、最適な印字位置を選び、それをレーザマーキング装置にフィードバックすることができる。   Furthermore, according to the print quality evaluation apparatus according to the eighteenth aspect, the evaluation display capable of displaying the position information of the symbols recognized by the print position recognition means together with the print quality evaluation result by the print quality evaluation means. Means may be provided. As a result, the user can check the evaluation display means, select an optimum print position, and feed it back to the laser marking device.

さらにまた、第19の側面に係る印字品質評価装置によれば、前記画像取得手段が、印字対象物に印字された個々のシンボルを含む撮像画像を、該シンボルの印字品質を評価可能な解像度にて撮像するための撮像手段であり、前記印字品質評価装置がさらに、前記撮像手段の撮像パラメータを変化させながらシンボルを連続して撮像するように前記撮像手段を制御するための撮像制御手段を備えており、前記印字品質評価手段は、シンボルの撮像パラメータの変化に対する読取安定度のスコアを算出し、前記評価表示手段は、該スコアとともに識別情報を表示するよう構成できる。これにより、ユーザは評価表示手段に表示されたスコアを確認して、最もよいスコアに対応する識別情報をレーザマーキング装置にフィードバックすればよく、最適な印字条件を簡単に設定することが可能となる。   Furthermore, according to the printing quality evaluation apparatus according to the nineteenth aspect, the image acquisition means converts the captured image including the individual symbols printed on the printing object into a resolution capable of evaluating the printing quality of the symbols. The print quality evaluation apparatus further includes an imaging control unit for controlling the imaging unit so as to continuously capture symbols while changing imaging parameters of the imaging unit. The print quality evaluation means may calculate a reading stability score with respect to a change in the imaging parameter of the symbol, and the evaluation display means may display identification information together with the score. As a result, the user can confirm the score displayed on the evaluation display means and feed back the identification information corresponding to the best score to the laser marking device, and can easily set the optimum printing conditions. .

さらにまた、第20の側面に係る印字品質評価装置によれば、さらに前記評価表示手段に表示された撮像画像上に、一又は複数のシンボルをユーザに選択させるための対象領域を指定する対象領域設定手段を備えることができる。これにより、特定の部分領域のうち、ユーザが分析したいシンボルのみを選択することで、分析に要する時間を低減できる。   Furthermore, according to the print quality evaluation apparatus according to the twentieth aspect, a target area for designating a target area for allowing the user to select one or a plurality of symbols on the captured image displayed on the evaluation display means. Setting means can be provided. Thereby, the time required for analysis can be reduced by selecting only the symbols that the user wants to analyze from among the specific partial areas.

さらにまた、第21の側面に係る印字条件設定プログラムによれば、印字対象物に対して、印字条件の異なる複数のシンボルをレーザマーキング装置で印字するための印字条件を設定するための印字条件設定プログラムであって、コンピュータに、
印字条件を構成する複数の印字パラメータのうち、印字条件を異ならせるための少なくとも一の印字パラメータを可変パラメータとし、その他を固定パラメータとして設定可能なパラメータ設定機能と、
前記パラメータ設定機能で設定された固定パラメータに固定値を代入しつつ、前記パラメータ設定機能で設定された可変パラメータに複数の異なるパラメータ値をそれぞれ代入することで、複数の異なる印字条件を生成するための印字条件生成機能と、
それぞれが特定のシンボルの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定のシンボルよりも大きさの小さい複数の評価パターンを印字データとして生成するための印字データ生成機能と、
前記印字データ生成機能にて生成された複数の評価パターンを、前記印字条件生成機能にて生成された複数の異なる印字条件に基づいて印字するよう、レーザマーキング装置に送出するための印字データ出力機能と、
を実現させることができる。これにより、複数の異なる評価パターンの各々に、印字品質評価装置によって読み取り可能な状態で印字条件を特定するための評価パターンが含まれるため、印字品質評価装置側で印字品質評価の高かった評価パターンに対応する印字条件を把握できる。この結果、その印字条件をレーザマーキング装置にフィードバックすることで、運用時には光学情報読取装置での読取安定性が向上するように印字条件を設定できる。これによりユーザの目視や経験によらず、定性的により適した印字条件の設定が可能になる。
Furthermore, according to the printing condition setting program according to the twenty-first aspect, a printing condition setting for setting a printing condition for printing a plurality of symbols having different printing conditions with a laser marking device on a printing object. A program, on a computer,
A parameter setting function capable of setting at least one of the plurality of print parameters constituting the print condition as a variable parameter and changing the other as a fixed parameter,
To generate a plurality of different printing conditions by substituting a plurality of different parameter values for the variable parameter set by the parameter setting function while substituting a fixed value for the fixed parameter set by the parameter setting function Print condition generation function,
Print data generation for generating, as print data, an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific symbol, is combined, each of which is smaller than the specific symbol Function and
Print data output function for sending a plurality of evaluation patterns generated by the print data generation function to a laser marking device so as to print based on a plurality of different print conditions generated by the print condition generation function When,
Can be realized. As a result, each of a plurality of different evaluation patterns includes an evaluation pattern for specifying the printing conditions in a state that can be read by the print quality evaluation device. Therefore, the evaluation pattern having a high print quality evaluation on the print quality evaluation device side. The printing conditions corresponding to can be grasped. As a result, by feeding back the printing conditions to the laser marking device, the printing conditions can be set so that the reading stability of the optical information reading device is improved during operation. This makes it possible to set qualitatively more suitable printing conditions regardless of the user's visual observation and experience.

さらにまた、第22の側面に係る印字品質評価プログラムによれば、印字対象物に印字された、印字条件の異なる複数のシンボルを撮像した撮像画像に基づいて各シンボルの印字品質を評価するための印字品質評価プログラムであって、コンピュータに、
印字対象物に印字された個々のシンボルを含む撮像画像であって、該シンボルの印字品質を評価可能な解像度にて撮像された撮像画像を取得するための画像取得機能と、
前記画像取得機能により得られた撮像画像中から、印字品質を評価可能なシンボルを抽出するためのシンボル抽出機能と、
前記シンボル抽出機能により抽出されたシンボルの印字品質を評価するための印字品質評価機能と、
前記シンボル抽出機能により抽出されたシンボルの印字位置を認識するための印字位置認識機能と、
前記シンボル抽出機能により抽出されたシンボルに応じて、前記印字品質評価機能による印字品質の評価結果を出力するための評価出力手段と、
を実現させ、
前記特定パターンの印字位置がそれぞれ、前記特定パターンが付された前記シンボルを印字した印字条件と関連付けられており、
前記複数のシンボルは、それぞれが特定の二次元コードの構成単位であるセルを一又は複数組み合わせたシンボルであって、それぞれが該特定の二次元コードよりも大きさの小さいシンボルから構成されており、
さらに各シンボルは、セルのパターンを印字位置毎に異なるパターンで印字することができる。これにより、複数の異なるシンボルのパターンに基づいて、印字位置認識機能はシンボルの印字位置を特定でき、この印字位置に対応した印字条件を把握できるので、印字品質評価機能で印字品質の高いシンボルに応じた印字条件を決定できる。
Furthermore, according to the print quality evaluation program according to the twenty-second aspect, for evaluating the print quality of each symbol based on the picked-up image obtained by picking up a plurality of symbols printed on the print object and having different print conditions. A print quality evaluation program for a computer,
An image acquisition function for acquiring a captured image including individual symbols printed on a print object and captured at a resolution capable of evaluating the print quality of the symbol;
A symbol extraction function for extracting a symbol whose print quality can be evaluated from the captured image obtained by the image acquisition function;
A print quality evaluation function for evaluating the print quality of the symbols extracted by the symbol extraction function;
A print position recognition function for recognizing the print position of the symbol extracted by the symbol extraction function;
In accordance with the symbols extracted by the symbol extraction function, an evaluation output means for outputting a print quality evaluation result by the print quality evaluation function;
Realized,
Each of the printing positions of the specific pattern is associated with a printing condition for printing the symbol with the specific pattern;
The plurality of symbols are symbols obtained by combining one or a plurality of cells, each of which is a unit of a specific two-dimensional code, each of which is composed of symbols smaller in size than the specific two-dimensional code. ,
Further, each symbol can be printed with a pattern of cells different for each printing position. As a result, the print position recognition function can identify the print position of the symbol based on a plurality of different symbol patterns, and can grasp the print conditions corresponding to this print position. The corresponding printing conditions can be determined.

さらにまた第23の側面に係るコンピュータで読み取り可能な記録媒体は、前記プログラムを格納したものである。記録媒体には、CD−ROM、CD−R、CD−RWやフレキシブルディスク、磁気テープ、MO、DVD−ROM、DVD−RAM、DVD−R、DVD+R、DVD−RW、DVD+RW、Blu−ray、HD DVD(AOD)等の磁気ディスク、光ディスク、光磁気ディスク、半導体メモリその他のプログラムを格納可能な媒体が含まれる。またプログラムには、前記記録媒体に格納されて配布されるものの他、インターネット等のネットワーク回線を通じてダウンロードによって配布される形態のものも含まれる。さらに記録媒体にはプログラムを記録可能な機器、例えば前記プログラムがソフトウエアやファームウエア等の形態で実行可能な状態に実装された汎用もしくは専用機器を含む。さらにまたプログラムに含まれる各処理や機能は、コンピュータで実行可能なプログラムソフトウエアにより実行してもよいし、各部の処理を所定のゲートアレイ(FPGA、ASIC)等のハードウエア、又はプログラムソフトウエアとハードウエアの一部の要素を実現する部分的ハードウエアモジュールとが混在する形式で実現してもよい。   Furthermore, the computer-readable recording medium according to the twenty-third aspect stores the program. Recording media include CD-ROM, CD-R, CD-RW, flexible disk, magnetic tape, MO, DVD-ROM, DVD-RAM, DVD-R, DVD + R, DVD-RW, DVD + RW, Blu-ray, HD A medium that can store a program such as a magnetic disk such as a DVD (AOD), an optical disk, a magneto-optical disk, a semiconductor memory, or the like is included. The program includes not only a program stored in the recording medium and distributed but also a program distributed by download through a network line such as the Internet. Further, the recording medium includes a device capable of recording a program, for example, a general purpose or dedicated device in which the program is implemented in a state where it can be executed in the form of software, firmware, or the like. Furthermore, each process and function included in the program may be executed by computer-executable program software, or each part of the process or hardware may be executed by hardware such as a predetermined gate array (FPGA, ASIC), or program software. And a partial hardware module that realizes a part of hardware elements may be mixed.

本発明の実施例1に係る印字品質評価システムを示すブロック図である。It is a block diagram which shows the printing quality evaluation system which concerns on Example 1 of this invention. レーザ加工装置の構成を示すブロック図である。It is a block diagram which shows the structure of a laser processing apparatus. 走査部におけるX・Y軸スキャナの配置状態を示す透明斜視図である。It is a transparent perspective view which shows the arrangement | positioning state of the X * Y-axis scanner in a scanning part. 図5を背面方向から見た斜視図である。It is the perspective view which looked at FIG. 5 from the back direction. 印字条件設定部を示すブロック図である。It is a block diagram which shows a printing condition setting part. 印字条件設プログラムをインストールしたコンピュータで印字条件設定装置を実現する構成を示す模式図である。It is a schematic diagram which shows the structure which implement | achieves a printing condition setting apparatus with the computer which installed the printing condition setting program. 変形例に係る印字品質評価システムを示すブロック図である。It is a block diagram which shows the printing quality evaluation system which concerns on a modification. 印字条件設定プログラムのユーザインターフェース画面を示すイメージ図である。It is an image figure which shows the user interface screen of a printing condition setting program. サンプル印字モードを実行する手順を示すフローチャートである。It is a flowchart which shows the procedure which performs sample printing mode. テンプレート選択画面を示すイメージ図である。It is an image figure which shows a template selection screen. 第一サンプル印字条件設定画面を示すイメージ図である。It is an image figure which shows the 1st sample printing condition setting screen. 図11の印字データ指定欄で2次元コードを選択した状態を示すイメージ図である。It is an image figure which shows the state which selected the two-dimensional code in the printing data designation | designated column of FIG. ドット状印字の設定画面を示すイメージ図である。It is an image figure which shows the setting screen of dot form printing. 図13で「詳細設定」ボタンを押下して表示される詳細設定画面を示すイメージ図である。FIG. 14 is an image diagram showing a detailed setting screen displayed by pressing a “detail setting” button in FIG. 13. 図12で詳細設定ボタンを押下して表示される詳細設定画面を示すイメージ図である。It is an image figure which shows the detailed setting screen displayed by pressing a detailed setting button in FIG. 図15で「2次元コード」タブを選択した画面を示すイメージ図である。FIG. 16 is an image diagram showing a screen in which a “two-dimensional code” tab is selected in FIG. 15. 図16で2次元コードの種別にデータマトリックスを選択した状態を示すイメージ図である。It is an image figure which shows the state which selected the data matrix for the classification of a two-dimensional code in FIG. 図12で印字線幅詳細ボタンを押下して表示される印字線幅指定画面を示すイメージ図である。It is an image figure which shows the printing line width designation | designated screen displayed by pressing down a printing line width detailed button in FIG. 第二サンプル印字条件設定画面を示すイメージ図である。It is an image figure which shows the 2nd sample printing condition setting screen. 印字条件クリップボード画面を開いた状態を示すイメージ図である。It is an image figure which shows the state which opened the printing condition clipboard screen. 印字条件のコピーを行う様子を示すイメージ図である。It is an image figure which shows a mode that the printing conditions are copied. 新規テンプレートを選択した場合のサンプル印字の手順示すフローチャートである。It is a flowchart which shows the procedure of sample printing when a new template is selected. 光学情報読取プログラムのユーザインターフェース画面を示すイメージ図である。It is an image figure which shows the user interface screen of an optical information reading program. 印字品質評価を行う手順を示すフローチャートである。6 is a flowchart illustrating a procedure for performing print quality evaluation. ワークの設置条件の設定を行う手順を示すフローチャートである。It is a flowchart which shows the procedure which sets the installation conditions of a workpiece | work. 印字最適化画面を示すイメージ図である。It is an image figure which shows a printing optimization screen. ライブビュー画面を示すイメージ図である。It is an image figure which shows a live view screen. 照明設定画面を示すイメージ図である。It is an image figure which shows an illumination setting screen. チューニング設定画面を示すイメージ図である。It is an image figure which shows a tuning setting screen. 印字情報入力画面を示すイメージ図である。It is an image figure which shows a printing information input screen. リンクデータの読み取り実行を行う様子を示すイメージ図である。It is an image figure which shows a mode that reading execution of link data is performed. リンクデータから読み取られたデータが印字情報入力画面に各々入力された状態を示すイメージ図である。It is an image figure which shows the state in which the data read from link data were each input into the printing information input screen. 図26の画面の項目名に可変パラメータが加えられた状態を示すイメージ図である。It is an image figure which shows the state by which the variable parameter was added to the item name of the screen of FIG. 照明の明るさを変化させながらサンプルコードを検索する状態を示すイメージ図である。It is an image figure which shows the state which searches a sample code | cord | chord while changing the brightness of illumination. 分析処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of an analysis process. 検出されたサンプルコードが枠状に囲まれて表示される状態を示すイメージ図である。It is an image figure which shows the state by which the detected sample code is enclosed and displayed by frame shape. 分析結果を示すイメージ図である。It is an image figure which shows an analysis result. 図37で1−1のサンプルコードを選択することで表示されるライブビュー画面を示すイメージ図である。It is an image figure which shows the live view screen displayed by selecting the sample code of 1-1 in FIG. 図37で1−4のサンプルコードを選択することで表示されるライブビュー画面を示すイメージ図である。It is an image figure which shows the live view screen displayed by selecting the sample code of 1-4 in FIG. 2つのサンプルコードのスコアを対比させた状態を示すイメージ図である。It is an image figure which shows the state which contrasted the score of two sample codes. スコアの分布状態を等高線状に表示させたイメージ図である。It is the image figure which displayed the distribution state of the score in the shape of a contour line. サンプル印字パターンの要素毎にスコアをマトリックス状に表示させた状態を示すイメージ図である。It is an image figure which shows the state which displayed the score for every element of the sample printing pattern in matrix form. スコアの分布状態を等高線状に表示させた状態を示すイメージ図である。It is an image figure which shows the state which displayed the distribution state of the score on a contour line form. 2回目の撮像画像で対象領域を指定する状態を示すイメージ図である。It is an image figure which shows the state which designates an object area | region with the 2nd captured image. 2回目の撮像画像の分析結果を示すイメージ図である。It is an image figure which shows the analysis result of the 2nd captured image. 撮像画像を合成した合成画面で分析結果を表示させたイメージ図である。It is the image figure which displayed the analysis result on the synthetic | combination screen which synthesize | combined the captured image. スコア表示欄においてID番号でソートした状態を示すイメージ図である。It is an image figure which shows the state sorted by ID number in the score display column. スコア表示欄においてQスイッチ周波数でソートした状態を示すイメージ図である。It is an image figure which shows the state sorted by Q switch frequency in the score display column. スコア表示欄においてスポット可変でソートした状態を示すイメージ図である。It is an image figure which shows the state sorted by the spot variable in the score display column. スコアをマトリックス表示させた状態を示すイメージ図である。It is an image figure which shows the state which displayed the score in the matrix form. 文字列情報を印字するサンプル印字パターンを示す模式図である。It is a schematic diagram which shows the sample printing pattern which prints character string information. シンボルに位置情報を文字で併記した例を示す模式図である。It is a schematic diagram which shows the example which described the positional information on the symbol with the character. シンボルを二次元コードとし、区切り線を特定パターンとしたサンプル印字パターンを示すイメージ図である。It is an image figure which shows the sample printing pattern which made the symbol the two-dimensional code and made the dividing line into the specific pattern. シンボルをファインダパターンとし、縦軸と横軸に異なる線種を用いた区切り線を特定パターンとしたサンプル印字パターンを示すイメージ図である。It is an image figure which shows the sample printing pattern which made the symbol a finder pattern, and made the dividing line using a different line | wire type on a vertical axis | shaft and a horizontal axis a specific pattern. 特定パターンを用いたサンプル印字パターンの全体像で印字品質評価を行う手順を示すフローチャートである。It is a flowchart which shows the procedure which performs printing quality evaluation with the whole image of the sample printing pattern using a specific pattern. シンボルにQRコードとし、縦横で線種を変更した区切り線を特定パターンとしたサンプル印字パターンを示すイメージ図である。It is an image figure which shows the sample print pattern which made the QR code a symbol, and made the dividing line which changed the line | wire type in length and width into a specific pattern. シンボルをファインダパターンとし、縦軸と横軸ですべて異なる線種を用いた区切り線を特定パターンとしたサンプル印字パターンを示すイメージ図である。It is an image figure which shows the sample print pattern which made the symbol a finder pattern, and made the demarcation line using all the line types different in a vertical axis | shaft and a horizontal axis into a specific pattern. 区切り線の本数を変更したサンプル印字パターンを示すイメージ図である。It is an image figure which shows the sample printing pattern which changed the number of the dividing lines. 複数の区切り線を構成する各線の線種を変更したサンプル印字パターンを示すイメージ図である。It is an image figure which shows the sample printing pattern which changed the line | wire type of each line which comprises a some dividing line. 区切り線を、サンプルコードを囲む円形としたサンプル印字パターンを示すイメージ図である。It is an image figure which shows the sample printing pattern which made the dividing line the circular surrounding a sample code. 各シンボルに方向性を示すパターンを付加したサンプルコードを示すイメージ図である。It is an image figure which shows the sample code which added the pattern which shows directionality to each symbol. 特定パターンに識別情報を持たせたサンプルコードで印字品質評価を行う分析処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the analysis process which performs printing quality evaluation with the sample code which gave the identification information to the specific pattern. 白黒セルを2×2セルの格子状に並べた評価パターンを示すイメージ図である。It is an image figure which shows the evaluation pattern which arranged the monochrome cell in the grid | lattice form of 2x2 cells. ファインダパターンの評価パターンを示すイメージ図である。It is an image figure which shows the evaluation pattern of a finder pattern. (1:1:2:1:1)のファインダパターン状評価パターンを撮像した撮像画像を示すイメージ図である。It is an image figure which shows the picked-up image which imaged the finder pattern-like evaluation pattern of (1: 1: 2: 1: 1). 図65に対象領域を確定した状態を示すイメージ図である。FIG. 65 is an image diagram showing a state in which the target area is fixed. 図66の対象領域内の画素値を計算したヒストグラムである。66 is a histogram obtained by calculating pixel values in the target region in FIG. 66. 図67の黒領域を図65の画像上で示したイメージ図である。FIG. 68 is an image diagram showing the black region in FIG. 67 on the image in FIG. 65. 図67の白領域を図65の画像上で示したイメージ図である。FIG. 68 is an image diagram showing the white region in FIG. 67 on the image in FIG. 65. 図65に矩形状領域を示したイメージ図である。FIG. 66 is an image diagram showing a rectangular area. 図70に示す矩形状においてエッジ位置を検出する状態を示すイメージ図である。FIG. 71 is an image diagram showing a state in which an edge position is detected in the rectangular shape shown in FIG. 70. 白黒セルを3×3セルの格子状に並べた評価パターンを示すイメージ図である。It is an image figure which shows the evaluation pattern which arranged the monochrome cell in the grid | lattice form of 3x3 cell. 白黒セルを4×4セルの格子状に並べた評価パターンを示すイメージ図である。It is an image figure which shows the evaluation pattern which arranged the monochrome cell in the grid | lattice form of 4x4 cell. (1:1:3:1:1)のファインダパターン状評価パターンを示すイメージ図である。It is an image figure which shows the finder pattern-like evaluation pattern of (1: 1: 3: 1: 1). (1:1:4:1:1)のファインダパターン状評価パターンを示すイメージ図である。It is an image figure which shows the finder pattern-like evaluation pattern of (1: 1: 4: 1: 1). 図73の格子状評価パターンに方向性特定パターンを付加した例を示すイメージ図である。FIG. 74 is an image diagram showing an example in which a directionality specifying pattern is added to the lattice-like evaluation pattern of FIG. 73. 図75のファインダパターン状評価パターンに方向性特定パターンを付加した例を示すイメージ図である。FIG. 76 is an image view showing an example in which a directionality specific pattern is added to the finder pattern evaluation pattern of FIG. 75. 印字リストの一例を示す平面図である。It is a top view which shows an example of a printing list.

以下、本発明の実施の形態を図面に基づいて説明する。ただし、以下に示す実施の形態は、本発明の技術思想を具体化するための印字品質評価システム、レーザマーキング装置、印字条件設定装置、印字品質評価装置、印字条件設定プログラム、印字品質評価プログラム、コンピュータで読み取り可能な記録媒体を例示するものであって、本発明は印字品質評価システム、レーザマーキング装置、印字条件設定装置、印字品質評価装置、印字条件設定プログラム、印字品質評価プログラム、コンピュータで読み取り可能な記録媒体を以下のものに特定しない。また、本明細書は特許請求の範囲に示される部材を、実施の形態の部材に特定するものでは決してない。特に実施の形態に記載されている構成部品の寸法、材質、形状、その相対的配置等は特に特定的な記載がない限りは、本発明の範囲をそれのみに限定する趣旨ではなく、単なる説明例にすぎない。なお、各図面が示す部材の大きさや位置関係等は、説明を明確にするため誇張していることがある。さらに以下の説明において、同一の名称、符号については同一もしくは同質の部材を示しており、詳細説明を適宜省略する。さらに、本発明を構成する各要素は、複数の要素を同一の部材で構成して一の部材で複数の要素を兼用する態様としてもよいし、逆に一の部材の機能を複数の部材で分担して実現することもできる。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the embodiments shown below are a print quality evaluation system, a laser marking device, a print condition setting device, a print quality evaluation device, a print condition setting program, a print quality evaluation program for embodying the technical idea of the present invention, The present invention exemplifies a computer-readable recording medium, and the present invention relates to a printing quality evaluation system, a laser marking device, a printing condition setting device, a printing quality evaluation device, a printing condition setting program, a printing quality evaluation program, and a computer reading The possible recording media are not specified as follows. Further, the present specification by no means specifies the members shown in the claims to the members of the embodiments. In particular, the dimensions, materials, shapes, relative arrangements, and the like of the component parts described in the embodiments are not intended to limit the scope of the present invention unless otherwise specified, and are merely explanations. It is just an example. Note that the size, positional relationship, and the like of the members shown in each drawing may be exaggerated for clarity of explanation. Furthermore, in the following description, the same name and symbol indicate the same or the same members, and detailed description thereof will be omitted as appropriate. Furthermore, each element constituting the present invention may be configured such that a plurality of elements are constituted by the same member and the plurality of elements are shared by one member, and conversely, the function of one member is constituted by a plurality of members. It can also be realized by sharing.

本発明の実施例において使用される印字品質評価システム、レーザマーキング装置、印字条件設定装置、印字品質評価装置とこれに接続される操作、制御、表示、その他の処理等のためのコンピュータ、プリンタ、外部記憶装置その他の周辺機器との接続は、例えばIEEE1394、RS−232xやRS−422、RS−423、RS−485、USB等のシリアル接続、パラレル接続、あるいは10BASE−T、100BASE−TX、1000BASE−T等のネットワークを介して電気的、あるいは磁気的、光学的に接続して通信を行う。接続は有線を使った物理的な接続に限られず、IEEE802.1x等の無線LANやBluetooth(登録商標)等の電波、赤外線、光通信等を利用した無線接続等でもよい。さらにデータの交換や設定の保存等を行うための記録媒体には、メモリカードや磁気ディスク、光ディスク、光磁気ディスク、半導体メモリ等が利用できる。なお本明細書において印字品質評価システム、レーザマーキング装置、印字条件設定装置、印字品質評価装置とは、印字品質評価システム、レーザマーキング装置、印字条件設定装置、印字品質評価装置本体のみならず、これにコンピュータ、外部記憶装置等の周辺機器を組み合わせた印字品質評価システムも含む意味で使用する。   Print quality evaluation system, laser marking device, print condition setting device, print quality evaluation device used in the embodiments of the present invention, and computer, printer, operation, control, display, and other processing connected thereto For example, IEEE1394, RS-232x, RS-422, RS-423, RS-485, USB, etc., serial connection, parallel connection, or 10BASE-T, 100BASE-TX, 1000BASE Communication is performed by electrical, magnetic, or optical connection via a network such as -T. The connection is not limited to a physical connection using a wire, but may be a wireless connection using a wireless LAN such as IEEE802.1x, radio waves such as Bluetooth (registered trademark), infrared light, optical communication, or the like. Furthermore, a memory card, a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like can be used as a recording medium for exchanging data or storing settings. In this specification, the print quality evaluation system, laser marking device, print condition setting device, and print quality evaluation device include not only the print quality evaluation system, laser marking device, print condition setting device, and print quality evaluation device main body, but also In addition, it is used to include a print quality evaluation system that combines peripheral devices such as computers and external storage devices.

また、本明細書において印字品質評価システム、レーザマーキング装置、印字条件設定装置、印字品質評価装置は、レーザマーキングや印字条件設定、印字品質評価を行うシステムそのもの、ならびにレーザマーキングや印字条件設定、印字品質評価に関連する入出力、表示、演算、通信その他の処理をハードウエア的に行う装置や方法に限定するものではない。ソフトウエア的に処理を実現する装置や方法も本発明の範囲内に包含する。例えば汎用の回路やコンピュータにソフトウエアやプログラム、プラグイン、オブジェクト、ライブラリ、アプレット、コンパイラ、モジュール、特定のプログラム上で動作するマクロ等を組み込んで画像生成そのものあるいはこれに関連する処理を可能とした装置やシステムも、本発明の印字品質評価システム、レーザマーキング装置、印字条件設定装置、印字品質評価装置に該当する。また本明細書においてコンピュータには、汎用あるいは専用の電子計算機の他、ワークステーション、端末、携帯型電子機器その他の電子デバイスも包含する。さらに本明細書においてプログラムとは、単体で使用されるものに限られず、特定のコンピュータプログラムやソフトウエア、サービス等の一部として機能する態様や、必要時に呼び出されて機能する態様、OS等の環境においてサービスとして提供される態様、環境に常駐して動作する態様、バックグラウンドで動作する態様やその他の支援プログラムという位置付けで使用することもできる。   In this specification, a print quality evaluation system, a laser marking device, a print condition setting device, and a print quality evaluation device include a laser marking, a print condition setting, a print quality evaluation system itself, a laser marking, a print condition setting, and a print. The present invention is not limited to devices and methods that perform input / output, display, calculation, communication, and other processes related to quality evaluation in hardware. Apparatuses and methods for realizing processing by software are also included in the scope of the present invention. For example, software or programs, plug-ins, objects, libraries, applets, compilers, modules, macros that run on specific programs, etc. can be incorporated into general-purpose circuits or computers to enable image generation itself or related processing. The apparatus and system also correspond to the print quality evaluation system, laser marking device, print condition setting device, and print quality evaluation device of the present invention. In this specification, the computer includes a general-purpose or dedicated electronic computer, a workstation, a terminal, a portable electronic device, and other electronic devices. Further, in this specification, the program is not limited to a program that is used alone, such as a mode that functions as a part of a specific computer program, software, or service, a mode that is called and functions when necessary, an OS, and the like. It can also be used as an aspect provided as a service in the environment, an aspect that operates resident in the environment, an aspect that operates in the background, and other support programs.

なお本明細書において、印字とは、印字対象物の表面を切削する他、熱によって材質を変色させるような処理、すなわち印字対象物の表面が必ずしも除去されていなくとも「印字」に含める意味で使用する。また印字する内容は、文字や数字、記号、図形等の印字に限らず、バーコードや二次元コード等のシンボルも含み、これらの印字内容を刻印や変色等の処理によって印字対象面に描くことを印字と呼ぶ。なお、レーザマーキング装置自体は、レーザ光を対象物に対して照射して印字等の加工を行う装置であるため、その用途は印字等のマーキングに限られず、後述する印字対象面の下地形成のための前処理加工や、刻印や切削、穴あけ、トリミング、スクライビング、表面処理等、その他の加工にも適用可能である。
(実施例1)
In addition, in this specification, the printing means not only cutting the surface of the printing object but also a process for changing the material by heat, that is, the meaning to include in “printing” even if the surface of the printing object is not necessarily removed. use. The contents to be printed are not limited to printing characters, numbers, symbols, figures, etc., but also include symbols such as barcodes and two-dimensional codes, and these printed contents are drawn on the surface to be printed by processes such as engraving and discoloration. Is called printing. Since the laser marking device itself is a device that performs processing such as printing by irradiating the object with laser light, its use is not limited to marking such as printing, but it is used to form the foundation of the printing target surface described later. Therefore, it can be applied to other processes such as pre-processing for printing, marking, cutting, drilling, trimming, scribing, and surface treatment.
Example 1

図1に、本発明の実施例1に係る印字品質評価システムのブロック図を示す。この図に示す印字品質評価システムは、印字対象物であるワークWKにシンボルの印字を行うレーザマーキング装置1000と、印字されたシンボルを読み取り、印字品質の評価を行う光学情報読取システム2000とで構成される。
(レーザマーキング装置1000)
FIG. 1 shows a block diagram of a print quality evaluation system according to Embodiment 1 of the present invention. The print quality evaluation system shown in this figure includes a laser marking device 1000 that prints symbols on a work WK that is a print target, and an optical information reading system 2000 that reads the printed symbols and evaluates the print quality. Is done.
(Laser marking device 1000)

レーザマーキング装置1000は、マーキング手段を構成するマーキング部100と、印字条件設定手段を構成する印字条件設定部200を備える。図1に示すように、マーキング部100はレーザ制御部10とレーザ出力部20を備える。また印字条件設定部200は、パラメータ設定手段32と、印字条件生成手段33と、印字データ生成手段34と、印字データ出力手段35と、印字情報コード設定手段38と、識別情報参照手段36とを備える。
(マーキング部100)
The laser marking device 1000 includes a marking unit 100 constituting a marking unit and a printing condition setting unit 200 constituting a printing condition setting unit. As shown in FIG. 1, the marking unit 100 includes a laser control unit 10 and a laser output unit 20. The print condition setting unit 200 includes parameter setting means 32, print condition generation means 33, print data generation means 34, print data output means 35, print information code setting means 38, and identification information reference means 36. Prepare.
(Marking part 100)

図2にマーキング部100を構成するブロック図を示す。この図に示すマーキング部100は、レーザ制御部10とレーザ出力部20とを備える。マーキング部100は、印字条件設定部200で設定された印字条件に従い、レーザ制御部10のレーザ制御回路11がレーザ励起部12で発生される励起光を、レーザ出力部20のレーザ発振部21に伝達し、発振器を構成するレーザ媒質22に照射し、レーザ発振を生じさせる。レーザ発振光はレーザ媒質22の出射端面から出射され、ビームエキスパンダ23でビーム径を拡大されて、レーザ光走査部26に導かれる。レーザ光走査部26は、レーザ光LBを反射させて所望の方向に変光し、集光部24から出力されるレーザ光LBは、ワークWKの表面で走査されて印字等の加工を行う。
(レーザ制御部10)
FIG. 2 shows a block diagram constituting the marking unit 100. The marking unit 100 shown in this figure includes a laser control unit 10 and a laser output unit 20. In accordance with the printing conditions set by the printing condition setting unit 200, the marking unit 100 transmits the excitation light generated by the laser excitation circuit 12 of the laser control unit 10 to the laser oscillation unit 21 of the laser output unit 20. The laser medium 22 is transmitted and irradiated to the laser medium 22 constituting the oscillator to cause laser oscillation. The laser oscillation light is emitted from the emission end face of the laser medium 22, the beam diameter is enlarged by the beam expander 23, and is guided to the laser light scanning unit 26. The laser beam scanning unit 26 reflects the laser beam LB and changes the light in a desired direction, and the laser beam LB output from the light collecting unit 24 is scanned on the surface of the workpiece WK to perform processing such as printing.
(Laser controller 10)

レーザ制御部10は、レーザ制御回路11と、印字メモリ部14と、レーザ励起部12と、励起電源13とを備える。後述する印字条件設定部200で設定された印字条件等の設定内容は、印字メモリ部14に記録する。レーザ制御回路11は、必要時に印字メモリ部14から設定内容を読み込み、印字条件に応じた印字信号に基づいてレーザ励起部12を動作させ、レーザ出力部20のレーザ媒質22を励起する。印字メモリ部14には、RAMやROM等の半導体メモリが利用できる。また印字メモリ部14はレーザ制御部10に内蔵する他、挿抜可能なPCカードやSDカード(商品名)等の半導体メモリカード、カード型ハードディスク等のメモリカードを利用することもできる。メモリカードで構成される印字メモリ部14は、コンピュータ等の外部機器で容易に書き換え可能であり、コンピュータで設定した内容をメモリカードに書き込み、レーザ制御部10にセットすることで、印字条件設定部200をレーザ制御部に接続することなく設定を行うことができる。特に半導体メモリはデータの読み込み、書き込みが高速で、しかも機械的動作部分がないため振動等に強く、ハードディスクのようなクラッシュによるデータ消失事故を防止できる。   The laser control unit 10 includes a laser control circuit 11, a print memory unit 14, a laser excitation unit 12, and an excitation power source 13. Setting contents such as printing conditions set by a printing condition setting unit 200 described later are recorded in the printing memory unit 14. The laser control circuit 11 reads the setting contents from the print memory unit 14 when necessary, operates the laser excitation unit 12 based on the print signal corresponding to the printing conditions, and excites the laser medium 22 of the laser output unit 20. A semiconductor memory such as a RAM or a ROM can be used for the print memory unit 14. In addition to being built in the laser control unit 10, the print memory unit 14 can be a semiconductor memory card such as a detachable PC card or SD card (trade name), or a memory card such as a card-type hard disk. The print memory unit 14 constituted by a memory card can be easily rewritten by an external device such as a computer, and the print condition setting unit is written by writing the contents set by the computer into the memory card and setting it in the laser control unit 10. Settings can be made without connecting 200 to the laser controller. In particular, the semiconductor memory is fast in reading and writing data, and has no mechanical operation part, so it is resistant to vibrations and can prevent data loss accidents due to crashes such as hard disks.

さらにレーザ制御回路11は、設定された印字を行うようレーザ媒質22で発振されたレーザ光LBをワークWK上で走査させるため、レーザ出力部20のレーザ光走査部26を動作させる走査信号をレーザ光走査部26に出力する。励起電源13は、定電圧電源として、レーザ励起部12へ所定電圧を印加する。印字動作を制御する印字信号は、そのHIGH/LOWに応じてレーザ光LBのON/OFFが切り替えられ、その一パルスが発振されるレーザ光LBの一パルスに対応するPWM信号である。PWM信号は、その周波数に応じたデューティ比に基づいてレーザ強度が定められる。ただ、周波数に基づいた走査速度によってレーザ強度が変化するよう構成することもできる。
(レーザ出力部20)
Further, the laser control circuit 11 scans the laser beam LB oscillated by the laser medium 22 on the workpiece WK so as to perform the set printing, and outputs a scanning signal for operating the laser beam scanning unit 26 of the laser output unit 20 to the laser beam. Output to the optical scanning unit 26. The excitation power supply 13 applies a predetermined voltage to the laser excitation unit 12 as a constant voltage power supply. The print signal for controlling the print operation is a PWM signal corresponding to one pulse of the laser beam LB that is switched on / off of the laser beam LB in accordance with the HIGH / LOW and that one pulse is oscillated. The laser intensity of the PWM signal is determined based on a duty ratio corresponding to the frequency. However, the laser intensity can be changed according to the scanning speed based on the frequency.
(Laser output unit 20)

レーザ出力部20は、レーザ発振部21を備える。レーザ光LBを発生させるレーザ発振部21は、レーザ媒質22と、レーザ媒質22が放出する誘導放出光の光路に沿って所定の距離を隔てて対向配置された出力ミラー及び全反射ミラーと、これらの間に配されたアパーチャ、Qスイッチ等を備える。レーザ媒質22が放出する誘導放出光を、出力ミラーと全反射ミラーとの間での多重反射により増幅し、Qスイッチの動作により短周期にて通断しつつアパーチャによりモード選別して、出力ミラーを経てレーザ光LBを出力する。図2に示すレーザ出力部20は、レーザ媒質22とレーザ光走査部26を備える。レーザ媒質22は光ファイバケーブル15を介してレーザ励起部12から入射されるレーザ励起光で励起されて、レーザ発振される。レーザ媒質22はロッド状の一方の端面からレーザ励起光を入力して励起され、他方の端面からレーザ光LBを出射する、いわゆるエンドポンピングによる励起方式を採用している。
(レーザ媒質22)
The laser output unit 20 includes a laser oscillation unit 21. The laser oscillation unit 21 that generates the laser beam LB includes a laser medium 22, an output mirror and a total reflection mirror that are arranged to face each other at a predetermined distance along the optical path of the stimulated emission light emitted from the laser medium 22, and Apertures, Q switches, etc. arranged between The stimulated emission light emitted from the laser medium 22 is amplified by multiple reflection between the output mirror and the total reflection mirror, and the mode is selected by the aperture while being interrupted in a short period by the operation of the Q switch, and the output mirror After that, the laser beam LB is output. The laser output unit 20 illustrated in FIG. 2 includes a laser medium 22 and a laser beam scanning unit 26. The laser medium 22 is excited by laser excitation light incident from the laser excitation unit 12 via the optical fiber cable 15 and oscillated. The laser medium 22 employs a so-called end pumping excitation method in which laser excitation light is input from one end surface of the rod shape and is excited, and laser light LB is emitted from the other end surface.
(Laser medium 22)

上記の例では、レーザ媒質22としてロッド状のNd:YVO4の固体レーザ媒質を用いた。また固体レーザ媒質の励起用半導体レーザの波長は、このNd:YVO4の吸収スペクトルの中心波長である809nmに設定した。ただ、この例に限られず他の固体レーザ媒質として、例えば希土類をドープしたYAG、LiSrF、LiCaF、YLF、NAB、KNP、LNP、NYAB、NPP、GGG等も用いることもできる。また、固体レーザ媒質に波長変換素子を組み合わせて、出力されるレーザ光LBの波長を任意の波長に変換できる。 In the above example, a rod-shaped Nd: YVO 4 solid laser medium is used as the laser medium 22. The wavelength of the pumping semiconductor laser of the solid laser medium was set to 809 nm, which is the center wavelength of the Nd: YVO 4 absorption spectrum. However, the present invention is not limited to this example, and other solid-state laser media such as rare earth doped YAG, LiSrF, LiCaF, YLF, NAB, KNP, LNP, NYAB, NPP, GGG, etc. can also be used. Moreover, the wavelength of the laser beam LB to be output can be converted to an arbitrary wavelength by combining a wavelength conversion element with the solid laser medium.

さらに、固体レーザ媒質を使用せず、言い換えるとレーザ光を発振させる共振器を構成せず、波長変換のみを行う波長変換素子を使用することもできる。この場合は、半導体レーザの出力光に対して波長変換を行う。波長変換素子としては、例えばKTP(KTiPO4)、有機非線形光学材料や他の無機非線形光学材料、例えばKN(KNbO3)、KAP(KAsPO4)、BBO、LBOや、バルク型の分極反転素子(LiNbO3(Periodically Polled Lithium Niobate :PPLN)、LiTaO3等)が利用できる。また、Ho、Er、Tm、Sm、Nd等の希土類をドープしたフッ化物ファイバを用いたアップコンバージョンによるレーザの励起光源用半導体レーザを用いることもできる。このように、本実施の形態においてはレーザ発生源として様々なタイプを適宜利用できる。 Furthermore, it is also possible to use a wavelength conversion element that does not use a solid laser medium, in other words, does not constitute a resonator that oscillates laser light, and performs only wavelength conversion. In this case, wavelength conversion is performed on the output light of the semiconductor laser. Examples of the wavelength conversion element include KTP (KTiPO 4 ), organic nonlinear optical materials and other inorganic nonlinear optical materials such as KN (KNbO 3 ), KAP (KAsPO 4 ), BBO, LBO, and bulk type polarization inversion elements ( LiNbO 3 (Periodically Polled Lithium Niobate: PPLN), LiTaO 3 or the like) can be used. Further, a semiconductor laser for an excitation light source of a laser by up-conversion using a fluoride fiber doped with rare earth such as Ho, Er, Tm, Sm, and Nd can be used. Thus, in this embodiment, various types can be appropriately used as a laser generation source.

さらにまた、レーザ発振部は、固体レーザに限られず、CO2やヘリウム−ネオン、アルゴン、窒素等の気体を媒質として用いる気体レーザを利用することもできる。例えば炭酸ガスレーザを用いた場合のレーザ発振部は、レーザ発振部の内部に炭酸ガス(CO2)が充填され、電極を内蔵しており、レーザ制御部から与えられる印字信号に基づいて、レーザ発振部内の炭酸ガスを励起し、レーザ発振させる。
(レーザ光走査部26)
Furthermore, the laser oscillation unit is not limited to the solid-state laser, CO 2 and helium - it neon, argon, also use a gas laser using a gas such as nitrogen as a medium. For example, when a carbon dioxide laser is used, the laser oscillation unit is filled with carbon dioxide (CO 2 ) inside the laser oscillation unit and has an electrode built in. The laser oscillation is based on a print signal given from the laser control unit. The carbon dioxide in the unit is excited to cause laser oscillation.
(Laser beam scanning unit 26)

さらにレーザ出力部20は、レーザ出力光をワーク上で走査させるために、レーザ光走査部26を備える。レーザ光走査部26は図2に示すように、一対のガルバノミラーを構成するX・Y軸スキャナ27a、27bと、各ガルバノミラーをそれぞれ回動軸に固定し回動するためのガルバノモータ28a、28bとを備えている。これらガルバノモータ28は、スキャナ駆動回路25により駆動される。X・Y軸スキャナ27a、27bは、互いに直交する姿勢で配置されており、レーザ光をX方向、Y方向に反射させて走査させることができる。また、レーザ光走査部26の下方には、図2に示すように集光部24が備えられる。集光部24は集光レンズで構成され、fθレンズが使用される。   Further, the laser output unit 20 includes a laser beam scanning unit 26 in order to scan the laser output light on the workpiece. As shown in FIG. 2, the laser beam scanning unit 26 includes an X / Y-axis scanner 27a, 27b constituting a pair of galvanometer mirrors, and a galvano motor 28a for rotating each galvanometer mirror fixed to a rotation shaft. 28b. These galvano motors 28 are driven by a scanner drive circuit 25. The X / Y-axis scanners 27a and 27b are arranged in a posture orthogonal to each other, and can scan the laser beam by reflecting it in the X and Y directions. In addition, a condensing unit 24 is provided below the laser beam scanning unit 26 as shown in FIG. The condensing unit 24 includes a condensing lens, and an fθ lens is used.

またレーザ出力部20は、XY方向への走査のみならず、Z方向(高さ)への走査も可能とできる。このような三次元に印字が可能なレーザ光の走査系の例を図3、図4の斜視図に示す。この図に示す走査部は、レーザ光を発生させるレーザ発振部と光路を一致させたZ軸スキャナを内蔵するビームエキスパンダ23と、X軸スキャナ27aと、X軸スキャナ27aと直交するよう配置されたY軸スキャナ27bとを備える。このレーザ光走査系は、レーザ発振部より出射されるレーザ光をX軸スキャナ27a、Y軸スキャナ27bで作業領域WS内で二次元的に走査させ、さらにZ軸スキャナ27cで高さ方向にワーキングディスタンス、すなわち焦点距離を調整することができ、三次元状に印字加工が可能となる。   The laser output unit 20 can scan not only in the XY direction but also in the Z direction (height). Examples of such a laser beam scanning system capable of three-dimensional printing are shown in the perspective views of FIGS. The scanning section shown in this figure is arranged so as to be orthogonal to the beam expander 23 incorporating the Z-axis scanner whose optical path is matched with the laser oscillation section for generating laser light, the X-axis scanner 27a, and the X-axis scanner 27a. And a Y-axis scanner 27b. In this laser beam scanning system, the laser beam emitted from the laser oscillation unit is scanned two-dimensionally in the work area WS by the X-axis scanner 27a and the Y-axis scanner 27b, and further the working in the height direction is performed by the Z-axis scanner 27c. The distance, that is, the focal length can be adjusted, and printing can be performed in three dimensions.

X軸スキャナ27aとY軸スキャナ27bは、光を反射する反射面として全反射ミラーであるガルバノミラーと、ガルバノミラーを回動軸に固定して回動するためのガルバノモータと、回動軸の回転位置を検出して位置信号として出力する位置検出部を備える。また各スキャナは、スキャナを駆動するスキャナ駆動部に接続される。スキャナ駆動部はスキャナ制御部に接続され、スキャナを制御する制御信号をスキャナ制御部から受けて、これに基づいてスキャナを駆動する。例えばスキャナ駆動部は、制御信号に基づいてスキャナを駆動する駆動電流を調整する。またスキャナ駆動部は、制御信号に対する各スキャナの回転角の時間変化を調整する調整機構を備える。調整機構は、スキャナ駆動部の各パラメータを調整する可変抵抗等の半導体部品で構成される。
(ディスタンスポインタ)
The X-axis scanner 27a and the Y-axis scanner 27b include a galvano mirror that is a total reflection mirror as a reflection surface for reflecting light, a galvano motor for rotating the galvano mirror to a rotation shaft, A position detector for detecting the rotational position and outputting it as a position signal is provided. Each scanner is connected to a scanner driving unit that drives the scanner. The scanner driving unit is connected to the scanner control unit, receives a control signal for controlling the scanner from the scanner control unit, and drives the scanner based on the control signal. For example, the scanner driving unit adjusts the driving current for driving the scanner based on the control signal. The scanner driving unit includes an adjustment mechanism that adjusts a temporal change in the rotation angle of each scanner with respect to the control signal. The adjustment mechanism is constituted by a semiconductor component such as a variable resistor that adjusts each parameter of the scanner driving unit.
(Distance pointer)

さらにレーザ光走査系は、ディスタンスポインタとして、ガイドレーザ光GBを発するガイド用光源29Aと、ガイドレーザ光光学系の一形態としてハーフミラー29aを備えると共に、ポインタ光調整系として、ポインタ光PBを照射するためのポインタ用光源29Bと、Y軸スキャナ27bの裏面に形成された第3のミラーとしてポインタ用スキャナミラー27dと、ポインタ用スキャナミラー27dで反射されたポインタ用光源29Bからのポインタ光PBをさらに反射させて焦点位置に向かって照射する固定ミラー29bとを備えている。このディスタンスポインタは、ガイドレーザ光GBで描画されるガイドパターンの中心にポインタ光PBを照射するよう調整することで、レーザ光LBの焦点位置を指示できる。
(Z軸スキャナ27c)
Further, the laser beam scanning system includes a guide light source 29A that emits a guide laser beam GB as a distance pointer, and a half mirror 29a as one form of the guide laser beam optical system, and irradiates a pointer beam PB as a pointer beam adjustment system. The pointer light source 29B, the pointer scanner mirror 27d as the third mirror formed on the back surface of the Y-axis scanner 27b, and the pointer light PB from the pointer light source 29B reflected by the pointer scanner mirror 27d. Furthermore, a fixed mirror 29b that reflects and irradiates toward the focal position is provided. This distance pointer can indicate the focal position of the laser beam LB by adjusting the distance so that the pointer beam PB is irradiated to the center of the guide pattern drawn with the guide laser beam GB.
(Z-axis scanner 27c)

一方でZ軸スキャナ27cはレーザ光LBのスポット径を調整し、これによって焦点距離を調整するビームエキスパンダ23により構成される。ビームエキスパンダ23は、小スポットへの集光を効果的に行わせるため、図3、図4に示すようにガルバノミラーの前段に配置され、レーザ発振部から出力されるレーザ光LBのビーム径を調整すると共に、レーザ光LBの焦点位置を調整可能としている。なお、上記の例では三次元印字が可能なレーザ光走査系について説明したが、本発明は二次元印字が可能なレーザマーキング装置においても適用できる。
(印字条件設定部200)
On the other hand, the Z-axis scanner 27c is configured by a beam expander 23 that adjusts the spot diameter of the laser beam LB and thereby adjusts the focal length. The beam expander 23 is arranged in front of the galvanometer mirror as shown in FIGS. 3 and 4 in order to effectively collect light on a small spot, and the beam diameter of the laser beam LB output from the laser oscillation unit. And the focal position of the laser beam LB can be adjusted. Although the laser beam scanning system capable of three-dimensional printing has been described in the above example, the present invention can also be applied to a laser marking apparatus capable of two-dimensional printing.
(Printing condition setting unit 200)

次に印字条件設定部200について、図1を参照して説明する。印字条件設定部200はレーザ制御部10に接続され、レーザマーキング装置1000を操作するための必要な設定を入力してレーザ制御部10に送信する。設定内容はレーザマーキング装置1000の動作条件、すなわち印字条件や具体的な印字内容等である。ここでは、主に印字条件として、レーザパワー、スキャンスピード、Qスイッチ周波数、スポット可変値、印字回数等の印字パラメータを設定する。ここでレーザパワーはレーザ光の出力、スキャンスピードはレーザ光の走査速度、Qスイッチ周波数はQスイッチを動作させる周波数である。またスポット可変値は、レーザ光の焦点位置をワークの表面から高さ方向にずらすことで、焦点のスポット径を変化させるためのパラメータである。さらに印字回数は、同じ箇所を繰り返し走査する回数を指定する。   Next, the printing condition setting unit 200 will be described with reference to FIG. The printing condition setting unit 200 is connected to the laser control unit 10, inputs necessary settings for operating the laser marking apparatus 1000, and transmits them to the laser control unit 10. The set contents are operating conditions of the laser marking apparatus 1000, that is, printing conditions, specific printing contents, and the like. Here, printing parameters such as laser power, scan speed, Q switch frequency, spot variable value, and number of printing are mainly set as printing conditions. Here, the laser power is the output of the laser beam, the scan speed is the scan rate of the laser beam, and the Q switch frequency is a frequency for operating the Q switch. Further, the spot variable value is a parameter for changing the focal spot diameter by shifting the focal position of the laser light in the height direction from the surface of the workpiece. Furthermore, the number of times of printing designates the number of times the same part is repeatedly scanned.

図5に、印字条件設定部200のブロック図を示す。この図に示す印字条件設定部200は、各種設定を入力するための印字操作手段31と、印字操作手段31から入力された情報に基づいて印字条件の設定や傾斜角の演算等を行う印字演算部40と、設定内容や演算結果等を表示するための設定表示手段37と、各種設定データを記憶するための印字メモリ部14とを備える。印字操作手段31は、印字条件の印字パラメータを設定する機能を実現する。印字パラメータには、レーザ光の出力、走査速度の他、レーザ光の焦点位置すなわちワークからレーザ光出射面までの距離(高さ)等が挙げられる。印字メモリ部14は、印字操作手段31で設定された印字パラメータ等の情報を記憶する部材であり、固定記憶装置等の記憶媒体や半導体メモリ等が利用できる。また、図1の識別情報参照手段36の機能を果たし、対応テーブルを保持できる。   FIG. 5 shows a block diagram of the printing condition setting unit 200. The print condition setting unit 200 shown in this figure includes a print operation unit 31 for inputting various settings, and a print operation for setting a print condition and calculating an inclination angle based on information input from the print operation unit 31. A unit 40, a setting display means 37 for displaying setting contents and calculation results, and a print memory unit 14 for storing various setting data. The printing operation means 31 realizes a function for setting printing parameters for printing conditions. The print parameters include laser beam output, scanning speed, laser beam focal position, that is, distance (height) from the workpiece to the laser beam emission surface, and the like. The print memory unit 14 is a member that stores information such as print parameters set by the print operation unit 31, and a storage medium such as a fixed storage device or a semiconductor memory can be used. Further, it fulfills the function of the identification information reference means 36 of FIG. 1 and can hold a correspondence table.

また印字演算部40は、印字条件生成手段33により範囲で指定された印字パラメータから、指定された範囲及び幅で変化させた複数の印字条件の組を生成する印字条件生成手段33、印字条件生成手段33で生成された複数の印字条件の各々に対して印字データを生成する印字データ生成手段34と、最終的に設定された印字条件を所定の出力先に出力する印字データ出力手段35、印字条件がエンコードされた印字情報コードを設定するための印字情報コード設定手段38の機能を実現する。この印字演算部40は、LSIやIC等で構成される。設定表示手段37は、LCDやブラウン管等のモニタである。設定表示手段37は専用のディスプレイを設ける他、コンピュータのモニタを利用してもよい。   The print calculation unit 40 also generates a print condition generation unit 33 that generates a set of a plurality of print conditions that are changed in the specified range and width from the print parameters specified in the range by the print condition generation unit 33. Print data generating means 34 for generating print data for each of the plurality of print conditions generated by the means 33; a print data output means 35 for outputting the finally set print conditions to a predetermined output destination; The function of the print information code setting means 38 for setting the print information code in which the condition is encoded is realized. The print calculation unit 40 is configured by an LSI, an IC, or the like. The setting display means 37 is a monitor such as an LCD or a cathode ray tube. The setting display means 37 may be a computer monitor in addition to providing a dedicated display.

印字操作手段31はキーボードやマウス、コンソール等の入力デバイスである。なお設定表示手段37をタッチパネル方式として印字操作手段31と後述する評価表示手段72を兼用することもできる。これによって、コンピュータ等を外部接続することなく操作手段でレーザマーキング装置の必要な設定を行うことができる。   The printing operation means 31 is an input device such as a keyboard, a mouse, and a console. The setting display means 37 can be used as a touch panel system, and the printing operation means 31 and an evaluation display means 72 to be described later can also be used. Thereby, the necessary setting of the laser marking device can be performed by the operating means without externally connecting a computer or the like.

なお図5の例では、印字条件設定装置200Aを専用のハードウェアで構成したが、これらの部材はソフトウェアでも実行できる。特に、図6に示すように汎用のコンピュータに印字条件設プログラムをインストールして、印字条件設定装置200Aとして機能させることもできる。また図5の例では、マーキング部100と印字条件設定部200とを個別の機器としたが、これらを一体的に統合することもできる。例えばレーザマーキング装置自体にレーザ印字条件設定機能を付加することもできる。さらに、後述する光学情報読取システムを構成する光学情報読取手段や印字品質評価手段65を適宜統合させてもよい。
(光学情報読取システム2000)
In the example of FIG. 5, the printing condition setting device 200A is configured by dedicated hardware, but these members can also be executed by software. In particular, as shown in FIG. 6, a printing condition setting program can be installed in a general-purpose computer so as to function as the printing condition setting apparatus 200A. In the example of FIG. 5, the marking unit 100 and the printing condition setting unit 200 are separate devices, but they can also be integrated. For example, a laser printing condition setting function can be added to the laser marking device itself. Furthermore, an optical information reading unit and a print quality evaluation unit 65 constituting an optical information reading system described later may be integrated as appropriate.
(Optical information reading system 2000)

一方、光学情報読取システム2000は、図1に示すように、光学情報読取装置300と、印字品質評価装置400とで構成される。光学情報読取システム2000では、レーザマーキング装置1000によってワークに印字されたシンボルを、光学情報読取装置300が共通の撮像条件の下で撮像し、撮像画像を印字品質評価装置400が取り込む。そして、撮像画像から読取可能なシンボルを印字品質評価装置400が抽出し、抽出したシンボルの読取安定度を評価する。
(光学情報読取装置300)
On the other hand, the optical information reading system 2000 includes an optical information reading device 300 and a print quality evaluation device 400, as shown in FIG. In the optical information reading system 2000, the symbol printed on the workpiece by the laser marking device 1000 is picked up by the optical information reading device 300 under common image pickup conditions, and the picked-up image evaluation device 400 takes in the picked-up image. Then, the print quality evaluation device 400 extracts a readable symbol from the captured image, and evaluates the reading stability of the extracted symbol.
(Optical information reader 300)

図1に示す光学情報読取装置300は、ワークに付されたシンボルを撮像する撮像手段51と、撮像手段51を制御する撮像制御手段52と、撮像手段51で撮像された撮像画像からシンボルを抽出するシンボル抽出手段56と、シンボル抽出手段56により抽出されたシンボルに含まれる情報を復号化するための復号化手段53と、ワークを照明するための内部照明ユニット54を備える。また必要に応じて外部照明ユニット55を付加することもできる。   An optical information reader 300 shown in FIG. 1 extracts an image from a captured image captured by the image capturing unit 51, an image capturing control unit 52 that controls the image capturing unit 51, and an image capturing unit 51 that captures the symbol attached to the workpiece. A symbol extracting means 56, a decoding means 53 for decoding information included in the symbol extracted by the symbol extracting means 56, and an internal lighting unit 54 for illuminating the workpiece. Moreover, the external illumination unit 55 can also be added as needed.

光学情報読取装置300は、バーコード、二次元コード等の光学情報又は光学符号や文字列(集合的に「シンボル」と呼ぶ。)を読み取って情報をデコード又は認識する装置であり、例えばバーコードリーダや二次元コードリーダ、OCR等である。光学情報読取装置300は、必要に応じて外部照明ユニット55を接続できる。一般的には、バーコードリーダには照明は不要であるが、二次元コードリーダには必要となる。外部照明ユニット55は例えばリング型の照明で、光学情報読取装置300に内蔵されている内部照明ユニット54と協働して、又は内部照明ユニット54の動作を止めて外部照明ユニット55のみでワークを照明する。   The optical information reading device 300 is a device that reads optical information such as a barcode, a two-dimensional code, or an optical code or a character string (collectively referred to as “symbol”) and decodes or recognizes the information. A reader, a two-dimensional code reader, an OCR, or the like. The optical information reader 300 can be connected to the external illumination unit 55 as necessary. In general, a barcode reader does not require illumination, but a two-dimensional code reader does. The external illumination unit 55 is, for example, a ring-type illumination, and works in cooperation with the internal illumination unit 54 built in the optical information reader 300 or stops the operation of the internal illumination unit 54 so that the work is performed only by the external illumination unit 55. Illuminate.

光学情報読取装置300は、このようなシンボルが印字又は刻印される商品や物品、産品を製造する工場や流通拠点では、物品の搬送経路に設置される。運用時には、光学情報読取装置300で商品や物品に印字されたシンボルに記録されている情報を読み取り、この情報をホストコンピュータに転送して情報の解析が行われる。二次元コードの種類としては、QRコード、マイクロQRコード、データマトリックス(Data matrix;Data code)、ベリコード(Veri code)、アズテックコード(Aztec code)、PDF417、マキシコード(Maxi code)等がある。二次元コードにはスタック型とマトリクス型があるが、本発明はいずれの二次元コードに対しても適用できる。また本発明は、読み取り対象のシンボルを二次元コードに特定せず、一次元バーコードやその他のデータシンボル、文字認識を行うOCR等に対しても使用できる。
(印字品質評価装置400)
The optical information reader 300 is installed in the article conveyance path in factories and distribution bases that manufacture products, articles, and products on which such symbols are printed or stamped. At the time of operation, the optical information reader 300 reads information recorded on symbols printed on goods or articles, and this information is transferred to the host computer for information analysis. Examples of the two-dimensional code include QR code, micro QR code, data matrix (Data code), Veri code, Aztec code, PDF417, and Maxi code. The two-dimensional code includes a stack type and a matrix type, but the present invention can be applied to any two-dimensional code. The present invention can also be used for one-dimensional barcodes, other data symbols, OCR for character recognition, etc., without specifying the symbol to be read as a two-dimensional code.
(Print quality evaluation device 400)

この印字品質評価装置400は図1に示すように、撮像画像を取得する画像取得手段61と、抽出手段62と、印字品質評価手段65と、識別手段66と、対応関係記憶手段70と、評価操作手段71と、評価表示手段72と、対象領域設定手段73とを備える。評価表示手段72は、ディスプレイやモニタであり、評価操作手段71は、各種操作や設定を行うための入力デバイスである。対象領域設定手段73は、評価表示手段72に表示された撮像画像上に、対象領域を指定するための手段である。抽出手段62は、シンボルを抽出するシンボル抽出手段63と、特定パターンを抽出する特定パターン抽出手段64を備える。また認識手段66は、識別情報を認識する識別情報認識手段67と、印字位置を認識する印字位置認識手段68を備える。なお、印字条件設定装置200Aと印字品質評価装置とを、印字条件設定プログラムと印字品質評価プログラムとをインストールした同一のコンピュータで構成する場合は、該コンピュータのモニタが設定表示手段37と評価表示手段72とを兼用する。
(画像取得手段61)
As shown in FIG. 1, the print quality evaluation apparatus 400 includes an image acquisition unit 61 that acquires a captured image, an extraction unit 62, a print quality evaluation unit 65, an identification unit 66, a correspondence relationship storage unit 70, and an evaluation. An operation unit 71, an evaluation display unit 72, and a target area setting unit 73 are provided. The evaluation display means 72 is a display or a monitor, and the evaluation operation means 71 is an input device for performing various operations and settings. The target area setting unit 73 is a unit for designating a target area on the captured image displayed on the evaluation display unit 72. The extraction unit 62 includes a symbol extraction unit 63 that extracts a symbol and a specific pattern extraction unit 64 that extracts a specific pattern. The recognition unit 66 includes an identification information recognition unit 67 that recognizes identification information, and a print position recognition unit 68 that recognizes a print position. When the printing condition setting device 200A and the printing quality evaluation device are composed of the same computer in which the printing condition setting program and the printing quality evaluation program are installed, the monitor of the computer has setting display means 37 and evaluation display means. 72 is also used.
(Image acquisition means 61)

画像取得手段61は、印字対象物に印字された個々のシンボルを含む撮像画像を、このシンボルの印字品質を評価可能な解像度にて撮像された撮像画像を取得するための手段である。例えば、印字品質評価装置400と接続された光学情報読取装置300で撮像された撮像画像を取り込むためのインターフェース機器(例えば有線、無線の通信インターフェース)、あるいは撮像画像が記録された媒体を読み取る読取装置(例えばDVDドライブやメモリカードリーダ)等が該当する。また、図7に示すように、印字品質評価装置400にCCDカメラ等の撮像手段51を設けて、直接画像を撮像する構成としてもよい。この場合は、画像取得手段61が撮像手段51となる。   The image acquisition unit 61 is a unit for acquiring a captured image obtained by capturing a captured image including individual symbols printed on a print target with a resolution capable of evaluating the print quality of the symbol. For example, an interface device (for example, a wired or wireless communication interface) for capturing a captured image captured by the optical information reader 300 connected to the print quality evaluation apparatus 400, or a reader that reads a medium on which the captured image is recorded. For example, a DVD drive or a memory card reader is applicable. Further, as shown in FIG. 7, the print quality evaluation apparatus 400 may be provided with an image pickup means 51 such as a CCD camera to directly pick up an image. In this case, the image acquisition unit 61 becomes the imaging unit 51.

なお印字品質評価装置400は、例えば印字品質評価プログラムをインストールしたパーソナルコンピュータ3を印字品質評価装置として機能させることができる。またこの図では、光学情報読取装置300と印字品質評価装置400を別体としているが、これらを統合することも可能である。さらに印字品質評価装置400は、製品や産品にシンボル等を印刷又は刻印するコード印字の評価に限られず、文字列をOCRで読み取る際の評価も含む。なお印字品質評価装置400は、一般には印字品質の評価時にのみ接続される。得られた印字品質の評価から適切な印字条件が決定されると、印字品質評価装置400は取り外され、実際の運用時には光学情報読取装置300のみでもってシンボルの読み取り作業が行われる。ただ、光学情報読取装置に印字品質評価機能を実装する等、光学情報読取装置と印字品質評価装置とを一体的に構成することも可能である。つまり、光学情報読取装置300に、シンボル抽出手段63や特定パターン抽出手段64等抽出手段62の機能をもたせるようにしてもよい。また図1の例では、レーザマーキング装置1000を印字条件設定部200とマーキング部100で構成した例を説明したが、この構成例に限られず、印字条件設定部とマーキング部を一体的に構成したり、あるいは逆に印字条件設定装置とマーキング装置を別体で構成することも可能である。
(撮像手段51)
Note that the print quality evaluation apparatus 400 can cause the personal computer 3 installed with the print quality evaluation program to function as the print quality evaluation apparatus, for example. In this figure, the optical information reading device 300 and the print quality evaluation device 400 are separated, but they can also be integrated. Further, the print quality evaluation apparatus 400 is not limited to the code print evaluation for printing or engraving a symbol or the like on a product or product, but also includes an evaluation when a character string is read by OCR. Note that the print quality evaluation apparatus 400 is generally connected only when the print quality is evaluated. When an appropriate printing condition is determined from the obtained evaluation of the printing quality, the printing quality evaluation device 400 is removed, and the symbol reading operation is performed only by the optical information reading device 300 in actual operation. However, the optical information reader and the print quality evaluation device can be configured integrally, for example, by mounting a print quality evaluation function on the optical information reader. That is, the optical information reader 300 may have the functions of the extraction means 62 such as the symbol extraction means 63 and the specific pattern extraction means 64. In the example of FIG. 1, the example in which the laser marking device 1000 is configured by the printing condition setting unit 200 and the marking unit 100 has been described. However, the configuration is not limited to this configuration example, and the printing condition setting unit and the marking unit are integrally configured. Or, conversely, the printing condition setting device and the marking device can be configured separately.
(Imaging means 51)

撮像手段51は、ワークに印字された個々のシンボルを含む撮像画像を、該シンボルの印字品質を評価可能な解像度にて撮像する。撮像手段51は、光学読取素子としてCMOSやCCD等の撮像素子を備えている。撮像素子とレンズ組立体との間の距離を大きくすることで、高い分解能でバーコードやQRコード等の光学情報を微小な領域まで読み取ることができる。
(撮像制御手段52)
The imaging unit 51 captures a captured image including individual symbols printed on the workpiece with a resolution that can evaluate the printing quality of the symbols. The imaging unit 51 includes an imaging element such as a CMOS or CCD as an optical reading element. By increasing the distance between the imaging element and the lens assembly, it is possible to read optical information such as a barcode and QR code up to a minute area with high resolution.
(Imaging control means 52)

この撮像手段51は、撮像制御手段52により制御される。撮像制御手段52は、撮像手段51の撮像パラメータを変化させながらシンボルを連続して撮像する。ここで撮像パラメータは、明るさ、フィルタ、点灯パターン等を挙げることができ、その一つのパラメータだけを変化させてもよいし、複数のパラメータを変化させて読み取り易さの指標を求めるようにしてもよい。
(印字品質評価手段65)
The imaging unit 51 is controlled by the imaging control unit 52. The imaging control unit 52 continuously images the symbols while changing the imaging parameters of the imaging unit 51. Here, the imaging parameters can include brightness, filter, lighting pattern, etc. Only one parameter may be changed, or a plurality of parameters may be changed to obtain an index of readability. Also good.
(Print quality evaluation means 65)

一方で印字品質評価手段65は、シンボル抽出手段により抽出されたシンボルの印字品質を評価する。具体的には、シンボルの撮像パラメータの変化に対する読取安定度のスコアを算出し、評価表示手段72で、該スコアと共に識別情報を表示する。このように、印字品質評価装置400で撮像画像中のサンプルコードSCに対して撮像パラメータを変化させながら読取試行し、この結果から得たサンプルコードSCの読取安定度のスコアを表示することで、ユーザに印字条件設定の示唆を提供することができる。これにより、ユーザは評価表示手段72に表示されたスコアを確認して、最もよいスコアに対応する識別情報をレーザマーキング装置1000にフィードバックすればよく、最適な印字条件を簡単に設定することが可能となる。
(印字条件設定方法)
On the other hand, the print quality evaluation means 65 evaluates the print quality of the symbols extracted by the symbol extraction means. Specifically, a score of the reading stability with respect to the change in the imaging parameter of the symbol is calculated, and the evaluation display means 72 displays the identification information together with the score. As described above, the print quality evaluation apparatus 400 performs reading while changing the imaging parameter with respect to the sample code SC in the captured image, and displays the score of the reading stability of the sample code SC obtained from the result. The user can be provided with suggestions for setting printing conditions. Thus, the user can confirm the score displayed on the evaluation display means 72 and feed back the identification information corresponding to the best score to the laser marking device 1000, and can easily set the optimum printing conditions. It becomes.
(Printing condition setting method)

以下、印字条件設定装置200Aを用いてレーザマーキング装置1000の印字条件の設定を行う手順を、図8〜図14のユーザインターフェース画面に基づいて説明する。ここでは、印字条件設定装置200Aとして、図6のコンピュータに印字条件設定プログラムをインストールした構成を用いている。また図8〜図14に示す画面は、図1等の設定表示手段37に表示された印字条件設定プログラムのユーザインターフェース画面を示している。   Hereinafter, a procedure for setting the printing conditions of the laser marking device 1000 using the printing condition setting device 200A will be described based on the user interface screens of FIGS. Here, as the printing condition setting device 200A, a configuration in which a printing condition setting program is installed in the computer of FIG. 6 is used. Further, the screens shown in FIGS. 8 to 14 show user interface screens of the printing condition setting program displayed on the setting display means 37 of FIG.

図8は印字内容を設定する印字条件設定プログラムのユーザインターフェース画面を示している。この例では、画面の左側にワーク上に印字される加工パターンのイメージを表示する編集表示欄202、右側に具体的な加工条件として各種データを指定する印字パターン入力欄204を設けている。印字パターン入力欄204では、設定項目を選択するタブとして「基本設定」タブ204h、「形状設定」タブ204i、「詳細設定」タブ204jを切り替えることができる。図8の例では「基本設定」タブ204hが選択されており、ここには加工種類指定欄204aと、文字データ指定欄204d、文字入力欄204b、詳細設定欄204cを設けている。加工種類指定欄204aは、加工パターンの種別として、文字列やシンボル、ロゴ、模様、図等のイメージを含めた印字パターン、若しくは加工機としての動作を行うかを指定する。図8の例では、加工種類指定欄204aからラジオボタンで文字列、ロゴ・図、加工機動作の別を選択する。また文字データ指定欄204dは、文字データの種別を指定する。ここでは文字、バーコード、2次元コード、RSS・コンポジットコード(Composite Code:CC)のいずれかをプルダウンメニューから選択する。さらに選択された文字データの種別に応じて、さらに詳細な種別を種別指定欄204qで選択する。例えば文字を選択した場合はフォントの種別、バーコードを選択した場合は、CODE39、ITF、2 of 5、NW7、JAN、Code 28等のバーコード種別、2次元コードを選択した場合は、QRコード、マイクロQRコード、DataMatrix等の2次元コード種別、RSS・コンポジットコードを選択した場合は、RSS-14、RSS-14 CC-A、RSS Stacked、RSS Stacked CC-A、RSS Limited、RSS Limited CC-A等のRSSコード種別、又はRSSコンポジットコード種別を指定する。文字入力欄204bでは、印字したい文字情報を入力する。入力された文字は、文字データ指定欄204dで文字を選択した場合、そのまま文字列として印字される。一方、シンボルが指定された場合は、選択されたシンボルの種別に従って入力された文字列がエンコードされた加工パターンが生成される。加工パターンの生成は、加工条件設定部3Cで行う他、加工データ生成部で行ってもよい。この例では印字演算部40が行っている。また詳細設定欄204cは、タブを切り替えて「印字データ」タブ204e、「サイズ・位置」タブ204f、「印字条件」タブ204g等、印字条件の詳細を指定する。   FIG. 8 shows a user interface screen of a print condition setting program for setting print contents. In this example, an edit display column 202 for displaying an image of a machining pattern to be printed on a workpiece is provided on the left side of the screen, and a print pattern input column 204 for designating various data as specific machining conditions is provided on the right side. In the print pattern input field 204, a “basic setting” tab 204h, a “shape setting” tab 204i, and a “detailed setting” tab 204j can be switched as tabs for selecting setting items. In the example of FIG. 8, a “basic setting” tab 204h is selected, which includes a processing type designation field 204a, a character data designation field 204d, a character input field 204b, and a detailed setting field 204c. The processing type designation field 204a designates whether the operation as a printing pattern including a character string, a symbol, a logo, a pattern, an image such as a figure, or a processing machine is performed as a processing pattern type. In the example of FIG. 8, a character string, a logo / diagram, and a processing machine operation are selected from the processing type designation field 204a using radio buttons. The character data designation field 204d designates the type of character data. Here, any one of a character, a barcode, a two-dimensional code, and an RSS / composite code (CC) is selected from a pull-down menu. Further, according to the type of the selected character data, a more detailed type is selected in the type designation field 204q. For example, if you select a character, select a font type. If you select a barcode, select CODE39, ITF, 2 of 5, NW7, JAN, Code 28, etc. RSS-14, RSS-14 CC-A, RSS Stacked, RSS Stacked CC-A, RSS Limited, RSS Limited CC- when selecting 2D code type such as Micro QR Code, DataMatrix, RSS / Composite Code Specifies an RSS code type such as A or an RSS composite code type. In the character input field 204b, character information to be printed is input. The inputted character is printed as it is as a character string when a character is selected in the character data designation field 204d. On the other hand, when a symbol is designated, a processing pattern in which a character string input according to the type of the selected symbol is encoded is generated. The machining pattern may be generated by the machining data setting unit in addition to the machining condition setting unit 3C. In this example, the print calculation unit 40 performs this. The detailed setting column 204c switches the tabs and designates details of printing conditions such as a “printing data” tab 204e, a “size / position” tab 204f, and a “printing conditions” tab 204g.

編集表示欄202は印字データの編集状態のプレビューを表示する。図8の例ではワークWKの二次元図(ここでは横置き姿勢の円柱の平面図)が表示されており、ユーザはマウス操作や座標指定によりワークの表示倍率や姿勢、配置等を任意に変更できる。編集表示欄202は、表示されるサイズに応じて画面をスクロール表示できる。さらにワーク上に印字したい印字内容を設定し、ワーク上に貼り付けるように配置する。設定された印字内容は、印字ブロックとして、ブロック状に表示され、ブロック単位で移動や印字条件の変更が可能となる。なお各印字ブロックには、他の印字ブロックとの識別がし易いよう、ブロック番号が付与されている。また各印字ブロックには、ユーザが任意のコメントを付加することができ、それぞれの印字内容を判りやすく判別あるいは区別できるようにしている。   The edit display column 202 displays a preview of the print data editing state. In the example of FIG. 8, a two-dimensional view of the workpiece WK (here, a plan view of a horizontally placed cylinder) is displayed, and the user arbitrarily changes the display magnification, posture, arrangement, etc. of the workpiece by operating the mouse or specifying coordinates. it can. The edit display field 202 can scroll the screen according to the displayed size. Furthermore, the print contents to be printed on the work are set and arranged so as to be pasted on the work. The set print contents are displayed as a block as a print block, and can be moved or changed in print conditions in units of blocks. Each print block is given a block number so that it can be easily distinguished from other print blocks. In addition, the user can add an arbitrary comment to each print block so that each print content can be easily discriminated or distinguished.

さらに三次元印字データを立体的に表示させることもできる。図8の例では、編集表示欄202の右下に、三次元印字データを立体的に示す三次元ビューワ欄206を表示させている。この例では三次元ビューワ欄206にはワークWKである円柱の斜視図が示される。三次元ビューワ欄206で表示されるワークWKは、好ましくは姿勢や角度の変更、回転、倍率変更等の操作を可能とする。例えば三次元ビューワ欄206上からワークWKを直接ドラッグして回転、移動させる。この三次元ビューワ欄206は、表示をON/OFFさせることもできる。また、三次元ビューワを別画面で表示させる他、例えば編集表示欄の表示自体を三次元状に変化させるようにしてもよい。   Further, the three-dimensional print data can be displayed in three dimensions. In the example of FIG. 8, a three-dimensional viewer column 206 that displays three-dimensional print data in a three-dimensional manner is displayed at the lower right of the edit display column 202. In this example, the three-dimensional viewer column 206 shows a perspective view of a cylinder that is the work WK. The workpiece WK displayed in the three-dimensional viewer column 206 preferably enables operations such as changing the posture and angle, rotating, and changing the magnification. For example, the work WK is directly dragged from the three-dimensional viewer column 206 to rotate and move. The three-dimensional viewer column 206 can also turn on / off the display. In addition to displaying the 3D viewer on a separate screen, for example, the display of the edit display field itself may be changed to a 3D shape.

以上の印字条件設定プログラムで印字データが生成され設定作業が終了した後、得られた印字データを印字条件設定プログラムから、レーザマーキング装置のレーザ制御部10に転送する。転送の実行には、印字条件設定プログラムの画面左下に設けられた「転送・読出し」ボタン215を押下する。これによりレーザ制御部10内のメモリ部14に設定データが転送され、展開されて設定内容が切り替えられ、新たな印字条件が反映される。   After the print data is generated by the above print condition setting program and the setting operation is completed, the obtained print data is transferred from the print condition setting program to the laser control unit 10 of the laser marking device. To execute the transfer, a “transfer / read” button 215 provided at the lower left of the screen of the print condition setting program is pressed. As a result, the setting data is transferred to the memory unit 14 in the laser control unit 10 and expanded to switch the setting contents to reflect new printing conditions.

なおプログラムのユーザインターフェース画面の例において、各入力欄や各ボタン等の配置、形状、表示の仕方、サイズ、配色、模様等は適宜変更できることはいうまでもない。デザインの変更によってより見やすく、評価や判断が容易な表示としたり操作しやすいレイアウトとすることもできる。例えば詳細設定画面を別ウィンドウで表示させる、複数画面を同一表示画面内で表示する等、適宜変更できる。またこれらのプログラムのユーザインターフェース画面において、仮想的に設けられたボタン類や入力欄に対するON/OFF操作、数値や命令入力等の指定は、プログラムを組み込んだコンピュータに接続された印字操作手段31で行う。本明細書において「押下する」とは、ボタン類に物理的に触れて操作する他、印字操作手段31や後述する評価操作手段71等の操作手段によりクリックあるいは選択して擬似的に押下することを含む。操作手段等を構成する入出力デバイスはコンピュータと有線もしくは無線で接続され、あるいはコンピュータ等に固定されている。一般的な操作手段としては、例えばマウスやキーボード、スライドパッド、トラックポイント、タブレット、ジョイスティック、コンソール、ジョグダイヤル、デジタイザ、ライトペン、テンキー、タッチパッド、アキュポイント等の各種ポインティングデバイスが挙げられる。またこれらの入出力デバイスは、プログラムの操作のみに限られず、印字品質評価装置400等のハードウェアの操作にも利用できる。さらに、インターフェース画面を表示する評価表示手段72のディスプレイ自体にタッチスクリーンやタッチパネルを利用して、画面上をユーザが手で直接触れることにより入力や操作を可能としたり、または音声入力その他の既存の入力手段を利用、あるいはこれらを併用することもできる。
(テスト印字モード)
In the example of the user interface screen of the program, it goes without saying that the arrangement, shape, display method, size, color scheme, pattern, etc. of each input field and each button can be changed as appropriate. By changing the design, the layout can be made easier to display, easier to evaluate and judge, and easier to operate. For example, the detailed setting screen can be displayed as a separate window, or a plurality of screens can be displayed within the same display screen. On the user interface screens of these programs, ON / OFF operations for numerically provided buttons and input fields, designation of numerical values and command inputs, and the like are specified by a printing operation means 31 connected to a computer in which the program is incorporated. Do. In this specification, “pressing” means operating by touching buttons physically, clicking or selecting by operating means such as the printing operation means 31 and evaluation operation means 71 described later, and the like. including. Input / output devices constituting the operating means are connected to a computer by wire or wirelessly, or are fixed to the computer or the like. Examples of general operation means include various pointing devices such as a mouse, keyboard, slide pad, track point, tablet, joystick, console, jog dial, digitizer, light pen, numeric keypad, touch pad, and accu point. These input / output devices are not limited to program operations, but can also be used to operate hardware such as the print quality evaluation apparatus 400. Further, the display itself of the evaluation display means 72 for displaying the interface screen can be input or operated by directly touching the screen with a hand by using a touch screen or a touch panel. Input means can be used, or these can be used together.
(Test print mode)

図5のブロック図に示す印字条件設定装置200Aは、複数の印字モードを備えている。例えば図8の画面において、印字パターン入力欄204の下段に設けられた「テスト印字」ボタン208を押下すると、テスト印字モードを実行できる。テスト印字モードでは、二次元マトリックス状にテスト印字を行うことでブロック毎のレーザ光の走査速度(スキャンスピード)、レーザ出力(レーザパワー)の印字条件を設定する。すなわち、レーザ光の印字条件を構成する印字パラメータの内2つを変化させて複数の印字条件を生成し、各条件にてセル状に印字を行う。例えば、図78に示すように、セルを二次元マトリックス状に印字し、各セルの印字条件は横方向にはレーザ出力が徐々に低下するように変化させ、縦方向には走査速度が徐々に高速になるように変化させる。この結果、左上から右下に進むに従い、印字結果が薄くなるように印字される。ユーザはこのマトリックスから所望の印字結果の得られているセルを選択して、対応するレーザ光の走査速度及びレーザ出力を設定する。
(サンプル印字モード)
The printing condition setting device 200A shown in the block diagram of FIG. 5 has a plurality of printing modes. For example, when the “test print” button 208 provided in the lower part of the print pattern input field 204 is pressed on the screen of FIG. 8, the test print mode can be executed. In the test printing mode, the printing conditions of the laser beam scanning speed (scanning speed) and laser output (laser power) for each block are set by performing test printing in a two-dimensional matrix. That is, a plurality of printing conditions are generated by changing two of the printing parameters constituting the laser beam printing conditions, and printing is performed in a cell shape under each condition. For example, as shown in FIG. 78, the cells are printed in a two-dimensional matrix, and the printing condition of each cell is changed so that the laser output gradually decreases in the horizontal direction, and the scanning speed is gradually increased in the vertical direction. Change it to be faster. As a result, printing is performed so that the print result becomes lighter as the image proceeds from the upper left to the lower right. The user selects a cell from which a desired printing result is obtained from this matrix, and sets the scanning speed and laser output of the corresponding laser beam.
(Sample print mode)

一方で印字条件設定装置200Aは、ワークに対してより適切な印字条件を設定するため、異なる印字条件(サンプル印字条件)で試験的に複数のシンボル等の印字を行った上で、ユーザによる目視でなく、印字品質評価装置400で定性的に印字品質を評価する印字品質評価機能を実現するサンプル印字モードも備えている。サンプル印字モードにおいては、印字条件を構成する印字パラメータから、任意の2つの印字パラメータを可変パラメータとして選択し、残りの印字パラメータを固定パラメータとして、固定パラメータを固定値に維持しつつ、可変パラメータを変化させて複数のサンプルコードSCを印字する。ここでは、2つの可変パラメータの内、一方を縦軸、他方を横軸として、複数のサンプルコードSCをマトリックス状に並べたサンプル印字パターンSPを印字する。そしてサンプル印字パターンSP中から、適切な印字品質のサンプルコードSCを抽出することで、該サンプルコードSCを印字したサンプル印字条件を適切な印字条件として把握できる。また必要に応じて、可変パラメータの可変範囲や可変幅を変更したり、可変パラメータを他の印字パラメータに変更する等してサンプル印字を繰り返して、最終的に適切な印字パラメータの組を選択する。   On the other hand, in order to set a more appropriate printing condition for the workpiece, the printing condition setting apparatus 200A prints a plurality of symbols on a trial basis under different printing conditions (sample printing conditions) and then visually checks by the user. In addition, the print quality evaluation apparatus 400 also includes a sample print mode for realizing a print quality evaluation function for qualitatively evaluating the print quality. In the sample print mode, any two print parameters are selected as variable parameters from the print parameters that constitute the print conditions, the remaining print parameters are fixed parameters, the fixed parameters are maintained at fixed values, and the variable parameters are set. A plurality of sample codes SC are printed by changing them. Here, a sample print pattern SP in which a plurality of sample codes SC are arranged in a matrix with one of the two variable parameters being the vertical axis and the other being the horizontal axis is printed. Then, by extracting a sample code SC having an appropriate print quality from the sample print pattern SP, the sample print condition on which the sample code SC is printed can be grasped as an appropriate print condition. If necessary, repeat the sample printing by changing the variable range or width of the variable parameter or changing the variable parameter to another print parameter, and finally select the appropriate set of print parameters. .

以下、サンプル印字モードを実行し、印字パラメータであるレーザパワー、スキャンスピード、Qスイッチ周波数、スポット可変値、印字回数の5つのパラメータを適切な値に設定する手順を、図9のフローチャートに基づいて説明する。まず、図8の画面において、印字パターン入力欄204の下段に設けられた「サンプル印字」ボタン209を押下することで、サンプル印字モードが開始され、図10に示すテンプレート選択画面210に遷移すると共に、画面上段に設けられたステップ表示欄211に「テンプレートの選択」が表示される。
(ステップS901:テンプレートの選択)
The procedure for executing the sample print mode and setting the print parameters of laser power, scan speed, Q switch frequency, spot variable value, and number of prints to appropriate values will now be described with reference to the flowchart of FIG. explain. First, by pressing a “sample print” button 209 provided in the lower part of the print pattern input field 204 on the screen of FIG. 8, the sample print mode is started, and a transition is made to the template selection screen 210 shown in FIG. “Select template” is displayed in the step display field 211 provided in the upper part of the screen.
(Step S901: Template selection)

図10の画面では、印字対象物であるワークの素材を選択する(ステップS901)。ここでは予め典型的なワークの材質がテンプレートとして用意されており、ユーザは画面右側上段に設けられたテンプレートボタン群213から、所望のテンプレートボタンを選択する。テンプレートとしては、樹脂、金属に対して黒色印字を行う例、金属に対して白色印字を行う例、汎用条件等が用意されている。いずれかのテンプレートボタンが選択されると、選択されたテンプレートの設定に従った推奨的な印字条件が自動的に設定される。具体的には後述する図11に示すように、他のテンプレートボタンがグレーアウトすると共に、サンプル印字条件指定欄222の各項目がテンプレートで設定された値に自動的に入力される。また、テンプレートを新規に作成することもできる。この場合は、新規テンプレートボタンを押下すると、各設定項目に任意の値を設定できるようになる。
(ステップS902:第一サンプル印字条件の設定)
In the screen of FIG. 10, the material of the workpiece that is the printing target is selected (step S901). Here, typical work material is prepared in advance as a template, and the user selects a desired template button from a template button group 213 provided on the upper right side of the screen. As templates, examples of black printing on resin and metal, examples of white printing on metal, and general-purpose conditions are prepared. When one of the template buttons is selected, a recommended printing condition according to the setting of the selected template is automatically set. Specifically, as shown in FIG. 11 to be described later, the other template buttons are grayed out, and each item in the sample print condition designation field 222 is automatically input to the value set in the template. Also, a new template can be created. In this case, when a new template button is pressed, an arbitrary value can be set for each setting item.
(Step S902: First sample printing condition setting)

図10の画面からいずれかのテンプレートを選択すると、画面上段のステップ表示欄211のハイライトが「テンプレートの選択」から「ステップ1」に遷移すると共に、図11の第一サンプル印字条件設定画面220に移行する。ここでは、第一サンプル印字条件を設定する(ステップS902)。図11の画面では、画面右側でテンプレートボタン群213の下に印字データ指定欄221と、パラメータ設定手段32の一形態であるサンプル印字条件指定欄222が設けられる。サンプル印字条件指定欄222はさらに、可変パラメータ設定欄223と、固定パラメータ設定欄224と、レイアウト設定欄225を設けている。さらに画面の左側には、印字内容を表示する編集表示欄202が設けられている。ここでは、可変パラメータ設定欄223が第一サンプル印字条件を設定するための第一サンプル印字条件設定欄となる。   When any template is selected from the screen of FIG. 10, the highlight of the step display field 211 at the top of the screen changes from “template selection” to “step 1” and the first sample print condition setting screen 220 of FIG. Migrate to Here, the first sample printing condition is set (step S902). In the screen of FIG. 11, a print data designation column 221 and a sample print condition designation column 222 which is one form of the parameter setting unit 32 are provided below the template button group 213 on the right side of the screen. The sample printing condition designation field 222 further includes a variable parameter setting field 223, a fixed parameter setting field 224, and a layout setting field 225. Further, an edit display column 202 for displaying the contents of printing is provided on the left side of the screen. Here, the variable parameter setting field 223 is a first sample printing condition setting field for setting the first sample printing condition.

図11の例では金属黒色のテンプレートを選択している。すなわち、従前の図10のテンプレート選択画面210で金属黒色ボタンを押下すると図11の第一サンプル印字条件設定画面220に遷移し、金属製のワークに黒色の印字を行うのに適した第一サンプル印字条件が、自動的にサンプル印字条件指定欄222に入力される。一般に金属製のワークに黒色の印字を行うには、レーザパワーを高め、スキャンスピードを遅くする。またQスイッチ周波数も低くして、より高いエネルギーが与えられるように設定する。また金属白色ボタンを押下すると、金属製のワークに白色で印字を行うのに適した条件が設定される。
(可変パラメータ)
In the example of FIG. 11, a metal black template is selected. That is, when the metal black button is pressed on the template selection screen 210 in FIG. 10, the first sample print condition setting screen 220 in FIG. 11 is displayed, and the first sample suitable for printing black on a metal workpiece. The printing conditions are automatically input to the sample printing condition designation field 222. Generally, in order to perform black printing on a metal workpiece, the laser power is increased and the scan speed is decreased. In addition, the Q switch frequency is also lowered so that higher energy can be given. When the metal white button is pressed, conditions suitable for printing in white on a metal workpiece are set.
(Variable parameters)

サンプル印字モードでは、5つの印字パラメータの内、2つの印字パラメータを可変パラメータとして選択し、残りを固定パラメータとする。可変パラメータの選択は可変パラメータ設定欄223で、固定パラメータの選択は固定パラメータ設定欄224で、それぞれ行う。図11の例では、可変パラメータ設定欄223で選択された印字パラメータは、固定パラメータ設定欄224で変更できないように自動的に設定される。ここでは、Qスイッチ周波数とスポット可変が可変パラメータとして選択されており、この結果固定パラメータ設定欄224では数値欄がグレーアウトされ、赤字で最小値が表示される。
(可変パラメータ設定欄223)
In the sample print mode, two of the five print parameters are selected as variable parameters, and the rest are fixed parameters. The variable parameter is selected in the variable parameter setting field 223, and the fixed parameter is selected in the fixed parameter setting field 224. In the example of FIG. 11, the print parameter selected in the variable parameter setting field 223 is automatically set so that it cannot be changed in the fixed parameter setting field 224. Here, the Q switch frequency and the spot variable are selected as variable parameters. As a result, in the fixed parameter setting field 224, the numerical value field is grayed out and the minimum value is displayed in red.
(Variable parameter setting field 223)

可変パラメータ設定欄223では、サンプル印字パターンSP中の縦軸と横軸にあたる2つの可変パラメータ(縦軸可変パラメータと横軸可変パラメータ)をそれぞれ選択する。図11の例では、縦軸可変パラメータとしてQスイッチ周波数、横軸可変パラメータとしてスポット可変を選択している。また各可変パラメータを可変させる範囲を規定する可変値の最小値、最大値と、変化させる間隔についても規定する。
(スライダ223a、223b)
In the variable parameter setting field 223, two variable parameters (vertical axis variable parameter and horizontal axis variable parameter) corresponding to the vertical axis and the horizontal axis in the sample print pattern SP are respectively selected. In the example of FIG. 11, Q switch frequency is selected as the vertical axis variable parameter, and spot variable is selected as the horizontal axis variable parameter. It also defines the minimum and maximum variable values that define the range in which each variable parameter can be varied, and the interval at which it is changed.
(Sliders 223a and 223b)

各項目は数値で入力する他、スライダ223a、223bも用意されており、スライダ223a、223bを操作することで表示されている数値を連続的に可変できる。スライダ223a、223bは、最小値を示す最小値スライダと、最大値を示す最大値スライダで構成される。また最小値スライダと最大値スライダの間には範囲バーが設けられており、範囲バーをマウス等でドラッグすると、範囲を一定に維持したまま、最大値と最小値を連動させながら変化させることができる。また最小値スライダと最大値スライダをそれぞれ単独でドラッグすると、最小値、最大値のみが変化させ、またこれに応じて間隔も自動的に変化する。   In addition to inputting numerical values for each item, sliders 223a and 223b are also prepared, and the displayed numerical values can be continuously changed by operating the sliders 223a and 223b. The sliders 223a and 223b include a minimum value slider indicating a minimum value and a maximum value slider indicating a maximum value. In addition, a range bar is provided between the minimum value slider and the maximum value slider, and when the range bar is dragged with a mouse or the like, the maximum value and the minimum value can be changed while being linked while maintaining the range constant. it can. When the minimum value slider and the maximum value slider are dragged independently, only the minimum value and the maximum value are changed, and the interval is automatically changed according to this.

さらにスライダは、各可変パラメータで設定可能な範囲において、現在設定されている最大値と最小値がどの位置にあるかを視覚的に表示させる役目も果たし、ユーザはスライダを見て現在の範囲がどの位置にあり、どのように変化できるかをイメージ的に把握できる。さらに図11の例では、縦軸を調整する縦軸スライダ223a、横軸を調整する横軸スライダ223bを、各々縦姿勢、横姿勢に配置しており、これによってユーザは縦横のいずれの可変パラメータの調整であるかを視覚的に把握しやすくなる。   In addition, the slider also serves to visually display the position where the currently set maximum and minimum values are within the range that can be set with each variable parameter. It is possible to grasp the position and how it can change. Further, in the example of FIG. 11, the vertical axis slider 223a for adjusting the vertical axis and the horizontal axis slider 223b for adjusting the horizontal axis are arranged in a vertical posture and a horizontal posture, respectively. It will be easier to grasp visually whether this is an adjustment.

図11の例では、Qスイッチ周波数については最小値を10kHz、最大値を100kHz、間隔を10kHzに設定しており、スポット可変については最小値−100(単位無し)と最大値0、及び間隔10にそれぞれ設定している。ここで設定された可変パラメータの条件に従って、編集表示欄202にはサンプルコードSCがマトリックス状に並べられたサンプル印字パターンSPが表示され、実際にサンプル印字されるイメージが確認できる。図11の条件では、縦軸(列方向)に10個、横軸(行方向)に11個、すなわち10行×11列のマトリックス状に、110個のシンボルが表示される。行数や列数は、可変パラメータで設定される最小値〜最大値の範囲や、間隔に応じて自動的に決定される。また、可変パラメータ設定欄223での設定値が変化されると、編集表示欄202でイメージ表示されるサンプル印字パターンSPもリアルタイムで更新される。
(固定パラメータ設定欄224)
In the example of FIG. 11, the minimum value for the Q switch frequency is set to 10 kHz, the maximum value is set to 100 kHz, and the interval is set to 10 kHz. Respectively. In accordance with the variable parameter conditions set here, a sample print pattern SP in which sample codes SC are arranged in a matrix is displayed in the edit display column 202, and an image of actual sample printing can be confirmed. In the condition of FIG. 11, 110 symbols are displayed in a matrix of 10 on the vertical axis (column direction) and 11 on the horizontal axis (row direction), that is, 10 rows × 11 columns. The number of rows and the number of columns are automatically determined according to the range from the minimum value to the maximum value set by the variable parameter and the interval. When the set value in the variable parameter setting field 223 is changed, the sample print pattern SP displayed as an image in the edit display field 202 is also updated in real time.
(Fixed parameter setting field 224)

また固定パラメータ設定欄224では、各印字パラメータの値を設定する。図11の例では、可変パラメータに設定されて変更できなくなった固定パラメータ(Qスイッチ周波数とスポット可変)を除く、レーザパワーとスキャンスピード、印字回数を調整する。なお、各固定パラメータの初期値は、選択されたテンプレートに応じて、適切と思われる値又は値域が予め指定されており、ユーザはこの値を必要に応じて調整できる。また、固定パラメータ値は、ワーク種類と印字発色に基づいてユーザが決定するが、テンプレートに応じて一義的に決定するのではなく、例えばユーザインターフェース上で好ましい値の範囲(最適ゾーン)の誘導を行い、最終的に固定パラメータ値をユーザに決定させるようにしてもよい。   In the fixed parameter setting field 224, the value of each print parameter is set. In the example of FIG. 11, the laser power, the scan speed, and the number of times of printing are adjusted except for fixed parameters (Q switch frequency and spot variable) that are set as variable parameters and cannot be changed. Note that the initial value of each fixed parameter is designated in advance as a value or a range that seems to be appropriate according to the selected template, and the user can adjust this value as necessary. In addition, the fixed parameter value is determined by the user based on the work type and print coloration. However, the fixed parameter value is not uniquely determined according to the template. For example, a preferable value range (optimum zone) is guided on the user interface. This may be done, and finally the fixed parameter value may be determined by the user.

さらにレイアウト設定欄225では、サンプル印字パターンSPの印字位置を指定する。ここではX座標とY座標、各サンプルコードSC間の間隔を数値で指定する。またサンプル印字パターンSPのブロックサイズも表示されており、数値を変更するとブロックサイズもこれに応じて更新される。
(印字データ指定欄221)
Further, in the layout setting field 225, the print position of the sample print pattern SP is designated. Here, the X coordinate and Y coordinate, and the interval between each sample code SC are designated by numerical values. The block size of the sample print pattern SP is also displayed, and when the numerical value is changed, the block size is updated accordingly.
(Print data designation field 221)

また印字データ指定欄221から、サンプル印字される文字データの種別を指定する。ここでは文字や2次元コード、ドット2次元コード、バーコード、あるいは特定パターン等をプルダウンメニューから選択する。ここで文字を選択すれば、ユーザの目視による印字品質の評価が可能となり、2次元コードや特定パターンを選択すると、印字品質を印字品質評価装置400で評価することが可能となる。図11の例では印字データ指定欄221で文字を選択しており、編集表示欄202にはシンボルとして文字「A」がマトリックス状に並べられたサンプル印字パターンSPが表示されている。またサンプル印字パターンは、マトリックスを構成する行列の番号を示す行番号(図11の例では1〜10)と列番号(図11の例ではA〜K)も縦軸と横軸に併せて表示される。   Also, the type of character data to be sample printed is designated from the print data designation column 221. Here, a character, a two-dimensional code, a dot two-dimensional code, a barcode, or a specific pattern is selected from a pull-down menu. If a character is selected here, the print quality can be evaluated visually by the user, and if a two-dimensional code or a specific pattern is selected, the print quality can be evaluated by the print quality evaluation apparatus 400. In the example of FIG. 11, a character is selected in the print data designation field 221, and a sample print pattern SP in which the characters “A” are arranged in a matrix as a symbol is displayed in the edit display field 202. In the sample print pattern, row numbers (1 to 10 in the example of FIG. 11) and column numbers (A to K in the example of FIG. 11) indicating the numbers of the matrices constituting the matrix are also displayed along the vertical axis and the horizontal axis. Is done.

なお文字を選択した場合でも、後述するように特定パターンと組み合わせることで、印字品質評価機能を利用可能となる。また完全な2次元コードを構成しないシンボルであっても同様に印字品質評価機能を利用できる。   Even when a character is selected, the print quality evaluation function can be used by combining with a specific pattern as will be described later. In addition, the print quality evaluation function can be used even for symbols that do not constitute a complete two-dimensional code.

印字データ指定欄221で2次元コードを選択すると、図12に示す画面となり(編集表示欄202に複数の2次元コードが表示され)、2次元コードの種別と、セルサイズ、印字線幅等を指定できる。2次元コードの種別は、コード種別指定欄221aで指定される。ここでは、QRコードやデータマトリックス等が選択できる。セルサイズは、セルサイズ指定欄221bから、2次元コードを構成する最小単位であるセルのサイズを指定する。また印字線幅は、印字線幅指定欄221cから、印字される線同士の間隔を指定する。   When a two-dimensional code is selected in the print data designation field 221, the screen shown in FIG. 12 is displayed (a plurality of two-dimensional codes are displayed in the edit display field 202), and the type of two-dimensional code, cell size, print line width, etc. Can be specified. The type of the two-dimensional code is designated in the code type designation field 221a. Here, a QR code, a data matrix, or the like can be selected. The cell size is designated from the cell size designation column 221b as the size of the cell which is the minimum unit constituting the two-dimensional code. The print line width designates the interval between printed lines from the print line width designation column 221c.

なお、レーザ光による印字方法として、ここではレーザ光を走査して線を描くようにして塗り潰す方式を示しているが、レーザ光を点状に照射して、複数の点でサンプルコードを描くドット状の印字方法を採用することもできる。図13は、このようなドット状の印字方法を採用した場合の設定画面の例である。ここでは、印字方法指定欄221eにおいて、印字方法として塗り潰しでなくドット状を選択しており、この際に一セルを描くために必要なドット数をドット数指定欄221dから指定できる(例えば3×3)。また図13の画面から「詳細設定」ボタン226を押下すると、図14の詳細設定画面230Bとなり、二次元コードタブからドット数の他、ドットのパターンを一方向や双方向等に指定することもできる。
(条件レポート選択欄227)
Note that, as a printing method using laser light, here, a method is shown in which a laser beam is scanned and painted so as to draw a line. However, sample code is drawn at a plurality of points by irradiating the laser beam in a dot shape. A dot-like printing method can also be adopted. FIG. 13 shows an example of a setting screen when such a dot-like printing method is adopted. Here, in the printing method designation field 221e, a dot shape is selected as a printing method instead of being filled, and the number of dots required to draw one cell at this time can be designated from the dot number designation field 221d (for example, 3 × 3). When the “detailed setting” button 226 is pressed from the screen of FIG. 13, the detailed setting screen 230B of FIG. 14 is displayed, and in addition to the number of dots, the dot pattern can be specified in one direction or bidirectional from the two-dimensional code tab. it can.
(Condition report selection field 227)

また条件レポート生成手段により、サンプル印字条件を印字するかどうかを指定できる。図11、図12の例では、条件レポート生成手段として印字データ指定欄221に条件レポート選択欄227が設けられており、ここにチェックを入れることで、オペレータが視認(判読)可能な英数文字から構成され、指定されたサンプル印字条件も印字されるように選択され、編集表示欄202に、サンプル印字条件を示すサンプル印字条件文字列SLが表示される。図12の例では、サンプル印字条件文字列SLとして、後述する印字情報コード(リンクデータLT)を構成するQRコードが左側に表示される。またサンプル印字条件の内、可変パラメータが上段に、固定パラメータが下段に表示される。ここでは可変パラメータであるQスイッチ周波数「Frequency」が、サンプル印字パターンSPの縦軸に沿って変化されていることを示す「↓」を左に、最小値10kHzと最大値100kHz、及び変化の間隔10KHzが「10−100(10)」として右側に、それぞれ表示されている。同様にもう一方の可変パラメータであるスポット可変「Spot」が、サンプル印字パターンSPの横軸に沿って変化されていることを示す「→」と、最小値−100(単位無し)と最大値0、及び変化の間隔10が「−100−0(10)」として、それぞれ表示されている。   Further, whether or not to print the sample printing condition can be specified by the condition report generating means. In the example of FIGS. 11 and 12, a condition report selection field 227 is provided in the print data designation field 221 as a condition report generation means, and an alphanumeric character that can be visually recognized (read) by checking this box. The selected sample print condition is selected to be printed, and a sample print condition character string SL indicating the sample print condition is displayed in the edit display field 202. In the example of FIG. 12, a QR code constituting a print information code (link data LT) described later is displayed on the left side as the sample print condition character string SL. Of the sample printing conditions, variable parameters are displayed in the upper row and fixed parameters are displayed in the lower row. Here, the variable parameter Q switch frequency “Frequency” is changed along the vertical axis of the sample print pattern SP “↓” on the left, the minimum value 10 kHz, the maximum value 100 kHz, and the change interval. 10 KHz is displayed as “10-100 (10)” on the right side. Similarly, the variable variable “Spot”, which is another variable parameter, is changed from “→” indicating that the sample print pattern SP is changed along the horizontal axis, the minimum value −100 (no unit), and the maximum value 0. , And the change interval 10 are respectively displayed as “−100-0 (10)”.

ここでサンプル印字される各サンプルコードに、2次元コード等のシンボルを用いることで、サンプル印字条件と関連付けられた識別情報をエンコードできる。図12の例では、第一サンプル印字パターンSP1中の各サンプルコードSCは、その2次元コードが印字された第一サンプル印字パターンSP1における印字位置をエンコードしている。例えば1行A列に位置するサンプルコードには「A1」が、10行K列に位置するサンプルコードには「K10」がエンコードされている。各印字位置におけるサンプル印字条件は、サンプル印字条件指定欄222で設定したサンプル印字条件と対応しているので、印字位置からサンプル印字条件が特定できる。例えば「A1」の印字位置では可変パラメータが最小となるため、Qスイッチ周波数10kHz、スポット可変−100となり、「K10」では可変パラメータが最大となるため、Qスイッチ周波数100kHz、スポット可変0となる。また固定パラメータについては固定値であるため、いずれのサンプルコードの印字においても変化せず、この例ではレーザパワー80%、スキャンスピード100mm/s、印字回数1回である。このように、所望のサンプルコードを選択して光学情報読取装置300や印字品質評価装置400で復号化(デコード)することで、そのサンプルコードを印字した印字条件を特定することが可能となる。この方法であれば、サンプルコードにエンコードされる文字列が印字位置を示す行と列で足りるため、例えば5文字しかエンコードできないマイクロQRコードのような小サイズのコードでもサンプルコードとして利用できる利点が得られる。   The identification information associated with the sample printing condition can be encoded by using a symbol such as a two-dimensional code for each sample code to be sample printed. In the example of FIG. 12, each sample code SC in the first sample print pattern SP1 encodes the print position in the first sample print pattern SP1 on which the two-dimensional code is printed. For example, “A1” is encoded in the sample code located in the 1st row and the Ath column, and “K10” is encoded in the sample code located in the 10th row and the Kth column. Since the sample print conditions at each print position correspond to the sample print conditions set in the sample print condition designation field 222, the sample print conditions can be specified from the print position. For example, since the variable parameter is minimum at the printing position of “A1”, the Q switch frequency is 10 kHz and the spot variable is −100, and at “K10”, the variable parameter is maximum, and thus the Q switch frequency is 100 kHz and the spot variable is 0. Since the fixed parameter is a fixed value, it does not change in printing of any sample code. In this example, the laser power is 80%, the scan speed is 100 mm / s, and the number of times of printing is one. In this way, by selecting a desired sample code and decoding it with the optical information reading device 300 or the print quality evaluation device 400, it is possible to specify the printing conditions for printing the sample code. With this method, the character string encoded in the sample code suffices with a row and a column indicating the print position. For example, even a small-size code such as a micro QR code that can encode only 5 characters can be used as the sample code. can get.

また、コードのサイズが許容される場合は、サンプル印字パターンSPを構成する各サンプルコードSCに、サンプル印字条件を直接エンコードすることもできる。この場合は、サンプル印字パターン中から、所望のサンプルコード(2次元コード)を光学情報読取装置等で読み取り復号化すると、この2次元コードが印字されたサンプル印字条件が直接取得でき、対応テーブルや対応表、あるいは後述するリンクデータを参照する手間を省くことが可能となる。
(印字情報コード)
If the code size is allowed, the sample print condition can be directly encoded in each sample code SC constituting the sample print pattern SP. In this case, when a desired sample code (two-dimensional code) is read and decoded from the sample print pattern by an optical information reader or the like, the sample print condition on which the two-dimensional code is printed can be directly acquired, It is possible to save the trouble of referring to the correspondence table or link data described later.
(Printing information code)

さらに、サンプル印字条件文字列SLで印字される内容には、サンプル印字条件の詳細を文字列のみならず、2次元コード等のシンボルにエンコードした印字情報コード(リンクデータLT)を含めることもできる。これによって、リンクデータLTを光学情報読取装置300等で読み取ることで、どの印字パラメータを可変としてサンプル印字を行ったものかを把握できるようになる。図12の例では、第一サンプル印字条件を示す第一サンプル印字条件文字列SL1にリンクデータLTとしてQRコードを含めており、このQRコードを読み取ると、第一サンプル印字条件文字列SL1に含まれるサンプル印字条件を示す文字列と同等の内容として「FR 10 100 10 Y:SV −100 0 10 X:LP 80.0:SS 100:RE 1」が復号化される。ここで「FR」はQスイッチ周波数、「10 100 10 Y:」は10〜100kHzの範囲を10kHzずつY軸上に変化させたことを意味している。同様に「SV −100 0 10 X:」はスポット可変を10〜100の範囲で10ずつ、X軸上に変化させたことを意味している。また「LP 80.0:SS 100:RE 1」はレーザパワー80%、スキャンスピード100mm/s、印字回数1回を意味している。このようなリンクデータLTの生成は、後述する印字情報コード設定手段38で行われる。なお、本実施形態では、第一サンプル印字条件文字列SL1にリンクデータLTとしてQRコードを含める構成を採用しているが、第一サンプル印字条件文字列SL1のみを印字してもよいし、QRコードのみを印字してもよい。これにより、印字量を減らすことができる。
(詳細設定ボタン226B)
Further, the contents printed by the sample print condition character string SL can include not only the character string but also a print information code (link data LT) encoded in a symbol such as a two-dimensional code. . As a result, by reading the link data LT with the optical information reader 300 or the like, it becomes possible to grasp which print parameter is variable and sample printing is performed. In the example of FIG. 12, the QR code is included as the link data LT in the first sample print condition character string SL1 indicating the first sample print condition, and when this QR code is read, it is included in the first sample print condition character string SL1. "FR 10 100 10 Y: SV-100 0 10 X: LP 80.0: SS 100: RE 1" is decoded as the content equivalent to the character string indicating the sample print condition. Here, “FR” means the Q switch frequency, and “10 100 10 Y:” means that the range of 10 to 100 kHz is changed by 10 kHz on the Y axis. Similarly, “SV-100 0 10 X:” means that the spot variable is changed by 10 in the range of 10 to 100 on the X axis. “LP 80.0: SS 100: RE 1” means that the laser power is 80%, the scan speed is 100 mm / s, and the number of times of printing is one. Such generation of link data LT is performed by a print information code setting means 38 to be described later. In this embodiment, the first sample printing condition character string SL1 includes a QR code as the link data LT. However, only the first sample printing condition character string SL1 may be printed, or the QR code may be printed. Only the code may be printed. Thereby, the printing amount can be reduced.
(Detail setting button 226B)

さらに図12の画面で下段に設けられた「詳細設定」ボタン226を押下すると、図15の詳細設定画面230Aが表示される。図15の画面では、「印字情報」タブ231Aと「2次元コード」タブ231Bを備えている。「印字情報」タブ231Aを選択すると、サンプル印字の詳細を指定できる。例えば、第一サンプル印字パターンSP1の縦軸と横軸に行列番号を印字するかどうかを指定する座標軸表示手段232や、条件レポートの印字の有無を指定する条件レポート表示手段233、及び印字する場合には条件レポート(第一サンプル印字条件文字列SL1)の文字高さの指定を行う文字高さ指定欄234を設けている。またリンクデータLTの設定を行う印字情報コード設定手段38も構成している。具体的には、リンクデータ印字チェックボックス38aを備えており、このチェックボックスをONすることでリンクデータLTが印字される。さらに印字する際の、リンクデータLTの二次元コードのセルサイズもセルサイズ指定欄38bから指摘できる。加えて、これらリンクデータLTや条件レポート、あるいは後述する特定パターンの印字条件も、特定印字条件指定手段235から指定できる。   Further, when a “detailed setting” button 226 provided in the lower part of the screen of FIG. 12 is pressed, a detailed setting screen 230A of FIG. 15 is displayed. The screen of FIG. 15 includes a “printing information” tab 231A and a “two-dimensional code” tab 231B. When the “printing information” tab 231A is selected, details of sample printing can be designated. For example, the coordinate axis display means 232 for specifying whether or not the matrix number is printed on the vertical axis and the horizontal axis of the first sample print pattern SP1, the condition report display means 233 for specifying whether or not the condition report is printed, and the case of printing Is provided with a character height designation field 234 for designating the character height of the condition report (first sample printing condition character string SL1). Further, a print information code setting means 38 for setting the link data LT is also configured. Specifically, a link data printing check box 38a is provided, and the link data LT is printed by turning on this check box. Further, the cell size of the two-dimensional code of the link data LT at the time of printing can be pointed out from the cell size designation field 38b. In addition, the link data LT, the condition report, or the printing conditions of a specific pattern to be described later can also be specified from the specific printing condition specifying means 235.

また「2次元コード」タブ231Bを選択すると、図16に示すように印字される2次元コードの詳細を設定できる。ここでは二次元コードの種別を、種別選択欄236からQRコードやデータマトリックス等として選択できる。図16の例では、QRコードを選択した例を示している。ここでは選択された2次元コードのセルサイズやセル微調整値、印字線幅を、詳細設定欄237から指定できる。さらに詳細設定欄237では、パターンやファインダ、セル、セル印字順序等も指定できる。なおセル微調整とは、2次元コードのスペース部の面積が適正でなく読み取り率が悪い場合に利用され、設定値を大きくするとセルの塗り潰し間隔を変化させることなく面積を小さく調整でき、逆に設定値を小さくすると面積を大きくできる。一方、種別選択欄236で2次元コードの種別にデータマトリックスを指定すると、図17に示す画面となって、同様に詳細設定欄237からデータマトリックスの詳細を指定できる。
(下地)
When the “two-dimensional code” tab 231B is selected, the details of the two-dimensional code to be printed can be set as shown in FIG. Here, the type of the two-dimensional code can be selected from the type selection column 236 as a QR code, a data matrix, or the like. In the example of FIG. 16, an example in which a QR code is selected is shown. Here, the cell size, cell fine adjustment value, and print line width of the selected two-dimensional code can be designated from the detailed setting column 237. Further, in the detailed setting column 237, a pattern, a finder, a cell, a cell printing order, and the like can be designated. The cell fine adjustment is used when the area of the space part of the two-dimensional code is not appropriate and the reading rate is poor. When the set value is increased, the area can be adjusted to be small without changing the cell filling interval. The area can be increased by decreasing the set value. On the other hand, when a data matrix is specified as the type of the two-dimensional code in the type selection field 236, the screen shown in FIG.
(Base)

さらに下地の印字も可能である。例えば、鋳物等表面がざらついたワーク上にシンボルをマーキングする際、一旦下地加工した後にマーキングすることで、より高品質な印字が行える場合がある。このような場合に、下地加工の印字条件(下地加工条件)を、下地加工条件設定欄238から、シンボルの印字条件とは異なる条件に設定可能とすることで、より好ましい下地加工が実現できるようになる。図16等の画面では、このような下地加工に適した下地加工条件を設定できる。   Furthermore, it is possible to print the background. For example, when marking a symbol on a workpiece having a rough surface such as a casting, there may be a case where higher quality printing can be performed by marking after the base is once processed. In such a case, by making it possible to set the printing conditions (background processing conditions) for the base processing to conditions different from the symbol printing conditions from the base processing condition setting column 238, a more preferable base processing can be realized. become. In the screen of FIG. 16 and the like, it is possible to set the ground processing conditions suitable for such base processing.

さらにまた、印字線幅の微調整も可能である。図12の画面から印字データ指定欄221で2次元コードを選択し、印字線幅詳細ボタン228を押下すると、図18の印字線幅詳細設定画面240となり、この画面から印字線幅を指定できる。この画面でワークの素材に応じて印字線幅を調整することで、綺麗な発色が得られる。例えば金属黒色の場合は超高密度、金属白色では高密度、樹脂では中密度から低密度といったように、素材に応じて適切な線の密度を選択できる。
(ステップS903:第一サンプル印字の実行)
Furthermore, fine adjustment of the print line width is also possible. When a two-dimensional code is selected in the print data designation field 221 from the screen of FIG. 12 and the print line width detail button 228 is pressed, the print line width detail setting screen 240 shown in FIG. 18 is displayed, and the print line width can be designated from this screen. By adjusting the print line width according to the workpiece material on this screen, a beautiful color can be obtained. For example, an appropriate line density can be selected according to the material, such as ultra-high density for metal black, high density for metal white, and medium to low density for resin.
(Step S903: Execution of first sample printing)

以上のようにして第一サンプル印字条件が入力されると、一回目のサンプル印字(第一サンプル印字)を実行する(図9のステップS903)。図12の画面では、編集表示欄202の下段に印字モード設定欄242が設けられている。印字モード設定欄242には、印字モードを選択する印字モード選択手段243がラジオボタンとして設けられている。またその右側には、ラジオボタンで選択された印字モードを実行するようレーザマーキング装置1000に対して指示を送出する「トリガ」ボタン244が設けられている。印字モード選択手段243で「印字レーザ」を選択し、「トリガ」ボタン244を押下すると、レーザマーキング装置1000に対し印字を命令するトリガ信号が送出されてサンプル印字が開始され、指定された第一サンプル印字条件に従い、ワーク上に第一サンプル印字パターンSP1が印字される。   When the first sample printing conditions are input as described above, the first sample printing (first sample printing) is executed (step S903 in FIG. 9). In the screen of FIG. 12, a print mode setting field 242 is provided in the lower part of the edit display field 202. In the print mode setting field 242, print mode selection means 243 for selecting a print mode is provided as a radio button. On the right side, a “trigger” button 244 for sending an instruction to the laser marking apparatus 1000 to execute the print mode selected by the radio button is provided. When “printing laser” is selected by the printing mode selection means 243 and the “trigger” button 244 is pressed, a trigger signal instructing printing is sent to the laser marking device 1000 to start sample printing, and the designated first The first sample print pattern SP1 is printed on the work according to the sample print conditions.

なお、サンプル印字の実行に先立ち、予めワークをレーザマーキング装置1000の出力位置に配置しておくべきことはいうまでもない。この際、印字位置すなわちレーザ光の照射位置を確認しやすいよう、必要に応じてガイドレーザ光を走査することもできる。具体的にはワークをセットした状態で、図12の画面から印字モード設定欄242でガイドレーザを選択して「トリガ」ボタン244を押下すると、図3、図4に示すガイド用光源29Aからガイドレーザ光が出射され、実際にワーク上に走査されて、ガイドレーザ光の残像効果によって印字位置が確認される。なお印字モード設定欄242は、ガイドレーザ光の走査モードを選択するガイドレーザ走査モード選択手段を兼ねている。ここでは、ガイドレーザ光を1回のみ走査する「1回」、連続して走査する「連続」、サンプル印字パターンSP及び条件レポートが印字される範囲を示す「範囲」のいずれかを選択できる。   Needless to say, the workpiece should be arranged in advance at the output position of the laser marking device 1000 prior to the execution of the sample printing. At this time, the guide laser beam can be scanned as necessary so that the printing position, that is, the irradiation position of the laser beam can be easily confirmed. Specifically, when a workpiece is set and a guide laser is selected in the print mode setting field 242 from the screen of FIG. 12 and the “trigger” button 244 is pressed, the guide light source 29A shown in FIGS. 3 and 4 guides. Laser light is emitted, actually scanned on the workpiece, and the print position is confirmed by the afterimage effect of the guide laser light. The print mode setting field 242 also serves as guide laser scanning mode selection means for selecting a scanning mode of the guide laser light. Here, one of “one time” of scanning the guide laser beam only once, “continuous” of scanning continuously, and “range” indicating the range where the sample print pattern SP and the condition report are printed can be selected.

このようにして、必要に応じてワークの位置決めを行った後、上述した通り印字モード設定欄242で「印字レーザ」を選択して「トリガ」ボタン244を押下し、第一サンプル印字を実行する。この結果、設定された第一サンプル印字条件に従い、Qスイッチ周波数やスポット可変等の可変パラメータ値が異なるサンプル加工条件毎に、サンプルコードがマトリックス状に印字されていく。
(ステップS904:第一サンプル印字の評価)
In this way, after positioning the work as necessary, as described above, “printing laser” is selected in the printing mode setting field 242 and the “trigger” button 244 is pressed to execute the first sample printing. . As a result, according to the set first sample printing conditions, sample codes are printed in a matrix for each sample processing condition with different variable parameter values such as Q switch frequency and variable spot.
(Step S904: Evaluation of First Sample Printing)

次に、一回目のサンプル印字がされたワークに対して、印字品質評価装置400を用いて印字品質の評価を行う(図9のステップS904)。具体的には、ワークに印字されたサンプル印字パターンSPを撮像し、印字品質評価手段65で読取安定度を示すスコアを演算し、スコアの高い、すなわち印字品質の高いサンプルコードを決定する。この詳細は後述する印字品質評価手順の説明にて詳述する。
(ステップS905:スコアの高いサンプルコードの選択)
Next, the print quality evaluation is performed on the work on which the first sample printing has been performed by using the print quality evaluation apparatus 400 (step S904 in FIG. 9). Specifically, the sample print pattern SP printed on the work is imaged, a score indicating the reading stability is calculated by the print quality evaluation means 65, and a sample code having a high score, that is, a high print quality is determined. This will be described in detail in the description of the print quality evaluation procedure described later.
(Step S905: Selection of a sample code with a high score)

このようにして適切なサンプルコードが決定されると、このサンプルコードの第一サンプル印字条件を求める(図9のステップS905)。ここでは、このサンプルコードの印字位置で第一サンプル印字条件が特定できるよう、第一サンプル印字条件と印字位置の対応関係が予め決定されている。すなわち、各サンプルコードは2つの可変パラメータを変化させたマトリックス状に印字されているため、各可変パラメータの最小値、最大値、間隔から、印字位置における可変パラメータの値は一意に決定できる。このため、印字位置から対応関係に基づいて印字条件を特定する条件選択手段に印字位置を指定することで、第一サンプル印字条件を把握することができる。図12の例では、編集表示欄202の下段で印字モード設定欄242の右に設けられた条件選択欄245において、サンプルコードの印字位置を指定する。ここでは、編集表示欄202に示される第一サンプル印字パターンSP1の縦横に行番号、列番号が表示されているとおり、印字位置を行と列で指定できる。よって条件選択欄245においてプルダウンメニューから、印字位置を「A1」〜「K10」のいずれかとして選択できるようにしている。ここでは仮に印字位置「I9」のサンプルコードのスコアが高かったものとし、条件選択欄245において「I9」を指定する。ここで「I9」の印字位置は、可変パラメータのQスイッチ周波数が90kHz、スポット可変が−20に相当する。よってこれらの値が、自動的に可変パラメータ指定欄に入力される。この状態で「次ステップへ」ボタン246を押下すると、画面上段のステップ表示欄211のハイライトが「ステップ1」から「ステップ2」に変化すると共に、図19の第二サンプル印字条件設定画面220Bに移行する。
(ステップS906:第二サンプル印字条件の設定)
When an appropriate sample code is determined in this way, a first sample printing condition for this sample code is obtained (step S905 in FIG. 9). Here, the correspondence between the first sample printing condition and the printing position is determined in advance so that the first sample printing condition can be specified by the printing position of the sample code. That is, since each sample code is printed in a matrix form in which two variable parameters are changed, the value of the variable parameter at the print position can be uniquely determined from the minimum value, maximum value, and interval of each variable parameter. For this reason, the first sample printing condition can be grasped by designating the printing position to the condition selecting means for specifying the printing condition from the printing position based on the correspondence. In the example of FIG. 12, the print position of the sample code is designated in the condition selection field 245 provided on the right side of the print mode setting field 242 at the lower stage of the edit display field 202. Here, the print position can be designated by row and column as the row number and column number are displayed in the vertical and horizontal directions of the first sample print pattern SP1 shown in the edit display column 202. Therefore, the print position can be selected as one of “A1” to “K10” from the pull-down menu in the condition selection field 245. Here, it is assumed that the score of the sample code at the printing position “I9” is high, and “I9” is designated in the condition selection field 245. Here, the printing position of “I9” corresponds to the variable parameter Q switch frequency of 90 kHz and the spot variable of −20. Therefore, these values are automatically entered in the variable parameter designation field. When the “next step” button 246 is pressed in this state, the highlight in the step display field 211 at the top of the screen changes from “step 1” to “step 2” and the second sample print condition setting screen 220B in FIG. Migrate to
(Step S906: Second sample printing condition setting)

図19の第二サンプル印字条件設定画面220Bでは、第二サンプル印字条件の設定を行う(図9のステップS906)。ここでは、さらに二回目のサンプル印字を行うための第二サンプル印字条件を設定する。上述した第一サンプル印字の結果、可変パラメータのQスイッチ周波数とスポット可変の適切な数値が既に判明している。よってこれらの印字パラメータは、第二サンプル印字に際しては固定パラメータとなる。一方で、これらに代わって、第二サンプル印字条件では新たな可変パラメータの組として、印字回数(第一可変パラメータ)とスキャンスピード(第二可変パラメータ)が自動的に選択される。このように、条件選択欄245の選択に従い、可変パラメータが固定パラメータに変化する一方で、別の固定パラメータが可変パラメータに変化する。   On the second sample printing condition setting screen 220B in FIG. 19, the second sample printing conditions are set (step S906 in FIG. 9). Here, the second sample printing condition for performing the second sample printing is set. As a result of the above-described first sample printing, appropriate values for the variable parameter Q-switch frequency and variable spot have already been found. Therefore, these printing parameters are fixed parameters in the second sample printing. On the other hand, instead of these, under the second sample printing condition, the number of times of printing (first variable parameter) and the scan speed (second variable parameter) are automatically selected as a set of new variable parameters. Thus, according to the selection in the condition selection field 245, the variable parameter changes to a fixed parameter, while another fixed parameter changes to a variable parameter.

以下、第一サンプル印字条件の設定と同様にして、各可変パラメータの最小値、最大値、間隔や、固定パラメータの値を調整できる。図19の例では、縦軸の印字回数として、最小値1回、最大値5回、間隔1回が指定され、また横軸のスキャンスピードとして、最小値50mm/s、最大値200mm/s、間隔50mm/sが指定されている。この第二サンプル印字条件の設定に従って、編集表示欄202には、これに対応する第二サンプル印字パターンSP2と第二サンプル印字条件文字列SL2が仮想的に表示される。第二サンプル印字パターンSP2の行列数は、最大値、最小値と間隔によって変化するため、第一サンプル印字パターンSP1と異なり、ここでは5行×4列となっている。また第二サンプルコードSC2も、第二サンプル印字条件に応じて、第一サンプル印字条件とは異なる印字条件がエンコードされるため、シンボルが変更される。   Thereafter, similarly to the setting of the first sample printing condition, the minimum value, maximum value, interval, and fixed parameter value of each variable parameter can be adjusted. In the example of FIG. 19, a minimum value of 1 time, a maximum value of 5 times, and an interval of 1 time are designated as the number of prints on the vertical axis, and the scan speed on the horizontal axis is a minimum value of 50 mm / s, a maximum value of 200 mm / s, An interval of 50 mm / s is specified. In accordance with the setting of the second sample print condition, the edit display field 202 virtually displays the second sample print pattern SP2 and the second sample print condition character string SL2 corresponding thereto. Since the number of matrixes of the second sample print pattern SP2 varies depending on the maximum value, the minimum value, and the interval, it differs from the first sample print pattern SP1 and is 5 rows × 4 columns here. In the second sample code SC2, the symbol is changed because the printing condition different from the first sample printing condition is encoded according to the second sample printing condition.

なおこれら第二サンプル印字条件における可変パラメータの選択は、金属黒色のテンプレートにて予め規定されているようにしてもよい。同様に、第一サンプル印字条件と第二サンプル印字条件の2回でサンプル印字を行うことや、各可変パラメータ、固定パラメータのデフォルト値もテンプレートに予め規定されているようにしてもよい。これらは、金属製ワークに黒色の印字を行うのに適したと思われる推奨の条件として、予め規定されていると、ユーザはこれらの材質に関して適切な印字パラメータの知識が無くとも、推奨条件に従って容易に印字条件を決定することが可能となる。また、推奨値を適宜調整することも可能であり、これによって実際の環境に即したより適切な印字条件に調整できる。例えば、第一サンプル印字条件と第二サンプル印字条件のいずれにおいても、第一可変パラメータや第二可変パラメータを適宜変更できる。上述の例では図19においてプルダウンメニューから、他の印字パラメータを選択できる。また数値においても、所望の値に適宜変更できる。このようにして、より細かな印字条件に調整したい熟練ユーザの要求にも対応できる。
(ステップS907:第二サンプル印字の実行)
The selection of the variable parameters in the second sample printing conditions may be defined in advance by a metal black template. Similarly, sample printing may be performed twice in the first sample printing condition and the second sample printing condition, and default values of each variable parameter and fixed parameter may be specified in advance in the template. These are pre-defined as recommended conditions that may be suitable for printing black on metal workpieces, and users can easily follow the recommended conditions without knowledge of appropriate printing parameters for these materials. It becomes possible to determine printing conditions. It is also possible to adjust the recommended value as appropriate, and this makes it possible to adjust to more appropriate printing conditions in accordance with the actual environment. For example, the first variable parameter and the second variable parameter can be appropriately changed in both the first sample printing condition and the second sample printing condition. In the above example, another print parameter can be selected from the pull-down menu in FIG. In addition, numerical values can be appropriately changed to desired values. In this way, it is possible to meet the demands of skilled users who wish to adjust to finer printing conditions.
(Step S907: Execution of second sample printing)

以上のようにして第二サンプル印字条件が入力されると、同様に図19の第二サンプル印字条件設定画面220Bから印字モード選択手段243で印字モードを選択し、「トリガ」ボタン244を押下して、二回目のサンプル印字(第二サンプル印字)を実行する(図9のステップS907)。また、第二サンプル印字の実行に先立ち、必要に応じてワークの位置調整を行うことも上述の通りである。
(ステップS908:第二サンプル印字の評価)
When the second sample print condition is input as described above, the print mode is selected by the print mode selection means 243 from the second sample print condition setting screen 220B of FIG. 19 and the “trigger” button 244 is pressed. Then, the second sample printing (second sample printing) is executed (step S907 in FIG. 9). In addition, as described above, the work position is adjusted as necessary prior to the execution of the second sample printing.
(Step S908: Evaluation of Second Sample Printing)

さらに第二サンプル印字結果に対して、同様に印字品質評価装置400を用いて印字品質の評価を行う(図9のステップS908)。
(ステップS909:スコアの高いサンプルコードの選択)
Further, the print quality is similarly evaluated for the second sample print result using the print quality evaluation apparatus 400 (step S908 in FIG. 9).
(Step S909: Selection of a sample code having a high score)

さらに同様に、スコアの高い第二サンプル印字条件を求める(図9のステップS909)。ここでは、印字位置が「B2」のサンプルコードのスコアが高かったものとする。これに従い、条件選択欄245において「B2」を選択すると、この印字位置に応じた印字条件として、印字回数2回、スキャンスピード100mm/sが得られ、固定パラメータ設定欄224にこれらの値が入力される(図20)。
(ステップS910:印字条件の出力)
Similarly, a second sample printing condition having a high score is obtained (step S909 in FIG. 9). Here, it is assumed that the score of the sample code whose printing position is “B2” is high. Accordingly, when “B2” is selected in the condition selection field 245, a printing condition corresponding to the printing position is obtained as the number of times of printing twice and a scanning speed of 100 mm / s, and these values are input to the fixed parameter setting field 224. (FIG. 20).
(Step S910: Print condition output)

以上のようにして、2回のサンプル印字を得て、印字条件が決定されると、この値を最終的な印字条件として決定し、出力する。この例では、印字パターン入力欄204の下段に設けられた「印字条件のコピー」ボタン247を押下すると、図20に示すように、印字条件クリップボード画面250が開き、固定パラメータ設定欄224で設定された印字条件が、印字条件クリップボード画面250に設けられた条件一覧251に転記されて表示される。同時に、現在設定されている印字ブロックの一覧も、ブロック一覧252に表示される。ブロック一覧252に表示される印字ブロックは、ブロック番号順に表示されている。また各印字ブロックには、ユーザが付加したコメントも併せて表示され、複数の印字ブロックがある場合の判別が容易となる。この印字条件クリップボード画面250からユーザは、印字条件を設定したい印字ブロックをブロック一覧252中から選択する。印字ブロックが選択されると、「ブロックへ貼り付け」ボタン253を押下できるようになり(図21)、このボタンを押下することで、印字条件が印字ブロックに設定される。このようにして、サンプル印字モードで適切な印字条件を探索して、得られた適切な結果を出力できる。サンプル印字モードを終了するには、「閉じる」ボタン254を押下する。このボタンを押下すると、元の編集画面に戻り、編集表示欄202において、印字条件設定済みの印字ブロックが確認できる。図21で示す印字ブロックには、印字内容として二次元コードが表示されており、この二次元コードの印字条件は、サンプル印字モードで設定した印字条件に設定されている(ここではQスイッチ周波数90kHz、スポット可変−20、印字回数2回、スキャンスピード100mm/s、レーザパワー80%)。
(探索パラメータ)
As described above, when two sample prints are obtained and the print condition is determined, this value is determined as the final print condition and output. In this example, when the “print condition copy” button 247 provided in the lower part of the print pattern input field 204 is pressed, the print condition clipboard screen 250 is opened and set in the fixed parameter setting field 224 as shown in FIG. The print conditions are transferred and displayed in the condition list 251 provided on the print condition clipboard screen 250. At the same time, a list of currently set print blocks is also displayed in the block list 252. The print blocks displayed in the block list 252 are displayed in block number order. Each print block also displays a comment added by the user, so that it is easy to determine when there are a plurality of print blocks. From this print condition clipboard screen 250, the user selects a print block for which print conditions are to be set from the block list 252. When the print block is selected, the “Paste to block” button 253 can be pressed (FIG. 21), and the print condition is set to the print block by pressing this button. In this manner, it is possible to search for an appropriate printing condition in the sample printing mode and output an appropriate result obtained. To end the sample print mode, the “close” button 254 is pressed. When this button is pressed, the screen returns to the original editing screen, and a printing block for which printing conditions have been set can be confirmed in the editing display field 202. In the printing block shown in FIG. 21, a two-dimensional code is displayed as printing contents, and the printing condition of the two-dimensional code is set to the printing condition set in the sample printing mode (here, the Q switch frequency is 90 kHz). Spot variable-20, number of times of printing twice, scan speed 100 mm / s, laser power 80%).
(Search parameter)

上記の例では金属黒色のテンプレートとして、予め2回のサンプル印字を行うこと、及び各サンプル印字における可変パラメータの選択(第一サンプル印字ではQスイッチ周波数とスポット可変、第二サンプル印字では印字回数とスキャンスピード)を予め規定しており、さらに推奨の印字パラメータ値が自動的に与えられるように設定されている。このようにテンプレートは、印字対象のワークの素材毎に適切なサンプル印字条件となるよう、予め適切な組み合わせで設定されている。またサンプル印字モードでは、ユーザに対して上述した図9のフローチャート及びステップ表示欄211においてステップが遷移するように、設定すべき手順をガイダンスしている。これによりユーザは、ガイダンスに従ってワークの素材を選択してサンプル印字を繰り返すことで、所望の印字品質を実現できるようになり、ユーザは詳細な知識が無くとも容易に印字条件を設定できる。特に、複数の印字パラメータは複雑に影響し合っているため、従来は素材によっては適切な印字品質が得られるように印字条件を何度も試行錯誤しながら決定せねばならなかったという従来の問題を解消できる。加えて、従来はユーザが目視によって印字品質の善し悪しを判断していたため、たとえユーザの目視では綺麗な印字品質に見えても、実際に2次元コードリーダ等で読み込ませた場合に読み取りが不安定になるような事態も起こり得たところ、上記の方法では印字品質評価装置で実際に読み取り作業を行えるかどうかを評価しているため、このようなユーザの主観によらず、定性的で信頼性の高い印字品質評価が実現される。このように本実施の形態によれば、信頼性の高いマーキングを、容易に実現することができる。   In the above example, as a metallic black template, two sample prints are performed in advance, and variable parameters are selected for each sample print (Q switch frequency and spot variable for the first sample print, (Scanning speed) is defined in advance, and recommended printing parameter values are set automatically. As described above, the templates are set in advance in an appropriate combination so that the sample printing conditions are appropriate for each material of the work to be printed. In the sample print mode, the user is instructed of the procedure to be set so that the steps transition in the above-described flowchart of FIG. 9 and the step display column 211. As a result, the user can realize the desired print quality by selecting the material of the workpiece according to the guidance and repeating the sample printing, and the user can easily set the printing conditions without detailed knowledge. In particular, since multiple printing parameters affect each other in a complicated manner, the conventional problem that, in the past, printing conditions had to be determined through trial and error in order to obtain appropriate printing quality depending on the material. Can be eliminated. In addition, since the user has conventionally judged whether the print quality is good or bad by visual inspection, even if the print quality looks good by the user's visual observation, reading is unstable when actually read by a two-dimensional code reader or the like. However, since the above method evaluates whether the printing quality evaluation device can actually perform the reading operation, it is qualitative and reliable regardless of the user's subjectivity. High print quality evaluation is realized. Thus, according to the present embodiment, highly reliable marking can be easily realized.

なお、サンプル印字を行う回数は、上記の金属黒色のテンプレートでは2回としているが、サンプル印字を3回以上繰り返したり、あるいは1回のみとすることも可能である。例えば、上記の金属黒色テンプレートではレーザパワーを可変パラメータに設定していない。そこで、例えば図19の第二サンプル印字条件設定画面220Bから、さらに「次ステップへ」ボタン246を押下して3回目のサンプル印字を実行し、レーザパワーを可変パラメータとして指定することも可能である。また可変パラメータは、必ずしも2つを選択する必要はなく、1つでもよい。1つの場合は、サンプル印字パターンが一次元状に横又は縦方向に延びるように表示される。例えばレーザパワーを第二可変パラメータとして設定し、第一可変パラメータを無しにすることで、横に長いサンプル印字パターンが得られる。   Although the number of times of sample printing is set to twice in the above-described metal black template, the sample printing can be repeated three times or more or only once. For example, in the metal black template described above, the laser power is not set as a variable parameter. Therefore, for example, from the second sample print condition setting screen 220B of FIG. 19, it is also possible to execute the third sample print by pressing the “next step” button 246 and specify the laser power as a variable parameter. . In addition, two variable parameters do not necessarily have to be selected, and may be one. In one case, the sample print pattern is displayed so as to extend one-dimensionally in the horizontal or vertical direction. For example, by setting the laser power as the second variable parameter and omitting the first variable parameter, a horizontally long sample print pattern can be obtained.

上述の通り、ワークの素材に応じてサンプル印字の回数も予め適切に設定される。また、ユーザが任意にサンプル印字の条件を設定することも可能である。例えば、新規テンプレートを選択した場合は、サンプル印字の回数も含めて、ユーザが任意に設定できる。この場合のサンプル印字の手順を、図22に示す。この方法では、ステップS2201〜ステップS2204まで、すなわち一回目のサンプル印字を行うまでの手順は、上記図9と同じである。そしてステップS2204で印字品質の評価を行った結果に基づいて、ステップS2205では所望の印字品質が得られているかどうかを判定する。ここで所望の印字品質が得られている場合は、ステップS2206に進み、上記ステップS910と同様の手順となる。一方で所望の印字品質が得られていない場合は、ステップS2206−2に進み、サンプル印字条件を再設定して、ステップS2203に戻り、2回目のサンプル印字を行う。以下、所望の印字品質が得られるまでこの手順を繰り返して、得られた場合にステップS2206に進み、上述の通り印字条件を最終決定する。
(印字品質評価手順)
As described above, the number of times of sample printing is appropriately set in advance according to the workpiece material. In addition, the user can arbitrarily set conditions for sample printing. For example, when a new template is selected, the user can arbitrarily set it including the number of sample prints. The sample printing procedure in this case is shown in FIG. In this method, the procedure from step S2201 to step S2204, that is, the procedure until the first sample printing is performed is the same as that in FIG. Based on the result of the print quality evaluation in step S2204, it is determined in step S2205 whether a desired print quality is obtained. If the desired print quality is obtained here, the process proceeds to step S2206, and the same procedure as in step S910 is performed. On the other hand, if the desired print quality is not obtained, the process proceeds to step S2206-2, the sample print condition is reset, the process returns to step S2203, and the second sample print is performed. Thereafter, this procedure is repeated until a desired print quality is obtained, and if obtained, the process proceeds to step S2206 to finally determine the print conditions as described above.
(Print quality evaluation procedure)

次に、印字品質評価装置400で印字品質評価を行う具体的な手順、すなわち、ワークに印字されたサンプル印字パターンSPを撮像し、印字品質評価手段65で読取安定度を示すスコアを演算し、スコアの高い、すなわち印字品質の高いサンプルコードを決定する手順を、図24、図25のフローチャート及び図23〜図49のユーザインターフェース画面に基づいて説明する。この印字品質評価手順は、上述したサンプル印字モードにおいて、サンプル印字の評価ステップ(図9のステップS904、S908)に対応する。図23〜図49に示す画面は、図1の評価表示手段72に表示された印字品質評価プログラムのユーザインターフェース画面を示している。ここでは、光学情報読取システム2000を操作する光学情報読取プログラムに印字品質評価プログラムを統合しており、図23の光学情報読取装置操作画面260から、光学情報読取装置300の各種設定を行うことができる。画面上段には、各種の機能を実行するボタンが配置されている。この内、「印字最適化」ボタン262を押下すると、印字品質評価機能を実行できる。なおこの例では、印字品質評価装置400を操作する印字品質評価プログラムは、光学情報読取プログラムに組み込まれているが、これらのプログラムを個別に構成したり、一方のプログラムで他方のプログラムを呼び出すように構成することも可能である。
(印字品質評価機能)
(ステップS2401:ワーク設定条件の設定)
Next, a specific procedure for performing the print quality evaluation by the print quality evaluation apparatus 400, that is, the sample print pattern SP printed on the work is imaged, and the score indicating the reading stability is calculated by the print quality evaluation means 65, A procedure for determining a sample code having a high score, that is, a high print quality will be described with reference to the flowcharts of FIGS. 24 and 25 and the user interface screens of FIGS. This print quality evaluation procedure corresponds to the sample print evaluation step (steps S904 and S908 in FIG. 9) in the above-described sample print mode. The screens shown in FIGS. 23 to 49 show the user interface screens of the print quality evaluation program displayed on the evaluation display means 72 of FIG. Here, the print quality evaluation program is integrated with the optical information reading program for operating the optical information reading system 2000, and various settings of the optical information reading device 300 can be performed from the optical information reading device operation screen 260 of FIG. it can. In the upper part of the screen, buttons for executing various functions are arranged. Of these, when the “print optimization” button 262 is pressed, the print quality evaluation function can be executed. In this example, the print quality evaluation program for operating the print quality evaluation apparatus 400 is incorporated in the optical information reading program. However, these programs may be configured individually or one program may call the other program. It is also possible to configure.
(Print quality evaluation function)
(Step S2401: Setting work setting conditions)

印字品質評価機能を実行するには、まず図24のフローチャートにおけるステップS2401に示すように、ワークの設置条件の設定を行う。この手順の詳細は、図25に示している。
(ステップS2501:印字最適化画面270の起動)
In order to execute the print quality evaluation function, first, as shown in step S2401 in the flowchart of FIG. 24, workpiece installation conditions are set. Details of this procedure are shown in FIG.
(Step S2501: Start of Print Optimization Screen 270)

具体的には、図23の光学情報読取装置操作画面260から「印字最適化」ボタン262を押下すると、図26の印字最適化画面270が表示される。この画面では、画面左側に表示領域271が、画面右側に操作領域272が設けられている。表示領域271では、撮像手段51で撮像したシンボル等の画像や、リアルタイム画像(ライブビュー)等を表示できる。操作領域272には、各種操作を行うためのボタン等が設けられる。ここでは、後述するスコアを表示するスコア表示欄273、グラフ表示欄274、「レポート用データ出力」ボタン275等が設けられている。   Specifically, when the “print optimization” button 262 is pressed from the optical information reader operation screen 260 of FIG. 23, the print optimization screen 270 of FIG. 26 is displayed. In this screen, a display area 271 is provided on the left side of the screen, and an operation area 272 is provided on the right side of the screen. In the display area 271, an image such as a symbol captured by the imaging unit 51, a real-time image (live view), or the like can be displayed. The operation area 272 is provided with buttons for performing various operations. Here, there are provided a score display field 273 for displaying a score, which will be described later, a graph display field 274, a “report data output” button 275, and the like.

スコア表示欄273の項目欄273aは、この状態ではID、スコア、データのみが表示されており、後述する印字情報が入力されると、可変パラメータが項目欄273aに追加される。グラフ表示欄274には、演算されたスコアに対応するグラフが表示される。また図26の例では、操作領域272の上段に「ライブビュー」ボタン276、「印字情報入力」ボタン277、「分析」ボタン278、「チューニング設定」ボタン279、「クリア」ボタン280等が設けられている。さらに「クリア」ボタン280を押下すると、解析結果がクリアされる。   In this state, only the ID, score, and data are displayed in the item column 273a of the score display column 273, and when print information described later is input, a variable parameter is added to the item column 273a. In the graph display field 274, a graph corresponding to the calculated score is displayed. In the example of FIG. 26, a “live view” button 276, a “print information input” button 277, an “analysis” button 278, a “tuning setting” button 279, a “clear” button 280, and the like are provided in the upper part of the operation area 272. ing. When the “Clear” button 280 is further pressed, the analysis result is cleared.

印字品質評価機能を実行するには、まず照明条件や設置条件を調整する。図26の印字最適化画面270で「ライブビュー」ボタン276を押下すると、図27のライブビュー画面290が表示される。この画面は、撮像手段51で撮像されている画像がリアルタイムに表示される。ユーザはこのリアルタイム画像(ライブ画像)を見ながら、照明を調整する。
(照明条件の調整)
To execute the print quality evaluation function, first, the lighting conditions and installation conditions are adjusted. When the “live view” button 276 is pressed on the print optimization screen 270 of FIG. 26, a live view screen 290 of FIG. 27 is displayed. On this screen, an image captured by the imaging means 51 is displayed in real time. The user adjusts the illumination while viewing the real-time image (live image).
(Adjusting lighting conditions)

図27の画面で照明設定ボタン292を押下すると、図28の照明設定画面300が表示され、照明条件の設定を行うことができる。上述の通り光学情報読取装置300は、内部照明ユニット54の他、外部照明ユニット55を接続することも可能である。外部照明ユニット55が接続されている場合は、外部照明ユニット55の設定もこの画面から行える。各照明は部分点灯が可能である。ここでは、径方向に内周2列、外周1列に照明を分割(ブロック分け)しており、また周方向には上下左右4方向に分割されている。ユーザは、所望の照明ブロックを点灯させ、又は所望の照明ブロックを消灯することで、サンプルコードやリンクデータの撮影に適した照明条件に調整する。また、照明ブロックや明るさを変化させて複数回撮像することもでき、この場合には変化させる照明パラメータの設定も行う。   When the illumination setting button 292 is pressed on the screen of FIG. 27, the illumination setting screen 300 of FIG. 28 is displayed, and the illumination conditions can be set. As described above, the optical information reader 300 can be connected to the external illumination unit 55 in addition to the internal illumination unit 54. When the external lighting unit 55 is connected, the setting of the external lighting unit 55 can also be performed from this screen. Each lighting can be partially lit. Here, illumination is divided (block division) into two inner circumferential rows and one outer circumferential row in the radial direction, and is divided into four directions in the circumferential direction. The user turns on the desired illumination block or turns off the desired illumination block, thereby adjusting the illumination conditions suitable for sample code and link data photography. In addition, it is possible to capture a plurality of images by changing the illumination block and brightness. In this case, the illumination parameter to be changed is also set.

なおこのリアルタイム画像を見ながら、照明の調整と共に、ワークや撮像手段51の設置位置を調整することもできる。このような設置位置の調整は、この段階で行う他、次のステップS2503で行うこともできる。
(チューニング設定)
It is also possible to adjust the work and the installation position of the image pickup means 51 while adjusting the illumination while viewing the real-time image. Such adjustment of the installation position can be performed in the next step S2503 in addition to being performed at this stage.
(Tuning setting)

また、照明条件の詳細な調整と共に、後述するチューニング処理のための設定も行う。チューニングとは、サンプルコードの読み取り余裕度を示すスコアを計算する処理である。具体的には、図26の画面から「チューニング設定」ボタン279を押下すると、図29に示すチューニング設定画面310が表示される。この画面から、読取対象のサンプルコードに対して個別にチューニングする場合の設定を行う。図29の画面上段には画質調整方法設定欄311が設けられ、明るさの変更方法を設定できる。ここで、明るさは(ゲイン)×(照明強度)×(露光時間)で決定される。この画質調整方法設定欄311に設けられた明るさ調整方法選択欄312において、「画質優先」か「速度優先」が選択できる。「画像優先」を選択すると、露光時間は30〜5000μsで選択され、ゲインの最大値を2.0倍までに制限する。また「速度優先」を選択すると、露光時間は手動設定となり、数値を指定できるようになる。ここでは30μs〜10000μsの範囲で、自由に指定できる。また、ゲインの最大は5.4倍までに設定される。   In addition to detailed adjustment of illumination conditions, settings for tuning processing described later are also performed. Tuning is a process of calculating a score indicating a reading margin of sample code. Specifically, when a “tuning setting” button 279 is pressed from the screen of FIG. 26, a tuning setting screen 310 shown in FIG. 29 is displayed. From this screen, settings are made for individual tuning of the sample code to be read. An image quality adjustment method setting field 311 is provided in the upper part of the screen in FIG. 29, and a brightness change method can be set. Here, the brightness is determined by (gain) × (illumination intensity) × (exposure time). In the brightness adjustment method selection field 312 provided in the image quality adjustment method setting field 311, “image quality priority” or “speed priority” can be selected. When “Image priority” is selected, the exposure time is selected from 30 to 5000 μs, and the maximum value of the gain is limited to 2.0 times. If “speed priority” is selected, the exposure time is set manually and a numerical value can be designated. Here, it can be freely specified in the range of 30 μs to 10000 μs. The maximum gain is set to 5.4 times.

さらにオフセット設定欄313では、撮像する画像の基準点を変更できる。基準点とは、黒と認識する明るさのレベルであり、この値を0〜254の任意の値に指定できる。規定値を選択した場合は、254に設定される。   Furthermore, in the offset setting field 313, the reference point of the image to be captured can be changed. The reference point is a level of brightness that is recognized as black, and this value can be designated as an arbitrary value from 0 to 254. When the specified value is selected, 254 is set.

またダイナミックレンジ設定欄314では、上述したチューニングの明るさ調整方法の選択によって決定される。ここでは、「Hi−DR」、「高感度」、「標準」、「高S/N」の4つの選択肢が用意されており、「Hi−DR」では画素値をログ変換することで、ダイナミックレンジを拡大する。また「高感度」は、画素値の明るさをリニアな特性とし、感度を4倍の設定とする。さらに「標準」では画素値の明るさはリニアな特性としつつ、感度を2倍とする。さらにまた「高S/N」では、画素値の明るさはリニアな特性としつつ、感度を1倍の設定とする。   The dynamic range setting field 314 is determined by selecting the above-described tuning brightness adjustment method. Here, four options of “Hi-DR”, “High sensitivity”, “Standard”, and “High S / N” are prepared. In “Hi-DR”, the pixel value is converted into a log by dynamic conversion. Expand the range. In “high sensitivity”, the brightness of the pixel value is set to a linear characteristic, and the sensitivity is set to four times. Further, in “standard”, the brightness of the pixel value is a linear characteristic and the sensitivity is doubled. Furthermore, at “high S / N”, the brightness of the pixel value is set to a linear characteristic and the sensitivity is set to 1 time.

またチューニング方法設定欄315では、「標準」と「フィルタ」の2種類を選択可能とする。「標準」では、入力画像をそのまま処理し、「フィルタ」では入力画像に対し、21種類の前処理を実行して、最も読み取り余裕度が高かった処理を自動で選択する。ここで前処理は、膨張、収縮、オープン、クローズ、平均化、メディアン、アンシャープマスクの7種類の画像処理を1〜3回適用して、フィルタなしも含めて合計22種類の画像に対する処理を行う。以上のようにして、照明条件の詳細設定やチューニング設定をチューニング設定画面310から行うことができる。
(ステップS2502:印字情報入力の有無)
In the tuning method setting field 315, two types of “standard” and “filter” can be selected. In “standard”, the input image is processed as it is, and in “filter”, 21 types of pre-processing are executed on the input image, and the processing having the highest reading margin is automatically selected. Here, the pre-processing applies 7 types of image processing of expansion, contraction, open, close, averaging, median, unsharp mask 1 to 3 times, and processes for a total of 22 types of images including no filter. Do. As described above, detailed setting and tuning setting of illumination conditions can be performed from the tuning setting screen 310.
(Step S2502: Presence / absence of input of print information)

次に、必要に応じて印字情報を入力する。具体的には、図25のフローチャートのステップS2502において、印字情報入力の有無を判定する。入力する印字情報が無い場合はステップS2503に進み、印字情報を入力する場合はステップS2502−1に進む。ステップS2502−1では、印字情報入力画面320を表示させ、印字情報を入力する。具体的には、図26の画面から「印字情報入力」ボタン277を押下して、図30の印字情報入力画面320を表示させる。この画面では、印字情報を入力することができる。
(ステップS2502−2:印字情報コードの有無)
Next, print information is input as necessary. Specifically, in step S2502 in the flowchart of FIG. If there is no print information to be input, the process proceeds to step S2503. If print information is to be input, the process proceeds to step S2502-1. In step S2502-1, the print information input screen 320 is displayed and the print information is input. Specifically, the “print information input” button 277 is pressed from the screen of FIG. 26 to display the print information input screen 320 of FIG. On this screen, printing information can be entered.
(Step S2502-2: Presence of print information code)

次に、ステップS2502−2以降に進み、印字情報の入力を行う。この例では印字情報を入力する方法として、手動入力と自動入力の2通りが用意されている。自動入力は、印字情報コード(リンクデータLT)を読み取ることで行われる。具体的には、ステップS2502−2では、印字情報コードの有無を判定する。すなわち、印字情報コードがある場合はステップS2502−3−2に進み、印字情報コードを読み取らせる。ここでは、図30の画面で「ライブビュー」ボタン321を押下することで図31に示すライブビュー画面290を表示させる。この画面で、シンボル(リンクデータLT)を表示させ、「読み取り実行」ボタン322を押下して読み取りを行う。読み取られたデータはデコードされ、デコードされたデータの値が、図32に示すように印字情報入力画面320に各々入力される。   In step S2502-2 and subsequent steps, print information is input. In this example, there are two methods for inputting print information: manual input and automatic input. Automatic input is performed by reading the print information code (link data LT). Specifically, in step S2502-2, the presence / absence of a print information code is determined. That is, if there is a print information code, the process proceeds to step S2502-3-2, and the print information code is read. Here, the “Live View” button 321 on the screen of FIG. 30 is pressed to display the live view screen 290 shown in FIG. On this screen, a symbol (link data LT) is displayed, and a “read” button 322 is pressed to perform reading. The read data is decoded, and the value of the decoded data is input to the print information input screen 320 as shown in FIG.

一方、ステップS2502−2で印字情報コードが無い場合は、ステップS2502−3−1に進み、手動入力を行う。具体的には、図31の画面を表示させることなく、図30の画面上から直接、印字情報をユーザが手動で入力する。ここでは、サンプル印字条件を構成する各印字パラメータを固定パラメータ(図32の種別選択欄323で「−」(設定なし)を選択)か、可変パラメータ(図32の種別選択欄323で「X」(横軸)か「Y」(縦軸)を選択)を選択し、各値又は範囲を指定する。種別選択欄323で可変パラメータを選択すると、図32に示すように範囲と間隔の入力欄が表示される。ここでは、Qスイッチ周波数とスポット可変が可変パラメータに設定され、その範囲と間隔が入力される。
(印字情報入力完了)
On the other hand, if there is no print information code in step S2502-2, the process proceeds to step S2502-3-1 and manual input is performed. Specifically, the user manually inputs print information directly from the screen of FIG. 30 without displaying the screen of FIG. Here, each print parameter constituting the sample print condition is either a fixed parameter (“-” (no setting is selected) in the type selection field 323 in FIG. 32) or a variable parameter (“X” in the type selection field 323 in FIG. 32). (Select horizontal axis) or "Y" (vertical axis)) and specify each value or range. When a variable parameter is selected in the type selection column 323, a range and interval input column is displayed as shown in FIG. Here, the Q switch frequency and spot variable are set as variable parameters, and the range and interval are input.
(Printing information input complete)

印字情報の入力が終了すると、図32の右下に設けられた「OK」ボタン324を押下して印字情報入力画面320を閉じ、印字最適化画面270に戻る。ここで、入力された印字条件に可変パラメータが含まれている場合は、操作領域272に設けられたスコア表示欄273の項目欄273aが、該当する可変パラメータを含むように変化する。ここでは図26の画面から図33に示すように、項目欄273aにサンプルコードのID番号(詳細は後述)、スコア、データに加え、FR(Qスイッチ周波数)とSV(スポット可変)の表示が追加される。また、各項目について、表示された数値でソートするソート表示機能も備えている(詳細は後述)。さらに項目として、TACT(=(1/SS)×RE×1000)(SSはスキャンスピード、REは印字回数)を表示させることもできる。これにより、印字タクトを推定して、この値が小さいほど印字タクトが速いという指標に利用できる。
(ステップS2503:ライブビューで対象サンプルコードを位置決め)
When the input of the print information is completed, an “OK” button 324 provided at the lower right of FIG. 32 is pressed to close the print information input screen 320 and return to the print optimization screen 270. Here, when the input printing condition includes a variable parameter, the item field 273a of the score display field 273 provided in the operation area 272 changes so as to include the corresponding variable parameter. Here, as shown in FIG. 33 from the screen of FIG. 26, in addition to the ID number (details will be described later), score and data of the sample code, FR (Q switch frequency) and SV (variable spot) are displayed in the item column 273a. Added. Each item also has a sort display function for sorting by the displayed numerical value (details will be described later). Further, TACT (= (1 / SS) × RE × 1000) (SS is the scan speed, RE is the number of times of printing) can be displayed as an item. Thereby, the printing tact can be estimated and used as an index that the printing tact is faster as the value is smaller.
(Step S2503: Position the target sample code in the live view)

このようにして印字情報が指定されると、必要に応じてライブビューを用いて、撮像対象のサンプルコードが画面内に写るようにワークの位置を調整する(ステップS2503)。
(ステップS2504:対象領域設定)
When the print information is designated in this way, the position of the work is adjusted using the live view as necessary so that the sample code to be imaged is displayed on the screen (step S2503).
(Step S2504: Target area setting)

さらにライブビュー画面290で、対象領域を設定することもできる(ステップS2504)。対象領域を設定する場合は、ステップS2504−1に進み、ライブビュー画面290上から、マウス等でサンプルコードを囲むように矩形状の領域を指定する。例えば、ライブビュー画面290で表示されているサンプルコードの内、明らかに印字結果が悪いサンプルコードについては、分析対象から予め外すように、対象領域をユーザが指定できる。このような指定は、図1のブロック図に示す対象領域設定手段73で行われる。具体的には、マウス等のポインティングデバイス(評価操作手段71)で、撮像画像上で所望の対象領域を設定する。対象領域は対角線を指定する枠状の他、自由曲線としてもよい。これにより、ユーザはサンプル印字パターン全体、あるいはこの内の特定の部分を表示させた状態から、分析したいサンプルコードのみ、例えば図27のライブビュー画面290では、サンプルコードの3行を選択してるが、この内、下の2行のみを選択する(図44)等して対象領域OAを制限することで、分析に要する時間を低減できる。   Furthermore, the target area can be set on the live view screen 290 (step S2504). When setting the target area, the process proceeds to step S2504-1, and a rectangular area is specified on the live view screen 290 so as to surround the sample code with a mouse or the like. For example, among the sample codes displayed on the live view screen 290, the user can designate a target area so that a sample code with a clearly bad print result is excluded from the analysis target in advance. Such designation is performed by the target area setting means 73 shown in the block diagram of FIG. Specifically, a desired target region is set on the captured image with a pointing device (evaluation operation means 71) such as a mouse. The target area may be a free curve as well as a frame designating a diagonal line. Thus, the user selects only the sample code to be analyzed, for example, three lines of the sample code on the live view screen 290 in FIG. Of these, by selecting only the lower two rows (FIG. 44) and limiting the target area OA, the time required for analysis can be reduced.

以上のようにして、ワークの設置条件等が設定される。この手順は一例であり、設定の順序等は適宜変更できる。例えば先にワークの位置決めを行った後、照明条件や印字条件を入力してもよい。
(ステップS2402:分析)
As described above, the work installation conditions and the like are set. This procedure is an example, and the order of setting can be changed as appropriate. For example, the illumination condition and the printing condition may be input after the workpiece is positioned first.
(Step S2402: Analysis)

図24のフローチャートに戻って印字品質評価機能の説明を続けると、ステップS2401でワークの設置条件等が設定されると、ステップS2402に進み、分析を実行する。ここでは、図33の印字最適化画面270から「分析」ボタン278を押下する。すると図34に示すように、照明の明るさを変化させながら、印字品質評価手段65がサンプルコードを検索する。上述したステップS2504で対象領域が設定されている場合は、対象領域内を、設定されていない場合はライブビュー画面290に表示される視野内を検索して、画像処理により読み取り可能なサンプルコードを抽出する。この分析処理の手順を、図35のフローチャートに基づいて説明する。
(分析処理の手順)
Returning to the flowchart of FIG. 24, the description of the print quality evaluation function will be continued. When the work installation conditions and the like are set in step S2401, the process proceeds to step S2402, and analysis is executed. Here, the “analysis” button 278 is pressed from the print optimization screen 270 of FIG. Then, as shown in FIG. 34, the print quality evaluation means 65 searches the sample code while changing the brightness of the illumination. If the target area is set in step S2504 described above, the visual field displayed on the live view screen 290 is searched if the target area is not set, and a sample code that can be read by image processing is obtained. Extract. The procedure of this analysis process will be described based on the flowchart of FIG.
(Analysis processing procedure)

この分析処理の例では、照明条件として照明の明るさを変化させながらサンプルコードの撮像を繰り返す。具体的には、まずステップS3501で、照明の明るさを初期値に設定する。次いでステップS3502に進み、サンプルコードの撮像を行う。撮像は撮像手段51で行い、撮像の際には、各サンプルコードが読み取りに適した解像度となるように視野が調整される。   In this analysis processing example, imaging of the sample code is repeated while changing the illumination brightness as the illumination condition. Specifically, first, in step S3501, the brightness of the illumination is set to an initial value. In step S3502, the sample code is imaged. Imaging is performed by the imaging means 51, and at the time of imaging, the field of view is adjusted so that each sample code has a resolution suitable for reading.

さらにステップS3503で、撮像画像からシンボル抽出手段63でサンプルコードを抽出し、サンプルコードの復号化処理を復号化手段53又は69で行う。次いでステップS3504で、復号された結果をリストに追加する。この間、ライブビュー画像では図34に示すように、サンプルコードの撮像画像が、指定されている場合は対象領域OAを枠状に重ねて表示されると共に、コード分析中のプログレスバー293が表示され、視野内で読み取り可能なサンプルコードが見つかると、図36に示すように見つかったサンプルコードが枠状に囲まれて表示される。   In step S3503, a sample code is extracted from the captured image by the symbol extraction unit 63, and the decoding process of the sample code is performed by the decoding unit 53 or 69. In step S3504, the decoded result is added to the list. In the meantime, as shown in FIG. 34, in the live view image, the captured image of the sample code is displayed with the target area OA overlapped in a frame shape when specified, and a progress bar 293 during code analysis is displayed. When a sample code readable in the field of view is found, the found sample code is displayed in a frame shape as shown in FIG.

このようにして一回の撮像が終了すると、ステップS3505ですべての明るさでの撮像が完了したかどうかを判定し、未だの場合はステップS3505−1に進んで次の明るさに設定した上で、ステップS3502に戻って撮像を繰り返す。すべての明るさでの撮像が完了した場合は、ステップS3506に進む。   When one imaging is completed in this way, it is determined in step S3505 whether or not imaging has been completed at all brightness levels. If not, the process proceeds to step S3505-1 to set the next brightness. Thus, the process returns to step S3502 to repeat imaging. If imaging with all brightness is completed, the process advances to step S3506.

ステップS3506では、リストに追加されたサンプルコード中から、対象となる一コードを選択する。その上でステップS3507に進み、対象コードに限定して、チューニングを実行する。
(印字スコアの計算)
In step S3506, one target code is selected from the sample codes added to the list. Then, the process proceeds to step S3507, and tuning is executed only for the target code.
(Calculation of print score)

さらにステップS3508で、明るさ毎のスコアを合計して、印字スコアを計算する。なお、印字スコアの算出については、明るさ毎のスコアを合計したものに所定係数を乗算したり、或いは明るさ毎のスコアを合計した値に比例する値を印字スコアとして採用したりする等、種々の方法が考えられる。そして、一コードの印字スコアの計算が完了すると、ステップS3509で、すべてのサンプルコードの印字スコアの計算が完了したかどうかを判定し、未だの場合はステップS3509−1に進んで対象コードを変更し、ステップS3507に戻って印字スコアの計算処理を繰り返す。このようにしてすべてのサンプルコードで印字スコアの計算が完了すると、分析処理を終了する。
(照明の部分点灯パターン)
In step S3508, the scores for each brightness are summed to calculate a print score. For the calculation of the print score, the sum of the scores for each brightness is multiplied by a predetermined coefficient, or a value proportional to the sum of the scores for each brightness is adopted as the print score, etc. Various methods are conceivable. When the calculation of the print score for one code is completed, it is determined in step S3509 whether the print scores for all the sample codes have been calculated. If not, the process proceeds to step S3509-1 to change the target code. Then, the process returns to step S3507 to repeat the print score calculation process. When the print score calculation is completed for all the sample codes in this way, the analysis process is terminated.
(Partial lighting pattern of lighting)

なお以上の例では、照明条件の変化として、照明の明るさのみを変更した例を説明したが、これに限らず、照明の方向も変更させることができる。例えば図28の画面において、上下左右に分割された複数の照明ブロックから、複数の照明ブロックを選択して、これを切り替えて照明の部分点灯パターンを変化させながら撮像を行い、スコアを計算することもできる。これによって、照明条件も読み取りに適した条件に適切に設定できる利点が得られる。
(ステップS2403:結果確認)
In the above example, the example in which only the brightness of the illumination is changed as the change in the illumination condition has been described. However, the present invention is not limited to this, and the direction of the illumination can also be changed. For example, in the screen of FIG. 28, a plurality of lighting blocks are selected from a plurality of lighting blocks divided into upper, lower, left, and right, and this is switched to perform imaging while changing the partial lighting pattern of the lighting, and calculate the score. You can also. This provides an advantage that the illumination condition can be appropriately set to a condition suitable for reading.
(Step S2403: Result confirmation)

図24のフローチャートの説明に戻って、すべてのサンプルコードの分析が完了すると、ステップS2402からステップS2403に進み、結果の確認を行う。具体的には図37に示すように、表示領域271においてサンプルコードの撮像画像が表示され、操作領域272にはスコアが数値とグラフで表示されている。
(ID番号)
Returning to the description of the flowchart of FIG. 24, when the analysis of all the sample codes is completed, the process proceeds from step S2402 to step S2403, and the result is confirmed. Specifically, as shown in FIG. 37, the captured image of the sample code is displayed in the display area 271, and the score is displayed as a numerical value and a graph in the operation area 272.
(ID number)

ここで、読み取りが成功した各サンプルコードには、発見された順にID番号が付与されている。例えば1回目の分析で最初に見つかったサンプルコードには「1−1」、2番目に見つかったサンプルコードには「1−2」というように、ID番号が連番で付加される。ここでは9個のサンプルコードが発見されている。加えて、表示領域271の下段には履歴欄281が設けられ、1回目の分析結果の縮小画像282がサムネイル表示される。2回目以降の分析を行うと、この履歴欄282にサムネイル画像が追加される。サムネイル画像を選択すると、該当する分析結果が上段の表示領域271に表示される。このようにサムネイル画像は、表示領域271の切り替え手段として機能する。
(色分け表示)
Here, each sample code that has been successfully read is assigned an ID number in the order of discovery. For example, ID numbers are sequentially added, such as “1-1” for the first sample code found in the first analysis and “1-2” for the second found code. Nine sample codes have been found here. In addition, a history column 281 is provided in the lower part of the display area 271, and the reduced image 282 of the first analysis result is displayed as a thumbnail. When the second and subsequent analyzes are performed, thumbnail images are added to the history column 282. When a thumbnail image is selected, the corresponding analysis result is displayed in the upper display area 271. Thus, the thumbnail image functions as a switching unit for the display area 271.
(Color-coded display)

さらに発見された各サンプルコードは、色分けして表示される。色分け表示は、スコアに応じて、スコアが高く読取が安定して行えるサンプルコードは青色、スコアが中程度のサンプルコードは緑色、スコアが低いサンプルコードは赤色等として、ユーザに対して読取安定度の結果に応じて、読取し易いサンプルコードを視覚的に判別し易くできる。   Furthermore, each discovered sample code is displayed in different colors. The color-coded display shows the reading stability to the user, depending on the score, the sample code with a high score that can be read stably is blue, the sample code with a medium score is green, the sample code with a low score is red, etc. According to the result, it is possible to visually distinguish a sample code that is easy to read.

また操作領域272ではスコア表示欄273及びグラフ表示欄274に、各サンプルコードのID番号順に、演算されたスコアとそのグラフが表示される。なおグラフ表示欄274において、十字状の赤線は、ユーザが選択したポイント(プロット点)を示している。具体的には、スコア表示欄273及びグラフ表示欄274並びに表示領域271に表示される各ポイント及びレコード並びに2次元コードは、互いに連動表示されるようになっており、いずれかの領域で一の対象を選択したとき、他の領域でもハイライト表示されるようになっている。図37では、スコア表示欄273においてID1−1のレコード(このスコアは「8」)を選択したときの様子を示しており、グラフ表示欄274では、スコアが「8」となる一番左のポイントが強調されるように十字状の赤線が表示されている。   In the operation area 272, the calculated score and its graph are displayed in the score display column 273 and the graph display column 274 in order of the ID number of each sample code. In the graph display field 274, a cross-shaped red line indicates a point (plot point) selected by the user. Specifically, the score display field 273, the graph display field 274, and each point and record displayed in the display area 271 and the two-dimensional code are displayed in conjunction with each other. When an object is selected, it is highlighted in other areas. FIG. 37 shows a state when the record of ID 1-1 (this score is “8”) is selected in the score display field 273. In the graph display field 274, the leftmost score having the score “8” is shown. A cross-shaped red line is displayed so that the point is emphasized.

ここでは、スコア値として照明の明るさを変化させながら、各明るさでサンプルコードの読み取りが実施できた場合に、個別の読み取りの余裕度を計算している。照明の明るさを変化させながら読み取りを行う際に、幅広い明るさで高い読み取り余裕度が得られたサンプルコードのスコアが高くなる。   Here, when the sample code can be read at each brightness while changing the brightness of the illumination as the score value, the margin for individual reading is calculated. When reading is performed while changing the brightness of the illumination, the score of the sample code in which a high reading margin is obtained with a wide range of brightness increases.

ライブビュー画面290でチューニングを再実行すると、チューニング結果表示欄294が付加され、より詳細なチューニング結果を表示できる。ここでは、図37の表示領域271で表示される、読み取りが成功したサンプルコード中から所望のサンプルコードを選択すると(或いは、所望のサンプルコードを選択した後にチューニングを再実行すると)、このサンプルコードのチューニング結果がライブビュー画面290に表示される。例えば、図37でID番号1−1のサンプルコードを選択すると、図38のライブビュー画面290Bに示すように、これに該当するID番号1−1のサンプルコードが枠状に示されると共に、チューニング結果の明るさとレベルの関係を示すグラフがチューニング結果表示欄294に表示される。また図37でID番号1−4のサンプルコードを選択すると、図39のライブビュー画面290Cに示すように、ID番号1−4のサンプルコードとそのチューニング結果がチューニング結果表示欄294に表示される。   When tuning is re-executed on the live view screen 290, a tuning result display field 294 is added, and a more detailed tuning result can be displayed. Here, when a desired sample code is selected from sample codes that have been successfully read and displayed in the display area 271 of FIG. 37 (or when tuning is performed again after selecting the desired sample code), this sample code is displayed. Are displayed on the live view screen 290. For example, when the sample code with ID number 1-1 in FIG. 37 is selected, the corresponding sample code with ID number 1-1 is shown in a frame as shown in the live view screen 290B in FIG. A graph showing the relationship between the brightness and the level of the result is displayed in the tuning result display field 294. When the sample code with ID number 1-4 in FIG. 37 is selected, the sample code with ID number 1-4 and the tuning result are displayed in the tuning result display field 294 as shown in the live view screen 290C in FIG. .

またサンプルコードのスコア同士を対比させることもできる。具体的には、図40に示すように、チューニング履歴一覧295を表示させ、画面右下のチューニング結果表示領域296に、2つのサンプルコードの各チューニング結果のグラフを重ねて表示させる。グラフのプロット値は色分けされており、画面左上のチューニング履歴一覧295には各サンプルコードの詳細が該当する色で表示される。これによって、サンプルコード同士の読み取り結果を容易に対比でき、より好ましい読み取り結果を示すサンプルコードの選択が容易となる。   It is also possible to compare the scores of the sample codes. Specifically, as shown in FIG. 40, the tuning history list 295 is displayed, and the graphs of the tuning results of the two sample codes are displayed in the tuning result display area 296 at the lower right of the screen. The plot values of the graph are color-coded, and details of each sample code are displayed in the corresponding color in the tuning history list 295 at the upper left of the screen. As a result, the reading results of the sample codes can be easily compared, and the sample code showing a more preferable reading result can be easily selected.

このようにして、スコアに基づいて好ましい印字品質のサンプルコードを選択する。サンプルコードの選択は、演算されたスコア値に基づいて所望のサンプルコードをユーザが選択する。特にユーザは、好適なスコアを示したサンプルコードが表示領域271において色分け表示されているので、この中から、最も安定して読み取りが行えると思われるサンプルコードを、対比させながら選択できる。特に色分けされたサンプルコードの分布状態に応じて、適切な選択が可能となる。例えば、仮にスコアの高い緑色のサンプルコードであっても、隣接するサンプルコードのスコアが低い場合は、印字条件がわずかでも変動すると読取安定度が悪くなる可能性がある。逆に、周囲に緑色のサンプルコードが多い領域からサンプルコードを選択すれば、多少印字条件が変動しても安定して読み取りができることとなる。このように、スコアの高低を色分けして表示することで、ユーザは分布状態を参照しながら、より安定した読み取り結果が期待できるサンプルコードを選択できる。また、サンプルコードの色分け表示に限らず、例えば図41に示すように、分布状態を等高線状284に表示させることもできる。あるいは、このようなユーザによる選択に限られず、最も高いスコアを示したサンプルコードを印字品質評価プログラム側で自動選択することもできる。なお、ステップS2403の結果確認を経て、ユーザが所望のサンプルコードを選択できなければ、再度ステップS2503(図25)に戻って、ステップS2402の分析を繰り返し行うようにしてもよい。この場合、図25におけるステップS2501〜ステップS2502は、省略することができる。
(ステップS2404:結果出力)
In this way, a sample code having a preferable print quality is selected based on the score. In selecting the sample code, the user selects a desired sample code based on the calculated score value. In particular, the user can select a sample code that is likely to be read most stably while comparing the sample codes showing a suitable score in the display area 271 with different colors. In particular, an appropriate selection can be made according to the distribution state of the color-coded sample codes. For example, even if a green sample code has a high score, if the score of an adjacent sample code is low, the reading stability may be deteriorated if the printing conditions fluctuate even slightly. On the contrary, if a sample code is selected from an area where there are many green sample codes in the surrounding area, stable reading can be performed even if the printing conditions slightly change. In this way, by displaying the score levels in different colors, the user can select a sample code that can expect a more stable reading result while referring to the distribution state. In addition to the color-coded display of the sample code, for example, as shown in FIG. 41, the distribution state can be displayed in a contour line 284. Or it is not restricted to such a user's selection, The sample code which showed the highest score can also be selected automatically by the printing quality evaluation program side. If the user cannot select a desired sample code after confirming the result of step S2403, the process may return to step S2503 (FIG. 25) again and the analysis of step S2402 may be repeated. In this case, steps S2501 to S2502 in FIG. 25 can be omitted.
(Step S2404: Result output)

このようにして最適な印字品質のサンプルコードが選択されると、この結果を評価出力手段が出力する(ステップS2404)。具体的には、評価結果や識別情報を評価表示手段72に表示させたり、印刷したり、あるいは識別情報や印字条件等を直接、データとしてレーザマーキング装置に対して出力する。このような出力によって、レーザマーキング装置1000に対して、印字品質評価のフィードバックを行うことができる。ここでは、印字品質評価に基づいて、ユーザが手動でレーザマーキング装置1000の印字条件を設定する(図9のステップS904、908)。もちろん、レーザマーキング装置と印字品質評価装置とを無線や有線で接続し、印字品質評価結果に基づくFB信号を印字品質評価装置で生成して、レーザマーキング装置にフィードバックするような構成とすることも可能である。なお以上の例では、レーザマーキング装置を用いたサンプル印字と、印字品質評価装置による印字品質評価とに関し、別々のサンプルワークを用いて説明した。同一のサンプルワークを用いた場合には、マトリックスの行列数が同じになることはもちろんである。
(レポート出力)
When the sample code having the optimum print quality is selected in this way, the result is output by the evaluation output means (step S2404). Specifically, the evaluation result and identification information are displayed on the evaluation display means 72, printed, or the identification information and printing conditions are directly output as data to the laser marking device. With such an output, it is possible to perform feedback of print quality evaluation to the laser marking apparatus 1000. Here, based on the print quality evaluation, the user manually sets the print conditions of the laser marking device 1000 (steps S904 and 908 in FIG. 9). Of course, the laser marking device and the print quality evaluation device may be connected wirelessly or by wire, and an FB signal based on the print quality evaluation result may be generated by the print quality evaluation device and fed back to the laser marking device. Is possible. In the above example, sample printing using a laser marking device and printing quality evaluation using a printing quality evaluation device have been described using separate sample works. Of course, when the same sample work is used, the number of matrices is the same.
(Report output)

また、レポート出力を行うこともできる。図37等の画面から、画面右下に設けられた「レポート用データ出力」ボタン275を押下すると、スコアの結果がレポートとして出力される。出力は、例えば画面上に表示させたり、紙等に印刷したり、あるいは印字品質評価装置と接続されたレーザマーキング装置や他の外部機器に対してデータを送出する等、種々の形態画利用できる。またレポート出力の書式としては、例えば図42に示すように行列状285に表示されたサンプル印字パターンの要素毎にスコアを表示させる。この際も、スコア値に応じて要素を色分けして表示させてもよい。あるいは図43のように色分けしたスコア値の分布状態を示すように、等高線状284Bに表示させることもできる。
(複数撮像画像の合成)
Report output can also be performed. When a “report data output” button 275 provided at the lower right of the screen is pressed from the screen of FIG. 37 or the like, the score result is output as a report. The output can be used in various forms, for example, displayed on a screen, printed on paper or the like, or sent to a laser marking device or other external device connected to a print quality evaluation device. . As a report output format, for example, as shown in FIG. 42, a score is displayed for each element of the sample print pattern displayed in the matrix form 285. Also at this time, the elements may be displayed in different colors according to the score values. Alternatively, as shown in FIG. 43, it can be displayed on the contour line 284B so as to show the distribution state of the score values color-coded.
(Combine multiple images)

なお、上述の通り撮像時には各サンプルコードが読み取りに適した解像度となるように視野を調整する必要がある。このとき、サンプルコードの数が多い場合やサンプルコードのサイズが大きい場合には、一画面ですべてのサンプルコードを撮像できない場合がある。このような場合は、複数回に分けて撮像を行う必要がある。この様子を図44〜図46に基づいて説明すると、まず図37に示すように1回目の撮像(又は分析)が終わった時点で「ライブビュー」ボタン276を押下してライブビュー画面290を表示させ、図44に示すように2回目の撮像画像に視野を合わせる。この例では、分析対象とする対象領域OAを枠状に指定している。そして上記と同様に、図37の印字最適化画面270に戻って「分析」ボタン278を押下すると、新たな撮像画像に対して分析が行われ、その結果が図45に示すように表示される。ここで表示領域271の履歴欄281には、2回目の撮像画像の縮小画像282Bがサムネイルとして追加されている。また必要に応じて、図46に示すように読み取り画像同士を合成して、一画面で分析結果を色分けして表示させることもできる。このようにして、すべてのサンプルコードを適切な解像度で撮像し、分析結果を比較できる。   As described above, it is necessary to adjust the field of view so that each sample code has a resolution suitable for reading during imaging. At this time, when the number of sample codes is large or the size of the sample codes is large, it may be impossible to capture all the sample codes on one screen. In such a case, it is necessary to shoot in multiple times. This state will be described with reference to FIGS. 44 to 46. First, as shown in FIG. 37, when the first imaging (or analysis) is completed, the “live view” button 276 is pressed to display the live view screen 290. Then, as shown in FIG. 44, the field of view is adjusted to the second captured image. In this example, the target area OA to be analyzed is specified in a frame shape. Similarly to the above, when returning to the print optimization screen 270 of FIG. 37 and pressing the “analyze” button 278, analysis is performed on a new captured image, and the result is displayed as shown in FIG. . Here, in the history column 281 of the display area 271, a reduced image 282B of the second captured image is added as a thumbnail. If necessary, as shown in FIG. 46, the read images can be combined and the analysis results can be displayed in different colors on one screen. In this way, all sample codes can be imaged with an appropriate resolution and the analysis results can be compared.

また印字品質評価プログラムは、分析補助機能として、印字パラメータのソート表示機能と、スコアのマトリックス表示機能を備えている。
(ソート表示機能)
The print quality evaluation program also includes a print parameter sort display function and a score matrix display function as analysis assist functions.
(Sort display function)

印字パラメータのソート表示機能は、スコア表示欄273に表示された印字パラメータ毎に、ソートする機能である。例えば図47に示すように、スコア表示欄273においてデフォルトではID番号順にソートされており、またグラフ表示欄274にはID番号ごとのスコア値が折れ線グラフで表示されている。この状態で、スコア表示欄273の項目欄273aから所望の項目、例えばFR(Qスイッチ周波数)を押下すると、図48に示すように、スコア表示欄273の表示内容が可変パラメータであるQスイッチ周波数でソートされた状態に変更され、さらにグラフ表示欄274の表示も、ID番号でなくQスイッチ周波数毎のスコア値の表示に変更される。これにより、例えばQスイッチ周波数が40kHz以上でスコア値が良好となる等の傾向が把握できるようになる。同様に、SV(スポット可変)を押下すれば、図49に示すようにスコア表示欄273はスポット可変の値でソートされた表示形態に切り替わり、またグラフ表示欄274もスポット可変毎のスコア値のグラフに変更される。また各画面において、項目欄273aのFRをもう一度押下すれば、昇順と降順を切り替えることもできる。これにより、ユーザは各サンプルコードを項目別に比較することが容易となる。
(スコアのマトリックス表示機能)
The print parameter sort display function is a function for sorting each print parameter displayed in the score display field 273. For example, as shown in FIG. 47, the score display field 273 is sorted by ID number by default, and the score value for each ID number is displayed in a line graph in the graph display field 274. In this state, when a desired item, for example, FR (Q switch frequency) is pressed from the item column 273a of the score display column 273, the display content of the score display column 273 is a variable parameter as shown in FIG. In addition, the display in the graph display field 274 is changed to display the score value for each Q switch frequency instead of the ID number. Thereby, for example, the tendency that the score value becomes good when the Q switch frequency is 40 kHz or more can be grasped. Similarly, if SV (spot variable) is pressed, as shown in FIG. 49, the score display field 273 switches to a display form sorted by variable spot values, and the graph display field 274 also displays the score value for each variable spot. Changed to graph. In each screen, the ascending order and descending order can be switched by pressing the FR in the item column 273a again. This makes it easy for the user to compare each sample code by item.
(Score matrix display function)

さらに分析結果の出力形態として、スコアをマトリックス表示させることもできる。この機能は、図50に示すように、サンプル印字パターンを構成する行列状285Bに、すなわち2種類の可変パラメータを縦横に変化させたマトリックス状に、スコア値を表示させるものである。このマトリックス表示においても同様に、スコア値に応じた色分け表示を付加できる。これらの色分け表示で用いる色は、表示領域271における色分けと同じ色とすることで、ユーザは視覚的にスコア値の分布状態を容易に把握できる。この結果、上述の通り適切なサンプルコード、すなわち印字条件を選択する際に、印字条件が多少ばらついても、安定したスコアが期待できる位置を直感的に選びやすくなる。
(識別情報の変形例)
Furthermore, the score can be displayed in a matrix as an output form of the analysis result. As shown in FIG. 50, this function displays score values in a matrix 285B constituting the sample print pattern, that is, in a matrix in which two types of variable parameters are changed vertically and horizontally. Similarly, in this matrix display, a color-coded display according to the score value can be added. The colors used in these color-coded displays are the same as the colors used in the display area 271, so that the user can easily grasp the score value distribution state visually. As a result, as described above, when selecting an appropriate sample code, that is, a printing condition, it is easy to intuitively select a position where a stable score can be expected even if the printing condition varies somewhat.
(Modification of identification information)

以上は、サンプルコードを二次元コードとして、この二次元コードを識別情報として利用し、印字位置を直接エンコードした例について説明した。この方法であれば、サンプルコードのサンプル印字パターンにおける印字位置が、直接的に印字条件と結びつけられているため、識別情報認識手段67又は復号化手段53、69でサンプルコードを復号化することで、容易に印字条件を特定できる。ただ、この構成に限られず、サンプルコード自体に印字位置をエンコードせずとも、予め印字位置と印字条件とを関連付けておくことで、印字位置を他の方法で判別できれば、同様に印字条件を特定することが可能となる。   The example in which the sample code is used as a two-dimensional code and the print position is directly encoded using the two-dimensional code as identification information has been described. In this method, since the print position of the sample code in the sample print pattern is directly associated with the print condition, the sample code is decoded by the identification information recognition unit 67 or the decoding units 53 and 69. The printing conditions can be easily specified. However, the present invention is not limited to this configuration. If the print position can be determined by another method by associating the print position with the print condition in advance without encoding the print position in the sample code itself, the print condition is specified in the same manner. It becomes possible to do.

例えば、サンプルコードとして二次元コードに代えて、文字や数字等で構成された文字列情報を識別情報として印字することもできる。この場合、図51に示すように、行列を示すためにA1、A2、...等、行番号と列番号との組み合わせで文字列情報を構成し、このサンプル印字パターンSP3を印字品質評価装置400側でOCRによって認識すれば、上記二次元コードのサンプルコードと同様に、印字条件を直接取得できる。また図52に示すように、二次元コードのシンボルSBにこのような文字列情報CIを付加したサンプルコードとしてもよい。この場合は、文字列情報と二次元コードのいずれからでも印字位置を特定できる。あるいは二次元コードには印字条件をエンコードせずとも、文字列情報から印字位置を特定できる。例えば、同一の二次元コードを繰り返し印字してもよい。または二次元コード部分をリンクデータと置き換えることもできる。いずれの場合も、文字列情報を光学情報読取装置で読み取ることで、印字位置を容易に特定できる。   For example, instead of a two-dimensional code as a sample code, character string information composed of characters, numbers, and the like can be printed as identification information. In this case, as shown in FIG. 51, A1, A2,. . . If the character string information is constituted by the combination of the line number and the column number and the sample print pattern SP3 is recognized by the OCR on the print quality evaluation apparatus 400 side, the print condition is the same as the sample code of the two-dimensional code. Can be obtained directly. As shown in FIG. 52, a sample code in which such character string information CI is added to the symbol SB of the two-dimensional code may be used. In this case, the print position can be specified from either the character string information or the two-dimensional code. Alternatively, the printing position can be specified from the character string information without encoding the printing conditions in the two-dimensional code. For example, the same two-dimensional code may be repeatedly printed. Alternatively, the two-dimensional code portion can be replaced with link data. In either case, the print position can be easily specified by reading the character string information with the optical information reader.

あるいは、このような文字列情報でなく、パターン等も識別情報として利用できる。すなわち、印字位置又は印字条件を示す識別情報を特定パターンとして印字し、この特定パターンと印字位置又は印字条件との対応関係を予め印字条件設定装置200A側で識別情報参照手段36に記憶させておくことで、印字品質評価装置400側で特定パターンを特定できれば、この特定パターンと対応する印字位置又は印字条件を印字条件設定装置200A側で識別情報参照手段36を参照して把握するという間接的な特定方法とすることもできる。識別情報参照手段36には、対応関係を記録した対応テーブル等を保持させる。このように、印字品質評価装置側では、印字条件まで把握することは必須でなく、レーザマーキング装置側で最終的に印字条件が特定できれば足りる。よって印字品質評価装置は、印字品質の高いサンプルデータを選択し、選択されたサンプルデータに付加された識別情報を把握できれば、これをレーザマーキング装置側に送出することで、レーザマーキング装置では識別情報から対応関係に従って、印字位置又は印字条件を直接的、又は間接的に特定できる。あるいは、印字品質評価装置400側で識別情報と印字位置との対応関係を記録した対応関係記憶手段70を持たせてもよい。このように、特定パターンと、印字位置又は印字条件の対応関係を特定する対応テーブルを、図1に示す対応関係記憶手段70や識別情報参照手段36に保持しておくことができる。また印字位置と印字条件の対応関係は、上述の通り、サンプル印字パターンにおける印字位置が、2つの可変パラメータを縦軸と横軸に取って変化させたマトリックス状の位置に対応しているため、各可変パラメータの最小値、最大値、間隔から、印字位置における可変パラメータの値を一意に決定できる。さらにその他の固定パラメータの値は、リンクデータ等から取得できる。なお、識別情報から印字条件を特定する作業は、印字品質評価装置で行ってもよいし、あるいは光学情報読取装置で行わせ、得られた印字条件をレーザマーキング装置に送出するような形態とすることもできる。   Alternatively, a pattern or the like can be used as identification information instead of such character string information. That is, identification information indicating the printing position or printing condition is printed as a specific pattern, and the correspondence between the specific pattern and the printing position or printing condition is stored in the identification information reference unit 36 in advance on the printing condition setting device 200A side. Thus, if the specific pattern can be specified on the print quality evaluation device 400 side, the print position or the print condition corresponding to the specific pattern is indirectly understood by referring to the identification information reference means 36 on the print condition setting device 200A side. It can also be a specific method. The identification information reference means 36 holds a correspondence table in which the correspondence relationship is recorded. Thus, it is not essential for the print quality evaluation apparatus side to grasp the print conditions, and it is sufficient if the print conditions can be finally specified on the laser marking apparatus side. Therefore, the print quality evaluation device selects sample data with high print quality, and if it can grasp the identification information added to the selected sample data, sends it to the laser marking device side, so that the laser marking device can identify the identification information. The printing position or printing condition can be specified directly or indirectly according to the correspondence relationship. Alternatively, the print quality evaluation apparatus 400 may have a correspondence storage unit 70 that records the correspondence between the identification information and the print position. As described above, the correspondence table for identifying the correspondence between the specific pattern and the printing position or the printing condition can be held in the correspondence storage unit 70 or the identification information reference unit 36 shown in FIG. As described above, the correspondence between the printing position and the printing condition is that the printing position in the sample printing pattern corresponds to a matrix-like position obtained by changing the two variable parameters on the vertical axis and the horizontal axis. The variable parameter value at the print position can be uniquely determined from the minimum value, maximum value, and interval of each variable parameter. Furthermore, the values of other fixed parameters can be acquired from link data or the like. The operation for specifying the printing condition from the identification information may be performed by the printing quality evaluation apparatus, or may be performed by the optical information reader, and the obtained printing condition is sent to the laser marking apparatus. You can also.

なお、印字位置と印字条件との対応関係は、必ずしも上述したマトリックス状と対応させる必要はない。すなわち、シンボルに付された特定パターン等の識別条件を一意に特定でき、かつこの識別条件と印字条件を一対一の対応関係としておれば、識別情報に基づいて印字品質評価装置側で印字条件を特定できる。例えば、マトリックス状に印字されたサンプル印字パターンの、縦軸と横軸を入れ替えて印字しても、対応関係を維持しておれば識別情報から印字条件を特定できる。あるいは、可変パラメータを連続的に変化させてマトリックス状に印字するのでなく、マトリックス状の各要素に対して、異なる可変パラメータをランダムに割り当てる構成であっても、各要素が有する識別情報と、その要素を印字する際の印字条件との対応関係が一意に決定できるものであれば、対応関係を記録した対応テーブルを参照することで、印字条件の特定が可能となる。ただし、可変パラメータの変化を連続的に並べずにランダムに配置すると、可変パラメータがどの範囲で安定的な読み取りが可能となるかを、全体的に把握することが困難となる。特に、上述したスコア値の分布状態を等高線状に表示させて、安定的な領域を把握することができなくなる。よって、好ましくは上述の通り、可変パラメータの変化に従って配置したマトリックス状のサンプル印字パターンとすることが好ましいといえる。なお、このような印字位置の特定は、図1の印字位置認識手段68にて行われる。また対応テーブルは、特定パターンと印字位置の対応関係を記録するものに限られず、印字条件と印字位置の対応関係を記録することもできる。
(実施例2)
Note that the correspondence relationship between the printing position and the printing condition does not necessarily correspond to the matrix shape described above. That is, if the identification condition such as the specific pattern attached to the symbol can be uniquely specified and the identification condition and the printing condition have a one-to-one correspondence, the printing quality evaluation device side sets the printing condition based on the identification information. Can be identified. For example, even if the sample print pattern printed in a matrix is printed with the vertical and horizontal axes interchanged, the print condition can be specified from the identification information if the correspondence is maintained. Alternatively, even if the variable parameters are not continuously printed in a matrix form, but different variable parameters are randomly assigned to each matrix element, the identification information that each element has and its If the correspondence relationship with the printing condition when printing an element can be uniquely determined, the printing condition can be specified by referring to the correspondence table in which the correspondence relationship is recorded. However, if the change of the variable parameter is randomly arranged without being continuously arranged, it is difficult to grasp the whole range in which the variable parameter can be stably read. In particular, the above-described distribution state of the score values is displayed in a contour line, and a stable area cannot be grasped. Therefore, it can be said that it is preferable to use a matrix-like sample print pattern arranged according to the change of the variable parameter as described above. Such a print position is specified by the print position recognizing means 68 shown in FIG. In addition, the correspondence table is not limited to the one that records the correspondence between the specific pattern and the printing position, and can also record the correspondence between the printing condition and the printing position.
(Example 2)

以下、実施例2として、識別情報を特定パターンに持たせたサンプル印字パターンの例を、図53〜図60に基づいて説明する。以下の例では、サンプルコードを、シンボルSBと、各シンボルの印字位置を特定するための特定パターンとで構成している。特定パターンはシンボルの近傍、例えば周囲に印字される。図53の例では、シンボルSBを二次元コードで構成し、マトリックス状に印字される各シンボルを区切る区切り線DLを特定パターンとしている。すなわち、区切り線DLで区切られた格子状に、それぞれ二次元コードが印字される区切りパターンとなる。   Hereinafter, as a second embodiment, an example of a sample print pattern in which identification information is given to a specific pattern will be described with reference to FIGS. In the following example, the sample code includes a symbol SB and a specific pattern for specifying the print position of each symbol. The specific pattern is printed near the symbol, for example, around it. In the example of FIG. 53, the symbol SB is configured by a two-dimensional code, and a delimiter line DL that delimits each symbol printed in a matrix is used as a specific pattern. That is, it becomes a delimiter pattern in which each two-dimensional code is printed in a lattice pattern delimited by the delimiter line DL.

特定パターンによって印字位置を特定することで、この印字位置に対応する印字条件がレーザマーキング装置側で特定できる。また、印字位置の特定に、シンボルを利用することもできる。例えばシンボルによって方向性が定まる場合は、縦横の区別をシンボルの方向で判断することができる。例えば図53のようにシンボルSBにQRコードを利用する場合、QRコードはファインダパターンの位置により方向性を判断できる。すなわち、ワークが回転した姿勢で撮像されても、ファインダパターンが左上となるような姿勢に回転させて正しく処理できる。
(区切り線の構造全体から座標を決定する場合)
By specifying the print position by the specific pattern, the print condition corresponding to this print position can be specified on the laser marking device side. A symbol can also be used for specifying the printing position. For example, when the directionality is determined by the symbol, the vertical / horizontal distinction can be determined by the direction of the symbol. For example, when a QR code is used for the symbol SB as shown in FIG. 53, the directionality of the QR code can be determined based on the position of the finder pattern. In other words, even if the workpiece is imaged in a rotated posture, it can be correctly processed by rotating the finder pattern to the upper left.
(When determining coordinates from the whole structure of the separator)

ここで、図53に示すようなサンプル印字パターンの全体像から、各サンプルコードの印字位置を区別、特定する方法について説明する。ここでは、特定パターンである区切りの構造全体から座標を決定する。具体的に、区切り線は左下においてL字状に印字されており、このL字状パターンLPは他の部位には見られない。よってこのL字状パターンLPを座標軸の基準として用い、L字状パターンLPが左下に位置する姿勢を基準として座標位置を画像処理によって算出する。すなわち、L字状パターンLPの左下を原点として、各サンプルコードの印字位置は原点を基準とする座標、例えば(x、y)座標で表現できる。また原点の位置や座標軸の取り方は一例であって、他の方式(例えばr、θ)も任意に採用できることはいうまでもない。なお、画像の姿勢すなわち回転角度の補正については、上述の通りQRコードのファインダパターンを利用することも可能である。   Here, a method for distinguishing and specifying the print position of each sample code from the overall image of the sample print pattern as shown in FIG. 53 will be described. Here, the coordinates are determined from the whole structure of the delimiter which is a specific pattern. Specifically, the dividing line is printed in an L shape at the lower left, and this L-shaped pattern LP is not seen in other parts. Therefore, the L-shaped pattern LP is used as a reference for the coordinate axis, and the coordinate position is calculated by image processing based on the posture at which the L-shaped pattern LP is located at the lower left. That is, with the lower left of the L-shaped pattern LP as the origin, the print position of each sample code can be expressed by coordinates based on the origin, for example, (x, y) coordinates. Further, the position of the origin and the way of taking the coordinate axes are examples, and it goes without saying that other methods (for example, r, θ) can be arbitrarily adopted. As described above, the QR code finder pattern can be used to correct the orientation of the image, that is, the rotation angle.

また、シンボルのパターンで方向が判断できない場合、例えば図54に示すように上下左右どの方向から見ても同じ形状となる図形のシンボルSB2(ここではQRコードのファインダパターン)の場合は、特定パターンのみで方向性を規定する必要がある。この際、上述したL字状パターン以外に、区切り線の線種を変更することも利用できる。例えば図54の例では、縦横の区切り線の内、横軸を実線DL2とし、縦軸を破線DL3としている。これにより、特定パターンのみで方向性を規定でき、方向性が定まれば、上述の通り左下の原点を基準として各シンボルの座標位置を特定できる。   If the direction cannot be determined by the symbol pattern, for example, as shown in FIG. 54, in the case of a graphic symbol SB2 (in this case, a QR code finder pattern) having the same shape when viewed from the top, bottom, left, or right, a specific pattern It is necessary to define the direction only by. At this time, in addition to the L-shaped pattern described above, it is also possible to change the line type of the dividing line. For example, in the example of FIG. 54, the horizontal axis is the solid line DL2 and the vertical axis is the broken line DL3 among the vertical and horizontal dividing lines. Thereby, the directivity can be defined only by the specific pattern, and if the directivity is determined, the coordinate position of each symbol can be specified based on the origin at the lower left as described above.

なお、特定パターンは、上述したリンクデータ等と同様、常に一定の印字条件(特定印字条件)で印字する。いいかえると、サンプルコードのように印字条件を変化させない。特定パターンの印字条件を変化させて、部分的に特定パターンが印字されない状態になると、印字位置の特定が困難となるためである。よって、特定パターンはサンプルコードとは別の印字条件に設定される。   Note that the specific pattern is always printed under a constant printing condition (specific printing condition) as in the case of the link data described above. In other words, the printing conditions are not changed like the sample code. This is because it is difficult to specify the printing position when the printing condition of the specific pattern is changed and the specific pattern is not partially printed. Therefore, the specific pattern is set to a printing condition different from that of the sample code.

ただ、特定パターンが部分的に印字されないことがあっても、特定パターン推定手段によって他の部分から補間することも可能である。特定パターン推定手段は、画像処理等、線の補間を行う既知の手段が利用できる。例えば、ワークの材質が部分的に変化している場合や、表面に凹凸や曲面が含まれている場合等、下地の影響で直線の印字が部分的に途切れることが考えられる。このような場合でも、直線であれば画像処理によって失われた部分を類推して補間できる。また、後述する図60の例のように特定パターンを円形とする場合でも同様に、円弧の他の部分から補間できる。なお、下地を前処理で印字しやすくするように、下地加工処理用の条件を設定できることは上述の通りである。
(特定パターンを用いたサンプル印字パターンにおける印字品質評価手順)
However, even if the specific pattern is not partially printed, it is possible to interpolate from other parts by the specific pattern estimation means. As the specific pattern estimation means, known means for performing line interpolation, such as image processing, can be used. For example, when the material of the workpiece is partially changed, or when the surface includes irregularities or curved surfaces, it is possible that the printing of the straight line is partially interrupted due to the influence of the groundwork. Even in such a case, if it is a straight line, the portion lost by the image processing can be estimated and interpolated. Further, even when the specific pattern is circular as in the example of FIG. 60 described later, similarly, interpolation can be performed from other parts of the arc. In addition, as described above, the conditions for the base processing can be set so that the base can be easily printed by the preprocessing.
(Print quality evaluation procedure for sample print patterns using specific patterns)

次に、このような特定パターンを用いたサンプル印字パターンで、印字品質評価を行う手順を、図55のフローチャートに基づいて説明する。この図において、ステップS5501〜S5502は、上述した図24のフローチャートと同一であり、説明を省略する。ステップS5502で分析が終了すると、ステップS5503’で必要に応じて画像の合成を行う。この特定パターンでは、サンプル印字パターンの全体像を取得した上で、印字位置を把握する。いいかえると、サンプル印字パターンの一部を撮像した部分画像では、印字位置を特定できない。よって、複数枚に分けて撮像する場合は、得られた部分画像を合成する作業が必要となる。画像構成は、画像処理によって画像に含まれる共通部分を認識し、これらを重ねるように合成する他、所定の分割パターンが決まっている場合は、これに従って順次撮像した画像を順次繋げていく。また、画像合成の処理は、他の処理と並列して行うこともできる。なお、一枚の撮像画像でサンプル印字パターンの全体像が撮像できる場合は、このステップは不要となる。この後のステップS5503以降は、図24のステップS2403以降と同一となり、特定パターン抽出手段64で抽出された特定パターンから印字位置が特定され、印字条件が特定される。
(区切りパターンから座標情報を規定する場合)
Next, the procedure for evaluating the print quality with the sample print pattern using such a specific pattern will be described based on the flowchart of FIG. In this figure, steps S5501 to S5502 are the same as those in the flowchart of FIG. When the analysis ends in step S5502, an image is synthesized as necessary in step S5503 '. In this specific pattern, the print position is grasped after obtaining the entire image of the sample print pattern. In other words, the print position cannot be specified in the partial image obtained by capturing a part of the sample print pattern. Therefore, when the images are divided into a plurality of images, it is necessary to synthesize the obtained partial images. The image configuration recognizes common parts included in the image by image processing and combines them so that they are overlapped. In addition, when a predetermined division pattern is determined, sequentially captured images are sequentially connected. Also, the image composition process can be performed in parallel with other processes. Note that this step is not necessary if the entire sample print pattern can be captured with a single captured image. Subsequent steps S5503 and subsequent steps are the same as steps S2403 and subsequent steps in FIG. 24, and the print position is specified from the specific pattern extracted by the specific pattern extracting means 64, and the print condition is specified.
(When specifying coordinate information from a delimiter pattern)

以上の方法では、区切り線の全体から座標位置を特定するために、サンプル印字パターンの全体を撮像する必要がある。ただ、サンプル印字条件を変化させてサンプル印字する場合は、多くの条件に変化させる結果、視認困難な程に薄く印字されたサンプルコードも存在し得る。このようなサンプルコードの印字条件が不適切であることは明白であるが、このような場合でもサンプル印字パターンの全体像を常に撮像しなければならないとすれば、効率が悪くなることも考えられる。特に、撮像視野を広くしようとすれば解像度が低下するため、デコードが困難になる。このため、ある程度の解像度を確保しようとすれば、一度の撮像で含めることのできる視野範囲は制限される。一方で、サンプル印字条件の変化範囲や変化幅、サンプルコードのサイズによっては、サンプル印字パターンの大きさが大きくなることもある。このようなことから、サンプル印字パターンの全体像でなく、部分的に切り出した画像からでも印字位置の特定が可能である方が好都合な場合が多いと言える。次に、サンプル印字パターンの一部のみからでも印字位置の特定を可能とした印字位置特定方法について、図56、図57に基づいて説明する。   In the above method, it is necessary to image the entire sample print pattern in order to specify the coordinate position from the entire dividing line. However, when sample printing is performed while changing the sample printing conditions, there are also sample codes printed as thin as difficult to visually recognize as a result of changing to many conditions. It is obvious that the printing conditions of such sample code are inappropriate, but even in such a case, if the entire image of the sample printing pattern has to be always taken, it may be inefficient. . In particular, if the imaging field of view is to be widened, the resolution is lowered, and decoding becomes difficult. For this reason, if a certain level of resolution is to be ensured, the visual field range that can be included in a single imaging operation is limited. On the other hand, the size of the sample print pattern may become large depending on the change range and change width of the sample print condition and the size of the sample code. For this reason, it can often be said that it is more convenient to be able to specify the print position not only from the whole image of the sample print pattern but also from a partially cut out image. Next, a print position specifying method capable of specifying the print position from only a part of the sample print pattern will be described with reference to FIGS.

図56の例では、シンボルSBにQRコードを用いているため、方向性は自ずと判別できる。すなわち、縦軸と横軸は共通にできる。そして、原点からX軸方向、Y軸方向に何番目の区切り線であるかを区別できるように、線種を変更している。この例では、1本目を実線、2本目を破線、3本目を一点鎖線としている。これにより、任意のサンプルコードを撮像する場合でも、その周囲に印字した区切り線を含めておくことで、このサンプルコードの印字位置を特定できる。線種の区別は、図1の識別情報認識手段67により行われる。具体的には、パターンサーチやエッジ検出等によって、区切り線を検出し、シンボルの周囲の区切り線の線種をそれぞれ特定し、この組み合わせに対応する印字位置を、対応関係記録手段に保持された対応テーブルを参照して取得する。   In the example of FIG. 56, since the QR code is used for the symbol SB, the directionality can be naturally determined. That is, the vertical axis and the horizontal axis can be made common. Then, the line type is changed so that the number of the dividing line in the X-axis direction and the Y-axis direction from the origin can be distinguished. In this example, the first line is a solid line, the second line is a broken line, and the third line is a one-dot chain line. Thereby, even when an arbitrary sample code is imaged, the print position of this sample code can be specified by including a separator line printed around it. The line types are distinguished by the identification information recognition means 67 shown in FIG. Specifically, the separator line is detected by pattern search, edge detection, etc., the line type of the separator line around the symbol is specified, and the print position corresponding to this combination is held in the correspondence recording means. Get by referring to the correspondence table.

また、シンボルにQRコードのような方向性を規定できるコードを用いない場合でも、図57に示すように縦横の線種をすべて変更することで、同様に区切り線から印字位置を判別できる。図57の例では、縦軸の1本目を鎖線とし、2本目を一点鎖線、3本目を二点鎖線とし、他方横軸の1本目を実線、2本目を短い一点鎖線、3本目を点線としている。この結果、どの印字位置のサンプルコードを撮像しても、シンボルSB2を囲む周囲の区切り線が4本とも異なるため、そのパターンの組み合わせを調べることで、印字位置を特定できるようになる。   Even when a code such as a QR code that can define the directionality is not used for the symbol, the print position can be similarly determined from the dividing line by changing all the vertical and horizontal line types as shown in FIG. In the example of FIG. 57, the first vertical axis is a chain line, the second is a one-dot chain line, the third is a two-dot chain line, and the first horizontal axis is the solid line, the second is a short one-dot chain line, and the third is a dotted line. Yes. As a result, no matter which print position sample code is imaged, the surrounding separator lines surrounding the symbol SB2 are different from the four, so the print position can be specified by examining the combination of the patterns.

なお、このように区切りパターンから座標を決定する場合、X座標、Y座標それぞれの一方向について、シンボルを挟む2本の区切りパターンの線種で位置を判断できる。識別できる組み合わせの数は、区切り線の線種がN種類の場合、2Nとなる。例えば線種が直線と破線の2種類の場合は、22=4種類の座標位置を区別できる。同様に線種が3種類の場合は、23=8種類の座標位置、線種が4種類の場合は、24=16種類の座標位置が、それぞれ区別可能となる。このような線種の組み合わせで一方向の座標位置を確認できるので、上述の通り、シンボルで方向性を規定できる場合は一方向のみを、シンボルで方向性を規定できない場合は、X方向とY方向にそれぞれ、異なる線種の組み合わせを適用して、座標位置すなわちシンボルの印字位置の特定が可能となる。 When the coordinates are determined from the delimiter pattern in this way, the position can be determined by the line types of the two delimiter patterns sandwiching the symbol in one direction of each of the X coordinate and the Y coordinate. The number of combinations that can be identified is 2 N when there are N types of separator lines. For example, when there are two types of line types, a straight line and a broken line, 2 2 = 4 types of coordinate positions can be distinguished. Similarly, when there are three line types, 2 3 = 8 types of coordinate positions, and when there are four line types, 2 4 = 16 types of coordinate positions can be distinguished. Since the coordinate position in one direction can be confirmed by such a combination of line types, as described above, when the directionality can be defined by the symbol, only one direction can be confirmed, and when the directionality cannot be defined by the symbol, the X direction and the Y direction By applying a combination of different line types in each direction, it is possible to specify the coordinate position, that is, the symbol printing position.

また、区切り線の区別について、線種以外に区切り線の本数で区別することも可能である。例えば図58に示すように、横軸の区切り線を1本線、縦軸の区切り線を2本線にすることで、縦横の方向性を区別できるようになる。   In addition, it is possible to distinguish the dividing lines by the number of dividing lines in addition to the line type. For example, as shown in FIG. 58, the horizontal and vertical directions can be distinguished by setting the horizontal dividing line to one line and the vertical axis to two dividing lines.

さらに、区切り線を複数線とする際に、これを構成する各線の線種を変更することで、さらに多くの組み合わせを表現できる。例えば図59に示すように、区切り線を2本で構成した内、座標軸を示す線は、実線と実線の組み合わせとし、他の区切り線を実線と破線の組み合わせとすることで、座標軸を他と区別できる。また座標軸以外の区切り線で、各線の線種の組み合わせを変更すれば、これらを相互に区別することも可能となる。さらに複数線の本数も2本に限らず、3本以上としてもよい。また、直線に限らず、波線や鋸刃状線としたり、点線のドットを点や□、△や菱形、輪郭のみの中抜き点で構成する等、線種を区別可能な変形や装飾を適宜利用できる。   Furthermore, when the dividing line is a plurality of lines, more combinations can be expressed by changing the line type of each line constituting the dividing line. For example, as shown in FIG. 59, among the two separator lines, the line indicating the coordinate axis is a combination of a solid line and a solid line, and the other separator line is a combination of a solid line and a broken line. Can be distinguished. Moreover, if the combination of the line types of each line is changed at a dividing line other than the coordinate axes, these can be distinguished from each other. Further, the number of the plurality of lines is not limited to two and may be three or more. Not only straight lines but also wavy lines and saw-toothed lines, and dotted dots are composed of dots, □, Δ, rhombus, outline only hollow points, etc. Available.

さらに以上の例では、特定パターンを直線状で構成する例を説明したが、特定パターンは曲線を含むこともできる。例えば図60に示すように、特定パターンの区切り線を、サンプルコードを囲む円形DL3にすることもできる。このような特定パターンであっても、シンボルにQRコードのように方向性を規定できるタイプを利用すれば、サンプル印字パターンの方向性を確定でき、また全体像から左下等の基準域を基点に印字位置を特定できる。さらに、上記と同様、特定パターンの線種を変更することで、方向性や基準位置を規定することもできる。例えば左下に位置する円形区切り線のみを破線で印字すれば、これを抽出することで、姿勢と基準位置を特定できる。あるいは、図61に示すように、各シンボルに付す特定パターンに、シンボルの左下に個別に鉤状パターンLP2を付加することで、個別のサンプルコードのみを撮像しても方向性を判別でき、サンプル印字パターンの全体像を撮像する手間を省くことができる。
(特定パターン錦別情報を持たせたサンプル印字パターンにおける印字品質評価手順)
Further, in the above example, the example in which the specific pattern is configured in a straight line has been described. However, the specific pattern may include a curve. For example, as shown in FIG. 60, the partition line of the specific pattern can be a circular DL3 surrounding the sample code. Even if it is such a specific pattern, the direction of the sample print pattern can be determined by using a type that can specify the directionality like a QR code for the symbol, and the reference area such as the lower left of the whole image can be used as a base point. The print position can be specified. Further, as described above, the directionality and the reference position can be defined by changing the line type of the specific pattern. For example, if only the circular dividing line located in the lower left is printed with a broken line, the posture and the reference position can be specified by extracting this. Alternatively, as shown in FIG. 61, by adding a saddle-shaped pattern LP2 individually to the lower left of a symbol to a specific pattern attached to each symbol, the directionality can be determined even if only individual sample codes are imaged. It is possible to save the trouble of capturing the entire print pattern.
(Procedure for evaluating print quality in sample print patterns with specific pattern information)

次に、このようにシンボルに特定情報を含ませず(あるいは方向性を区別する情報のみを持たせ)、特定パターンに識別情報を含ませたサンプルコードを用いて、印字品質評価を行う際の、分析手順(図24のフローチャートにおけるステップS2402)について、図62のフローチャートに基づいて説明する。この図において、ステップS6201〜ステップS6209は、上述した図35のステップS3501〜ステップS3509と同様である。   Next, when the print quality evaluation is performed using the sample code in which the identification information is included in the specific pattern without including the specific information in the symbol (or having only information for distinguishing the directionality) as described above. The analysis procedure (step S2402 in the flowchart of FIG. 24) will be described based on the flowchart of FIG. In this figure, steps S6201 to S6209 are the same as steps S3501 to S3509 in FIG. 35 described above.

ステップS6209において、すべてのコードの印字スコアの計算が完了すると、ステップS6210に進み、座標情報を取得する。具体的には、識別情報、ここでは特定パターンに基づいて、座標位置、すなわちこの特定パターンが付されたシンボルの、サンプル印字パターンにおける印字位置を特定する。ここでは、シンボルの周囲に付された特定パターンを特定パターン抽出手段64で抽出し、この特定パターンから、このシンボルの座標位置を取得する。具体的には、上述の通り図1の識別情報認識手段67が、シンボルの周囲の区切り線の線種をそれぞれ特定して、この組み合わせに対応する印字位置を、対応関係記録手段に保持された対応テーブルを参照して取得する。このようにして印字位置が取得されると、図24のステップS2403以降に従って、結果が出力される。   In step S6209, when calculation of the print scores of all codes is completed, the process proceeds to step S6210, and coordinate information is acquired. Specifically, based on the identification information, here, the specific pattern, the coordinate position, that is, the print position in the sample print pattern of the symbol with the specific pattern is specified. Here, the specific pattern attached around the symbol is extracted by the specific pattern extracting means 64, and the coordinate position of the symbol is acquired from the specific pattern. Specifically, as described above, the identification information recognition unit 67 in FIG. 1 specifies the line types of the separator lines around the symbols, and the print position corresponding to this combination is held in the correspondence recording unit. Get by referring to the correspondence table. When the print position is acquired in this way, the result is output according to step S2403 and subsequent steps in FIG.

なお、この例ではすべてのコードの印字スコア計算を完了した後、各コードの座標を纏めて取得しているが、この方法に限られるものでない。例えば、各コードについてスコア計算後、座標位置を取得した後、他のコードのスコア計算に進むような手順とすることもできる。   In this example, the coordinates of each code are obtained collectively after completing the print score calculation for all the codes, but the present invention is not limited to this method. For example, the procedure may be such that after calculating the score for each code, after obtaining the coordinate position, the process proceeds to calculating the score of another code.

このように、サンプルコードの印字位置を示す識別情報は、必ずしもシンボルにエンコードする必要はなく、特定パターンにそのような識別情報を組み入れると共に、そのパターンを個々の印字条件と予め対応付けておくことで、対応関係から印字条件を特定できるようになる。またこの構成では、シンボルに識別情報を持たせる必要がないため、各シンボルを小さくでき、サンプル印字パターン全体の印字に必要な印字領域を小さくできる利点が得られる。
(実施例3)
As described above, the identification information indicating the printing position of the sample code does not necessarily need to be encoded into the symbol, and such identification information is incorporated into the specific pattern and the pattern is associated with each printing condition in advance. Thus, the printing conditions can be specified from the correspondence. Further, in this configuration, since it is not necessary to give identification information to the symbols, each symbol can be made small, and there is an advantage that the print area necessary for printing the entire sample print pattern can be made small.
(Example 3)

上述の通り、サンプルコードを構成するシンボルと特定パターンは、シンボルで印字品質を評価し、特定パターンで印字位置を特定するという機能をそれぞれ果たしている。以上の例では、シンボルとして主に2次元コードを用いた例を説明した。2次元コードを用いる場合は、印字位置等の識別情報を2次元コードにエンコードすることができる。ただ、何らかの情報をエンコードすることが可能な、完全なコードを用いなくとも、印字品質を評価できる程度のシンボルであれば、印字品質評価の目的を達成できる。特に、シンボルを完全なコードにする場合は、情報のエンコードのために相応のサイズが必要となるが、印字対象のワークによっては、十分な印字サイズが確保できないこともある。また、可変パラメータを細かく変化させる場合も、サンプルコードの数が増えるためにサンプル印字パターンが大きくなる。そこで、情報のエンコードができなくとも、印字パラメータの値が確定できる程度に印字品質の評価が可能なシンボルを用いることで、必要な印字領域を抑制し、またより多くの可変パラメータに対して評価が可能となる。以下、このようなシンボルの例を、図63〜図77に基づいて説明する。なお、これらの例では、シンボルは印字品質評価を企図しており、印字位置の特定は、上述した通り特定パターンが担う。   As described above, the symbol and the specific pattern constituting the sample code each fulfill the functions of evaluating the print quality with the symbol and specifying the print position with the specific pattern. In the above example, an example in which a two-dimensional code is mainly used as a symbol has been described. When a two-dimensional code is used, identification information such as a printing position can be encoded into the two-dimensional code. However, the purpose of print quality evaluation can be achieved with a symbol that can evaluate print quality without using a complete code that can encode some information. In particular, when a symbol is a complete code, a suitable size is required for encoding information, but depending on the work to be printed, a sufficient print size may not be ensured. Also, when the variable parameter is changed finely, the sample print pattern becomes large because the number of sample codes increases. Therefore, even if the information cannot be encoded, the necessary print area is suppressed by using symbols that can evaluate the print quality to such an extent that the print parameter value can be determined, and more variable parameters can be evaluated. Is possible. Hereinafter, examples of such symbols will be described with reference to FIGS. In these examples, the symbols are intended for evaluation of print quality, and the print position is specified by the specific pattern as described above.

なお印字品質の評価とは、必ずしもシンボルがデコード可能であることを意味せず、シンボルのセルサイズを認識可能であることや、白黒のコントラストを認識可能であること等も含む。また、複数のセル間の印字品質評価であれば、コントラストや印字均一性が挙げられ、単一のセルの印字品質評価であれば、太り細りやエッジ強度(エッジ鮮明度)等の形状が挙げられる。
(評価パターン)
The evaluation of the print quality does not necessarily mean that the symbol can be decoded, but includes that the cell size of the symbol can be recognized, and that the contrast of black and white can be recognized. In addition, for print quality evaluation between a plurality of cells, contrast and print uniformity can be mentioned. For print quality evaluation of a single cell, shapes such as thinning and edge strength (edge sharpness) can be mentioned. It is done.
(Evaluation pattern)

シンボルの印字品質評価を行うためのパターンとして、シンボルを構成する最小単位であるセルの、印字品質評価を行える単位にて形成されたパターンとして、評価パターンを印字する。ここでは、評価パターンを構成するセルが意図した形状に正しく印字できているかを評価する。また、上述したシンボルに代わって評価パターンを印字すると共に、上述した特定パターンを付加する。これにより、評価パターンの周囲に付された区切り線等の特定パターンを認識することで、評価パターン同士の相対位置、すなわち印字位置を特定できる。   An evaluation pattern is printed as a pattern formed by a unit capable of evaluating the print quality of a cell, which is a minimum unit constituting the symbol, as a pattern for evaluating the print quality of the symbol. Here, it is evaluated whether the cells constituting the evaluation pattern are correctly printed in the intended shape. In addition, the evaluation pattern is printed in place of the symbol described above, and the specific pattern described above is added. Thereby, the relative position of the evaluation patterns, that is, the print position can be specified by recognizing a specific pattern such as a dividing line attached around the evaluation pattern.

評価パターンの例を、図63、図64に示す。これらの印字品質評価を行うには、評価パターンを撮像した撮像画像中の個別パターンについて、スコア化を行う。ここでは、照明の明るさを変化させて、取得した複数のスコアを用いて印字スコアを計算する。印字スコアの計算については、実施例1で説明した方法と同様に、例えば各スコア値の合計値等を用いることができる。   Examples of evaluation patterns are shown in FIGS. In order to perform these print quality evaluations, scoring is performed for individual patterns in the captured image obtained by capturing the evaluation pattern. Here, the printing score is calculated using a plurality of acquired scores by changing the brightness of the illumination. For the calculation of the print score, for example, the total value of each score value can be used as in the method described in the first embodiment.

図63の評価パターンEP1は、白黒セルを2×2セルの格子状に並べている。この評価パターンの印字品質評価は、白セル、黒セルの輝度値を個別に取得し、コントラスト、均一性を計算する。また、白セル、黒セルの形状を評価し、太り細りやエッジ鮮明度(エッジ強度)を計算する。   In the evaluation pattern EP1 in FIG. 63, black and white cells are arranged in a 2 × 2 cell grid. In this evaluation pattern print quality evaluation, brightness values of white cells and black cells are individually acquired, and contrast and uniformity are calculated. Also, the shape of white cells and black cells is evaluated, and the thickness and edge sharpness (edge strength) are calculated.

一方、図64はQRコード等に用いられるファインダパターン(FP)形状である。このファインダパターン形状の評価パターンEP2は、QRコードのFP検出と同様に、線幅データの比率からサーチを行うことができる。例えば、QRコードのファインダパターンは、縦横の中心線で白セルと黒セルの比率が、(1:1:3:1:1)となるように規格化されている。このため、この評価パターンEP2の印字品質評価は、中央の黒部分で、印字色の明るさ、均一性を取得する。また白枠部分から、背景色の明るさ、均一性を取得する。これによって、コントラストと均一性を計算できる。さらに白枠の太さを取得し、太り細りを計算できる。さらにまた、白枠、黒枠のエッジを評価することで、エッジ鮮明度を計算できる。
(評価計算の具体例)
On the other hand, FIG. 64 shows a finder pattern (FP) shape used for a QR code or the like. The finder pattern shape evaluation pattern EP2 can be searched from the ratio of the line width data, as in the FP detection of the QR code. For example, the finder pattern of QR code is standardized so that the ratio of white cells to black cells is (1: 1: 3: 1: 1) in the vertical and horizontal center lines. Therefore, the print quality evaluation of this evaluation pattern EP2 acquires the brightness and uniformity of the print color at the central black portion. Also, the brightness and uniformity of the background color are acquired from the white frame portion. This allows the contrast and uniformity to be calculated. Furthermore, the thickness of the white frame can be acquired and the thickness can be calculated. Furthermore, the edge definition can be calculated by evaluating the edges of the white frame and the black frame.
(Specific example of evaluation calculation)

ここで評価パターンの評価方法の具体例を、図65〜図71に基づいて説明する。まず、コードの画素値を計算する。例えば、図64のようなファインダパターン状評価パターンEP2を撮像して、図65のような撮像画像が撮像された場合を考える。これを画像処理等により、図66のように対象領域OAを確定して、この対象領域OA内の画素値を計算し、図67に示すようなヒストグラムHGを得る。このヒストグラムHGにおいて、左側の楕円で囲んだ領域が中央の黒色四角形の領域(黒領域)に対応し、また右側の楕円で囲んだ領域が、黒領域を囲む周囲の白色の領域(白領域)に、それぞれ対応する。また、黒領域を図65の画像上で示すと図68のようになり、白領域は図69で示す矩形同士で挟まれた領域となる。   Here, a specific example of the evaluation pattern evaluation method will be described with reference to FIGS. First, the pixel value of the code is calculated. For example, consider a case where a finder pattern-like evaluation pattern EP2 as shown in FIG. 64 is picked up and a picked-up image as shown in FIG. 65 is picked up. By subjecting this to image processing or the like, the target area OA is determined as shown in FIG. 66, the pixel values in the target area OA are calculated, and a histogram HG as shown in FIG. 67 is obtained. In this histogram HG, the area surrounded by the left ellipse corresponds to the central black square area (black area), and the area surrounded by the right ellipse is the surrounding white area (white area) surrounding the black area. Respectively. Further, when the black area is shown on the image of FIG. 65, it is as shown in FIG. 68, and the white area is an area sandwiched between the rectangles shown in FIG.

ここで、コントラストは(白領域の平均)−(黒領域の平均)で、均一性は(白領域の標準偏差)+(黒領域の標準偏差)で、それぞれ表すことができる。   Here, the contrast can be expressed by (average of white area) − (average of black area), and uniformity can be expressed by (standard deviation of white area) + (standard deviation of black area).

またエッジの解析に関して、枠の太さはエッジ間の距離で、エッジ鮮明度はエッジ位置の微分波形の値で、それぞれ表現できる。例えば図70に示す矩形状において、エッジ位置を検出するため、X方向に走査し、Y方向に平均化した様子を、図71のグラフに示す。このグラフにおいて、太線は画素値を、細線はその微分値を、それぞれ示している。このように、微分波形のピークを、エッジとして認識する。
(パターンのスケーラビリティ)
Regarding edge analysis, the thickness of the frame can be expressed by the distance between the edges, and the edge sharpness can be expressed by the value of the differential waveform at the edge position. For example, in the rectangular shape shown in FIG. 70, the state of scanning in the X direction and averaging in the Y direction to detect the edge position is shown in the graph of FIG. In this graph, the thick line indicates the pixel value, and the thin line indicates the differential value. In this way, the peak of the differential waveform is recognized as an edge.
(Pattern scalability)

上述した図63では、2×2セルの白黒セルという極小サイズで格子状+を構成した。しかしながら、印字領域の周囲にノイズが多い場合や、ワークの材質等の要因で印字品質がばらついて特性が安定しないような場合は、このような小サイズでは評価が困難となる。そこで、印字側の情報量を増やして、データの平均化やばらつきの評価を行うことが好ましい。このような例として、例えば図63の2×2セルの格子状評価パターンを、図72の評価パターンEP3のように3×3セルとしたり、図73の評価パターンEP4のように4×4セルに増やした格子状評価パターンとする。あるいは図64のファインダパターン状評価パターンEP2を、(1:1:2:1:1)から、図74に示す評価パターンEP5のように(1:1:3:1:1)、又は図75の評価パターンEP6に示すように(1:1:4:1:1)の比率となるよう、評価パターンを大きくすることもできる。このように評価サイズを大きくすることで、ノイズやばらつきの影響を低減し、より安定した印字品質の評価が可能となる。
(方向性特定パターン)
In FIG. 63 described above, a grid-like + is formed with a minimum size of 2 × 2 black and white cells. However, when there is a lot of noise around the print area, or when the print quality varies due to factors such as the material of the workpiece and the characteristics are not stable, evaluation with such a small size becomes difficult. Therefore, it is preferable to increase the amount of information on the print side and perform data averaging and evaluation of variation. As such an example, for example, the 2 × 2 cell grid evaluation pattern of FIG. 63 is changed to 3 × 3 cells as in the evaluation pattern EP3 of FIG. 72, or 4 × 4 cells as of the evaluation pattern EP4 of FIG. The grid-like evaluation pattern is increased. Alternatively, the finder pattern-like evaluation pattern EP2 in FIG. 64 is changed from (1: 1: 2: 1: 1) to the evaluation pattern EP5 shown in FIG. 74 (1: 1: 3: 1: 1), or FIG. As shown in the evaluation pattern EP6, the evaluation pattern can be enlarged so as to have a ratio of (1: 1: 4: 1: 1). By increasing the evaluation size in this way, it is possible to reduce the influence of noise and variations and to evaluate more stable printing quality.
(Direction specific pattern)

なお、上記の例ではいずれも、評価パターンのみでは方向性の区別ができない、対称形状の例を示した。ただ、このような形状に限らず、評価パターンに方向性の区別が可能な形状を持たせることも可能である。例えば、図73の格子状評価パターンEP4を、図76に示すような評価パターンEP7に変更する。図76の評価パターンは、方向性を規定する方向性特定パターンとして、左下に鉤状パターンLP3を重ねている。これにより、上述した図61と同様に非対称な形状となって、姿勢の特定が可能となる。また図75のファインダパターン状評価パターンEP6を、図77に示す評価パターンEP8のように変更する。この例では、原点付近、すなわち左下のパターンを階段状パターンLP4に変更しているので、この部分を画像処理等で検出することで、同様に評価パターンの姿勢を把握できる。これによって、評価パターンで方向性を確定できるので、特定パターンで方向性を規定せずとも印字位置の特定が実現できるようになる。   In each of the above examples, an example of a symmetrical shape is shown in which the directionality cannot be distinguished only by the evaluation pattern. However, the shape is not limited to such a shape, and the evaluation pattern may have a shape that can distinguish the directionality. For example, the grid-like evaluation pattern EP4 in FIG. 73 is changed to an evaluation pattern EP7 as shown in FIG. In the evaluation pattern of FIG. 76, a hook-like pattern LP3 is superimposed on the lower left as a directionality specifying pattern that defines the directionality. Thereby, it becomes an asymmetrical shape like FIG. 61 mentioned above, and an attitude | position can be specified. Also, the finder pattern evaluation pattern EP6 in FIG. 75 is changed to an evaluation pattern EP8 shown in FIG. In this example, since the pattern near the origin, that is, the lower left pattern is changed to the stepped pattern LP4, the posture of the evaluation pattern can be grasped similarly by detecting this portion by image processing or the like. As a result, the directionality can be determined with the evaluation pattern, so that the print position can be specified without specifying the directionality with the specific pattern.

以上のようにして、印字品質評価装置は、サンプル印字されたサンプルコードの印字品質を計算して、最も読み取りに適した印字条件を定量的に判断できる。この結果を、レーザマーキング装置にフィードバックすることで、ユーザの目視による判断よりも的確に、読取安定度の向上したレーザマーキングを実現できる。   As described above, the print quality evaluation apparatus can calculate the print quality of the sample code printed with the sample and quantitatively determine the print condition most suitable for reading. By feeding this result back to the laser marking device, laser marking with improved reading stability can be realized more accurately than the user's visual judgment.

本発明の印字品質評価システム、レーザマーキング装置、印字条件設定装置、印字品質評価装置、印字条件設定プログラム、印字品質評価プログラム、コンピュータで読み取り可能な記録媒体は、レーザマーキング装置でワークに印字する二次元コードを二次元コードリーダで読み取って評価し、その結果をレーザマーキング装置の印字条件にフィードバックするシステムに好適に利用できる。   A printing quality evaluation system, a laser marking device, a printing condition setting device, a printing quality evaluation device, a printing condition setting program, a printing quality evaluation program, and a computer-readable recording medium according to the present invention are printed on a workpiece with a laser marking device. It can be suitably used for a system that reads and evaluates a dimension code with a two-dimensional code reader and feeds back the result to the printing conditions of the laser marking device.

1000…レーザマーキング装置
2000…光学情報読取システム
100…マーキング部
200…印字条件設定部;200A…印字条件設定装置
300…光学情報読取装置
400…印字品質評価装置
10…レーザ制御部;1A…コントローラ
11…レーザ制御回路
12…レーザ励起部
13…励起電源
14…印字メモリ部;14B…印字記憶部
15…光ファイバケーブル
20…レーザ出力部
21…レーザ発振部
22…レーザ媒質
23…ビームエキスパンダ
24…集光部
25…スキャナ駆動回路
26…レーザ光走査部
27…スキャナ
27a…X軸スキャナ;27b…Y軸スキャナ;27c…Z軸スキャナ
27d…ポインタ用スキャナミラー
28、28a、28b…ガルバノモータ
29A…ガイド用光源;29a…ハーフミラー
29B…ポインタ用光源;29b…固定ミラー
31…印字操作手段
32…パラメータ設定手段
33…印字条件生成手段
34…印字データ生成手段
35…印字データ出力手段
36…識別情報参照手段
37…設定表示手段
38…印字情報コード設定手段
38a…リンクデータ印字チェックボックス;38b…セルサイズ指定欄
40…印字演算部
51…撮像手段
52…撮像制御手段
53…復号化手段
54…内部照明ユニット
55…外部照明ユニット
56…シンボル抽出手段
61…画像取得手段
62…抽出手段
63…シンボル抽出手段
64…特定パターン抽出手段
65…印字品質評価手段
66…認識手段
67…識別情報認識手段
68…印字位置認識手段
69…復号化手段
70…対応関係記憶手段
71…評価操作手段
72…評価表示手段
73…対象領域設定手段
202…編集表示欄
204…印字パターン入力欄;204a…加工種類指定欄;204b…文字入力欄
204c…詳細設定欄;204d…文字データ指定欄;204e…「印字データ」タブ
204f…「サイズ・位置」タブ;204g…「印字条件」タブ
204h…「基本設定」タブ;204i…「形状設定」タブ
204j…「詳細設定」タブ;204q…種別指定欄
206…三次元ビューワ欄
208…「テスト印字」ボタン
209…「サンプル印字」ボタン
210…テンプレート選択画面
211…ステップ表示欄
213…テンプレートボタン群
215…「転送・読出し」ボタン
220…第一サンプル印字条件設定画面;220B…第二サンプル印字条件設定画面
221…印字データ指定欄;221a…コード種別指定欄;221b…セルサイズ指定欄
221c…印字線幅指定欄;221d…ドット数指定欄;221e…印字方法指定欄
222…サンプル印字条件指定欄
223…可変パラメータ設定欄;223a…縦軸スライダ;223b…横軸スライダ
224…固定パラメータ設定欄
225…レイアウト設定欄
226…「詳細設定」ボタン
227…条件レポート選択欄
228…印字線幅詳細ボタン
230A、230B…詳細設定画面;
231A…「印字情報」タブ;231B…「2次元コード」タブ
232…座標軸表示手段
233…条件レポート表示手段
234…文字高さ指定欄
235…特定印字条件指定手段
236…種別選択欄
237…詳細設定欄
238…下地加工条件設定欄
240…印字線幅詳細設定画面
242…印字モード設定欄
243…印字モード選択手段
244…「トリガ」ボタン
245…条件選択欄
246…「次ステップへ」ボタン
247…「印字条件のコピー」ボタン
250…印字条件クリップボード画面
251…条件一覧
252…ブロック一覧
253…「ブロックへ貼り付け」ボタン
254…「閉じる」ボタン
260…光学情報読取装置操作画面
262…「印字最適化」ボタン
270…印字最適化画面
271…表示領域
272…操作領域
273…スコア表示欄;273a…項目欄
274…グラフ表示欄
275…「レポート用データ出力」ボタン
276…「ライブビュー」ボタン
277…「印字情報入力」ボタン
278…「分析」ボタン
279…「チューニング設定」ボタン
280…「クリア」ボタン
281…履歴欄
282、282B…縮小画像
284、284B…等高線表示
285、285B…行列状
290、290B、290C…ライブビュー画面
292…照明設定ボタン
293…プログレスバー
294…チューニング結果表示欄
295…チューニング履歴一覧
296…チューニング結果表示領域
300…照明設定画面
310…チューニング設定画面
311…画質調整方法設定欄
312…明るさ調整方法選択欄
313…オフセット設定欄
314…ダイナミックレンジ設定欄
315…チューニング方法設定欄
320…印字情報入力画面
321…「ライブビュー」ボタン
322…「読み取り実行」ボタン
323…種別選択欄
324…「OK」ボタン
500…印字リスト;501…印字見本
LB…レーザ光;PB…ポインタ光;GB…ガイドレーザ光
WK…ワーク;WS…作業領域
SP…サンプル印字パターン;SL…サンプル印字条件文字列;SC…サンプルコード
SP1…第一サンプル印字パターン;SL1…第一サンプル印字条件文字列
SP2…第二サンプル印字パターン;SL2…第二サンプル印字条件文字列
SC2…第二サンプルコード:
LT…リンクデータ
SP3…サンプル印字パターン
SB、SB2…シンボル;CI…文字列情報
LP…L字状パターン
DL…区切り線;DL2…実線;DL3…破線;DL4…円形
LP2、LP3…鉤状パターン;LP4…階段状パターン
EP1〜EP8…評価パターン
OA…対象領域;HG…ヒストグラム
DESCRIPTION OF SYMBOLS 1000 ... Laser marking apparatus 2000 ... Optical information reading system 100 ... Marking part 200 ... Printing condition setting part; 200A ... Printing condition setting apparatus 300 ... Optical information reading apparatus 400 ... Print quality evaluation apparatus 10 ... Laser control part; 1A ... Controller 11 ... Laser control circuit 12 ... Laser excitation section 13 ... Excitation power supply 14 ... Print memory section; 14B ... Print storage section 15 ... Optical fiber cable 20 ... Laser output section 21 ... Laser oscillation section 22 ... Laser medium 23 ... Beam expander 24 ... Condenser 25 ... Scanner drive circuit 26 ... Laser beam scanning unit 27 ... Scanner 27a ... X-axis scanner; 27b ... Y-axis scanner; 27c ... Z-axis scanner 27d ... Scanner mirrors 28, 28a, 28b for pointers ... Galvano motor 29A ... Light source for guide; 29a ... half mirror 29B ... for pointer 29b ... fixed mirror 31 ... print operation means 32 ... parameter setting means 33 ... print condition generation means 34 ... print data generation means 35 ... print data output means 36 ... identification information reference means 37 ... setting display means 38 ... print information code Setting means 38a ... Link data print check box; 38b ... Cell size designation column 40 ... Print calculation unit 51 ... Imaging means 52 ... Imaging control means 53 ... Decoding means 54 ... Internal illumination unit 55 ... External illumination unit 56 ... Symbol extraction means 61 ... Image acquisition means 62 ... Extraction means 63 ... Symbol extraction means 64 ... Specific pattern extraction means 65 ... Print quality evaluation means 66 ... Recognition means 67 ... Identification information recognition means 68 ... Print position recognition means 69 ... Decoding means 70 ... Correspondence Relation storage means 71... Evaluation operation means 72... Evaluation display means 73... Target area setting means 202. Display field 204 ... print pattern input field; 204a ... processing type designation field; 204b ... character input field 204c ... detail setting field; 204d ... character data designation field; 204e ... "print data" tab 204f ... "size / position"tab; 204g ... "Printing condition" tab 204h ... "Basic setting"tab; 204i ... "Shape setting" tab 204j ... "Detail setting"tab; 204q ... Type designation column 206 ... Three-dimensional viewer column 208 ... "Test printing" button 209 ... "Sample print" button 210 ... Template selection screen 211 ... Step display field 213 ... Template button group 215 ... "Transfer / read" button 220 ... First sample print condition setting screen; 220B ... Second sample print condition setting screen 221 ... Print Data designation field; 221a ... Code type designation field; 221b ... Cell size designation field 2 21c ... Print line width designation field; 221d ... Dot number designation field; 221e ... Printing method designation field 222 ... Sample printing condition designation field 223 ... Variable parameter setting field; 223a ... Vertical axis slider; 223b ... Horizontal axis slider 224 ... Fixed parameter Setting field 225 ... Layout setting field 226 ... "Detailed setting" button 227 ... Condition report selection field 228 ... Print line width details button 230A, 230B ... Detailed setting screen;
231A ... "Print information"tab; 231B ... "Two-dimensional code" tab 232 ... Coordinate axis display means 233 ... Condition report display means 234 ... Character height designation field 235 ... Specific print condition designation means 236 ... Type selection field 237 ... Detailed settings Field 238 ... Background processing condition setting field 240 ... Print line width detailed setting screen 242 ... Print mode setting field 243 ... Print mode selection means 244 ... "Trigger" button 245 ... Condition selection field 246 ... "To next step" button 247 ... " Print condition copy button 250 ... Print condition clipboard screen 251 ... Condition list 252 ... Block list 253 ... "Paste to block" button 254 ... "Close" button 260 ... Optical information reader operation screen 262 ... "Print optimization" Button 270 ... Print optimization screen 271 ... Display area 272 ... Operation area 273 ... Score display 273a ... item column 274 ... graph display column 275 ... "report data output" button 276 ... "live view" button 277 ... "print information input" button 278 ... "analyze" button 279 ... "tuning setting" button 280 ... ""Clear" button 281 ... History column 282, 282B ... Reduced image 284, 284B ... Contour line display 285, 285B ... Matrix 290, 290B, 290C ... Live view screen 292 ... Illumination setting button 293 ... Progress bar 294 ... Tuning result display column 295 ... tuning history list 296 ... tuning result display area 300 ... lighting setting screen 310 ... tuning setting screen 311 ... image quality adjustment method setting field 312 ... brightness adjustment method selection field 313 ... offset setting field 314 ... dynamic range setting field 315 ... tuning Legal setting column 320 ... Print information input screen 321 ... "Live view" button 322 ... "Read execution" button 323 ... Type selection column 324 ... "OK" button 500 ... Print list; 501 ... Print sample LB ... Laser beam; PB ... Pointer beam; GB ... guide laser beam WK ... work; WS ... work area SP ... sample print pattern; SL ... sample print condition character string; SC ... sample code SP1 ... first sample print pattern; SL1 ... first sample print condition character Column SP2 ... second sample print pattern; SL2 ... second sample print condition character string SC2 ... second sample code:
LT ... link data SP3 ... sample print pattern SB, SB2 ... symbol; CI ... character string information LP ... L-shaped pattern DL ... separator line; DL2 ... solid line; DL3 ... broken line; DL4 ... circular LP2, LP3 ... bowl-like pattern; LP4 ... Step-like patterns EP1 to EP8 ... Evaluation pattern OA ... Target area; HG ... Histogram

Claims (23)

印字対象物に対して、印字条件の異なる複数のシンボルを印字可能なレーザマーキング装置と、
前記レーザマーキング装置で印字対象物に印字された、印字条件の異なる複数のシンボルを撮像した撮像画像に基づいて各シンボルの印字品質を評価するための印字品質評価装置と、
を含む印字品質評価システムであって、
前記レーザマーキング装置は、
印字条件を構成する複数の印字パラメータのうち、印字条件を異ならせるための少なくとも一の印字パラメータを可変パラメータとし、その他を固定パラメータとして設定可能なパラメータ設定手段と、
前記パラメータ設定手段で設定された固定パラメータに固定値を代入しつつ、前記パラメータ設定手段で設定された可変パラメータに複数の異なるパラメータ値をそれぞれ代入することで、複数の異なる印字条件を生成するための印字条件生成手段と、
それぞれが特定のシンボルの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定のシンボルよりも大きさの小さい複数の評価パターンを印字データとして生成するための印字データ生成手段と、
前記印字データ生成手段にて生成された複数の評価パターンを、前記印字条件生成手段にて生成された複数の異なる印字条件に基づいて印字するマーキング手段と、
を備え、
前記印字品質評価装置は、
印字対象物に印字された個々の評価パターンを含む撮像画像であって、該評価パターンの印字品質を評価可能な解像度にて撮像された撮像画像を取得するための画像取得手段と、
前記画像取得手段により得られた撮像画像中から、印字品質を評価可能な評価パターンを抽出するための抽出手段と、
前記抽出手段により抽出された評価パターンの印字品質を評価するための印字品質評価手段と、
前記抽出手段により抽出された評価パターンの印字位置を認識するための印字位置認識手段と、
前記抽出手段により抽出された評価パターンに応じて、前記印字品質評価手段による印字品質の評価結果を出力するための評価出力手段と、
を備えることを特徴とする加工品質表示システム。
A laser marking device capable of printing a plurality of symbols with different printing conditions on an object to be printed;
A print quality evaluation device for evaluating the print quality of each symbol based on a captured image obtained by imaging a plurality of symbols with different printing conditions printed on a print object by the laser marking device;
A print quality evaluation system including
The laser marking device is
Parameter setting means capable of setting at least one of the plurality of print parameters constituting the print condition as a variable parameter and different as a fixed parameter for making the print condition different;
In order to generate a plurality of different printing conditions by substituting a plurality of different parameter values for the variable parameter set by the parameter setting unit while substituting a fixed value for the fixed parameter set by the parameter setting unit Printing condition generation means,
Print data generation for generating, as print data, an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific symbol, is combined, each of which is smaller than the specific symbol Means,
Marking means for printing a plurality of evaluation patterns generated by the print data generation means based on a plurality of different printing conditions generated by the printing condition generation means;
With
The print quality evaluation device
An image acquisition means for acquiring a captured image including individual evaluation patterns printed on a print object, the image being captured at a resolution capable of evaluating the print quality of the evaluation pattern;
Extraction means for extracting an evaluation pattern capable of evaluating print quality from the captured image obtained by the image acquisition means;
Print quality evaluation means for evaluating the print quality of the evaluation pattern extracted by the extraction means;
Print position recognition means for recognizing the print position of the evaluation pattern extracted by the extraction means;
In accordance with the evaluation pattern extracted by the extraction unit, an evaluation output unit for outputting a print quality evaluation result by the print quality evaluation unit;
A processing quality display system characterized by comprising:
印字対象物に対して、印字条件の異なる複数のシンボルをレーザマーキング装置で印字するための印字条件を設定するための印字条件設定装置と、
前記印字条件設定装置で設定された印字条件に従って生成された印字データに基づき、レーザマーキング装置で印字対象物に印字された、印字条件の異なる複数のシンボルを撮像した撮像画像に基づいて各シンボルの印字品質を評価するための印字品質評価装置と、
を含む印字品質評価システムであって、
前記印字条件設定装置は、
印字条件を構成する複数の印字パラメータのうち、印字条件を異ならせるための少なくとも一の印字パラメータを可変パラメータとし、その他を固定パラメータとして設定可能なパラメータ設定手段と、
前記パラメータ設定手段で設定された固定パラメータに固定値を代入しつつ、前記パラメータ設定手段で設定された可変パラメータに複数の異なるパラメータ値をそれぞれ代入することで、複数の異なる印字条件を生成するための印字条件生成手段と、
それぞれが特定のシンボルの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定のシンボルよりも大きさの小さい複数の評価パターンを印字データとして生成するための印字データ生成手段と、
前記印字データ生成手段にて生成された複数の評価パターンを、前記印字条件生成手段にて生成された複数の異なる印字条件に基づいて印字するよう、レーザマーキング装置に送出するための印字データ出力手段と、
を備え、
前記印字品質評価装置は、
印字対象物に印字された個々の評価パターンを含む撮像画像であって、該評価パターンの印字品質を評価可能な解像度にて撮像された撮像画像を取得するための画像取得手段と、
前記画像取得手段により得られた撮像画像中から、印字品質を評価可能な評価パターンを抽出するための抽出手段と、
前記抽出手段により抽出された評価パターンの印字品質を評価するための印字品質評価手段と、
前記抽出手段により抽出された評価パターンの印字位置を認識するための印字位置認識手段と、
前記抽出手段により抽出された評価パターンに応じて、前記印字品質評価手段による印字品質の評価結果を出力するための評価出力手段と、
を備え、
前記評価パターンの印字位置がそれぞれ、該評価パターンを印字した印字条件と関連付けられており、
各評価パターンは、セルのパターンを印字位置毎に異なるパターンで印字されてなることを特徴とする加工品質表示システム。
A printing condition setting device for setting a printing condition for printing a plurality of symbols having different printing conditions on a printing object with a laser marking device;
Based on the print data generated in accordance with the print conditions set by the print condition setting device, the laser marking device prints each symbol based on the picked-up image obtained by imaging a plurality of symbols with different print conditions. A print quality evaluation device for evaluating print quality;
A print quality evaluation system including
The printing condition setting device includes:
Parameter setting means capable of setting at least one of the plurality of print parameters constituting the print condition as a variable parameter and different as a fixed parameter for making the print condition different;
In order to generate a plurality of different printing conditions by substituting a plurality of different parameter values for the variable parameter set by the parameter setting unit while substituting a fixed value for the fixed parameter set by the parameter setting unit Printing condition generation means,
Print data generation for generating, as print data, an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific symbol, is combined, each of which is smaller than the specific symbol Means,
Print data output means for sending a plurality of evaluation patterns generated by the print data generation means to a laser marking device so as to print based on a plurality of different print conditions generated by the print condition generation means When,
With
The print quality evaluation device
An image acquisition means for acquiring a captured image including individual evaluation patterns printed on a print object, the image being captured at a resolution capable of evaluating the print quality of the evaluation pattern;
Extraction means for extracting an evaluation pattern capable of evaluating print quality from the captured image obtained by the image acquisition means;
Print quality evaluation means for evaluating the print quality of the evaluation pattern extracted by the extraction means;
Print position recognition means for recognizing the print position of the evaluation pattern extracted by the extraction means;
In accordance with the evaluation pattern extracted by the extraction unit, an evaluation output unit for outputting a print quality evaluation result by the print quality evaluation unit;
With
The printing position of the evaluation pattern is associated with the printing condition for printing the evaluation pattern,
Each evaluation pattern is obtained by printing a cell pattern with a different pattern for each printing position.
印字対象物に対して、印字条件の異なる複数のシンボルを印字可能なレーザマーキング装置であって、
印字条件を構成する複数の印字パラメータのうち、印字条件を異ならせるための少なくとも一の印字パラメータを可変パラメータとし、その他を固定パラメータとして設定可能なパラメータ設定手段と、
前記パラメータ設定手段で設定された固定パラメータに固定値を代入しつつ、前記パラメータ設定手段で設定された可変パラメータに複数の異なるパラメータ値をそれぞれ代入することで、複数の異なる印字条件を生成するための印字条件生成手段と、
それぞれが特定のシンボルの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定のシンボルよりも大きさの小さい複数の評価パターンを印字データとして生成するための印字データ生成手段と、
前記印字データ生成手段にて生成された複数の評価パターンを、前記印字条件生成手段にて生成された複数の異なる印字条件に基づいて印字するマーキング手段と、
を備えることを特徴とするレーザマーキング装置。
A laser marking device capable of printing a plurality of symbols with different printing conditions on a printing object,
Parameter setting means capable of setting at least one of the plurality of print parameters constituting the print condition as a variable parameter and different as a fixed parameter for making the print condition different;
In order to generate a plurality of different printing conditions by substituting a plurality of different parameter values for the variable parameter set by the parameter setting unit while substituting a fixed value for the fixed parameter set by the parameter setting unit Printing condition generation means,
Print data generation for generating, as print data, an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific symbol, is combined, each of which is smaller than the specific symbol Means,
Marking means for printing a plurality of evaluation patterns generated by the print data generation means based on a plurality of different printing conditions generated by the printing condition generation means;
A laser marking device comprising:
請求項3に記載のレーザマーキング装置であって、
前記印字データ生成手段で生成される複数の評価パターンが、印字品質評価装置によって印字品質評価を行える単位にて形成されるよう構成してなることを特徴とするレーザマーキング装置。
The laser marking device according to claim 3,
A laser marking apparatus, wherein the plurality of evaluation patterns generated by the print data generation means are formed in units that can be subjected to print quality evaluation by a print quality evaluation apparatus.
請求項3又は4に記載のレーザマーキング装置であって、
前記印字データ生成手段で生成される複数の評価パターンが、格子状に配列された複数のセルからなるよう構成してなることを特徴とするレーザマーキング装置。
The laser marking device according to claim 3 or 4,
A laser marking apparatus, wherein the plurality of evaluation patterns generated by the print data generation means are configured by a plurality of cells arranged in a lattice pattern.
請求項3から5のいずれか一に記載のレーザマーキング装置であって、
前記印字データ生成手段で生成される複数の評価パターンが、二次元コードのファインダパターンを含むことを特徴とするレーザマーキング装置。
The laser marking device according to any one of claims 3 to 5,
The laser marking apparatus, wherein the plurality of evaluation patterns generated by the print data generation means include a finder pattern of a two-dimensional code.
請求項3から6のいずれか一に記載のレーザマーキング装置であって、
前記印字データ生成手段で生成される複数の評価パターンが、該評価パターンの方向を特定可能な形状であることを特徴とするレーザマーキング装置。
The laser marking device according to any one of claims 3 to 6,
The laser marking apparatus, wherein the plurality of evaluation patterns generated by the print data generation means have a shape that can specify the direction of the evaluation pattern.
請求項3から7のいずれか一に記載のレーザマーキング装置であって、
前記特定のシンボルが、二次元コードであることを特徴とするレーザマーキング装置。
The laser marking device according to any one of claims 3 to 7,
The laser marking apparatus, wherein the specific symbol is a two-dimensional code.
請求項3から8のいずれか一に記載のレーザマーキング装置であって、
前記特定のシンボルが、QRコードであることを特徴とするレーザマーキング装置。
A laser marking device according to any one of claims 3 to 8,
The laser marking apparatus, wherein the specific symbol is a QR code.
印字対象物に対して、印字条件の異なる複数のシンボルをレーザマーキング装置で印字するための印字条件を設定するための印字条件設定装置であって、
印字条件を構成する複数の印字パラメータのうち、印字条件を異ならせるための少なくとも一の印字パラメータを可変パラメータとし、その他を固定パラメータとして設定可能なパラメータ設定手段と、
前記パラメータ設定手段で設定された固定パラメータに固定値を代入しつつ、前記パラメータ設定手段で設定された可変パラメータに複数の異なるパラメータ値をそれぞれ代入することで、複数の異なる印字条件を生成するための印字条件生成手段と、
それぞれが特定のシンボルの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定のシンボルよりも大きさの小さい複数の評価パターンを印字データとして生成するための印字データ生成手段と、
前記印字データ生成手段にて生成された複数の評価パターンを、前記印字条件生成手段にて生成された複数の異なる印字条件に基づいて印字するよう、レーザマーキング装置に送出するための印字データ出力手段と、
を備えることを特徴とする印字条件設定装置。
A printing condition setting device for setting printing conditions for printing a plurality of symbols having different printing conditions with a laser marking device on a printing object,
Parameter setting means capable of setting at least one of the plurality of print parameters constituting the print condition as a variable parameter and different as a fixed parameter for making the print condition different;
In order to generate a plurality of different printing conditions by substituting a plurality of different parameter values for the variable parameter set by the parameter setting unit while substituting a fixed value for the fixed parameter set by the parameter setting unit Printing condition generation means,
Print data generation for generating, as print data, an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific symbol, is combined, each of which is smaller than the specific symbol Means,
Print data output means for sending a plurality of evaluation patterns generated by the print data generation means to a laser marking device so as to print based on a plurality of different print conditions generated by the print condition generation means When,
A printing condition setting device comprising:
印字対象物に印字された、印字条件の異なる複数のシンボルを撮像した撮像画像に基づいて各シンボルの印字品質を評価するための印字品質評価装置であって、
印字対象物に印字された個々のシンボルを含む撮像画像であって、該シンボルの印字品質を評価可能な解像度にて撮像された撮像画像を取得するための画像取得手段と、
前記画像取得手段により得られた撮像画像中から、印字品質を評価可能なシンボルを抽出するためのシンボル抽出手段と、
前記シンボル抽出手段により抽出されたシンボルの印字品質を評価するための印字品質評価手段と、
前記シンボル抽出手段により抽出されたシンボルの印字位置を認識するための印字位置認識手段と、
前記シンボル抽出手段により抽出されたシンボルに応じて、前記印字品質評価手段による印字品質の評価結果を出力するための評価出力手段と、
を備え、
前記特定パターンの印字位置がそれぞれ、前記特定パターンが付された前記シンボルを印字した印字条件と関連付けられており、
前記複数のシンボルは、それぞれが特定の二次元コードの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定の二次元コードよりも大きさの小さい評価パターンから構成されており、
さらに各評価パターンは、セルのパターンを印字位置毎に異なるパターンで印字されてなることを特徴とする印字品質評価装置。
A print quality evaluation device for evaluating the print quality of each symbol based on a captured image obtained by capturing a plurality of symbols with different print conditions printed on a print object,
An image acquisition means for acquiring a captured image including individual symbols printed on a print object, the captured image captured at a resolution capable of evaluating the print quality of the symbol;
Symbol extraction means for extracting a symbol whose print quality can be evaluated from the captured image obtained by the image acquisition means;
A print quality evaluation means for evaluating the print quality of the symbol extracted by the symbol extraction means;
Printing position recognition means for recognizing the printing position of the symbol extracted by the symbol extraction means;
An evaluation output means for outputting a print quality evaluation result by the print quality evaluation means in accordance with the symbol extracted by the symbol extraction means;
With
Each of the printing positions of the specific pattern is associated with a printing condition for printing the symbol with the specific pattern;
Each of the plurality of symbols is an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific two-dimensional code, each composed of an evaluation pattern smaller in size than the specific two-dimensional code. And
Furthermore, each evaluation pattern is formed by printing a cell pattern with a different pattern for each printing position.
印字対象物に印字された、印字条件の異なる複数のシンボルと、各シンボルの印字位置を特定するための特定パターンとを撮像した撮像画像に基づいて各シンボルの印字品質を評価するための印字品質評価装置であって、
印字対象物に印字された個々のシンボルを含む撮像画像であって、該シンボルの印字品質を評価可能な解像度にて、少なくとも前記特定パターンの一部が含まれるように撮像された撮像画像を取得するための画像取得手段と、
前記画像取得手段により得られた撮像画像中から、印字品質を評価可能なシンボルを抽出するためのシンボル抽出手段と、
前記シンボル抽出手段により抽出されたシンボルの印字品質を評価するための印字品質評価手段と、
前記画像取得手段により得られた撮像画像に含まれる前記特定パターンに基づいて、前記シンボル抽出手段により抽出されたシンボルの印字位置を認識するための印字位置認識手段と、
前記シンボル抽出手段により抽出されたシンボルに応じて、前記印字品質評価手段による印字品質の評価結果を出力するための評価出力手段と、
を備え、
前記特定パターンの印字位置がそれぞれ、前記特定パターンが付された前記シンボルを印字した印字条件と関連付けられており、
前記複数のシンボルは、それぞれが特定の二次元コードの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定の二次元コードよりも大きさの小さい評価パターンから構成されてなることを特徴とする印字品質評価装置。
Print quality for evaluating the print quality of each symbol based on a captured image of a plurality of symbols with different print conditions printed on a print object and a specific pattern for specifying the print position of each symbol An evaluation device,
A captured image including individual symbols printed on a print object is acquired at a resolution at which the print quality of the symbol can be evaluated so that at least a part of the specific pattern is included. Image acquisition means for
Symbol extraction means for extracting a symbol whose print quality can be evaluated from the captured image obtained by the image acquisition means;
A print quality evaluation means for evaluating the print quality of the symbol extracted by the symbol extraction means;
A print position recognition means for recognizing the print position of the symbol extracted by the symbol extraction means based on the specific pattern included in the captured image obtained by the image acquisition means;
An evaluation output means for outputting a print quality evaluation result by the print quality evaluation means in accordance with the symbol extracted by the symbol extraction means;
With
Each of the printing positions of the specific pattern is associated with a printing condition for printing the symbol with the specific pattern;
Each of the plurality of symbols is an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific two-dimensional code, each composed of an evaluation pattern smaller in size than the specific two-dimensional code. A print quality evaluation apparatus characterized by comprising:
請求項12に記載の印字品質評価装置であって、
前記特定パターンの印字位置がそれぞれ、前記特定パターンが付された前記シンボルを印字した印字条件を構成する複数の印字パラメータのうち、印字条件を異ならせるために可変とした可変パラメータの情報と関連付けられていることを特徴とする印字品質評価装置。
The print quality evaluation apparatus according to claim 12,
Each of the printing positions of the specific pattern is associated with variable parameter information that is variable in order to make the printing conditions different from among a plurality of printing parameters constituting the printing conditions for printing the symbols with the specific patterns. A print quality evaluation apparatus characterized by that.
請求項11から13のいずれか一に記載の印字品質評価装置であって、
前記印字品質評価手段が、複数のセル間の印字品質評価を行うよう構成してなることを特徴とする印字品質評価装置。
The print quality evaluation apparatus according to any one of claims 11 to 13,
The print quality evaluation apparatus, wherein the print quality evaluation means is configured to perform print quality evaluation between a plurality of cells.
請求項14に記載の印字品質評価装置であって、
前記印字品質評価手段が、複数のセル間の印字品質評価として、セル間のコントラスト又は均一性の評価を含むことを特徴とする印字品質評価装置。
The print quality evaluation apparatus according to claim 14,
The print quality evaluation device, wherein the print quality evaluation means includes evaluation of contrast or uniformity between cells as print quality evaluation between a plurality of cells.
請求項11から13のいずれか一に記載の印字品質評価装置であって、
前記印字品質評価手段が、単一セルの印字品質評価を行うよう構成してなることを特徴とする印字品質評価装置。
The print quality evaluation apparatus according to any one of claims 11 to 13,
A print quality evaluation apparatus, wherein the print quality evaluation means is configured to perform print quality evaluation of a single cell.
請求項16に記載の印字品質評価装置であって、
前記印字品質評価手段が、単一セルの印字品質評価として、セルの形状の適否の評価を含むことを特徴とする印字品質評価装置。
The print quality evaluation apparatus according to claim 16, comprising:
The print quality evaluation device, wherein the print quality evaluation means includes evaluation of suitability of the cell shape as print quality evaluation of a single cell.
請求項11から17のいずれか一に記載の印字品質評価装置であって、さらに、
前記印字品質評価手段による印字品質の評価結果とともに、前記印字位置認識手段により認識されたシンボルの位置情報を表示可能な評価表示手段を備えることを特徴とする印字品質評価装置。
The print quality evaluation apparatus according to any one of claims 11 to 17, further comprising:
A print quality evaluation apparatus comprising: an evaluation display unit capable of displaying the position information of the symbol recognized by the print position recognition unit together with the print quality evaluation result by the print quality evaluation unit.
請求項11から18のいずれか一に記載の印字品質評価装置であって、
前記画像取得手段が、印字対象物に印字された個々のシンボルを含む撮像画像を、該シンボルの印字品質を評価可能な解像度にて撮像するための撮像手段であり、
前記印字品質評価装置がさらに、
前記撮像手段の撮像パラメータを変化させながらシンボルを連続して撮像するように前記撮像手段を制御するための撮像制御手段を備えており、
前記印字品質評価手段は、シンボルの撮像パラメータの変化に対する読取安定度のスコアを算出し、
前記評価表示手段は、該スコアとともに識別情報を表示するよう構成してなることを特徴とする印字品質評価装置。
The print quality evaluation apparatus according to any one of claims 11 to 18,
The image acquisition means is an image pickup means for picking up a picked-up image including individual symbols printed on a print object with a resolution capable of evaluating the print quality of the symbols,
The print quality evaluation apparatus further includes:
An imaging control unit for controlling the imaging unit so as to continuously capture the symbols while changing imaging parameters of the imaging unit;
The print quality evaluation means calculates a reading stability score with respect to a change in imaging parameter of the symbol,
The print quality evaluation apparatus, wherein the evaluation display means is configured to display identification information together with the score.
請求項18又は19に記載の印字品質評価装置であって、さらに、
前記評価表示手段に表示された撮像画像上に、一又は複数のシンボルをユーザに選択させるための対象領域を指定する対象領域設定手段を備えることを特徴とする印字品質評価装置。
The print quality evaluation apparatus according to claim 18 or 19, further comprising:
A print quality evaluation apparatus, comprising: target area setting means for designating a target area for allowing a user to select one or a plurality of symbols on the captured image displayed on the evaluation display means.
印字対象物に対して、印字条件の異なる複数のシンボルをレーザマーキング装置で印字するための印字条件を設定するための印字条件設定プログラムであって、コンピュータに、
印字条件を構成する複数の印字パラメータのうち、印字条件を異ならせるための少なくとも一の印字パラメータを可変パラメータとし、その他を固定パラメータとして設定可能なパラメータ設定機能と、
前記パラメータ設定機能で設定された固定パラメータに固定値を代入しつつ、前記パラメータ設定機能で設定された可変パラメータに複数の異なるパラメータ値をそれぞれ代入することで、複数の異なる印字条件を生成するための印字条件生成機能と、
それぞれが特定のシンボルの構成単位であるセルを一又は複数組み合わせた評価パターンであって、それぞれが該特定のシンボルよりも大きさの小さい複数の評価パターンを印字データとして生成するための印字データ生成機能と、
前記印字データ生成機能にて生成された複数の評価パターンを、前記印字条件生成機能にて生成された複数の異なる印字条件に基づいて印字するよう、レーザマーキング装置に送出するための印字データ出力機能と、
を実現させることを特徴とする印字条件設定プログラム。
A printing condition setting program for setting a printing condition for printing a plurality of symbols with different printing conditions on a printing object with a laser marking device.
A parameter setting function capable of setting at least one of the plurality of print parameters constituting the print condition as a variable parameter and changing the other as a fixed parameter,
To generate a plurality of different printing conditions by substituting a plurality of different parameter values for the variable parameter set by the parameter setting function while substituting a fixed value for the fixed parameter set by the parameter setting function Print condition generation function,
Print data generation for generating, as print data, an evaluation pattern in which one or a plurality of cells, each of which is a constituent unit of a specific symbol, is combined, each of which is smaller than the specific symbol Function and
Print data output function for sending a plurality of evaluation patterns generated by the print data generation function to a laser marking device so as to print based on a plurality of different print conditions generated by the print condition generation function When,
A printing condition setting program characterized by realizing the above.
印字対象物に印字された、印字条件の異なる複数のシンボルを撮像した撮像画像に基づいて各シンボルの印字品質を評価するための印字品質評価プログラムであって、コンピュータに、
印字対象物に印字された個々のシンボルを含む撮像画像であって、該シンボルの印字品質を評価可能な解像度にて撮像された撮像画像を取得するための画像取得機能と、
前記画像取得機能により得られた撮像画像中から、印字品質を評価可能なシンボルを抽出するためのシンボル抽出機能と、
前記シンボル抽出機能により抽出されたシンボルの印字品質を評価するための印字品質評価機能と、
前記シンボル抽出機能により抽出されたシンボルの印字位置を認識するための印字位置認識機能と、
前記シンボル抽出機能により抽出されたシンボルに応じて、前記印字品質評価機能による印字品質の評価結果を出力するための評価出力手段と、
を実現させ、
前記特定パターンの印字位置がそれぞれ、前記特定パターンが付された前記シンボルを印字した印字条件と関連付けられており、
前記複数のシンボルは、それぞれが特定の二次元コードの構成単位であるセルを一又は複数組み合わせたシンボルであって、それぞれが該特定の二次元コードよりも大きさの小さいシンボルから構成されており、
さらに各シンボルは、セルのパターンを印字位置毎に異なるパターンで印字されてなることを特徴とする加工品質表示プログラム。
A print quality evaluation program for evaluating the print quality of each symbol based on a captured image obtained by capturing a plurality of symbols with different print conditions printed on a print object,
An image acquisition function for acquiring a captured image including individual symbols printed on a print object and captured at a resolution capable of evaluating the print quality of the symbol;
A symbol extraction function for extracting a symbol whose print quality can be evaluated from the captured image obtained by the image acquisition function;
A print quality evaluation function for evaluating the print quality of the symbols extracted by the symbol extraction function;
A print position recognition function for recognizing the print position of the symbol extracted by the symbol extraction function;
In accordance with the symbols extracted by the symbol extraction function, an evaluation output means for outputting a print quality evaluation result by the print quality evaluation function;
Realized,
Each of the printing positions of the specific pattern is associated with a printing condition for printing the symbol with the specific pattern;
The plurality of symbols are symbols obtained by combining one or a plurality of cells, each of which is a unit of a specific two-dimensional code, each of which is composed of symbols smaller in size than the specific two-dimensional code. ,
Furthermore, each symbol has a cell pattern printed in a different pattern for each printing position.
請求項21又は22に記載されるプログラムを格納したコンピュータで読み取り可能な記録媒体。   A computer-readable recording medium storing the program according to claim 21 or 22.
JP2011008799A 2011-01-19 2011-01-19 Printing quality evaluation system, laser marking apparatus, printing condition setting device, printing quality evaluation apparatus, printing condition setting program, printing quality evaluation program, and computer-readable recording medium Pending JP2012148309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011008799A JP2012148309A (en) 2011-01-19 2011-01-19 Printing quality evaluation system, laser marking apparatus, printing condition setting device, printing quality evaluation apparatus, printing condition setting program, printing quality evaluation program, and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011008799A JP2012148309A (en) 2011-01-19 2011-01-19 Printing quality evaluation system, laser marking apparatus, printing condition setting device, printing quality evaluation apparatus, printing condition setting program, printing quality evaluation program, and computer-readable recording medium

Publications (1)

Publication Number Publication Date
JP2012148309A true JP2012148309A (en) 2012-08-09

Family

ID=46791112

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011008799A Pending JP2012148309A (en) 2011-01-19 2011-01-19 Printing quality evaluation system, laser marking apparatus, printing condition setting device, printing quality evaluation apparatus, printing condition setting program, printing quality evaluation program, and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP2012148309A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015188935A (en) * 2014-03-31 2015-11-02 ブラザー工業株式会社 laser marker
JP2015196174A (en) * 2014-03-31 2015-11-09 パナソニック デバイスSunx株式会社 Laser processing apparatus, laser processing condition setting program
JP2016036838A (en) * 2014-08-08 2016-03-22 株式会社キーエンス Laser printer and set program therefor
KR101705316B1 (en) * 2016-08-01 2017-02-09 (주)글로벌 로보틱스 Qr code marking system
JP2021519694A (en) * 2018-04-27 2021-08-12 エイチビーエム2 リミテッド A device for marking objects on different surfaces
WO2022004207A1 (en) * 2020-06-30 2022-01-06 オムロン株式会社 Laser processing system
CN115195322A (en) * 2022-07-29 2022-10-18 韦孚智能科技(上海)有限公司 Visual marking method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015188935A (en) * 2014-03-31 2015-11-02 ブラザー工業株式会社 laser marker
JP2015196174A (en) * 2014-03-31 2015-11-09 パナソニック デバイスSunx株式会社 Laser processing apparatus, laser processing condition setting program
US9858447B2 (en) 2014-03-31 2018-01-02 Brother Kogyo Kabushiki Kaisha Laser marker capable of setting optimum print pattern making up two-dimensional code printed on workpiece
JP2016036838A (en) * 2014-08-08 2016-03-22 株式会社キーエンス Laser printer and set program therefor
KR101705316B1 (en) * 2016-08-01 2017-02-09 (주)글로벌 로보틱스 Qr code marking system
JP2021519694A (en) * 2018-04-27 2021-08-12 エイチビーエム2 リミテッド A device for marking objects on different surfaces
WO2022004207A1 (en) * 2020-06-30 2022-01-06 オムロン株式会社 Laser processing system
CN115195322A (en) * 2022-07-29 2022-10-18 韦孚智能科技(上海)有限公司 Visual marking method
CN115195322B (en) * 2022-07-29 2023-06-06 韦孚智能科技(上海)有限公司 Visual marking method

Similar Documents

Publication Publication Date Title
JP5635917B2 (en) Print quality evaluation system, laser marking device, print condition setting device, print quality evaluation device, print condition setting program, print quality evaluation program, computer-readable recording medium
JP2012148309A (en) Printing quality evaluation system, laser marking apparatus, printing condition setting device, printing quality evaluation apparatus, printing condition setting program, printing quality evaluation program, and computer-readable recording medium
JP5132900B2 (en) Laser processing condition setting device, laser processing device, laser processing condition setting method, laser processing condition setting program
JP5201975B2 (en) Laser processing apparatus and laser processing method
JP4958489B2 (en) Laser processing device, laser processing condition setting device, laser processing condition setting method, laser processing condition setting program
JP5072281B2 (en) Laser processing apparatus, laser processing condition setting apparatus, laser processing method, laser processing condition setting method, laser processing condition setting program
JP2009142865A (en) Laser processing apparatus, laser processing method, and method for making settings for laser processing apparatus
JP2007111763A (en) Device, method and program for setting three-dimensional machining data, recording medium readable by computer, apparatus recorded with the program, and laser beam machining device
JP2008030078A (en) Laser beam machining apparatus, laser beam machining condition setting apparatus, method and program, and recording medium that can be read out by computer, and recorded instrument
JP2012148308A (en) Printing quality evaluation system, laser marking apparatus, printing condition setting device, printing quality evaluation apparatus, printing condition setting program, printing quality evaluation program, and computer-readable recording medium
JP2013240834A (en) Laser beam machining device and laser beam machining condition setting device
JP4774260B2 (en) Laser processing condition setting device, laser processing condition setting method, laser processing condition setting program, computer-readable recording medium, recorded device, and laser processing system
JP4943069B2 (en) Laser processing equipment, laser processing condition setting equipment
JP6742839B2 (en) Laser machining apparatus, machining pattern adjustment method for laser machining apparatus, machining pattern adjustment program for laser machining apparatus, computer-readable recording medium, and recorded device
JP6680636B2 (en) Laser processing device, laser processing data setting device, laser processing device setting method, laser processing condition setting program, computer-readable recording medium, and recorded device
JP5134791B2 (en) Laser processing equipment
JP5226823B2 (en) Laser processing condition setting device, laser processing condition setting method, laser processing condition setting program, computer-readable recording medium, recorded device, and laser processing system
JP4976761B2 (en) Laser processing device, laser processing condition setting device, laser processing condition setting method, laser processing condition setting program
JP4943070B2 (en) Laser processing device, laser processing condition setting device, laser processing condition setting method, laser processing condition setting program
JP6764711B2 (en) Laser processing equipment, laser processing data setting equipment, laser processing equipment setting method, laser processing condition setting program, computer-readable recording medium and recording equipment
JP2013116504A (en) Laser beam machining device and laser beam machining condition setting device
JP2012076147A (en) Laser beam machining device, laser beam machining data-setting device, laser beam machining data-setting method, laser beam machining condition-setting program, computer-readable recording medium, and equipment used for recording
JP2012106288A (en) Laser beam machining apparatus, laser beam machining data setting device, laser beam machining data setting method, laser beam machining data setting program, and computer-readable recording medium, and recording equipment
JP5558285B2 (en) Laser marking device, processing information setting device for laser marker, and computer program
JP2014172069A (en) Laser processing device, laser processing condition setting device, laser processing method, laser processing condition setting method, laser processing condition setting program, computer-readable recording medium and recorded equipment