JP5822065B2 - Printing device - Google Patents
Printing device Download PDFInfo
- Publication number
- JP5822065B2 JP5822065B2 JP2011162615A JP2011162615A JP5822065B2 JP 5822065 B2 JP5822065 B2 JP 5822065B2 JP 2011162615 A JP2011162615 A JP 2011162615A JP 2011162615 A JP2011162615 A JP 2011162615A JP 5822065 B2 JP5822065 B2 JP 5822065B2
- Authority
- JP
- Japan
- Prior art keywords
- target speed
- speed
- acceleration
- deceleration
- 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.)
- Active
Links
Images
Description
本発明は、被印字媒体に対し所望の印字形成を行う印刷装置に関する。 The present invention relates to a printing apparatus that performs desired printing on a medium to be printed.
一般に、サーマルヘッドを用いる印刷装置においては、搬送手段が被印字媒体を搬送し、その搬送される被印字媒体に対しサーマルヘッドの複数の発熱素子が印字を行い、印刷物を作成する。搬送手段の駆動源としてパルスモータ(ステッピングモータ)を用いる従来技術として、例えば、特許文献1に記載の技術がある。
In general, in a printing apparatus using a thermal head, a conveying unit conveys a printing medium, and a plurality of heating elements of the thermal head print on the conveyed printing medium to create a printed matter. As a conventional technique using a pulse motor (stepping motor) as a driving source for the conveying means, for example, there is a technique described in
上記従来技術のようにパルスモータを用いる印刷装置では、パルスモータの目標速度の設定は、サーマルヘッドでの通電制御内容に対応して行われる。すなわち、サーマルヘッドは、それぞれが複数の発熱素子を備えた複数の発熱領域(ブロック)へと可変に分割可能に構成されており、それら分割された発熱領域ごとに個別に通電可能となっている。これにより、罫線や黒ベタ領域の印字を行うとき等の多数の発熱素子への通電を行う必要がある場合であっても、複数の発熱領域を時系列的に近接した間隔で順次通電することにより、限られたエネルギ量の範囲内で多数の発熱素子に対する通電を円滑かつ確実に行い、当該罫線や黒ベタ領域等の印字を確実に実行することができる。そして、上記従来技術では、印刷時に何個の発熱領域に分割するべきであるか(=分割数)を、印刷するドット数によって動的に変動させる、いわゆる動的分割駆動が行われる。 In a printing apparatus using a pulse motor as in the above prior art, the setting of the target speed of the pulse motor is performed according to the energization control content of the thermal head. That is, the thermal head is configured to be variably divided into a plurality of heat generating regions (blocks) each having a plurality of heat generating elements, and can be individually energized for each of the divided heat generating regions. . As a result, even when it is necessary to energize a large number of heating elements, such as when printing ruled lines and black solid areas, it is necessary to energize multiple heating areas sequentially at close intervals in time series. Accordingly, it is possible to smoothly and reliably energize a large number of heating elements within a limited energy amount, and to reliably perform printing of the ruled lines, the black solid area, and the like. In the above-described prior art, so-called dynamic division driving is performed in which the number of heat generation regions to be divided (= number of divisions) at the time of printing is dynamically changed according to the number of dots to be printed.
上記従来技術では、上記動的分割駆動の実行に対応して、上記目標速度の算出時に、算出する目標速度の値自体を、例えば前回のドットラインのモータ周期や予め記憶されたモータ基本周期等を用いて所定の制約にしたがって補正する。これにより、上記動的分割駆動において多分割から少分割への急激な変動や少分割から多分割への急激な変動を行うときに、モータ回転周期の変動によって駆動音が大きくなったり脱調するのを防止することができる。 In the prior art, in response to the execution of the dynamic division driving, when calculating the target speed, the value of the target speed to be calculated itself is, for example, the previous dot line motor period or a pre-stored motor basic period. Is corrected according to a predetermined constraint. As a result, when the dynamic division drive makes a sudden change from multiple divisions to small divisions or a sudden change from small divisions to multiple divisions, the drive sound becomes louder or steps out due to fluctuations in the motor rotation cycle. Can be prevented.
しかしながら、上記のように算出する目標速度の値自体を補正する手法では、加減速条件によっては円滑な動作ができなくなるおそれがある。この結果、目標速度までの加減速を円滑に実行できない可能性があった。 However, in the method of correcting the target speed value itself calculated as described above, there is a possibility that smooth operation cannot be performed depending on the acceleration / deceleration conditions. As a result, acceleration / deceleration up to the target speed may not be executed smoothly.
本発明の目的は、パルスモータの駆動力により被印字媒体の搬送を行う印刷装置において、目標速度までの加減速を確実に円滑に実行できる構成を提供することにある。 An object of the present invention is to provide a configuration capable of reliably and smoothly executing acceleration / deceleration up to a target speed in a printing apparatus that conveys a medium to be printed by a driving force of a pulse motor.
上記目的を達成するために、本願発明は、パルスモータと、前記パルスモータの駆動力を用いて被印字媒体を搬送するための搬送手段と、前記被印字媒体を前記搬送方向に印字解像度に区分してなる各印字ライン上にドットをそれぞれ形成する複数の発熱素子を備えるとともに、前記搬送方向と直交する方向に沿った複数の発熱領域ごとに可変に分割して給電可能なサーマルヘッドと、前記パルスモータの回転速度を制御する搬送制御手段と、前記搬送手段による搬送の開始後、印字を行うための印字データを1つの前記印字ライン単位に分割したライン印字データごとに通電態様を切り替えつつ、前記印字データに対応した通電制御を行う印字制御手段と、を有する、印刷装置であって、前記印刷装置の動作環境に係わる第1動作環境情報に基づき、前記発熱領域への1回の通電時間を決定する通電時間決定手段と、Nを2以上の整数としたとき、前記パルスモータの停止状態から最高速度状態までの間に対応した所定の第1ライン数範囲の1/Nである1ブロックを単位として、前記1ブロックにおける前記パルスモータの加減速開始点から加減速完了点までの加減速挙動をそれぞれ定めた複数種類の加減速テーブルを記憶した、第1記憶手段と、予め離散して段階的に定められた前記パルスモータの複数の設定速度を記憶した、第2記憶手段と、処理起点となる起点ブロックから前記起点ブロックのN個後の順番のブロックまでの、処理対象となる第2ライン数範囲に関する第2動作環境情報に基づき、前記第2ライン数範囲における、同時に通電される前記複数の発熱素子の最大値である最大同時オンドット数を決定するオンドット数決定手段と、前記オンドット数決定手段により決定された前記最大同時オンドット数に基づき、前記第2ライン数範囲における、分割されて給電される前記発熱領域の数の最大値である最大分割数を決定する分割数決定手段と、前記通電時間決定手段により決定された前記通電時間と、前記分割数決定手段により決定された前記最大分割数とに基づき、前記ライン印字データごとの通電タイミングの間隔である印字周期を決定する印字周期決定手段と、前記第2記憶手段に記憶された前記複数の設定速度の中から、前記印字周期決定手段により決定された前記印字周期に応じた速度を、目標速度として選択する目標速度選択手段と、前記目標速度選択手段により選択された前記目標速度が前記加減速テーブルの適用範囲内となるか適用範囲外となるかを判定する、目標速度判定手段と、前記目標速度判定手段により、前記目標速度選択手段が選択した前記目標速度が、前記第1記憶手段に記憶された前記1ブロック単位の加減速テーブルの適用範囲外であると判定された場合には、適用範囲内となるように、前記選択された目標速度を、前記第2記憶手段に記憶された前記複数の設定速度に含まれる別の速度に置き換える、目標速度置換手段と、前記目標速度判定手段により前記目標速度が前記適用範囲外であると判定された場合には、現在の速度と、前記目標速度置換手段により前記別の速度に置き換えられた新たな目標速度とに基づき、前記第1記憶手段に記憶された前記複数種類の加減速テーブルから、対応する特定の加減速テーブルを選択するとともに、前記目標速度判定手段により前記目標速度が前記適用範囲内であると判定された場合には、前記目標速度選択手段により選択された前記目標速度に基づく加減速テーブルを選択する、テーブル選択手段と、を有し、前記搬送制御手段は、前記テーブル選択手段により選択された前記特定の加減速テーブルを用いて前記パルスモータの回転速度を制御し、前記印字制御手段は、前記印字周期決定手段により決定された前記印字周期に基づき、前記通電制御を行うことを特徴とする。 In order to achieve the above object, the present invention relates to a pulse motor, conveying means for conveying a printing medium using the driving force of the pulse motor, and dividing the printing medium into printing resolutions in the conveyance direction. A thermal head that includes a plurality of heat generating elements that respectively form dots on each print line, and that can be variably divided into a plurality of heat generating regions along a direction orthogonal to the transport direction, While switching the energization mode for each line print data obtained by dividing the print data for printing after the start of the conveyance by the conveyance means and the conveyance control means for controlling the rotation speed of the pulse motor, into one print line unit, A printing control unit that performs energization control corresponding to the print data, the first operation environment information relating to the operation environment of the printing device And an energization time determining means for determining an energization time for one time to the heat generation area, and a predetermined first time corresponding to a period from the stop state to the maximum speed state of the pulse motor when N is an integer of 2 or more. Stores multiple types of acceleration / deceleration tables that define the acceleration / deceleration behavior from the acceleration / deceleration start point to the acceleration / deceleration completion point of the pulse motor in one block, with 1 block being 1 / N of one line range. The first storage means, the second storage means for storing a plurality of set speeds of the pulse motor that are discretely determined in advance, and the N blocks after the start block from the start block serving as the process start point The plurality of heating elements that are energized simultaneously in the second line number range based on the second operating environment information regarding the second line number range to be processed up to the block in the order of On-dot number determination means for determining the maximum number of simultaneous on-dots, which is the maximum value, and divided power supply in the second line number range based on the maximum simultaneous on-dot number determined by the on-dot number determination means A division number determining means for determining a maximum number of divisions that is a maximum value of the number of the heat generation regions, the energization time determined by the energization time determining means, and the maximum division determined by the division number determining means A printing cycle determining unit that determines a printing cycle that is an interval of energization timing for each line print data, and the printing cycle determination from among the plurality of set speeds stored in the second storage unit. the speed corresponding to the printing period determined by the means, a target speed selecting means for selecting as a target speed, the target selected by the target speed selection means Speed determines whether the applicable range to become either outside the scope of the deceleration table, and the target speed determining means, by the target speed determining means, the target speed the target speed selection means has selected, the If it is determined that the acceleration / deceleration table in units of one block stored in the first storage means is outside the applicable range, the selected target speed is set to the second storage so as to be within the applicable range. If the target speed is replaced by another speed included in the plurality of set speeds stored in the means, and the target speed is determined to be outside the applicable range by the target speed determination means, and speed of the plurality of types of deceleration table stored in said another based on the new target speed is replaced with the speed, the first memory means by said target speed replacement unit, corresponding JP Deceleration table with selecting deceleration table, when the target speed by the target speed determining means is determined to be within the range of application, based on the target speed selected by the target speed selection means And a table selection unit that controls the rotation speed of the pulse motor using the specific acceleration / deceleration table selected by the table selection unit, and the print control unit. Performs the energization control based on the printing cycle determined by the printing cycle determination means.
本願発明の印刷装置においては、搬送手段が被印字媒体を搬送し、その搬送される被印字媒体に対し、サーマルヘッドの複数の発熱素子が印字を行い、印刷物を作成する。 In the printing apparatus of the present invention, the conveying means conveys the printing medium, and the plurality of heating elements of the thermal head print on the conveyed printing medium to create a printed matter.
ここで、搬送手段の駆動源としてはパルスモータが用いられ、パルスモータの回転速度は搬送制御手段によって制御される。パルスモータはパルス1つを与えること(励磁相を次の状態に切り替えること)で所定角度の回転を行い、当該パルスを与える間隔を短くしたり長くしたりすることで回転速度の制御が行われる。当該間隔を徐々に短くすることで回転速度を加速することができ、当該間隔を徐々に長くすることで回転速度を減速することができる。本願発明においては、このようなパルスモータの加速挙動(若しくは、減速挙動)を実現するために、予め、パルス付与間隔の最小値及びその最小値まで減少させるときの態様(若しくは、最大値及びその最大値まで増大させるときの態様)をパターン化し、複数種類の加減速テーブルとして用意しておく。これにより、搬送制御手段が実際にパルスモータの回転速度を制御する際には、当該複数種類のテーブルからいずれか1つを選択し、当該選択した加減速テーブルに沿ってパルスモータへパルスを発することにより、所望の加速挙動(若しくは減速挙動)を容易に実現することができる。 Here, a pulse motor is used as a driving source for the conveying means, and the rotation speed of the pulse motor is controlled by the conveying control means. The pulse motor rotates by a predetermined angle by giving one pulse (switching the excitation phase to the next state), and the rotation speed is controlled by shortening or lengthening the interval of giving the pulse. . The rotational speed can be accelerated by gradually shortening the interval, and the rotational speed can be decelerated by gradually increasing the interval. In the present invention, in order to realize the acceleration behavior (or deceleration behavior) of such a pulse motor, the mode (or the maximum value and its maximum value) when the pulse application interval is reduced to the minimum value and the minimum value in advance. A mode when increasing to the maximum value is patterned and prepared as a plurality of types of acceleration / deceleration tables. Thereby, when the conveyance control means actually controls the rotation speed of the pulse motor, one of the plurality of types of tables is selected, and a pulse is emitted to the pulse motor along the selected acceleration / deceleration table. Thus, a desired acceleration behavior (or deceleration behavior) can be easily realized.
ここで、モータは、慣性の大きな回転子を回転させる構成であることから、急加速や急減速は困難である。また、各モータの特性上、停止状態から最高速度状態まで、脱調が発生せず効率のよい駆動制御を行えるライン−速度相関が概ね一意的に定まる。そこで、一般的には、パルスモータの停止状態から最高速度状態までの間に対応した所定のライン数範囲(以下適宜、「加減速ライン数」という)を1単位として、上記加減速テーブルでは、上記加減速ライン数における加減速開始点から加減速完了点までの加減速挙動が定められる。すなわち、速度制御時には、現在から上記加減速ライン数だけ後において実現すべきパルスモータの目標速度が設定され、現在速度と、上記加減速パルス後の上記目標速度との偏差に応じて上記加減速テーブルが選択され、モータ速度が制御される。 Here, since the motor is configured to rotate a rotor having a large inertia, it is difficult to suddenly accelerate or decelerate. Further, the line-speed correlation that allows efficient drive control without out-of-step from the stop state to the maximum speed state is uniquely determined from the characteristics of each motor. Therefore, in general, in the acceleration / deceleration table, a predetermined line number range (hereinafter referred to as “acceleration / deceleration line number” as appropriate) corresponding to a period from the stop state to the maximum speed state of the pulse motor is defined as one unit. The acceleration / deceleration behavior from the acceleration / deceleration start point to the acceleration / deceleration completion point in the number of acceleration / deceleration lines is determined. That is, at the time of speed control, the target speed of the pulse motor to be realized after the number of acceleration / deceleration lines from the present is set, and the acceleration / deceleration is performed according to the deviation between the current speed and the target speed after the acceleration / deceleration pulse. A table is selected and the motor speed is controlled.
しかしながら、例えば高速印刷モードのように通常よりも高速での搬送が行われる場合は上記加減速ライン数の値(上記所定のライン数範囲の大きさ)が大きくなり、上記のような加減速ライン数を単位とする制御では、加減速テーブルのパターンの種類によっては著しく印字処理が遅くなる恐れがある。このため、例えば通常の速度では文字と文字との間の無印刷部分においてモータ速度を最高速度状態まで加速できていたのが上記高速化によってできなくなったり、多数の発熱素子の通電が必要な罫線や黒ベタ等では(もともと印字処理の遅い時間が長いことから)上記高速化により最高速度が上がっても当該最高速度に到達するまでの時間が増大し、かえって通常印刷モードよりも長い処理時間がかかったりする恐れがある。これを回避するために、トルクの大きなパルスモータを使用して上記加減速ライン数を小さくすることが考えられるが、トルク増大のためにはモータの大型化や重量増大を招いたり特殊な電源が必要となったりする。 However, for example, when the conveyance is performed at a higher speed than usual as in the high-speed printing mode, the value of the acceleration / deceleration line number (the size of the predetermined line number range) becomes large, and the acceleration / deceleration line as described above. In the control using a number as a unit, there is a possibility that the printing process may be significantly delayed depending on the type of pattern of the acceleration / deceleration table. For this reason, for example, at a normal speed, the motor speed could be accelerated to the maximum speed in the non-printed portion between characters, but it becomes impossible due to the above speed increase, or a ruled line that requires energization of many heating elements In the case of a solid black or the like (originally, the slow processing time is long), even if the maximum speed increases due to the above speed increase, the time required to reach the maximum speed increases. There is a risk of it. In order to avoid this, it is conceivable to reduce the number of acceleration / deceleration lines using a pulse motor with a large torque. However, in order to increase the torque, the motor is increased in size and weight, or a special power source is used. It is necessary.
そこで、本願発明においては、パルスモータの停止状態から最高速度状態までの間に対応した上記所定のライン数範囲(加減速ライン数)を1単位とするのではなく、その1/N(N:2以上の整数)を1ブロックとして、当該ブロック単位で速度制御を行う。すなわち、上記1ブロックでの加減速挙動が加減速テーブルとして第1記憶手段に記憶されており、この加減速テーブルからテーブル選択手段によって選択された特定の加減速テーブルを用いて、搬送制御手段がパルスモータの回転速度を制御する。このようにして従来よりも細かい間隔でテーブルを適用して制御を行うことにより、上記のようにモータの大型化や重量増大を招くことなく、また特殊な電源を用いなくても、高速印刷(高速搬送)に対応することができる。 Therefore, in the present invention, the predetermined line number range (the number of acceleration / deceleration lines) corresponding to the period from the stop state to the maximum speed state of the pulse motor is not set as one unit, but 1 / N (N: (An integer of 2 or more) is set as one block, and speed control is performed in units of the block. That is, the acceleration / deceleration behavior in one block is stored in the first storage means as the acceleration / deceleration table, and the transport control means uses the specific acceleration / deceleration table selected by the table selection means from this acceleration / deceleration table. Controls the rotational speed of the pulse motor. In this way, control is performed by applying a table at finer intervals than in the past, so that high-speed printing (without increasing the size and weight of the motor as described above, and without using a special power source ( High-speed conveyance).
ところで、上記のパルスモータの目標速度の設定は、サーマルヘッドでの通電制御内容に対応して行われる。すなわち、サーマルヘッドには複数の発熱素子が備えられており、当該複数の発熱素子への通電は印字制御手段によって制御される。本願発明においては、サーマルヘッドは、それぞれが複数の発熱素子を備えた複数の発熱領域へと可変に分割可能に構成されており、それら分割された発熱領域ごとに個別に通電可能となっている。これにより、罫線や黒ベタ領域の印字を行うとき等の多数の発熱素子への通電を行う必要がある場合であっても、複数の発熱領域を時系列的に近接した間隔で順次通電することにより、限られたエネルギ量の範囲内で多数の発熱素子に対する通電を円滑かつ確実に行い、当該罫線や黒ベタ領域等の印字を確実に実行することができる。そして、このときに何個の発熱領域に分割するべきであるか(=分割数)については、現在処理中のブロックよりも後に処理するブロックでの処理内容を考慮して、決定される。具体的には、起点ブロックからそのN個後のブロックまでの第2ライン数範囲における(例えばサーマルヘッドの電圧やサーマルヘッドの抵抗値等の)第2動作環境情報に基づき当該第2ライン数範囲の最大同時オンドット数がオンドット数決定手段により決定され、その最大同時オンドット数に応じて、分割数決定手段が当該第2ライン数範囲での最大分割数を決定する。一方このとき、通電時間決定手段により、サーマルヘッドの発熱領域への1回の通電時間が(印刷装置の電圧や温度等の)第1動作環境情報に基づき1回の通電時間を決定される。そして、この決定された通電時間と上記決定された最大分割数とに基づき、印字周期決定手段によって通電タイミング間隔(=印字周期)が決定され、この決定された印字周期に応じて目標速度が決定される。このとき、本願発明においては、パルスモータの複数の設定速度値が予め離散して段階的に定められており、それら複数の設定速度値は第2記憶手段に記憶されている。この記憶された複数の設定速度のうち、前述のようにして決定された印字周期に応じたものが、目標速度として目標速度選択手段により選択される。これにより、目標速度を簡素な制御で容易かつ迅速に決定することができる。 By the way, the setting of the target speed of the pulse motor is performed according to the energization control contents in the thermal head. In other words, the thermal head is provided with a plurality of heating elements, and energization of the plurality of heating elements is controlled by the print control means. In the present invention, the thermal head is configured to be variably divided into a plurality of heat generating regions each having a plurality of heat generating elements, and can be individually energized for each of the divided heat generating regions. . As a result, even when it is necessary to energize a large number of heating elements, such as when printing ruled lines and black solid areas, it is necessary to energize multiple heating areas sequentially at close intervals in time series. Accordingly, it is possible to smoothly and reliably energize a large number of heating elements within a limited energy amount, and to reliably perform printing of the ruled lines, the black solid area, and the like. At this time, the number of heat generation regions to be divided (= the number of divisions) is determined in consideration of the processing contents in a block processed after the block currently being processed. Specifically, the second line number range based on the second operating environment information (for example, the voltage of the thermal head and the resistance value of the thermal head) in the second line number range from the starting block to the Nth block after that. The maximum number of simultaneous on dots is determined by the on dot number determination means, and the division number determination means determines the maximum number of divisions in the second line number range in accordance with the maximum number of simultaneous on dots. On the other hand, at this time, the energizing time determining means determines the energizing time for one time based on the first operating environment information (such as the voltage and temperature of the printing apparatus) for the heating area of the thermal head. Then, based on the determined energization time and the determined maximum number of divisions, the energization timing interval (= printing cycle) is determined by the printing cycle determining means, and the target speed is determined according to the determined printing cycle. Is done. At this time, in the present invention, a plurality of set speed values of the pulse motor are determined in a discrete and stepwise manner, and the plurality of set speed values are stored in the second storage means. Of the plurality of stored set speeds, the speed corresponding to the printing cycle determined as described above is selected as the target speed by the target speed selecting means. Thus, the target speed can be determined easily and quickly with simple control.
ここで、前述した所定のライン数範囲(加減速ライン数)は、パルスモータの停止状態から最高速度状態までの間に対応したものである。したがって、上記のように当該加減速ライン数の1/N(N:2以上の整数)を1ブロックとして制御を行う本願発明の手法では、現在速度と目標速度との差が大きい場合に、モータ性能上、当該1ブロック内では当該目標速度までの加減速を実現できない場合があり得る。そこで、本願発明では、このような場合には、上記のようにして目標速度選択手段により選択された目標速度の置き換えが行われる。すなわち、本願発明では、例えばパルスモータの標準的な特性を表す、停止状態と最高速度状態との間での基準加減速特性を定めたライン−速度相関が予め実測により決定されている。そして、前述のようにして目標速度選択手段によって目標速度が選択されたときに、当該目標速度が上記ライン−速度相関を逸脱し遵守範囲外との値となる場合(言い換えれば、目標速度が上記1ブロック単位の加減速テーブルの適用範囲外となる場合)には、目標速度置換手段が、目標速度の置き換えを行う。つまり、目標速度置換手段は、上記選択された目標速度を、第2記憶手段に記憶された複数の設定速度に含まれる別の速度に置き換えることで、上記ライン−速度相関を逸脱しない遵守範囲内の値となるように(言い換えれば、目標速度が上記1ブロック単位の加減速テーブルの適用範囲内となるように)ようにする。そして、テーブル選択手段は、上記置き換えられた目標速度に基づいて、対応する特定の加減速テーブルの選択を行う。これにより、現在速度と目標速度との差が大きい場合であっても、確実に当該目標速度までの加減速を実行することができる。特にこのとき、上記のように、予め複数用意された設定速度の中から目標速度を別の値に置き換える手法とすることにより、算出する目標速度の値自体を(例えば前回のドットラインのモータ周期や予め記憶されたモータ基本周期等を用いて)所定の制約にしたがって補正する場合のように、加減速条件によっては円滑な動作ができなくなるという可能性がなくなる。すなわち、目標速度までの加減速を確実に円滑に実行することができる。 Here, the predetermined line number range (acceleration / deceleration line number) described above corresponds to the period from the stop state of the pulse motor to the maximum speed state. Therefore, in the method of the present invention in which control is performed with 1 / N (N: an integer of 2 or more) of the number of acceleration / deceleration lines as one block as described above, when the difference between the current speed and the target speed is large, the motor In terms of performance, acceleration / deceleration up to the target speed may not be realized within the block. Therefore, in the present invention, in such a case, the target speed selected by the target speed selecting means is replaced as described above. That is, in the present invention, for example, a line-speed correlation that defines a standard acceleration / deceleration characteristic between a stop state and a maximum speed state, which represents a standard characteristic of a pulse motor, is determined in advance by actual measurement. Then, when the target speed is selected by the target speed selecting means as described above, the target speed deviates from the line-speed correlation and becomes a value outside the compliance range (in other words, the target speed is If the acceleration / deceleration table is outside the application range of the block unit), the target speed replacement means replaces the target speed. That is, the target speed replacement unit replaces the selected target speed with another speed included in the plurality of set speeds stored in the second storage unit, so that the target speed replacement unit does not deviate from the line-speed correlation. (In other words, the target speed is within the application range of the acceleration / deceleration table in units of one block). Then, the table selection means selects a corresponding specific acceleration / deceleration table based on the replaced target speed. As a result, even when the difference between the current speed and the target speed is large, acceleration / deceleration up to the target speed can be reliably executed. In particular, at this time, as described above, by replacing the target speed with a different value from a plurality of preset speeds prepared in advance, the calculated target speed value itself (for example, the motor cycle of the previous dot line) In other words, there is no possibility that smooth operation cannot be performed depending on acceleration / deceleration conditions as in the case of correction according to a predetermined constraint (using a motor basic cycle or the like stored in advance). That is, acceleration / deceleration up to the target speed can be executed smoothly and reliably.
本発明によれば、パルスモータの駆動力により被印字媒体の搬送を行うとき、目標速度までの加減速を確実に円滑に実行することができる。 According to the present invention, when the medium to be printed is conveyed by the driving force of the pulse motor, the acceleration / deceleration up to the target speed can be surely and smoothly performed.
以下、本発明の一実施の形態を図面を参照しつつ説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
<印刷装置の構成>
本発明の印刷装置の一実施形態の概略構成について、図1〜図3を参照して説明する。図1〜図3に示すように、本実施形態の印刷装置1は、筺体2と、上カバー5とを備えている。筺体2の前部には、上カバー5に続く後端部に樹脂製のトレー6が立設され、トレー6の前方に電源ボタン7が配置され、電源ボタン7の下方に、カッターユニット8(図3参照)を切断動作させるカッターレバー9が、筺体2の幅方向(左右方向)に移動可能に設けられている。
<Configuration of printing device>
A schematic configuration of an embodiment of a printing apparatus according to the present invention will be described with reference to FIGS. As shown in FIGS. 1 to 3, the
筺体2の左側部には、サーマルヘッド23(図3参照)を上下動させる操作レバー21が上下方向に回動に設けられている。筺体2の背面には、電源コード10が接続され、また、パーソナルコンピュータ26(後述の図4参照)と接続するUSB(Universal Serial Bus)等から構成されるコネクタ部(図示せず)が設けられている。上カバー5は、後方端部において筐体2に回動可能に接続されており、これにより上カバー5は筐体2に対し開閉可能な構造となっている。
An
また、印刷装置1は、図2及び図3に示すように、筐体2の内部空間の後方に、凹状のホルダ収納部4を有している。このホルダ収納部4に、被印字テープ3A(被印字媒体)のロール3を取り付けたロールホルダ3aが、ロール幅方向を筺体2の幅方向に一致させて、被印字テープ3Aをロール上側より繰り出すように収納されている。被印字テープ3Aは、自己発色性を有する被印字層を備えた長尺状の感熱シート(いわゆる、サーマルペーパー)や、該感熱シートの片面に、被着体に貼り付けるための粘着剤層を介して離形紙が張り合わされた長尺状のラベルシート等からなり、巻芯に巻回してロール3を形成している。
In addition, the
ロールホルダ3aは、ロール3の幅方向一方側(図2の左側)のガイド部材13と、ロール3の幅方向他方側(図2の右側)の保持部材12と、これら保持部材12とガイド部材13とを連結する軸部材(図示せず)とを備えている。ロール3の巻芯は、ガイド部材13を外した上記軸部材に挿通され、軸部材の巻芯から突出したロール幅方向一方側の端部にガイド部材13が固定される。これにより、ロール3の幅方向一方側端部がガイド部材13に接触し、ロール3の幅方向他方側端部が保持部材12に接触した状態で、ロール3が軸部材4の廻りに回転可能にロールホルダ3aに取り付けられる。
The
ロールホルダ3aのガイド部材13は、図3に示すように、ロール3から繰り出し搬送される被印字テープ3Aを案内するためのテープ搬送方向に延出した案内部13aを備えている。案内部13aの下端は水平に形成されている。一方、ホルダ収納部4の前方部には、水平な載置部20が設けられている。ホルダ収納部4のロール幅方向他方側には、図2に示すように、上向きに開口した長穴状の位置決め溝部16を有するホルダ支持部材15が立設されている。ホルダ収納部4に挿入したロールホルダ3aは、ガイド部材13の案内部13aがホルダ収納部4の載置部20に載置され、保持部材12の取付部12aがホルダ支持部材15の位置決め溝部16に嵌合される。これにより、ロールホルダ3aがホルダ収納部4に着脱自在に取り付けられる。
As shown in FIG. 3, the
ホルダ収納部4の前方部の載置部20のテープ搬送方向下流側には、図3に示すように、上下動可能に設置されたサーマルヘッド23が配置され、このサーマルヘッド23の上方に、プラテンローラ22(搬送手段)が対向配置されている。ホルダ収納部4の前方部は、載置部20から下方向に折曲して前方に延び、ロール3から繰り出し・搬送される被印字テープ3Aをプラテンローラ22とサーマルヘッド23との対向部へと挿入する挿入口18に至っている。
As shown in FIG. 3, a
プラテンローラ22は、ロール3からの被印字テープ3Aを上方に移動されたサーマルヘッド23との間で挟持し、パルスモータ24(後述の図4参照)により回転駆動されることによって被印字テープ3Aを搬送する。
The
サーマルヘッド23は、被印字テープ3Aをテープ搬送方向に印字解像度に区分してなる各印字ライン上にドットをそれぞれ形成する、テープ搬送方向と直交する直交方向に配列された複数の発熱素子(図示せず)を備えている。サーマルヘッド23は、印刷データにしたがって発熱素子に通電することによって、プラテンローラ22との間で挟持した被印字テープ3Aの上記被印字層(下側の表面)に対し印字データに応じた印刷を行う。なお、このサーマルヘッド23は、筺体2の左側部の上記操作レバー21を上方に回動させると、下方に移動されてプラテンローラ22から離間し、操作レバー21を下方に回動させると、上方に移動されて被印字テープ3Aを介してプラテンローラ22に圧接され、印刷可能な状態になる。
The
サーマルヘッド23のテープ搬送方向下流側には、被印字テープ3Aの幅方向に移動自在な上記カッターユニット8が配置されている。カッターユニット8は、筺体2の前部下方の上記カッターレバー9を筺体2の幅方向に移動すると、被印字テープ3Aの幅方向に移動して、サーマルヘッド23による印刷が終了し、トレー6に排出された印刷済みの被印字テープ3Aを幅方向に切断する。
The
<印刷操作>
上記印刷装置1の印刷操作について説明する。まず、操作レバー21を上方に回動して、サーマルヘッド23をプラテンローラ22に対し下方に離間した状態に位置させる。その状態で、ロール3を取り付けたロールホルダ3aをホルダ収納部3aに挿入し、ロールホルダ3aの保持部材12の取付部12aをホルダ支持部材15の位置決め溝部16に嵌め込み、ロールホルダ3aのガイド部材13の案内部13aの下面を載置部20に当接させ、ロール3を取り付けたロールホルダ3aをホルダ収納部4に着脱自在に収納する。続いて、被印字テープ3Aの幅方向一方側の端部をガイド部材13の内側面に当接させつつ、ロール3から被印字テープ3Aを引き出し、引き出された被印字テープ3Aの幅方向他方側の端部を挿入口18のロール幅方向他方側の縁部に当接させつつ、被印字テープ3Aを挿入口18に挿入し、被印字テープ3Aの搬送方向先端部をプラテンローラ22とサーマルヘッド23との間に位置させる。その後、上カバー5を閉じてホルダ収納部4の上側を覆う(図1の状態である)。
<Printing operation>
A printing operation of the
次に、操作レバー21を下方に回動して、サーマルヘッド23を被印字テープ3Aを介してプラテンローラ22に圧接させた状態に位置させる。そして、パルスモータ24(後述の図4参照)によりプラテンローラ22を回転駆動して、プラテンローラ22により被印字テープ3Aを搬送させる一方、サーマルヘッド23の発熱素子に通電して、発熱素子により被印字テープ3Aの印刷面に印刷データに対応した印字を順次印刷させる。サーマルヘッド23を通過した被印字テープ3Aは、上カバー5と筐体2との間からトレー6上に排出される。そして、被印字テープ3Aへの所定の印刷が終了し、カッターユニット8からの排出長さが所定長に達した時点で、カットレバー9を右側方向に移動操作することによって、被印字テープ3Aが幅方向に切断され、所定の印刷を施した所定長のラベル(印刷物)が作成される。
Next, the
<制御系>
本実施形態の印刷装置1の制御系について、図4により説明する。図4において、印刷装置1の制御系には、制御回路210が配置されている。制御回路210には、CPU27と、このCPU27に接続されたROM28と、SRAM29とを備えている。なお、ROM28が、各請求項記載の第1記憶手段及び第2記憶手段として機能する。また、CPU27には、インターフェース30を介してモータ駆動回路31(搬送制御手段)と、サーマルヘッド制御回路32(印字制御手段)とが接続され、さらに外部機器としてパーソナルコンピュータ26が接続されている。モータ駆動回路31にはパルスモータ24が接続され、サーマルヘッド制御回路32にはサーマルヘッド23が接続されている。なお、本実施形態では、以下、パルスモータ24について、1ライン−1パルスとして対応づけられている場合を例にとって説明する。また、すなわち、パルスモータ24への1パルスの付与により、プラテンローラ22の回転駆動によって、被印字テープ3Aが、搬送方向に印字解像度に区分した印刷ラインの1ライン分だけ搬送されるようになっている。しかしながら、これに限られるものではなく、その他1ライン−2パルス等、他の対応付けであってもよい。
<Control system>
A control system of the
ROM28には、データテーブルとして、加減速テーブル33と、目標速度テーブル35とが記憶され、アプリケーションプログラムとして、印刷データ先読みプログラム36と、目標速度置換テーブル37とが記憶されている。なお、これら加減速テーブル33、目標速度テーブル35、印刷データ先読みプログラム36、及び目標速度置換テーブル37の詳細については、後述の基本モータテーブル34とともに後に説明する。
In the
SRAM29は、CPU27のデータ処理に必要な一時的なデータの記憶を行うものであり、プリントバッファ40と、分割数メモリ41とを備えている。
The
プリントバッファ40は、パーソナルコンピュータ26より送信された印刷データを記憶する。
The
分割数メモリ41は、サーマルヘッド23が分割されて給電される発熱領域の数の最大値である最大分割数M(詳細は後述)を記憶する。
The
パルスモータ24は、プラテンローラ22を回転駆動して、プラテンローラ22により被印字テープ3Aを搬送させる。
The
モータ駆動回路31は、パルスモータ24に付与するパルスにより、パルスモータ24を回転駆動し回転速度を制御する。
The
サーマルヘッド制御回路32は、プラテンローラ23による被印字テープ3Aの搬送の開始後、印字を行うための印字データを1つの印字ライン単位に分割したライン印字データごとに通電態様を切り替えつつ、サーマルヘッド23の発熱素子に印字データに対応した通電制御を行う。なおこのとき、サーマルヘッド23の複数の発熱素子は、テープ搬送方向と直交する直交方向に沿って分割した複数の発熱領域ごとに通電可能となっている(詳細は後述)。
The thermal
CPU27は、パーソナルコンピュータ28から送信されプリントバッファ40に記憶された印刷データに基づき、加減速テーブル33等のテーブル類と印刷データ先読みプログラム36等のアプリケーションプログラムなどを使用して、印刷装置1のモータ駆動回路31及びサーマルヘッド制御回路32等の各部を制御して、被印字テープ3Aに印刷データに対応した所定の印刷を行わせる。
The
<本実施形態の特徴>
上記構成において、本実施形態の特徴は、パルスモータ24の停止状態から最高速度状態までの間に対応した所定のパルス数範囲を1単位とするのではなく、その1/N(N:2以上の整数)を1ブロックとして、当該ブロック単位でパルスモータ24の速度制御を行うことである。以下、その詳細を順を追って説明する。
<Features of this embodiment>
In the above configuration, the feature of this embodiment is that the predetermined pulse number range corresponding to the period from the stop state to the maximum speed state of the
<パルスモータの一般的特性>
前述したように、パルスモータ24は、被印字テープ3Aを搬送するプラテンローラ22の駆動源であり、その回転速度は上記モータ駆動回路31によって制御される。パルスモータ24はパルス1つを与えること(励磁相を次の状態に切り替えること)で所定角度の回転を行い、当該パルスを与える間隔(パルス周期)を短くしたり長くしたりすることで回転速度の制御が行われる。当該間隔を徐々に短くすることでパルスモータ24の回転速度を加速することができ、当該間隔を徐々に長くすることでパルスモータ24の回転速度を減速することができる。
<General characteristics of pulse motor>
As described above, the
本実施形態においては、このようなパルスモータ24の加速挙動(若しくは、減速挙動)を実現するために、予め、パルス付与間隔の最小値及びその最小値まで減少させるときの態様(若しくは、最大値及びその最大値まで増大させるときの態様)がパターン化され、ROM28内に、複数種類の上記加減速テーブル33として用意されている(後述の図7〜図10参照)。これにより、モータ駆動回路31が実際にパルスモータ24の回転速度を制御する際には、その複数種類のテーブルからいずれか1つを選択し、当該選択した加減速テーブルに沿ってパルスモータ24へパルスを発することにより、所望の加速挙動(若しくは減速挙動)を容易に実現することができる。
In the present embodiment, in order to realize such acceleration behavior (or deceleration behavior) of the
<基本モータテーブル>
ここで、モータは、慣性の大きな回転子を回転させる構成であることから、急加速や急減速は困難である。また、各モータの特性上、停止状態から最高速度状態まで、脱調が発生せず効率のよい駆動制御を行えるパルス−速度相関が概ね一意的に定まる。そこで、一般的には、パルスモータ24の停止状態から最高速度状態までの間に対応した所定の第1パルス数範囲(以下適宜、「加減速パルス数」という。)を1単位として、上記複数種類用意される加減速テーブルにおいては、上記加減速パルス数における加減速開始点から加減速完了点までの加減速挙動が定められる。なお、上記第1パルス範囲が各請求項記載の第1ライン数範囲に相当し、上記加減速パルス数が各請求項記載の加減速ライン数に相当している。
<Basic motor table>
Here, since the motor is configured to rotate a rotor having a large inertia, it is difficult to suddenly accelerate or decelerate. Moreover, the pulse-speed correlation which can perform efficient drive control without a step-out does not generate | occur | produce from a stop state to the maximum speed state on the characteristic of each motor is decided uniquely. Therefore, in general, a predetermined first pulse number range (hereinafter referred to as “acceleration / deceleration pulse number” as appropriate) corresponding to a period from the stop state to the maximum speed state of the
本実施形態においては、パルスモータ24の、停止状態と最高速度状態との間での基準加減速特性を定めた上記パルス−速度相関(ライン−速度相関)が、上記基本モータテーブル34として実測によって決定されている。図5に、上記基本モータテーブル34の一例を示す。なお、「速度」は、パルスモータ24の速度を、プラテンローラ22による被印字テープ3Aの搬送速度[mm/s]を用いて表したものであり、「ライン」は前述した、被印字テープ3Aを搬送方向に印字解像度に区分した印刷ラインを表す。この例では、パルスモータ24は、停止状態から1ライン後の第1ライン(第1パルス)では24.3[mm/s](パルスモータ24に印加するパルスの間隔である周期に換算すると3484[μs]。以下同様)となり、その次の第2ライン(第2パルス)では36.3[mm/s](周期2336[μs])となり、以降、次第に加速していって、最終の第24ライン(第24パルス)では最高速度1183[mm/s](周期716[μs])に達する特性となっている。
In the present embodiment, the pulse-speed correlation (line-speed correlation) defining the reference acceleration / deceleration characteristics between the stop state and the maximum speed state of the
したがって、上述の通常の手法に基づけば、上記複数種類用意される加減速テーブルにおいては、上記24パルス(前述の1ライン−1パルスの前提において24ラインに相当)を1単位として、加減速開始点から加減速完了点までの加減速挙動が定められることとなる。この場合、速度制御時には、現在から上記加減速パルス数(24パルス)だけ後において実現すべきパルスモータ24の目標速度が設定され、現在速度と、上記加減速パルス後の上記目標速度との偏差に応じて上記加減速テーブルが選択され、モータ速度が制御されることとなる。
Therefore, based on the above-described normal method, in the acceleration / deceleration table prepared in plural types, acceleration / deceleration is started with the 24 pulses (corresponding to 24 lines on the assumption of 1 line-1 pulse described above) as one unit. The acceleration / deceleration behavior from the point to the acceleration / deceleration completion point is determined. In this case, at the time of speed control, the target speed of the
しかしながら、例えば高速印刷モードのように通常よりも高速での搬送が行われる場合は上記加減速パルス数の値(上記第1パルス数範囲の大きさ)が大きくなり、上記のような加減速パルス数(上述の例では24パルス)を単位とする制御では、加減速テーブルのパターンの種類によっては著しく印字処理が遅くなる恐れがある。このため、例えば通常の速度では文字と文字との間の無印刷部分においてモータ速度を最高速度状態まで加速できていたのが上記高速化によってできなくなったり、多数の発熱素子の通電が必要な罫線や黒ベタ等では(もともと印字処理の遅い時間が長いことから)上記高速化により最高速度が上がっても当該最高速度に到達するまでの時間が増大し、かえって通常印刷モードよりも長い処理時間がかかったりする恐れがある。これを回避するために、トルクの大きなパルスモータを使用して上記加減速パルス数を小さくすることが考えられるが、トルク増大のためにはモータの大型化や重量増大を招いたり特殊な電源が必要となったりする。 However, for example, when the conveyance is performed at a higher speed than usual as in the high-speed printing mode, the value of the acceleration / deceleration pulse number (the size of the first pulse number range) becomes large, and the acceleration / deceleration pulse as described above. In the control using a number (24 pulses in the above example) as a unit, there is a risk that the printing process will be significantly delayed depending on the type of pattern of the acceleration / deceleration table. For this reason, for example, at a normal speed, the motor speed could be accelerated to the maximum speed in the non-printed portion between characters, but it becomes impossible due to the above speed increase, or a ruled line that requires energization of many heating elements In the case of a solid black or the like (originally, the slow processing time is long), even if the maximum speed increases due to the above speed increase, the time required to reach the maximum speed increases. There is a risk of it. In order to avoid this, it is conceivable to reduce the number of acceleration / deceleration pulses by using a pulse motor with a large torque. However, in order to increase the torque, the motor is increased in size and weight, or a special power source is used. It is necessary.
<ブロック単位の速度制御>
そこで、本実施形態においては、パルスモータ24の停止状態から最高速度状態までの間に対応した上記第1パルス数範囲(加減速パルス数)を1単位とするのではなく、その1/N(N:2以上の整数。この例ではN=2)を1ブロックとして、当該ブロック単位で速度制御を行う。具体的には、例えば図6(a)に示すような、停止状態(概念的に「速度0」で表す)からの加速開始後、上記加減速パルス数(24パルス)で最高速度状態(「速度120」で表す)となる特性の上記パルスモータ24に対し、本実施形態では、図6(b)に示すように、12パルスを1単位として、速度制御を行う。
<Speed control in block units>
Therefore, in the present embodiment, the first pulse number range (acceleration / deceleration pulse number) corresponding to the period from the stop state to the maximum speed state of the
すなわち、本実施形態での速度制御時には、現在から12パルスだけ後において実現すべきパルスモータ24の目標速度が設定され、現在速度と、上記12パルス後の上記目標速度との偏差に応じて上記加減速テーブルが選択され、モータ速度が制御されることとなる。そのために、本実施形態では、12パルス範囲でのパルスモータ24の加減速開始点から加減速完了点までの複数種類の加減速挙動を定めた、上記加減速テーブル33が予め用意されている。
That is, at the time of speed control in the present embodiment, the target speed of the
<加減速テーブル>
加減速テーブル33の例を図7、図8、図9、及び図10に示す。図7〜図10において、「Tm0」はパルスモータ24の加減速開始点の速度(言い換えれば周期)であり、「Tm1′」はパルスモータ24の加減速完了点の速度(言い換えれば周期)であり、「ライン」は、前述同様、被印字テープ3Aを搬送方向に印字解像度に区分した前述の印刷ラインを示す。
<Acceleration / deceleration table>
Examples of the acceleration / deceleration table 33 are shown in FIGS. 7, 8, 9, and 10. 7 to 10, “Tm0” is the speed (in other words, the cycle) of the acceleration / deceleration start point of the
図7〜図10において、本実施形態では後述のように目標速度が0〜6の7段階に離散的に設定されている(図12参照)のに対応し、加減速開始点の速度Tm0、加減速完了点の速度Tm1′も、「0」「1」「2」「3」「4」「5」「6」の7つの区分番号で表される7段階に区分されている。そして、「0」区分のTm0で加減速開始して「0」区分のTm1′で加減速開始終了する「0→0」テーブル、「0」区分のTm0で加減速開始して「1」区分のTm1′で加減速開始終了する「0→1」テーブル、・・、「0」区分のTm0で加減速開始して「6」区分のTm1′で加減速開始終了する「0→6」テーブル、「1」区分のTm0で加減速開始して「0」区分のTm1′で加減速開始終了する「1→0」テーブル、・・、「6」区分のTm0で加減速開始して「5」区分のTm1′で加減速開始終了する「6→5」テーブル、「6」区分のTm0で加減速開始して「6」区分のTm1′で加減速開始終了する「6→6」テーブル、の合計7×7=49個の加減速テーブル(図7〜図10中の太線黒枠参照)が含まれている。各加減速テーブル中の数字は、上記12パルス範囲におけるパルスごと(ラインごと)の加減速時のモータ24の速度を、前述と同様、プラテンローラ22による被印字テープ3Aの搬送速度[mm/s]に対応させて周期[μs]に換算して表したものであり、前述の図5に示した基本モータテーブル34から抜粋された値となっている。
7 to 10, in the present embodiment, the target speed is discretely set in 7 stages of 0 to 6 as described later (see FIG. 12), and the acceleration / deceleration start speed Tm0, The acceleration / deceleration completion point speed Tm1 ′ is also divided into seven stages represented by seven division numbers of “0”, “1”, “2”, “3”, “4”, “5”, and “6”. Then, the “0 → 0” table that starts acceleration / deceleration at Tm0 in the “0” section and ends acceleration / deceleration at Tm1 ′ in the “0” section, and starts acceleration / deceleration at Tm0 in the “0” section. “0 → 1” table that starts / stops acceleration / deceleration at Tm1 ′, and “0 → 6” table starts acceleration / deceleration at Tm0 in “0” section and starts acceleration / deceleration at Tm1 ′ in “6” section “1 → 0” table that starts acceleration / deceleration at Tm0 in “1” section and ends acceleration / deceleration at Tm1 ′ in “0” section, and starts acceleration / deceleration at Tm0 in “6” section. “6 → 5” table for starting acceleration / deceleration at Tm1 ′ in the “6” section, “6 → 6” table for starting acceleration / deceleration at Tm0 in the “6” section and ending acceleration / deceleration at Tm1 ′ in the “6” section, A total of 7 × 7 = 49 acceleration / deceleration tables (see thick line black frames in FIGS. 7 to 10) are included.The numbers in each acceleration / deceleration table indicate the speed of the
本実施形態では、以上のような49個の加減速テーブル33から選択された特定の1つの加減速テーブルを用いて、モータ駆動回路31がパルスモータ24の回転速度を制御する。このようにして従来よりも細かい間隔でテーブルを適用して制御を行うことにより、上記のようにモータの大型化や重量増大を招くことなく、また特殊な電源を用いなくても、高速印刷(高速搬送)に対応することができる。この効果を、比較例を参照しつつ、図11(a)及び図11(b)により説明する。
In the present embodiment, the
<比較例と実施形態との比較>
24パルスを制御単位としてパルスモータ24を制御する比較例での挙動を図11(a)に示す。一方、12パルスを制御単位としてパルスモータ24を制御する本実施形態での挙動を図11(b)に示す。
<Comparison between Comparative Example and Embodiment>
FIG. 11A shows the behavior in the comparative example in which the
制御態様の一例として、例えば、現在最高速度状態にあるパルスモータ24を、現在から60パルス(60ライン)後の時点で停止させたい場合を考える。この場合、図11(a)の比較例では、上述のように24パルスが1つの制御単位となることから、60パルス経過後に停止させるためには、制御上48パルス経過後の時点で停止させておかねばならない。このため、例えば24パルス経過後の時点で、上記基準加速度特性に基づく加減速テーブル(24パルス単位で規定)を用いて最高速度から減速を開始しなければならない。
As an example of the control mode, for example, a case where the
これに一方、12パルスを制御単位としてパルスモータ24を制御する本実施形態での挙動を図11(b)に示す。この場合、上述のように12パルスが1つの制御単位となることから、ちょうど60パルス経過後の時点で停止させる制御とすれば足りる。この結果、上記比較例とは異なり、最高速度状態を38パルス経過時点まで続け、38パルス経過後の時点で、上記基準加速度特性に基づく加減速テーブル(12パルス単位で規定)を2つ用いて最高速度から減速を開始すればよい。これにより、上記図11(a)の比較例よりも、最高速度である状態を、24パルス経過時点〜36パルス経過時点までの分(12パルス分)長く続けることができる。すなわち、比較例よりも細かい間隔でテーブルを適用し制御を行うことにより、例えば高速印刷(高速搬送)を行う場合等においても、効率のよい制御を行うことが可能となるのである。
On the other hand, FIG. 11B shows the behavior in this embodiment in which the
<目標速度の設定>
ここで、既に述べた上記パルスモータ24の目標速度の設定は、サーマルヘッド23での通電制御内容に対応して行われる。以下、その詳細を説明する。
<Setting target speed>
Here, the setting of the target speed of the
前述したように、本実施形態においては、サーマルヘッド23は、それぞれが複数の発熱素子を備えた複数の発熱領域へと可変に分割可能に構成されており、それら分割された発熱領域ごとに個別に通電可能となっている。これにより、罫線や黒ベタ領域の印字を行うとき等の多数の発熱素子への通電を行う必要がある場合であっても、複数の発熱領域を時系列的に近接した間隔で順次通電することにより、限られたエネルギ量の範囲内で多数の発熱素子に対する通電を円滑かつ確実に行い、当該罫線や黒ベタ領域等の印字を確実に実行することができる。そして、このときに何個の発熱領域に分割するべきであるか(=分割数)については、現在処理中のブロックよりも後に処理するブロックでの処理内容を考慮して、決定される。
As described above, in the present embodiment, the
<最大同時オンドット数の決定>
本実施形態では、具体的には、まず、起点ブロックからそのN(この例ではN=2)個後までの第2パルス数範囲(各請求項記載の「第2ライン数範囲」に相当)における、サーマルヘッド23の電圧やサーマルヘッド23の抵抗値等の第2動作環境情報に基づき、当該第2パルス数範囲の最大同時オンドット数が決定される。このとき、前述の印刷データ先読プログラム36が用いられる。すなわち、CPU27は、印刷データ先読みプログラム36を用いて、現在の印刷の処理起点となる起点ブロックからその起点ブロックのN個(本実施形態では2個)後の順番のブロックまでの上記第2パルス数範囲の印刷データの先読みを行い、上記最大同時オンドット数を決定する。最大同時オンドット数を決定した後は、その最大同時オンドット数に応じて、当該第2パルス数範囲での最大分割数Mが決定される。
<Determining the maximum number of simultaneous on dots>
More specifically, in the present embodiment, first, the second pulse number range from the starting block to N (N = 2 in this example) after the starting block (corresponding to the “second line number range” in each claim) Based on the second operating environment information such as the voltage of the
例えば、前述の図11(b)の例では、起点ブロックは0〜12パルスまでの範囲となり、上記第2パルス数範囲は、起点ブロックから2個後(N=2)の、24パルス〜36パルスまでを含む、0〜36パルスまでの範囲となる。例えばこの0〜36パルスまでの範囲に罫線や黒ベタ領域等の印字を行う印字データが含まれている場合には、当該罫線や黒ベタ領域を印字するために最大同時オンドット数が非常に多くなることから、この0〜36パルスまでの範囲での上記最大分割数Mは、例えばサーマルヘッド23において分割可能に設定されている最大の値となる。このようにして決定された最大分割数Mは、SRAM29の上記分割数メモリ41に記憶される。
For example, in the example of FIG. 11B described above, the starting point block has a range of 0 to 12 pulses, and the second pulse number range is 24 pulses to 36, two after the starting point block (N = 2). The range is from 0 to 36 pulses including the pulse. For example, when print data for printing ruled lines or black solid areas is included in the range from 0 to 36 pulses, the maximum number of simultaneous on dots is very large for printing the ruled lines and black solid areas. Therefore, the maximum division number M in the range of 0 to 36 pulses is the maximum value set so as to be capable of division in the
<通電時間の決定>
一方、このときまた、サーマルヘッド23の各発熱領域への1回の通電時間Thが、例えば公知の手法で検出した印刷装置1の電圧や印刷装置1の周囲の温度等の第1動作環境情報に基づき、決定される。一例としては、印刷装置1の周囲温度が低い場合には被印字テープ3Aの感熱シートの発色に時間がかかることから通電時間Thが長めに設定される。あるいは、印刷装置1の電圧が高めになっている場合には、高電圧印加により被印字テープ3Aの感熱シートの発色が短時間に完了することから通電時間Thが短めに設定される。
<Determination of energization time>
Meanwhile, at this time, the first operating environment information such as the voltage of the
<印字周期の決定>
そして、上記のようにして決定された通電時間Thと上記決定された最大分割数Mとに基づき、発熱素子への通電タイミング間隔(言い換えれば分割された各領域の通電タイミング間隔)である印字周期Tが、T=Th×Mによって決定される。その後、この決定された印字周期Tに応じて目標速度が決定される。このとき、本実施形態においては、上記目標速度テーブル35において、パルスモータ24の複数の設定速度値が予め離散して段階的に定められている。
<Determination of printing cycle>
Then, based on the energization time Th determined as described above and the determined maximum division number M, a printing cycle that is an energization timing interval to the heat generating elements (in other words, an energization timing interval of each divided area). T is determined by T = Th × M. Thereafter, the target speed is determined according to the determined printing cycle T. At this time, in the present embodiment, in the target speed table 35, a plurality of set speed values of the
<目標速度テーブル>
目標速度テーブル35の例を図12に示す。前述したように、目標速度は「0」「1」「2」「3」「4」「5」「6」の7つの区分番号で表される7段階に区分されて離散的に設定されている。各区分において、「速度」の欄に当該区分で設定された目標速度[mm/s]が記載され、「周期」の欄に各目標速度の値を周期[μs]に換算したものが記載されている。この例では「0」区分の目標速度は0[mm/s]、「1」区分の目標速度は24.3[mm/s](換算された周期Tm1=3484[μs])、「2」区分の目標速度は45.0[mm/s](換算された周期Tm1=1884[μs])、「3」区分の目標速度は69.0[mm/s](換算された周期Tm1=1228[μs])、「4」区分の目標速度は91.7[mm/s](換算された周期Tm1=924[μs])、「5」区分の目標速度は107.8[mm/s](換算された周期Tm1=786[μs])、「6」区分の目標速度は118.3[mm/s](換算された周期Tm1=716[μs])となっている。
<Target speed table>
An example of the target speed table 35 is shown in FIG. As described above, the target speed is divided into seven stages represented by seven division numbers of “0”, “1”, “2”, “3”, “4”, “5”, and “6” and is set discretely. Yes. In each section, the target speed [mm / s] set in the section is described in the “speed” column, and the value of each target speed converted into the period [μs] is described in the “period” column. ing. In this example, the target speed of the “0” section is 0 [mm / s], the target speed of the “1” section is 24.3 [mm / s] (converted cycle Tm1 = 3484 [μs]), “2” The target speed of the section is 45.0 [mm / s] (converted cycle Tm1 = 1848 [μs]), and the target speed of the “3” section is 69.0 [mm / s] (converted period Tm1 = 1228). [Μs]), the target speed of the “4” section is 91.7 [mm / s] (converted cycle Tm1 = 924 [μs]), and the target speed of the “5” section is 107.8 [mm / s]. (The converted period Tm1 = 786 [μs]), the target speed of the “6” section is 118.3 [mm / s] (the converted period Tm1 = 716 [μs]).
そして、これらの区分それぞれの目標速度(言い換えれば周期Tm1。以下同様)のうち、前述のようにして決定された印字周期Tに応じたものが、制御において使用するべき目標速度(周期Tm1)として選択される。その選択の際には、算出された印字周期Tより周期Tm1の値が大きく(言い換えれば速度が遅く)、かつ区分番号が最大となるような目標速度が選択される。例えば前述のようにして算出された印字周期Tが900[μs]であった場合には、これよりも大きいTm1=924[μs]に対応した「4」区分における、目標速度91.7[mm/s]が選択される。算出された印字周期Tが1000[μs]であった場合には、(1000[μs]に近い924[μs]に対応した「4」区分ではなく)これよりも大きいTm1=1228[μs]に対応した「3」区分における、目標速度69.0[mm/s]が選択される。これは、仮に速度設定の速い側に合わせて選択すると前述の脱調等が発生する恐れがあり、常に速度設定の遅い側に合わせて選択することで上記の恐れを回避しているのである。以上のようにして、目標速度テーブル35を利用することで、印字周期Tに応じて、目標速度を簡素な制御で容易かつ迅速に決定することができる。 Of the target speeds (in other words, the cycle Tm1; the same applies hereinafter) for each of these sections, the target speed (cycle Tm1) to be used in the control is the one corresponding to the printing cycle T determined as described above. Selected. In the selection, a target speed is selected such that the value of the period Tm1 is larger than the calculated printing period T (in other words, the speed is slow) and the section number is the maximum. For example, when the printing cycle T calculated as described above is 900 [μs], the target speed 91.7 [mm] in the “4” section corresponding to a larger Tm1 = 924 [μs]. / S] is selected. When the calculated printing cycle T is 1000 [μs] (instead of “4” classification corresponding to 924 [μs] close to 1000 [μs]), a larger Tm1 = 1228 [μs] is set. The target speed 69.0 [mm / s] in the corresponding “3” section is selected. This is because the above-mentioned step-out may occur if it is selected according to the fast speed setting side, and the above-mentioned fear is avoided by always selecting according to the slow speed setting side. As described above, by using the target speed table 35, the target speed can be easily and quickly determined by simple control according to the printing cycle T.
<目標速度の置きかえ>
ここで、上記加減速パルス数は、既に述べたように、パルスモータ24の停止状態から最高速度状態までの間(24パルスの範囲)に対応したものである。したがって、上記のように当該加減速パルス数の1/2(12パルスの範囲)を1ブロックとして制御を行う本実施形態の手法では、現在速度と目標速度との差が大きい場合に、モータ性能上、当該1ブロック内では当該目標速度までの加減速を実現できない場合があり得る。そこで、本実施形態では、このような場合には、目標速度テーブル35を用いて上記のようにして選択された目標速度の置き換えが行われる。
<Replacement of target speed>
Here, as described above, the number of acceleration / deceleration pulses corresponds to the period from the stop state of the
すなわち、本実施形態では、上記のようにして設定された目標速度が、当該目標速度が、図5に示した基本モータテーブル34の表す上記パルス−速度相関を逸脱する遵守範囲外の値となり(言い換えれば上記加減速テーブル33の適用範囲外の値となり)そのままでは脱調等の不具合が発生する場合には、目標速度の置き換えを行う。つまり、上記のようにして図12の中から一旦選択された目標速度を、図12中の別の目標速度に置き換えることで、上記パルス−速度相関を逸脱せず遵守範囲内の値となるように(言い換えれば上記加減速テーブル33の適用範囲内の値となるように)する。このとき、本実施形態においては、上記目標速度置換テーブル37を用いて、上記の目標速度の置きかえが行われる。 That is, in the present embodiment, the target speed set as described above is a value outside the compliance range in which the target speed deviates from the pulse-speed correlation represented by the basic motor table 34 shown in FIG. In other words, the value is outside the applicable range of the acceleration / deceleration table 33). If a problem such as step-out occurs, the target speed is replaced. In other words, by replacing the target speed once selected from FIG. 12 as described above with another target speed in FIG. 12, the value within the compliance range is obtained without departing from the pulse-speed correlation. (In other words, the value is within the applicable range of the acceleration / deceleration table 33). At this time, in the present embodiment, the target speed replacement is performed using the target speed replacement table 37.
<目標速度置換テーブル>
目標速度置換テーブル37の例を図13に示す。この目標速度置換テーブルは、図12と同様、「0」「1」「2」「3」「4」「5」「6」の7つの区分番号で離散的に表された速度区分を用いて設定されている。「Tm0」は現在速度(詳細には当該現在速度を周期に換算したもの。以下適宜、単に「現在速度Tm0」と称する)を表しており、「Tm1」は上記目標速度テーブル35を用いて設定された目標速度(詳細には当該目標速度を周期に換算したもの。以下適宜、単に「目標速度Tm1」等と称する)を表している。そして、「Tm0」の欄と「Tm1」の欄との交点に位置する区分番号が、当該現在速度Tm0から目標速度Tm1へ加減速するときに、実際に使用される最終的な目標速度Tm1′の区分番号を表している。その際、斜線ハッチングのない部分は、前述の置きかえが行われず目標速度テーブル35で設定された値がそのまま用いられる(すなわちTm1′=Tm1)の部分である。一方、斜線ハッチングが施された部分は、目標速度テーブル35で設定された値に対し前述の置きかえが行われる(言い換えればTm1′≠Tm1)部分である。
<Target speed replacement table>
An example of the target speed replacement table 37 is shown in FIG. Similar to FIG. 12, this target speed replacement table uses speed sections discretely represented by seven section numbers of “0”, “1”, “2”, “3”, “4”, “5”, and “6”. Is set. “Tm0” represents the current speed (specifically, the current speed converted into a cycle. Hereinafter, simply referred to as “current speed Tm0”), and “Tm1” is set using the target speed table 35. The target speed (specifically, the target speed converted into a cycle. Hereinafter, it is simply referred to as “target speed Tm1” or the like as appropriate). Then, when the section number located at the intersection of the “Tm0” field and the “Tm1” field accelerates or decelerates from the current speed Tm0 to the target speed Tm1, the final target speed Tm1 ′ that is actually used. Represents the division number. At this time, the portion without hatching is a portion where the above-described replacement is not performed and the value set in the target speed table 35 is used as it is (that is, Tm1 ′ = Tm1). On the other hand, the hatched portion is a portion where the above-described replacement is performed on the values set in the target speed table 35 (in other words, Tm1 ′ ≠ Tm1).
図13において、例えば、「0」区分の現在速度Tm0から「0」区分の目標速度Tm1への設定となっている場合には、そのまま「0」区分が最終的な目標速度Tm1′として設定される。同様に「0」区分の現在速度Tm0から「1」区分、「2」区分、「3」区分、「4区分」、の目標速度Tm1への設定となっている場合には、そのまま「1」区分、「2」区分、「3」区分、「4区分」がそれぞれ最終的な目標速度Tm1′として設定される。これに対して、「0」区分の現在速度Tm0から「5」区分の目標速度Tm1への設定となっている場合には、そのままでは12パルス範囲内ではこの指定による大きな加速を行うことはできない(基本モータテール部34のパルス−速度相関を逸脱する値となる)ことから、「5」区分から1つ低速側にシフトした「4」区分が最終的な目標速度Tm1′として設定される。つまり、「5」区分から「4」区分への目標速度の置きかえが行われる。同様に、「0」区分の現在速度Tm0から「6」区分の目標速度Tm1への設定となっている場合も、「4」区分が最終的な目標速度Tm1′として設定され、「6」区分から「4」区分への目標速度の置きかえが行われる。 In FIG. 13, for example, when the current speed Tm0 in the “0” section is set to the target speed Tm1 in the “0” section, the “0” section is set as the final target speed Tm1 ′. The Similarly, when the current speed Tm0 of the “0” section is set to the target speed Tm1 of the “1” section, the “2” section, the “3” section, and the “4 section”, it is “1” as it is. The section, “2” section, “3” section, and “4 section” are set as final target speeds Tm1 ′. On the other hand, when the current speed Tm0 of the “0” section is set to the target speed Tm1 of the “5” section, it is not possible to perform a large acceleration by this designation within the 12 pulse range as it is. (Because the value deviates from the pulse-speed correlation of the basic motor tail section 34), the “4” section shifted from the “5” section by one to the lower speed side is set as the final target speed Tm1 ′. That is, the target speed is replaced from the “5” section to the “4” section. Similarly, when the current speed Tm0 in the “0” section is set to the target speed Tm1 in the “6” section, the “4” section is set as the final target speed Tm1 ′, and the “6” section is set. The target speed is replaced from “4” to “4”.
さらに、「1」区分の現在速度Tm0から「5」区分、「6」区分の目標速度Tm1への設定となっている場合も、「5」区分から「4」区分へ、「6」区分から「4」区分への目標速度の置きかえが行われる。また、「2」区分の現在速度Tm0から「5」区分、「6」区分の目標速度Tm1への設定となっている場合も、「5」区分から「4」区分へ、「6」区分から「4」区分への目標速度の置きかえが行われる。また、「3」区分の現在速度Tm0から「6」区分の目標速度Tm1への設定となっている場合も、「6」区分から「5」区分への目標速度の置きかえが行われる。 Furthermore, even when the current speed Tm0 of the “1” section is set to the “5” section and the target speed Tm1 of the “6” section, the “5” section is changed to the “4” section, and the “6” section is changed. The target speed is replaced with the “4” section. In addition, when the current speed Tm0 of the “2” section is set to the “5” section and the target speed Tm1 of the “6” section, the “5” section is changed to the “4” section, and the “6” section is changed. The target speed is replaced with the “4” section. Further, when the current speed Tm0 in the “3” section is set to the target speed Tm1 in the “6” section, the target speed is replaced from the “6” section to the “5” section.
また、「5」区分の現在速度Tm0から「0」区分、「1」区分、「2」区分への目標速度Tm1への設定となっている場合も、そのままでは12パルス範囲内ではこの指定による大きな減速を行うことはできない(基本モータテール部34のパルス−速度相関を逸脱する値となる)ことから、「0」区分から「3」区分へ、「1」区分から「3」区分へ、「2」区分から「3」区分への、目標速度の置きかえがそれぞれ行われる。同様に、「6」区分の現在速度Tm0から「0」区分、「1」区分、「2」区分、「3」区分への目標速度Tm1への設定となっている場合も、「0」区分から「4」区分へ、「1」区分から「4」区分へ、「2」区分から「4」区分へ、「3」区分から「4」区分への、目標速度の置きかえがそれぞれ行われる。 In addition, even when the current speed Tm0 in the “5” section is set to the target speed Tm1 from the “0” section, the “1” section, and the “2” section, this specification is used within the 12 pulse range as it is. Since a large deceleration cannot be performed (the value deviates from the pulse-speed correlation of the basic motor tail section 34), the "0" section is changed to the "3" section, the "1" section is changed to the "3" section, The target speed is replaced from the “2” section to the “3” section. Similarly, when the current speed Tm0 of the “6” section is set to the target speed Tm1 from the “0” section, the “1” section, the “2” section, and the “3” section, the “0” section The target speed is replaced from "4" to "4", from "1" to "4", from "2" to "4", and from "3" to "4".
本実施形態では、上記のようにして必要に応じ適宜置き換えられた目標速度Tm1′を加減速完了点の最終的な目標速度Tm1′として、対応する特定の加減速テーブル33の選択(図7〜図10参照)を行う。これにより、現在速度と目標速度との差が大きい場合であっても、確実に当該目標速度までの加減速を実行することができる。 In the present embodiment, the target speed Tm1 ′ appropriately replaced as necessary as described above is used as the final target speed Tm1 ′ at the acceleration / deceleration completion point, and the corresponding specific acceleration / deceleration table 33 is selected (FIG. 7 to FIG. 7). (See FIG. 10). As a result, even when the difference between the current speed and the target speed is large, acceleration / deceleration up to the target speed can be reliably executed.
<制御フロー>
図14は、上記の内容を実現するために制御回路210のCPU27が実行する制御手順を示すフローチャートである。図14のフローは、例えば印刷装置1の電源ボタン7が押されることにより開始される。
<Control flow>
FIG. 14 is a flowchart showing a control procedure executed by the
図14において、まず、ステップS10で、CPU27は、SRAM29のプリントバッファ40及び分割数メモリ41の記憶内容を初期化し、また印刷速度を初期値0とする。その後、ステップS15に移る。
In FIG. 14, first, in step S <b> 10, the
ステップS15では、CPU27は、プリントバッファ40に記憶されている印刷データを、現在処理中の起点ブロックからそのN個後のブロックまでの第2パルス数範囲で先読みし、当該第2パルス数範囲における上記第2動作環境情報に基づき、第2パルス数範囲おいてサーマルヘッド23の同時に通電される複数の発熱素子の最大同時オンドット数を決定する。その後、ステップS20に移る。
In step S15, the
ステップS20では、CPU27は、上記ステップS15で決定された最大同時オンドット数に応じて、上記第2パルス数範囲における、サーマルヘッド23の上記最大分割数Mを決定する。その後、ステップS25に移る。
In step S20, the
ステップS25では、CPU27は、上記第1動作環境情報に基づき、サーマルヘッド23の発熱領域への1回の通電時間Thを決定し、その決定された通電時間と上記ステップS20で決定された最大分割数Mとに基づき、印字周期T(=Th×M)を決定する。その後、ステップS30に移る。
In step S25, the
ステップS30では、CPU27は、目標速度テーブル35の複数の設定速度の中から、上記ステップS25で決定された印字周期Tに応じた速度を、前述の手法により目標速度Tm1として選択する。その後、ステップS35に移る。
In step S30, the
ステップS35では、CPU27は、上記ステップS35で選択された目標速度Tm1を、目標速度テーブル35の複数の設定速度に含まれる別の設定速度に置換する必要があるか否か(言い換えれば、図13の斜線ハッチングの部分に該当するか否か)を判定する。現在速度Tm0と目標速度Tm1との差が大きく、目標速度が基本モータテーブル34の遵守範囲外となる場合には、ステップS35の判定が満たされ(ステップS35:YES)、ステップS40に移る。
In step S35, the
ステップS40では、CPU27は、上記ステップS35で選択された目標速度Tm1を、前述のようにして、目標速度テーブル35の複数の設定速度に含まれる別の設定速度に置き換え、新たな目標速度Tm1′とする。その後、ステップS45に移る。
In step S40, the
一方、上記ステップS35において、現在速度Tm0と目標速度Tm1との差が小さく目標速度が基本モータテーブル34の遵守範囲内となる場合にはステップS35の判定が満たされず(ステップS35:YES)、目標速度Tm1をそのまま新たな目標速度Tm1′として、ステップS45に移る。 On the other hand, if the difference between the current speed Tm0 and the target speed Tm1 is small and the target speed is within the observance range of the basic motor table 34 in step S35, the determination in step S35 is not satisfied (step S35: YES), and the target The speed Tm1 is set as a new target speed Tm1 ′ as it is, and the process proceeds to Step S45.
ステップS45では、CPU27は、パルスモータ24の現在速度Tm0が次の速度すなわち目標速度Tm1′と異なるか否か(現在速度≠次の速度であるか否か)を判定する。パルスモータ24の現在速度Tm0が目標速度Tm1′と同一であれば判定が満たされず(ステップS45:NO)、ステップS50に移る。パルスモータ24の現在速度Tm0が目標速度Tm1′と異なれば判定が満たされ(ステップS45:YES)、ステップS55に移る。
In step S45, the
ステップS50では、CPU27は、パルスモータ24に設定する目標速度(言い換えればパルス周期)を現在設定されている目標速度(言い換えればパルス周期)のままとし、パルスモータ24の現在速度を維持させる。その後、ステップS55に移る。
In step S <b> 50, the
ステップS55では、CPU27は、図7〜図10に示す複数(上記の例では49個)の加減速テーブル33の中から、加減速開始点が現在速度Tm0であり、加減速完了点が目標速度が上記のようにして決定した目標速度Tm1′であるような加減速テーブルを選択し、パルス周期を設定する。その後、ステップS60に移る。
In step S55, the
ステップS60では、CPU27は、モータ駆動回路31に制御信号を出力して、モータ駆動回路31に上記ステップS55で決定されたパルス周期に基づいた周期で1パルスを付与し、モータ駆動回路31によりパルスモータ24を1パルス分回転駆動させ、被印字テープ3Aを1ライン分搬送させる。その一方、CPU27は、サーマルヘッド制御回路32に制御信号を出力して、サーマルヘッド制御回路32によりサーマルヘッド23の複数の発熱領域に対し、上記ステップS55で決定されたパルス周期に基づいた周期で、かつ上記ステップS20で決定された分割数に基づいた分割態様で給電させ、被印字テープ3Aにライン印刷データに対応した1ラインの印刷を行わせる。その後、ステップS65に移る。
In step S60, the
ステップS65では、CPU27は、被印字テープ3Aに対し1ブロックのパルス数範囲内に存在する全印刷ライン数、すなわち規定ライン数の印刷が終了したか否かを判定する。本実施形態では、12パルスで1ブロックのパルス数範囲を構成するので、規定ライン数は12ラインである。被印字テープ3Aに対する規定ライン数の印刷が終了した場合は判定が満たされ(ステップS65:YES)、ステップS70に移る。被印字テープ3Aに対する規定ライン数の印刷が終了していない場合は判定が満たされず(ステップS65:NO)、上記ステップS45に戻り、同様の手順を繰り返す。
In step S65, the
ステップS70では、CPU27は、被印字テープ3Aに対しプリントバッファ40に記憶された印刷データに対応した全てのライン数の印刷が終了したか否かを判定する。印刷データに対応した全てのライン数の印刷が終了すれば判定が満たされ(ステップS70:YES)、このフローを終了する。印刷データに対応した全てのライン数の印刷が終了していなければ判定が満たされず(ステップS70:NO)、上記ステップS15に戻り、同様の手順を繰り返す。
In step S70, the
以上のフローにおいて、上記ステップS15の手順が各請求項に記載のオンドット数決定手段として機能し、上記ステップS20の手順が分割数決定手段として機能し、上記ステップS25の手順は各請求項に記載の通電時間決定手段として機能すると共に印字周期決定手段としても機能する。また、上記ステップS30の手順が各請求項記載の目標速度選択手段として機能し、上記ステップS35の手順が目標速度判定手段として機能し、上記ステップS40の手順が目標速度置換手段として機能し、上記ステップS55の手順がテーブル選択手段として機能する。 In the above flow, the procedure of step S15 functions as the on-dot number determining means described in each claim, the procedure of step S20 functions as the division number determining means, and the procedure of step S25 is described in each claim. In addition to functioning as the energization time determination unit described, it also functions as a printing cycle determination unit. Further, the procedure of step S30 functions as a target speed selection means described in each claim, the procedure of step S35 functions as a target speed determination means, the procedure of step S40 functions as a target speed replacement means, The procedure of step S55 functions as a table selection unit.
以上説明したように、本実施形態の印刷装置1によれば、パルスモータ24の停止状態から最高速度状態までの間に対応した所定のパルス数範囲を1単位とするのではなく、その1/N(N:2以上の整数)を1ブロックとして、当該ブロック単位でパルスモータ24の速度制御を行う。これにより、現在速度と目標速度との差が大きい場合であっても、確実に当該目標速度までの加減速を実行することができる。特にこのとき、上記のように、予め複数用意された設定速度の中から必要に応じて目標速度を別の値に置き換える手法とすることにより、算出する目標速度の値自体を(例えば前回のドットラインのモータ周期や予め記憶されたモータ基本周期等を用いて)所定の制約にしたがって補正する場合のように、加減速条件によっては円滑な動作ができなくなるという可能性がなくなる。すなわち、目標速度までの加減速を確実に円滑に実行することができる。また、パルスモータ24の大型化や重量増大を招くことなく、また特殊な電源を用いなくても、高速印刷(高速搬送)に対応することができる。
As described above, according to the
また、本実施形態では特に、図14のステップS35において、目標速度テーブル35により選択された目標速度Tm1が基本モータテーブル34の遵守範囲内であると判定された場合には、当該選択された値をそのまま最終的な目標速度Tm1′として加減速テーブルを選択する。これにより、現在速度と目標速度との差がそれほど大きくなく1ブロック(12パルス範囲)内で当該目標速度までの加減速を実現できる場合には、目標速度の置換を行わずに確実に迅速な処理を行うことができる。 In this embodiment, in particular, when it is determined in step S35 of FIG. 14 that the target speed Tm1 selected by the target speed table 35 is within the observance range of the basic motor table 34, the selected value The acceleration / deceleration table is selected as is as the final target speed Tm1 ′. As a result, when the difference between the current speed and the target speed is not so large and acceleration / deceleration up to the target speed can be realized within one block (12 pulse range), the target speed is not replaced quickly and reliably. Processing can be performed.
なお、上記図4中に示す矢印は信号の流れの一例を示すものであり、信号の流れ方向を限定するものではない。 In addition, the arrow shown in the said FIG. 4 shows an example of the flow of a signal, and does not limit the flow direction of a signal.
なお、上記図14に示すフローチャートは本発明を上記フローに示す手順に限定するものではなく、発明の趣旨及び技術的思想を逸脱しない範囲内で手順の追加・削除又は順番の変更等をしてもよい。 Note that the flowchart shown in FIG. 14 is not intended to limit the present invention to the procedure shown in the above flow, but to add or delete procedures or change the order within the scope not departing from the spirit and technical idea of the invention. Also good.
また、以上既に述べた以外にも、上記実施形態による手法を適宜組み合わせて利用しても良い。 In addition to those already described above, the methods according to the above embodiments may be used in appropriate combination.
その他、一々例示はしないが、本発明は、その趣旨を逸脱しない範囲内において、種々の変更が加えられて実施されるものである。 In addition, although not illustrated one by one, the present invention is implemented with various modifications within a range not departing from the gist thereof.
1 印刷装置
3A 被印字テープ(被印字媒体)
22 プラテンローラ(搬送手段)
23 サーマルヘッド
28 ROM(第1記憶手段、第2記憶手段)
31 モータ駆動回路(搬送制御手段)
32 サーマルヘッド制御回路(印字制御手段)
33 加減速テーブル
34 基本モータテーブル
35 目標速度テーブル
37 CPU
210 制御回路
Tm0 現在速度
Tm1 目標速度
Tm1′ 最終的な目標速度
1
22 Platen roller (conveying means)
23
31 Motor drive circuit (transport control means)
32 Thermal head control circuit (printing control means)
33 Acceleration / deceleration table 34 Basic motor table 35 Target speed table 37 CPU
210 Control circuit Tm0 Current speed Tm1 Target speed Tm1 'Final target speed
Claims (2)
前記パルスモータの駆動力を用いて被印字媒体を搬送するための搬送手段と、
前記被印字媒体を前記搬送方向に印字解像度に区分してなる各印字ライン上にドットをそれぞれ形成する複数の発熱素子を備えるとともに、前記搬送方向と直交する方向に沿った複数の発熱領域ごとに可変に分割して給電可能なサーマルヘッドと、
前記パルスモータの回転速度を制御する搬送制御手段と、
前記搬送手段による搬送の開始後、印字を行うための印字データを1つの前記印字ライン単位に分割したライン印字データごとに通電態様を切り替えつつ、前記印字データに対応した通電制御を行う印字制御手段と、
を有する、印刷装置であって、
前記印刷装置の動作環境に係わる第1動作環境情報に基づき、前記発熱領域への1回の通電時間を決定する通電時間決定手段と、
Nを2以上の整数としたとき、前記パルスモータの停止状態から最高速度状態までの間に対応した所定の第1ライン数範囲の1/Nである1ブロックを単位として、前記1ブロックにおける前記パルスモータの加減速開始点から加減速完了点までの加減速挙動をそれぞれ定めた複数種類の加減速テーブルを記憶した、第1記憶手段と、
予め離散して段階的に定められた前記パルスモータの複数の設定速度を記憶した、第2記憶手段と、
処理起点となる起点ブロックから前記起点ブロックのN個後の順番のブロックまでの、処理対象となる第2ライン数範囲に関する第2動作環境情報に基づき、前記第2ライン数範囲における、同時に通電される前記複数の発熱素子の最大値である最大同時オンドット数を決定するオンドット数決定手段と、
前記オンドット数決定手段により決定された前記最大同時オンドット数に基づき、前記第2ライン数範囲における、分割されて給電される前記発熱領域の数の最大値である最大分割数を決定する分割数決定手段と、
前記通電時間決定手段により決定された前記通電時間と、前記分割数決定手段により決定された前記最大分割数とに基づき、前記ライン印字データごとの通電タイミングの間隔である印字周期を決定する印字周期決定手段と、
前記第2記憶手段に記憶された前記複数の設定速度の中から、前記印字周期決定手段により決定された前記印字周期に応じた速度を、目標速度として選択する目標速度選択手段と、
前記目標速度選択手段により選択された前記目標速度が前記加減速テーブルの適用範囲内となるか適用範囲外となるかを判定する、目標速度判定手段と、
前記目標速度判定手段により、前記目標速度選択手段が選択した前記目標速度が、前記第1記憶手段に記憶された前記1ブロック単位の加減速テーブルの適用範囲外であると判定された場合には、適用範囲内となるように、前記選択された目標速度を、前記第2記憶手段に記憶された前記複数の設定速度に含まれる別の速度に置き換える、目標速度置換手段と、
前記目標速度判定手段により前記目標速度が前記適用範囲外であると判定された場合には、現在の速度と、前記目標速度置換手段により前記別の速度に置き換えられた新たな目標速度とに基づき、前記第1記憶手段に記憶された前記複数種類の加減速テーブルから、対応する特定の加減速テーブルを選択するとともに、前記目標速度判定手段により前記目標速度が前記適用範囲内であると判定された場合には、前記目標速度選択手段により選択された前記目標速度に基づく加減速テーブルを選択する、テーブル選択手段と、
を有し、
前記搬送制御手段は、
前記テーブル選択手段により選択された前記特定の加減速テーブルを用いて前記パルスモータの回転速度を制御し、
前記印字制御手段は、
前記印字周期決定手段により決定された前記印字周期に基づき、前記通電制御を行う
ことを特徴とする印刷装置。 A pulse motor,
Transport means for transporting the print medium using the driving force of the pulse motor;
A plurality of heat generating elements for forming dots on each print line obtained by dividing the print medium in the transport direction into print resolutions, and for each of a plurality of heat generation regions along a direction orthogonal to the transport direction A thermal head that can be divided and supplied with power, and
A transport control means for controlling the rotational speed of the pulse motor;
Print control means for performing energization control corresponding to the print data while switching the energization mode for each line print data obtained by dividing the print data for printing into one print line unit after the start of conveyance by the conveyance means When,
A printing device comprising:
Energization time determining means for determining one energization time to the heat generation area based on first operation environment information related to an operation environment of the printing apparatus;
When N is an integer greater than or equal to 2, the unit in one block is 1 block that is 1 / N of a predetermined first line number range corresponding to the period from the stop state of the pulse motor to the maximum speed state. A first storage means for storing a plurality of types of acceleration / deceleration tables each defining acceleration / deceleration behavior from the acceleration / deceleration start point of the pulse motor to the acceleration / deceleration completion point;
A second storage means for storing a plurality of set speeds of the pulse motor determined in a discrete and stepwise manner;
Based on the second operating environment information related to the second line number range to be processed from the starting block serving as the processing start point to the N-th sequential block after the starting block, power is supplied simultaneously in the second line number range. On-dot number determination means for determining the maximum number of simultaneous on-dots that is the maximum value of the plurality of heating elements,
A division for determining a maximum division number that is a maximum value of the number of the heat generation areas to be divided and fed in the second line number range based on the maximum simultaneous on-dot number determined by the on-dot number determination means. Number determining means;
A printing cycle for determining a printing cycle, which is an interval of energization timing for each line print data, based on the energization time determined by the energization time determination unit and the maximum division number determined by the division number determination unit. A determination means;
Target speed selecting means for selecting, as a target speed, a speed corresponding to the printing cycle determined by the printing cycle determining means from the plurality of set speeds stored in the second storage means;
Target speed determination means for determining whether the target speed selected by the target speed selection means falls within or outside the application range of the acceleration / deceleration table;
By the target speed determining means, the target speed the target speed selection means has selected, if it is determined that outside the scope of the stored acceleration table of the block by block in the first storage means Target speed replacement means for replacing the selected target speed with another speed included in the plurality of set speeds stored in the second storage means so as to be within the applicable range;
When the target speed determining means determines that the target speed is out of the applicable range, based on the current speed and the new target speed replaced with the other speed by the target speed replacing means. A corresponding specific acceleration / deceleration table is selected from the plurality of types of acceleration / deceleration tables stored in the first storage means, and the target speed determination means determines that the target speed is within the applicable range. A table selection means for selecting an acceleration / deceleration table based on the target speed selected by the target speed selection means;
Have
The transport control means includes
Controlling the rotational speed of the pulse motor using the specific acceleration / deceleration table selected by the table selection means;
The print control means includes
A printing apparatus that performs the energization control based on the printing cycle determined by the printing cycle determination means.
前記搬送手段が、前記被印字媒体としての、被着体に貼り付けるための粘着剤層と被印字層とを備えた被印字テープを搬送するとともに、
前記サーマルヘッドが、前記搬送手段により搬送される前記被印字テープに含まれる前記被印字層に印字形成することにより、印字ラベルを作成する印字ラベル作成装置である
ことを特徴とする印刷装置。
The printing apparatus according to claim 1 .
The transport means transports a print-receiving tape provided with an adhesive layer and a print-receiving layer to be attached to an adherend as the print-receiving medium,
The printing apparatus according to claim 1, wherein the thermal head is a print label producing device for producing a print label by forming a print on the print layer included in the print-receiving tape conveyed by the conveying means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011162615A JP5822065B2 (en) | 2011-07-25 | 2011-07-25 | Printing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011162615A JP5822065B2 (en) | 2011-07-25 | 2011-07-25 | Printing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013022925A JP2013022925A (en) | 2013-02-04 |
JP5822065B2 true JP5822065B2 (en) | 2015-11-24 |
Family
ID=47781795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011162615A Active JP5822065B2 (en) | 2011-07-25 | 2011-07-25 | Printing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5822065B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6237430B2 (en) | 2014-03-31 | 2017-11-29 | ブラザー工業株式会社 | Printing device |
JP6863761B2 (en) * | 2017-02-06 | 2021-04-21 | 東芝テック株式会社 | Heat generation control device |
JP6859122B2 (en) | 2017-02-08 | 2021-04-14 | 東芝テック株式会社 | Transport speed control device |
JP6760167B2 (en) | 2017-03-24 | 2020-09-23 | カシオ計算機株式会社 | Printing equipment, printing system, printing control method, and program |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08258313A (en) * | 1995-03-23 | 1996-10-08 | Max Co Ltd | Thermal printer |
JPH11240186A (en) * | 1998-02-24 | 1999-09-07 | Toshiba Tec Corp | Line printer |
JP2003080750A (en) * | 2001-09-12 | 2003-03-19 | Alps Electric Co Ltd | Stepping motor drive controlling method for line printer |
JP4572558B2 (en) * | 2004-03-30 | 2010-11-04 | ブラザー工業株式会社 | Printing device |
JP2007098828A (en) * | 2005-10-06 | 2007-04-19 | Seiko Epson Corp | Thermal printer, method for controlling energizing electricity and program |
JP2009090547A (en) * | 2007-10-09 | 2009-04-30 | Seiko Instruments Inc | Thermal printer and printing speed reducing control method thereof |
JP2011126140A (en) * | 2009-12-17 | 2011-06-30 | Toshiba Tec Corp | Thermal printer and program |
-
2011
- 2011-07-25 JP JP2011162615A patent/JP5822065B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2013022925A (en) | 2013-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2497644B1 (en) | Thermal printer and method for controlling current passage therein | |
JP5822065B2 (en) | Printing device | |
JP2007008509A (en) | Mountless label printer, and method of cutting mountless label sheet | |
US7431521B2 (en) | Printing method, printing apparatus, and computer-readable storage medium for shortening stoppage period of both motors | |
JP5929901B2 (en) | Thermal head printing speed control method | |
JP5790467B2 (en) | Printing device | |
JP2018122504A (en) | Printer, printing method and printing program | |
EP3075550B1 (en) | Thermal printer | |
JP5429031B2 (en) | Printing device | |
JP2012016874A (en) | Printer and program | |
US9764569B2 (en) | Printer, and method and computer-readable medium for the same | |
US9718290B2 (en) | Printer, and method and computer-readable medium for the same | |
JP5888485B2 (en) | Printing device | |
JP6237430B2 (en) | Printing device | |
JP2005342941A (en) | Heat-activation method and handling method of heat-sensitive adhesive sheet, heat-activation device of heat-sensitive adhesive sheet and printer for heat-sensitive adhesive sheet | |
US11772389B2 (en) | Printer device | |
JP2016150464A (en) | Thermal printer | |
JP2011088370A (en) | Thermal printer and energization control method thereof | |
JP5946346B2 (en) | Label conveying device, label printer, sensor adjustment method | |
US9707780B1 (en) | Printing device capable of switching printing method | |
JP5560842B2 (en) | Sublimation printer | |
JP7197430B2 (en) | printer | |
JPH11138872A (en) | Thermal printer | |
JP4054911B2 (en) | Print control device | |
JP2022006631A (en) | Thermal printer and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140320 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150224 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150303 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150427 |
|
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: 20150909 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150922 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5822065 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |