JP4895699B2 - Laser marking method - Google Patents

Laser marking method Download PDF

Info

Publication number
JP4895699B2
JP4895699B2 JP2006171074A JP2006171074A JP4895699B2 JP 4895699 B2 JP4895699 B2 JP 4895699B2 JP 2006171074 A JP2006171074 A JP 2006171074A JP 2006171074 A JP2006171074 A JP 2006171074A JP 4895699 B2 JP4895699 B2 JP 4895699B2
Authority
JP
Japan
Prior art keywords
arc
line
line segment
continuous
approximate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006171074A
Other languages
Japanese (ja)
Other versions
JP2008003756A (en
Inventor
勇 木花
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Amada Weld Tech Co Ltd
Original Assignee
Amada Miyachi Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Amada Miyachi Co Ltd filed Critical Amada Miyachi Co Ltd
Priority to JP2006171074A priority Critical patent/JP4895699B2/en
Publication of JP2008003756A publication Critical patent/JP2008003756A/en
Application granted granted Critical
Publication of JP4895699B2 publication Critical patent/JP4895699B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)
  • Laser Beam Processing (AREA)

Description

本発明は、スキャニング方式のレーザマーキング技術に係り、特に所望のパターンを構成する連続線を多数の線分の集まりとしてマーキングするレーザマーキング方法に関する
The present invention relates to a scanning-type laser marking technique, and more particularly to a laser marking method for marking continuous lines constituting a desired pattern as a collection of a large number of line segments.

スキャニング式のレーザマーキング方法は、被加工物に高密度に集光されたレーザ光を照射し、該レーザ光をスキャニング・ミラーで振って、被加工物表面上でレーザビームのスポットをスキャニングし、ビームスポットの当たった被加工物表面の微小部分をレーザエネルギーで瞬間的に改質(溶融、蒸発、変色等)させながら、文字、図形、記号等の所望のパターンを描画するようにしてマーキング(刻印または印字)する技術である。レーザ光には、ピークパワーの高いQスイッチ方式の高速繰り返しパルスレーザ光を用いるのが通例である。   The scanning type laser marking method irradiates a workpiece with a laser beam condensed at high density, shakes the laser beam with a scanning mirror, and scans the spot of the laser beam on the surface of the workpiece. Marking by drawing a desired pattern of characters, figures, symbols, etc. while instantaneously modifying (melting, evaporating, discoloring, etc.) the surface of the workpiece surface that has been hit by the beam spot with laser energy This is a technology for engraving or printing. As a laser beam, it is usual to use a Q-switch type high-speed repetitive pulsed laser beam having a high peak power.

今日のスキャニング式レーザマーキング装置は、レーザマーキング専用の作図ソフトを用いて装置画面上で任意のパターンを作図できるだけでなく、汎用CADで作成したパターンを外部のパソコン等から取り込んでこれをそのままレーザマーキング用のパターンとすることも可能となっている。この場合、レーザマーキング専用の作図ソフトで作成したマーキングパターンとCADで作成したマーキングパターンとは、パターンを規定するデータの形態が異なるので、異種形式のファイルとして扱われる。もっとも、いずれのファイル形式でも、各パターンは直線または円弧の集まりとして定義されており、レーザマーキングの実行段階では、それら直線または円弧を順次繋いでできる連続線に沿ってレーザビームスポットをスキャニングして、目的とするパターンのマーキングを形成するようにしている。   Today's scanning-type laser marking equipment can not only draw arbitrary patterns on the equipment screen using drawing software dedicated to laser marking, but also imports patterns created with general-purpose CAD from an external personal computer, etc. It is also possible to make a pattern for use. In this case, the marking pattern created by the drawing software dedicated to laser marking and the marking pattern created by CAD differ in the form of data defining the pattern, and are therefore handled as different types of files. However, in any file format, each pattern is defined as a collection of straight lines or arcs. At the stage of laser marking, the laser beam spot is scanned along a continuous line formed by connecting these straight lines or arcs sequentially. The marking of the target pattern is formed.

上記のような汎用CADの中には、パターンの曲線部分を多数の微小な線分(直線)に分解し、曲線部分を定義するマーキングデータとして一連の線分データを生成するものがある。従来のスキャニング式レーザマーキング装置は、そのような曲線部分を定義する一連の線分データ(CADデータ)を取り込むと、それら一連の線分をそのままレーザビームスポットのスキャニング行路を規定するマーキングデータに用いるので、マーキング速度の低下やマーキングデータの膨大化を来たしている。さらには、ハッチング(塗り潰し)やオフセットコピー等の編集機能において、パターンの枠線を検出ないし認識する際に枠線(特にその曲線部分)を構成する線分が細々し過ぎて数が多いため、編集処理速度が低下するという問題があった。   Some general-purpose CADs such as those described above decompose a curved portion of a pattern into a large number of minute line segments (straight lines), and generate a series of line segment data as marking data defining the curved portion. When a conventional scanning-type laser marking apparatus captures a series of line segment data (CAD data) that defines such a curved portion, the series of line segments is used as it is for marking data that defines the scanning path of the laser beam spot. As a result, the marking speed decreases and the marking data increases. Furthermore, in editing functions such as hatching (filling) and offset copy, when detecting or recognizing the border of the pattern, the number of line segments that make up the border (particularly the curved portion) is so fine that there are many numbers. There was a problem that the editing processing speed decreased.

本発明は、上記のような従来技術の問題点に鑑みてなされたもので、パターン(特に曲線部分)を多数の線分で定義するマーキングデータについてレーザマーキングの分解能に応じた最適なデータ圧縮を行って、マーキングデータの効率的削減をはかるレーザマーキング方法を提供することを目的とする。
The present invention has been made in view of the above-described problems of the prior art . Optimum data compression corresponding to the resolution of laser marking is performed on marking data that defines a pattern (particularly a curved portion) with a number of line segments. It is an object of the present invention to provide a laser marking method for reducing marking data efficiently .

上記の目的を達成するために、本発明の第1のレーザマーキング方法は、多数の線分を順次繋いで1つまたは複数の連続線を定義し、被加工物上でレーザビームのスポットを前記連続線に沿ってスキャニングして、前記連続線で規定された所望のパターンをレーザマーキングするレーザマーキング方法であって、各々の線分について、当該線分の代表点と前記連続線上で当該線分の前または後に位置する1つまたは複数の他の線分の代表点とから当該線分に近似する近似円弧を定義する工程と、前記近似円弧の円弧としての妥当性を第1の判定基準にしたがって判定する工程と、前記近似円弧に円弧としての妥当性があるとの判定結果が出たときは、当該線分に代えて前記近似円弧を前記連続線の一区間とし、前記近似円弧に円弧としての妥当性がないとの判定結果が出たときは、当該線分をそのまま前記連続線の一区間とする工程と、前記近似円弧の円弧としての妥当性があるとの判定結果が出て、かつその1つ前の区間が円弧であるときは、前記1つ前の円弧と前記近似円弧との間に結合性があるか否かを、前記近似円弧の円中心と前記1つ前の円弧の円中心との距離が第1の上限距離以上であるときは両円弧の間に結合性がないとする第3の判定基準にしたがって判定する工程と、前記1つ前の円弧と前記近似円弧との間に結合性があるとの判定結果が出たときは、前記1つ前の円弧と前記近似円弧とを統合する1つの結合円弧を前記連続線の新たな一区間とし、前記近似円弧と前記1つ前の円弧との間に結合性がないとの判定結果が出たときは、前記1つ前の円弧に繋げて前記近似円弧を前記連続線の新たな一区間とする工程とを有し、前記第1の上限距離は、前記レーザビームスポットのスキャニング速度をパラメータとし、前記スキャニング速度が高いほど大きな値に設定され、前記スキャニング速度が低いほど小さな値に設定される。
In order to achieve the above object, a first laser marking method of the present invention defines a continuous line by connecting a number of line segments in sequence, and a laser beam spot on the workpiece is defined by the laser beam spot. A laser marking method of scanning along a continuous line and laser-marking a desired pattern defined by the continuous line, and for each line segment, a representative point of the line segment and the line segment on the continuous line Defining an approximate arc that approximates the line segment from representative points of one or more other line segments that are positioned before or after the line, and the validity of the approximate arc as the arc is a first criterion. Therefore, when the determination step and the determination result that the approximate arc is valid as an arc are obtained, the approximate arc is set as one section of the continuous line instead of the line segment, and the approximate arc is an arc. As a compromise When the determination result of that there is no sex comes exits the steps of the one section of the line segment as the continuous line, the determination result that there is validity as an arc of the approximate arc, and its When the previous section is an arc, it is determined whether or not there is connectivity between the previous arc and the approximate arc. The circle center of the approximate arc and the circle of the previous arc are determined. A step of determining according to a third determination criterion that there is no connectivity between both arcs when the distance from the center is equal to or greater than the first upper limit distance; and When it is determined that there is connectivity between them, one combined arc that integrates the previous arc and the approximate arc is defined as a new section of the continuous line, and the approximate arc and the approximate arc If it is judged that there is no connectivity with the previous arc, connect it to the previous arc. The approximate arc is a new section of the continuous line, and the first upper limit distance is set to a larger value as the scanning speed is higher, using the scanning speed of the laser beam spot as a parameter. The lower the scanning speed, the smaller the value.

上記第1のレーザマーキング方法においては、連続線の元の一区間を構成する各線分が第1の判定基準の下で円弧に近似できるのであれば、該線分が近似円弧に置き換えられる。この線分から近似円弧への置換は、連続線の曲線部分で大きな意味をもってくる。つまり、上記第1のレーザマーキング方法によれば、近似円弧の円弧としての妥当性があるとの判定結果が出て、かつその1つ前の区間が円弧であるときは、1つ前の円弧と近似円弧との間に結合性があるか否かを、前記近似円弧の円中心と前記1つ前の円弧の円中心との距離が第1の上限距離以上であるときは両円弧の間に結合性がないとする第3の判定基準にしたがって判定する。その結果、1つ前の円弧と近似円弧との間に結合性があるとの判定結果が出たときは、1つ前の円弧と近似円弧とを統合する1つの結合円弧を連続線の新たな一区間とする。これにより、連続線の曲線部分では、多数の線分が1つの結合線分に統合されることになる。また、上記第3の判定基準の下で近似円弧と1つ前の円弧との間に結合性がないとの判定結果が出たときは、1つ前の円弧に繋げて近似円弧を連続線の新たな一区間とする。In the first laser marking method, if each line segment constituting an original section of a continuous line can be approximated to an arc under the first criterion, the line segment is replaced with an approximate arc. This replacement from the line segment to the approximate arc has a significant meaning in the curved line portion of the continuous line. In other words, according to the first laser marking method, when a determination result is obtained that the approximate arc is valid, and the previous section is an arc, the previous arc Whether or not there is connectivity between the approximate arc and whether or not the distance between the center of the circle of the approximate arc and the center of the circle of the previous arc is equal to or greater than the first upper limit distance Is determined according to a third criterion for determining that there is no connectivity. As a result, when it is determined that there is connectivity between the previous arc and the approximate arc, one continuous arc that integrates the previous arc and the approximate arc is replaced with a new continuous line. One section. Thereby, in the curve part of a continuous line, many line segments will be integrated into one coupling line segment. Further, when a determination result is obtained that there is no connectivity between the approximate arc and the previous arc under the third criterion, the approximate arc is connected to the previous arc as a continuous line. This is a new section.
さらに、上記第1のレーザマーキング方法では、レーザビームスポットのスキャニング速度を第1の上限距離のパラメータとする。そして、スキャニング速度が高いほど(つまりレーザマーキングの分解能を低くするほど)、第1の上限距離を大きな値に設定し、スキャニング速度が低いほど(レーザマーキングの分解能を高くするほど)、第1の上限距離を小さな値に設定する。このように、レーザマーキングの分解能に応じたデータ圧縮を行う。Further, in the first laser marking method, the scanning speed of the laser beam spot is used as a first upper limit parameter. The higher the scanning speed (that is, the lower the resolution of laser marking), the larger the first upper limit distance is set. The lower the scanning speed (the higher the resolution of laser marking), the first Set the upper limit distance to a small value. Thus, data compression is performed according to the resolution of laser marking.

本発明の第2のレーザマーキング方法は、多数の線分を順次繋いで1つまたは複数の連続線を定義し、被加工物上でQスイッチパルスのレーザビームのスポットを前記連続線に沿ってスキャニングして、前記連続線で規定された所望のパターンをレーザマーキングするレーザマーキング方法であって、各々の線分について、当該線分の代表点と前記連続線上で当該線分の前または後に位置する1つまたは複数の他の線分の代表点とから当該線分に近似する近似円弧を定義する工程と、前記近似円弧の円弧としての妥当性を第1の判定基準にしたがって判定する工程と、前記近似円弧に円弧としての妥当性があるとの判定結果が出たときは、当該線分に代えて前記近似円弧を前記連続線の一区間とし、前記近似円弧に円弧としての妥当性がないとの判定結果が出たときは、当該線分をそのまま前記連続線の一区間とする工程と、前記近似円弧の円弧としての妥当性があるとの判定結果が出て、かつその1つ前の区間が円弧であるときは、前記1つ前の円弧と前記近似円弧との間に結合性があるか否かを、前記近似円弧の円中心と前記1つ前の円弧の円中心との距離が第1の上限距離以上であるときは両円弧の間に結合性がないとする第3の判定基準にしたがって判定する工程と、前記1つ前の円弧と前記近似円弧との間に結合性があるとの判定結果が出たときは、前記1つ前の円弧と前記近似円弧とを統合する1つの結合円弧を前記連続線の新たな一区間とし、前記近似円弧と前記1つ前の円弧との間に結合性がないとの判定結果が出たときは、前記1つ前の円弧に繋げて前記近似円弧を前記連続線の新たな一区間とする工程とを有し、前記第1の上限距離は、前記Qスイッチパルスの繰り返し周波数をパラメータとし、前記繰り返し周波数が高いほど小さな値に設定され、前記繰り返し周波数が低いほど大きな値に設定される。In the second laser marking method of the present invention, one or a plurality of continuous lines are defined by sequentially connecting a large number of line segments, and a spot of a laser beam of a Q switch pulse is formed along the continuous line on the workpiece. A laser marking method of scanning and laser marking a desired pattern defined by the continuous line, wherein each line segment is positioned before or after the representative point of the line segment and the continuous line on the continuous line. Defining an approximate arc that approximates the line segment from representative points of one or more other line segments to be performed, and determining the validity of the approximate arc as a circular arc according to a first criterion When the determination result that the approximate arc is valid as an arc is obtained, the approximate arc is set as one section of the continuous line instead of the line segment, and the approximate arc is valid as an arc. Absent When the determination result is obtained, the determination result that the line segment is used as one section of the continuous line as it is and the validity as the arc of the approximate arc is obtained, and the previous one When the section is an arc, whether or not there is connectivity between the previous arc and the approximate arc is a distance between the circle center of the approximate arc and the circle center of the previous arc Is determined according to the third criterion that there is no connectivity between both arcs when the distance is equal to or greater than the first upper limit distance, and the connectivity between the previous arc and the approximate arc When a determination result that there is, a single combined arc that integrates the previous arc and the approximate arc is set as a new section of the continuous line, and the approximate arc and the previous arc are integrated. When a determination result is obtained that there is no connectivity with the arc, the approximate circle is connected to the previous arc. And the first upper limit distance is set to a smaller value as the repetition frequency is higher, with the repetition frequency of the Q switch pulse as a parameter. The lower the frequency, the larger the value.

上記第2のレーザマーキング方法においては、連続線の元の一区間を構成する各線分が第1の判定基準の下で円弧に近似できるのであれば、該線分が近似円弧に置き換えられる。この線分から近似円弧への置換は、連続線の曲線部分で大きな意味をもってくる。つまり、上記第2のレーザマーキング方法によれば、近似円弧の円弧としての妥当性があるとの判定結果が出て、かつその1つ前の区間が円弧であるときは、1つ前の円弧と近似円弧との間に結合性があるか否かを、前記近似円弧の円中心と前記1つ前の円弧の円中心との距離が第1の上限距離以上であるときは両円弧の間に結合性がないとする第3の判定基準にしたがって判定する。その結果、1つ前の円弧と近似円弧との間に結合性があるとの判定結果が出たときは、1つ前の円弧と近似円弧とを統合する1つの結合円弧を連続線の新たな一区間とする。これにより、連続線の曲線部分では、多数の線分が1つの結合線分に統合されることになる。また、上記第3の判定基準の下で近似円弧と1つ前の円弧との間に結合性がないとの判定結果が出たときは、1つ前の円弧に繋げて近似円弧を連続線の新たな一区間とする。In the second laser marking method, if each line segment constituting an original section of a continuous line can be approximated to an arc under the first criterion, the line segment is replaced with an approximate arc. This replacement from the line segment to the approximate arc has a significant meaning in the curved line portion of the continuous line. That is, according to the second laser marking method, when a determination result is obtained that there is validity as an arc of the approximate arc, and the previous section is an arc, the previous arc Whether or not there is connectivity between the approximate arc and whether or not the distance between the center of the circle of the approximate arc and the center of the circle of the previous arc is equal to or greater than the first upper limit distance Is determined according to a third criterion for determining that there is no connectivity. As a result, when it is determined that there is connectivity between the previous arc and the approximate arc, one continuous arc that integrates the previous arc and the approximate arc is replaced with a new continuous line. One section. Thereby, in the curve part of a continuous line, many line segments will be integrated into one coupling line segment. Further, when a determination result is obtained that there is no connectivity between the approximate arc and the previous arc under the third criterion, the approximate arc is connected to the previous arc as a continuous line. This is a new section.
さらに、上記第2のレーザマーキング方法では、Qスイッチパルスの繰り返し周波数を第1の上限距離のパラメータとする。そして、繰り返し周波数が高いほど(つまりレーザマーキングの分解能を高くするほど)、第1の上限距離を小さな値に設定し、繰り返し周波数が低いほど(レーザマーキングの分解能を低くするほど)、第1の上限距離を大きな値に設定する。このように、レーザマーキングの分解能に応じたデータ圧縮を行う。Furthermore, in the second laser marking method, the repetition frequency of the Q switch pulse is used as a parameter for the first upper limit distance. The higher the repetition frequency (that is, the higher the resolution of laser marking), the first upper limit distance is set to a smaller value, and the lower the repetition frequency (the lower the resolution of laser marking), the first Set the upper limit distance to a large value. Thus, data compression is performed according to the resolution of laser marking.

本発明の第3のレーザマーキング方法は、多数の線分を順次繋いで1つまたは複数の連続線を定義し、被加工物上でレーザビームのスポットを前記連続線に沿ってスキャニングして、前記連続線で規定された所望のパターンをレーザマーキングするレーザマーキング方法であって、各々の線分について、当該線分の代表点と前記連続線上で当該線分の前または後に位置する1つまたは複数の他の線分の代表点とから当該線分に近似する近似円弧を定義する工程と、前記近似円弧の円弧としての妥当性を第1の判定基準にしたがって判定する工程と、前記近似円弧に円弧としての妥当性があるとの判定結果が出たときは、当該線分に代えて前記近似円弧を前記連続線の一区間とする工程と、前記近似円弧に円弧としての妥当性がないとの判定結果が出て、かつ1つ前の区間が円弧であるときは、当該線分をそのまま前記連続線の一区間とする工程と、前記近似円弧に円弧としての妥当性がないとの判定結果が出て、かつ1つ前の区間が直線であるときは、その1つ前の直線と当該線分とを統合する1つの結合直線を定義する工程と、前記結合直線の直線近似としての妥当性を、当該線分の始端から前記統合直線までの最短の距離が第2の上限距離以上であるときは前記結合直線に直線近似としての妥当性がないとする第2の判定基準にしたがって判定する工程と、前記結合直線に直線近似としての妥当性があるとの判定結果が出たときは、前記1つ前の直線および当該線分に代えて前記結合直線を前記連続線上の一区間とし、前記結合直線に近似性がないとの判定結果が出たときは、前記1つ前の直線に繋げて当該線分をそのまま前記連続線の一区間とする工程とを有し、前記第2の上限距離は、前記レーザビームスポットのスキャニング速度をパラメータとし、前記スキャニング速度が高いほど大きな値に設定され、前記スキャニング速度が低いほど小さな値に設定される。In the third laser marking method of the present invention, one or a plurality of continuous lines are defined by sequentially connecting a large number of line segments, and a laser beam spot is scanned along the continuous lines on the workpiece. A laser marking method for laser-marking a desired pattern defined by the continuous line, wherein for each line segment, one of the representative points of the line segment and the position on the continuous line before or after the line segment or Defining an approximate arc that approximates the line segment from representative points of a plurality of other line segments, determining the validity of the approximate arc as a circular arc according to a first criterion, and the approximate arc If the result of the determination is that the arc is valid as an arc, the step of setting the approximate arc as one section of the continuous line instead of the line segment, and the approximate arc is not valid as an arc Judgment result And the previous section is a circular arc, the process of setting the line segment as one section of the continuous line as it is and the determination result that the approximate arc is not valid as a circular arc are output. When the previous section is a straight line, the step of defining one combined straight line that integrates the previous straight line and the line segment, and the validity of the straight line approximation of the combined straight line And a step of determining according to a second determination criterion that the combined straight line has no validity as a linear approximation when the shortest distance from the starting end of the line segment to the integrated straight line is equal to or greater than a second upper limit distance. When the determination result that the combined straight line is valid as a straight line approximation is obtained, the combined straight line is set as one section on the continuous line instead of the previous straight line and the line segment, When a judgment result that the connecting straight line is not close is obtained, Connecting the previous straight line to the previous straight line as a section of the continuous line, and the second upper limit distance is determined by using the scanning speed of the laser beam spot as a parameter, and the scanning speed. A higher value is set to a larger value, and a lower value is set to a lower scanning speed.

上記第3のレーザマーキング方法においては、近似円弧に円弧としての妥当性がないとの判定結果が出て、かつ1つ前の区間が円弧であるときは、当該線分をそのまま連続線の一区間とし、近似円弧に円弧としての妥当性がないとの判定結果が出て、かつ1つ前の区間が直線であるときは、その1つ前の直線と当該線分とを統合する1つの結合直線を定義する。ここで、連続線の略直線部分については、その略直線部分を構成する複数の線分が第2の判定基準の下で1つに統合できるのであれば、1本の結合直線に置き換える。ここで、第2の判定基準は、当該線分の始端から統合直線までの最短の距離が第2の上限距離以上であるときは結合直線に直線近似としての妥当性がないとする。In the third laser marking method, when a determination result is obtained that the approximate arc is not valid as an arc, and the previous section is an arc, the line segment is directly used as a continuous line. If the result of the determination that the approximate arc is not valid as an arc is obtained, and the previous section is a straight line, one line that integrates the previous straight line and the line segment Define a connecting line. Here, the substantially straight line portion of the continuous line is replaced with one combined straight line if a plurality of line segments constituting the substantially straight line portion can be integrated into one under the second determination criterion. Here, the second criterion is that the combined straight line has no validity as a straight line approximation when the shortest distance from the starting end of the line segment to the integrated straight line is equal to or greater than the second upper limit distance.
さらに、上記第3のレーザマーキング方法では、レーザビームスポットのスキャニング速度を第2の上限距離のパラメータとする。そして、スキャニング速度が高いほど(つまりレーザマーキングの分解能を低くするほど)、第2の上限距離を大きな値に設定し、スキャニング速度が低いほど(レーザマーキングの分解能を高くするほど)、第2の上限距離を小さな値に設定する。このように、レーザマーキングの分解能に応じたデータ圧縮を行う。Furthermore, in the third laser marking method, the scanning speed of the laser beam spot is used as a parameter for the second upper limit distance. The higher the scanning speed (that is, the lower the resolution of laser marking), the larger the second upper limit distance is set. The lower the scanning speed (the higher the resolution of laser marking), the second Set the upper limit distance to a small value. Thus, data compression is performed according to the resolution of laser marking.

本発明の第4のレーザマーキング方法は、多数の線分を順次繋いで1つまたは複数の連続線を定義し、被加工物上でQスイッチパルスのレーザビームのスポットを前記連続線に沿ってスキャニングして、前記連続線で規定された所望のパターンをレーザマーキングするレーザマーキング方法であって、各々の線分について、当該線分の代表点と前記連続線上で当該線分の前または後に位置する1つまたは複数の他の線分の代表点とから当該線分に近似する近似円弧を定義する工程と、前記近似円弧の円弧としての妥当性を第1の判定基準にしたがって判定する工程と、前記近似円弧に円弧としての妥当性があるとの判定結果が出たときは、当該線分に代えて前記近似円弧を前記連続線の一区間とする工程と、前記近似円弧に円弧としての妥当性がないとの判定結果が出て、かつ1つ前の区間が円弧であるときは、当該線分をそのまま前記連続線の一区間とする工程と、前記近似円弧に円弧としての妥当性がないとの判定結果が出て、かつ1つ前の区間が直線であるときは、その1つ前の直線と当該線分とを統合する1つの結合直線を定義する工程と、前記結合直線の直線近似としての妥当性を、当該線分の始端から前記統合直線までの最短の距離が第2の上限距離以上であるときは前記結合直線に直線近似としての妥当性がないとする第2の判定基準にしたがって判定する工程と、前記結合直線に直線近似としての妥当性があるとの判定結果が出たときは、前記1つ前の直線および当該線分に代えて前記結合直線を前記連続線上の一区間とし、前記結合直線に近似性がないとの判定結果が出たときは、前記1つ前の直線に繋げて当該線分をそのまま前記連続線の一区間とする工程とを有し、前記第2の上限距離は、前記Qスイッチパルスの繰り返し周波数をパラメータとし、前記繰り返し周波数が高いほど小さな値に設定され、前記繰り返し周波数が低いほど大きな値に設定される。
In the fourth laser marking method of the present invention, one or a plurality of continuous lines are defined by sequentially connecting a large number of line segments, and a laser beam spot of a Q-switch pulse is formed on the workpiece along the continuous lines. A laser marking method of scanning and laser marking a desired pattern defined by the continuous line, wherein each line segment is positioned before or after the representative point of the line segment and the continuous line on the continuous line. Defining an approximate arc that approximates the line segment from representative points of one or more other line segments to be performed, and determining the validity of the approximate arc as a circular arc according to a first criterion When the determination result that the approximate arc is valid as an arc is obtained, the approximate arc is set as one section of the continuous line instead of the line segment, and the approximate arc is set as an arc. reasonable If the result of the determination is that there is no arc and the previous section is an arc, the process of making the line segment as one section of the continuous line as it is and the approximate arc is not valid as an arc And when the previous section is a straight line, the step of defining one combined straight line that integrates the previous straight line and the line segment, and the straight line of the combined straight line The second determination that the validity as approximation is that the shortest distance from the beginning of the line segment to the integrated straight line is equal to or greater than the second upper limit distance, the combined straight line has no validity as linear approximation. When the determination result according to the reference and the determination result that the combined straight line is valid as a linear approximation are obtained, the combined straight line is replaced with the continuous straight line on the continuous line instead of the previous straight line and the line segment. And determine that the connecting straight line is not close When fruit came out, and a step to a section of it the continuous line the line segment connecting the previous straight, the second upper limit distance, the repetition frequency of the Q switch pulse Is set to be a smaller value as the repetition frequency is higher, and is set to a larger value as the repetition frequency is lower.

上記第4のレーザマーキング方法においては、近似円弧に円弧としての妥当性がないとの判定結果が出て、かつ1つ前の区間が円弧であるときは、当該線分をそのまま連続線の一区間とし、近似円弧に円弧としての妥当性がないとの判定結果が出て、かつ1つ前の区間が直線であるときは、その1つ前の直線と当該線分とを統合する1つの結合直線を定義する。ここで、連続線の略直線部分については、その略直線部分を構成する複数の線分が第2の判定基準の下で1つに統合できるのであれば、1本の結合直線に置き換える。ここで、第2の判定基準は、当該線分の始端から統合直線までの最短の距離が第2の上限距離以上であるときは結合直線に直線近似としての妥当性がないとする。In the fourth laser marking method, when a determination result is obtained that the approximate arc is not valid as an arc, and the previous section is an arc, the line segment is directly used as a continuous line. If the result of the determination that the approximate arc is not valid as an arc is obtained, and the previous section is a straight line, one line that integrates the previous straight line and the line segment Define a connecting line. Here, the substantially straight line portion of the continuous line is replaced with one combined straight line if a plurality of line segments constituting the substantially straight line portion can be integrated into one under the second determination criterion. Here, the second criterion is that the combined straight line has no validity as a straight line approximation when the shortest distance from the starting end of the line segment to the integrated straight line is equal to or greater than the second upper limit distance.
さらに、上記第4のレーザマーキング方法では、Qスイッチパルスの繰り返し周波数を第2の上限距離のパラメータとする。そして、繰り返し周波数が高いほど(つまりレーザマーキングの分解能を高くするほど)、第2の上限距離を小さな値に設定し、繰り返し周波数が低いほど(レーザマーキングの分解能を低くするほど)、第2の上限距離を大きな値に設定する。このように、レーザマーキングの分解能に応じたデータ圧縮を行う。Furthermore, in the fourth laser marking method, the repetition frequency of the Q switch pulse is used as the second upper limit parameter. The higher the repetition frequency (that is, the higher the resolution of laser marking), the smaller the second upper limit distance is set. The lower the repetition frequency (the lower the resolution of laser marking), the second Set the upper limit distance to a large value. Thus, data compression is performed according to the resolution of laser marking.

本発明の好適な一態様によれば、近似円弧は、当該線分の両端および1つ前の線分の始端の3点を通る円弧のうち当該線分の始端と終端とを結ぶ部分として定義される。また、上記第1の判定基準は、さらに、近似円弧の中心角が所定の下限角度以下であるとき、あるいは仮想円弧の半径が所定の上限半径以上であるときは、円弧としての妥当性がないとする。According to a preferred aspect of the present invention, the approximate arc is defined as a portion connecting the start and end of the line segment out of arcs passing through the three points of both ends of the line segment and the previous line segment. Is done. Further, the first determination criterion is not valid as an arc when the center angle of the approximate arc is not more than a predetermined lower limit angle or when the radius of the virtual arc is not less than a predetermined upper limit radius. And

また、本発明の好適な一態様によれば、第2の判定基準は、さらに、当該線分の始端からみて結合直線が連続線の進む方向に対して左側に位置するかもしくは右側に位置するかに応じて最短距離に正負の符号を付け、最短距離の累積値が所定の上限値を超えたときは直線近似としての妥当性がないとする。According to a preferred aspect of the present invention, the second determination criterion is further located on the left side or on the right side with respect to the direction in which the continuous line advances as viewed from the starting end of the line segment. If the shortest distance is given a positive or negative sign and the accumulated value of the shortest distance exceeds a predetermined upper limit value, it is assumed that there is no validity as a linear approximation.

本発明のレーザマーキング方法または装置によれば、上記のような構成および作用により、パターン(特に曲線部分)を多数の線分で定義するマーキングデータについて最適なデータ圧縮を行ってマーキング速度や編集処理速度の向上およびマーキングデータの効率的削減等をはかることができる。   According to the laser marking method or apparatus of the present invention, marking speed and editing processing are performed by performing optimum data compression on marking data that defines a pattern (particularly, a curved portion) with a large number of line segments by the configuration and operation as described above. It is possible to improve speed and reduce marking data efficiently.

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

図1に、本発明の一実施形態によるスキャニング式レーザマーキング装置の外観を示す。このレーザマーキング装置は、制御電源ユニット10とレーザ発振ユニット12とスキャニング・ヘッド14とを有する。   FIG. 1 shows the appearance of a scanning laser marking apparatus according to an embodiment of the present invention. This laser marking apparatus has a control power supply unit 10, a laser oscillation unit 12, and a scanning head 14.

制御電源ユニット10において、上部室にはディスプレイ16が設けられ、中間室の前扉18の奥にはキーボードや制御基板等が設けられ、下部室の前扉20の奥にはレーザ電源やレーザ冷却装置等が配置されている。中間室内の制御部より発生されたスキャニング制御信号は所定の信号線(図示せず)を介してスキャニング・ヘッド14へ伝送される。スキャニング・ヘッド14はレーザ発振ユニット12のレーザ出射口に取り付けられ、ヘッド14の真下に作業台22が配置されている。この作業台22の上で、被加工物WにレーザビームLBが照射され、レーザマーキングが施される。   In the control power supply unit 10, a display 16 is provided in the upper chamber, a keyboard, a control board, and the like are provided in the back of the front door 18 in the intermediate chamber, and a laser power source and laser cooling are provided in the back of the front door 20 in the lower chamber. Devices etc. are arranged. A scanning control signal generated by the control unit in the intermediate chamber is transmitted to the scanning head 14 via a predetermined signal line (not shown). The scanning head 14 is attached to the laser emission port of the laser oscillation unit 12, and a work table 22 is disposed directly below the head 14. On the work table 22, the workpiece W is irradiated with the laser beam LB, and laser marking is performed.

制御電源ユニット10内の上記制御基板は、CPU(マイクロプロセッサ)や、このCPUに所定の処理を行わせるための各種プログラムおよび各種設定値またはデータを保持するためのメモリ、および各部と制御信号やデータのやりとりを行うためのインタフェース回路等からなり、機能的には図2に示すように、入力部30、表示部32、操作盤インタフェース34、マーキングデータ記憶部36、マーキング作成・編集部38、マーキングデータ圧縮部40、マーキング条件記憶部42、マーキング条件設定部44、マーキング実行制御部46を有している。   The control board in the control power supply unit 10 includes a CPU (microprocessor), various programs for causing the CPU to perform predetermined processing, memory for holding various setting values or data, and each unit and a control signal, It consists of an interface circuit for exchanging data. Functionally, as shown in FIG. 2, an input unit 30, a display unit 32, an operation panel interface 34, a marking data storage unit 36, a marking creation / editing unit 38, A marking data compression unit 40, a marking condition storage unit 42, a marking condition setting unit 44, and a marking execution control unit 46 are included.

入力部30は、キーボードやマウス等のポインティングデバイスを含み、さらには通信ケーブルを介して外部装置からデータを取り込めるようになっている。表示部32は、ディスプレイ16(図1)および表示出力回路等を含み、各種設定画面や運転(状態表示)画面等を表示出力する。操作盤インタフェース34は、入力部30および表示部32と演算処理部および記憶部(36〜46)との間での信号のやりとりをインタフェースする。   The input unit 30 includes a pointing device such as a keyboard and a mouse, and can take in data from an external device via a communication cable. The display unit 32 includes a display 16 (FIG. 1), a display output circuit, and the like, and displays and outputs various setting screens, operation (status display) screens, and the like. The operation panel interface 34 interfaces the exchange of signals between the input unit 30 and the display unit 32 and the arithmetic processing unit and the storage unit (36 to 46).

マーキングデータ記憶部36は、この装置に設定入力されたマーキングパターン(文字、図形、図形等)のデータを格納する。マーキングパターンを設定入力する形態は2種類あり、1つはマーキング作成・編集部38が入力部30および表示部32を通じたマン・マシン・インタフェースにより画面入力でユーザの希望するパターンを作成する形態である。他の1つは、たとえば外部のパソコン等で作成したマーキングパターンのデータ(典型的にはCADデータ)を入力部30から取り込む形態である。   The marking data storage unit 36 stores data of marking patterns (characters, figures, figures, etc.) set and input to this apparatus. There are two types of marking patterns to be set and input. One is a mode in which the marking creation / editing unit 38 creates a pattern desired by the user by screen input through a man-machine interface through the input unit 30 and the display unit 32. is there. The other is a form in which marking pattern data (typically CAD data) created by, for example, an external personal computer is taken in from the input unit 30.

マーキング作成・編集部38は、いったん設定入力された任意のパターンについて、マーキングデータ記憶部36に格納されている該当マーキングデータを基に、入力部30および表示部32を通じたマン・マシン・インタフェースにより画面入力でハッチング、オフセットコピー、回転、合成等の様々な編集を行う機能も有している。   The marking creation / editing unit 38 uses a man-machine interface through the input unit 30 and the display unit 32 based on the corresponding marking data stored in the marking data storage unit 36 for an arbitrary pattern once set and input. It also has a function to perform various edits such as hatching, offset copy, rotation, and composition by screen input.

マーキングデータ圧縮部40は、いったん設定入力された任意のパターンについて、そのパターンを定義するマーキングデータをデータ(情報)圧縮するものである。このマーキングデータ圧縮部40の機能はこの実施形態の主要な特徴部分であり、後に詳しく述べる。   The marking data compression unit 40 compresses data (information) for marking data defining a pattern for an arbitrary pattern once set and input. The function of the marking data compression unit 40 is a main characteristic part of this embodiment and will be described in detail later.

マーキング条件記憶部42は、スキャニング方式のマーキング動作を規定する加工条件つまりQスイッチ周波数、マーキング速度、電流(レーザ出力)等の設定値データを保持する。マーキング条件設定部44は、入力部30および表示部32を通じたマン・マシン・インタフェースによりユーザの希望するマーキング条件を設定入力して、マーキング条件記憶部42に格納する。   The marking condition storage unit 42 holds processing values that define a scanning-type marking operation, that is, set value data such as a Q switch frequency, a marking speed, and a current (laser output). The marking condition setting unit 44 sets and inputs a marking condition desired by the user through a man-machine interface through the input unit 30 and the display unit 32 and stores it in the marking condition storage unit 42.

マーキング実行制御部46は、入力部30より入力されるスケジュールコードまたは起動番号に応答し、その起動番号の指定するマーキングパターンをその起動番号の指定するマーキング条件にしたがってマーキングするように、レーザ電源48、レーザ発振器50およびガルバノメータ・スキャナ52の各動作を制御する。   The marking execution control unit 46 responds to the schedule code or activation number input from the input unit 30 and marks the marking pattern designated by the activation number in accordance with the marking condition designated by the activation number. Each operation of the laser oscillator 50 and the galvanometer scanner 52 is controlled.

レーザ電源48は上記のように制御電源ユニット10内に設けられており、レーザ発振器50およびガルバノメータ・スキャナ52はレーザ発振ユニット12およびスキャニング・ヘッド14内にそれぞれ設けられている。レーザ電源48は、レーザ発振器50にマーキング条件の一つとして設定されたレーザ励起用電流を供給する。レーザ発振器50は、たとえばYAGロッド、光共振器、電気光学励起部、Qスイッチ等で構成されるQスイッチ型YAGレーザ発振器であり、マーキング条件の一つとして設定されたQスイッチング周波数でQスイッチパルスのYAGレーザ光LBを発振出力する。ガルバノメータ・スキャナ52は、直交する2方向に首振り運動の可能な一対の可動ミラーを有しており、マーキング条件の一つとして設定されたマーキング速度で両可動ミラーを振ってそのミラー角を制御することで、レーザ発振器50からのQスイッチYAGレーザ光LBを加工テーブル22上の被加工物W表面の所望の位置に集光照射する。   The laser power supply 48 is provided in the control power supply unit 10 as described above, and the laser oscillator 50 and the galvanometer scanner 52 are provided in the laser oscillation unit 12 and the scanning head 14, respectively. The laser power supply 48 supplies the laser oscillator 50 with a laser excitation current set as one of the marking conditions. The laser oscillator 50 is a Q-switch type YAG laser oscillator composed of, for example, a YAG rod, an optical resonator, an electro-optic pumping unit, a Q switch, and the like. The YAG laser beam LB is oscillated and output. The galvanometer scanner 52 has a pair of movable mirrors capable of swinging in two orthogonal directions, and swings both movable mirrors at a marking speed set as one of the marking conditions to control the mirror angle. As a result, the Q-switched YAG laser beam LB from the laser oscillator 50 is condensed and applied to a desired position on the surface of the workpiece W on the processing table 22.

次に、このレーザマーキング装置におけるマーキングデータ圧縮機能を説明する。   Next, the marking data compression function in this laser marking device will be described.

図3に、ディスプレイ16に表示される『ファイル作成画面』を示す。この『ファイル作成画面』は、右端から中心部に広がるパターン設定画面54と、左端寄りのマーキング条件設定画面56とに2分割されている。パターン設定画面54には、文字、図形および/または記号からなる所望のパターンを作成ないし設定入力できるようになっている。所望のパターンを作成するためにマウス操作の作図ツール(図示せず)も利用可能となっており、あるいはパターン作成用の別画面で作成したパターンをこのパターン設定画面54にコピーまたは貼り付けることも可能となっている。さらには、入力部30を通じて外部のパソコン等からインポートしたCADデータのパターンをパターン設定画面54に設定表示することもできるようになっている。   FIG. 3 shows a “file creation screen” displayed on the display 16. This “file creation screen” is divided into two parts: a pattern setting screen 54 extending from the right end to the center and a marking condition setting screen 56 near the left end. On the pattern setting screen 54, a desired pattern composed of characters, figures and / or symbols can be created or set and input. A mouse operation drawing tool (not shown) can be used to create a desired pattern, or a pattern created on a separate screen for pattern creation can be copied or pasted to this pattern setting screen 54. It is possible. Furthermore, CAD data patterns imported from an external personal computer or the like can be set and displayed on the pattern setting screen 54 through the input unit 30.

マーキング条件設定画面56には、縦一列に「起動No.」、「Qスイッチ周波数」、「スキャニング速度」、「電流」・・等のマーキング条件項目が表示される。ユーザは、右側のパターン設定画面54に設定表示されているパターンについて各マーキング条件の設定値を画面入力で設定する。   On the marking condition setting screen 56, marking condition items such as “starting No.”, “Q switch frequency”, “scanning speed”, “current”,. The user sets the setting value of each marking condition for the pattern set and displayed on the pattern setting screen 54 on the right side by screen input.

図4に、CADで作成されるパターンの詳細構造の一例を示す。図中、Nで示す□印は各線分の端点を示す。図示のように、全体パターン「12」を構成する個々の単位パターン「1」,「2」の枠線は、多数の線分Sをシリアルに繋いだ閉ループの連続線M1,M2として定義される。より詳細には、各連続線M1,M2において、直線または略直線の部分は1個ないし数個の長い線分Sをシリアルに繋いで形成される。反対に、曲線の部分は多数の短い線分Sをシリアルに繋いで形成され、その曲率半径が小さいほど線分Sが短小化して高密になる。ユーザはマーキング条件設定画面56を通じて所望のスキャニング速度を設定できるが、ガルバノメータ・スキャナ52におけるミラー首振り速度はスキャニング行路の屈曲点で若干速度を落とすため、線分Sが短小・高密であるほど、実際にビームスポットを移動させるマーキング速度は低下することになる。 FIG. 4 shows an example of a detailed structure of a pattern created by CAD. In the figure, □ marks indicated by N indicate the end points of each line segment. As shown in the figure, the frame lines of the individual unit patterns “1” and “2” constituting the entire pattern “12” are defined as closed loop continuous lines M 1 and M 2 in which a number of line segments S are serially connected. Is done. More specifically, in each of the continuous lines M 1 and M 2 , a straight or substantially straight portion is formed by serially connecting one or several long line segments S. On the contrary, the curved portion is formed by serially connecting a number of short line segments S, and the smaller the curvature radius, the shorter the line segment S becomes and the higher the density. The user can set a desired scanning speed through the marking condition setting screen 56, but the mirror swing speed in the galvanometer scanner 52 is slightly reduced at the inflection point of the scanning path, so that the line segment S is shorter and denser, The marking speed for actually moving the beam spot is reduced.

この実施形態では、パターン設定画面54上に設定表示されたパターン(特にCADデータのパターン)について、マーキングデータ圧縮部40がユーザからの所定のコマンド入力に応じてマーキングデータに対するデータ圧縮処理(線分Sの数を削減する処理)を行う。   In this embodiment, for a pattern (particularly a CAD data pattern) set and displayed on the pattern setting screen 54, the marking data compression unit 40 performs data compression processing (line segment) on the marking data in response to a predetermined command input from the user. Process to reduce the number of S).

図5および図6に、マーキングデータ圧縮部40におけるデータ圧縮処理の手順を示す。以下、図7〜図21につき、このデータ圧縮処理の手法を説明する。   5 and 6 show the data compression processing procedure in the marking data compression unit 40. FIG. Hereinafter, this data compression processing method will be described with reference to FIGS.

ユーザからのコマンドを入力すると、図7に示すように、先ず初期化の中で当該枠線または連続線Mの開始点Jおよび進行方向Hを決定する(ステップA1)。次に、図8に示すように、開始点Jを始端とする最初の線分S1のデータを抽出する(ステップA2)。ここで、線分Si(i=1,2,3,・・)のデータは、線分Siの始端および終端の位置をそれぞれ表す座標データとして与えられる。次に、当該線分S1を線分統合処理にかける(ステップA3)。 When a command from the user is input, as shown in FIG. 7, first, the start point J and the traveling direction H of the frame line or continuous line M are determined during initialization (step A 1 ). Next, as shown in FIG. 8, the data of the first line segment S 1 starting from the start point J is extracted (step A 2 ). Here, the data of the line segment S i (i = 1, 2, 3,...) Is given as coordinate data representing the start and end positions of the line segment S i . Next, the line segment S 1 is subjected to line segment integration processing (step A 3 ).

図6に、この線分統合処理(ステップA3)の詳細な手順を示す。先ず、この線分Siに対応する近似円弧E1を定義する(ステップB1)。図8に示すように、この近似円弧E1は、当該線分S1の両端N0,N1と1つ前の線分S0の始端N-1とを通る円弧のうち当該線分S1の始端N0と終端N1とを結ぶ部分であり、3点(N-1,N0,N1)から一義的に定義され、その円中心O1の座標位置も求められる。ここで、近似円弧Ei(i=1,2,3,・・)のデータは、たとえば円弧両端(Ni-1,Ni)の座標データ、円中心Oiの座標データ、半径riのデータ等で構成される。 FIG. 6 shows the detailed procedure of the line segment integration process (step A 3 ). First, an approximate arc E 1 corresponding to the line segment S i is defined (step B 1 ). As shown in FIG. 8, this approximate arc E 1 is the line segment S out of arcs passing through both ends N 0 , N 1 of the line segment S 1 and the start end N -1 of the previous line segment S 0. 1 is a portion connecting the start end N 0 and the end end N 1 , is uniquely defined from three points (N −1 , N 0 , N 1 ), and the coordinate position of the circle center O 1 is also obtained. Here, the data of the approximate arc E i (i = 1, 2, 3,...) Is, for example, coordinate data of arc ends (N i−1 , N i ), coordinate data of the circle center O i , radius r i. It is composed of data.

次に、こうして定義した近似円弧E1について、この近似円弧E1が円弧としての妥当性を有するか否かを所定の判定基準にしたがって判定する(ステップB2)。一実施例として、この判定基準は、(1)円弧角の角度θが所定の下限角度以上であること、(2)円弧角の半径rが所定の上限半径以下であることの2要件を満たすか否かである。当該近似円弧E1の場合は、上記2要件(1)(2)を満たすので、次のステップB3に進み、所定の判定基準にしたがって1つ前の円弧との結合性を判定する。この線分Siの場合は、1つ前の円弧が存在しないので、無条件に結合性はない。そこで、ステップB5に進み、図9に示すように、この近似円弧E1を連続線M上の新たな一区間、つまり線分S1に置き換わる一区間とし、近似円弧E1のデータをマーキングデータの一要素とする。これで、線分S1に対する線分統合処理(ステップA3)を終了する。 Next, for the approximate arc E 1 defined in this way, it is determined according to a predetermined criterion whether or not this approximate arc E 1 has validity as an arc (step B 2 ). As an example, this criterion satisfies the following two requirements: (1) the angle θ of the arc angle is equal to or larger than a predetermined lower limit angle, and (2) the radius r of the arc angle is equal to or smaller than a predetermined upper limit radius. Whether or not. In the case of the approximate arc E 1 , since the above two requirements (1) and (2) are satisfied, the process proceeds to the next step B 3 and the connectivity with the previous arc is determined according to a predetermined determination criterion. For this line segment S i, since the previous arc is not present, there is no binding unconditionally. Therefore, the process proceeds to step B 5, as shown in FIG. 9, a new one section on the approximate arc E 1 the continuous line M, i.e. as one section to replace the line segments S 1, marking the data of the approximate arc E 1 It is an element of data. Thus, the line segment integration process (step A 3 ) for the line segment S 1 is completed.

次に、2番目の線分S2について、該当の線分デ―タを抽出し(ステップA2)、線分統合処理を実行する(ステップA3)。この線分統合処理でも、最初に、この線分S2に対応する近似円弧E2を定義する(ステップB1)。図10に示すように、この近似円弧E2は、当該線分S2の両端N1,N2と1つ前の線分S1の始端N-0とを通る円弧のうち当該線分S2の始端N0と終端N1とを結ぶ部分であり、3点(N0,N1,N2)から一義的に定義され、その円中心O2の座標位置も求められる。 Next, for the second line segment S 2 , the corresponding line segment data is extracted (step A 2 ), and line segment integration processing is executed (step A 3 ). In this segment integration process, initially, to define the approximate arc E 2 corresponding to the line segment S 2 (Step B 1). As shown in FIG. 10, the approximate arc E 2 is the line segment of the arc passing through the starting N -0 of the ends N 1 line segment S 2, N 2 and the previous segment S 1 S 2 is a portion connecting the start end N 0 and the end end N 1 , is uniquely defined from three points (N 0 , N 1 , N 2 ), and the coordinate position of the circle center O 2 is also obtained.

次に、こうして定義した近似円弧E2について、円弧としての妥当性を判定し(ステップB2)。妥当性がある場合は、次にこの近似円弧E2と直前の区間を形成している1つ前の円弧E1との結合の是非を所定の判定基準にしたがって判定する(ステップB3)。一実施例として、この判定基準は、(a)当該近似円弧の円中心と1つ前の円弧の円中心との距離が所定の上限距離R以下であることである。両円弧E1,E2はこの要件(a)を満たしているので、図11に示すように、両円弧E1,E2を1つの結合円弧E1-2に統合し、その結合円弧E1-2を連続線M上の新たな一区間とする(ステップB4)。 Next, the validity of the approximate arc E 2 defined in this way as an arc is determined (step B 2 ). If there is validity, next, whether or not the approximate arc E 2 is connected to the immediately preceding arc E 1 forming the immediately preceding section is determined according to a predetermined criterion (step B 3 ). As an example, this criterion is (a) that the distance between the circle center of the approximate arc and the circle center of the previous arc is not more than a predetermined upper limit distance R. Since both arcs E 1 and E 2 satisfy this requirement (a), as shown in FIG. 11, both arcs E 1 and E 2 are integrated into one combined arc E 1-2 and the combined arc E 1-2 is set as a new section on the continuous line M (step B 4 ).

なお、上記上限距離Rは、『ファイル作成画面』中のマーキング条件設定画面56(図3)で設定入力されている「Qスイッチ周波数」、「スキャニング速度」をパラメータとし、「スキャニング速度」に比例し、「Qスイッチ周波数」には反比例するように設定される。したがって、「スキャニング速度」を低くするほど、あるいは「Qスイッチ周波数」を高くするほど、つまりレーザマーキングの分解能を高くするほど、上限距離Rは小さな値をとる(結合要件(a)が厳しくなる)。反対に、「スキャニング速度」を高くするほど、あるいは「Qスイッチ周波数」を低くするほど、つまりレーザマーキングの分解能を低くするほど、上限距離Rが大きな値をとる(結合要件(a)が緩くなる)。   The upper limit distance R is proportional to the “scanning speed” with the “Q switch frequency” and “scanning speed” set and input on the marking condition setting screen 56 (FIG. 3) in the “file creation screen” as parameters. The “Q switch frequency” is set to be inversely proportional. Therefore, the lower the “scanning speed” or the higher “Q switch frequency”, that is, the higher the resolution of laser marking, the smaller the upper limit distance R becomes (the coupling requirement (a) becomes stricter). . Conversely, the higher the “scanning speed” or the lower the “Q switch frequency”, that is, the lower the resolution of the laser marking, the larger the upper limit distance R becomes (the coupling requirement (a) becomes looser). ).

なお、両円弧E1,E2の統合化においては、たとえば両円弧E1,E2の半径r1,r2および円中心O1,O2の座標位置を平均化したものを結合円弧E1-2の半径r1-2および円中心O1-2の座標位置としてよく、結合円弧E1-2が元の線分節点N0,N1,N2からずれることもある。 In the integration of the two arcs E 1, E 2, for example, both the arc E 1, radius r 1 of E 2, r 2 and circle center O 1, binding of O 2 the coordinate position obtained by averaging the arc E well as the coordinate position of the radius r 2 and the circle center O 1-2 1-2, sometimes coupled arcs E 1-2 deviates from the original segment node N 0, N 1, N 2 .

次に、3番目の線分S3について、上記と同様に該当の線分デ―タを抽出し(ステップA2)、線分統合処理を実行する(ステップA3)。この線分統合処理でも、図12および図13に示すように、2番目の線分S2に対するのと同様に、近似円弧E3が定義され,この近似円弧E3が1つ前の区間を形成している円弧E1-2と1つの結合円弧E1-3に統合され、この結合円弧E1-3が連続線M上の新たな一区間となる(ステップB1→B2→B3→B4)。 Next, for the third line segment S 3 , corresponding line segment data is extracted in the same manner as described above (step A 2 ), and line segment integration processing is executed (step A 3 ). Also in this line segment integration process, as shown in FIGS. 12 and 13, an approximate arc E 3 is defined as in the case of the second line segment S 2 , and this approximate arc E 3 defines the previous section. integrated formed to have an arc E 1-2 and a single bond arcs E 1-3, the coupling arc E 1-3 becomes the new one section on the continuous line M (step B 1 → B 2 → B 3 → B 4 ).

次に、4番目の線分S4について、該当の線分デ―タを抽出し(ステップA2)、線分統合処理を実行する(ステップA3)。この線分統合処理では、図14に示すように、線分S4に対応する近似円弧E4を定義するものの(ステップB1)、この近似円弧E4の半径r4が上限半径を超えるため円弧としての妥当性がないことが判明する(ステップB2)。この場合は、直前の区間が円弧E1-3なので(ステップB6)、図14に示すように当該線分S4をそのまま連続線M上の一区間とする(ステップB7)。 Next, for the fourth line segment S 4 , the corresponding line segment data is extracted (step A 2 ), and line segment integration processing is executed (step A 3 ). In this segment integration process, as shown in FIG. 14, but defines the approximate arc E 4 corresponding to the line segment S 4 (Step B 1), since the radius r 4 of the approximate arc E 4 exceeds the upper limit radius It turns out that there is no validity as an arc (step B 2 ). In this case, since the immediately preceding section is the arc E 1-3 (step B 6 ), the line segment S 4 is directly used as one section on the continuous line M as shown in FIG. 14 (step B 7 ).

次に、5番目の線分S5について、該当の線分デ―タを抽出し(ステップA2)、線分統合処理を実行する(ステップA3)。この線分統合処理でも、線分S5に対応する近似円弧E5(図示せず)を定義しても(ステップB1)、この近似円弧E5に円弧としての妥当性がないので(ステップB2)、円弧近似はできず、直線近似を検討する。この場合は、直前の区間が直線S4なので(ステップB6)、図17に示すように1つ前の直線S4と線分S5とを1つに統合する、つまり直線S4の始端と線分S5の終端とを結ぶ1本の結合直線G4-5を定義する(ステップB8)。そして、この結合直線G4-5について近似性つまり直線近似の妥当性があるか否かを所定の判定基準にしたがって判定する(ステップB9)。 Next, with respect to the fifth line segment S 5 , the corresponding line segment data is extracted (step A 2 ), and line segment integration processing is executed (step A 3 ). Even in this line segment integration process, even if an approximate arc E 5 (not shown) corresponding to the line segment S 5 is defined (step B 1 ), the approximate arc E 5 has no validity as an arc (step B 1 ). B 2 ) Arc approximation is not possible, but straight line approximation is considered. In this case, since the immediately preceding section is the straight line S 4 (step B 6 ), as shown in FIG. 17, the previous straight line S 4 and the line segment S 5 are integrated into one, that is, the beginning of the straight line S 4 . A single connecting straight line G 4-5 that connects the end of the line segment S 5 is defined (step B 8 ). Then, it is determined according to a predetermined criterion whether or not this combined straight line G 4-5 has approximation, that is, validity of linear approximation (step B 9 ).

一実施例として、この判定基準は、(ア)当該線分の始端から結合直線までの最短の距離dが所定の上限距離D以下であるかどうかである。この結合直線G4-5は上記要件(ア)を満たしている。また、後述する累積偏り誤差も上限値をオーバーしていないので(ステップB10)、図18に示すように両直線S4,G4-5に代えて結合直線G4-5を連続線M上の一区間とする(ステップB11)。 As an example, this criterion is (a) whether or not the shortest distance d from the start of the line segment to the combined straight line is equal to or less than a predetermined upper limit distance D. This connecting straight line G 4-5 satisfies the above requirement (a). Further, since the cumulative bias error described later does not exceed the upper limit value (step B 10 ), as shown in FIG. 18, instead of both straight lines S 4 and G 4-5 , the combined straight line G 4-5 is a continuous line M. The upper section is set (step B 11 ).

上記上限距離Dも、『ファイル作成画面』中のマーキング条件設定画面56(図3)で設定入力されている「Qスイッチ周波数」、「スキャニング速度」をパラメータとし、「スキャニング速度」に比例し、「Qスイッチ周波数」には反比例するように設定される。したがって、「スキャニング速度」を低くするほど、あるいは「Qスイッチ周波数」を高くするほど、つまりレーザマーキングの分解能を高くするほど、上限距離Dは小さな値をとる(結合要件(ア)が厳しくなる)。反対に、「スキャニング速度」を高くするほど、あるいは「Qスイッチ周波数」を低くするほど、つまりレーザマーキングの分解能を低くするほど、上限距離Dが大きな値をとる(結合要件(ア)が緩くなる)。   The above upper limit distance D is also proportional to the “scanning speed” with the “Q switch frequency” and “scanning speed” set and input on the marking condition setting screen 56 (FIG. 3) in the “file creation screen” as parameters. The “Q switch frequency” is set to be inversely proportional. Accordingly, the lower the “scanning speed” or the higher “Q switch frequency”, that is, the higher the resolution of laser marking, the smaller the upper limit distance D becomes (the coupling requirement (a) becomes stricter). . Conversely, the higher the “scanning speed” or the lower the “Q switch frequency”, that is, the lower the resolution of the laser marking, the larger the upper limit distance D becomes (the coupling requirement (a) becomes looser). ).

図18に示すように、図示の例の連続線Mにおいては、5個の線分S1,S2,S3,S4,S5で構成されていた区間が、上記のようなデータ圧縮により1つの結合円弧E1-3と1つの結合直線G4-5に置き換えられることがわかる。 As shown in FIG. 18, in the continuous line M in the illustrated example, the section constituted by five line segments S 1 , S 2 , S 3 , S 4 , S 5 is the data compression as described above. Thus, it can be seen that one coupling arc E 1-3 and one coupling line G 4-5 are replaced.

なお、上記累積偏りのチェック(ステップB10)は、図19に示すように、線分Sが少しずつ傾斜していく場合に有効に機能する。すなわち、連続する多数の線分Sn,Sn+1,・・,Sn+5がいずれも進行方向の片側(図19の場合は右側)に傾いたまま直線近似が続けられると、偏り誤差dが累積され、図20に示すように最終結果の結合直線Gaが連続線Mの元の経路から片側に大きくずれてしまう。そこで、当該線分の始端からみて結合直線が連続線Mの進む方向に対して左側に位置するかもしくは右側に位置するかに応じて最短距離dに正負の符号を付け、最短距離dの累積値Σdの絶対値が所定の累積上限値を超えたときは直線近似としての妥当性がないと判定し、その場合は当該線分をそのまま連続線Mの一区間とする(ステップB7)。このような累積偏りのチェックと是正の処理を行うことで、たとえば図21に示すように、連続線Mの元の経路に近い結合直線Gb,Gcで直線近似することができる。 The cumulative bias check (step B 10 ) functions effectively when the line segment S is gradually inclined as shown in FIG. That is, if the linear approximation is continued with many continuous line segments S n , S n + 1 ,..., S n + 5 inclined to one side in the traveling direction (right side in the case of FIG. 19), error d are accumulated, straight connecting line G a final result, as shown in FIG. 20 is largely deviated from the original path of the continuous line M on one side. Therefore, a positive or negative sign is attached to the shortest distance d according to whether the connecting straight line is located on the left side or the right side with respect to the traveling direction of the continuous line M when viewed from the beginning of the line segment, and the shortest distance d is accumulated. When the absolute value of the value Σd exceeds a predetermined cumulative upper limit value, it is determined that there is no validity as a linear approximation, and in that case, the line segment is directly used as one section of the continuous line M (step B 7 ). By performing such cumulative bias check and correction processing, for example, as shown in FIG. 21, it is possible to perform linear approximation with coupled straight lines G b and G c close to the original path of the continuous line M.

この実施形態においては、マーキングデータ圧縮部40において上記のようなデータ圧縮処理を実行することにより、図4に示すようなパターン「12」を定義するCADデータをレーザマーキング用に変換ないし最適化することができる。すなわち、この実施形態によれば、図22に示すように、全体パターン「12」を構成する個々の単位パターン「1」,「2」の枠線または連続線M1,M2について、曲線部分を多数の微小線分Sに代えて必要最小限の個数の円弧Eで定義することにより、パターンの原形を保ったままマーキングデータを効果的にデータ(情報)圧縮することができる。 In this embodiment, CAD data defining the pattern “12” as shown in FIG. 4 is converted or optimized for laser marking by executing the above-described data compression processing in the marking data compression unit 40. be able to. That is, according to this embodiment, as shown in FIG. 22, the curve portions of the frame lines or continuous lines M 1 and M 2 of the individual unit patterns “1” and “2” constituting the entire pattern “12” are shown. Is defined by a necessary minimum number of arcs E instead of a large number of minute line segments S, marking (marking) data can be effectively compressed while maintaining the original pattern.

図23に、この実施形態におけるレーザマーキング加工の様子を示す。マーキング実行処理部44は、マーキングデータ記憶部42からパターン「12」の枠線を定義するマーキングデータを円弧または直線(線分、結合直線)単位で逐次読み出し、各マーキングデータの指示する行路上をレーザビームスポットBSが一定のスキャニング速度で移動するようにガルバノメータ・スキャナ50を動作させる。なお、レーザ発振器48よりQスイッチパルスのYAGレーザ光LBを一定の繰り返し周波数(Qスイッチ周波数)で発振出力させる。この実施形態によれば、上記のように、マーキングデータをデータ圧縮して、パターンを形成する円弧または直線の数(接続点の数)を大幅に減らしているので、マーキング速度の低下を来たすことなく、レーザマーキング加工の所要時間を大幅に短縮することができる。   FIG. 23 shows a state of laser marking processing in this embodiment. The marking execution processing unit 44 sequentially reads the marking data defining the frame line of the pattern “12” from the marking data storage unit 42 in units of arcs or straight lines (line segments, connecting straight lines), and on the path designated by each marking data. The galvanometer scanner 50 is operated so that the laser beam spot BS moves at a constant scanning speed. The laser oscillator 48 oscillates and outputs the YAG laser beam LB having a Q switch pulse at a constant repetition frequency (Q switch frequency). According to this embodiment, as described above, the marking data is compressed, and the number of arcs or straight lines (number of connection points) forming the pattern is greatly reduced, resulting in a decrease in marking speed. In addition, the time required for the laser marking process can be greatly reduced.

また、レーザマーキング加工の他にも、データ圧縮後のマーキングデータに基づいてマーキング作成・編集部38がハッチングやオフセットコピー等の編集処理を行う際にも、外枠Mを構成する円弧Eおよび直線G,Sの数が少ないため、外枠ないし境界認識が容易であり、編集処理速度が著しく向上する。   In addition to the laser marking process, when the marking creation / editing unit 38 performs editing processing such as hatching and offset copying based on the marking data after data compression, the arc E and the straight line constituting the outer frame M Since the number of G and S is small, outer frame or boundary recognition is easy, and the editing processing speed is remarkably improved.

本発明において、被加工物Wの表面に施されるマーキング加工は、典型的には文字、記号、図形等のパターンを描画するものであるが、トリミング等の表面除去加工等も可能である。   In the present invention, the marking process performed on the surface of the workpiece W typically draws patterns such as characters, symbols, and figures, but surface removal processes such as trimming are also possible.

本発明の一実施形態におけるスキャニング式レーザマーキング装置の外観を示す斜視図である。It is a perspective view which shows the external appearance of the scanning type laser marking apparatus in one Embodiment of this invention. 実施形態のレーザマーキング装置における制御部の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of the control part in the laser marking apparatus of embodiment. 実施形態におけるファイル作成画面を示す図である。It is a figure which shows the file creation screen in embodiment. CADで作成されるパターンの詳細構造の一例を示す図である。It is a figure which shows an example of the detailed structure of the pattern produced by CAD. 実施形態におけるデータ圧縮処理の手順を示すフローチャート図である。It is a flowchart figure which shows the procedure of the data compression process in embodiment. 実施形態におけるデータ圧縮処理の中の線分統合処理の手順を示すフローチャート図である。It is a flowchart figure which shows the procedure of the line segment integration process in the data compression process in embodiment. 実施形態におけるデータ圧縮処理の手法を説明するための連続線のサンプルを示す図である。It is a figure which shows the sample of the continuous line for demonstrating the method of the data compression process in embodiment. 実施形態におけるデータ圧縮処理の一段階を示す図である。It is a figure which shows one step of the data compression process in embodiment. 実施形態におけるデータ圧縮処理の一段階を示す図である。It is a figure which shows one step of the data compression process in embodiment. 実施形態におけるデータ圧縮処理の一段階を示す図である。It is a figure which shows one step of the data compression process in embodiment. 実施形態におけるデータ圧縮処理の一段階を示す図である。It is a figure which shows one step of the data compression process in embodiment. 実施形態におけるデータ圧縮処理の一段階を示す図である。It is a figure which shows one step of the data compression process in embodiment. 実施形態におけるデータ圧縮処理の一段階を示す図である。It is a figure which shows one step of the data compression process in embodiment. 実施形態におけるデータ圧縮処理の一段階を示す図である。It is a figure which shows one step of the data compression process in embodiment. 実施形態におけるデータ圧縮処理の一段階を示す図である。It is a figure which shows one step of the data compression process in embodiment. 実施形態におけるデータ圧縮処理の一段階を示す図である。It is a figure which shows one step of the data compression process in embodiment. 実施形態におけるデータ圧縮処理の一段階を示す図である。It is a figure which shows one step of the data compression process in embodiment. 実施形態におけるデータ圧縮処理の一段階を示す図である。It is a figure which shows one step of the data compression process in embodiment. 実施形態における累積偏り判定処理を説明するための連続線のサンプルを示す図である。It is a figure which shows the sample of the continuous line for demonstrating the accumulation bias determination process in embodiment. 実施形態において累積偏り判定処理を行わない場合の問題点を示す図である。It is a figure which shows the problem in the case of not performing an accumulation bias determination process in embodiment. 実施形態における累積偏り判定処理の作用を示す図である。It is a figure which shows the effect | action of the accumulation bias determination process in embodiment. CADデータ(図4)に実施形態のデータ圧縮処理を適用して得られるマーキングデータの構造をパターンのレベルで示す図である。It is a figure which shows the structure of the marking data obtained by applying the data compression process of embodiment to CAD data (FIG. 4) in the level of a pattern. 実施形態におけるレーザマーキング加工の様子を示す斜視図である。It is a perspective view which shows the mode of the laser marking process in embodiment.

符号の説明Explanation of symbols

10 制御電源ユニット
12 レーザ発振ユニット
14 スキャニング・ヘッド
18 ディスプレイ
30 入力部
32 表示部
36 マーキングデータ記憶部
38 マーキング作成・編集部
40 マーキングデータ圧縮部
42 マーキング条件記憶部
44 マーキング条件設定部
46 マーキング実行制御部
48 レーザ電源
50 レーザ発振器
52 ガルバノメータ・スキャナ
10 Control power supply unit 12 Laser oscillation unit
DESCRIPTION OF SYMBOLS 14 Scanning head 18 Display 30 Input part 32 Display part 36 Marking data memory | storage part 38 Marking preparation / editing part 40 Marking data compression part 42 Marking condition memory | storage part 44 Marking condition setting part 46 Marking execution control part 48 Laser power supply 50 Laser oscillator 52 Galvanometer scanner

Claims (8)

多数の線分を順次繋いで1つまたは複数の連続線を定義し、被加工物上でレーザビームのスポットを前記連続線に沿ってスキャニングして、前記連続線で規定された所望のパターンをレーザマーキングするレーザマーキング方法であって、
各々の線分について、当該線分の代表点と前記連続線上で当該線分の前または後に位置する1つまたは複数の他の線分の代表点とから当該線分に近似する近似円弧を定義する工程と、
前記近似円弧の円弧としての妥当性を第1の判定基準にしたがって判定する工程と、
前記近似円弧に円弧としての妥当性があるとの判定結果が出たときは、当該線分に代えて前記近似円弧を前記連続線の一区間とし、前記近似円弧に円弧としての妥当性がないとの判定結果が出たときは、当該線分をそのまま前記連続線の一区間とする工程と
前記近似円弧の円弧としての妥当性があるとの判定結果が出て、かつその1つ前の区間が円弧であるときは、前記1つ前の円弧と前記近似円弧との間に結合性があるか否かを、前記近似円弧の円中心と前記1つ前の円弧の円中心との距離が第1の上限距離以上であるときは両円弧の間に結合性がないとする第3の判定基準にしたがって判定する工程と、
前記1つ前の円弧と前記近似円弧との間に結合性があるとの判定結果が出たときは、前記1つ前の円弧と前記近似円弧とを統合する1つの結合円弧を前記連続線の新たな一区間とし、前記近似円弧と前記1つ前の円弧との間に結合性がないとの判定結果が出たときは、前記1つ前の円弧に繋げて前記近似円弧を前記連続線の新たな一区間とする工程と
を有し、
前記第1の上限距離は、前記レーザビームスポットのスキャニング速度をパラメータとし、前記スキャニング速度が高いほど大きな値に設定され、前記スキャニング速度が低いほど小さな値に設定される、
レーザマーキング方法。
A plurality of line segments are sequentially connected to define one or a plurality of continuous lines, and a laser beam spot is scanned along the continuous line on the workpiece to form a desired pattern defined by the continuous lines. Laser marking method for laser marking,
For each line segment, define an approximate arc that approximates the line segment from the representative point of the line segment and one or more other line segment representative points located before or after the line segment on the continuous line And a process of
Determining the validity of the approximate arc as an arc according to a first criterion;
When it is determined that the approximate arc is valid as an arc, the approximate arc is used as a section of the continuous line instead of the line segment, and the approximate arc is not valid as an arc. When the determination result is output, the step of setting the line segment as one section of the continuous line as it is ,
When it is determined that the approximate arc is valid as an arc and the previous section is an arc, there is connectivity between the previous arc and the approximate arc. Whether there is no connectivity between the two arcs when the distance between the circle center of the approximate arc and the circle center of the previous arc is equal to or greater than the first upper limit distance. A step of judging according to a judgment criterion;
When it is determined that there is connectivity between the previous arc and the approximate arc, one continuous arc that integrates the previous arc and the approximate arc is defined as the continuous line. When a determination result is obtained that there is no connectivity between the approximate arc and the previous arc, the approximate arc is connected to the previous arc and the continuous arc is continuous. The process of making a new section of the line
Have
The first upper limit distance has a scanning speed of the laser beam spot as a parameter, and is set to a larger value as the scanning speed is higher, and is set to a smaller value as the scanning speed is lower.
Laser marking method.
多数の線分を順次繋いで1つまたは複数の連続線を定義し、被加工物上でQスイッチパルスのレーザビームのスポットを前記連続線に沿ってスキャニングして、前記連続線で規定された所望のパターンをレーザマーキングするレーザマーキング方法であって、
各々の線分について、当該線分の代表点と前記連続線上で当該線分の前または後に位置する1つまたは複数の他の線分の代表点とから当該線分に近似する近似円弧を定義する工程と、
前記近似円弧の円弧としての妥当性を第1の判定基準にしたがって判定する工程と、
前記近似円弧に円弧としての妥当性があるとの判定結果が出たときは、当該線分に代えて前記近似円弧を前記連続線の一区間とし、前記近似円弧に円弧としての妥当性がないとの判定結果が出たときは、当該線分をそのまま前記連続線の一区間とする工程と
前記近似円弧の円弧としての妥当性があるとの判定結果が出て、かつその1つ前の区間が円弧であるときは、前記1つ前の円弧と前記近似円弧との間に結合性があるか否かを、前記近似円弧の円中心と前記1つ前の円弧の円中心との距離が第1の上限距離以上であるときは両円弧の間に結合性がないとする第3の判定基準にしたがって判定する工程と、
前記1つ前の円弧と前記近似円弧との間に結合性があるとの判定結果が出たときは、前記1つ前の円弧と前記近似円弧とを統合する1つの結合円弧を前記連続線の新たな一区間とし、前記近似円弧と前記1つ前の円弧との間に結合性がないとの判定結果が出たときは、前記1つ前の円弧に繋げて前記近似円弧を前記連続線の新たな一区間とする工程と
を有し、
前記第1の上限距離は、前記Qスイッチパルスの繰り返し周波数をパラメータとし、前記繰り返し周波数が高いほど小さな値に設定され、前記繰り返し周波数が低いほど大きな値に設定される、
レーザマーキング方法。
A number of line segments are sequentially connected to define one or more continuous lines, and a laser beam spot of a Q-switched pulse is scanned along the continuous line on the workpiece and defined by the continuous lines. A laser marking method for laser marking a desired pattern,
For each line segment, define an approximate arc that approximates the line segment from the representative point of the line segment and one or more other line segment representative points located before or after the line segment on the continuous line And a process of
Determining the validity of the approximate arc as an arc according to a first criterion;
When it is determined that the approximate arc is valid as an arc, the approximate arc is used as one section of the continuous line instead of the line segment, and the approximate arc is not valid as an arc. When the determination result is output, the step of setting the line segment as one section of the continuous line as it is ,
When it is determined that the approximate arc is valid as an arc and the previous section is an arc, there is connectivity between the previous arc and the approximate arc. Whether there is no connectivity between the two arcs when the distance between the circle center of the approximate arc and the circle center of the previous arc is equal to or greater than the first upper limit distance. A step of judging according to a judgment criterion;
When it is determined that there is connectivity between the previous arc and the approximate arc, one continuous arc that integrates the previous arc and the approximate arc is defined as the continuous line. When a determination result is obtained that there is no connectivity between the approximate arc and the previous arc, the approximate arc is connected to the previous arc and the continuous arc is continuous. The process of making a new section of the line
Have
The first upper limit distance has a repetition frequency of the Q switch pulse as a parameter, and is set to a smaller value as the repetition frequency is higher, and is set to a larger value as the repetition frequency is lower.
Laser marking method.
多数の線分を順次繋いで1つまたは複数の連続線を定義し、被加工物上でレーザビームのスポットを前記連続線に沿ってスキャニングして、前記連続線で規定された所望のパターンをレーザマーキングするレーザマーキング方法であって、
各々の線分について、当該線分の代表点と前記連続線上で当該線分の前または後に位置する1つまたは複数の他の線分の代表点とから当該線分に近似する近似円弧を定義する工程と、
前記近似円弧の円弧としての妥当性を第1の判定基準にしたがって判定する工程と、
前記近似円弧に円弧としての妥当性があるとの判定結果が出たときは、当該線分に代えて前記近似円弧を前記連続線の一区間とする工程と、
前記近似円弧に円弧としての妥当性がないとの判定結果が出て、かつ1つ前の区間が円弧であるときは、当該線分をそのまま前記連続線の一区間とする工程と、
前記近似円弧に円弧としての妥当性がないとの判定結果が出て、かつ1つ前の区間が直線であるときは、その1つ前の直線と当該線分とを統合する1つの結合直線を定義する工程と、
前記結合直線の直線近似としての妥当性を、当該線分の始端から前記統合直線までの最短の距離が第2の上限距離以上であるときは前記結合直線に直線近似としての妥当性がないとする第2の判定基準にしたがって判定する工程と、
前記結合直線に直線近似としての妥当性があるとの判定結果が出たときは、前記1つ前の直線および当該線分に代えて前記結合直線を前記連続線上の一区間とし、前記結合直線に近似性がないとの判定結果が出たときは、前記1つ前の直線に繋げて当該線分をそのまま前記連続線の一区間とする工程と
を有し、
前記第2の上限距離は、前記レーザビームスポットのスキャニング速度をパラメータとし、前記スキャニング速度が高いほど大きな値に設定され、前記スキャニング速度が低いほど小さな値に設定される、
レーザマーキング方法。
A plurality of line segments are sequentially connected to define one or a plurality of continuous lines, and a laser beam spot is scanned along the continuous line on the workpiece to form a desired pattern defined by the continuous lines. Laser marking method for laser marking,
For each line segment, define an approximate arc that approximates the line segment from the representative point of the line segment and one or more other line segment representative points located before or after the line segment on the continuous line And a process of
Determining the validity of the approximate arc as an arc according to a first criterion;
When the determination result that the approximate arc has validity as an arc is obtained, the step of setting the approximate arc as one section of the continuous line instead of the line segment;
When the determination result that the approximate arc is not valid as an arc is obtained and the previous section is an arc, the line segment as it is as one section of the continuous line;
When a determination result that the approximate arc is not valid as an arc appears and the previous section is a straight line, one combined straight line that integrates the previous straight line and the line segment A process of defining
When the shortest distance from the beginning of the line segment to the integrated line is equal to or greater than a second upper limit distance, the combined line has no validity as a straight line approximation. and determining in accordance with a second criterion that,
When it is determined that the combined straight line is valid as a straight line approximation, the combined straight line is set as a section on the continuous line instead of the previous straight line and the line segment, and the combined straight line When the determination result that there is no approximation is obtained, the step of connecting the line segment to the previous straight line as it is as one section of the continuous line;
Have
The second upper limit distance has a scanning speed of the laser beam spot as a parameter, and is set to a larger value as the scanning speed is higher, and is set to a smaller value as the scanning speed is lower.
Laser marking method.
多数の線分を順次繋いで1つまたは複数の連続線を定義し、被加工物上でQスイッチパルスのレーザビームのスポットを前記連続線に沿ってスキャニングして、前記連続線で規定された所望のパターンをレーザマーキングするレーザマーキング方法であって、
各々の線分について、当該線分の代表点と前記連続線上で当該線分の前または後に位置する1つまたは複数の他の線分の代表点とから当該線分に近似する近似円弧を定義する工程と、
前記近似円弧の円弧としての妥当性を第1の判定基準にしたがって判定する工程と、
前記近似円弧に円弧としての妥当性があるとの判定結果が出たときは、当該線分に代えて前記近似円弧を前記連続線の一区間とする工程と、
前記近似円弧に円弧としての妥当性がないとの判定結果が出て、かつ1つ前の区間が円弧であるときは、当該線分をそのまま前記連続線の一区間とする工程と、
前記近似円弧に円弧としての妥当性がないとの判定結果が出て、かつ1つ前の区間が直線であるときは、その1つ前の直線と当該線分とを統合する1つの結合直線を定義する工程と、
前記結合直線の直線近似としての妥当性を、当該線分の始端から前記統合直線までの最短の距離が第2の上限距離以上であるときは前記結合直線に直線近似としての妥当性がないとする第2の判定基準にしたがって判定する工程と、
前記結合直線に直線近似としての妥当性があるとの判定結果が出たときは、前記1つ前の直線および当該線分に代えて前記結合直線を前記連続線上の一区間とし、前記結合直線に近似性がないとの判定結果が出たときは、前記1つ前の直線に繋げて当該線分をそのまま前記連続線の一区間とする工程と
を有し、
前記第2の上限距離は、前記Qスイッチパルスの繰り返し周波数をパラメータとし、前記繰り返し周波数が高いほど小さな値に設定され、前記繰り返し周波数が低いほど大きな値に設定される、
レーザマーキング方法。
A number of line segments are sequentially connected to define one or more continuous lines, and a laser beam spot of a Q-switched pulse is scanned along the continuous line on the workpiece and defined by the continuous lines. A laser marking method for laser marking a desired pattern,
For each line segment, define an approximate arc that approximates the line segment from the representative point of the line segment and one or more other line segment representative points located before or after the line segment on the continuous line And a process of
Determining the validity of the approximate arc as an arc according to a first criterion;
When the determination result that the approximate arc has validity as an arc is obtained, the step of setting the approximate arc as one section of the continuous line instead of the line segment;
When the determination result that the approximate arc is not valid as an arc is obtained and the previous section is an arc, the line segment as it is as one section of the continuous line;
When a determination result that the approximate arc is not valid as an arc appears and the previous section is a straight line, one combined straight line that integrates the previous straight line and the line segment A process of defining
When the shortest distance from the beginning of the line segment to the integrated line is equal to or greater than a second upper limit distance, the combined line has no validity as a straight line approximation. and determining in accordance with a second criterion that,
When it is determined that the combined straight line is valid as a straight line approximation, the combined straight line is set as a section on the continuous line instead of the previous straight line and the line segment, and the combined straight line When the determination result that there is no approximation is obtained, the step of connecting the line segment to the previous straight line as it is as one section of the continuous line;
Have
The second upper limit distance has a repetition frequency of the Q switch pulse as a parameter, and is set to a smaller value as the repetition frequency is higher, and is set to a larger value as the repetition frequency is lower.
Laser marking method.
前記第2の判定基準は、さらに、当該線分の始端からみて前記結合直線が前記連続線の進む方向に対して左側に位置するかもしくは右側に位置するかに応じて前記最短距離に正負の符号を付け、前記最短距離の累積値が所定の上限値を超えたときは直線近似としての妥当性がないとする、請求項3または請求項4に記載のレーザマーキング方法。 The second determination criterion is further positive or negative in the shortest distance depending on whether the connecting straight line is located on the left side or the right side with respect to the direction in which the continuous line proceeds as viewed from the start end of the line segment. 5. The laser marking method according to claim 3 , wherein a sign is attached, and when the cumulative value of the shortest distance exceeds a predetermined upper limit value, there is no validity as a linear approximation. 前記近似円弧は、当該線分の両端および1つ前の線分の始端の3点を通る円弧のうち当該線分の始端と終端とを結ぶ部分である請求項1〜5のいずれか一項に記載のレーザマーキング方法。 The approximate arc is beginning and a portion connecting the end of the line segment of the arc passing through three points of the starting end of the two ends and the previous segment of the segment, any one of claims 1 to 5 The laser marking method according to item . 前記第1の判定基準は、さらに、前記近似円弧の中心角が所定の下限角度以下であるときは円弧としての妥当性がないとする請求項1〜のいずれか一項に記載のレーザマーキング方法。 The first criterion is further directed to the central angle of the approximate arc there is no validity of the arc when it is below a predetermined lower limit angle, laser according to any one of claims 1 to 6 Marking method. 前記第1の判定基準は、さらに、前記仮想円弧の半径が所定の上限半径以上であるときは円弧としての妥当性がないとする請求項1〜のいずれか一項に記載のレーザマーキング方法。 The first criterion, further the virtual arc radius that there is no validity of the arcs when the predetermined upper limit radius above, laser marking according to any one of claims 1-7 Method.
JP2006171074A 2006-06-21 2006-06-21 Laser marking method Expired - Fee Related JP4895699B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006171074A JP4895699B2 (en) 2006-06-21 2006-06-21 Laser marking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006171074A JP4895699B2 (en) 2006-06-21 2006-06-21 Laser marking method

Publications (2)

Publication Number Publication Date
JP2008003756A JP2008003756A (en) 2008-01-10
JP4895699B2 true JP4895699B2 (en) 2012-03-14

Family

ID=39008095

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006171074A Expired - Fee Related JP4895699B2 (en) 2006-06-21 2006-06-21 Laser marking method

Country Status (1)

Country Link
JP (1) JP4895699B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112010002245T8 (en) * 2009-06-03 2013-03-14 Mitsubishi Electric Corp. NUMERICAL CONTROL DEVICE AND PRODUCTION SYSTEM
JP5596456B2 (en) * 2010-07-23 2014-09-24 セミコンダクター・コンポーネンツ・インダストリーズ・リミテッド・ライアビリティ・カンパニー Laser processing method and semiconductor device using the processing method
JP5817120B2 (en) * 2011-01-11 2015-11-18 株式会社リコー Laser drawing device
JP6107782B2 (en) 2014-09-30 2017-04-05 ブラザー工業株式会社 Program and laser processing apparatus
JP2020086472A (en) * 2018-11-14 2020-06-04 Dgshape株式会社 Graphic data creation program
CN114434012A (en) * 2022-01-19 2022-05-06 甬矽半导体(宁波)有限公司 Laser printing path planning method and laser device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58178405A (en) * 1982-04-12 1983-10-19 Toyoda Mach Works Ltd Numerical controller equipped with automatic programming function
JPS58178406A (en) * 1982-04-14 1983-10-19 Mitsubishi Electric Corp Nc data generating device for numerical control
JPS61188678A (en) * 1985-02-18 1986-08-22 Mitsubishi Electric Corp Graphic recognition device
JPH0760341B2 (en) * 1987-07-31 1995-06-28 オークマ株式会社 Numerical control method
JPS6453272A (en) * 1987-08-25 1989-03-01 Canon Kk Compression method for linear image data
JPH01180679A (en) * 1988-01-13 1989-07-18 Ricoh Co Ltd Line graphic approximation method
JPH05165514A (en) * 1991-12-12 1993-07-02 Fanuc Ltd Interpolating system for numerical controller
JPH08263112A (en) * 1995-03-20 1996-10-11 Honda Motor Co Ltd Method for generating nc data
JPH1085962A (en) * 1996-09-11 1998-04-07 Miyachi Technos Corp Scanning type laser marking device
JP2001273016A (en) * 2000-03-28 2001-10-05 Sumitomo Heavy Ind Ltd Data processor and a memory medium readable by a computer

Also Published As

Publication number Publication date
JP2008003756A (en) 2008-01-10

Similar Documents

Publication Publication Date Title
JP4895699B2 (en) Laser marking method
JP5201975B2 (en) Laser processing apparatus and laser processing method
US8890917B2 (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
CN101112735A (en) Laser processing device, laser processing condition setting device, method and program
US11364567B2 (en) Laser machining apparatus that irradiates guide beam to project guide pattern indicating setup position for workpiece
JP5072281B2 (en) Laser processing apparatus, laser processing condition setting apparatus, laser processing method, laser processing condition setting method, laser processing condition setting program
JP4575812B2 (en) Laser marking device and barcode printing method using the same
JP5106787B2 (en) Laser marking method and apparatus
JP2015196166A (en) Laser processing apparatus, laser processing method, and program
US10919110B2 (en) Data generating device setting machining condition suitable for foil placed on workpiece to be machined by irradiating laser beam thereon
JP2008009661A (en) Laser machining condition setting device, laser machining device, laser machining condition setting method, laser machining condition setting program, and computer-readable recording medium and recording equipment
JPH09122945A (en) Laser beam machine
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
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
JP4098937B2 (en) Laser marking method and apparatus for two-dimensional barcode
JP6287928B2 (en) Laser processing equipment
US20200096968A1 (en) Non-transitory computer-readable medium including a preview presentation program, processing method, and cam system
JP2013116504A (en) Laser beam machining device and laser beam machining condition setting device
JP6866853B2 (en) Laser machining equipment and laser machining method
JPH1015676A (en) Scanning type laser marking device
JP4461740B2 (en) Laser marking device
JP7294190B2 (en) Laser processing system, controller, and control program
WO2022190527A1 (en) Laser printing data generator and laser marker system
JP7380333B2 (en) Laser processing equipment and processing method
JP7295355B1 (en) Machining information display device, laser processing control device, and processing information display program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090609

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100513

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110524

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110725

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111213

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111220

R150 Certificate of patent or registration of utility model

Ref document number: 4895699

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150106

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees