JP3380410B2 - Method for determining smoothing group in motor smoothing - Google Patents

Method for determining smoothing group in motor smoothing

Info

Publication number
JP3380410B2
JP3380410B2 JP35436396A JP35436396A JP3380410B2 JP 3380410 B2 JP3380410 B2 JP 3380410B2 JP 35436396 A JP35436396 A JP 35436396A JP 35436396 A JP35436396 A JP 35436396A JP 3380410 B2 JP3380410 B2 JP 3380410B2
Authority
JP
Japan
Prior art keywords
line segment
smoothing
difference
vector data
group
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP35436396A
Other languages
Japanese (ja)
Other versions
JPH10177408A (en
Inventor
展敏 渥美
哲哉 柳川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Roland DG Corp
Original Assignee
Roland DG Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Roland DG Corp filed Critical Roland DG Corp
Priority to JP35436396A priority Critical patent/JP3380410B2/en
Publication of JPH10177408A publication Critical patent/JPH10177408A/en
Application granted granted Critical
Publication of JP3380410B2 publication Critical patent/JP3380410B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、プロッタやカッ
ティングプロッタ等の装置に用いられるモータのスムー
ジングにおけるスムージンググループ決定方法に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a smoothing group determination method for smoothing a motor used in a device such as a plotter or a cutting plotter.

【0002】[0002]

【従来の技術】従来から、プロッタやカッティングプロ
ッタ等の装置においては、モータを作動させることによ
りペンやカッターを移動させ用紙に筆記をしたり切断を
したりすることが行われている。
2. Description of the Related Art Conventionally, in devices such as plotters and cutting plotters, a pen or a cutter is moved by operating a motor to write or cut on a sheet.

【0003】この場合、筆記や切断にかかる図形のデー
タは複数の直線からなる線分のデータの組み合わせから
なっており、その線分のデータであるベクタデータは、
連続して筆記・切断が可能な複数のベクタデータが1つ
のスムージンググループとしてメモリに記憶される。そ
して、そのスムージンググループのベクターデータに対
応する筆記・切断が順次行われる。
In this case, the data of a graphic for writing and cutting is composed of a combination of data of line segments consisting of a plurality of straight lines, and the vector data which is the data of the line segments is
A plurality of vector data that can be written / cut continuously are stored in the memory as one smoothing group. Then, writing / cutting corresponding to the vector data of the smoothing group is sequentially performed.

【0004】たとえば、筆記・切断する図形が、真円で
あれば、長さの等しい短い直線を一定角度づつ傾斜させ
ながら連結して全体形状が滑らかな円に見えるようにす
る。また、楕円あれば、曲がりの大きな部分は、短い直
線を互いの角度差が比較的大きくなるようにして繋ぎ、
曲がりの少ない部分は、長い直線を互いの角度差が小さ
くなるようにして繋いでいくといったことが行われる。
For example, if the figure to be written / cut is a perfect circle, short straight lines having the same length are connected while being inclined at a constant angle so that the overall shape looks like a smooth circle. Also, if it is an ellipse, the part with a large bend connects short straight lines with a relatively large angular difference,
In the part with little bending, long straight lines are connected so that the angle difference between them becomes small.

【0005】この場合、ベクタ速度は、実験的に求めら
れた連続する線分間の角度差を基準として算出してい
た。例えば、一つの線分とその次にくる線分との角度差
が、1度であれば次にくる線分の速度は5cm/秒、2度
であれば次にくる線分の速度は3cm/秒、3度であれば
次にくる線分の速度は2cm/秒というように、角度差が
大きくなるにつれて線分の速度が遅くなるような算出が
行われていた。
In this case, the vector velocity is calculated on the basis of the angle difference between the continuous line segments experimentally obtained. For example, if the angular difference between one line segment and the next line segment is 1 degree, the speed of the next line segment is 5 cm / sec, and if it is 2 degrees, the speed of the next line segment is 3 cm. / Sec is 3 degrees, the velocity of the next line segment is 2 cm / sec, and the calculation is such that the velocity of the line segment slows as the angle difference increases.

【0006】そして、例えば、入力された線分のデータ
と、それに後続する線分のデータの角度差が20度以内
で、速度差が2倍以内であれば、上記2つの線分のデー
タを現在形成中の同じスムージンググループに所属さ
せ、角度差,速度差のうちの1つでも上記の条件を満た
さないものがあれば、後続の線分のデータを先頭とする
新たなスムージンググループを形成するといったことを
繰り返して図形に対応する複数のスムージンググループ
を形成することが行われる。
Then, for example, if the angle difference between the input line segment data and the data of the line segments following it is within 20 degrees and the speed difference is within double, the above two line segment data are If it belongs to the same smoothing group that is currently being formed, and if any of the angle difference and speed difference does not satisfy the above condition, a new smoothing group with the data of the subsequent line segment as the head is formed. By repeating the above, a plurality of smoothing groups corresponding to the figure are formed.

【0007】この場合、形成された各スムージンググル
ープのベクタ速度は、それぞれ、そのスムージンググル
ープを構成する線分のベクタ速度の最低速度と同一の速
度に設定して、スムージンググループ全体にむりが生じ
ないようになされている。
In this case, the vector velocities of the formed smoothing groups are set to the same as the minimum vector velocities of the line segments constituting the smoothing groups, so that the smoothing groups as a whole do not suffer from unevenness. It is done like this.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上記の
方法においては、連続する線分の角度差を基準にして速
度を算出し、この角度差と算出された速度差だけで各線
分を区分してスムージンググループが決定されるため、
短い線分と長い線分が同じスムージンググループに含ま
れた場合でもそのスムージンググループはグループ内の
各線分の最低のベクタ速度に合わせて処理される。
However, in the above method, the speed is calculated with reference to the angular difference between the continuous line segments, and each line segment is segmented only by this angular difference and the calculated speed difference. Since the smoothing group is decided,
Even if a short line segment and a long line segment are included in the same smoothing group, the smoothing group is processed according to the lowest vector speed of each line segment in the group.

【0009】その結果、長い線分と短い線分が混在する
複雑な形状の図を描く場合、スムージンググループ内に
長い線分が多数含まれていても、そのスムージンググル
ープ全体が短い線分のベクタ速度に合わせて処理される
ため、長い線分にとっては速度が遅すぎてスループット
(単位時間当たりの出力値)が落ち、筆記や切断の効率
が悪くなるという問題が生じていた。
As a result, when drawing a diagram of a complicated shape in which long line segments and short line segments coexist, even if a large number of long line segments are included in the smoothing group, the entire smoothing group is a vector of short line segments. Since the processing is performed according to the speed, the speed is too slow for a long line segment, and the throughput (output value per unit time) is reduced, which causes a problem that the efficiency of writing and cutting is deteriorated.

【0010】この発明は、このような事情に鑑みなされ
たもので、連続する2つの線分間の角度差と速度差だけ
でなく、各線分の長さの差も含めて判断してスムージン
ググループを求めることにより、さらに、図形に応じた
好適な処理が行え、かつ、精度および効率のよい筆記・
切断が行えるようになるモータスムージングにおけるス
ムージンググループ決定方法の提供をその目的とする。
The present invention has been made in view of such circumstances, and not only the angle difference and the speed difference between two continuous line segments but also the difference in the length of each line segment is determined to form a smoothing group. By asking for it, it is possible to perform more suitable processing according to the figure, and to write with high accuracy and efficiency.
It is an object of the present invention to provide a smoothing group determination method in motor smoothing that enables cutting.

【0011】[0011]

【課題を解決するための手段】上記の目的を達成するた
め、この発明は、従来例と同様、一つの線分のベクタデ
ータとその線分に続く後続の線分のベクタデータとの角
度差および速度差を、スムージンググループ決定の要素
とするとともに、それに加えて、上記2つの線分のベク
タデータの線分長差もその決定の要素とした。
In order to achieve the above object, the present invention, like the conventional example, provides an angular difference between vector data of one line segment and vector data of a line segment following the line segment. And the speed difference were used as factors for determining the smoothing group, and in addition, the line segment length difference between the vector data of the two line segments was also used as the factor for determining the smoothing group.

【0012】そして、上記一つの線分のベクタデータと
後続の線分のベクタデータとの間の角度差,速度差およ
び線分長差がそれぞれ所定値以内であればこの2つの線
分のベクタデータを、現在形成中の同じスムージンググ
ループに含める。また、上記角度差,速度差および線分
長差のうち1つでも所定値を超えるものがある場合に
は、上記一つの線分のベクタデータを現在形成されてい
るスムージンググループに最後のベクタデータとして加
え、後続の線分のベクタデータについては、このベクタ
データを先頭とする新たなスムージンググループを形成
し、その中に含める。
If the angle difference, the velocity difference, and the line segment length difference between the vector data of one line segment and the vector data of the following line segment are within predetermined values, the vector of the two line segments is calculated. Include the data in the same smoothing group currently being formed. If at least one of the angle difference, the velocity difference, and the line segment length difference exceeds a predetermined value, the vector data of one line segment is added to the last vector data in the currently formed smoothing group. In addition, regarding the vector data of the subsequent line segment, a new smoothing group having this vector data as a head is formed and included therein.

【0013】すなわち、従来例のように連続する線分の
ベクタデータの角度差と速度差だけによって、後続の線
分のベクタデータを形成中のスムージンググループに含
めるか、新たなスムージンググループに含めるかを決定
するのでなく、これにさらに2つの線分のベクタデータ
の長さの差も考慮して判断することにより、1つのスム
ージンググループ内に含まれる線分同士をより近似した
ものにする。
That is, as in the conventional example, whether the vector data of the succeeding line segment is included in the smoothing group being formed or a new smoothing group is obtained based on only the angle difference and the velocity difference of the continuous line segment vector data. Is not determined but the difference between the lengths of the vector data of the two line segments is also taken into consideration to make the line segments included in one smoothing group closer to each other.

【0014】また、上記のようにして求められたスムー
ジンググループは、そのスムージンググループを構成す
る線分のベクタデータのうちの最低のベクタ速度をグル
ープ全体のベクタ速度として設定され処理される。これ
によって、滑らかなむりのない筆記・切断が行えるよう
になる。
Further, the smoothing group obtained as described above is processed by setting the lowest vector speed of the vector data of the line segments forming the smoothing group as the vector speed of the entire group. As a result, smooth writing and cutting can be performed.

【0015】この場合、スムージンググループの数自体
は多くなるが、長い線分のベクタデータと短い線分のベ
クタデータが同じスムージンググループに含まれて極端
に長さの異なる長い線分のベクタデータと短い線分のベ
クタデータが同じ速度で処理されるといったことがなく
なる。これによって、各スムージンググループのベクタ
速度が、それぞれそのスムージンググループに応じたよ
り無駄のない適正な速度に設定できるようになり、全体
としては、きめの細かい制御ができるようになる。その
結果、スループットが向上し効率がよくなるとともに精
度のよい筆記・切断が行えるようになる。
In this case, although the number of smoothing groups itself increases, the vector data of long line segments and the vector data of short line segments are included in the same smoothing group, and vector data of long line segments having extremely different lengths are included. The vector data of short line segments will not be processed at the same speed. As a result, the vector speed of each smoothing group can be set to an appropriate speed that is less wasteful according to the smoothing group, and fine-tuned control can be performed as a whole. As a result, throughput is improved, efficiency is improved, and accurate writing / cutting can be performed.

【0016】なお、上記一つの線分のベクタデータと後
続の線分のベクタデータとの間の角度差,速度差および
線分長差の所定値を、実験により求めたところ、角度差
が10〜25度以内で、速度差が2〜4倍以内で、線分
長差が4〜16倍以内になるように設定することが好適
であった。つぎに、この発明を図を用いて詳しく説明す
る。
When the predetermined values of the angle difference, the velocity difference, and the line segment length difference between the vector data of one line segment and the vector data of the following line segment are experimentally obtained, the angle difference is 10 It was preferable to set the velocity difference within 2 to 25 degrees, the speed difference within 2 to 4 times, and the line segment length difference within 4 to 16 times. Next, the present invention will be described in detail with reference to the drawings.

【0017】[0017]

【発明の実施の形態】図1は、この発明にかかるモータ
スムージングにおけるスムージンググループ決定方法に
使用される装置の構成を示している。図において、1
は、CPU2に接続されたインターフェースであり、シ
リアルケーブル等を介して、外部のホストコンピュータ
ーのインターフェースと接続可能になっている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows the configuration of an apparatus used in a smoothing group determination method in motor smoothing according to the present invention. In the figure, 1
Is an interface connected to the CPU 2, and can be connected to an interface of an external host computer via a serial cable or the like.

【0018】上記CPU2にはバスを介して、全体の動
作や種々の処理をするための所定のプログラムを格納し
たROM(リード・オン・メモリ)3と、CPU2によ
る上記プログラムの実行時に必要な各種レジスタなどが
設定されたワーキングエリアとしてのRAM(ランダム
・アクセス・メモリ)4と、Xモータドライバー5と、
Yモータドライバー6とが接続されている。
A ROM (read-on-memory) 3 storing a predetermined program for performing the entire operation and various processes is provided to the CPU 2 via a bus, and various kinds of CPUs required when the program is executed by the CPU 2. RAM (random access memory) 4 as a working area in which registers and the like are set, an X motor driver 5,
The Y motor driver 6 is connected.

【0019】上記Xモータドライバー5には、ペンやカ
ッターが取り付けられるキャリッジ(図示せず)をシー
トに対してX方向に移動させるXモータ7が接続され、
上記Yモータドライバー6にはシートをY方向に移動さ
せるYモータ8が接続されて、それぞれ、Xモータ7お
よびYモータ8の励磁のオン・オフならびにオン時にお
ける駆動を制御するようになっている。
The X motor driver 5 is connected to an X motor 7 for moving a carriage (not shown) to which a pen or a cutter is attached in the X direction with respect to the sheet.
A Y motor 8 for moving the seat in the Y direction is connected to the Y motor driver 6 so as to control on / off of excitation of the X motor 7 and the Y motor 8 and drive at the time of on. .

【0020】以上の構成において、この発明の方法にか
かるベクタ速度の算出は、ROM3に格納されたプログ
ラムに沿って、図2に示したフローチャートのようにし
て行われる。
In the above structure, the calculation of the vector speed according to the method of the present invention is performed according to the program stored in the ROM 3 as shown in the flowchart of FIG.

【0021】この場合、まず、ステップ1で、入力され
た一つの線分のベクタデータと、その線分に後続する線
分のベクタデータを比較して、その角度差が所定値以内
であるかどうかを判定する。この角度差が所定値以内で
あれば、ステップ2に進む。
In this case, first, in step 1, the vector data of one input line segment is compared with the vector data of the line segment succeeding the line segment, and whether the angular difference is within a predetermined value or not. Determine whether If this angle difference is within the predetermined value, the process proceeds to step 2.

【0022】ついで、ステップ2では、上記2つの線分
のベクタデータの速度差を比較して、その速度差が所定
値以内であるかどうかを判定する。この速度差が所定値
以内であれば、ステップ3に進む。
Next, in step 2, the speed difference between the vector data of the two line segments is compared to determine whether or not the speed difference is within a predetermined value. If the speed difference is within the predetermined value, the process proceeds to step 3.

【0023】つぎに、ステップ3で、上記2つの線分の
ベクタデータの線分長差を比較して、その線分長差が所
定以内であるかどうかを判定する。そして、この線分長
差が所定値以内であればステップ4に進み、上記一つの
線分のベクタデータとそれに後続する線分のベクタデー
タを同じスムージンググループに含める。
Next, in step 3, the line segment length difference between the two line segment vector data is compared to determine whether or not the line segment length difference is within a predetermined range. Then, if this line segment length difference is within a predetermined value, the process proceeds to step 4, and the vector data of one line segment and the vector data of the line segment subsequent thereto are included in the same smoothing group.

【0024】また、上記ステップ1,ステップ2,ステ
ップ3において、1つでも所定値を超えるものがあった
場合には、ステップ5に進み、上記一つの線分のベクタ
データは、その1つだけで1つのスムージンググループ
を形成し、後続の線分のベクタデータは、次に形成され
るスムージンググループの最初のベクタデータとなる。
In step 1, step 2, and step 3, if even one of them exceeds the predetermined value, the process proceeds to step 5, and the vector data of one line segment is only one. Form one smoothing group, and the vector data of the subsequent line segment becomes the first vector data of the smoothing group formed next.

【0025】そして、ステップ6に進み、入力されるべ
き次のベクタデータがあるかどうかが判断される。この
際、もし、次のベクタデータがないようであれば、ベク
タデータは上記の2つだけであり、この2つのベクタデ
ータが上記角度差,速度差,線分長差において所定値以
内なら2つのベクタデータで1つのスムージンググルー
プが形成される。
Then, in step 6, it is determined whether there is the next vector data to be input. At this time, if there is no next vector data, there are only the above two vector data, and if these two vector data are within the predetermined values in the angle difference, the velocity difference, and the line segment length difference, it becomes 2 One vector data forms one smoothing group.

【0026】また、上記2つのベクタデータが上記角度
差,速度差,線分長差のうちの1つでも所定値を超えた
場合には、上記一つの線分のベクタデータで1つのスム
ージンググループが形成され、後続する線分のベクタデ
ータで他の1つのスムージンググループが形成される。
そして、スムージンググループの決定が終了する。
If at least one of the angle difference, the velocity difference and the line segment length difference exceeds a predetermined value, the vector data of one line segment forms one smoothing group. Is formed, and another smoothing group is formed by the vector data of the following line segment.
Then, the determination of the smoothing group ends.

【0027】ステップ6において、入力されるべき次の
ベクタデータがある場合には、ステップ1に戻り、上記
の操作が繰り返される。この場合、上記操作における後
続の線分が一つの線分となり、この一つの線分に後続す
る新たな線分が後続の線分となる。
If there is the next vector data to be input in step 6, the process returns to step 1 and the above operation is repeated. In this case, the subsequent line segment in the above operation becomes one line segment, and the new line segment following this one line segment becomes the subsequent line segment.

【0028】このようにして、上記の操作が繰り返さ
れ、連続する2つの線分のベクタデータにおいて、角度
差,速度差,線分長差がすべて所定値以内のベクタデー
タが後続として続く限りその線分のベクタデータは同じ
スムージンググループ内に所属し、上記角度差,速度
差,線分長差において1つでも所定値を超えるベクタデ
ータが生じたときは、その線分のベクタデータを先頭と
する新たなスムージンググループが形成される。
In this way, the above operation is repeated, and in the vector data of two consecutive line segments, as long as vector data whose angle difference, velocity difference and line segment length difference are all within the predetermined values continues The line segment vector data belong to the same smoothing group, and if any one of the above angle difference, velocity difference, and line segment length difference exceeds the predetermined value, the line segment vector data is set as the head. A new smoothing group is created.

【0029】そして、入力される線分のベクタデータが
なくなるまで、上記のようにして複数のスムージンググ
ループが形成され、そのスムージンググループに対応す
る筆記・切断が行われる。この場合、各スムージンググ
ループのベクタ速度は、そのスムージンググループを構
成する線分のベクタ速度のうち最低の速度に設定され
る。
Then, a plurality of smoothing groups are formed as described above until there is no vector data for the input line segment, and writing / cutting corresponding to the smoothing groups is performed. In this case, the vector speed of each smoothing group is set to the lowest speed of the vector speeds of the line segments forming the smoothing group.

【0030】このように、この発明では、連続する線分
のベクタデータの角度差と速度差だけで、スムージング
グループを決定するのでなく、線分の長さの差も含めて
判断することにより、1つのスムージンググループ内に
含まれる線分をより近似したものにしている。
As described above, according to the present invention, the smoothing group is not determined only by the angle difference and the speed difference between the vector data of the continuous line segments, but the difference in the lengths of the line segments is also included in the determination. The line segments included in one smoothing group are approximated.

【0031】このため、各スムージンググループのベク
タ速度が、それに応じた適正な速度に設定できるように
なり、全体としては、きめの細かい制御ができるように
なる。その結果、スループットが向上し効率がよくなる
とともに精度のよい筆記・切断が行えるようになる。
Therefore, the vector speed of each smoothing group can be set to an appropriate speed corresponding thereto, and fine control can be performed as a whole. As a result, throughput is improved, efficiency is improved, and accurate writing / cutting can be performed.

【0032】上記の方法を用いてカッティングプロッタ
でシートに図形を切断した結果を、図3,図4,図5及
び別紙の表1,表2,表3に示している。すなわち、図
3は単純な多重円からなる図形であり、図4は、Rol
andの文字と1800の数字の組み合わせからなる図
形であり、図5は、アルファベット文字と絵模様の組み
合わせからなるやや複雑な形状の図形である。
The results of cutting a figure into a sheet by the cutting plotter using the above method are shown in FIGS. 3, 4 and 5 and Tables 1, 2 and 3 of the attached sheets. That is, FIG. 3 is a figure composed of simple multiple circles, and FIG.
FIG. 5 is a figure having a combination of and characters and 1800 numbers, and FIG. 5 is a figure having a slightly complicated shape made of a combination of alphabet characters and pictorial patterns.

【0033】そして、表1は、同一のスムージンググル
ープに所属させる各線分のベクタデータの速度差を2〜
4倍の範囲で変化させてスムージンググループを形成
し、そのデータに基づいてシートを上記図3,図4,図
5の図形に切断した際の所要時間を示している。この場
合、各線分のベクタデータの角度差は10度以内に設定
し、線分長差は32倍以内に設定した。
Then, Table 1 shows the speed difference between the vector data of each line segment belonging to the same smoothing group from 2 to 2.
The time required when the smoothing group is formed by changing it in the range of 4 times and the sheet is cut into the figures of FIGS. 3, 4, and 5 based on the data is shown. In this case, the angle difference of the vector data of each line segment was set within 10 degrees, and the line segment length difference was set within 32 times.

【0034】この条件下においては、図3,図4,図5
のすべての図形において、各線分のベクタデータの速度
差を2倍以内に設定してスムージンググループを形成し
た場合が、最も速い時間で切断ができることがわかる。
Under these conditions, FIG. 3, FIG. 4 and FIG.
It can be seen that in all of the figures, when the smoothing group is formed by setting the speed difference of the vector data of each line segment within twice, the cutting can be performed in the fastest time.

【0035】つぎに、表2は、同一のスムージンググル
ープに所属させる各線分のベクタデータの速度差を、上
記表1に示した図形の切断において最も良好な結果を示
した2倍以内に設定するとともに、線分長差を32倍以
内に設定し、角度差を10度から25度に変化させてス
ムージンググループを形成し、そのデータに基づいて上
記図3,図4,図5の図形を切断した際の所要時間を示
している。
Next, Table 2 sets the speed difference between the vector data of the respective line segments belonging to the same smoothing group to within twice the best result in cutting the figure shown in Table 1 above. At the same time, the line segment length difference is set within 32 times, the angle difference is changed from 10 degrees to 25 degrees to form a smoothing group, and the figures in FIGS. 3, 4, and 5 are cut based on the data. It shows the time required when doing.

【0036】この場合、単純な多重円からなる図3の切
断においては所要時間に全く差は生じなかったが、やや
複雑な図4,図5における所要時間を総合して判断した
場合には、角度差を20度以内に設定した場合がやや良
好な結果を示していることがわかる。
In this case, there was no difference in the required time in the cutting of the simple multiple circle shown in FIG. 3, but when judging the total required time in FIGS. 4 and 5 which is rather complicated, It can be seen that a slightly good result is shown when the angle difference is set within 20 degrees.

【0037】表3は、同一のスムージンググループに所
属させる各線分のベクタデータの速度差を、上記表1に
示した図形の切断において最も良好な結果を示した2倍
以内に設定するとともに、角度差を、上記表2において
良好な結果を示した20度以内に設定し、線分長差を2
倍から32倍に変化させてスムージンググループを形成
し、そのデータに基づいて上記図3,図4,図5の図形
を切断した際の所要時間を示している。
Table 3 sets the speed difference of the vector data of each line segment belonging to the same smoothing group to within 2 times which is the best result in cutting the figure shown in Table 1 above, and The difference is set within 20 degrees which shows good results in Table 2 above, and the line segment length difference is set to 2
The time required when the smoothing group is formed by changing from double to 32 times and the figures of FIGS. 3, 4, and 5 are cut based on the data is shown.

【0038】この場合も、図3の切断においては所要時
間に殆ど差は生じなかったが、図4,図5の切断におい
ては、8倍以内の場合が最も良好な結果が得られた。し
たがって、上記のような図3,図4,図5の図形の切断
においては、スムージングの際の各線分を繋げる条件
は、各線分のベクタデータの速度差が2倍以内で、角度
差が20度以内で、線分長差が8倍以内になるように設
定することが最も好適であることがわかる。
Also in this case, there was almost no difference in the required time in the cutting of FIG. 3, but in the cutting of FIGS. 4 and 5, the best result was obtained when the cutting time was within 8 times. Therefore, in the cutting of the figures of FIGS. 3, 4 and 5 as described above, the condition for connecting the line segments during smoothing is that the speed difference of the vector data of each line segment is within twice and the angle difference is 20. It can be seen that it is most preferable to set the line segment length difference within 8 times within a degree.

【0039】なお、上記の切断はすべて、最大加速度が
0.1Gで、初速10mm/秒の台形テーブルを用いた同
一のカッティングプロッタで行った。また、上記の結果
では、同一のスムージンググループに所属する各線分の
ベクタデータは、速度差が2倍以内で、角度差が20度
以内で、線分長差が8倍以内であることが最も良好であ
ったが、これは、常にこのような結果が得られるもので
はなく、図形の形状によっても多少の差が生じるもので
ある。
All the above cuttings were performed with the same cutting plotter using a trapezoidal table having a maximum acceleration of 0.1 G and an initial speed of 10 mm / sec. Further, in the above result, it is most preferable that the vector data of each line segment belonging to the same smoothing group has a speed difference within 2 times, an angle difference within 20 degrees, and a line length difference within 8 times. It was good, but this does not always give such a result, and there are some differences depending on the shape of the figure.

【0040】しかしながら、単純な図形と比較すると複
雑な形状の図形の切断ほど上記の設定で良好な結果が得
られ、単純な図形も含めた一般的な筆記・切断での使用
としては、角度差を10〜25度以内,速度差を2〜4
倍以内,線分長差を4〜16倍以内に設定することが好
ましい。
However, as compared with a simple figure, a cutting result of a figure having a complicated shape gives a better result with the above setting, and as a general writing / cutting including a simple figure, an angle difference is used. Within 10-25 degrees, speed difference 2-4
It is preferable that the line segment length difference is set within 4 times and the line segment length difference is set within 4 to 16 times.

【0041】なお、連続する線分のデータの角度差と速
度差だけでスムージンググループを決定していた従来例
においては、経験的に、角度差を20度以内にし、速度
差を2倍以内にした場合に好結果が得られることが知ら
れ、それに近い値に設定して処理することが行われてい
た。
Incidentally, in the conventional example in which the smoothing group is determined only by the angle difference and the speed difference of the data of the continuous line segments, empirically, the angle difference is set within 20 degrees and the speed difference is set within double. It is known that good results can be obtained in the case of doing so, and it was performed by setting a value close to it.

【0042】[0042]

【発明の効果】以上のように、この発明にかかるモータ
スムージングにおけるスムージンググループ決定方法
は、スムージンググループを形成する際に、連続する後
続の線分のベクタデータをそのスムージンググループに
所属させるか、次に形成するスムージンググループの先
頭に所属させるかの判断を、連続する線分のベクタデー
タの角度差および速度差に加えて、線分長差も含めて行
うようにしている。
As described above, according to the smoothing group determination method for motor smoothing according to the present invention, when forming a smoothing group, vector data of successive subsequent line segments belong to the smoothing group, or The determination as to whether or not the smoothing group to be formed at the head of the smoothing group to be formed is made by including the line segment length difference in addition to the angle difference and velocity difference of the continuous line segment vector data.

【0043】したがって、1つのスムージンググループ
内に含まれる線分のベクタデータ同士が従来例に比べて
より近似したものになる。これによって、各スムージン
ググループのベクタ速度が、そのスムージンググループ
に応じたより無駄のない適正な速度に設定できるように
なり、全体として、きめの細かい制御ができるようにな
る。その結果、スループットが向上し効率がよくなると
ともに精度のよい筆記・切断が行えるようになる。
Therefore, the vector data of the line segments included in one smoothing group are closer to each other than in the conventional example. As a result, the vector speed of each smoothing group can be set to an appropriate speed that is more efficient according to the smoothing group, and fine control can be performed as a whole. As a result, throughput is improved, efficiency is improved, and accurate writing / cutting can be performed.

【0044】また、形成されたスムージンググループ
は、そのスムージンググループを構成する線分のベクタ
データのうちの最低のベクタ速度をグループ全体のベク
タ速度として設定して処理されるため、滑らかなむりの
ない筆記・切断が行えるようになる。
Further, since the formed smoothing group is processed by setting the lowest vector speed of the vector data of the line segments that make up the smoothing group as the vector speed of the entire group, the smooth smooth writing can be performed.・ Be able to cut.

【図面の簡単な説明】[Brief description of drawings]

【図1】この発明の一例で使用する装置の構成図であ
る。
FIG. 1 is a configuration diagram of an apparatus used in an example of the present invention.

【図2】スムージンググループを決定する方法を示すフ
ローチャート図である。
FIG. 2 is a flowchart showing a method for determining a smoothing group.

【図3】実験により切断された多重円を示す図である。FIG. 3 is a view showing multiple circles cut by an experiment.

【図4】実験により切断された文字と数字の組み合わせ
からなる図である。
FIG. 4 is a diagram including a combination of letters and numbers cut by an experiment.

【図5】実験により切断された文字と絵模様の組み合わ
せからなる図である。
FIG. 5 is a diagram including a combination of a character and a picture pattern cut by an experiment.

【符号の説明】[Explanation of symbols]

2・・・・・・CPU 3・・・・・・ROM 4・・・・・・RAM 5・・・・・・Xモータドライバ 6・・・・・・Yモータドライバ 7・・・・・・Xモータ 8・・・・・・Yモータ 2 ... CPU 3 ... ROM 4 ... RAM 5 ... X motor driver 6 ... Y motor driver 7 ... X motor 8 ... Y motor

【表1】 [Table 1]

【表2】 [Table 2]

【表3】 [Table 3]

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 19/18 - 19/46 B23Q 15/00 - 15/28 G05D 3/00 - 3/12 H02P 5/00,7/00 ─────────────────────────────────────────────────── ─── Continuation of front page (58) Fields surveyed (Int.Cl. 7 , DB name) G05B 19/18-19/46 B23Q 15/00-15/28 G05D 3/00-3/12 H02P 5 / 00,7 / 00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】モータの駆動により作動する装置のモータ
を制御するベクタデータのスムージンググループを決定
する方法であって、一つの線分のベクタデータとその線
分に続く後続の線分のベクタデータとの間の角度差,速
度差および線分長差がそれぞれ所定値以内であれば同じ
スムージンググループ内に含め、上記角度差,速度差お
よび線分長差のうち1つでも所定値を超えるものがある
場合には上記後続の線分のベクタデータを先頭とする新
たなスムージンググループを形成することにより複数の
スムージンググループを形成し、形成された各スムージ
ンググループのベクタ速度を、そのスムージンググルー
プを構成する線分のベクタ速度のうちの最低のベクタ速
度に設定して処理することを特徴とするモータスムージ
ングにおけるスムージンググループ決定方法。
1. A method for determining a smoothing group of vector data for controlling a motor of a device operated by driving a motor, comprising vector data of one line segment and vector data of a subsequent line segment following the line segment. If the angle difference, speed difference, and line segment length difference between and are within the predetermined values, at least one of the above angle difference, speed difference, and line segment length difference exceeds the predetermined value. If there is, a smoothing group is formed by forming a new smoothing group with the vector data of the following line segment at the head, and the vector speed of each smoothing group formed is configured as the smoothing group. Smoothing in motor smoothing characterized by setting and processing at the lowest vector speed of the vector speed of the line segment Managing group determination method.
【請求項2】一つの線分のベクタデータとその線分に続
く後続の線分のベクタデータとの間の角度差,速度差お
よび線分長差がそれぞれ10〜25度以内,2〜4倍以
内,4〜16倍以内である請求項1に記載のモータスム
ージングにおけるスムージンググループ決定方法。
2. An angle difference, a velocity difference, and a line segment length difference between one line segment vector data and a vector data of a line segment following the line segment are within 10 to 25 degrees and 2 to 4 respectively. The smoothing group determination method in motor smoothing according to claim 1, wherein the smoothing group determination is within double and within 4 to 16 times.
JP35436396A 1996-12-18 1996-12-18 Method for determining smoothing group in motor smoothing Expired - Fee Related JP3380410B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35436396A JP3380410B2 (en) 1996-12-18 1996-12-18 Method for determining smoothing group in motor smoothing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35436396A JP3380410B2 (en) 1996-12-18 1996-12-18 Method for determining smoothing group in motor smoothing

Publications (2)

Publication Number Publication Date
JPH10177408A JPH10177408A (en) 1998-06-30
JP3380410B2 true JP3380410B2 (en) 2003-02-24

Family

ID=18437056

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35436396A Expired - Fee Related JP3380410B2 (en) 1996-12-18 1996-12-18 Method for determining smoothing group in motor smoothing

Country Status (1)

Country Link
JP (1) JP3380410B2 (en)

Also Published As

Publication number Publication date
JPH10177408A (en) 1998-06-30

Similar Documents

Publication Publication Date Title
JP3380410B2 (en) Method for determining smoothing group in motor smoothing
JPH0832471B2 (en) output method
JP2619898B2 (en) Serial printer print control method
JP3647080B2 (en) Drawing apparatus and drawing method
JPH10143230A (en) Vector velocity calculating method for motor smoothing
JP3117980B2 (en) Printer control device
JP2933932B2 (en) Character recognition method and apparatus
JPS6328663A (en) Impact-type dot printer with noise reduction function
JP2658134B2 (en) How to create NC data
JPH10133732A (en) Control method for motor
JPH0742683U (en) Cutting plotter
JP3187262B2 (en) Character data processing method, character data processing apparatus, and image forming apparatus
JP3359166B2 (en) Printer device and line segment division drawing method of printer device
JPH06333037A (en) Contour forming method
JPH08309953A (en) Stamp engraving system
JP2764944B2 (en) Character output device
US4594672A (en) Multi-column plotter
JPS5996899A (en) Speed control system for motor for driving printer
JPH07114369A (en) Character and graphite data processor
JPH079700A (en) Serial printer
JPH08142583A (en) Filling-in plotting method for pen plotter
JP2004216392A (en) Control method for high-speed printing and high resolution of laser marker and laser marker
JPS60157897A (en) Drawing device for figure
JPH0567106A (en) Method and device for document processing
JPS63202457A (en) Noise muffling system of impact printer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees