[go: up one dir, main page]

JP2001180054A - Print control device and print control method - Google Patents

Print control device and print control method

Info

Publication number
JP2001180054A
JP2001180054A JP36801999A JP36801999A JP2001180054A JP 2001180054 A JP2001180054 A JP 2001180054A JP 36801999 A JP36801999 A JP 36801999A JP 36801999 A JP36801999 A JP 36801999A JP 2001180054 A JP2001180054 A JP 2001180054A
Authority
JP
Japan
Prior art keywords
paper feed
value
paper
current value
motor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP36801999A
Other languages
Japanese (ja)
Other versions
JP3849908B2 (en
JP2001180054A5 (en
Inventor
Katsutoshi Iwamura
村 克 寿 岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP36801999A priority Critical patent/JP3849908B2/en
Priority to US09/651,096 priority patent/US6967729B1/en
Priority to AT00307475T priority patent/ATE257087T1/en
Priority to EP00307475A priority patent/EP1080928B1/en
Priority to DE60007491T priority patent/DE60007491T2/en
Publication of JP2001180054A publication Critical patent/JP2001180054A/en
Publication of JP2001180054A5 publication Critical patent/JP2001180054A5/ja
Application granted granted Critical
Publication of JP3849908B2 publication Critical patent/JP3849908B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

(57)【要約】 【課題】 可及的に正確な位置で印字を行うことを可能
にする。 【解決手段】 紙送りモータ1の回転に従って回転する
エンコーダ13の出力パルスに基づいて紙送りモータに
よって駆動される紙の位置を検出する位置検出部6a
と、紙の送り量の目標値と位置検出部の出力とに基づい
て紙送りモータに電流値を付加して、紙送りモータを駆
動制御する駆動制御部とを備えた印刷制御装置におい
て、紙送りモータが停止しているときに、紙の送り量の
目標値と位置検出部の出力との偏差の絶対値が第1の所
定値と、この第1の所定値よりも小さい第2の所定値と
の間の範囲内にあるか否かを判定し、範囲内にある場合
には偏差が零となる電流値信号を発生する電流値信号発
生部6pと、を備え、駆動制御部は電流値信号に基づい
て紙送りモータを制御することを特徴とする。
(57) [Summary] [PROBLEMS] To enable printing at a position as accurate as possible. SOLUTION: A position detecting unit 6a for detecting a position of a paper driven by a paper feed motor based on an output pulse of an encoder 13 which rotates according to the rotation of the paper feed motor 1.
And a drive control unit that drives and controls the paper feed motor by adding a current value to the paper feed motor based on the target value of the paper feed amount and the output of the position detection unit. When the feed motor is stopped, the absolute value of the deviation between the target value of the paper feed amount and the output of the position detection unit is a first predetermined value and a second predetermined value smaller than the first predetermined value. A current value signal generator 6p that determines whether the current value is within a range between the current value and the current value, and generates a current value signal having a deviation of zero when the current value is within the range. The paper feed motor is controlled based on the value signal.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、印刷制御装置およ
び印刷制御方法に関し、特に紙送りの制御に用いられ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control device and a print control method, and more particularly to a control of paper feed.

【0002】[0002]

【従来の技術】従来の印刷制御装置を図3乃至図9を参
照して説明する。この印刷制御装置はインクジェットプ
リンタに用いられ、このインクジェットプリンタの概略
の構成を図3に示す。
2. Description of the Related Art A conventional print control apparatus will be described with reference to FIGS. This printing control device is used in an ink jet printer, and a schematic configuration of the ink jet printer is shown in FIG.

【0003】このインクジェットプリンタは、紙送りを
行う紙送りモータ(以下、PFモータともいう)1と、
この紙送りモータ1を駆動する紙送りモータドライバ2
と、キャリッジ3と、このキャリッジ3を駆動するキャ
リッジモータ(以下、CRモータともいう)4と、この
キャリッジモータ4を駆動するCRモータドライバ5
と、DCユニット6と、目詰まり防止のためのインクの
吸い出しを制御するポンプモータ7と、このポンプモー
タ7を駆動するポンプモータドライバ8と、キャリッジ
3に固定されて印刷紙50にインクを吐出するヘッド9
と、このヘッド9を駆動制御するヘッドドライバ10
と、キャリッジ3に固定されたリニア式エンコーダ11
と、所定の間隔にスリットが形成された符号板12と、
PFモータ1用のロータリ式エンコーダ13と、印刷処
理されている紙の終端位置を検出する紙検出センサ15
と、プリンタ全体の制御を行うCPU16と、CPU1
6に対して周期的に割込み信号を発生するタイマIC1
7と、ホストコンピュータ18との間でデータの送受信
を行うインタフェース部(以下IFともいう)19と、
ホストコンピュータ18からIF19を介して送られて
くる印字情報に基づいて印字解像度やヘッド9の駆動波
形等を制御するASIC20と、ASIC20およびC
PU16の作業領域やプログラム格納領域として用いら
れるPROM21,RAM22およびEEPROM23
と、印刷中の紙50を支持するプラテン25と、PFモ
ータ1によって駆動されて印刷紙50を搬送する搬送ロ
ーラ27と、CRモータ4の回転軸に取付けられたプー
リ30と、このプーリ30によって駆動されるタイミン
グベルト31と、を備えている。
This ink jet printer includes a paper feed motor (hereinafter also referred to as a PF motor) 1 for feeding paper,
A paper feed motor driver 2 for driving this paper feed motor 1
, A carriage 3, a carriage motor (hereinafter also referred to as a CR motor) 4 for driving the carriage 3, and a CR motor driver 5 for driving the carriage motor 4
A DC unit 6, a pump motor 7 for controlling suction of ink for preventing clogging, a pump motor driver 8 for driving the pump motor 7, and ink ejected to the printing paper 50 fixed to the carriage 3. Head 9
And a head driver 10 for driving and controlling the head 9
And a linear encoder 11 fixed to the carriage 3
And a code plate 12 having slits formed at predetermined intervals,
A rotary encoder 13 for the PF motor 1 and a paper detection sensor 15 for detecting the end position of the paper being printed
A CPU 16 for controlling the entire printer;
Timer IC1 that periodically generates an interrupt signal for
7, an interface unit (hereinafter, also referred to as IF) 19 for transmitting and receiving data to and from the host computer 18,
An ASIC 20 for controlling the printing resolution and the driving waveform of the head 9 based on the printing information sent from the host computer 18 via the IF 19;
PROM 21, RAM 22, and EEPROM 23 used as a work area and a program storage area of PU 16
A platen 25 supporting the paper 50 being printed, a transport roller 27 driven by the PF motor 1 to transport the print paper 50, a pulley 30 attached to the rotation shaft of the CR motor 4, and the pulley 30. And a driven timing belt 31.

【0004】なお、DCユニット6は、CPU16から
送られてくる制御指令、エンコーダ11,13の出力に
基づいて紙送りモータドライバ2およびCRモータドラ
イバ5を駆動制御する。また、紙送りモータ1およびC
Rモータ4はいずれもDCモータで構成されている。
The DC unit 6 drives and controls the paper feed motor driver 2 and the CR motor driver 5 based on control commands sent from the CPU 16 and outputs of the encoders 11 and 13. Further, the paper feed motors 1 and C
Each of the R motors 4 is constituted by a DC motor.

【0005】このインクジェットプリンタのキャリッジ
3の周辺の構成を図4に示す。
FIG. 4 shows a configuration around the carriage 3 of the ink jet printer.

【0006】キャリッジ3は、タイミングベルト31に
よりプーリ30を介してキャリッジモータ4に接続さ
れ、ガイド部材32に案内されてプラテン25に平行に
移動するように駆動される。キャリッジ3の印刷紙に対
向する面には、ブラックインクを吐出するノズル列およ
びカラーインクを吐出するノズル列からなる記録ヘッド
9が設けられ、各ノズル列はインクカートリッジ34か
らインクの供給を受けて印刷紙にインク滴を吐出して文
字や画像を印字する。
The carriage 3 is connected to the carriage motor 4 via a pulley 30 by a timing belt 31, and is driven by a guide member 32 to move in parallel with the platen 25. On the surface of the carriage 3 facing the printing paper, a recording head 9 composed of a nozzle row for discharging black ink and a nozzle row for discharging color ink is provided. Each nozzle row is supplied with ink from an ink cartridge 34. Prints characters and images by ejecting ink droplets on printing paper.

【0007】またキャリッジ3の非印字領域には、非印
字時に記録ヘッド9のノズル開口を封止するためのキャ
ッピング装置35と、図3に示すポンプモータ7を有す
るポンプユニット36とが設けられている。キャリッジ
3が印字領域から非印字領域に移動すると、図示しない
レバーに当接してキャッピング装置35は上方に移動
し、ヘッド9を封止する。
In the non-printing area of the carriage 3, a capping device 35 for sealing the nozzle opening of the recording head 9 during non-printing and a pump unit 36 having the pump motor 7 shown in FIG. 3 are provided. I have. When the carriage 3 moves from the print area to the non-print area, the capping device 35 moves upward by contacting a lever (not shown) to seal the head 9.

【0008】ヘッド9のノズル開口列に目詰まりが生じ
た場合や、カートリッジ34の交換等を行ってヘッド9
から強制的にインクを吐出する場合は、ヘッド9を封止
した状態でポンプユニット36を作動させ、ポンプユニ
ット36からの負圧により、ノズル開口列からインクを
吸い出す。これにより、ノズル開口列の近傍に付着して
いる塵埃や紙粉が洗浄され、さらにはヘッド9内の気泡
がインクとともにキャップ37に排出される。
When clogging occurs in the nozzle opening row of the head 9 or when the cartridge 34 is replaced or the like,
When the ink is forcibly ejected from the pump unit, the pump unit is operated while the head 9 is sealed, and the ink is sucked out from the nozzle opening row by the negative pressure from the pump unit. As a result, dust and paper dust adhering in the vicinity of the nozzle opening row are washed, and the air bubbles in the head 9 are discharged to the cap 37 together with the ink.

【0009】次に、キャリッジ3に取付けられたリニア
式エンコーダ11の構成を図5に示す。このエンコーダ
11は発光ダイオード11aと、コリメータレンズ11
bと、検出処理部11cとを備えている。この検出処理
部11cは複数(4個)のフォトダイオード11dと、
信号処理回路11eと、2個のコンパレータ11fA
11fBと、を有している。
Next, the configuration of the linear encoder 11 attached to the carriage 3 is shown in FIG. The encoder 11 includes a light emitting diode 11a and a collimator lens 11
b and a detection processing unit 11c. The detection processing unit 11c includes a plurality (four) of photodiodes 11d,
A signal processing circuit 11e and two comparators 11f A ,
It has a 11f B, and.

【0010】発光ダイオード11aの両端に抵抗を介し
て電圧Vccが印加されると、発光ダイオード11aか
ら光が発せられる。この光はコリメータレンズ11bに
よって平行にされて符号板12を通過する。符号板12
には所定の間隔(例えば1/180インチ(=1/18
0×2.54cm))毎にスリットが設けられた構成と
なっている。
When a voltage Vcc is applied to both ends of the light emitting diode 11a via a resistor, light is emitted from the light emitting diode 11a. This light is made parallel by the collimator lens 11b and passes through the code plate 12. Code plate 12
At a predetermined interval (for example, 1/180 inch (= 1/18)
0 × 2.54 cm)).

【0011】この符号板12を通過した平行光は、図示
しない固定スリットを通って各フォトダイオード11d
に入射し、電気信号に変換される。4個のフォトダイオ
ード11dから出力される電気信号が信号処理回路11
eにおいて信号処理される。この信号処理回路11eか
ら出力される信号がコンパレータ11fA,11fBにお
いて比較され、比較結果がパルスとして出力される。コ
ンパレータ11fA、11fB から出力されるパルスE
NC−A,ENC−Bがエンコーダ11の出力となる。
The parallel light that has passed through the code plate 12 passes through a fixed slit (not shown) to each photodiode 11d.
And is converted into an electric signal. The electric signals output from the four photodiodes 11d are applied to the signal processing circuit 11
The signal is processed in e. The signals outputted from the signal processing circuit 11e is a comparator 11f A, are compared in 11f B, the compared results are outputted as pulses. Pulse E output from comparators 11f A and 11f B
NC-A and ENC-B are outputs of the encoder 11.

【0012】パルスENC−AとパルスENC−Bは位
相が90度だけ異なっている。CRモータ4が正転すな
わちキャリッジ3が主走査方向に移動しているときは図
6(a)に示すようにパルスENC−AはパルスENC
−Bよりも90度だけ位相が進み、CRモータ4が逆転
しているときは図6(b)に示すようにパルスENC−
AはパルスENC−Bよりも90度だけ位相が遅れるよ
うにエンコーダ4は構成されている。そして、上記パル
スの1周期Tは符号板12のスリット間隔(例えば1/
180インチ(=1/180×2.54cm))に対応
し、 キャリッジ3が上記スリット間隔を移動する時間に
等しい。
The phases of the pulses ENC-A and ENC-B differ by 90 degrees. When the CR motor 4 is rotating forward, that is, when the carriage 3 is moving in the main scanning direction, the pulse ENC-A is changed to the pulse ENC as shown in FIG.
When the CR motor 4 is rotating in the reverse direction by 90 degrees from that of the pulse ENC-B as shown in FIG.
The encoder 4 is configured such that the phase of A is delayed by 90 degrees from the pulse ENC-B. One cycle T of the pulse is equal to the slit interval of the code plate 12 (for example, 1 /
This corresponds to 180 inches (= 1/180 × 2.54 cm), which is equal to the time during which the carriage 3 moves through the slit interval.

【0013】一方、PFモータ1用のロータリ式エンコ
ーダ13は符号板がPFモータ1の回転に応じて回転す
る回転円板である以外は、リニア式エンコーダ11と同
様の構成となっており、2つの出力パルスENC−A,
ENC−Bを出力する。なおインクジェットプリンタに
おいては、PFモータ1用のエンコーダ13の符号板に
設けられている複数のスリットのスリット間隔は、1/
180インチ(=1/180×2.54cm)であり、
PFモータ1が上記1スリット間隔だけ回転すると、1
/1440インチ(=1/1440×2.54cm)だ
け紙送りされるような構成となっている。
On the other hand, the rotary encoder 13 for the PF motor 1 has the same configuration as the linear encoder 11 except that the code plate is a rotating disk that rotates in accordance with the rotation of the PF motor 1. Output pulses ENC-A,
Outputs ENC-B. In the ink jet printer, the slit interval of a plurality of slits provided on the code plate of the encoder 13 for the PF motor 1 is 1 /.
180 inches (= 1/180 × 2.54 cm)
When the PF motor 1 rotates by one slit interval, 1
The paper is fed by / 1440 inches (= 1/1440 × 2.54 cm).

【0014】次に図3において示した紙検出センサ15
の位置について図7を参照して説明する。図7におい
て、プリンタ60の給紙挿入口61に挿入された紙50
は、給紙モータ63によって駆動される給紙ローラ64
によってプリンタ60内に送り込まれる。プリンタ60
内に送り込まれた紙50の先端が例えば光学式の紙検出
センサ15によって検出される。この紙検出センサ15
によって先端が検出された紙50はPFモータ1によっ
て駆動される紙送りローラ65および従動ローラ66に
よって紙送りが行われる。
Next, the paper detection sensor 15 shown in FIG.
Will be described with reference to FIG. In FIG. 7, the paper 50 inserted in the paper feed slot 61 of the printer 60 is shown.
Is a paper feed roller 64 driven by a paper feed motor 63
Is sent into the printer 60. Printer 60
The leading end of the paper 50 fed into the inside is detected by, for example, an optical paper detection sensor 15. This paper detection sensor 15
The paper 50 whose leading end is detected is fed by a paper feed roller 65 driven by the PF motor 1 and a driven roller 66.

【0015】続いてキャリッジガイド部材32に沿って
移動するキャリッジ3に固定された記録ヘッド(図示せ
ず)からインクが滴下されることにより印字が行われ
る。そして所定の位置まで紙送りが行われると、現在、
印字されている紙50の終端が紙検出センサ15によっ
て検出される。そしてPFモータ1によって駆動される
歯車67aにより、歯車67bを介して歯車67cが駆
動され、これにより、排紙ローラ68および従動ローラ
69が回転駆動されて、印字が終了した紙50が排紙口
62から外部に排出される。
Subsequently, printing is performed by dropping ink from a recording head (not shown) fixed to the carriage 3 that moves along the carriage guide member 32. When the paper is fed to a predetermined position,
The end of the printed paper 50 is detected by the paper detection sensor 15. The gear 67c driven by the PF motor 1 drives the gear 67c via the gear 67b, whereby the paper discharge roller 68 and the driven roller 69 are driven to rotate, and the paper 50 on which printing has been completed is discharged to the paper discharge port. It is discharged from 62 to the outside.

【0016】なお、紙送りローラ65の回転軸にはエン
コーダ13の符号板が取り付けられている。
A code plate of the encoder 13 is attached to a rotation shaft of the paper feed roller 65.

【0017】次に、この従来のインクジェットプリンタ
のPFモータ1の制御について図8および図9を参照し
て説明する。このPFモータ1の制御はDCユニット6
によって行われ、このDCユニット6は図8に示すよう
に位置カウンタ6aと、減算部6bと、目標速度演算部
6cと、速度演算部6dと、減算器6eと、比例要素6
fと、積分要素6gと、微分要素6hと、加算器6i
と、D/Aコンバータ6jと、タイマ6kと、加速制御
部6mと、送り量修正演算部90とを備えている。
Next, control of the PF motor 1 of the conventional ink jet printer will be described with reference to FIGS. This PF motor 1 is controlled by the DC unit 6
As shown in FIG. 8, the DC unit 6 includes a position counter 6a, a subtractor 6b, a target speed calculator 6c, a speed calculator 6d, a subtractor 6e, a proportional element 6
f, integral element 6g, differential element 6h, and adder 6i
, A D / A converter 6j, a timer 6k, an acceleration control unit 6m, and a feed amount correction calculation unit 90.

【0018】位置カウンタ6aはエンコーダ13の出力
パルスENC−A,ENC−Bの各々の立ち上がりエッ
ジ、立ち下がりエッジを検出し、検出されたエッジの個
数を計数し、この計数値に基づいて、PFモータ1によ
って送られる紙の送り量を演算する。この計数はPFモ
ータ1が正転しているときは1個のエッジが検出される
と「+1」を加算し、逆転しているときは、1個のエッ
ジが検出されると「−1」を加算する。パルスENC−
AおよびENC−Bの各々の周期は符号板のスリット間
隔に等しく、かつパルスENC−AとパルスENC−B
は位相が90度だけ異なっている。このため、上記計数
のカウント値「1」はエンコーダ13の符号板のスリッ
ト間隔の1/4に対応する。また、PFモータ1が1ス
リット間隔だけ回転すると、1/1440インチ(=1
/1440×2.54cm)だけ紙送りされる構成とな
っている。
The position counter 6a detects the rising edge and the falling edge of each of the output pulses ENC-A and ENC-B of the encoder 13, counts the number of detected edges, and based on the count value, determines the PF. The amount of paper fed by the motor 1 is calculated. When the PF motor 1 is rotating forward, "+1" is added when one edge is detected, and when the PF motor 1 is rotating reversely, "-1" is added when one edge is detected. Is added. Pulse ENC-
Each period of A and ENC-B is equal to the slit interval of the code plate, and pulse ENC-A and pulse ENC-B
Are 90 degrees out of phase. Therefore, the count value “1” of the above-described count corresponds to 1 / of the slit interval of the code plate of the encoder 13. When the PF motor 1 rotates by one slit interval, 1/1440 inch (= 1
/1440×2.54 cm).

【0019】送り量修正演算部90は、CPU16から
送られてくるPFモータ1の起動指令に基づいて動作
し、起動の目標位置「0」と、上記起動指令受信直後の
位置カウンタ6aのカウント値(パルス数)、すなわち
前回の停止位置とに基づいて、修正された紙の送り量を
演算する。そして、この修正された送り量を位置カウン
タ6aに送り、位置カウンタ6aのカウント値を上記修
正された送り量となるように設定する。なおこの時、位
置カウンタ6aのカウント値は、目標位置に近づくにつ
れてそのカウント値も小さくなるように設定される。
The feed amount correction calculating section 90 operates based on a start command of the PF motor 1 sent from the CPU 16, and outputs a target start position "0" and a count value of the position counter 6a immediately after receiving the start command. Based on the (pulse number), that is, the previous stop position, the corrected paper feed amount is calculated. Then, the corrected feed amount is sent to the position counter 6a, and the count value of the position counter 6a is set to be the corrected feed amount. At this time, the count value of the position counter 6a is set so that the count value decreases as the position approaches the target position.

【0020】減算器6bは、目標位置「o」と、位置カ
ウンタ6aのカウント値との位置偏差を演算する。
The subtractor 6b calculates a positional deviation between the target position "o" and the count value of the position counter 6a.

【0021】目標速度演算部6cは、減算器6bの出力
である位置偏差に基づいてPFモータ1の目標速度を演
算する。この演算は位置偏差にゲインKpを乗算するこ
とにより行われる。このゲインKpは位置偏差に応じて
決定される。なおこのゲインKpの値は図示しないテー
ブルに格納していても良い。
The target speed calculator 6c calculates the target speed of the PF motor 1 based on the position deviation output from the subtractor 6b. This calculation is performed by multiplying the position deviation by the gain Kp. This gain Kp is determined according to the position deviation. The value of the gain Kp may be stored in a table (not shown).

【0022】速度演算部6dはエンコーダ13の出力パ
ルスENC−A,ENC−Bに基づいてPFモータ1の
速度を演算する。この速度は次のようにして求められ
る。まずエンコーダ13の出力パルスENC−A,EN
C−Bの各々の立ち上がりエッジ、立ち下がりエッジを
検出し、エッジ間の時間間隔を例えばタイマカウンタに
よってカウントする。このカウント値をTとすると、速
度は1/Tに比例したものとなる。
The speed calculator 6d calculates the speed of the PF motor 1 based on the output pulses ENC-A and ENC-B of the encoder 13. This speed is determined as follows. First, the output pulses ENC-A, EN of the encoder 13
The rising edge and the falling edge of each of CB are detected, and the time interval between the edges is counted by, for example, a timer counter. Assuming that the count value is T, the speed is proportional to 1 / T.

【0023】減算器6eは、目標速度と、速度演算部6
dによって演算されたPFモータ1の実際の速度との速
度偏差を演算する。
The subtractor 6e has a target speed and a speed calculator 6
A speed deviation from the actual speed of the PF motor 1 calculated by d is calculated.

【0024】比例要素6fは上記速度偏差に定数Gpを
乗算し、乗算結果を出力する。積分要素6gは速度偏差
に定数Giを乗じたものを積算する。微分要素6hは現
在の速度偏差と、1つ前の速度偏差との差に定数Gdを
乗算し、乗算結果を出力する。なお比例要素6f、積分
要素6g、および微分要素6hの演算はエンコーダ13
の出力パルスENC−Aの1周期毎を、例えば出力パル
スENC−Aの立ち上がりエッジに同期して行う。
The proportional element 6f multiplies the speed deviation by a constant Gp and outputs the multiplication result. The integral element 6g integrates the value obtained by multiplying the speed deviation by a constant Gi. The differential element 6h multiplies the difference between the current speed deviation and the immediately preceding speed deviation by a constant Gd, and outputs the multiplication result. The calculation of the proportional element 6f, the integral element 6g, and the differential element 6h is performed by the encoder 13
Is performed in synchronization with, for example, the rising edge of the output pulse ENC-A.

【0025】比例要素6f、積分要素6g、および微分
要素6hの出力は加算器6iにおいて加算される。そし
て加算結果、すなわちPFモータ1の駆動電流がD/A
コンバータ6jに送られてアナログ電流に変換される。
このアナログ電流に基づいてドライバ10によってPF
モータ1が駆動される。
The outputs of the proportional element 6f, the integral element 6g, and the differential element 6h are added in an adder 6i. Then, the addition result, that is, the drive current of the PF motor 1 is D / A
The signal is sent to the converter 6j and converted into an analog current.
PF is determined by the driver 10 based on the analog current.
The motor 1 is driven.

【0026】また、タイマ6kおよび加速制御部6mは
加速制御に用いられ、比例要素6f、積分要素6g、お
よび微分要素6hを使用するPID制御は加速途中の定
速および減速制御に用いられる。
The timer 6k and the acceleration control unit 6m are used for acceleration control, and the PID control using the proportional element 6f, the integral element 6g, and the differential element 6h is used for constant speed and deceleration control during acceleration.

【0027】タイマ6kはCPU16から送られてくる
クロック信号に基づいて所定時間毎にタイマ割込み信号
を発生する。
The timer 6k generates a timer interrupt signal at predetermined time intervals based on a clock signal sent from the CPU 16.

【0028】加速制御部6mは上記タイマ割込信号を受
ける度毎に所定の電流値(例えば20mA)を目標電流
値に積算し、積算結果すなわち加速時におけるPFモー
タ1の目標電流値がD/Aコンバータ6jに送られる。
PID制御の場合と同様に上記目標電流値はD/Aコン
バータ6jによってアナログ電流に変換され、このアナ
ログ電流に基づいてドライバ10によってPFモータ1
が駆動される。
The acceleration control unit 6m integrates a predetermined current value (for example, 20 mA) to the target current value every time the timer interrupt signal is received, and the result of the integration, that is, the target current value of the PF motor 1 during acceleration is D / D. It is sent to the A converter 6j.
As in the case of the PID control, the target current value is converted to an analog current by the D / A converter 6j, and based on the analog current, the PF motor 1
Is driven.

【0029】ドライバ10は、例えば4個のトランジス
タを備えており、D/Aコンバータ6jの出力に基づい
て上記トランジスタを各々ONまたはOFFさせること
により (a)PFモータ1を正転または逆転させる運転モード (b)回生ブレーキ運転モード(ショートブレーキ運転
モード、すなわちPFモータ1の停止を維持するモー
ド) (c)PFモータ1を停止させようとするモードを行わ
せることが可能な構成となっている。
The driver 10 has, for example, four transistors, and turns on or off each of the above-mentioned transistors based on the output of the D / A converter 6j. (A) Operation for rotating the PF motor 1 forward or backward Mode (b) Regenerative brake operation mode (short brake operation mode, that is, a mode in which the PF motor 1 is kept stopped) (c) A configuration in which a mode in which the PF motor 1 is stopped can be performed. .

【0030】次に図9(a),(b)を参照してDCユ
ニット6の動作を説明する。PFモータ1が停止してい
るときにCPU16からDCユニット6にPFモータ1
を起動させる起動指令信号が送られると、送り量修正演
算部90によって修正された紙の送り量が演算され、こ
の演算された送り量が位置カウンタ6aのカウント値と
して設定される。このとき加速制御部6mから起動初期
電流値I がD/Aコンバータ6jに送られる。な
お、この起動初期電流値Iは起動指令信号とともにC
PU16から加速制御部6 mに送られてくる。そして
この電流値IはD/Aコンバータ6jによってアナ
ログ電流に変換されてドライバ10に送られ、このドラ
イバ10によってPFモータ1が起動開始する(図9
(a),(b)参照)。
Next, the operation of the DC unit 6 will be described with reference to FIGS. When the PF motor 1 is stopped, the CPU 16 sends the PF motor 1 to the DC unit 6.
Is transmitted, the feed amount corrected by the feed amount correction calculating unit 90 is calculated, and the calculated feed amount is set as the count value of the position counter 6a. At this time started from the acceleration controller 6m initial current value I 0 is fed to the D / A converter 6j. It should be noted that the initial starting current value I 0 is set together with the starting command signal by C
It is sent from the PU 16 to the acceleration controller 6m. The current value I 0 is Ana by the D / A converter 6j
The log current is converted and sent to the driver 10, and the driver 10 starts the PF motor 1 (FIG. 9).
(See (a) and (b)).

【0031】起動指令信号を受信した後、所定の時間毎
にタイマ6kからタイマ割込信号が発生される。加速制
御部6mはタイマ割込信号を受信する度毎に、起動初期
電流値Iに所定の電流値(例えば20mA)を積算
し、積算した電流値をD/Aコンバータ6jに送る。す
るとこの積算した電流値はD/Aコンバータ6jによっ
てアナログ電流に変換されてドライバ10に送られる。
そしてPFモータ1に供給される電流の値が上記積算し
た電流値となるように、ドライバ5によってPFモータ
1が駆動されPFモータ1の速度は上昇する(図9
(b)参照)。このためPFモータ1に供給される電流
値は図9(a)に示すように階段状になる。
After receiving the start command signal, the timer 6k generates a timer interrupt signal at predetermined time intervals. Acceleration controller 6m each time receiving a timer interrupt signal, starts a predetermined current value to an initial current value I 0 by integrating (e.g. 20 mA), and sends the integrated current value to the D / A converter 6j. Then, the integrated current value is converted into an analog current by the D / A converter 6j and sent to the driver 10.
Then, the driver 5 drives the PF motor 1 so that the value of the current supplied to the PF motor 1 becomes the integrated current value, and the speed of the PF motor 1 increases (FIG. 9).
(B)). Therefore, the current value supplied to the PF motor 1 has a step shape as shown in FIG.

【0032】なお、このときPID制御系も動作してい
るが、D/Aコンバータ6jは加速制御部6mの出力を
選択して取込む。また、このときキャリッジ3は、目標
位置「0」に近づいているため、位置カウンタ6aのカ
ウント値も小さくなっている。 加速制御部6mの電流
値の積算処理は、積算した電流値が一定の電流値I
なるまで行われる。時刻tにおいて積算した電流値が
所定値Iとなると、加速制御部6mは積算処理を停止
し、D/Aコンバータ6jに一定の電流値I を 供給
する。これによりPFモータ1に供給される電流の値が
電流値Iとなるよ うにドライバ10によって駆動さ
れる(図9(a)参照)。
At this time, the PID control system is also operating.
However, the D / A converter 6j outputs the output of the acceleration control unit 6m.
Select and import. At this time, the carriage 3
Since the position is approaching the position “0”, the position counter 6a
The und value has also become smaller. Current of acceleration control unit 6m
In the value integration process, the integrated current value is a constant current value ISWhen
It is done until it becomes. Time t1The current value integrated at
Predetermined value IS, The acceleration control unit 6m stops the integration process
Then, a constant current value I is supplied to the D / A converter 6j. SSupply
I do. As a result, the value of the current supplied to the PF motor 1 becomes
Current value ISDriven by the driver 10 so that
(See FIG. 9A).

【0033】そして、PFモータ1の速度がオーバーシ
ュートするのを防止するために、PFモータ1が所定の
速度Vになると(時刻t )になると、PFモータ
1に供 給される電流を減小させるように加速制御部6
mが制御する。このときPFモータ1の速度は更に上昇
するが、PFモータ1の速度が所定の速度vに達する
と (図9(b)の時刻t3参照)、D/Aコンバータ
6jが、PID制御系の出力すなわち加算器6iの出力
を選択し、PID制御が行われる。
When the speed of the PF motor 1 reaches a predetermined speed V 1 (time t 2 ), the current supplied to the PF motor 1 is reduced in order to prevent the speed of the PF motor 1 from overshooting. Acceleration control unit 6 to reduce
m controls. In this case although the speed is further increased PF motor 1, (see time t3 in FIG. 9 (b)) and the speed of the PF motor 1 reaches a predetermined speed v c, D / A converter 6j is, the PID control system The output, that is, the output of the adder 6i is selected, and PID control is performed.

【0034】すなわち、目標位置「0」と、カウンタ6
aのカウント値との位置偏差に基づいて目標速度が演算
され、この目標速度と、エンコーダ13の出力から得ら
れる実際の速度との速度偏差に基づいて、比例要素6
f、積分要素6g、および微分要素6hが動作し、各々
比例、積分、および微分演算が行われ、これらの演算結
果の和に基づいて、PFモータ1の制御が行われる。な
お、上記比例、積分、および微分演算は、例えばエンコ
ーダ13の出力パルスENC−Aの立ち上がりエッジに
同期して行われる。これによりPFモータ1の速度は所
望の速度vとなるように制御される。なお、所定の速
度vは所望の速度vの70〜80%の値であること
が好ましい。
That is, the target position "0" and the counter 6
The target speed is calculated on the basis of the position deviation from the count value of a, and the proportional element 6 is calculated based on the speed deviation between the target speed and the actual speed obtained from the output of the encoder 13.
f, the integral element 6g, and the differential element 6h operate to perform proportional, integral, and differential calculations, respectively, and control the PF motor 1 based on the sum of the calculation results. Note that the above-described proportional, integral, and differential calculations are performed, for example, in synchronization with the rising edge of the output pulse ENC-A of the encoder 13. Thereby, the speed of the PF motor 1 is controlled to be a desired speed v e . Incidentally, it is preferable that the predetermined speed v c 70 to 80% of the value of desired speed v e.

【0035】時刻tからPFモータ1は所望の速度v
となる。 その後、PFモータ1が目標位置に近づく
と(図9(b)の時刻t参照)、修正された位置偏差
が小さ くなるから目標速度も小さくなり、PFモータ
1の減速が行われ、時刻tにP Fモータ1が停止す
る。
The PF motor 1 from the time t 4 the desired speed v
e . Thereafter, PF when the motor 1 approaches the target position (see time t 5 in FIG. 9 (b)), the target speed is also reduced from the modified position deviation small Kunar, deceleration of the PF motor 1 is performed, the time P F motor 1 is stopped to t 6.

【0036】以上説明したように、従来の印刷制御装置
においては、今回の目標送り量と、起動指令を受信した
直後の位置カウンタ6aのカウント値すなわち前回の停
止位置とに基づいて送り量修正演算部90によって今回
の起動時の送り量を修正し、この修正された送り量を位
置カウンタ6aのカウント値として設定し、目標値
「0」と、位置カウンタ6aの出力との位置偏差に基づ
いて紙送り制御を行っているので、紙を目標位置に停止
させることが可能となるので精度の良い紙送りを行うこ
とができる。
As described above, in the conventional print control apparatus, the feed amount correction calculation is performed based on the current target feed amount and the count value of the position counter 6a immediately after receiving the start command, that is, the previous stop position. The feed amount at the time of this start-up is corrected by the unit 90, and the corrected feed amount is set as the count value of the position counter 6a, and based on the position deviation between the target value “0” and the output of the position counter 6a. Since the paper feed control is performed, the paper can be stopped at the target position, so that the paper can be fed with high accuracy.

【0037】また、位置カウンタ6aの最大カウント値
は、修正された送り量となるため、位置カウンタ6aの
容量を小さくすることが可能となる。
Since the maximum count value of the position counter 6a is the corrected feed amount, the capacity of the position counter 6a can be reduced.

【0038】[0038]

【発明が解決しようとする課題】このように構成された
従来の印刷制御装置においては、精度の良い紙送りを行
うことができる。しかし停止後に、紙送り指令(すなわ
ち起動指令)を受信していないのに紙50の印字の原点
位置「0」が変位する場合、例えば人が紙を引っ張る等
によって原点位置「0」が変位してしまう場合には、次
の印字が変位した位置から始まり、正確な位置に印字を
することができないという問題が生じる。
In the conventional printing control apparatus having the above-described structure, it is possible to feed a paper with high accuracy. However, if the origin position "0" of the printing of the paper 50 is displaced after the stop without receiving the paper feed command (that is, the start command), the origin position "0" is displaced by, for example, a person pulling the paper. In such a case, the next printing starts from the displaced position, and there is a problem that printing cannot be performed at an accurate position.

【0039】本発明は、上記事情を考慮してなされたも
のであって、可及的に正確な位置で印字を行うことので
きる印刷制御装置および制御方法を提供することを目的
とする。
The present invention has been made in consideration of the above circumstances, and has as its object to provide a print control apparatus and a control method capable of performing printing at a position as accurate as possible.

【0040】[0040]

【課題を解決するための手段】本発明による印刷制御装
置は、紙送りモータの回転に従って回転するエンコーダ
の出力パルスに基づいて前記紙送りモータによって駆動
される紙の位置を検出する位置検出部と、前記紙の送り
量の目標値と前記位置検出部の出力とに基づいて前記紙
送りモータに電流値を付加して、前記紙送りモータを駆
動制御する駆動制御部とを備えた印刷制御装置におい
て、前記紙送りモータが停止しているときに、前記紙の
送り量の目標値と前記位置検出部の出力との偏差の絶対
値が第1の所定値と、この第1の所定値よりも小さい第
2の所定値との間の範囲内にあるか否かを判定し、前記
範囲内にある場合には前記偏差が零となる電流値信号を
発生する電流値信号発生部と、を備え、前記駆動制御部
は前記電流値信号に基づいて前記紙送りモータを制御す
ることを特徴とする。
According to the present invention, there is provided a print control apparatus comprising: a position detecting unit for detecting a position of a paper driven by a paper feed motor based on an output pulse of an encoder which rotates according to the rotation of the paper feed motor; A print control device that adds a current value to the paper feed motor based on the target value of the paper feed amount and the output of the position detection unit, and controls the drive of the paper feed motor. In the above, when the paper feed motor is stopped, the absolute value of the deviation between the target value of the paper feed amount and the output of the position detection unit is determined by a first predetermined value and the first predetermined value. A current value signal generating unit that determines whether the current value is within a range between the second predetermined value and the second predetermined value, and generates a current value signal in which the deviation becomes zero when the difference is within the range. And the drive control unit outputs the current value signal. Zui with and controlling said paper feed motor.

【0041】なお、前記紙の排紙を行う排紙処理部を更
に備え、前記電流値信号発生部は前記偏差の絶対値が前
記第1の所定値を超えている場合に前記排紙処理部に排
紙指令を送り、排紙処理を行わせるように構成しても良
い。
It is to be noted that the apparatus further comprises a paper discharge processing section for discharging the paper, wherein the current value signal generating section is configured to output the current value signal when the absolute value of the deviation exceeds the first predetermined value. May be configured to send a paper ejection command to perform a paper ejection process.

【0042】なお、前記駆動制御部はPID制御部を備
えるように構成しても良い。
The drive control section may be provided with a PID control section.

【0043】また本発明による印刷制御方法は、紙送り
モータが停止しているときに、前回の起動時の紙の送り
量の目標値と、前記紙送りモータの回転に従って回転す
るエンコーダの出力パルスに基づいて演算された前記紙
の実際の送り量との偏差を求めるステップと、前記偏差
の絶対値が第1の所定値とこの第1の所定値よりも小さ
い第2の所定値との間の範囲内にあるか否かを判定する
ステップと、前記偏差の絶対値が前記範囲内にある場合
に前記偏差が零となる電流値信号を発生するステップ
と、前記電流値信号に基づいて前記紙送りモータを制御
するステップと、を備えたことを特徴とする。
Further, according to the printing control method of the present invention, when the paper feed motor is stopped, the target value of the paper feed amount at the time of the previous start and the output pulse of the encoder rotating according to the rotation of the paper feed motor are provided. Calculating a deviation from the actual paper feed amount calculated based on the following formula: between an absolute value of the deviation and a second predetermined value smaller than the first predetermined value. Determining whether or not the difference is within a range, generating an electric current value signal in which the deviation becomes zero when the absolute value of the deviation is within the range, and based on the electric current value signal, Controlling the paper feed motor.

【0044】なお、前記偏差の絶対値が前記第1の所定
値を超えている場合に前記紙の排紙処理を行うステップ
を更に備えるように構成しても良い。
It is to be noted that the method may further comprise the step of performing the paper discharging process when the absolute value of the deviation exceeds the first predetermined value.

【0045】[0045]

【発明の実施の形態】本発明による印刷制御装置の一実
施の形態を図1および図2を参照して説明する。図1は
本実施の形態の印刷制御装置の構成を示すブロック図で
あり、図2は本実施の形態の動作を説明するフローチャ
ートである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of a print control apparatus according to the present invention will be described with reference to FIGS. FIG. 1 is a block diagram illustrating the configuration of a print control apparatus according to the present embodiment, and FIG. 2 is a flowchart illustrating the operation of the present embodiment.

【0046】この実施の形態の印刷制御装置6は、図8
に示す従来の印刷制御装置(DCユニット)6におい
て、電流値信号発生部6pと、排紙処理部6qとを新た
に付加した構成となっている。電流値信号発生部6pお
よび排紙処理部6q以外は従来技術で説明済みのため、
説明を省略する。
The print control device 6 of this embodiment is similar to that of FIG.
In the conventional print control device (DC unit) 6, a current value signal generator 6p and a paper discharge processor 6q are newly added. The components other than the current value signal generator 6p and the paper discharge processor 6q have already been described in the related art.
Description is omitted.

【0047】電流値信号発生部6pは、PFモータ1が
停止しているときに、減算器6bから出力される位置偏
差の絶対値が所定値Nと所定値N(<N)との間
の範囲にあるか否かを判定し、上記範囲にあれば、上記
偏差が「0」となるような電流値信号を発生し、D/A
コンバータ6jに送出する。また、上記位置偏差の絶対
値が所定値Nを超えている場合は排紙処理を行わせ
る。また上記位置偏差の絶対値が所定値N以下の場合
は、制御を終了する。
The current value signal generating part 6p, when the PF motor 1 is stopped, a subtractor absolute value a predetermined value N 1 of the positional deviation output from 6b and the predetermined value N 2 (<N 1) It is determined whether or not the current value is within the range, and if it is within the above range, a current value signal is generated such that the deviation becomes “0”, and the D / A
Transmitted to converter 6j. Further, if the absolute value of the positional deviation exceeds a predetermined value N 1 to perform the discharge process. The absolute value of the positional deviation is in the case of less than the predetermined value N 2, the control is ended.

【0048】排紙処理部6qは電流値信号発生部6pか
ら排紙指令を受信すると、排紙に必要な電流値信号をD
/Aコンバータ6jに送り、PFモータ1を作動させて
排紙処理を行う。
When receiving the paper discharge command from the current value signal generator 6p, the paper discharge processing unit 6q outputs a current value signal required for paper discharge to D
The sheet is sent to the / A converter 6j, and the PF motor 1 is operated to perform a sheet discharging process.

【0049】なお、所定値Nは、例えば1/1440
インチ(=1/1440×2.54cm)すなわちエン
コーダ13の出力パルスENC−Aの1周期分に相当す
る値に設定される。これはDCモータの制御においては
位置偏差が零となるところに停止するのが難しく、位置
偏差が±1/5760インチ(=11/5760×2.
54cm)以内の範囲に停止するのが一般的であるが、
本実施の形態では許容範囲としてNを1/1440
インチ(=1/1440×2.54cm) に設定して
いるからである。
[0049] The predetermined value N 2, for example 1/1440
The value is set to inches (= 1/1440 × 2.54 cm), that is, a value corresponding to one cycle of the output pulse ENC-A of the encoder 13. This is because it is difficult to stop at a position where the position deviation becomes zero in the control of the DC motor, and the position deviation is ± 1/5760 inches (= 11/5760 × 2.
It is common to stop within 54cm),
In the present embodiment, N 2 is 1/1440 as an allowable range.
This is because it is set to inches (= 1/1440 × 2.54 cm).

【0050】また所定値Nは、例えば22/1440
インチ(=22/1440×2.54cm)の値に設定
される。これは、排紙方向とは逆方向に紙送りを行う
と、紙送りモータと連結している、キャリッジのロック
レバーが上がり、フラッシングやキャッピング時にキャ
リッジがロックレバーにぶつかる可能性があるととも
に、給紙装置を外れた用紙が逆方向に送られることによ
り行き場を無くして紙ジャムを発生する可能性があり、
逆方向に紙送りを行うことに限界があるためである。
[0050] The predetermined value N 1 is, for example 22/1440
It is set to a value of inches (= 22/1440 × 2.54 cm). This is because, when the paper is fed in the direction opposite to the paper discharge direction, the lock lever of the carriage connected to the paper feed motor rises, and the carriage may hit the lock lever during flushing or capping. The paper that has come off the paper device is sent in the reverse direction, so there is a possibility that there will be no place to go and a paper jam will occur,
This is because there is a limit in performing paper feeding in the reverse direction.

【0051】なお、上記所定値N,Nは紙の種類
(例えば、厚さ、表面の摩擦係数等)と使用回数に応じ
て変えても良い。
Note that the predetermined values N 1 and N 2 may be changed according to the type of paper (eg, thickness, surface friction coefficient, etc.) and the number of times of use.

【0052】次に本実施の形態の電流値信号発生部6p
の動作を図2を参照して説明する。
Next, the current value signal generator 6p of this embodiment
Will be described with reference to FIG.

【0053】今、PFモータが起動した後に停止した状
態を考える。
Now, consider a state in which the PF motor starts and then stops.

【0054】まず、減算器6bの出力である位置偏差の
絶対値が所定値N以下か否かが電流値信号発生部6p
によって判定される(図2のステップF1参照)。上記
絶対値が所定値Nを超えている場合は、電流値信号発
生部6pから排紙処理部6qに排紙指令が送られる。す
ると排紙処理部6qから排紙に必要な電流値信号がD/
Aコンバータ6jに送られ、この電流値信号に基づいて
PFモータ1が起動され排紙処理が行われる(図2のス
テップF2参照)。
[0054] First, the absolute value of the predetermined value N 1 below whether the current value signal generating part 6p position deviation which is the output of the subtracter 6b
(See step F1 in FIG. 2). If the absolute value exceeds the predetermined value N 1 is discharge command from the current value signal generating part 6p to discharge process unit 6q it is sent. Then, a current value signal required for paper discharge from the paper discharge processing unit 6q is D /
The current is sent to the A converter 6j, and the PF motor 1 is started based on the current value signal to perform a sheet discharging process (see step F2 in FIG. 2).

【0055】上記位置偏差の絶対値が所定値N以下の
場合は、さらにこの絶対値が所定値N以下か否かが電
流値信号発生部6pにおいて判定され(図2のステップ
F3参照)、所定値N以下の場合は制御を終了する。
上記位置偏差の絶対値が所定値Nを超えている場合
は、上記位置偏差が零となる電流値信号が電流値信号発
生部6pからD/Aコンバータ6jに送られる(図2の
ステップF4参照)。すると、この電流値信号に基づい
てPFモータ1が起動され、位置偏差が零となるように
制御される(図2のステップF5参照)。
[0055] The absolute value of the positional deviation is in the case of less than the predetermined value N 1, and further determines the absolute value is a predetermined value N 2 or less whether or not the current value signal generator 6p (see step F3 in FIG. 2) , in the case of less than the predetermined value N 2 terminates the control.
If the absolute value of the positional deviation exceeds a predetermined value N 2, the current value signal the positional deviation becomes zero is sent from the current value signal generating part 6p to the D / A converter 6j (step of FIG. 2 F4 reference). Then, the PF motor 1 is started based on the current value signal, and is controlled so that the position deviation becomes zero (see step F5 in FIG. 2).

【0056】これにより、印字の原点位置が、変位する
前の位置に戻ることが可能となり、正確な位置で印字を
行うことができる。
As a result, the origin position of printing can return to the position before the displacement, and printing can be performed at an accurate position.

【0057】なお、上記実施の形態では、電流値信号発
生部6pは減算器6bの出力に基づいて動作したが、位
置カウンタ6aの出力に基づいて動作するように構成し
ても良い。
Although the current value signal generator 6p operates based on the output of the subtractor 6b in the above embodiment, it may be configured to operate based on the output of the position counter 6a.

【0058】なお、上記実施の形態では、位置偏差の絶
対値が所定値Nを超えている場合には、排紙処理を行
ったが、排紙処理を行わないで、変位した点を原点とし
て印字を行うようにしても良い。
[0058] In the above embodiment, when the absolute value of the positional deviation exceeds a predetermined value N 1 is performed discharge process, without performing the discharge process, the origin point displaced Alternatively, the printing may be performed.

【0059】また、上記実施の形態では、まず位置偏差
の絶対値を所定値Nと比較し、その後に所定値N
比較したが、最初に所定値Nと比較し、その後に所定
値N と比較するようにしても良い。この場合のフロー
チャートを図10に示す。この図10に示すフローチャ
ートは図2に示すフローチャートにおいて、ステップF
1とステップF2の順序を入れ換えた構成となってい
る。
In the above embodiment, first, the position deviation
Is the predetermined value N1And then a predetermined value N2When
Were compared, first the predetermined value N2And then
Value N 1You may make it compare with. Flow in this case
The chart is shown in FIG. The flow chart shown in FIG.
In the flowchart shown in FIG.
1 and the order of step F2 are interchanged.
You.

【0060】また上記実施の形態ではPFモータ1がD
Cモータである場合を例にとって説明したが、本発明は
これに限定されるものではなくPFモータがACモータ
である場合も同様の効果を有することは云うまでもな
い。
In the above embodiment, the PF motor 1
Although the case where the motor is a C motor has been described as an example, the present invention is not limited to this. Needless to say, the same effect can be obtained when the PF motor is an AC motor.

【0061】[0061]

【発明の効果】以上説明したように本発明によれば、P
Fモータの停止後に印字の原点位置が変位しても元に戻
すことが可能となり、可及的に正確な位置で印字を行う
ことができる。
As described above, according to the present invention, P
Even if the origin position of printing is displaced after the stop of the F motor, it can be returned to the original position, and printing can be performed at a position as accurate as possible.

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

【図1】本発明による印刷制御装置の一実施の形態の構
成を示すブロック図。
FIG. 1 is a block diagram illustrating a configuration of a print control apparatus according to an embodiment of the present invention.

【図2】本発明の実施の形態の動作を説明するフローチ
ャート。
FIG. 2 is a flowchart illustrating the operation of the embodiment of the present invention.

【図3】インクジェットプリンタの概略の構成を示す構
成図。
FIG. 3 is a configuration diagram illustrating a schematic configuration of an inkjet printer.

【図4】キャリッジ周辺の構成を示す斜視図。FIG. 4 is a perspective view showing a configuration around a carriage.

【図5】リニア式エンコーダの構成を示す模式図。FIG. 5 is a schematic diagram showing a configuration of a linear encoder.

【図6】エンコーダの出力パルスの波形図。FIG. 6 is a waveform diagram of an output pulse of an encoder.

【図7】紙検出センサの位置を説明するプリンタの概略
の斜視図。
FIG. 7 is a schematic perspective view of the printer for explaining the position of a paper detection sensor.

【図8】従来の印刷制御装置の構成を示すブロック図。FIG. 8 is a block diagram illustrating a configuration of a conventional print control apparatus.

【図9】従来の印刷制御装置の速度制御を説明するタイ
ミングチャート。
FIG. 9 is a timing chart illustrating speed control of a conventional print control device.

【図10】本発明の実施の形態の変形例の動作を説明す
るフローチャート。
FIG. 10 is a flowchart illustrating an operation of a modification of the embodiment of the present invention.

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

1 紙送りモータ(PFモータ) 2 紙送りモータドライバ 3 キャリッジ 4 キャリッジモータ(CRモータ) 5 キャリッジモータドライバ(CRモータドライバ) 6 DCユニット 6a 位置カウンタ 6b 減算器 6c 目標速度演算手段 6d 速度演算部 6e 減算器 6f 比例要素 6g 積分要素 6h 微分要素 6j D/Aコンバータ 6k タイマ 6m 加速制御部 6p 電流値信号発生部 6q 排紙処理部 7 ポンプモータ 8 ポンプモータドライバ 9 記録ヘッド 10 ヘッドドライバ 11 リニア式エンコーダ 12 符号板 13 エンコーダ(ロータリ式エンコーダ) 15 紙検出センサ 16 CPU 17 タイマIC 18 ホストコンピュータ 19 インタフェース部 20 ASIC 21 PROM 22 RAM 23 EEPROM 25 プラテン 30 プーリ 31 タイミングベルト 32 キャリッジモータのガイド部材 34 インクカートリッジ 35 キャッピング装置 36 ポンプユニット 37 キャップ 50 記録紙 90 送り量修正演算部 1 Paper feed motor (PF motor) 2 Paper feed motor driver 3 Carriage 4 Carriage motor (CR motor) 5 Carriage motor driver (CR motor driver) 6 DC unit 6a Position counter 6b Subtractor 6c Target speed calculator 6d Speed calculator 6e Subtractor 6f Proportional element 6g Integral element 6h Differential element 6j D / A converter 6k Timer 6m Acceleration controller 6p Current value signal generator 6q Discharge processor 7 Pump motor 8 Pump motor driver 9 Recording head 10 Head driver 11 Linear encoder DESCRIPTION OF SYMBOLS 12 Code board 13 Encoder (rotary encoder) 15 Paper detection sensor 16 CPU 17 Timer IC 18 Host computer 19 Interface unit 20 ASIC 21 PROM 22 RAM 23 EEPROM 25 Plate 30 a pulley 31 a timing belt 32 a carriage motor of the guide member 34 ink cartridge 35 capping device 36 the pump unit 37 cap 50 paper 90 feeding amount corrected calculation unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】紙送りモータの回転に従って回転するエン
コーダの出力パルスに基づいて前記紙送りモータによっ
て駆動される紙の位置を検出する位置検出部と、前記紙
の送り量の目標値と前記位置検出部の出力とに基づいて
前記紙送りモータに電流値を付加して、前記紙送りモー
タを駆動制御する駆動制御部とを備えた印刷制御装置に
おいて、 前記紙送りモータが停止しているときに、前記紙の送り
量の目標値と前記位置検出部の出力との偏差の絶対値が
第1の所定値と、この第1の所定値よりも小さい第2の
所定値との間の範囲内にあるか否かを判定し、前記範囲
内にある場合には前記偏差が零となる電流値信号を発生
する電流値信号発生部と、 を備え、 前記駆動制御部は前記電流値信号に基づいて前記紙送り
モータを制御することを特徴とする印刷制御装置。
A position detecting section for detecting a position of a paper driven by the paper feed motor based on an output pulse of an encoder which rotates according to a rotation of the paper feed motor; a target value of the paper feed amount and the position; A drive control unit that adds a current value to the paper feed motor based on the output of the detection unit and controls the drive of the paper feed motor, wherein the paper feed motor is stopped. A range in which the absolute value of the deviation between the target value of the paper feed amount and the output of the position detection unit is between a first predetermined value and a second predetermined value smaller than the first predetermined value. And a current value signal generation unit that generates a current value signal in which the deviation becomes zero when the current value signal is within the range. Controlling the paper feed motor based on the Print control apparatus according to.
【請求項2】前記紙の排紙を行う排紙処理部を更に備
え、 前記電流値信号発生部は前記偏差の絶対値が前記第1の
所定値を超えている場合に前記排紙処理部に排紙指令を
送り、排紙処理を行わせることを特徴とする請求項1記
載の印刷制御装置。
2. The apparatus according to claim 1, further comprising: a discharge processing unit configured to discharge the paper, wherein the current value signal generation unit is configured to control the discharge processing unit when an absolute value of the deviation exceeds the first predetermined value. 2. The print control apparatus according to claim 1, wherein a paper discharge command is sent to the printer to perform a paper discharge process.
【請求項3】前記駆動制御部はPID制御部を備えてい
ることを特徴とする請求項1乃至2のいずれかに記載の
印刷制御装置。
3. The printing control device according to claim 1, wherein the drive control unit includes a PID control unit.
【請求項4】紙送りモータが停止しているときに、前回
の起動時の紙の送り量の目標値と、 前記紙送りモータの回転に従って回転するエンコーダの
出力パルスに基づいて演算された前記紙の実際の送り量
との偏差を求めるステップと、 前記偏差の絶対値が第1の所定値とこの第1の所定値よ
りも小さい第2の所定値との間の範囲内にあるか否かを
判定するステップと、 前記偏差の絶対値が前記範囲内にある場合に前記偏差が
零となる電流値信号を発生するステップと、 前記電流値信号に基づいて前記紙送りモータを制御する
ステップと、 を備えたことを特徴とする印刷制御方法。
4. The method according to claim 1, wherein when the paper feed motor is stopped, the target value of the paper feed amount at the time of the previous start and the output pulse of the encoder rotating according to the rotation of the paper feed motor are calculated. Determining a deviation from the actual paper feed amount; and determining whether an absolute value of the deviation is within a range between a first predetermined value and a second predetermined value smaller than the first predetermined value. Determining, whether the absolute value of the deviation is within the range, generating a current value signal in which the deviation becomes zero, and controlling the paper feed motor based on the current value signal And a printing control method comprising:
【請求項5】前記偏差の絶対値が前記第1の所定値を超
えている場合に前記紙の排紙処理を行うステップを更に
備えたことを特徴とする請求項4記載の制御方法。
5. The control method according to claim 4, further comprising the step of: performing a sheet discharging process when the absolute value of the deviation exceeds the first predetermined value.
JP36801999A 1999-08-31 1999-12-24 Print control apparatus and print control method Expired - Fee Related JP3849908B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP36801999A JP3849908B2 (en) 1999-12-24 1999-12-24 Print control apparatus and print control method
US09/651,096 US6967729B1 (en) 1999-08-31 2000-08-30 Control unit and method for controlling motor for use in printer, and storage medium storing control program
AT00307475T ATE257087T1 (en) 1999-08-31 2000-08-31 CONTROL UNIT AND METHOD FOR CONTROLLING A MOTOR FOR A PRINTER AND STORAGE MEDIUM STORING A CONTROL PROGRAM
EP00307475A EP1080928B1 (en) 1999-08-31 2000-08-31 Control unit and method for controlling motor for use in printer, and storage medium storing control program
DE60007491T DE60007491T2 (en) 1999-08-31 2000-08-31 Control unit and method for controlling a motor for a storage medium storing a printer and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36801999A JP3849908B2 (en) 1999-12-24 1999-12-24 Print control apparatus and print control method

Publications (3)

Publication Number Publication Date
JP2001180054A true JP2001180054A (en) 2001-07-03
JP2001180054A5 JP2001180054A5 (en) 2004-10-28
JP3849908B2 JP3849908B2 (en) 2006-11-22

Family

ID=18490776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36801999A Expired - Fee Related JP3849908B2 (en) 1999-08-31 1999-12-24 Print control apparatus and print control method

Country Status (1)

Country Link
JP (1) JP3849908B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008092057A (en) * 2006-09-29 2008-04-17 Seiko Epson Corp Image reading apparatus and image reading method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008092057A (en) * 2006-09-29 2008-04-17 Seiko Epson Corp Image reading apparatus and image reading method

Also Published As

Publication number Publication date
JP3849908B2 (en) 2006-11-22

Similar Documents

Publication Publication Date Title
US6747429B2 (en) Print control system, print control method, and recording medium having recorded print control program
JP4457456B2 (en) Printing device
US6877837B1 (en) Control unit and method for controlling motor for use in printer, and storage medium storing control program
JP3859115B2 (en) Printer motor control apparatus, control method, and recording medium recording control program
JP3832174B2 (en) Motor control device and control method
JP3570617B2 (en) DC motor control device and control method
JP3780804B2 (en) Motor control device and control method
US6967729B1 (en) Control unit and method for controlling motor for use in printer, and storage medium storing control program
US7431414B2 (en) Printer-control apparatus, printer-control method and printer
JP3705061B2 (en) MOTOR CONTROL DEVICE, ITS CONTROL METHOD, AND RECORDING MEDIUM CONTAINING MOTOR CONTROL PROGRAM
JP3893853B2 (en) Printer motor control apparatus and control method
JP3849908B2 (en) Print control apparatus and print control method
JP3871181B2 (en) PRINT CONTROL DEVICE, CONTROL METHOD, AND RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM
JP2003079172A (en) Motor control device and printer
JP3777936B2 (en) Motor control method and control apparatus
JP2003023783A (en) Motor control method, motor control device, printer, computer program, and computer system
JP4432055B2 (en) Printer motor control apparatus and control method
JP3900401B2 (en) DC motor control method and control apparatus
JP3812283B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, AND RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM
JP2005200222A (en) PRINT CONTROL DEVICE, CONTROL METHOD, AND RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM
JP3812351B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, AND RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM
JP3780768B2 (en) Print control apparatus and print control method
JP2001078475A (en) Motor control device and control method
JP2003023787A (en) Motor driving method, motor driving device, printer, computer program, and computer system
JP2002283559A (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, AND RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050912

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051014

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051205

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060824

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090908

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100908

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100908

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110908

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120908

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130908

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees