JP2011083815A - Drawing control device, laser beam applying apparatus, drawing control method, drawing control program, and recording medium recording the same - Google Patents

Drawing control device, laser beam applying apparatus, drawing control method, drawing control program, and recording medium recording the same Download PDF

Info

Publication number
JP2011083815A
JP2011083815A JP2009240397A JP2009240397A JP2011083815A JP 2011083815 A JP2011083815 A JP 2011083815A JP 2009240397 A JP2009240397 A JP 2009240397A JP 2009240397 A JP2009240397 A JP 2009240397A JP 2011083815 A JP2011083815 A JP 2011083815A
Authority
JP
Japan
Prior art keywords
speed
direction change
change degree
target
medium
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009240397A
Other languages
Japanese (ja)
Other versions
JP5458794B2 (en
Inventor
Fumihiro Hasegawa
史裕 長谷川
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2009240397A priority Critical patent/JP5458794B2/en
Publication of JP2011083815A publication Critical patent/JP2011083815A/en
Application granted granted Critical
Publication of JP5458794B2 publication Critical patent/JP5458794B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mechanical Optical Scanning Systems (AREA)
  • Laser Beam Processing (AREA)
  • Facsimile Heads (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a drawing control device capable of suppressing the distortion in a drawing without using any complicated control mechanism, and to provide a laser beam applying apparatus, a drawing control program, and a recording medium, in which the drawing control program is recorded. <P>SOLUTION: The drawing control device for controlling a drawing device to draw an object for drawing on a medium includes a drawing position determining device for determining the drawing position of drawing the object on the medium based on drawing information for drawing the object; a direction changing degree computing device for computing the direction changing degree of line segments continuous to each other and included in the object based on the drawing information or the drawing position; a drawing speed computing device for computing the speed of drawing the object on the medium at a lower value as the direction changing degree to be computed by the direction changing degree processor is larger; and a drawing command generator for generating the drawing command reflecting the drawing position and the drawing speed. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、描画制御装置、レーザ照射装置、描画制御方法、描画制御プログラム、及びこれを記録した記録媒体に関する。   The present invention relates to a drawing control device, a laser irradiation device, a drawing control method, a drawing control program, and a recording medium recording the same.

金属、プラスチック、感熱紙等の媒体にレーザ光を照射して加熱することで、媒体に文字、数字、又は記号等を書き込む技術を活用したレーザ照射装置(レーザマーカ、又はレーザマーキング装置)が市販されている。   Laser irradiation devices (laser markers or laser marking devices) that use technology to write letters, numbers, symbols, etc. on a medium by irradiating a medium such as metal, plastic, or thermal paper with laser light are heated. ing.

レーザ照射装置のレーザ光源としてガスレーザ、固体レーザ、液体レーザ、半導体レーザ等を用いてレーザ光を照射することにより、文字等を金属、プラスチック、感熱紙等の媒体に書き込むことができる。   By irradiating a laser beam using a gas laser, a solid-state laser, a liquid laser, a semiconductor laser, or the like as a laser light source of the laser irradiation apparatus, characters or the like can be written on a medium such as metal, plastic, or thermal paper.

金属やプラスチックは、レーザ光を照射して加熱することにより、削ったり焦がしたりすることで描画が行われる。一方、感熱紙は、熱により変色する性質をもっており、レーザ光照射による加熱で記録層が発色することで描画が行われる。   Metals and plastics are drawn by shaving or scorching by irradiating with laser light and heating. On the other hand, thermal paper has the property of being discolored by heat, and drawing is performed when the recording layer is colored by heating with laser light irradiation.

感熱紙は、金属やプラスチックの媒体に比べて取り扱いが容易であるため、例えば、物流等の分野で物品の宛先や物品名を印字する媒体として広く用いられている。   Since thermal paper is easier to handle than metal and plastic media, it is widely used as a medium for printing the address of an article and the name of an article in the field of logistics, for example.

そして、このような感熱紙でも書き込み、消去を繰り返し行えるリライタブルのものが登場してきた。例えば、物流で利用する際には、コンテナに媒体を貼ったまま書き込み、消去ができることが望ましい。このため、フレキシブルジョイントにより構成された複数のレンズ系の一端から入射したレーザ光による画像を他端まで伝達するリレーレンズ系を用いて、非接触でレーザ光を媒体に照射して発熱させることで文字等を描く装置が提案されている(例えば、特許文献1参照)。   And rewritable paper that can be written and erased even with such thermal paper has appeared. For example, when used in physical distribution, it is desirable that writing and erasing can be performed with a medium attached to a container. For this reason, by using a relay lens system that transmits an image by laser light incident from one end of a plurality of lens systems configured by a flexible joint to the other end, the medium is irradiated with laser light in a non-contact manner to generate heat. An apparatus for drawing characters and the like has been proposed (see, for example, Patent Document 1).

また、レーザによる画像形成方法としては、1つの原画像データを複数のラインに分割して、ライン毎に感光ドラムにレーザを照射する画像形成方法がある(例えば、特許文献2参照)。   As an image forming method using a laser, there is an image forming method in which one original image data is divided into a plurality of lines and a photosensitive drum is irradiated with a laser for each line (see, for example, Patent Document 2).

レーザマーキング装置は、ガルバノミラーを走査するガルバノスキャナを含み、描画しようとする文字等を表す座標データを用いてガルバノミラーを走査することにより、レーザ光を照射して描画を行う。   The laser marking device includes a galvano scanner that scans a galvano mirror, and performs drawing by irradiating a laser beam by scanning the galvano mirror using coordinate data representing characters or the like to be drawn.

ところで、一般的に、ガルバノミラーの慣性による挙動遅れや制御遅れ等が存在するため、制御装置からガルバノスキャナに座標データを入力しても、レーザ照射点(ガルバノミラーの位置)に追従遅れが生じる。   By the way, since there is generally a behavioral delay or a control delay due to the inertia of the galvanometer mirror, even if coordinate data is input from the control device to the galvanometer scanner, a tracking delay occurs at the laser irradiation point (galvanometer mirror position). .

図1は、従来のレーザマーキング装置による描画の問題点を説明するための図である。例えば、特開2001−225181号公報では、図1に示すように、円を描画する場合は、円Cを複数の線分(点P1,P2,P3,P4・・・で区切られる線分)に分割し、各線分を繋ぐようにレーザ光を走査している。   FIG. 1 is a diagram for explaining a problem of drawing by a conventional laser marking apparatus. For example, in Japanese Patent Laid-Open No. 2001-225181, as shown in FIG. 1, when a circle is drawn, the circle C is divided into a plurality of line segments (line segments delimited by points P1, P2, P3, P4...). The laser beam is scanned so as to connect the line segments.

ここで、点P0から円Cの描画を開始する場合は、点P0が最初の線分P0P1の始点となり、この線分P0P1の終点となる点P1にレーザ光の照射点を移動させるための移動命令をガルバノスキャナに入力する。   Here, when drawing the circle C from the point P0, the point P0 becomes the start point of the first line segment P0P1, and the movement for moving the laser light irradiation point to the point P1 which is the end point of the line segment P0P1 Input the command to the galvano scanner.

制御装置は、レーザ光の照射点が各線分を移動するのに要する所定時間毎に次の線分の終点への移動命令をガルバノスキャナに入力する。このため、制御装置は、最初の操作指令から所定時間後に、レーザ光の照射点が点P1に到達するものとして、次の線分P1P2の終点となる点P2にレーザ光の照射点を移動させる移動命令をガルバノスキャナに入力する。   The control device inputs a movement command to the end point of the next line segment to the galvano scanner every predetermined time required for the irradiation point of the laser beam to move each line segment. For this reason, the control device moves the laser light irradiation point to the point P2 which is the end point of the next line segment P1P2, assuming that the laser light irradiation point reaches the point P1 after a predetermined time from the first operation command. Input the movement command to the galvano scanner.

ところが、点P2への移動命令がガルバノスキャナに入力された時点では、上述した追従遅れにより、実際にはレーザ光の照射点は始点P1に到達していない(場合によっては始点P0と殆ど変わらない位置にある可能性もある)。   However, when the movement command to the point P2 is input to the galvano scanner, the laser light irradiation point does not actually reach the start point P1 due to the follow-up delay described above (in some cases, it hardly changes from the start point P0). May be in position).

このため、点P2への移動命令がガルバノスキャナに与えられると、再び追従遅れを伴いながら、レーザの照射点は点P2に向かって走査される。   For this reason, when the movement command to the point P2 is given to the galvano scanner, the laser irradiation point is scanned toward the point P2, again with a follow-up delay.

その後、各線分の終点に到達する前に、次々に移動命令が与えられるため、レーザ光の照射点による軌跡は、円Cよりも内側に歪んだ小さな円形となってしまう。   After that, before reaching the end point of each line segment, a movement command is given one after another, so the locus by the laser light irradiation point becomes a small circle distorted inward from the circle C.

このような追従遅れは、ガルバノスキャナの走査速度(描画速度)が高速になるほど、ガルバノミラーの慣性によって顕著となり、描画される文字、数字、記号、図形等に、より大きな歪みが生じていた。   Such a follow-up delay becomes more conspicuous due to the inertia of the galvanometer mirror as the scanning speed (drawing speed) of the galvano scanner becomes higher, and a larger distortion is generated in drawn characters, numbers, symbols, figures, and the like.

なお、上述のような追従遅れは、レーザマーキング装置に限らず、X−Yプロッタのように2軸方向にヘッド等を走査する描画装置においても同様に生じていた。   The follow-up delay as described above occurs not only in the laser marking device but also in a drawing device that scans the head or the like in the biaxial direction like an XY plotter.

また、特許第3228717号公報には、追従遅れによる歪みを抑制するために、描画する線分の端点でレーザ照射点(ガルバノミラーの位置)の追従遅れを待ち、追従を検知してから次の移動命令をガルバノスキャナに入力する制御手法が開示されている。   Further, in Japanese Patent No. 3228717, in order to suppress the distortion due to the tracking delay, the tracking delay of the laser irradiation point (galvano mirror position) is waited at the end point of the line segment to be drawn, and the following is detected after the tracking is detected. A control method for inputting a movement command to a galvano scanner is disclosed.

しかしながら、この制御手法には、レーザ照射点(ガルバノミラーの位置)の追従を検知する装置が必要となり、待ち時間を含めるための制御が複雑になるという課題があった。   However, this control method requires a device that detects the tracking of the laser irradiation point (the position of the galvano mirror), and has a problem that the control for including the waiting time becomes complicated.

また、特開2004−354781号公報や特開平10−263854号公報には、ガルバノミラーのうちのX方向用のミラーとY方向用のミラーの大きさが異なる場合は、2つのミラーの慣性の違いによって描画の歪み方が2つの軸方向で異なるため、これを補正する手法が提案されていた。   Japanese Patent Application Laid-Open No. 2004-354781 and Japanese Patent Application Laid-Open No. 10-263854 disclose that the inertia of two mirrors is different when the size of the X-direction mirror and the Y-direction mirror is different. Since the drawing distortion differs depending on the difference between the two axial directions, a method for correcting this has been proposed.

しかしながら、これらの補正手法には、歪みを矯正するための制御処理が複雑になるという課題があった。   However, these correction methods have a problem that the control processing for correcting the distortion becomes complicated.

そこで、本発明は、複雑な制御機構を用いることなく、描画における歪みを抑制できる描画制御装置、レーザ照射装置、描画制御方法、描画制御プログラム、及びこれを記録した記録媒体を提供することを目的とする。   Accordingly, an object of the present invention is to provide a drawing control device, a laser irradiation device, a drawing control method, a drawing control program, and a recording medium recording the same, which can suppress distortion in drawing without using a complicated control mechanism. And

本発明の実施の形態の一観点の描画制御装置は、媒体に描画対象を描画する描画装置を制御する描画制御装置であって、前記描画対象を描画するための描画情報に基づき、前記媒体に前記描画対象を描画する描画位置を決定する描画位置決定手段と、前記描画情報又は前記描画位置に基づき、前記描画対象に含まれる相連続する線分同士の方向変化度合を演算する方向変化度合演算手段と、前記方向変化度合演算手段によって演算される前記方向変化度合が大きいほど、前記媒体に前記描画対象を描画する速度を低く演算する描画速度演算手段と、前記描画位置及び前記描画速度を反映した描画命令を生成する描画命令生成手段とを含む。   A drawing control apparatus according to an aspect of an embodiment of the present invention is a drawing control apparatus that controls a drawing apparatus that draws a drawing target on a medium. The drawing control apparatus controls the drawing based on the drawing information for drawing the drawing target. A drawing position determining means for determining a drawing position for drawing the drawing object, and a direction change degree calculation for calculating a direction change degree between continuous line segments included in the drawing object based on the drawing information or the drawing position. And the drawing speed calculation means for calculating the drawing speed of the drawing target on the medium to be lower as the direction change degree calculated by the direction change degree calculation means increases, and the drawing position and the drawing speed are reflected. Drawing command generation means for generating the drawn drawing command.

また、前記描画速度演算手段は、描画開始位置から次の描画終了位置までに連続的に描画される一又は複数の前記線分を含む一筆部品、前記線分、又は前記描画対象を単位区間として、描画速度の演算を行ってもよい。   Further, the drawing speed calculation means uses a one-stroke component including one or a plurality of the line segments continuously drawn from the drawing start position to the next drawing end position, the line segment, or the drawing target as a unit section. The drawing speed may be calculated.

また、描画開始位置から次の描画終了位置まで連続的に描画される一又は複数の前記線分を含む一筆部品、前記線分、又は前記描画対象を描画するための描画速度を表す描画速度情報を方向変化度合と関連付けて格納する描画速度情報格納手段をさらに含み、前記描画速度演算手段は、前記方向変化度合演算手段によって演算される前記方向変化度合に基づいて、前記一筆部品、前記線分、又は前記描画対象を描画するための描画速度を表す前記描画速度情報を前記描画速度情報格納手段から抽出してもよい。   Also, drawing speed information indicating a drawing speed for drawing a one-stroke component including one or a plurality of the line segments, the line segments, or the drawing target that are continuously drawn from the drawing start position to the next drawing end position. Further includes drawing speed information storage means for storing the stroke change information in association with the direction change degree, and the drawing speed calculation means is configured to calculate the one-stroke component, the line segment based on the direction change degree calculated by the direction change degree calculation means. Alternatively, the drawing speed information indicating a drawing speed for drawing the drawing target may be extracted from the drawing speed information storage unit.

また、前記描画速度演算手段は、前記方向変化度合演算手段によって演算される前記方向変化度合によって生じうる描画の歪みの許容値と前記方向変化度合とに基づき、前記描画速度として、前記描画対象を描画する際の許容描画速度を演算してもよい。   In addition, the drawing speed calculation unit may calculate the drawing target as the drawing speed based on an allowable value of drawing distortion that may be caused by the direction change degree calculated by the direction change degree calculation unit and the direction change degree. You may calculate the allowable drawing speed at the time of drawing.

また、前記描画速度が低下するほど、前記描画装置が前記描画対象を描画する描画出力を低く演算する出力演算手段をさらに含み、前記描画命令生成手段は、前記描画出力を反映した前記描画命令を生成してもよい。   In addition, as the drawing speed decreases, the drawing apparatus further includes an output calculating unit that calculates a drawing output for drawing the drawing target, and the drawing command generating unit outputs the drawing command reflecting the drawing output. It may be generated.

また、前記描画装置の出力を変更する際に、当該変更後の出力による描画処理の前に描画処理を待機させるための所定の待機時間を演算する待機時間演算手段をさらに含み、前記描画命令生成手段は、前記待機時間を反映した前記描画命令を生成してもよい。   In addition, when changing the output of the drawing apparatus, the drawing apparatus further includes a waiting time calculating means for calculating a predetermined waiting time for waiting for the drawing process before the drawing process by the output after the change. The means may generate the drawing command reflecting the waiting time.

また、前記描画速度演算手段が描画速度を演算する処理を実行するモードと、前記処理を実行しないモードとのいずれかを設定するモード設定手段をさらに含んでもよい。   The drawing speed calculation unit may further include a mode setting unit that sets one of a mode for executing a process for calculating the drawing speed and a mode for not executing the process.

本発明の実施の形態の一観点のレーザ照射装置は、レーザを照射するレーザ発振器と、前記レーザ発振器が照射するレーザの照射方向を制御する方向制御ミラーと、前記方向制御ミラーを駆動する方向制御モータと、前記描画命令に基づき、前記レーザ発振器の照射出力の制御、及び前記方向制御モータの駆動制御を行う、前記いずれかに記載の描画制御装置とを有する。   A laser irradiation apparatus according to an embodiment of the present invention includes a laser oscillator that irradiates a laser, a direction control mirror that controls an irradiation direction of the laser irradiated by the laser oscillator, and a direction control that drives the direction control mirror. A drawing control apparatus according to any one of the above, wherein the drawing control device performs control of irradiation output of the laser oscillator and drive control of the direction control motor based on the drawing command.

本発明の実施の形態の一観点の描画制御方法は、媒体に描画対象を描画する描画装置をコンピュータが制御する描画制御方法であって、前記コンピュータは、前記描画対象を描画するための描画情報に基づき、前記媒体に前記描画対象を描画する描画位置を決定する描画位置決定工程と、前記描画情報又は前記描画位置に基づき、前記描画対象に含まれる相連続する線分同士の方向変化度合を演算する方向変化度合演算工程と、前記方向変化度合演算工程によって演算される前記方向変化度合が大きいほど、前記媒体に前記描画対象を描画する速度を低く演算する描画速度演算工程と、前記描画位置及び前記描画速度を反映した描画命令を生成する描画命令生成工程とを実行する。   A drawing control method according to an aspect of an embodiment of the present invention is a drawing control method in which a computer controls a drawing apparatus that draws a drawing object on a medium, and the computer draws the drawing object. A drawing position determining step for determining a drawing position for drawing the drawing object on the medium, and a direction change degree between consecutive line segments included in the drawing object based on the drawing information or the drawing position. A direction change degree calculation step to be calculated; a drawing speed calculation step of calculating a drawing speed of the drawing target on the medium lower as the direction change degree calculated in the direction change degree calculation step is larger; and the drawing position And a drawing command generation step of generating a drawing command reflecting the drawing speed.

本発明の実施の形態の一観点の描画制御プログラムは、コンピュータに、媒体に描画対象を描画する描画装置を制御する制御処理を実行させるための描画制御プログラムであって、前記コンピュータを前記描画対象を描画するための描画情報に基づき、前記媒体に前記描画対象を描画する描画位置を決定する描画位置決定手段、前記描画情報又は前記描画位置に基づき、前記描画対象に含まれる相連続する線分同士の方向変化度合を演算する方向変化度合演算手段、前記方向変化度合演算手段によって演算される前記方向変化度合が大きいほど、前記媒体に前記描画対象を描画する速度を低く演算する描画速度演算手段、及び前記描画位置及び前記描画速度を反映した描画命令を生成する描画命令生成手段として機能させる。   A drawing control program according to an aspect of an embodiment of the present invention is a drawing control program for causing a computer to execute a control process for controlling a drawing apparatus that draws a drawing target on a medium. A drawing position determining means for determining a drawing position for drawing the drawing object on the medium based on drawing information for drawing, a continuous line segment included in the drawing object based on the drawing information or the drawing position; Direction change degree calculation means for calculating the direction change degree between each other, drawing speed calculation means for calculating the drawing speed of the drawing object on the medium lower as the direction change degree calculated by the direction change degree calculation means is larger And a drawing command generating means for generating a drawing command reflecting the drawing position and the drawing speed.

本発明の実施の形態の一観点の描画制御プログラムを記録した記録媒体は、前記に記載の描画制御プログラムを記録したものである。   A recording medium on which a drawing control program according to an aspect of the present invention is recorded is a recording medium on which the drawing control program described above is recorded.

複雑な制御機構を用いることなく、描画における歪みを抑制できる描画制御装置、レーザ照射装置、描画制御方法、描画制御プログラム、及びこれを記録した記録媒体を提供できる。   It is possible to provide a drawing control apparatus, a laser irradiation apparatus, a drawing control method, a drawing control program, and a recording medium recording the same, which can suppress distortion in drawing without using a complicated control mechanism.

従来のレーザマーキング装置による描画の問題点を説明するための図である。It is a figure for demonstrating the problem of the drawing by the conventional laser marking apparatus. 実施の形態1のレーザマーキング装置100のハードウェア構成の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration of a laser marking device 100 according to Embodiment 1. FIG. 描画制御装置20のハードウェア構成の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration of a drawing control apparatus 20. FIG. フォントデータ、座標データ、及び座標データに基づいて描画された文字の一例を表す図である。It is a figure showing an example of the character drawn based on font data, coordinate data, and coordinate data. 実施の形態1の描画制御装置20の機能ブロックを示す図である。FIG. 3 is a diagram illustrating functional blocks of the drawing control apparatus 20 according to the first embodiment. (a)は、描画条件DB44の一例を示す図であり、(b)は、相連続する線分同士のなす角度の定義の仕方を説明するための図であり、(c)は、実施の形態1の描画制御装置20で用いる速度出力調整DB43の一例を示す図であり、(d)は、実施の形態1の描画制御装置20で用いる処理対象DB45の一例を示す図である。(A) is a figure which shows an example of drawing condition DB44, (b) is a figure for demonstrating how to define the angle which a continuous line segment makes, (c) is implementation figure It is a figure which shows an example of speed output adjustment DB43 used with the drawing control apparatus 20 of form 1, (d) is a figure which shows an example of process target DB45 used with the drawing control apparatus 20 of Embodiment 1. 実施の形態1の描画制御装置20による描画制御処理を表すフローチャートである。4 is a flowchart illustrating a drawing control process performed by the drawing control apparatus 20 according to the first embodiment. (a)は文字列の一例を示す図であり、(b)は(a)に示す文字列の描画基点の一例を示す図である。(A) is a figure which shows an example of a character string, (b) is a figure which shows an example of the drawing base point of the character string shown to (a). (a)は図8(a)に示す文字列の描画順の一例を示す図であり、(b)は(a)とは異なる描画順の一例を示す図である。(A) is a figure which shows an example of the drawing order of the character string shown to Fig.8 (a), (b) is a figure which shows an example of the drawing order different from (a). 実施の形態1の描画制御装置20によって生成される描画命令と描画対象の一例を示す図である。6 is a diagram illustrating an example of a drawing command and a drawing target generated by the drawing control device 20 according to the first embodiment. FIG. 実施の形態2の描画制御装置220の機能ブロックを示す図である。FIG. 10 is a diagram illustrating functional blocks of a drawing control apparatus 220 according to the second embodiment. 実施の形態2の描画制御装置220における描画の歪みの最大許容値の計算手法を説明するための図である。FIG. 11 is a diagram for explaining a method for calculating a maximum allowable value of drawing distortion in the drawing control apparatus 220 of the second embodiment. 実施の形態2の描画制御装置220による描画制御処理を表すフローチャートである。10 is a flowchart illustrating a drawing control process performed by the drawing control apparatus 220 according to the second embodiment.

以下、本発明の描画制御装置、レーザ照射装置、描画制御方法、描画制御プログラム、及びこれを記録した記録媒体を適用した実施の形態について説明する。   DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments to which a drawing control device, a laser irradiation device, a drawing control method, a drawing control program, and a recording medium recording the same are applied will be described below.

ここでは、「描画対象」なる文言は、文字、数字、記号、図形等の描画の対象を表すものとして用いる。また、「文字」とは、遍(へん)や旁(つくり)、又は、更にその一部等、文字の全体又は一部を表す文言として用いる。同様に、「数字」、「記号」、「図形」は、数字、記号、図形の全体又は一部を表す文言として用いる。   Here, the term “drawing target” is used to indicate a drawing target such as letters, numbers, symbols, and figures. In addition, the “character” is used as a word representing the whole or a part of a character such as a genre, a sword (making), or a part thereof. Similarly, “numerals”, “symbols”, and “graphics” are used as words that represent all or part of the numbers, symbols, and graphics.

また、「線分」とは、文字等の描画対象に含まれ、描画対象を描画するために両端の座標が決まっている区間をいう。この線分は、直線の一部だけでなく、曲線の一部も含み、太さを有する。   The “line segment” refers to a section that is included in a drawing target such as a character and whose coordinates at both ends are determined in order to draw the drawing target. This line segment includes not only a part of a straight line but also a part of a curve, and has a thickness.

また、「一筆部品」とは、描画が開始される位置から次に描画が終了される位置までに連続的に描画される一又は複数の線分を含むものとして用いる。例えば、レーザ照射で描画を行う場合は、レーザの1回の照射開始点から照射終了点までに描画される文字等の一画が一筆部品となる。   Further, the “single-stroke component” is used as including one or a plurality of line segments that are continuously drawn from the position at which drawing is started to the position at which drawing is ended next. For example, when drawing is performed by laser irradiation, one stroke of characters or the like drawn from the start point of laser irradiation to the end point of irradiation becomes one stroke part.

このため、文字、数字、記号、図形等の描画対象は、1以上の一筆部品を含み、一筆部品は、1以上の線分を含む。   For this reason, drawing objects such as letters, numbers, symbols, and figures include one or more one-stroke parts, and one-stroke parts include one or more line segments.

なお、実施の形態の一筆部品(一画)は、従来のストロークフォントのストロークに対応するが、実施の形態の一筆部品は、レーザマーキング装置100による文字の描画に最適化されるものであって、公的機関(例えば、日本規格協会、ISO等)等が定める一画と同じであってもよいし異なっていてもよい。実施の形態のレーザマーキング装置100は、レーザ光により媒体を発色させて一筆部品を描画するため、一筆部品を適切な形状に調整する。   The one-stroke component (one stroke) of the embodiment corresponds to the stroke of the conventional stroke font, but the one-stroke component of the embodiment is optimized for drawing characters by the laser marking device 100. , It may be the same as or different from a stroke determined by a public organization (for example, Japanese Standards Association, ISO, etc.). The laser marking device 100 according to the embodiment adjusts the one-stroke component to an appropriate shape in order to draw the one-stroke component by coloring the medium with laser light.

また、「描画順」なる文言は、描画対象に含まれる線分を描画する順(線分をどちらの端部から描画するかという描画順も含む)と、文章等に含まれる複数の描画対象の各々を描画する順との2つの意味を有するものとして用いる。   In addition, the term “drawing order” includes the order in which line segments included in the drawing target are drawn (including the drawing order of which line segment is drawn from), and a plurality of drawing targets included in the text. These are used to have two meanings of the order of drawing.

[実施の形態1]
図2は、実施の形態1のレーザマーキング装置100のハードウェア構成の一例を示す図である。
[Embodiment 1]
FIG. 2 is a diagram illustrating an example of a hardware configuration of the laser marking apparatus 100 according to the first embodiment.

レーザマーキング装置100は、レーザを照射する描画装置10、及び、描画装置10の描画を制御する描画制御装置20を有する。描画装置10は、レーザを照射するレーザ発振器11、レーザの照射方向を変える方向制御ミラー13、方向制御ミラー13を駆動する方向制御モータ12、光学レンズ14、及び集光レンズ15を含む。   The laser marking device 100 includes a drawing device 10 that irradiates a laser, and a drawing control device 20 that controls drawing of the drawing device 10. The drawing apparatus 10 includes a laser oscillator 11 that irradiates a laser, a direction control mirror 13 that changes the laser irradiation direction, a direction control motor 12 that drives the direction control mirror 13, an optical lens 14, and a condenser lens 15.

レーザ発振器11は、半導体レーザ(LD(Laser Diode))であるが、気体レーザ、固体レーザ、液体レーザ等でもよい。方向制御モータ12は、方向制御ミラー13の反射面の向きを2軸に制御する例えばサーボモータである。方向制御モータ12と方向制御ミラー13とによりガルバノミラーを構成する。光学レンズ14は、レーザ光のスポット径を大きくするレンズであり、集光レンズ15はレーザ光を収束させるレンズである。   The laser oscillator 11 is a semiconductor laser (LD (Laser Diode)), but may be a gas laser, a solid laser, a liquid laser, or the like. The direction control motor 12 is, for example, a servo motor that controls the direction of the reflecting surface of the direction control mirror 13 to two axes. The direction control motor 12 and the direction control mirror 13 constitute a galvano mirror. The optical lens 14 is a lens that increases the spot diameter of the laser light, and the condenser lens 15 is a lens that converges the laser light.

リライタブル媒体50は、180℃以上の温度に加熱して急冷することで発色し、130〜170℃の温度に加熱することで消色する書き換え可能な感熱媒体である。通常の感熱紙やサーマルリライタブル媒体は近赤外領域のレーザ光を吸収しないので、近赤外レーザ波長を発振するレーザ光源(半導体レーザや固体レーザのYAG等)を用いる場合は、感熱紙、サーマルリライタブル媒体にレーザ光を吸収する材料の添加や層を追加する必要がある。なお、書き換えとは、レーザ光で加熱して記録を行い、レーザ光又は温風、ホットスタンプ等で加熱して消去することである。また、書き換えができないサーマルペーパとは、加熱により消色が困難な感熱紙をいう。本実施の形態では、使用する媒体の例として、リライタブル媒体50を使用した場合を説明するが、書き換えができないサーマルペーパ、プラスチック、金属等のように書き換えが可能でない媒体に対しても、好適に適用できる。   The rewritable medium 50 is a rewritable heat-sensitive medium that develops color when heated to a temperature of 180 ° C. or higher and rapidly cools and decolors when heated to a temperature of 130 to 170 ° C. Normal thermal paper and thermal rewritable media do not absorb near-infrared laser light, so when using a laser light source that oscillates near-infrared laser wavelengths (semiconductor lasers, solid-state laser YAG, etc.) It is necessary to add a material or a layer that absorbs laser light to the rewritable medium. Note that rewriting means recording by heating with laser light, and erasing by heating with laser light, hot air, hot stamp, or the like. The non-rewritable thermal paper refers to thermal paper that is difficult to be decolored by heating. In this embodiment, the case where the rewritable medium 50 is used will be described as an example of the medium to be used. However, it is also suitable for a medium that cannot be rewritten such as thermal paper, plastic, metal, etc. that cannot be rewritten. Applicable.

図3は、描画制御装置20のハードウェア構成の一例を示す図である。図3は、主にソフトウェアによって描画制御装置20を実装する場合のハードウェア構成図であり、コンピュータを実体としている。コンピュータを実体とせず描画制御装置20を実現する場合、ASIC((Application Specific Integrated Circuit))等の特定機能向けに生成されたICを利用する。   FIG. 3 is a diagram illustrating an example of a hardware configuration of the drawing control apparatus 20. FIG. 3 is a hardware configuration diagram when the drawing control apparatus 20 is mainly implemented by software, and a computer is an entity. When the drawing control apparatus 20 is realized without using a computer as an entity, an IC generated for a specific function such as an ASIC (Application Specific Integrated Circuit) is used.

描画制御装置20は、CPU31、メモリ32、ハードディスク35、入力装置36、CD−ROMドライブ33、ディスプレイ37、及びネットワーク装置34を有する。ハードディスク35には、ストロークフォントの一連の文字のフォントデータを記憶するフォントデータDB41、フォントデータから重複を排除した描画命令を生成し描画装置10を制御する文字描画プログラム42、速度出力調整DB43、描画条件DB44、及び処理対象DB45が記憶されている。   The drawing control device 20 includes a CPU 31, a memory 32, a hard disk 35, an input device 36, a CD-ROM drive 33, a display 37, and a network device 34. In the hard disk 35, a font data DB 41 that stores font data of a series of characters of stroke fonts, a character drawing program 42 that generates a drawing command that eliminates duplication from the font data and controls the drawing device 10, a speed output adjustment DB 43, a drawing A condition DB 44 and a processing target DB 45 are stored.

CPU31は、ハードディスク35から文字描画プログラム42を読み出して実行し、後述する手順で、リライタブル媒体50に文字を描画する。メモリ32は、DRAM等の揮発性メモリで、CPU31が文字描画プログラム42を実行する際の作業エリアとなる。   The CPU 31 reads and executes the character drawing program 42 from the hard disk 35 and draws characters on the rewritable medium 50 in the procedure described later. The memory 32 is a volatile memory such as a DRAM, and serves as a work area when the CPU 31 executes the character drawing program 42.

入力装置36は、マウスやキーボード等の描画装置10を制御する指示をユーザが入力するための装置である。リライタブル媒体50に描画する文章又は図形(以下、文章等)や、文章等に含まれる描画対象のサイズ等を表す描画条件は、例えば、入力装置36を介してユーザによって入力される。入力された描画条件は、描画条件DB44として、例えば、ハードディスク35に記憶される。描画条件には、文章等の中における各描画対象の位置、及びサイズ等を表すデータが含まれる。描画条件のデータ構造については図6を用いて後述する。   The input device 36 is a device for a user to input an instruction to control the drawing device 10 such as a mouse or a keyboard. A drawing condition indicating a sentence or a figure (hereinafter referred to as a sentence or the like) to be drawn on the rewritable medium 50 or a size of a drawing target included in the sentence or the like is input by the user via the input device 36, for example. The input drawing conditions are stored in, for example, the hard disk 35 as the drawing condition DB 44. The drawing conditions include data representing the position and size of each drawing target in the text. The data structure of the drawing conditions will be described later with reference to FIG.

また、入力装置36には、実施の形態1の描画制御装置20による描画対象の描画速度・描画出力を調整する処理を実行するモード(実行モード)、又は当該処理を実行しないモード(非実行モード)を選択的に設定するための操作もユーザによって入力される。実行モードが設定された場合は、実行モードを実行する対象であることを表す対象フラグが処理対象DB45の処理対象データに設定される。対象フラグの設定は、すべての描画対象について一律に行われてもよく、平仮名、片仮名、漢字、数字、アルファベット、記号、図形等にグループ分けしてグループ毎に行われてもよく、あるいは、各描画対象について行われてもよい。   The input device 36 includes a mode (execution mode) for executing processing for adjusting the drawing speed and drawing output of the drawing target by the drawing control device 20 according to the first embodiment, or a mode for not executing the processing (non-execution mode). An operation for selectively setting () is also input by the user. When the execution mode is set, a target flag indicating that the execution mode is a target to be executed is set in the processing target data of the processing target DB 45. The setting of the target flag may be performed uniformly for all drawing targets, or may be performed for each group by grouping hiragana, katakana, kanji, numerals, alphabets, symbols, figures, etc. It may be performed on a drawing target.

また、描画対象の描画速度・描画出力の調整には、速度出力調整DB43に記憶される速度出力調整データが用いられる。処理対象DB45の処理対象データと、速度出力調整DB43の速度出力調整データのデータ構造については図6を用いて後述する。   Further, the speed output adjustment data stored in the speed output adjustment DB 43 is used for adjusting the drawing speed and the drawing output of the drawing target. The data structure of the processing target data in the processing target DB 45 and the speed output adjustment data in the speed output adjustment DB 43 will be described later with reference to FIG.

ディスプレイ37は、例えば文字描画プログラム42が指示する画面情報に基づき所定の解像度や色数で、GUI(Graphical User Interface)画面を表示するユーザインターフェイスとなる。例えば、リライタブル媒体50に描画する文字の入力欄が表示される。   The display 37 is a user interface that displays a GUI (Graphical User Interface) screen with a predetermined resolution and number of colors based on, for example, screen information instructed by the character drawing program 42. For example, an input field for characters to be drawn on the rewritable medium 50 is displayed.

CD−ROMドライブ33は、CD-ROM38を脱着可能に構成され、CD−ROM38からデータを読み出し、また、記録可能な記録媒体にデータを書き込む際に利用される。フォントデータDB41、及び文字描画プログラム42は、CD-ROM38に記憶された状態で配布され、CD-ROM38から読み出されてハードディスク35にインストールされる。CD−ROM38は、この他、DVD、ブルーレイディスク、SDカード、メモリースティック(登録商標)、マルチメディアカード、xDカード等、不揮発性のメモリで代用することができる。   The CD-ROM drive 33 is configured to be detachable from the CD-ROM 38, and is used when reading data from the CD-ROM 38 and writing data on a recordable recording medium. The font data DB 41 and the character drawing program 42 are distributed in a state stored in the CD-ROM 38, read from the CD-ROM 38, and installed in the hard disk 35. In addition, the CD-ROM 38 can be replaced with a nonvolatile memory such as a DVD, a Blu-ray disc, an SD card, a memory stick (registered trademark), a multimedia card, and an xD card.

ネットワーク装置34は、LANやインターネット等のネットワークに接続するためのインターフェイス(例えばイーサネット(登録商標)カード)であり、OSI基本参照モデルの物理層、データリンク層に規定されたプロトコルに従う処理を実行して、描画装置10に文字コードに応じた描画命令を送信することを可能とする。フォントデータDB41、及び文字描画プログラム42は、ネットワークを介して接続した所定のサーバからダウンロードすることができる。なお、ネットワーク経由でなく、USB(Universal Serial Bus)、IEEE1394、ワイヤレスUSB、Bluetooth等で直接、描画制御装置20と描画装置10を接続してもよい。   The network device 34 is an interface (for example, an Ethernet (registered trademark) card) for connecting to a network such as a LAN or the Internet, and executes processing in accordance with protocols defined in the physical layer and data link layer of the OSI basic reference model. Thus, a drawing command corresponding to the character code can be transmitted to the drawing apparatus 10. The font data DB 41 and the character drawing program 42 can be downloaded from a predetermined server connected via a network. Note that the drawing control apparatus 20 and the drawing apparatus 10 may be directly connected via USB (Universal Serial Bus), IEEE 1394, wireless USB, Bluetooth, or the like, not via a network.

リライタブル媒体50に描画される描画対象の文字は、上述のように入力装置36から入力され、例えばリスト状のデータとしてハードディスク35に記憶されている。なお、リライタブル媒体50に描画される描画対象である文字等を含む文章等や、文章等に含まれる描画対象のサイズは、描画条件を構成する。   Characters to be drawn drawn on the rewritable medium 50 are input from the input device 36 as described above, and are stored in the hard disk 35 as, for example, list-like data. Note that the text or the like including characters to be drawn on the rewritable medium 50 or the size of the drawing target included in the text or the like constitutes a drawing condition.

文字は、UNICODEやJISコード等の文字コードで特定され、描画制御装置20は文字コードに対応する文字のフォントデータをフォントデータDB41から読み出し、描画装置10を制御するための描画命令を生成する際に用いる。また、描画制御装置20は、速度出力調整DB43に記憶される速度出力調整データを読み出し、描画速度及び描画出力の決定の際に参照する。   The character is specified by a character code such as UNICODE or JIS code, and the drawing control device 20 reads out font data of the character corresponding to the character code from the font data DB 41 and generates a drawing command for controlling the drawing device 10. Used for. In addition, the drawing control apparatus 20 reads the speed output adjustment data stored in the speed output adjustment DB 43 and refers to it when determining the drawing speed and the drawing output.

また、描画対象の文字の文字コードは、入力装置36から入力される場合と、予めハードディスク35に記憶されている場合(ネットワーク経由で入力される場合を含む)とがある。   The character code of the character to be drawn may be input from the input device 36 or stored in the hard disk 35 in advance (including a case where the character code is input via a network).

入力装置36から入力される場合は、キーボードのキーを押下することで入力されるキーコードに対応した文字コード、又は、IME(Input Method Editor)が起動している場合にキーコードからIMEが変換した文字コードが対象文字コード取得手段25に入力される。また、ハードディスク35に予め記憶されている場合は、例えば、宛先等の文字列がリスト状に記憶されているので、文字列の文字を指定する文字コードが読み出され、対象文字コード取得手段25に入力される。   When input from the input device 36, the character code corresponding to the key code input by pressing a key on the keyboard, or the IME is converted from the key code when the IME (Input Method Editor) is activated. The character code thus obtained is input to the target character code acquisition means 25. Further, when stored in advance in the hard disk 35, for example, since character strings such as destinations are stored in a list, a character code designating a character of the character string is read out, and the target character code acquisition means 25 is read out. Is input.

また、描画対象が数字の「1」のように、全て直線状の線分で構成されている場合は、各線分の座標を容易に抽出することができる。しかしながら、アウトラインフォントでは曲線をスケーラブルに描画できるように、例えばベジェ曲線のような曲線で描画できるようになっている。曲線で描画されていると、線分間の距離の算出が複雑になるので、曲線を含む描画対象であっても直線状の線分に変換して描画することが好適になる。   Further, when the drawing target is composed of straight line segments such as the number “1”, the coordinates of each line segment can be easily extracted. However, the outline font can be drawn with a curve such as a Bezier curve so that the curve can be drawn in a scalable manner. Since the calculation of the distance between line segments becomes complicated when drawn with a curved line, it is preferable to draw a drawing by converting it into a straight line segment even if the drawing target includes a curved line.

そこで、実施の形態1の描画制御装置20は、フォントデータが曲線を含む場合、曲線部分を直線に変換し、各直線の線分の座標を検出する。なお、文字が曲線を含む場合、フォントデータには曲線制御用のデータが含まれているので、その文字が曲線を含むか否かはフォントデータから判定される。   Therefore, when the font data includes a curve, the drawing control apparatus 20 according to the first embodiment converts the curve portion into a straight line and detects the coordinates of the line segment of each straight line. If the character includes a curve, the font data includes data for curve control. Therefore, whether or not the character includes a curve is determined from the font data.

図4は、フォントデータ、座標データ、及び座標データに基づいて描画された文字の一例を表す図である。図4(a)は、描画情報としてのフォントデータの一例を示す。図4(a)のフォントデータはアルファベットの「r」という文字のフォントデータを示し、4つの線分で定義するためのデータを含む。フォントデータは、各線分の端点の座標と、描画順を有する。フォントデータに含まれる端点の座標は、文字をビットマップに配置した場合のビットマップの所定画素を原点に指定されている。   FIG. 4 is a diagram illustrating an example of font data, coordinate data, and characters drawn based on the coordinate data. FIG. 4A shows an example of font data as drawing information. The font data in FIG. 4A indicates font data of the letter “r” of the alphabet, and includes data for defining with four line segments. The font data has the coordinates of the end points of each line segment and the drawing order. The coordinates of the end points included in the font data are specified with the predetermined pixel of the bitmap when the character is arranged in the bitmap as the origin.

ストロークフォントをレーザ等で描画する場合、座標だけではレーザを照射しながら移動するのか、レーザを照射しないで移動するのかを判別できない。このため、ストロークフォントのフォントデータには、レーザの描画開始位置(人間が書くとすると筆をおろす位置)と移動命令、レーザの描画終了位置(人間が書くとすると筆を上げる位置)と移動命令が含まれている。   When drawing a stroke font with a laser or the like, it is not possible to determine whether the movement is performed while irradiating the laser or not without irradiating the laser only with coordinates. For this reason, the font data of the stroke font includes the laser drawing start position (position where the brush is lowered if a person writes) and a movement command, and the laser drawing end position (position where the brush is raised if a human writes) and a movement command. It is included.

図4(a)では、「m」はレーザの描画開始位置とその座標までの移動命令を示し、「d」は描画終了位置とその座標までの移動命令を示す。従って、「m」は筆を上げて移動することを意味し、「d」は筆を下ろして移動することを意味する。このように、フォントデータは、座標による文字の形状、描画の順番、描画の方向(図では矢印を有する線分)を規定し、「m」と「d」によりレーザ照射の有無を規定する。すなわち、一以上の連続した「d」に対応づけられた座標により表される線分が一筆部品である。   In FIG. 4A, “m” indicates a laser drawing start position and a movement command up to the coordinates thereof, and “d” indicates a drawing end position and a movement command up to the coordinates thereof. Therefore, “m” means that the brush is moved up and moved, and “d” means that the brush is moved down and moved. As described above, the font data defines the character shape according to the coordinates, the drawing order, and the drawing direction (in the figure, a line segment having an arrow), and the presence or absence of laser irradiation is defined by “m” and “d”. That is, a line segment represented by coordinates associated with one or more consecutive “d” is a one-stroke component.

従って、図4(a)に示す描画情報としてのフォントデータは、座標(100,500)から座標(100、50)まで線分が描かれ、座標(100,50)から座標(120、220)までは線分を描かずに移動し、座標(120、220)から座標(230、500)まで線分が描かれ、座標(230、500)から座標(300、500)まで線分が描かれ、さらに、座標(300、500)から座標(400、450)まで線分が描かれることを表す。   Accordingly, in the font data as the drawing information shown in FIG. 4A, a line segment is drawn from the coordinates (100, 500) to the coordinates (100, 50), and the coordinates (100, 50) to the coordinates (120, 220). Moves without drawing a line segment, a line segment is drawn from coordinates (120, 220) to coordinate (230, 500), and a line segment is drawn from coordinates (230, 500) to coordinate (300, 500) Furthermore, it represents that a line segment is drawn from the coordinates (300, 500) to the coordinates (400, 450).

一方、描画される文字の形状は、線分を指定する2点の座標が線分の数だけあれば特定できることになる。図4(b)は、媒体に実際に描画される文字(ここでは「r」)を構成する各線分の座標の一例を示す。図4(b)は、媒体に描画対象を描画する描画位置を表すデータとしての座標データを示しており、描画情報としてのフォントデータに基づき文字の大きさを2倍に拡大した場合の座標データを表す。ストロークフォントは、アウトラインフォントようにスケーラブルフォントの一種なので、例えば、リライタブル媒体50に描画する際の文字の大きさを指定できるようになっている。   On the other hand, the shape of the drawn character can be specified if the coordinates of the two points specifying the line segment are the same as the number of line segments. FIG. 4B shows an example of the coordinates of each line segment constituting a character (here, “r”) that is actually drawn on the medium. FIG. 4B shows coordinate data as data representing a drawing position at which a drawing target is drawn on a medium, and the coordinate data when the character size is doubled based on font data as drawing information. Represents. Since the stroke font is a kind of scalable font such as an outline font, for example, the size of characters when drawing on the rewritable medium 50 can be designated.

ストロークフォントの文字の大きさの調整方法はいくつか知られているが、ここでは説明のため単にフォントデータの座標をそれぞれ2倍にした。例えば文字の中心からの距離に応じて線分の座標を調整してもよい。   Several methods for adjusting the character size of the stroke font are known, but for the sake of explanation, the coordinates of the font data are simply doubled. For example, the coordinates of the line segment may be adjusted according to the distance from the center of the character.

アルファベットの「r」のように4つの線分を含む文字の場合、線分の座標は4組となる。図4(b)に示す[0]〜[3]は、各線分の描画順を示し、描画順の右側に続く4つの数字のうち、最初の2つの数値は線分の始点の座標を表し、残りの(右側の)2つの数値は線分の終点の座標を表す。   In the case of a character including four line segments such as “r” in the alphabet, the coordinates of the line segments are four sets. [0] to [3] shown in FIG. 4B indicate the drawing order of each line segment, and the first two numerical values of the four numbers that follow the right side of the drawing order indicate the coordinates of the start point of the line segment. The remaining two numbers (on the right) represent the coordinates of the end point of the line segment.

図4(b)に示す描画位置を表すデータとしての座標データを用いると、描画対象であるアルファベットの「r」は、図4(c)に示すように、点A→点B、点C→点D→点E→点Fの順に描画される。この場合に、点Bから点Cへは描画を行わずに移動するため、空走区間となる。なお、描画対象としてのアルファベットの「r」は、線分ABで構成される一筆部品と、線分CD、DE、及びEFで構成される一筆部品との2つの一筆部品を含む。   When the coordinate data as the data representing the drawing position shown in FIG. 4B is used, the alphabet “r” to be drawn is represented as point A → point B, point C →, as shown in FIG. 4C. Drawing is performed in the order of point D → point E → point F. In this case, since it moves without drawing from the point B to the point C, it becomes a free-running section. Note that the alphabet “r” as a drawing target includes two one-stroke components including a one-stroke component composed of line segments AB and a one-stroke component composed of line segments CD, DE, and EF.

次に、図5を用いて実施の形態1の描画制御装置の機能ブロックについて説明する。   Next, functional blocks of the drawing control apparatus according to the first embodiment will be described with reference to FIG.

図5は、実施の形態1の描画制御装置20の機能ブロックを示す図である。各ブロックをソフトウェアで実現する場合、各ブロックはCPU31が文字描画プログラム42を実行することで実現される。   FIG. 5 is a diagram illustrating functional blocks of the drawing control apparatus 20 according to the first embodiment. When each block is realized by software, each block is realized by the CPU 31 executing the character drawing program 42.

描画制御装置20は、描画位置決定手段21、モード設定手段22、描画順決定手段23、描画命令生成手段24、対象文字コード取得手段25、フォントデータ取得手段26、描画条件取得手段27、方向変化度合演算手段28、方向変化度合判定手段29、描画速度演算手段30、描画出力演算手段51、及び待機時間演算手段52を含む。   The drawing control device 20 includes a drawing position determination unit 21, a mode setting unit 22, a drawing order determination unit 23, a drawing command generation unit 24, a target character code acquisition unit 25, a font data acquisition unit 26, a drawing condition acquisition unit 27, and a direction change. A degree calculation means 28, a direction change degree determination means 29, a drawing speed calculation means 30, a drawing output calculation means 51, and a standby time calculation means 52 are included.

描画位置決定手段21は、フォントデータ取得手段26によってフォントデータDB41から読み出されるフォントデータと、描画条件取得手段27によって描画条件DB44から読み出される描画条件とに基づいて、描画対象をリライタブル媒体50に描画する描画位置である座標データを決定する。なお、描画条件には、文章等の中における各描画対象の位置、及びサイズ等を表すデータが含まれる。描画条件を表すデータについては図6を用いて後述する。   The drawing position determination unit 21 draws a drawing target on the rewritable medium 50 based on the font data read from the font data DB 41 by the font data acquisition unit 26 and the drawing conditions read from the drawing condition DB 44 by the drawing condition acquisition unit 27. The coordinate data that is the drawing position to be determined is determined. Note that the drawing conditions include data representing the position and size of each drawing target in a sentence or the like. Data representing the drawing conditions will be described later with reference to FIG.

モード設定手段22は、実施の形態1の描画制御装置20による描画対象の描画速度・描画出力を調整する処理を実行する実行モードを設定するための処理手段である。   The mode setting means 22 is a processing means for setting an execution mode for executing a process of adjusting the drawing speed and the drawing output of the drawing target by the drawing control apparatus 20 of the first embodiment.

描画順決定手段23は、描画対象に含まれる線分を描画する描画順と、文章等に含まれる複数の描画対象の各々を描画する描画順との両方の描画順を決定する。   The drawing order determining unit 23 determines both the drawing order for drawing a line segment included in the drawing object and the drawing order for drawing each of a plurality of drawing objects included in the text or the like.

描画命令生成手段24は、描画位置決定手段21によって決定される座標データ、描画順決定手段23によって決定される描画順、描画速度演算手段30によって演算される描画速度、描画出力演算手段51によって演算される描画出力、及び待機時間演算手段52によって演算される待機時間を反映した描画命令を生成する。生成された描画命令は、描画装置10に入力され、この結果、ユーザによって入力装置36に入力された文章等を表す描画対象が描画装置10によってリライタブル媒体50に描画される。   The drawing command generation unit 24 is operated by the coordinate data determined by the drawing position determination unit 21, the drawing order determined by the drawing order determination unit 23, the drawing speed calculated by the drawing speed calculation unit 30, and the drawing output calculation unit 51. A drawing command reflecting the drawing output and the waiting time calculated by the waiting time calculating means 52 is generated. The generated drawing command is input to the drawing device 10, and as a result, a drawing target representing a sentence or the like input to the input device 36 by the user is drawn on the rewritable medium 50 by the drawing device 10.

対象文字コード取得手段25は、ユーザによって入力装置36に入力された文章等に含まれる描画対象の文字コードを取得する。   The target character code acquisition unit 25 acquires a character code to be drawn included in text or the like input to the input device 36 by the user.

フォントデータ取得手段26は、対象文字コード取得手段25によって取得された文字コードに基づいてフォントデータDB41を参照し、文字コードに対応づけられたフォントデータを読み出す。   The font data acquisition unit 26 refers to the font data DB 41 based on the character code acquired by the target character code acquisition unit 25 and reads out font data associated with the character code.

描画条件取得手段27は、リライタブル媒体50に描画する描画対象である文字等を含む文章等や、文章等に含まれる描画対象のサイズの条件を表す描画条件をハードディスク35に記憶された描画条件DB44から取得する。   The drawing condition acquisition means 27 is a drawing condition DB 44 stored in the hard disk 35 with drawing conditions representing drawing conditions including drawing characters and the like to be drawn on the rewritable medium 50, and drawing size sizes included in the sentences. Get from.

方向変化度合演算手段28は、描画位置決定手段21によって決定される座標データに基づき、相連続する線分同士のなす角度を方向変化度合として演算する。なお、方向変化度合は、フォントデータ取得手段26によってフォントデータDB41から読み出されるフォントデータに基づいて演算されるように構成されていてもよい。   Based on the coordinate data determined by the drawing position determining unit 21, the direction change degree calculating unit 28 calculates an angle formed by consecutive line segments as the direction change degree. The direction change degree may be calculated based on the font data read from the font data DB 41 by the font data acquisition unit 26.

方向変化度合判定手段29は、方向変化度合演算手段28によって演算された方向変化度合が所定度合より大きいか否かの判定を行う。実施の形態1では、所定度合は30°に設定されており、方向変化度合判定手段29は、相連続する線分同士のなす角度が30°より大きいか否かを判定する。相連続する線分同士のなす角度の定義の仕方については、図6を用いて後述する。   The direction change degree determination means 29 determines whether or not the direction change degree calculated by the direction change degree calculation means 28 is greater than a predetermined degree. In the first embodiment, the predetermined degree is set to 30 °, and the direction change degree determining means 29 determines whether or not the angle formed by the continuous line segments is larger than 30 °. A method of defining the angle formed by the line segments that are continuous will be described later with reference to FIG.

描画速度演算手段30は、速度出力調整DB43に記憶される速度出力調整データを参照し、相連続する線分同士のなす角度(すなわち、方向変化度合)に応じた描画速度を演算する。   The drawing speed calculation means 30 refers to the speed output adjustment data stored in the speed output adjustment DB 43, and calculates the drawing speed according to the angle (that is, the direction change degree) formed by the continuous line segments.

描画出力演算手段51は、速度出力調整DB43に記憶される速度出力調整データを参照し、描画速度演算手段30によって演算される描画速度に応じた描画出力を演算する。   The drawing output calculation unit 51 refers to the speed output adjustment data stored in the speed output adjustment DB 43 and calculates a drawing output corresponding to the drawing speed calculated by the drawing speed calculation unit 30.

待機時間演算手段52は、描画出力演算手段51によって演算される描画出力と、描画順決定手段23によって決定される描画順とに基づき、描画処理を待機させるための待機時間を演算する。一般的に、レーザ発振器11(図2参照)の出力を変更する際には時間を要する。このため、待機時間演算手段52は、描画順が1つ前の描画対象と描画出力が異なる場合に、待機時間を挿入する。一般的に、レーザ発振器11(図2参照)の出力を変更する際には時間を要し、特に、出力を下げる際には、出力を上げる際よりも長い時間を要するため、待機時間は、例えば、出力を下げる際の待機時間が出力を上げる際の待機時間の2倍になるように設定される。このような待機時間は、例えば、予め入力装置36を介してユーザが入力・設定できるように構成すればよい。待機時間演算手段52によって演算される待機時間を表すデータは、描画命令生成手段24によって生成される描画命令に組み込まれる。   The standby time calculation unit 52 calculates a standby time for waiting for the drawing process based on the drawing output calculated by the drawing output calculation unit 51 and the drawing order determined by the drawing order determination unit 23. Generally, it takes time to change the output of the laser oscillator 11 (see FIG. 2). For this reason, the waiting time calculation means 52 inserts a waiting time when the drawing output is different from the drawing object of the previous drawing order. Generally, it takes time to change the output of the laser oscillator 11 (see FIG. 2). In particular, when lowering the output, it takes a longer time than increasing the output. For example, the standby time for decreasing the output is set to be twice the standby time for increasing the output. Such a standby time may be configured so that the user can input and set it in advance via the input device 36, for example. Data representing the standby time calculated by the standby time calculation unit 52 is incorporated in the drawing command generated by the drawing command generation unit 24.

図6(a)は、描画条件DB44の一例を示す図であり、図6(b)は、相連続する線分同士のなす角度の定義の仕方を説明するための図であり、図6(c)は、実施の形態1の描画制御装置20で用いる速度出力調整DB43の一例を示す図であり、図6(d)は、実施の形態1の描画制御装置20で用いる処理対象DB45の一例を示す図である。   FIG. 6A is a diagram showing an example of the drawing condition DB 44, and FIG. 6B is a diagram for explaining how to define an angle formed between consecutive line segments. FIG. 6C is a diagram illustrating an example of the speed output adjustment DB 43 used in the drawing control apparatus 20 according to the first embodiment, and FIG. 6D is an example of the processing target DB 45 used in the drawing control apparatus 20 according to the first embodiment. FIG.

図6(a)に示すように、描画条件DB44は、描画対象の種別を特定するための文字コードの一例としてのJISコード、文章等を表す描画対象の各々が配置される位置(x、y座標)を表す位置データ、及びサイズを表すデータを含む。描画対象の位置を示す座標値は、例えば、描画対象が配置される領域の左上の点の座標である。図6(a)に示す位置データは、例えば、描画対象が配列される領域内において、左上から右下に向かって格納順が決められており、文字コードを格納順に並べると文章等を表せるように構成されている。   As shown in FIG. 6A, the drawing condition DB 44 stores the positions (x, y) where drawing objects representing JIS codes, sentences, and the like as examples of character codes for specifying the type of drawing object are arranged. Position data representing coordinates) and data representing size. The coordinate value indicating the position of the drawing target is, for example, the coordinates of the upper left point of the area where the drawing target is arranged. In the position data shown in FIG. 6A, for example, the storage order is determined from the upper left to the lower right in the region where the drawing objects are arranged. It is configured.

図6(b)に示すように、相連続する線分同士のなす角度(すなわち、方向変化度合)は、相連続する線分ABと線分BCに対して、線分ABの延長線lと線分BCとがなす角度θとして求められる。   As shown in FIG. 6B, the angle formed between the continuous line segments (that is, the degree of direction change) is an extension line l of the line segment AB with respect to the continuous line segments AB and BC. It is obtained as an angle θ formed by the line segment BC.

図6(c)に示すように、速度出力調整DB43は、方向変化度合θ(°)と描画速度(%)及びレーザ出力(%)とを関連付けたテーブル形式の速度出力調整データを含む。ここで、速度出力調整DB43は、描画速度情報としての描画速度を表すデータを格納する描画速度情報格納手段を構成する。   As shown in FIG. 6C, the speed output adjustment DB 43 includes speed output adjustment data in a table format in which the direction change degree θ (°) is associated with the drawing speed (%) and the laser output (%). Here, the speed output adjustment DB 43 constitutes a drawing speed information storage unit that stores data representing the drawing speed as the drawing speed information.

方向変化度合が30(°)以下の場合は、描画速度は100(%)であり、レーザ出力は100(%)に設定される。ここで、描画速度及び描画出力は、直線を描画する場合の描画速度及び描画出力を100(%)として表している。このため、方向変化度合が30(°)以下の場合は、描画速度及び描画出力は、ともに100(%)に設定されることになる。なお、図6(c)に示す速度出力調整DBでは、方向変化度合θ(°)の最小単位を1(°)に設定してある。方向変化度合演算手段28は、例えば、小数点第1位を四捨五入して方向変化度合θ(°)を求める。   When the direction change degree is 30 (°) or less, the drawing speed is 100 (%), and the laser output is set to 100 (%). Here, the drawing speed and drawing output represent the drawing speed and drawing output when drawing a straight line as 100 (%). For this reason, when the direction change degree is 30 (°) or less, the drawing speed and the drawing output are both set to 100 (%). In the speed output adjustment DB shown in FIG. 6C, the minimum unit of the direction change degree θ (°) is set to 1 (°). The direction change degree calculation means 28 obtains the direction change degree θ (°) by rounding off the first decimal place, for example.

また、速度出力調整データは、図6(c)に示すように、方向変化度合が増大するに連れ、描画速度及びレーザ出力がともに減少するように構成されている。方向変化度合が比較的大きい場合(すなわち、描画対象の形状が大きく曲がるような場合)に、描画速度を低下させるのは、方向変化度合が比較的大きい場合は、描画装置10の追従遅れが生じ易い状況であり、このような状況では、描画速度が高いほど慣性の影響等で描画の歪みが大きくなるため、描画速度を低下させることにより、描画の歪みを低減あるいは抑制するためである。   Further, as shown in FIG. 6C, the speed output adjustment data is configured such that both the drawing speed and the laser output decrease as the direction change degree increases. When the degree of direction change is relatively large (that is, when the shape of the drawing target is bent greatly), the drawing speed is decreased when the degree of direction change is relatively large. This is because the drawing distortion increases due to the influence of inertia or the like as the drawing speed increases. In this situation, the drawing distortion is reduced or reduced by reducing the drawing speed.

また、描画速度の低下に伴って描画出力を低下させるのは、描画速度が高い場合は、描画速度が低い場合よりも、単位線分長当たりのレーザ照射量が増大し、これによりリライタブル媒体50に伝達されるエネルギが多くなり、リライタブル媒体50に含まれる分子構造が熱変性によって破壊され、繰返し書き換えによる劣化での消え残り(消去しても消えない)や発色部の濃度低下が生じる可能性があるため、これを抑制するためである。   The reason why the drawing output is reduced as the drawing speed decreases is that when the drawing speed is high, the amount of laser irradiation per unit line length increases when the drawing speed is low, and thus the rewritable medium 50 May increase the energy transferred to the rewritable medium 50, destroying the molecular structure contained in the rewritable medium 50 due to thermal denaturation, resulting in deterioration due to repeated rewriting (cannot be erased even after erasure) and color density reduction This is to suppress this.

なお、図6(c)に示す描画速度と描画出力の値は一例に過ぎない。速度出力調整データに含まれる描画速度は、方向変化度合の増大に応じて低下するように設定されていればよい。また、速度出力調整データに含まれる描画出力は、描画速度の低下に応じて低下するように設定されていればよい。描画出力は、例えば、描画速度の如何に拘わらず、リライタブル媒体50に照射されるレーザ光の単位面積当たりのエネルギが略一定となるように設定すればよい。   Note that the drawing speed and drawing output values shown in FIG. 6C are merely examples. The drawing speed included in the speed output adjustment data only needs to be set so as to decrease as the direction change degree increases. Further, the drawing output included in the speed output adjustment data only needs to be set so as to decrease as the drawing speed decreases. The drawing output may be set so that, for example, the energy per unit area of the laser light applied to the rewritable medium 50 is substantially constant regardless of the drawing speed.

図6(d)に示すように、処理対象DB45に記憶される処理対象データは、テーブル形式のデータであり、文字コード、及び対象フラグを含む。ここでは、文字コードとして、描画対象の種別を特定するための文字コードの一例としてのJISコードを用いる例を示す。対象フラグは、描画制御装置20による描画対象の描画速度・描画出力を調整する処理を行う実行モードを実行する対象になっているか否かを示すフラグである。   As shown in FIG. 6D, the processing target data stored in the processing target DB 45 is data in a table format, and includes a character code and a target flag. Here, an example is shown in which a JIS code as an example of a character code for specifying a type to be drawn is used as the character code. The target flag is a flag indicating whether or not the execution mode for performing the process of adjusting the drawing speed and the drawing output of the drawing target by the drawing control apparatus 20 is a target to be executed.

対象フラグが"1"に設定されている描画対象は、描画対象の描画速度・描画出力を調整する対象になっている描画対象であり、対象フラグが"0" に設定されている描画対象は、描画対象の描画速度・描画出力を調整する対象になっていない描画対象である。対象フラグの設定は、ユーザが実行モードの対象とする描画対象であるか否かを入力装置36を介して設定することによって行われる。ユーザは、実行モードの設定対象をすべての描画対象について一律に設定することができ、あるいは、平仮名、片仮名、漢字、数字、アルファベット、記号、図形等のグループ毎に設定することもでき、又は、各描画対象について個別的に設定することもできる。   The drawing target for which the target flag is set to “1” is the drawing target for which the drawing speed and the drawing output of the drawing target are to be adjusted, and the drawing target for which the target flag is set to “0” The drawing target is not a target for adjusting the drawing speed / drawing output of the drawing target. The target flag is set by setting whether or not the user is a drawing target to be executed in the execution mode via the input device 36. The user can set the execution mode setting target uniformly for all drawing targets, or can set each group of hiragana, katakana, kanji, numbers, alphabets, symbols, figures, etc., or It is also possible to set each drawing object individually.

なお、JISコード、x座標値、y座標値、及び描画対象のサイズとして、アルファベットと数字を組み合わせた記号を示すが、実際の描画制御装置では具体的なコード番号、x座標値、y座標値、及び描画対象のサイズを表す数値が与えられる。   In addition, although the symbol which combined the alphabet and the number is shown as a JIS code, x coordinate value, y coordinate value, and the size of drawing object, in an actual drawing control apparatus, a specific code number, x coordinate value, y coordinate value , And a numerical value representing the size of the drawing target.

実施の形態1の描画制御装置20は、処理対象データで実行モードの対象として設定されている描画対象について、座標データに基づいて相連続する線分同士のなす角度(方向変化度合)を演算し、速度出力調整DB43の速度出力データを参照しながら、方向変化度合に応じて、描画速度及び描画出力を決定する。   The drawing control apparatus 20 according to the first embodiment calculates an angle (direction change degree) between consecutive line segments based on the coordinate data for a drawing target set as an execution mode target in the processing target data. The drawing speed and the drawing output are determined according to the direction change degree while referring to the speed output data of the speed output adjustment DB 43.

次に、図7を用いて、実施の形態1の描画制御装置20による描画制御処理について説明する。   Next, a drawing control process performed by the drawing control apparatus 20 according to the first embodiment will be described with reference to FIG.

図7は、実施の形態1の描画制御装置20による描画制御処理を表すフローチャートである。   FIG. 7 is a flowchart illustrating a drawing control process performed by the drawing control apparatus 20 according to the first embodiment.

まず、描画位置決定手段21は、フォントデータ取得手段26によってフォントデータDB41から読み出されるフォントデータと、描画条件取得手段27によって描画条件DB44から読み出される描画条件とに基づいて、描画対象をリライタブル媒体50に描画する描画位置を決定する(ステップS1)。   First, the drawing position determination unit 21 sets a drawing target as a rewritable medium 50 based on the font data read from the font data DB 41 by the font data acquisition unit 26 and the drawing conditions read from the drawing condition DB 44 by the drawing condition acquisition unit 27. The drawing position for drawing is determined (step S1).

このステップS1の処理に際し、フォントデータ取得手段26は、対象文字コード取得手段25によって取得された文字コードに基づいてフォントデータDB41を参照し、文字コードに対応づけられたフォントデータを読み出す。そして、描画位置決定手段21は、フォントデータ取得手段26によってフォントデータDB41から読み出されるフォントデータと、描画条件取得手段27によって描画条件DB44から読み出される描画条件に含まれるサイズのデータとに基づいて、描画対象をリライタブル媒体50に描画する描画位置である座標データを決定する。以上により、ステップS1の処理が行われる。   In the process of step S1, the font data acquisition unit 26 refers to the font data DB 41 based on the character code acquired by the target character code acquisition unit 25, and reads the font data associated with the character code. Then, the drawing position determination means 21 is based on the font data read from the font data DB 41 by the font data acquisition means 26 and the size data included in the drawing conditions read from the drawing condition DB 44 by the drawing condition acquisition means 27. Coordinate data that is a drawing position for drawing the drawing target on the rewritable medium 50 is determined. Thus, the process of step S1 is performed.

例えば、図8(a)に示すような文字列を描く場合は、図8(b)に示すように描画基点(例えば、左上の点を基点とし、基点の座標値は(x0,y0)とする)を設定し、描画条件に含まれる文字サイズ等から、描画対象に含まれる各線分を描画する位置を表す座標データを決定する。   For example, when a character string as shown in FIG. 8A is drawn, as shown in FIG. 8B, the drawing base point (for example, the upper left point is the base point, and the coordinate value of the base point is (x0, y0) ) Is set, and coordinate data representing a position for drawing each line segment included in the drawing target is determined from the character size included in the drawing conditions.

次に、描画順決定手段23は、描画するすべての描画対象の各々を描画する描画順を決定する(ステップS2)。描画する全ての描画対象は、描画条件取得手段27がハードディスク35内の描画条件DB44に記憶される描画条件から文章等を表すデータを取得し、描画順決定手段23に受け渡す。描画順決定手段23は、空走距離が短くなり、かつ、全体の描画時間を短縮できるように、すべての描画対象の各々を描画する順序を決定する。   Next, the drawing order determining means 23 determines the drawing order for drawing all the drawing objects to be drawn (step S2). For all drawing objects to be drawn, the drawing condition acquisition unit 27 acquires data representing text and the like from the drawing conditions stored in the drawing condition DB 44 in the hard disk 35, and transfers the data to the drawing order determination unit 23. The drawing order determination means 23 determines the order of drawing all the drawing objects so that the free running distance can be shortened and the entire drawing time can be shortened.

例えば、図9(a)に示す描画順1のように、1〜2行目の全てにわたって文字コードの格納順(左から右に上から下に向かう順)ではなく、図9(b)に示すように2行目は右から左に描画する描画順2の方が、図9(a)に矢印Aで示す分を空走せずに済むため、空想距離が短くなる。ステップS2では、描画順決定手段23は、例えば、図9(b)に示す要領で空走距離が短くなり、かつ、全体の描画時間を短縮できるように、すべての描画対象の各々を描画する順序を決定する。なお、ステップS2で決定する描画順は、複数の描画対象の各々を描画する順序であり、各描画対象に含まれる線分を描画する描画順については、後に説明する工程で決定する。   For example, as in drawing order 1 shown in FIG. 9 (a), the character code storage order (from left to right to top to bottom) is not shown in FIG. As shown, the drawing order 2 in which the second line is drawn from right to left does not have to run idle in the portion indicated by the arrow A in FIG. In step S2, the drawing order determination means 23 draws each drawing object so that the free running distance can be shortened and the entire drawing time can be shortened, for example, as shown in FIG. 9B. Determine the order. Note that the drawing order determined in step S2 is the order in which each of a plurality of drawing objects is drawn, and the drawing order in which line segments included in each drawing object are drawn is determined in a process described later.

次に、モード設定手段22は、実行モードが設定されているか否かを判定する(ステップS3)。実施の形態1では、実行モードが設定されているか否かの判定は、モード設定手段22が図6(d)に示す処理対象DB45の対象フラグを参照することによって行われ、フローがステップS3〜S10の間で繰り返されることにより描画対象毎に行われる。   Next, the mode setting means 22 determines whether or not the execution mode is set (step S3). In the first embodiment, whether or not the execution mode is set is determined by the mode setting unit 22 referring to the target flag in the processing target DB 45 shown in FIG. This process is repeated for each drawing target by being repeated between S10.

ステップS3において実行モードが設定されていると判定された場合は、方向変化度合演算手段28は、ステップS1で決定した座標データに基づき、描画対象に含まれるすべての相連続する線分同士の方向変化度合(θ)を演算する(ステップS4)。   When it is determined in step S3 that the execution mode is set, the direction change degree calculation unit 28 determines the directions of all the continuous line segments included in the drawing target based on the coordinate data determined in step S1. The degree of change (θ) is calculated (step S4).

次いで、方向変化度合判定手段29は、ステップS4で演算した方向変化度合が所定度合いより大きいか否かを判定する(ステップS5)。実施の形態1では、所定度合は30°に設定されているため、方向変化度合判定手段29は、描画対象に含まれる相連続する線分同士のなす角度が30°より大きいか否かを判定する。   Next, the direction change degree determination means 29 determines whether or not the direction change degree calculated in step S4 is greater than a predetermined degree (step S5). In the first embodiment, since the predetermined degree is set to 30 °, the direction change degree determining unit 29 determines whether or not the angle formed by the continuous line segments included in the drawing target is larger than 30 °. To do.

ここで、実施の形態1では、一筆部品毎に描画速度を設定するため、描画対象が複数の一筆部品を含む場合は、ステップS3で実行モードが設定されていると判定された描画対象に含まれる一筆部品毎に方向変化度合が判定される。   Here, in Embodiment 1, since the drawing speed is set for each one-stroke component, when the drawing target includes a plurality of one-stroke components, it is included in the drawing target determined to have the execution mode set in step S3. The direction change degree is determined for each one-stroke component.

また、相連続する線分が一筆部品に複数組含まれる場合は、例えば、複数組の相連続する線分の方向変化度合のうち最大の値が30°より大きいか否かを判定すればよい。なお、複数組の相連続する線分の方向変化度合のうち最大の値の代わりに、平均値やその他の処理で求められる値を一筆部品の方向変化度合として用いてもよい。   When a plurality of sets of consecutive line segments are included in a single stroke part, for example, it may be determined whether or not the maximum value of the direction change degrees of the plurality of sets of consecutive line segments is greater than 30 °. . In addition, instead of the maximum value among the direction change degrees of a plurality of sets of continuous line segments, an average value or a value obtained by other processing may be used as the direction change degree of the one-stroke component.

ステップS5において、所定度合より大きいと判定された場合は、描画速度演算手段30は、図6(c)に示す速度出力調整DB43を参照し、方向変化度合に応じた描画速度を求める(ステップS6Y)。描画速度の設定は、描画対象に含まれる一筆部品毎に行われる。   If it is determined in step S5 that it is greater than the predetermined degree, the drawing speed calculation means 30 refers to the speed output adjustment DB 43 shown in FIG. 6C and obtains the drawing speed according to the direction change degree (step S6Y). ). The drawing speed is set for each one-stroke component included in the drawing target.

ステップS6Yで描画速度が求められると、描画出力演算手段51は、図6(c)に示す速度出力調整DB43を参照し、ステップS6Yで求められた描画速度に応じた描画出力を求める(ステップS7)。求められた描画出力は、レーザ発振器11(図2参照)の出力を表す。なお、描画出力の設定は、描画対象に含まれる一筆部品毎に行われる。   When the drawing speed is obtained in step S6Y, the drawing output calculation unit 51 refers to the speed output adjustment DB 43 shown in FIG. 6C and obtains the drawing output corresponding to the drawing speed obtained in step S6Y (step S7). ). The obtained drawing output represents the output of the laser oscillator 11 (see FIG. 2). Note that the drawing output setting is performed for each one-stroke component included in the drawing target.

次いで、描画順決定手段23は、描画対象に含まれる線分の描画順を決定する(ステップS8)。ステップS8では、例えば、空走距離が短くなり、かつ、全体の描画時間を短縮できるように、描画対象に含まれるすべての線分を描画する順序を決定すればよい。   Next, the drawing order determining unit 23 determines the drawing order of the line segments included in the drawing target (step S8). In step S8, for example, the order of drawing all line segments included in the drawing target may be determined so that the free running distance is shortened and the entire drawing time can be shortened.

次に、待機時間演算手段52は、描画順に待機時間を挿入するタイミングと待機時間の長さを演算する(ステップS9)。実施の形態1では、ステップS7で求めた一筆部品の描画出力が1つ前の描画順の一筆部品と異なる場合に、待機時間を挿入する。待機時間は、例えば、出力を下げる際の待機時間が出力を上げる際の待機時間の2倍になるように設定される。   Next, the standby time calculation means 52 calculates the timing for inserting the standby time in the drawing order and the length of the standby time (step S9). In the first embodiment, the waiting time is inserted when the drawing output of the one-stroke component obtained in step S7 is different from the one-stroke component in the previous drawing order. The standby time is set so that, for example, the standby time when the output is reduced is twice the standby time when the output is increased.

ステップS9の処理が終了すると、描画順決定手段23は、すべての描画対象について、各々の描画対象に含まれる線分の描画順を決定する処理が終了したか否かを判定する(ステップS10)。ステップS10の処理は、例えば、ステップS2において描画順が決定されたすべての描画対象についての処理が終了したか否かを判定することによって行われる。   When the process of step S9 is completed, the drawing order determination unit 23 determines whether or not the process of determining the drawing order of the line segments included in each drawing object is completed for all drawing objects (step S10). . The process of step S10 is performed, for example, by determining whether or not the process has been completed for all the drawing objects for which the drawing order has been determined in step S2.

ステップS10において、描画順決定手段23がすべての描画対象についての処理が終了したと判定した場合は、描画命令生成手段24は、描画命令を生成する(ステップS11)。   In step S10, when the drawing order determination unit 23 determines that the processing for all drawing objects has been completed, the drawing command generation unit 24 generates a drawing command (step S11).

次いで、描画制御装置20により、描画命令に基づいて描画装置10が駆動される(ステップS12)。これにより、所望の描画がリライタブル媒体50に行われる。   Next, the drawing control apparatus 20 drives the drawing apparatus 10 based on the drawing command (step S12). Thereby, desired drawing is performed on the rewritable medium 50.

以上により、一連の処理が終了する。   Thus, a series of processing ends.

なお、ステップS3で実行モードが設定されていない(No)と判定された場合は、フローはステップS6Nに進行し、描画速度は100%に設定される(ステップS6N)。実行モードが設定されていないため、描画速度を低下させる処理は行われないからである。   If it is determined in step S3 that the execution mode is not set (No), the flow proceeds to step S6N, and the drawing speed is set to 100% (step S6N). This is because the execution mode is not set, and thus the processing for reducing the drawing speed is not performed.

また、ステップS5でNoと判定された場合もフローはステップS6Nに進行し、描画速度は100%に設定される。方向変化度合が所定度合(実施の形態1では30°)以下の場合は、描画速度を低下させる必要はないからである。   Also, if it is determined No in step S5, the flow proceeds to step S6N, and the drawing speed is set to 100%. This is because it is not necessary to reduce the drawing speed when the direction change degree is equal to or less than a predetermined degree (30 ° in the first embodiment).

また、ステップS10において、すべての描画対象についての処理が終了していないと判定された場合は、フローはステップS3にリターンし、次に描画順が早い描画対象について実行モードが設定されているか否かが判定される。   If it is determined in step S10 that the processing for all the drawing objects has not been completed, the flow returns to step S3, and whether or not the execution mode is set for the drawing object whose drawing order is the next fastest. Is determined.

以上、実施の形態1の描画制御装置20によれば、描画対象の方向変化度合が大きい場合には描画速度を低下させるので、描画の歪みを低減あるいは抑制することができる。また、描画速度を低下させる際には、描画出力も低下させるので、リライタブル媒体50の消え残り(消去しても消えない)や発色部の濃度低下等の発生を抑制することができる。   As described above, according to the drawing control apparatus 20 of the first embodiment, when the direction change degree of the drawing target is large, the drawing speed is reduced, so that drawing distortion can be reduced or suppressed. In addition, when the drawing speed is lowered, the drawing output is also lowered, so that occurrence of unerasing of the rewritable medium 50 (which does not disappear even when erased) or density reduction of the coloring portion can be suppressed.

図10は、実施の形態1の描画制御装置20によって生成される描画命令と描画対象の一例を示す図である。図10(a)に示すように、アルファベットの「r」という描画対象は、1つの線分ABで構成される一筆部品(1)と、3つの線分CD、DE、及びEFで構成される一筆部品(2)との2つの一筆部品で構成される。一筆部品(1)、(2)は、この順で描画が行われる。   FIG. 10 is a diagram illustrating an example of a drawing command and a drawing target generated by the drawing control device 20 according to the first embodiment. As shown in FIG. 10A, the drawing object “r” of the alphabet is composed of a one-stroke component (1) composed of one line segment AB and three line segments CD, DE, and EF. It consists of two one-stroke parts, one-stroke parts (2). The one-stroke components (1) and (2) are drawn in this order.

そして、一筆部品(2)には、相連続する線分同士の方向変化度合が上述の所定度合(30°)よりも大きい線分CDと線分DEを含む。ここで、線分CDと線分DEのなす角度は65°であるものとする。   The one-stroke component (2) includes a line segment CD and a line segment DE in which the direction change degree between the continuous line segments is larger than the predetermined degree (30 °). Here, it is assumed that the angle formed by the line segment CD and the line segment DE is 65 °.

図10(b)は、図10(a)に示すアルファベットの「r」を描画するための描画命令を示しており、図4に示す描画命令にさらに「t」、「p」、「s」、「w」を追加してある。「t」は線分の太さを表し、「p」は描画出力を表し、「s」は描画速度を表し、「w」は待機時間を表す。   FIG. 10B shows a drawing command for drawing the alphabet “r” shown in FIG. 10A, and “t”, “p”, and “s” are further added to the drawing command shown in FIG. , “W” is added. “T” represents the thickness of the line segment, “p” represents the drawing output, “s” represents the drawing speed, and “w” represents the waiting time.

一筆部品(1)は直線状の線分ABで構成されるので、一筆部品(1)を描画する描画速度「s」、及び描画出力「p」は、ともに100(%)に設定されている。   Since the one-stroke component (1) is composed of straight line segments AB, the drawing speed “s” for drawing the one-stroke component (1) and the drawing output “p” are both set to 100 (%). .

一方、一筆部品(2)は所定度合い以上の方向変化度合を含むので、一筆部品(2)を描画する描画速度「s」、及び描画出力「p」は、ともに80(%)に設定されている。また、一筆部品(2)の描画出力(80%)は、一筆部品(1)の描画出力(100%)より下げられているので、一筆部品(1)の描画命令と一筆部品(2)の描画命令の間には、待機時間を表す「w」が挿入されている。ここで、「w」は、一例として50ミリ秒に設定されている。   On the other hand, since the one-stroke component (2) includes a degree of direction change of a predetermined degree or more, the drawing speed “s” for drawing the one-stroke component (2) and the drawing output “p” are both set to 80 (%). Yes. Since the drawing output (80%) of the one-stroke component (2) is lower than the drawing output (100%) of the one-stroke component (1), the drawing command of the one-stroke component (1) and the one-stroke component (2) “W” representing a waiting time is inserted between drawing commands. Here, “w” is set to 50 milliseconds as an example.

実施の形態1の描画制御装置20によれば、図10(b)に示すような描画命令により、図10(a)に示すアルファベットの「r」が描画されることになる。一筆部品(2)は湾曲部分を含むが、描画速度と描画出力は下げられているので、描画の歪みを低減あるいは抑制することができ、また、リライタブル媒体50の消え残り(消去しても消えない)や発色部の濃度低下等の発生を抑制することができる。   According to the drawing control apparatus 20 of the first embodiment, the alphabet “r” shown in FIG. 10A is drawn by a drawing command as shown in FIG. Although the one-stroke component (2) includes a curved portion, since the drawing speed and the drawing output are lowered, the distortion of drawing can be reduced or suppressed, and the rewritable medium 50 remains unerased (even if erased) The occurrence of a decrease in the density of the coloring portion, etc. can be suppressed.

なお、ここでは、一筆部品毎に描画速度及び描画出力を設定する形態について説明したが、各描画対象に含まれる線分毎に描画速度及び描画出力を設定してもよいし、描画対象毎に描画速度及び描画出力を設定してもよい。   In addition, although the form which sets the drawing speed and drawing output for every stroke component was demonstrated here, you may set a drawing speed and drawing output for every line segment contained in each drawing object, or for every drawing object The drawing speed and the drawing output may be set.

また、描画出力を変更する場合に待機時間を挿入する形態について説明したが、全体での描画時間を短縮したいような場合や、待機時間を挿入しなくても大丈夫な場合には、待機時間を省略してもよい。   In addition, the mode of inserting the standby time when changing the drawing output has been described. However, if it is desired to reduce the overall drawing time or if it is okay to not insert the standby time, the standby time is set. It may be omitted.

図10(c)は、描画速度及び描画出力を線分毎に設定し、かつ、待機時間を省略した場合の描画命令を示す。図10(c)に示す描画命令によっても、図10(a)に示すアルファベットの「r」が描画される。   FIG. 10C shows a drawing command when the drawing speed and the drawing output are set for each line segment and the standby time is omitted. The drawing command shown in FIG. 10C also draws the alphabet “r” shown in FIG.

以上では、レーザを用いた描画装置10を制御する形態について説明したが、実施の形態1の描画制御装置20は、X−Yプロッタのように2軸方向にヘッド等を走査する描画装置に適用することが可能である。これは、2軸方向にヘッド等を走査する際に、レーザマーキング装置と同様に、追従遅れによる描画対象の歪みが生じるからである。実施の形態1の描画制御装置20をX−Yプロッタに適用した場合には、描画対象に含まれる線分同士の方向変化度合に応じて描画速度が制御されることにより、描画における歪みが抑制されるとともに、描画出力が制御されてインクの吐出量が最適化されることにより、文字潰れ等を抑制することができる。   In the above description, the form of controlling the drawing apparatus 10 using a laser has been described. However, the drawing control apparatus 20 of the first embodiment is applied to a drawing apparatus that scans a head or the like in two-axis directions like an XY plotter. Is possible. This is because when the head or the like is scanned in the biaxial direction, distortion of the drawing target due to the tracking delay occurs as in the laser marking device. When the drawing control apparatus 20 according to the first embodiment is applied to an XY plotter, the drawing speed is controlled according to the direction change degree of line segments included in the drawing target, thereby suppressing distortion in drawing. At the same time, character output and the like can be suppressed by controlling the drawing output and optimizing the ink ejection amount.

[実施の形態2]
実施の形態2の描画制御装置220は、実施の形態1の描画制御装置20のように一筆部品に含まれる線分の方向変化度合を所定度合と比較して描画速度及び描画出力を決定する代わりに、一筆部品に含まれる線分を描画する際に生じうる歪みの最大許容値を設定し、最大許容値を用いて描画速度及び描画出力を決定する。
[Embodiment 2]
The drawing control apparatus 220 according to the second embodiment replaces the direction change degree of the line segment included in the one-stroke component with a predetermined degree as in the drawing control apparatus 20 according to the first embodiment, and determines the drawing speed and the drawing output. Then, a maximum allowable value of distortion that may occur when drawing a line segment included in a one-stroke component is set, and the drawing speed and the drawing output are determined using the maximum allowable value.

以下では、相違点を中心に説明を行うこととし、実施の形態1の描画制御装置20と同一の構成要素には同一符号を付し、その説明を省略する。   In the following, the description will be focused on the differences, and the same components as those of the drawing control apparatus 20 of the first embodiment will be denoted by the same reference numerals, and description thereof will be omitted.

図11は、実施の形態2の描画制御装置220の機能ブロックを示す図である。各ブロックをソフトウェアで実現する場合、各ブロックはCPU31が文字描画プログラム42を実行することで実現される。   FIG. 11 is a diagram illustrating functional blocks of the drawing control apparatus 220 according to the second embodiment. When each block is realized by software, each block is realized by the CPU 31 executing the character drawing program 42.

描画制御装置220は、描画位置決定手段21、モード設定手段22、描画順決定手段23、描画命令生成手段24、対象文字コード取得手段25、フォントデータ取得手段26、描画条件取得手段27、方向変化度合演算手段228、描画速度演算手段230、描画出力演算手段51、及び待機時間演算手段52を含む。   The drawing control device 220 includes a drawing position determination unit 21, a mode setting unit 22, a drawing order determination unit 23, a drawing command generation unit 24, a target character code acquisition unit 25, a font data acquisition unit 26, a drawing condition acquisition unit 27, and a direction change. A degree calculating means 228, a drawing speed calculating means 230, a drawing output calculating means 51, and a standby time calculating means 52 are included.

描画位置決定手段21、モード設定手段22、描画順決定手段23、描画命令生成手段24、対象文字コード取得手段25、フォントデータ取得手段26、描画条件取得手段27、描画出力演算手段51、及び待機時間演算手段52については、実施の形態1の各々の手段と基本的に同一であるため、説明を省略する。   Drawing position determination means 21, mode setting means 22, drawing order determination means 23, drawing command generation means 24, target character code acquisition means 25, font data acquisition means 26, drawing condition acquisition means 27, drawing output calculation means 51, and standby The time calculation means 52 is basically the same as the respective means of the first embodiment, and thus the description thereof is omitted.

方向変化度合演算手段228は、描画位置決定手段21によって決定される座標データに基づき、一筆部品に含まれるすべての相連続する線分同士のなす角度を方向変化度合として演算する。方向変化度合演算手段228は、演算した方向変化度合の最大値を描画速度演算手段230に受け渡す。   Based on the coordinate data determined by the drawing position determining means 21, the direction change degree calculating means 228 calculates the angle formed by all the continuous line segments included in the one-stroke component as the direction change degree. The direction change degree calculation means 228 delivers the calculated maximum value of the direction change degree to the drawing speed calculation means 230.

描画速度演算手段230は、方向変化度合演算手段228から受け渡された方向変化度合の最大値に基づき、後述する式(2)を満たす描画速度vを演算し、描画速度が直線状の線分用の描画速度(100%)でない場合は、後述する(2)式で求まる速度に描画速度を設定する。   The drawing speed calculation unit 230 calculates a drawing speed v that satisfies the expression (2) described below based on the maximum value of the direction change degree passed from the direction change degree calculation unit 228, and the drawing speed is a straight line segment. If the drawing speed is not 100% (100%), the drawing speed is set to a speed determined by the equation (2) described later.

図12は、実施の形態2の描画制御装置220における描画の歪みの最大許容値の計算手法を説明するための図である。   FIG. 12 is a diagram for explaining a method of calculating the maximum allowable value of drawing distortion in the drawing control apparatus 220 of the second embodiment.

ここで、Δtが描画命令が描画装置10に繰り返し入力される間隔を表し、vが描画速度を表すものとすると、1つの描画命令によって描画される線分の長さはΔt×vで表される。   Here, when Δt represents an interval at which a drawing command is repeatedly input to the drawing apparatus 10 and v represents a drawing speed, the length of a line segment drawn by one drawing command is represented by Δt × v. The

例えば、描画対象が図12に示すように線分AB、BC、及びCDを含む場合に、追従遅れにより、点Bよりも手前の点B1で点Cへの描画命令が入力されると、描画装置10(図2参照)は、点B1からΔt×vだけ進んだ点C1を目標地点として描画を行うことになる。また、追従遅れにより、点Bよりも手前の点B2で点Cへの描画命令が入力された場合は、描画装置10(図2参照)は、点C2を目標地点として描画を行うことになる。ここには、2つのパターンの追従遅れによる描画の歪みを示すが、実際には、様々なパターンが生じうる。なお、点B1、C1は、点B1及び点Bの距離と、点C1及び点Bの距離が等しい場合を示す。   For example, when the drawing target includes line segments AB, BC, and CD as shown in FIG. 12, if a drawing command to point C is input at point B1 before point B due to follow-up delay, drawing The apparatus 10 (see FIG. 2) performs drawing with the point C1 advanced by Δt × v from the point B1 as a target point. In addition, when a drawing command to point C is input at point B2 before point B due to the follow-up delay, drawing device 10 (see FIG. 2) performs drawing with point C2 as the target point. . Although the drawing distortion due to the follow-up delay of the two patterns is shown here, various patterns may actually occur. Points B1 and C1 indicate a case where the distance between the points B1 and B is equal to the distance between the points C1 and B.

このように様々なパターンの描画の歪みが生じうる中で、次の目標地点までの長さΔt×vの線分に、点Bから下ろした垂線の距離dが最も大きくなるのは、点B1、C1を結ぶ長さΔt×vの線分が形成されるように、点B1及び点Bの距離と、点C1及び点Bの距離が等しい二等辺三角形が形成される場合である。   In such a manner that various pattern drawing distortions can occur, the distance d of the perpendicular drawn from the point B to the line segment of the length Δt × v to the next target point becomes the largest at the point B1. , C1 is formed in an isosceles triangle in which the distance between the point B1 and the point B is equal to the distance between the point C1 and the point B so that a line segment having a length Δt × v is formed.

このため、実施の形態2では、上述の二等辺三角形によって得られる垂線の距離dに対して所定の最大許容値thr(歪みの最大許容値)を設定し、歪みの距離dが最大許容値thr以上にならないように描画速度vを決定し、また、描画速度vに応じた描画出力を決定する。   Therefore, in the second embodiment, a predetermined maximum allowable value thr (maximum allowable distortion value) is set for the perpendicular distance d obtained by the above-mentioned isosceles triangle, and the distortion distance d is the maximum allowable value thr. The drawing speed v is determined so as not to be above, and the drawing output corresponding to the drawing speed v is determined.

具体的には、線分ABと線分BCが挟む角度をθaとすると、点B1及び点Bの距離と、点C1及び点Bの距離が等しい二等辺三角形について式(1)が成立する。   Specifically, when an angle between the line segment AB and the line segment BC is θa, the equation (1) is established for an isosceles triangle in which the distance between the point B1 and the point B is equal to the distance between the point C1 and the point B.

d・tan(θa/2)=vΔt/2 ・・・(1)
ここで、垂線の長さdが歪みの最大許容値thrになる場合の描画速度vは式(2)で与えられる。このように、式(2)を満たす描画速度は、最大許容描画速度となる。
d · tan (θa / 2) = vΔt / 2 (1)
Here, the drawing speed v when the length d of the perpendicular is the maximum allowable value thr of the distortion is given by Expression (2). Thus, the drawing speed that satisfies the formula (2) is the maximum allowable drawing speed.

v={2tan(θa/2)・thr}/Δt ・・・(2)
実施の形態2の描画制御装置220の描画速度演算手段230は、式(2)を満たす最大許容描画速度vを演算し、描画速度及び描画出力の制御を行う。
v = {2 tan (θa / 2) · thr} / Δt (2)
The drawing speed calculation unit 230 of the drawing control apparatus 220 according to the second embodiment calculates the maximum allowable drawing speed v that satisfies Expression (2), and controls the drawing speed and the drawing output.

図13は、実施の形態2の描画制御装置220による描画制御処理を表すフローチャートである。   FIG. 13 is a flowchart illustrating a drawing control process performed by the drawing control apparatus 220 according to the second embodiment.

ステップS21乃至S23は、実施の形態1のステップS1乃至S3と同一であるため、説明を省略する。   Since steps S21 to S23 are the same as steps S1 to S3 of the first embodiment, description thereof is omitted.

ステップS23で実行モードが設定されていると判定されると、方向変化度合演算手段228は、描画対象に含まれるすべての相連続する線分同士のなす角度を方向変化度合として演算し、演算した方向変化度合の最大値を描画速度演算手段230に受け渡す(ステップS24)。   When it is determined in step S23 that the execution mode is set, the direction change degree calculation means 228 calculates and calculates the angle formed by all the continuous line segments included in the drawing target as the direction change degree. The maximum value of the direction change degree is transferred to the drawing speed calculation means 230 (step S24).

次いで、描画速度演算手段230は、方向変化度合演算手段228から受け渡された方向変化度合の最大値に基づき、式(2)を満たす最大許容描画速度vを演算する(ステップS25)。   Next, the drawing speed calculation unit 230 calculates the maximum allowable drawing speed v satisfying Expression (2) based on the maximum value of the direction change degree passed from the direction change degree calculation unit 228 (step S25).

さらに、描画速度演算手段230は、ステップS25で求めた最大許容描画速度vが100%であるか否かを判定する(ステップS26)。   Furthermore, the drawing speed calculation unit 230 determines whether or not the maximum allowable drawing speed v obtained in step S25 is 100% (step S26).

描画速度演算手段230は、ステップS25で求めた最大許容描画速度vが100%でない場合は、描画速度演算手段230は、描画速度をステップS25で求めた最大許容描画速度vに設定する(ステップS27N)。   If the maximum allowable drawing speed v obtained in step S25 is not 100%, the drawing speed calculation means 230 sets the drawing speed to the maximum allowable drawing speed v obtained in step S25 (step S27N). ).

一方、ステップS23で実行モードが設定されていないと判定した場合と、ステップS26で最大許容描画速度vが100%であると判定した場合は、フローはステップS27Yに進行し、描画速度を100%に設定する(ステップS27Y)。   On the other hand, if it is determined in step S23 that the execution mode is not set, and if it is determined in step S26 that the maximum allowable drawing speed v is 100%, the flow proceeds to step S27Y, and the drawing speed is set to 100%. (Step S27Y).

ステップS27N又はS27Yで描画速度が設定されると、フローはステップS28に進行し、描画出力演算手段51は、描画速度に応じた描画出力を求める(ステップS28)。このステップS28の処理は、実施の形態1のステップS7の処理と同一であり、描画出力は、描画出力演算手段51が速度出力調整DB43を参照することによって求められる。   When the drawing speed is set in step S27N or S27Y, the flow proceeds to step S28, and the drawing output calculation means 51 obtains a drawing output corresponding to the drawing speed (step S28). The processing in step S28 is the same as the processing in step S7 in the first embodiment, and the drawing output is obtained by the drawing output calculation means 51 referring to the speed output adjustment DB 43.

以下、実施の形態1のステップS8乃至S12と同一のステップS29乃至S33が実行される。   Thereafter, the same steps S29 to S33 as the steps S8 to S12 of the first embodiment are executed.

以上、実施の形態2の描画制御装置220によれば、描画対象の方向変化度合が大きい場合には、追従遅れによる描画の歪みが最大許容値thrより大きくならないように、描画速度を最大許容描画速度まで低下させるので、描画の歪みを低減あるいは抑制することができる。また、描画速度を低下させる際には、描画出力も低下させるので、リライタブル媒体50の消え残り(消去しても消えない)や発色部の濃度低下等の発生を抑制することができる。   As described above, according to the drawing control apparatus 220 of the second embodiment, when the direction change degree of the drawing target is large, the drawing speed is set to the maximum allowable drawing so that the drawing distortion due to the follow-up delay does not exceed the maximum allowable value thr. Since the speed is reduced, drawing distortion can be reduced or suppressed. In addition, when the drawing speed is lowered, the drawing output is also lowered, so that occurrence of unerasing of the rewritable medium 50 (which does not disappear even when erased) or density reduction of the coloring portion can be suppressed.

なお、実施の形態2では、相隣接する線分同士の方向変化度合θaに応じて、上述の式(2)を用いて求めた最大許容描画速度vを描画速度に設定する形態について説明したが、上述の(2)式で得る最大許容描画速度vに所定のマージン用の係数k(k<1)を乗じて得る速度(許容描画速度)を描画速度としてもよい。また、この係数kを描画対象の種類(漢字、片仮名、平仮名、アルファベット、数字、記号等の種類)によって設定してもよい。   In the second embodiment, a description has been given of a mode in which the maximum allowable drawing speed v obtained using the above-described equation (2) is set as the drawing speed in accordance with the direction change degree θa between adjacent line segments. The drawing speed may be a speed (allowable drawing speed) obtained by multiplying the maximum allowable drawing speed v obtained by the above equation (2) by a predetermined margin coefficient k (k <1). The coefficient k may be set according to the type of drawing target (types of kanji, katakana, hiragana, alphabet, numbers, symbols, etc.).

以上、本発明の例示的な実施の形態の描画制御装置、レーザ照射装置、描画制御方法、描画制御プログラム、及びこれを記録した記録媒体について説明したが、本発明は、具体的に開示された実施の形態に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。   As described above, the drawing control apparatus, the laser irradiation apparatus, the drawing control method, the drawing control program, and the recording medium on which the drawing control apparatus according to the exemplary embodiment of the present invention has been described have been specifically disclosed. The present invention is not limited to the embodiments, and various modifications and changes can be made without departing from the scope of the claims.

10 描画装置
11 レーザ発振器
12 方向制御モータ
13 方向制御ミラー
14 光学レンズ
15 集光レンズ
20、220 描画制御装置
21 描画位置決定手段
22 モード設定手段
23 描画順決定手段
24 描画命令生成手段
25 対象文字コード取得手段
26 フォントデータ取得手段
27 描画条件取得手段
28、228 方向変化度合演算手段
29 方向変化度合判定手段
30 描画速度演算手段
31 CPU
32、230 メモリ
33 CD−ROMドライブ
34 ネットワーク装置
35 ハードディスク
36 入力装置
37 ディスプレイ
38 CD−ROM(記憶媒体)
41 フォントデータDB
42 文字描画プログラム
43 描画順同一化対象DB
44 描画条件DB
50 リライタブル媒体
51 描画出力演算手段
52 待機時間演算手段
100 レーザマーキング装置
DESCRIPTION OF SYMBOLS 10 Drawing apparatus 11 Laser oscillator 12 Direction control motor 13 Direction control mirror 14 Optical lens 15 Condensing lens 20, 220 Drawing control apparatus 21 Drawing position determination means 22 Mode setting means 23 Drawing order determination means 24 Drawing command generation means 25 Object character code Acquisition means 26 Font data acquisition means 27 Drawing condition acquisition means 28, 228 Direction change degree calculation means 29 Direction change degree determination means 30 Drawing speed calculation means 31 CPU
32, 230 Memory 33 CD-ROM drive 34 Network device 35 Hard disk 36 Input device 37 Display 38 CD-ROM (storage medium)
41 Font data DB
42 Character drawing program 43 Draw order identification target DB
44 Drawing condition DB
DESCRIPTION OF SYMBOLS 50 Rewritable medium 51 Drawing output calculating means 52 Standby time calculating means 100 Laser marking apparatus

特開2004−90026号公報JP 2004-90026 JP 特開2004−341373号公報JP 2004-341373 A

Claims (11)

媒体に描画対象を描画する描画装置を制御する描画制御装置であって、
前記描画対象を描画するための描画情報に基づき、前記媒体に前記描画対象を描画する描画位置を決定する描画位置決定手段と、
前記描画情報又は前記描画位置に基づき、前記描画対象に含まれる相連続する線分同士の方向変化度合を演算する方向変化度合演算手段と、
前記方向変化度合演算手段によって演算される前記方向変化度合が大きいほど、前記媒体に前記描画対象を描画する描画速度を低く演算する描画速度演算手段と、
前記描画位置及び前記描画速度を反映した描画命令を生成する描画命令生成手段と
を含む、描画制御装置。
A drawing control device for controlling a drawing device for drawing a drawing target on a medium,
Drawing position determining means for determining a drawing position for drawing the drawing object on the medium based on drawing information for drawing the drawing object;
Based on the drawing information or the drawing position, direction change degree calculating means for calculating the direction change degree between consecutive line segments included in the drawing target;
A drawing speed calculating means for calculating a drawing speed for drawing the drawing object on the medium lower as the direction change degree calculated by the direction change degree calculating means is larger;
A drawing control device, comprising: a drawing command generating means for generating a drawing command reflecting the drawing position and the drawing speed.
前記描画速度演算手段は、描画開始位置から次の描画終了位置までに連続的に描画される一又は複数の前記線分を含む一筆部品、前記線分、又は前記描画対象を単位区間として、描画速度の演算を行う、請求項1に記載の描画制御装置。   The drawing speed calculation means draws a one-stroke component including one or more line segments continuously drawn from a drawing start position to a next drawing end position, the line segment, or the drawing target as a unit section. The drawing control apparatus according to claim 1, wherein the drawing control apparatus performs a speed calculation. 前記一筆部品、前記線分、又は前記描画対象を描画するための描画速度を表す描画速度情報を方向変化度合と関連付けて格納する描画速度情報格納手段をさらに含み、
前記描画速度演算手段は、前記方向変化度合演算手段によって演算される前記方向変化度合に基づいて前記描画速度情報を前記描画速度情報格納手段から抽出することにより、前記一筆部品、前記線分、又は前記描画対象を描画するための前記描画速度を演算する、請求項2に記載の描画制御装置。
Drawing speed information storage means for storing drawing speed information representing a drawing speed for drawing the one-stroke component, the line segment, or the drawing target in association with the direction change degree;
The drawing speed calculation means extracts the drawing speed information from the drawing speed information storage means based on the direction change degree calculated by the direction change degree calculation means, whereby the one-stroke component, the line segment, or The drawing control apparatus according to claim 2, wherein the drawing speed for drawing the drawing target is calculated.
前記描画速度演算手段は、前記方向変化度合演算手段によって演算される前記方向変化度合によって生じうる描画の歪みの許容値と前記方向変化度合とに基づき、前記描画速度として、前記描画対象を描画する際の許容描画速度を演算する、請求項1又は2に記載の描画制御装置。   The drawing speed calculation means draws the drawing target as the drawing speed based on an allowable value of drawing distortion that can be caused by the direction change degree calculated by the direction change degree calculation means and the direction change degree. The drawing control device according to claim 1, wherein an allowable drawing speed is calculated. 前記描画速度が低下するほど、前記描画装置が前記描画対象を描画する描画出力を低く演算する出力演算手段をさらに含み、
前記描画命令生成手段は、前記描画出力を反映した前記描画命令を生成する、請求項1乃至4のいずれか一項に記載の描画制御装置。
An output calculation means for calculating a drawing output for drawing the drawing object by the drawing apparatus as the drawing speed decreases;
The drawing control device according to claim 1, wherein the drawing command generation unit generates the drawing command reflecting the drawing output.
前記描画装置の出力を変更する際に、当該変更後の出力による描画処理の前に描画処理を待機させるための所定の待機時間を演算する待機時間演算手段をさらに含み、
前記描画命令生成手段は、前記待機時間を反映した前記描画命令を生成する、請求項5に記載の描画制御装置。
When changing the output of the drawing device, further includes a waiting time calculating means for calculating a predetermined waiting time for waiting the drawing process before the drawing process by the output after the change,
The drawing control apparatus according to claim 5, wherein the drawing command generation unit generates the drawing command reflecting the waiting time.
前記描画速度演算手段が描画速度を演算する処理を実行するモードと、前記処理を実行しないモードとのいずれかを設定するモード設定手段をさらに含む、請求項1乃至6のいずれか一項に記載の描画制御装置。   The mode according to any one of claims 1 to 6, further comprising a mode setting unit that sets either a mode in which the drawing speed calculation unit calculates a drawing speed or a mode in which the processing is not executed. Drawing control device. レーザを照射するレーザ発振器と、
前記レーザ発振器が照射するレーザの照射方向を制御する方向制御ミラーと、
前記方向制御ミラーを駆動する方向制御モータと、
前記描画命令に基づき、前記レーザ発振器の照射出力の制御、及び前記方向制御モータの駆動制御を行う、請求項1乃至7のいずれか一項に記載の描画制御装置と
を有する、レーザ照射装置。
A laser oscillator for irradiating a laser;
A direction control mirror for controlling the irradiation direction of the laser irradiated by the laser oscillator;
A direction control motor for driving the direction control mirror;
A laser irradiation apparatus comprising: the drawing control apparatus according to claim 1, which controls irradiation output of the laser oscillator and drive control of the direction control motor based on the drawing command.
媒体に描画対象を描画する描画装置をコンピュータが制御する描画制御方法であって、
前記コンピュータは、
前記描画対象を描画するための描画情報に基づき、前記媒体に前記描画対象を描画する描画位置を決定する描画位置決定工程と、
前記描画情報又は前記描画位置に基づき、前記描画対象に含まれる相連続する線分同士の方向変化度合を演算する方向変化度合演算工程と、
前記方向変化度合演算工程によって演算される前記方向変化度合が大きいほど、前記媒体に前記描画対象を描画する速度を低く演算する描画速度演算工程と、
前記描画位置及び前記描画速度を反映した描画命令を生成する描画命令生成工程と
を実行する、描画制御方法。
A drawing control method in which a computer controls a drawing device for drawing a drawing target on a medium,
The computer
A drawing position determining step for determining a drawing position for drawing the drawing object on the medium based on drawing information for drawing the drawing object;
Based on the drawing information or the drawing position, a direction change degree calculation step of calculating a direction change degree between continuous line segments included in the drawing target;
A drawing speed calculation step of calculating a lower speed of drawing the drawing target on the medium as the direction change degree calculated by the direction change degree calculation step is larger.
A drawing command generating step of generating a drawing command reflecting the drawing position and the drawing speed;
コンピュータに、媒体に描画対象を描画する描画装置を制御する制御処理を実行させるための描画制御プログラムであって、
前記コンピュータを
前記描画対象を描画するための描画情報に基づき、前記媒体に前記描画対象を描画する描画位置を決定する描画位置決定手段、
前記描画情報又は前記描画位置に基づき、前記描画対象に含まれる相連続する線分同士の方向変化度合を演算する方向変化度合演算手段、
前記方向変化度合演算手段によって演算される前記方向変化度合が大きいほど、前記媒体に前記描画対象を描画する速度を低く演算する描画速度演算手段、及び
前記描画位置及び前記描画速度を反映した描画命令を生成する描画命令生成手段
として機能させる、描画制御プログラム。
A drawing control program for causing a computer to execute a control process for controlling a drawing apparatus that draws a drawing target on a medium,
Drawing position determining means for determining a drawing position for drawing the drawing object on the medium based on drawing information for drawing the drawing object;
A direction change degree calculating means for calculating a direction change degree between consecutive line segments included in the drawing object based on the drawing information or the drawing position;
The drawing speed calculation means for calculating the drawing speed of the drawing object on the medium lower as the direction change degree calculated by the direction change degree calculation means is larger, and a drawing command reflecting the drawing position and the drawing speed A drawing control program that functions as a drawing command generation means for generating
請求項10に記載の描画制御プログラムを記録した記録媒体。   A recording medium on which the drawing control program according to claim 10 is recorded.
JP2009240397A 2009-10-19 2009-10-19 Drawing control apparatus, laser irradiation apparatus, drawing control method, drawing control program, and recording medium recording the same Expired - Fee Related JP5458794B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009240397A JP5458794B2 (en) 2009-10-19 2009-10-19 Drawing control apparatus, laser irradiation apparatus, drawing control method, drawing control program, and recording medium recording the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009240397A JP5458794B2 (en) 2009-10-19 2009-10-19 Drawing control apparatus, laser irradiation apparatus, drawing control method, drawing control program, and recording medium recording the same

Publications (2)

Publication Number Publication Date
JP2011083815A true JP2011083815A (en) 2011-04-28
JP5458794B2 JP5458794B2 (en) 2014-04-02

Family

ID=44077165

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009240397A Expired - Fee Related JP5458794B2 (en) 2009-10-19 2009-10-19 Drawing control apparatus, laser irradiation apparatus, drawing control method, drawing control program, and recording medium recording the same

Country Status (1)

Country Link
JP (1) JP5458794B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05277773A (en) * 1992-04-03 1993-10-26 Tanaka Seisakusho Kk Laser beam processing method for steel plate
JP2002103062A (en) * 2000-09-27 2002-04-09 Sunx Ltd Device for laser beam marking
JP2002292482A (en) * 2001-03-30 2002-10-08 Sunx Ltd Laser marking device
JP2007203346A (en) * 2006-02-02 2007-08-16 Fanuc Ltd Laser beam control method and apparatus
JP2008200712A (en) * 2007-02-20 2008-09-04 Fanuc Ltd Method and apparatus for laser beam machining

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05277773A (en) * 1992-04-03 1993-10-26 Tanaka Seisakusho Kk Laser beam processing method for steel plate
JP2002103062A (en) * 2000-09-27 2002-04-09 Sunx Ltd Device for laser beam marking
JP2002292482A (en) * 2001-03-30 2002-10-08 Sunx Ltd Laser marking device
JP2007203346A (en) * 2006-02-02 2007-08-16 Fanuc Ltd Laser beam control method and apparatus
JP2008200712A (en) * 2007-02-20 2008-09-04 Fanuc Ltd Method and apparatus for laser beam machining

Also Published As

Publication number Publication date
JP5458794B2 (en) 2014-04-02

Similar Documents

Publication Publication Date Title
JP5397070B2 (en) Control device, laser irradiation device, optimized font data DB, recording method, program, storage medium
KR101307707B1 (en) Control device, laser projection device, recording method, computer program, and recording medium
KR101396041B1 (en) Drawing control method, laser irradiating apparatus, and computer-readable recording medium having recorded with drawing control program
JP5699481B2 (en) Drawing control apparatus, laser irradiation system, drawing method, drawing program, and storage medium
US8791970B2 (en) Information processing device, laser irradiation device, drawing information generating method, control system, and program
US20120038735A1 (en) Information processing apparatus, laser radiation device, render information generating method, control system, program, recording medium, and render information storage device
JP5655552B2 (en) Image processing device
JP5672889B2 (en) Drawing apparatus, laser irradiation apparatus, drawing control method, drawing control program, and recording medium recording the same
JP5458793B2 (en) Drawing control apparatus, laser irradiation apparatus, drawing control method, drawing control program, and recording medium recording the same
JP6665537B2 (en) Data generation device, data generation method, and program
JP5810555B2 (en) Laser drawing device
JP5458794B2 (en) Drawing control apparatus, laser irradiation apparatus, drawing control method, drawing control program, and recording medium recording the same
JP5983003B2 (en) Information processing apparatus, information processing method, system, and program
JP2017177809A (en) Printer, method of selecting printing image, and program of selecting printing image
JP4388749B2 (en) High speed character change control method for laser marking device and laser marking device
JP5740808B2 (en) Control device and control method, laser irradiation system, control program, and storage medium
JP6331361B2 (en) Life estimation device, laser light irradiation system, life estimation method
JP5915781B2 (en) Drawing control method, laser irradiation apparatus, drawing control program, and recording medium recording the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120807

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130805

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130820

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131015

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131230

R151 Written notification of patent or utility model registration

Ref document number: 5458794

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees