JP2008062600A - Control method of printer, and control program of printer - Google Patents
Control method of printer, and control program of printer Download PDFInfo
- Publication number
- JP2008062600A JP2008062600A JP2006245480A JP2006245480A JP2008062600A JP 2008062600 A JP2008062600 A JP 2008062600A JP 2006245480 A JP2006245480 A JP 2006245480A JP 2006245480 A JP2006245480 A JP 2006245480A JP 2008062600 A JP2008062600 A JP 2008062600A
- Authority
- JP
- Japan
- Prior art keywords
- drive
- limit threshold
- speed
- measurement
- printer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Handling Of Sheets (AREA)
Abstract
Description
本発明は、紙送りモータなどの駆動対象を有するプリンタの制御方法等に関し、特に、プリンタの多機能化に伴い複数モードでの駆動が要求される駆動対象を、エラーなく確実に制御することのできるプリンタの制御方法等に関する。 The present invention relates to a method for controlling a printer having a driving target such as a paper feed motor, and more particularly to reliably control a driving target that is required to be driven in a plurality of modes without any error as the printer is multi-functional. The present invention relates to a printer control method that can be used.
通常、インクジェットプリンタなどの印刷装置においては、用紙などの印刷媒体を供給する部分、供給した印刷媒体を搬送して装置から搬出する部分などでモータが用いられ、これらのモータは印刷処理に合わせて正しく駆動されるように制御されている。 Usually, in a printing apparatus such as an ink jet printer, motors are used in a part for supplying a printing medium such as paper, a part for transporting the supplied printing medium and carrying it out of the apparatus, and these motors are adapted to the printing process. It is controlled to drive correctly.
かかるモータの制御については、その制御を高精度で行うべくメジャメントというものが行われる。例えば、制御対象のモータが紙送り用のものである場合に、実際の駆動制御前に、メジャメントによって、定速駆動動作時のモータ駆動負荷に応じたモータ電流が測定されその平均値が求められる。そして、その平均値(メジャメント値)が実際の駆動制御に用いられる。特に、モータ駆動の開始直後におけるオープンループ制御においてこの値は有効である。 As for the control of such a motor, measurement is performed in order to perform the control with high accuracy. For example, when the motor to be controlled is for paper feeding, before actual drive control, the motor current corresponding to the motor drive load during the constant speed drive operation is measured and the average value is obtained by measurement. . The average value (measurement value) is used for actual drive control. In particular, this value is effective in open loop control immediately after the start of motor driving.
下記特許文献1では、かかるプリンタの紙送り機構におけるメジャメントについて開示され、プリンタ本体に対するオプション機器の着脱の検出に応じてメジャメントの実行又は不実行を選択することなどが記載されている。
近年、印刷媒体の多様化などプリンタの多機能化が進んでいるが、この傾向は今後も続くことが予想され、それに伴い、プリンタに備えられる各モータについては複数のモードでの駆動が要求されるようになる。従って、各モータにかかる負荷も様々に変化する環境となるため、前述したメジャメントの実行を含み、モータの駆動制御を従来よりもきめ細かく行なうことが望まれる。 In recent years, printers have become more and more multifunctional, such as diversification of print media. This trend is expected to continue in the future, and accordingly, each motor provided in the printer is required to be driven in multiple modes. Become so. Therefore, since the load applied to each motor also changes in various ways, it is desired that the drive control of the motor be performed more finely than before, including the execution of the measurement described above.
そこで、本発明の目的は、紙送りモータなどの駆動対象を有するプリンタの制御方法であって、プリンタの多機能化に伴い複数モードでの駆動が要求される駆動対象を、エラーなく確実に制御することのできるプリンタの制御方法、等を提供することである。 Accordingly, an object of the present invention is a method for controlling a printer having a driving target such as a paper feed motor, and reliably controls a driving target that is required to be driven in a plurality of modes as the printer becomes multi-functional. It is an object of the present invention to provide a printer control method that can be used.
上記の目的を達成するために、本発明の一つの側面は、印刷媒体又は所定の部位を移動させるために駆動される被駆動部と、駆動速度が指定された駆動指令を受けて前記被駆動部の駆動制御を行なう駆動制御手段と、メモリとを有するプリンタの制御方法において、前記駆動制御手段が、前記駆動指令を受ける度に、駆動負荷に応じた電流値を測定するメジャメントを実行するメジャメント工程と、前記駆動制御手段が、前記メジャメントの結果得られるメジャメント値に基づいて、前記被駆動部に与えられる許容最大電流値である制限閾値を求める制限閾値設定工程と、前記駆動制御手段が、前記メジャメント値と前記求められた制限閾値に基づいて前記被駆動部の駆動制御を行なう制御工程とを有し、前記制限閾値設定工程において前記制限閾値を求める際に、前記駆動制御手段は、前記駆動指令で指定された駆動速度が正常な速度である場合には、前記メモリに格納されたパラメータ値を用いて前記制限閾値を求め、前記駆動指令で指定された駆動速度が異常な速度である場合には、前記駆動制御手段自身に設定されたパラメータ値を用いて前記制限閾値を求めることである。 In order to achieve the above object, according to one aspect of the present invention, there is provided a driven unit that is driven to move a print medium or a predetermined part, and the driven unit that receives a driving command having a specified driving speed. In a method for controlling a printer having a drive control means for controlling the drive of a unit and a memory, the measurement for executing a measurement for measuring a current value corresponding to a drive load each time the drive control means receives the drive command A limit threshold value setting step for obtaining a limit threshold value that is an allowable maximum current value given to the driven part based on a measurement value obtained as a result of the measurement, and the drive control means, A control step of performing drive control of the driven part based on the measurement value and the obtained limit threshold, and in the limit threshold setting step, When determining the limit threshold, the drive control means determines the limit threshold using the parameter value stored in the memory if the drive speed specified by the drive command is a normal speed, and When the drive speed specified by the drive command is an abnormal speed, the limit threshold value is obtained using a parameter value set in the drive control means itself.
更に、上記の発明において、好ましい態様は、前記駆動指令で指定された駆動速度が異常な速度である場合に求められる前記制限閾値は、実際には取り得ない値であることを特徴とする。 Furthermore, in the above invention, a preferred aspect is characterized in that the limit threshold value obtained when the drive speed specified by the drive command is an abnormal speed is a value that cannot be actually obtained.
上記の目的を達成するために、本発明の別の側面は、印刷媒体又は所定の部位を移動させるために駆動される被駆動部と、駆動速度が指定された駆動指令を受けて前記被駆動部の駆動制御を行なう駆動制御手段と、メモリとを有するプリンタの制御方法において、前記駆動制御手段が、前記駆動指令を受ける度に、駆動負荷に応じた電流値を測定するメジャメントを実行するメジャメント工程と、前記駆動制御手段が、前記メジャメントの結果得られるメジャメント値に基づいて、前記被駆動部に与えられる許容最大電流値である制限閾値を求める制限閾値設定工程と、前記駆動制御手段が、前記メジャメント値と前記求められた制限閾値に基づいて前記被駆動部の駆動制御を行なう制御工程とを有し、前記制限閾値設定工程において前記制限閾値を求める際に用いられるパラメータ値として、前記駆動指令で指定された駆動速度が正常な速度である場合のものと前記駆動指令で指定された駆動速度が異常な速度である場合のものが用意されることである。 In order to achieve the above object, another aspect of the present invention provides a driven unit that is driven to move a print medium or a predetermined part, and the driven unit that receives a driving command having a specified driving speed. In a method for controlling a printer having a drive control means for controlling the drive of a unit and a memory, the measurement for executing a measurement for measuring a current value corresponding to a drive load each time the drive control means receives the drive command A limit threshold value setting step for obtaining a limit threshold value that is an allowable maximum current value given to the driven part based on a measurement value obtained as a result of the measurement, and the drive control means, A control step of performing drive control of the driven part based on the measurement value and the determined limit threshold, and the control in the limit threshold setting step As parameter values used for obtaining the threshold value, there are prepared a parameter value when the drive speed specified by the drive command is a normal speed and a parameter value when the drive speed specified by the drive command is an abnormal speed. It is to be done.
上記の目的を達成するために、本発明の更に別の側面は、印刷媒体又は所定の部位を移動させるために駆動される被駆動部と、駆動速度が指定された駆動指令を受けて前記被駆動部の駆動制御を行なう駆動制御部と、メモリとを有するプリンタの制御プログラムが、前記駆動制御部に、前記駆動指令を受ける度に、駆動負荷に応じた電流値を測定するメジャメントを実行するメジャメント工程と、前記メジャメントの結果得られるメジャメント値に基づいて、前記被駆動部に与えられる許容最大電流値である制限閾値を求める制限閾値設定工程と、前記メジャメント値と前記求められた制限閾値に基づいて前記被駆動部の駆動制御を行なう制御工程と、を実行させ、前記制限閾値設定工程において前記制限閾値を求める際に、前記駆動指令で指定された駆動速度が正常な速度である場合には、前記メモリに格納されたパラメータ値を用いて前記制限閾値が求められ、前記駆動指令で指定された駆動速度が異常な速度である場合には、前記制御プログラム自身に設定されたパラメータ値を用いて前記制限閾値が求められることである。 In order to achieve the above object, still another aspect of the present invention provides a driven unit that is driven to move a print medium or a predetermined part, and a driven command that specifies a driving speed. A printer control program having a drive control unit that performs drive control of the drive unit and a memory executes a measurement for measuring a current value corresponding to a drive load each time the drive control unit receives the drive command. Based on a measurement step, a measurement value obtained as a result of the measurement, a restriction threshold value setting step for obtaining a restriction threshold value that is an allowable maximum current value given to the driven part, and the measurement value and the obtained restriction threshold value. A control step of performing drive control of the driven portion based on the control command, and when obtaining the limit threshold in the limit threshold setting step, When the determined drive speed is a normal speed, the limit threshold value is obtained using the parameter value stored in the memory, and the drive speed specified by the drive command is an abnormal speed. Means that the limit threshold value is obtained using a parameter value set in the control program itself.
本発明の更なる目的及び、特徴は、以下に説明する発明の実施の形態から明らかになる。 Further objects and features of the present invention will become apparent from the embodiments of the invention described below.
以下、図面を参照して本発明の実施の形態例を説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。なお、図において、同一又は類似のものには同一の参照番号又は参照記号を付して説明する。 Embodiments of the present invention will be described below with reference to the drawings. However, such an embodiment does not limit the technical scope of the present invention. In the drawings, the same or similar elements are denoted by the same reference numerals or reference symbols.
図1は、本発明を適用したプリンタの実施の形態例に係る構成図である。図1に示すプリンタ2にはPFモータ46などのモータが備えられ、本プリンタ2におけるこれらモータの制御は、駆動指令の度に、メジャメントとその結果(メジャメント値i)に基づく制限閾値(max i)の構築を実行し、当該制限閾値の構築に用いられるパラメータ値が正常な駆動速度に対してだけでなく、異常な駆動速度に対しても用意されて、エラーなく確実な制御を行なおうとするものである。さらに、異常な駆動速度に対して用意される前記パラメータ値は、制限閾値を実際には取り得ない値とするような値に設定される、ことを特徴とする。
FIG. 1 is a configuration diagram according to an embodiment of a printer to which the present invention is applied. The
図1に示すホストコンピュータ1は、プリンタ2に対して印刷指示を行なうホスト装置であり、例えば、パーソナルコンピュータで構成される。ホストコンピュータ1内のアプリケーションなどから印刷要求がなされた際には、コマンドと画像データからなる印刷データを生成してプリンタ2に送信する。
A host computer 1 shown in FIG. 1 is a host device that gives a print instruction to the
プリンタ2は、一例として、インクジェットプリンタであり、ホストコンピュータ1と接続されて、上記印刷要求時には、上記印刷データを受信し、当該データに従った印刷処理を実行する。
For example, the
プリンタ2には、図1に示すように、コントローラ3と機構部4が備えられる。コントローラ3には、I/F31、CPU32、ROM33、及びRAM34等が備えられる。I/F31は、前記ホストコンピュータ1から送信される印刷データの受信等を司る部分であり、ROM33には、各種制御プログラムや各種データが記憶され、また、RAM34には、前記受信した印刷データ等が収められる。また、ROM33には、プリンタ2が備える各モータについての最大電流値(制限閾値)を求めるためのパラメータ値Pが収められている。当該パラメータ値Pの内容については後述する。また、RAM34には、後述するメジャメントの結果得られるメジャメント値iと上記制限閾値(max i)が収められる。
As shown in FIG. 1, the
CPU32は、ROM33に格納される各プログラムに従い各種制御を実行する部分であり、印刷実行時には、前記受信した印刷データを解釈し、当該データに含まれるコマンドに基づく各種指示を出して機後部4の動作を制御する。本プリンタ2では、本CPU32によって行われるモータ駆動制御に特徴があり、その具体的な内容については後述する。
The
次に、機後部4は、図1に示すように、ASFローラ42、ASFモータ43、印刷機構44、PFローラ45、PFモータ46等が備えられる。ASF(オートシートフィーダ)ローラ42は、給紙トレイ41の用紙5を印刷機構44付近の所定位置まで案内するためのものであり、ASFモータ43は、当該ASFローラ42を回転するために駆動される、給紙処理のためのモータである。
Next, as shown in FIG. 1, the rear unit 4 includes an ASF roller 42, an
また、PF(ペーパフィード)ローラ45は、給紙された用紙5を排紙方向に搬送するためのものであり、PFモータ46は、当該PFローラ45の回転のために起動されるモータである。このPFローラ45による搬送過程で印刷機構44による印刷処理が実行され、印刷処理後は用紙5が排紙トレイ47に排紙される。
The PF (paper feed) roller 45 is for conveying the fed paper 5 in the paper discharge direction, and the
印刷機構44には、プリンタ2がインクジェットプリンタであるので、インク吐出を行う複数のノズルを備えたヘッドがあり、キャリッジに搭載されて用紙5上を主走査方向に移動しながらインクの吐出により印刷を行う。キャリッジは、図示していないモータによって移動動作を行なう。
Since the
本実施の形態例に係るプリンタ2は、以上説明したような構成を有するが、その中で、ASFモータ43、PFモータ46などのモータが、本プリンタ2の特徴である駆動制御の対象となる。
The
図2は、本プリンタ2の特徴であるモータ制御に係る部分の機能的な構成を示す図である。図2に示すシーケンス制御タスク35は、プリンタ2の印刷処理などに伴いモータの駆動指令を出す部分であり、モータ制御タスク36は、当該駆動指令に従ってモータを制御する部分である。例えば、モータ制御タスク36は、PFモータ46をフィードバック制御する。
FIG. 2 is a diagram illustrating a functional configuration of a portion related to motor control, which is a feature of the
なお、シーケンス制御タスク35が出す駆動指令では、駆動モードと駆動速度が指定される。また、シーケンス制御タスク35とモータ制御タスク36は、CPU32とROM33に収められるプログラム等により構成することができる。また、モータ制御タスク36には、モータに印加する電流の制限閾値(max i)を構築する際に用いられるパラメータ値であって、前記シーケンス制御タスク35から指定される駆動速度が異常な値(異常速度)である場合のパラメータ値Qが保持されている。例えば、モータ制御タスク36を構成するプログラムの中に組み込まれている。
In the drive command issued by the
また、モータ制御タスク36は、モータ制御時にROM33、RAM34にアクセスし、必要な情報の取得及び格納を行う。RAM34には、前述の通り、メジャメントの実行により得られるメジャメント値iと制限閾値(max i)が収められて、モータ制御に用いられる。また、ROM33には、上記制限閾値を構築する際に用いられるパラメータ値であって、前記シーケンス制御タスク35から指定される駆動速度が正常な値(正常速度)である場合のパラメータ値Pが収められている。
The
図3は、ROM33が格納するパラメータ値Pを例示した図である。図3にはPFモータ46用のパラメータ値Pが示されており、図に示すように、パラメータ値Pは、各駆動モードの駆動速度毎に定められる。例えば、「紙送りモード」の「高速」での駆動指令が出た際に用いられるパラメータ値Pとして「p1」が設定され、「CDR(Compact Disc Recordable)搬送モード」の「中速」での駆動指令が出た際に用いられるパラメータ値Pとして「p4」が設定されている。なお、ここに示す例では、プリンタ2において、「CDR搬送モード」での「高速」駆動はサポートされておらず、従って、「CDR搬送モード」で「高速」の駆動速度は正常な速度ではなく、よって、ここには対応するパラメータ値Pが設定されていない。また、設置されているパラメータ値Pは、各駆動モードにおいて、駆動速度が高くなるほど大きい値となっている。
FIG. 3 is a diagram illustrating parameter values P stored in the
以上説明したような構成を有する本実施の形態例に係るプリンタ2では、モータ制御時の処理に特徴を有し、以下、PFモータ46でCDRを搬送する場合を例として、モータ制御時の処理について説明する。
The
図4は、モータ制御タスク36が行うモータ制御時の処理を例示したフローチャートである。まず、モータ制御タスク36は、前述したシーケンス制御タスク35からの駆動指令を受信する(ステップS1)。前述の通り、当該指令では、駆動モードと駆動速度が指定される。この例では、CDRを印刷媒体として搬送する場合なので、駆動モードとしては「CDR搬送モード」が指定される。
FIG. 4 is a flowchart illustrating an example of a motor control process performed by the
当該指令を受けると、モータ制御タスク36は、まず、メジャメントを実施する(ステップS2)。当該メジャメントでは、所定の定速度でPFモータ46を駆動させ、その定速度駆動時におけるモータ電流を測定し、その積算値から平均値を算出してメジャメント値iを求める。求めたメジャメント値iはRAM34に格納される。
Upon receiving the command, the
次に、モータ制御タスク36は、前記制限閾値(max i)を構築する処理に入り、まず、前記指令で指定された駆動速度が正常なものか否かを判断する(ステップS3)。言い換えれば、シーケンス制御タスク35から、サポートしていない駆動速度での駆動指示が来たか否かをチェックする。かかる判断は、当該モータ制御タスク36を構成する制御プログラムに設定された、各駆動モードにおける駆動速度の上下限値により行う。
Next, the
その判断の結果、駆動速度が正常なものである場合には(ステップS3のYes)、モータ制御タスク36は、駆動指令に対応する、前述した正常速度用のパラメータ値Pを、ROM33にアクセスして取得する(ステップS4)。図3に示した例では、例えば、指定された駆動速度が「中速」に入るものであれば、駆動モードとして「CDR搬送モード」が指定されているので、これらに対応するパラメータ値Pとして「p4」が取得されることになる。
As a result of the determination, if the drive speed is normal (Yes in step S3), the
一方、判断の結果、駆動速度が正常なものでない場合には(ステップS3のNo)、モータ制御タスク36は、前述した自らが保持する異常速度用のパラメータ値Qを取得する(ステップS5)。このパラメータ値Qは、前記制限閾値を実際には取り得ない値(例えば、極めて大きい値)とするような値に設定されている。また、パラメータ値Qは、指定された駆動速度が異常である場合に共通に用いることのできる一つの定数とすることができる。
On the other hand, if the result of determination is that the drive speed is not normal (No in step S3), the
このように、駆動速度が正常、異常いずれの場合においてもパラメータ値を取得すると、モータ制御タスク36は、前記求めて保持したメジャメント値iと当該取得したパラメータ値を掛け合わせてその積を制限閾値(max i)とし、その値をRAM34に保持する(ステップS6)。
As described above, when the parameter value is acquired regardless of whether the driving speed is normal or abnormal, the
このようにして制限閾値が構築されると、モータ制御タスク36は、受信した駆動指令によるPFモータ46の駆動を実行すべく、今回の駆動指令に対して求めて保持したメジャメント値iと制限閾値(max i)を用いて、PFモータ46の制御を行なう(ステップS7)。メジャメント値iは、指令を受けた駆動モード及び駆動速度での駆動負荷を表すものであり、この値を基準にしてPFモータ46の制御が行われる。また、制限閾値(max i)は、PFモータ46に印加される許容電流値の最大値を表しており、モータ電流値がこの値を超えた場合には、モータ制御タスク36は、エラーが発生したと判断し、エラー発生をシーケンス制御タスク35に通知すると共にPFモータ46の駆動を停止する。前述の通り、指定された駆動速度が異常であり、パラメータ値Qが取得された場合には、制限閾値は実際には取り得ない値となっており、従って、この場合にはエラーとなって止まることはない。
When the limit threshold is established in this way, the
かかるモータ制御が実行され、指令された駆動が達成されると、モータ制御タスク36はPEモータ46を停止し、今回の駆動指令に対する処理を終了する。
When such motor control is executed and the commanded drive is achieved, the
以上説明したように、本実施の形態例に係るプリンタ2では、何らかの理由により本プリンタ2でサポートされていない駆動速度でのモータ駆動指令が発せられた場合にも、このような異常速度用に前記パラメータ値Qが用意され、モータ電流の制限閾値(max i)演算を、エラーを起すことなく実行でき、エラー発生の少ない確実なモータ制御を実現することができる。
As described above, in the
また、その際に演算される制限閾値は実際には取り得ない値となるので、当該制限閾値による制限はかからず、制限閾値によるエラー発生も少なく抑えることができる。 In addition, since the limit threshold value calculated at that time is a value that cannot be actually obtained, the limit threshold value is not limited, and the occurrence of an error due to the limit threshold value can be reduced.
また、本プリンタ2におけるモータ制御では、モータ駆動指令の度にメジャメントを実施するので、精度の高い制御を行なうことが可能である。
Further, in the motor control in the
さらに、前記制限閾値を求めるためのパラメータ値Pが各駆動モードの駆動速度毎に設定されており、複数のモードに対応したきめ細かい制御が可能である。 Further, a parameter value P for obtaining the limit threshold is set for each driving speed in each driving mode, and fine control corresponding to a plurality of modes is possible.
なお、上述の説明では、制御対象をPFモータ46としたが、他の被駆動部に対しても本発明を適用することができる。
In the above description, the controlled object is the
本発明の保護範囲は、上記の実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶものである。 The protection scope of the present invention is not limited to the above-described embodiment, but covers the invention described in the claims and equivalents thereof.
1 ホストコンピュータ、 2 プリンタ、 3 コントローラ、 4 機構部、 5用紙、 31 I/F、 32 CPU(駆動制御部)、 33 ROM、 34 RAM、 35 シーケンス制御タスク、 36 モータ制御タスク(駆動制御手段)、 41 給紙トレイ、 42 ASFローラ、 43 ASFモータ、 44 印刷機構、 45 PFローラ、 46 PFモータ(被駆動部)、 47 排紙トレイ 1 host computer, 2 printer, 3 controller, 4 mechanism unit, 5 paper, 31 I / F, 32 CPU (drive control unit), 33 ROM, 34 RAM, 35 sequence control task, 36 motor control task (drive control means) , 41 paper feed tray, 42 ASF roller, 43 ASF motor, 44 printing mechanism, 45 PF roller, 46 PF motor (driven part), 47 paper discharge tray
Claims (4)
前記駆動制御手段が、前記駆動指令を受ける度に、駆動負荷に応じた電流値を測定するメジャメントを実行するメジャメント工程と、
前記駆動制御手段が、前記メジャメントの結果得られるメジャメント値に基づいて、前記被駆動部に与えられる許容最大電流値である制限閾値を求める制限閾値設定工程と、
前記駆動制御手段が、前記メジャメント値と前記求められた制限閾値に基づいて前記被駆動部の駆動制御を行なう制御工程とを有し、
前記制限閾値設定工程において前記制限閾値を求める際に、前記駆動制御手段は、前記駆動指令で指定された駆動速度が正常な速度である場合には、前記メモリに格納されたパラメータ値を用いて前記制限閾値を求め、前記駆動指令で指定された駆動速度が異常な速度である場合には、前記駆動制御手段自身に設定されたパラメータ値を用いて前記制限閾値を求める
ことを特徴とするプリンタの制御方法。 A printer that includes a driven unit that is driven to move a print medium or a predetermined portion, a drive control unit that performs drive control of the driven unit in response to a drive command in which a drive speed is specified, and a memory. A control method,
A measurement step of executing a measurement for measuring a current value according to a drive load each time the drive control means receives the drive command;
A limit threshold setting step in which the drive control means obtains a limit threshold that is an allowable maximum current value given to the driven part, based on a measurement value obtained as a result of the measurement;
The drive control means includes a control step of performing drive control of the driven portion based on the measurement value and the obtained limit threshold;
When obtaining the limit threshold in the limit threshold setting step, the drive control means uses the parameter value stored in the memory when the drive speed specified by the drive command is a normal speed. The printer is characterized in that the limit threshold is obtained, and when the drive speed specified by the drive command is an abnormal speed, the limit threshold is obtained using a parameter value set in the drive control means itself. Control method.
前記駆動指令で指定された駆動速度が異常な速度である場合に求められる前記制限閾値は、実際には取り得ない値である
ことを特徴とするプリンタの制御方法。 In claim 1,
The printer control method, wherein the limit threshold value obtained when the drive speed specified by the drive command is an abnormal speed is a value that cannot be actually obtained.
前記駆動制御手段が、前記駆動指令を受ける度に、駆動負荷に応じた電流値を測定するメジャメントを実行するメジャメント工程と、
前記駆動制御手段が、前記メジャメントの結果得られるメジャメント値に基づいて、前記被駆動部に与えられる許容最大電流値である制限閾値を求める制限閾値設定工程と、
前記駆動制御手段が、前記メジャメント値と前記求められた制限閾値に基づいて前記被駆動部の駆動制御を行なう制御工程とを有し、
前記制限閾値設定工程において前記制限閾値を求める際に用いられるパラメータ値として、前記駆動指令で指定された駆動速度が正常な速度である場合のものと前記駆動指令で指定された駆動速度が異常な速度である場合のものが用意される
ことを特徴とするプリンタの制御方法。 A printer that includes a driven unit that is driven to move a print medium or a predetermined portion, a drive control unit that performs drive control of the driven unit in response to a drive command in which a drive speed is specified, and a memory. A control method,
A measurement step of executing a measurement for measuring a current value according to a drive load each time the drive control means receives the drive command;
A limit threshold setting step in which the drive control means obtains a limit threshold that is an allowable maximum current value given to the driven part, based on a measurement value obtained as a result of the measurement;
The drive control means includes a control step of performing drive control of the driven portion based on the measurement value and the obtained limit threshold;
As parameter values used when obtaining the limit threshold in the limit threshold setting step, a case where the drive speed specified by the drive command is a normal speed and a drive speed specified by the drive command are abnormal. A method for controlling a printer, characterized in that a printer is prepared for speed.
前記駆動制御部に、
前記駆動指令を受ける度に、駆動負荷に応じた電流値を測定するメジャメントを実行するメジャメント工程と、
前記メジャメントの結果得られるメジャメント値に基づいて、前記被駆動部に与えられる許容最大電流値である制限閾値を求める制限閾値設定工程と、
前記メジャメント値と前記求められた制限閾値に基づいて前記被駆動部の駆動制御を行なう制御工程と、を実行させ、
前記制限閾値設定工程において前記制限閾値を求める際に、前記駆動指令で指定された駆動速度が正常な速度である場合には、前記メモリに格納されたパラメータ値を用いて前記制限閾値が求められ、前記駆動指令で指定された駆動速度が異常な速度である場合には、前記制御プログラム自身に設定されたパラメータ値を用いて前記制限閾値が求められる
ことを特徴とするプリンタの制御プログラム。 A printer that includes a driven unit that is driven to move a print medium or a predetermined part, a drive control unit that performs drive control of the driven unit in response to a drive command in which a drive speed is specified, and a memory. A control program,
In the drive control unit,
A measurement process for executing a measurement for measuring a current value according to a drive load each time the drive command is received;
Based on a measurement value obtained as a result of the measurement, a limit threshold setting step for obtaining a limit threshold that is an allowable maximum current value given to the driven part;
A control step of performing drive control of the driven part based on the measurement value and the obtained limit threshold value,
When determining the limit threshold in the limit threshold setting step, if the drive speed specified by the drive command is a normal speed, the limit threshold is determined using the parameter value stored in the memory. When the drive speed specified by the drive command is an abnormal speed, the limit threshold is obtained using a parameter value set in the control program itself.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006245480A JP2008062600A (en) | 2006-09-11 | 2006-09-11 | Control method of printer, and control program of printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006245480A JP2008062600A (en) | 2006-09-11 | 2006-09-11 | Control method of printer, and control program of printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008062600A true JP2008062600A (en) | 2008-03-21 |
Family
ID=39285714
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006245480A Pending JP2008062600A (en) | 2006-09-11 | 2006-09-11 | Control method of printer, and control program of printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008062600A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010184397A (en) * | 2009-02-10 | 2010-08-26 | Seiko Epson Corp | Printing apparatus and printing method |
JP2013149123A (en) * | 2012-01-20 | 2013-08-01 | Panasonic Corp | Motor control system and parameter protect setting method |
-
2006
- 2006-09-11 JP JP2006245480A patent/JP2008062600A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010184397A (en) * | 2009-02-10 | 2010-08-26 | Seiko Epson Corp | Printing apparatus and printing method |
JP2013149123A (en) * | 2012-01-20 | 2013-08-01 | Panasonic Corp | Motor control system and parameter protect setting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8340835B2 (en) | Printing apparatus with plural page print medium conveyance control method | |
JP2006248791A (en) | Image forming device and correction method of vertical alignment of image forming device | |
JP4775278B2 (en) | Operation control device, electronic device, operation control method, and program | |
JP6918539B2 (en) | Base material processing equipment and base material processing method | |
JP2006240026A (en) | Recording apparatus and method for controlling recording | |
JP4733575B2 (en) | Inkjet recording device | |
JP2006127500A (en) | Printer, printing system and driver program for printer | |
JP2008062600A (en) | Control method of printer, and control program of printer | |
US9987847B2 (en) | Inkjet printing apparatus and a flushing method therefor | |
JP2008080669A (en) | Control method of printer, control program of printer and printer | |
JP2008030270A (en) | Printer, and controlling method for printer | |
US20060182482A1 (en) | Printing apparatus and method of transporting record medium in printing apparatus | |
JP2007122254A (en) | Image processor, image forming apparatus, and image forming system | |
US6053645A (en) | Method for automatic margin correction according to paper feeding mode in image formation apparatus | |
JP5245652B2 (en) | Printing apparatus and printing medium conveyance control method in printing apparatus | |
JP2007196422A (en) | Control device for printer | |
JP2008179057A (en) | Printer | |
US7862137B2 (en) | Method and system for avoiding bottom of page printing artifacts | |
JP2006338367A (en) | Electronic equipment and control method for motor | |
US10606523B2 (en) | Printer and a non-transitory computer-readable recording medium | |
JP2011201213A (en) | Printer, control method for the same, and program | |
JP2012192658A (en) | Printer and method for feeding paper | |
JP3948445B2 (en) | Printing apparatus and paper supply / discharge method | |
JP2007144833A (en) | Printing device and its control method | |
JP2012176575A (en) | Printer and sheet feeding method |