JP2003276258A - Printer controller and method of controlling printer - Google Patents

Printer controller and method of controlling printer

Info

Publication number
JP2003276258A
JP2003276258A JP2002079084A JP2002079084A JP2003276258A JP 2003276258 A JP2003276258 A JP 2003276258A JP 2002079084 A JP2002079084 A JP 2002079084A JP 2002079084 A JP2002079084 A JP 2002079084A JP 2003276258 A JP2003276258 A JP 2003276258A
Authority
JP
Japan
Prior art keywords
measurement
execution
paper
paper feed
selection
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
JP2002079084A
Other languages
Japanese (ja)
Other versions
JP3997511B2 (en
JP2003276258A5 (en
Inventor
Tetsuji Takeishi
石 徹 司 武
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 JP2002079084A priority Critical patent/JP3997511B2/en
Publication of JP2003276258A publication Critical patent/JP2003276258A/en
Publication of JP2003276258A5 publication Critical patent/JP2003276258A5/ja
Application granted granted Critical
Publication of JP3997511B2 publication Critical patent/JP3997511B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)
  • Controlling Sheets Or Webs (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printer controller that can perform a PF measurement operation corresponding to attaching or detaching of an optional device which may cause a fluctuation of a paper-feeding load in order to precisely control a paper feed motor for driving a paper feed mechanism of a printer even in the case where an amount of fed paper at one time is small and to provide a method of controlling the printer. <P>SOLUTION: In this printer controller and the method of controlling the printer, selection of performing or not performing the PF measurement operation for measuring the current of the motor corresponding to the paper-feeding driving load in the driving of the constant speed of the paper feed motor in response to detection of the attaching or detaching of the optional device to or from the printer body is instructed. An operation necessary for the PF measurement is instructed to be performed corresponding to the selection of the PF measurement operation. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタ制御装置
及びプリンタ制御方法に係り、特に、紙送り機構を駆動
する紙送りモータを、一回の紙送り量が小さい場合にお
いても高精度に制御すべく、定速駆動動作時のモータ駆
動負荷に応じたモータ電流を測定し、さらに、そのモー
タ電流の平均値を算出するPF(紙送り)メジャーメン
トを、紙送り負荷が変動し得るオプション機器の着脱に
応じて実行可能とするプリンタ制御装置及びプリンタ制
御方法に関する。また、そのプリンタ制御方法を実行す
るコンピュータプログラムを記録した記録媒体に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer control device and a printer control method, and more particularly, to controlling a paper feed motor for driving a paper feed mechanism with high accuracy even when the amount of paper fed at one time is small. Therefore, the PF (paper feed) measurement, which measures the motor current according to the motor drive load during constant-speed drive operation and calculates the average value of the motor current, is used for optional equipment that can vary the paper feed load. The present invention relates to a printer control device and a printer control method that can be executed according to attachment / detachment. Further, the present invention relates to a recording medium recording a computer program that executes the printer control method.

【0002】[0002]

【従来の技術】プリンタ制御装置及びプリンタ制御方法
においては、紙送り機構を駆動する紙送りモータを、一
回の紙送り量が小さい場合においても高精度に制御すべ
く、電源をオンにする際に、定速駆動動作時のモータ駆
動負荷に応じたモータ電流を測定し、さらに、そのモー
タ電流の平均値を算出するPF(紙送り)メジャーメン
トが、従来より行われている。
2. Description of the Related Art In a printer control device and a printer control method, when a power supply is turned on in order to control a paper feed motor for driving a paper feed mechanism with high accuracy even when the amount of paper fed at one time is small. In addition, PF (paper feed) measurement has been conventionally performed to measure a motor current according to a motor drive load during a constant speed drive operation and further calculate an average value of the motor current.

【0003】通常のプリンタにおいては、紙送り動作の
ためのモータ駆動の開始直後は、オープンループ制御に
よる加速制御が行われ、その後、モータ速度が定速駆動
動作の速度に近づくとPID制御に切り替えられて、モ
ータの定速駆動制御が行われる。
In a normal printer, acceleration control by open loop control is performed immediately after the motor driving for paper feeding operation is started, and then PID control is performed when the motor speed approaches the speed of constant speed driving operation. Then, the constant speed drive control of the motor is performed.

【0004】PID制御の下では、モータ電流Iの積分
値が順次蓄積されており、モータ電流Iの積分値はモー
タ駆動負荷に比例するので、モータ駆動負荷の大きさが
常時測定され、それに応じた適当なモータ電流Iの制御
が行われる。従って、PID制御期間中にモータ電流I
の値が外乱等により変動しても、蓄積したモータ電流I
の積分値を用いて補正を行うことができるので、高精度
な制御が可能である。
Under the PID control, the integral value of the motor current I is sequentially accumulated, and the integral value of the motor current I is proportional to the motor driving load. Further, the appropriate control of the motor current I is performed. Therefore, during the PID control period, the motor current I
Even if the value of fluctuates due to disturbance or the like, the accumulated motor current I
Since the correction can be performed using the integrated value of, high-precision control is possible.

【0005】一方、オープンループ制御の下では、モー
タ電流Iの積分値の蓄積は行われない。従って、オープ
ンループ制御期間中にモータ電流Iの値が外乱等により
変動しても、モータ電流Iの積分値を用いて補正を行う
ことはできない。そのため、駆動開始直後のオープンル
ープ制御期間中は、モータ電流の大きさに誤差が生じや
すく、高精度に制御することが困難である。
On the other hand, under the open loop control, the integrated value of the motor current I is not stored. Therefore, even if the value of the motor current I fluctuates due to disturbance or the like during the open loop control period, the correction cannot be performed using the integrated value of the motor current I. Therefore, during the open-loop control period immediately after the start of driving, an error is likely to occur in the magnitude of the motor current, and it is difficult to control with high accuracy.

【0006】一回の紙送り量が大きい場合には、その駆
動動作の終端までの間に、制御方法がオープンループ制
御からPID制御に切り替わるので、モータ電流の大き
さに多少の誤差が生じても、蓄積したモータ電流Iの積
分値を用いて補正を行うことにより、正確な位置決めを
行うことが比較的容易である。
When the paper feed amount per one time is large, the control method is switched from the open loop control to the PID control until the end of the driving operation, so that there is some error in the magnitude of the motor current. However, it is relatively easy to perform accurate positioning by performing correction using the accumulated integral value of the motor current I.

【0007】これに対し、一回の紙送り量が小さい場合
には、ほとんどオープンループ制御のみでその駆動動作
の終端に達してしまう。従って、駆動開始直後のモータ
電流の大きさに誤差が生じると、その駆動動作の終端ま
での時間及び距離が短い上に、モータ電流Iの積分値を
用いて補正を行うこともできないので、正確な位置決め
を行うことが困難である。
On the other hand, when the paper feed amount per time is small, the end of the driving operation is reached by almost only the open loop control. Therefore, if there is an error in the magnitude of the motor current immediately after the start of driving, the time and distance to the end of the driving operation are short, and the integrated value of the motor current I cannot be used for correction. It is difficult to perform accurate positioning.

【0008】そこで、上述のように、プリンタの電源を
オンにする度に、予め、紙送りモータの定速度駆動時に
おける紙送り駆動負荷に応じたモータ電流を測定し、さ
らに、そのモータ電流の積分値からモータ電流の平均値
を算出することにより、間接的に紙送り駆動負荷を測定
するPFメジャーメントが、行われている。
Therefore, as described above, every time the power of the printer is turned on, the motor current according to the paper feed drive load during the constant speed drive of the paper feed motor is measured in advance, and the motor current The PF measurement is performed to indirectly measure the paper feed drive load by calculating the average value of the motor current from the integrated value.

【0009】このPFメジャーメントは、プリンタの電
源がオンになったときに、紙送り駆動動作を行い、その
駆動動作のためのモータ電流を測定し、さらに、そのモ
ータ電流の積分値を積算して、モータ電流の平均値を算
出することにより、間接的に紙送り機構の駆動負荷を測
定する。尚、紙送り機構の駆動負荷測定の際には、紙送
り機構部内に紙が挿入されていない状態、即ち、紙送り
機構部が空の状態であってもよいし、紙送り機構部内に
紙が挿入されている状態であってもよい。算出したモー
タ電流の平均値は、プリンタに備えられたメモリに記憶
保持する。また、プリンタに備えられたメモリには、紙
送り機構部内に紙が挿入されることによる負荷、即ち、
挿入された紙の存在のみに起因する紙送り機構の駆動負
荷が、それに対応するモータ電流の電流値に変換され
て、オフセット値として記憶保持されている。モータ電
流の平均値を記憶するメモリと、オフセット値を記憶す
るメモリとは、同一のメモリであってもよいし、別個の
メモリであってもよい。
This PF measurement performs a paper feed drive operation when the printer power is turned on, measures the motor current for the drive operation, and further integrates the integrated value of the motor current. Then, the drive load of the paper feed mechanism is indirectly measured by calculating the average value of the motor current. When measuring the drive load of the paper feed mechanism, the paper may not be inserted in the paper feed mechanism, that is, the paper feed mechanism may be empty, or the paper may not be inserted in the paper feed mechanism. May be inserted. The average value of the calculated motor current is stored and held in the memory provided in the printer. Further, in the memory provided in the printer, the load due to the paper being inserted into the paper feed mechanism, that is,
The drive load of the paper feed mechanism caused only by the presence of the inserted paper is converted into a corresponding motor current value and stored as an offset value. The memory that stores the average value of the motor current and the memory that stores the offset value may be the same memory or different memories.

【0010】以上のようなPFメジャーメントにより得
られたモータ電流の平均値は、その後に行われる紙送り
駆動動作のうち、一回の紙送り量が小さく、PID制御
を行うに至らない駆動動作の際に用いられる。尚、紙送
り機構部内に紙が挿入されている状態で行ったPFメジ
ャーメントにより得られたモータ電流の平均値は、オフ
セット値を用いることなく、単独で用いられる。一方、
紙送り機構部内に紙が挿入されていない状態で行ったP
Fメジャーメントにより得られたモータ電流の平均値
は、オフセット値とともに用いられる。それにより、一
回の紙送り量が小さい場合においても、制御精度を向上
させ、正確な位置決めを行うことが可能となる。
The average value of the motor current obtained by the PF measurement as described above is a driving operation which does not lead to PID control because the paper feeding amount per time is small among the paper feeding driving operations performed thereafter. Used in the case of. It should be noted that the average value of the motor current obtained by the PF measurement performed while the paper is inserted in the paper feed mechanism is used alone without using the offset value. on the other hand,
P performed when no paper is inserted in the paper feed mechanism
The average value of the motor current obtained by F measurement is used together with the offset value. This makes it possible to improve control accuracy and perform accurate positioning even when the amount of paper fed once is small.

【0011】従来のPFメジャーメントは、プリンタの
電源がオンになる度に、行われる。プリンタの電源がオ
ンになる度にPFメジャーメントを行う理由は、紙送り
機構の駆動負荷が、種々の条件により変動するからであ
る。例えば、工場から出荷される際のプリンタの紙送り
機構の駆動負荷は比較的大きいが、ある程度使用されて
慣らしが進むと駆動負荷は小さくなってくる。また、環
境温度が低いときは駆動負荷が大きく、高いときは駆動
負荷が小さくなる。その他、紙送り機構において用いら
れている潤滑油の量及び劣化状態、紙送り機構を構成す
る各回転軸の摩耗状態等、様々な条件によって駆動負荷
は変動し、極端な場合、その最大値が最小値の2倍に達
することもある。
The conventional PF measurement is performed every time the printer is powered on. The reason why the PF measurement is performed every time the power of the printer is turned on is that the drive load of the paper feeding mechanism changes due to various conditions. For example, the drive load of the paper feeding mechanism of the printer when shipped from the factory is relatively large, but the drive load becomes smaller when the printer is used to some extent and the running-in progresses. Further, when the environmental temperature is low, the driving load is large, and when it is high, the driving load is small. In addition, the drive load fluctuates due to various conditions such as the amount and deterioration of the lubricating oil used in the paper feed mechanism, the wear state of each rotating shaft that makes up the paper feed mechanism, and in extreme cases, the maximum value is It may reach twice the minimum value.

【0012】そこで、従来は、プリンタの電源がオンに
なる度にPFメジャーメントを行い、その都度算出され
た最適なモータ電流の平均値を用いて、高精度な紙送り
駆動制御を実現していた。
Therefore, conventionally, PF measurement is performed every time the power of the printer is turned on, and the average value of the optimum motor current calculated each time is used to realize highly accurate paper feed drive control. It was

【0013】[0013]

【発明が解決しようとする課題】しかし、従来のプリン
タ制御装置及びプリンタ制御方法によるPFメジャーメ
ントは、プリンタの電源がオンになる際にしか行われな
いために、以下のような問題が生じている。
However, since the PF measurement by the conventional printer control device and printer control method is performed only when the power of the printer is turned on, the following problems occur. There is.

【0014】プリンタは、広く普及するのに伴い、様々
な用途にオプション機器と共に使用されるようになって
きている。例えば、ディジタルカメラにより撮影した画
像等を印刷する際に、帯状印刷紙がロール状に巻回され
たロール紙を使用する場合には、印刷後に帯状印刷紙を
画像ごとに切り離す必要がある。印刷紙の切り離しはユ
ーザの手により行われることもあるが、カッターを専用
の筐体に内蔵させたカッター内蔵筐体をオプション機器
としてプリンタ本体に装着して自動的に印刷紙を切断す
ることが可能な機種も普及してきている。
As printers have become widespread, they have come to be used together with optional equipment for various purposes. For example, when using a roll paper in which a strip-shaped printing paper is wound in a roll when printing an image captured by a digital camera, it is necessary to separate the strip-shaped printing paper for each image after printing. The print paper may be cut off by the user's hand, but it is possible to automatically cut the print paper by installing the cutter built-in housing in which the cutter is built into the printer as an optional device. Possible models are becoming popular.

【0015】ところで、カッター内蔵筐体に代表される
オプション機器の中には、プリンタ本体の紙送り機構を
駆動する紙送りモータの駆動力を利用して動作するもの
がある。例えば、上述のカッター内蔵筐体は、紙送りモ
ータの駆動力を利用してカッターを駆動することにより
自動的に印刷紙を切断する。その他、複数種類の印刷紙
を常時使用可能とするために、任意の種類及びサイズの
印刷紙が装填されてプリンタ本体に装着される増設給紙
トレイのなかにも、トレイ内からの給紙を行う給紙機構
がプリンタ本体の紙送りモータの駆動力を利用するもの
がある。
By the way, some optional devices represented by a housing with a built-in cutter operate by utilizing the driving force of a paper feed motor for driving the paper feed mechanism of the printer body. For example, the above-mentioned housing with a built-in cutter automatically cuts the printing paper by driving the cutter using the driving force of the paper feed motor. In addition, in order to make it possible to use multiple types of printing paper at all times, paper can be fed from within the additional paper feeding tray loaded with printing paper of any type and size and installed in the printer body. There is a paper feed mechanism that uses the driving force of the paper feed motor of the printer body.

【0016】ところが、プリンタ本体に装着されるオプ
ション機器においてプリンタ本体の紙送りモータの駆動
力を利用することにより、紙送り機構の駆動負荷及びそ
れに対応するモータ電流の電流値が変動することとな
る。その結果、紙送り駆動制御に使用されるモータ電流
の平均値と、実際の駆動負荷に応じたモータ電流の電流
値との差が大きくなり、紙送り駆動制御の精度が低下す
るという問題が発生する。
However, by utilizing the driving force of the paper feed motor of the printer body in the optional equipment mounted on the printer body, the drive load of the paper feed mechanism and the corresponding motor current value fluctuate. . As a result, the difference between the average value of the motor current used for paper feed drive control and the current value of the motor current according to the actual drive load becomes large, and the accuracy of paper feed drive control decreases. To do.

【0017】また、プリンタ本体にオプション機器を装
着した状態でPFメジャーメントを実行し、紙送り制御
の最適化を図った後に、当該オプション機器をプリンタ
本体から離脱させた場合にも同様の問題が発生する。
The same problem occurs when the PF measurement is executed with the optional equipment mounted on the printer body to optimize the paper feed control and then the optional equipment is detached from the printer body. Occur.

【0018】本発明は上記問題点に鑑みてなされたもの
で、その目的は、種々の環境で使用されるプリンタの紙
送り機構を駆動する紙送りモータを、一回の紙送り量が
小さい場合も含めて高精度に制御すべく、紙送り負荷が
変動し得るオプション機器の着脱に応じてPFメジャー
メントを実行可能とするプリンタ制御装置及びプリンタ
制御方法を提供することである。
The present invention has been made in view of the above problems, and an object of the present invention is to provide a paper feed motor for driving a paper feed mechanism of a printer used in various environments with a small paper feed amount. It is an object of the present invention to provide a printer control device and a printer control method capable of executing PF measurement in accordance with attachment / detachment of an optional device whose paper feed load may fluctuate in order to control with high precision including the above.

【0019】[0019]

【課題を解決するための手段】本発明に係るプリンタ制
御装置によれば、プリンタ本体に対するオプション機器
の着脱を検出するオプション機器着脱検出器と、前記オ
プション機器の着脱の検出に応じて、紙送りモータの定
速度駆動時における紙送り駆動負荷に応じたモータ電流
の測定を行うPFメジャーメントの実行又は不実行の選
択を指令するPFメジャーメント選択指令部と、前記P
Fメジャーメントの実行の選択に応じて、前記PFメジ
ャーメントに必要な動作を指令し、実行するPFメジャ
ーメント指令実行部と、を備えていることを特徴とす
る。
According to the printer control apparatus of the present invention, an optional device attachment / detachment detector for detecting attachment / detachment of an optional device to / from a printer body, and a paper feed according to the detection of attachment / detachment of the optional device. A PF measurement selection command section for instructing a selection of execution or non-execution of a PF measurement for measuring a motor current according to a paper feed drive load when the motor is driven at a constant speed;
A PF measurement command execution unit for instructing and executing an operation required for the PF measurement according to the selection of execution of the F measurement.

【0020】本発明に係るプリンタ制御方法によれば、
プリンタ本体に対するオプション機器の着脱の検出に応
じて、紙送りモータの定速度駆動時における紙送り駆動
負荷に応じたモータ電流の測定を行うPFメジャーメン
トの実行又は不実行の選択を指令し、かつ、前記PFメ
ジャーメントの実行の選択に応じて、前記PFメジャー
メントに必要な動作を指令し、実行することを特徴とす
る。
According to the printer control method of the present invention,
According to the detection of the attachment / detachment of the optional device to / from the printer main body, the execution or non-execution of the PF measurement for instructing the measurement of the motor current according to the paper feed drive load during the constant speed drive of the paper feed motor is instructed, and , The operation required for the PF measurement is instructed and executed according to the selection of execution of the PF measurement.

【0021】前記オプション機器は、プリンタ本体に対
する着脱により、プリンタ本体の紙送り機構を駆動する
紙送りモータの駆動負荷及びそれに対応するモータ電流
の電流値を変動させ得るものとするとよい。
It is preferable that the optional device be capable of changing the drive load of the paper feed motor for driving the paper feed mechanism of the printer body and the current value of the corresponding motor current by being attached to or detached from the printer body.

【0022】前記オプション機器は、印刷紙を切断する
カッターを専用の筐体に内蔵させたカッター内蔵筐体で
あるものとするとよい。また、前記オプション機器は、
装填された印刷紙を給紙するための給紙トレイであるも
のとしてもよい。
The optional equipment may be a cutter built-in housing in which a cutter for cutting printing paper is built in a dedicated housing. Also, the optional equipment is
It may be a paper feed tray for feeding the loaded printing paper.

【0023】前記PFメジャーメントは、さらに、前記
モータ電流の平均値の算出を行うものとするとよい。
It is preferable that the PF measurement further calculates an average value of the motor current.

【0024】上記構成により、本発明に係るプリンタ制
御装置及びプリンタ制御方法は、オプション機器の着脱
を検出してPFメジャーメントの実行又は不実行の選択
の機会を設け、オプション機器の着脱に起因する紙送り
負荷の変動が発生した場合においても、常に最適化され
た紙送り制御を実現して、プリンタの紙送り機構を駆動
する紙送りモータを、一回の紙送り量が小さい場合も含
めて高精度に制御することが可能となる。
With the above configuration, the printer control apparatus and the printer control method according to the present invention detect the attachment / detachment of an optional device and provide an opportunity to select whether to execute or not execute the PF measurement. Even when the paper feed load fluctuates, the paper feed motor that always realizes optimized paper feed control and drives the paper feed mechanism of the printer is included, even when the amount of paper feed at one time is small. It becomes possible to control with high accuracy.

【0025】本発明の具体的な第1の構成に係るプリン
タ制御装置によれば、プリンタ本体に対するオプション
機器の着脱を検出するオプション機器着脱検出器と、前
記オプション機器の着脱の検出に応じて、紙送りモータ
の定速度駆動時における紙送り駆動負荷に応じたモータ
電流の測定を行うPFメジャーメントの実行又は不実行
の選択を指令するPFメジャーメント選択指令部と、前
記PFメジャーメントの実行又は不実行の選択指令に対
し、前記PFメジャーメントの実行又は不実行の選択を
入力する選択入力部と、前記PFメジャーメントの実行
の選択に応じて、紙送り機構部が、所定範囲内の厚さの
印刷紙の紙送りを行うためのニップ状態となっている
か、又は、所定範囲を超える厚さの印刷紙の紙送りを行
うためのレリース状態となっているかを検出するレリー
ス検出器と、前記PFメジャーメントの実行の選択に応
じて、紙送り機構部内に印刷紙が存在するか否かを検出
するペーパーエンド検出器と、前記PFメジャーメント
の実行の選択、並びに、ニップ状態の検出及び紙送り機
構部内における印刷紙の有無の検出に応じて、前記PF
メジャーメントに必要な動作を指令し、実行するPFメ
ジャーメント指令実行部と、前記PFメジャーメントの
過程において算出される前記モータ電流の積分値を順次
蓄積保存するメモリと、を備えていることを特徴とす
る。
According to the printer control apparatus of the first specific configuration of the present invention, the optional device attachment / detachment detector for detecting attachment / detachment of the optional device to / from the printer body, and the attachment / detachment detection of the optional device are detected. A PF measurement selection command section for instructing the execution or non-execution of the PF measurement for measuring the motor current according to the paper feed drive load when the paper feed motor is driven at a constant speed, and the execution or execution of the PF measurement. In response to the non-execution selection command, the selection input unit for inputting the execution or non-execution of the PF measurement, and the paper feed mechanism unit according to the selection of the execution of the PF measurement, Is in a nip state for feeding the printing paper of the above size, or a release shape for feeding the printing paper of a thickness exceeding a predetermined range. And a paper end detector for detecting whether or not printing paper is present in the paper feed mechanism unit according to the selection of execution of the PF measurement, and the PF measurement. The PF is selected according to the selection of execution of the PF, the detection of the nip state, and the detection of the presence or absence of the printing paper in the paper feeding mechanism section.
A PF measurement command execution unit for instructing and executing an operation required for measurement; and a memory for sequentially accumulating and storing the integral value of the motor current calculated in the process of the PF measurement. Characterize.

【0026】本発明の具体的な第2の構成に係るプリン
タ制御装置によれば、電源がオンになったことを検出す
る電源オン検出器と、プリンタ本体に対するオプション
機器の着脱を検出するオプション機器着脱検出器と、前
記オプション機器の着脱の検出に応じて、紙送りモータ
の定速度駆動時における紙送り駆動負荷に応じたモータ
電流の測定を行うPFメジャーメントの実行又は不実行
の選択を指令するPFメジャーメント選択指令部と、前
記PFメジャーメントの実行又は不実行の選択指令に対
し、前記PFメジャーメントの実行又は不実行の選択を
入力する選択入力部と、電源オンの検出又は前記PFメ
ジャーメントの実行の選択に応じて、紙送り機構部が、
所定範囲内の厚さの印刷紙の紙送りを行うためのニップ
状態となっているか、又は、所定範囲を超える厚さの印
刷紙の紙送りを行うためのレリース状態となっているか
を検出するレリース検出器と、電源オンの検出又は前記
PFメジャーメントの実行の選択に応じて、紙送り機構
部内に印刷紙が存在するか否かを検出するペーパーエン
ド検出器と、電源オンの検出又は前記PFメジャーメン
トの実行の選択、並びに、ニップ状態の検出及び紙送り
機構部内における印刷紙の有無の検出に応じて、前記P
Fメジャーメントに必要な動作を指令し、実行するPF
メジャーメント指令実行部と、前記PFメジャーメント
の過程において算出される前記モータ電流の積分値を順
次蓄積保存するメモリと、を備えていることを特徴とす
る。
According to the printer controller of the second specific configuration of the present invention, a power-on detector for detecting that the power is turned on, and an optional device for detecting attachment / detachment of the optional device to / from the printer body. Instructing the execution / non-execution of PF measurement, which measures the motor current according to the paper feed drive load when the paper feed motor is driven at a constant speed according to the attachment / detachment detector and the detection of attachment / detachment of the optional device. PF measurement selection command section, a selection input section for inputting selection of execution or non-execution of the PF measurement in response to the selection instruction of execution or non-execution of the PF measurement, detection of power-on or the PF Depending on the selection of execution of measurement, the paper feed mechanism part
Detects whether it is in the nip state for feeding printing paper with a thickness within the specified range or in the release state for feeding printing paper with a thickness exceeding the specified range. A release detector, a paper end detector for detecting whether or not printing paper is present in the paper feeding mechanism section according to selection of power-on detection or execution of the PF measurement, and power-on detection or According to the selection of the execution of the PF measurement, the detection of the nip state and the detection of the presence or absence of the printing paper in the paper feeding mechanism section, the P
PF that commands and executes necessary operations for F measurement
A measurement command execution unit and a memory for sequentially accumulating and storing the integral value of the motor current calculated in the process of the PF measurement are provided.

【0027】前記オプション機器は、プリンタ本体に対
する着脱により、プリンタ本体の紙送り機構を駆動する
紙送りモータの駆動負荷及びそれに対応するモータ電流
の電流値を変動させ得るものとするとよい。
It is preferable that the optional equipment can change the drive load of the paper feed motor for driving the paper feed mechanism of the printer main body and the current value of the corresponding motor current by being attached to or detached from the printer main body.

【0028】前記オプション機器は、印刷紙を切断する
カッターを専用の筐体に内蔵させたカッター内蔵筐体で
あるものとするとよい。また、前記オプション機器は、
装填された印刷紙を給紙するための給紙トレイであるも
のとしてもよい。
The optional equipment may be a cutter built-in housing in which a cutter for cutting the printing paper is built in a dedicated housing. Also, the optional equipment is
It may be a paper feed tray for feeding the loaded printing paper.

【0029】前記PFメジャーメントは、さらに、前記
モータ電流の平均値の算出を行うものであり、前記メモ
リは、さらに、前記PFメジャーメントにより算出され
た前記モータ電流の平均値を更新保存するものとすると
よい。
The PF measurement further calculates the average value of the motor current, and the memory further updates and stores the average value of the motor current calculated by the PF measurement. It is good to

【0030】本発明の具体的な第1の構成に係るプリン
タ制御方法によれば、プリンタ本体に対するオプション
機器の着脱を検出するオプション機器着脱検出ステップ
と、前記オプション機器の着脱の検出に応じて、紙送り
モータの定速度駆動時における紙送り駆動負荷に応じた
モータ電流の測定を行うPFメジャーメントの実行又は
不実行の選択を指令するPFメジャーメント選択指令ス
テップと、前記PFメジャーメントの実行又は不実行の
選択指令に対し、前記PFメジャーメントの実行又は不
実行の選択を入力する選択入力ステップと、前記PFメ
ジャーメントの実行の選択に応じて、紙送り機構部が、
所定範囲内の厚さの印刷紙の紙送りを行うためのニップ
状態となっているか、又は、所定範囲を超える厚さの印
刷紙の紙送りを行うためのレリース状態となっているか
を検出するレリース検出ステップと、前記PFメジャー
メントの実行の選択に応じて、紙送り機構部内に印刷紙
が存在するか否かを検出する印刷紙検出ステップと、前
記PFメジャーメントの実行の選択、並びに、ニップ状
態の検出及び紙送り機構部内における印刷紙の有無の検
出に応じて、前記PFメジャーメントに必要な動作を指
令し、実行するPFメジャーメント指令実行ステップ
と、前記PFメジャーメントの過程において算出される
前記モータ電流の積分値を順次蓄積保存する保存ステッ
プと、を備えていることを特徴とする。
According to the printer control method of the first specific configuration of the present invention, the optional device attachment / detachment detecting step of detecting attachment / detachment of the optional device to / from the printer body, and the attachment / detachment detection of the optional device are performed. A PF measurement selection command step for instructing the execution or non-execution of the PF measurement for measuring the motor current according to the paper feed drive load when the paper feed motor is driven at a constant speed; and the execution or execution of the PF measurement. In response to a selection instruction of non-execution, a paper input mechanism step of inputting selection of execution or non-execution of the PF measurement and selection of execution of the PF measurement,
Detects whether it is in the nip state for feeding printing paper with a thickness within the specified range or in the release state for feeding printing paper with a thickness exceeding the specified range. A release detection step, a printing paper detection step of detecting whether or not a printing paper exists in the paper feeding mechanism section according to the selection of execution of the PF measurement, a selection of execution of the PF measurement, and PF measurement command execution step of instructing and executing an operation required for the PF measurement according to the detection of the nip state and the detection of the presence or absence of the printing paper in the paper feeding mechanism section, and the calculation in the process of the PF measurement And a step of sequentially storing and storing the integrated value of the motor current.

【0031】本発明の具体的な第2の構成に係るプリン
タ制御方法によれば、電源がオンになったことを検出す
る電源オン検出ステップと、プリンタ本体に対するオプ
ション機器の着脱を検出するオプション機器着脱検出ス
テップと、前記オプション機器の着脱の検出に応じて、
紙送りモータの定速度駆動時における紙送り駆動負荷に
応じたモータ電流の測定を行うPFメジャーメントの実
行又は不実行の選択を指令するPFメジャーメント選択
指令ステップと、前記PFメジャーメントの実行又は不
実行の選択指令に対し、前記PFメジャーメントの実行
又は不実行の選択を入力する選択入力ステップと、電源
オンの検出又は前記PFメジャーメントの実行の選択に
応じて、紙送り機構部が、所定範囲内の厚さの印刷紙の
紙送りを行うためのニップ状態となっているか、又は、
所定範囲を超える厚さの印刷紙の紙送りを行うためのレ
リース状態となっているかを検出するレリース検出ステ
ップと、電源オンの検出又は前記PFメジャーメントの
実行の選択に応じて、紙送り機構部内に印刷紙が存在す
るか否かを検出する印刷紙検出ステップと、電源オンの
検出又は前記PFメジャーメントの実行の選択、並び
に、ニップ状態の検出及び紙送り機構部内における印刷
紙の有無の検出に応じて、前記PFメジャーメントに必
要な動作を指令し、実行するPFメジャーメント指令実
行ステップと、前記PFメジャーメントの過程において
算出される前記モータ電流の積分値を順次蓄積保存する
保存ステップと、を備えていることを特徴とする。
According to the printer control method of the second specific configuration of the present invention, a power-on detection step for detecting that the power is turned on, and an optional device for detecting attachment / detachment of the optional device to / from the printer body. According to the attachment / detachment detection step and the detection of attachment / detachment of the optional device,
A PF measurement selection command step for instructing the execution or non-execution of the PF measurement for measuring the motor current according to the paper feed drive load when the paper feed motor is driven at a constant speed; and the execution or execution of the PF measurement. In response to the selection instruction of non-execution, the paper feed mechanism unit is responsive to a selection input step for inputting selection of execution or non-execution of the PF measurement and selection of detection of power-on or execution of the PF measurement. Is the nip state for feeding the printing paper with the thickness within the specified range, or
In accordance with the release detection step of detecting whether or not the print sheet having a thickness exceeding a predetermined range is in a release state for feeding, and the selection of power-on detection or execution of the PF measurement, A printing paper detection step of detecting whether or not a printing paper exists in the set, selection of detection of power-on or execution of the PF measurement, detection of a nip state, and presence / absence of printing paper in the paper feeding mechanism section A PF measurement command execution step of instructing and executing an operation required for the PF measurement according to the detection, and a storage step of sequentially accumulating and storing the integrated value of the motor current calculated in the process of the PF measurement. And are provided.

【0032】前記オプション機器は、プリンタ本体に対
する着脱により、プリンタ本体の紙送り機構を駆動する
紙送りモータの駆動負荷及びそれに対応するモータ電流
の電流値を変動させ得るものとするとよい。
It is preferable that the optional equipment can change the drive load of the paper feed motor for driving the paper feed mechanism of the printer main body and the current value of the corresponding motor current by being attached to or detached from the printer main body.

【0033】前記オプション機器は、印刷紙を切断する
カッターを専用の筐体に内蔵させたカッター内蔵筐体で
あるものとするとよい。また、前記オプション機器は、
装填された印刷紙を給紙するための給紙トレイであるも
のとしてもよい。
The optional equipment may be a cutter built-in housing in which a cutter for cutting printing paper is built in a dedicated housing. Also, the optional equipment is
It may be a paper feed tray for feeding the loaded printing paper.

【0034】前記PFメジャーメントは、さらに、前記
モータ電流の平均値の算出を行うものであり、前記保存
ステップは、さらに、前記PFメジャーメントにより算
出された前記モータ電流の平均値を更新保存するものと
するとよい。
The PF measurement further calculates the average value of the motor current, and the storing step further updates and stores the average value of the motor current calculated by the PF measurement. Good thing.

【0035】本発明に係るコンピュータプログラムの記
録媒体によれば、プリンタ本体に対するオプション機器
の着脱の検出に応じて、紙送りモータの定速度駆動時に
おける紙送り駆動負荷に応じたモータ電流の測定を行う
PFメジャーメントの実行又は不実行の選択を指令し、
かつ、前記PFメジャーメントの実行の選択に応じて、
前記PFメジャーメントに必要な動作を指令し、実行す
るプリンタ制御方法を、コンピュータシステムにおいて
実行するコンピュータプログラムが記録されたことを特
徴とする。
According to the recording medium of the computer program of the present invention, the motor current is measured according to the paper feed drive load when the paper feed motor is driven at a constant speed in response to the detection of the attachment / detachment of the optional device to / from the printer body. Command execution or non-execution of PF measurement to be performed,
And depending on the choice of execution of said PF measurement,
A computer program for executing a printer control method for instructing and executing an operation required for the PF measurement in a computer system is recorded.

【0036】本発明の具体的な第1の構成に係るコンピ
ュータプログラムの記録媒体によれば、プリンタ本体に
対するオプション機器の着脱を検出するオプション機器
着脱検出ステップと、前記オプション機器の着脱の検出
に応じて、紙送りモータの定速度駆動時における紙送り
駆動負荷に応じたモータ電流の測定を行うPFメジャー
メントの実行又は不実行の選択を指令するPFメジャー
メント選択指令ステップと、前記PFメジャーメントの
実行又は不実行の選択指令に対し、前記PFメジャーメ
ントの実行又は不実行の選択を入力する選択入力ステッ
プと、前記PFメジャーメントの実行の選択に応じて、
紙送り機構部が、所定範囲内の厚さの印刷紙の紙送りを
行うためのニップ状態となっているか、又は、所定範囲
を超える厚さの印刷紙の紙送りを行うためのレリース状
態となっているかを検出するレリース検出ステップと、
前記PFメジャーメントの実行の選択に応じて、紙送り
機構部内に印刷紙が存在するか否かを検出する印刷紙検
出ステップと、前記PFメジャーメントの実行の選択、
並びに、ニップ状態の検出及び紙送り機構部内における
印刷紙の有無の検出に応じて、前記PFメジャーメント
に必要な動作を指令し、実行するPFメジャーメント指
令実行ステップと、前記PFメジャーメントの過程にお
いて算出される前記モータ電流の積分値を順次蓄積保存
する保存ステップと、を備えているプリンタ制御方法
を、コンピュータシステムにおいて実行するコンピュー
タプログラムが記録されたことを特徴とする。
According to the recording medium of the computer program according to the first specific configuration of the present invention, an optional device attachment / detachment detecting step for detecting attachment / detachment of the optional device to / from the printer body, and a detection of attachment / detachment of the optional device are performed. A PF measurement selection command step for instructing the execution or non-execution of the PF measurement for measuring the motor current according to the paper feed drive load when the paper feed motor is driven at a constant speed; In response to a selection command of execution or non-execution, a selection input step of inputting selection of execution or non-execution of the PF measurement, and a selection of execution of the PF measurement,
The paper feed mechanism is in a nip state for feeding printing paper with a thickness within a predetermined range, or a release state for feeding printing paper with a thickness exceeding the predetermined range. Release detection step to detect whether
A printing paper detection step of detecting whether or not a printing paper is present in the paper feeding mechanism section in accordance with the selection of execution of the PF measurement, and selection of execution of the PF measurement,
Also, a PF measurement command execution step of instructing and executing an operation required for the PF measurement according to the detection of the nip state and the detection of the presence or absence of the printing paper in the paper feeding mechanism section, and the process of the PF measurement. A storage step of sequentially accumulating and storing the integrated value of the motor current calculated in step 1), a computer program for executing the printer control method in a computer system is recorded.

【0037】本発明の具体的な第2の構成に係るコンピ
ュータプログラムの記録媒体によれば、電源がオンにな
ったことを検出する電源オン検出ステップと、プリンタ
本体に対するオプション機器の着脱を検出するオプショ
ン機器着脱検出ステップと、前記オプション機器の着脱
の検出に応じて、紙送りモータの定速度駆動時における
紙送り駆動負荷に応じたモータ電流の測定を行うPFメ
ジャーメントの実行又は不実行の選択を指令するPFメ
ジャーメント選択指令ステップと、前記PFメジャーメ
ントの実行又は不実行の選択指令に対し、前記PFメジ
ャーメントの実行又は不実行の選択を入力する選択入力
ステップと、電源オンの検出又は前記PFメジャーメン
トの実行の選択に応じて、紙送り機構部が、所定範囲内
の厚さの印刷紙の紙送りを行うためのニップ状態となっ
ているか、又は、所定範囲を超える厚さの印刷紙の紙送
りを行うためのレリース状態となっているかを検出する
レリース検出ステップと、電源オンの検出又は前記PF
メジャーメントの実行の選択に応じて、紙送り機構部内
に印刷紙が存在するか否かを検出する印刷紙検出ステッ
プと、電源オンの検出又は前記PFメジャーメントの実
行の選択、並びに、ニップ状態の検出及び紙送り機構部
内における印刷紙の有無の検出に応じて、前記PFメジ
ャーメントに必要な動作を指令し、実行するPFメジャ
ーメント指令実行ステップと、前記PFメジャーメント
の過程において算出される前記モータ電流の積分値を順
次蓄積保存する保存ステップと、を備えているプリンタ
制御方法を、コンピュータシステムにおいて実行するコ
ンピュータプログラムが記録されたことを特徴とする。
According to the computer program recording medium of the second specific configuration of the present invention, a power-on detection step of detecting that the power is turned on and the attachment / detachment of an optional device to / from the printer body are detected. Selection of execution or non-execution of the PF measurement, which measures the motor current according to the paper feed drive load when the paper feed motor is driven at a constant speed, according to the optional equipment attachment / detachment detection step and the detection of the attachment / detachment of the optional equipment. PF measurement selection command step for instructing the execution, a selection input step for inputting selection of execution or non-execution of the PF measurement in response to a selection command of execution or non-execution of the PF measurement, and detection of power-on or According to the selection of execution of the PF measurement, the paper feeding mechanism unit is configured to print the printing paper having a thickness within a predetermined range. A release detecting step of detecting whether the nip state is for feeding, or a release state for feeding a printing paper having a thickness exceeding a predetermined range; PF
A printing paper detection step of detecting whether or not a printing paper exists in the paper feeding mechanism section according to the selection of execution of measurement, selection of power-on detection or execution of PF measurement, and nip state PF measurement command execution step of instructing and executing an operation required for the PF measurement in accordance with the detection of the above and the detection of the presence or absence of the printing paper in the paper feed mechanism section, and the calculation in the process of the PF measurement. A computer program for executing a printer control method, comprising: a storage step of sequentially accumulating and storing the integrated value of the motor current, is recorded.

【0038】[0038]

【発明の実施の形態】最初に、本発明に係るプリンタ制
御装置及びプリンタ制御方法の主な適用対象であるイン
クジェットプリンタの概略構成及び制御方法について説
明する。
BEST MODE FOR CARRYING OUT THE INVENTION First, a schematic configuration and a control method of an inkjet printer which is a main application target of a printer control apparatus and a printer control method according to the present invention will be described.

【0039】図5は、インクジェットプリンタの概略構
成を示したブロック図である。
FIG. 5 is a block diagram showing a schematic structure of the ink jet printer.

【0040】図5に示したインクジェットプリンタは、
紙送りを行う紙送りモータ(以下、PFモータともい
う。)1と、紙送りモータ1を駆動する紙送りモータド
ライバ2と、印刷紙50にインクを吐出するヘッド9が
固定され、印刷紙50に対し平行方向かつ紙送り方向に
対し垂直方向に駆動されるキャリッジ3と、キャリッジ
3を駆動するキャリッジモータ(以下、CRモータとも
いう。)4と、キャリッジモータ4を駆動するCRモー
タドライバ5と、CRモータドライバ5に直流電流指令
値を払い出すDCユニット6と、ヘッド9の目詰まり防
止のためのインクの吸い出しを制御するポンプモータ7
と、ポンプモータ7を駆動するポンプモータドライバ8
と、ヘッド9を駆動制御するヘッドドライバ10と、キ
ャリッジ3に固定されたリニア式エンコーダ11と、所
定の間隔にスリットが形成されたリニア式エンコーダ1
1用符号板12と、PFモータ1用のロータリ式エンコ
ーダ13と、印刷処理されている紙の終端位置を検出す
る紙検出センサ15と、プリンタ全体の制御を行うCP
U16と、CPU16に対して周期的に割込み信号を発
生するタイマIC17と、ホストコンピュータ18との
間でデータの送受信を行うインタフェース部(以下、I
Fともいう。)19と、ホストコンピュータ18からI
F19を介して送られてくる印字情報に基づいて印字解
像度やヘッド9の駆動波形等を制御するASIC20
と、ASIC20及びCPU16の作業領域やプログラ
ム格納領域として用いられるPROM21,RAM22
及びEEPROM23と、印刷紙50を支持するプラテ
ン25と、PFモータ1によって駆動されて印刷紙50
を搬送する搬送ローラ27と、CRモータ4の回転軸に
取付けられたプーリ30と、プーリ30によって駆動さ
れるタイミングベルト31とから構成されている。
The ink jet printer shown in FIG.
A paper feed motor (hereinafter also referred to as a PF motor) 1 for feeding paper, a paper feed motor driver 2 for driving the paper feed motor 1, and a head 9 for ejecting ink onto the printing paper 50 are fixed, and the printing paper 50 is fixed. A carriage 3 that is driven in a direction parallel to the vertical direction and a direction that is perpendicular to the paper feed direction, a carriage motor (hereinafter, also referred to as a CR motor) 4 that drives the carriage 3, and a CR motor driver 5 that drives the carriage motor 4. , A DC unit 6 that delivers a DC current command value to the CR motor driver 5, and a pump motor 7 that controls the suction of ink to prevent clogging of the head 9.
And a pump motor driver 8 that drives the pump motor 7.
A head driver 10 for driving and controlling the head 9, a linear encoder 11 fixed to the carriage 3, and a linear encoder 1 having slits formed at predetermined intervals.
1 code plate 12, a rotary encoder 13 for the PF motor 1, a paper detection sensor 15 for detecting the end position of the paper being printed, and a CP for controlling the entire printer
U16, a timer IC 17 that periodically generates an interrupt signal to the CPU 16, and an interface unit (hereinafter referred to as I
Also called F. ) 19 and the host computer 18
An ASIC 20 that controls the print resolution, the drive waveform of the head 9, and the like based on the print information sent via F19.
And PROM21 and RAM22 used as work areas and program storage areas of the ASIC 20 and the CPU 16.
And the EEPROM 23, the platen 25 supporting the printing paper 50, and the printing paper 50 driven by the PF motor 1.
It is composed of a conveyance roller 27 that conveys, a pulley 30 attached to the rotation shaft of the CR motor 4, and a timing belt 31 driven by the pulley 30.

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

【0042】図6は、インクジェットプリンタのキャリ
ッジ3周辺の構成を示した斜視図である。
FIG. 6 is a perspective view showing the structure around the carriage 3 of the ink jet printer.

【0043】図6に示すように、キャリッジ3は、タイ
ミングベルト31によりプーリ30を介してキャリッジ
モータ4に接続され、ガイド部材32に案内されてプラ
テン25に平行に移動するように駆動される。キャリッ
ジ3の印刷紙に対向する面には、ブラックインクを吐出
するノズル列及びカラーインクを吐出するノズル列を有
する記録ヘッド9が設けられ、各ノズルはインクカート
リッジ34からインクの供給を受けて印刷紙にインク滴
を吐出して文字や画像を印刷する。
As shown in FIG. 6, the carriage 3 is connected to the carriage motor 4 by the timing belt 31 via the pulley 30, and is driven by the guide member 32 so as to move in parallel to the platen 25. A recording head 9 having a nozzle row that ejects black ink and a nozzle row that ejects color ink is provided on the surface of the carriage 3 that faces the printing paper, and each nozzle receives ink from the ink cartridge 34 and prints. Print characters and images by ejecting ink drops onto paper.

【0044】また、キャリッジ3の非印字領域には、非
印字時に記録ヘッド9のノズル開口を封止するためのキ
ャッピング装置35と、図5に示したポンプモータ7を
有するポンプユニット36とが設けられている。キャリ
ッジ3が印字領域から非印字領域に移動すると、図示し
ないレバーにキャリッジ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. 5 are provided. Has been. When the carriage 3 moves from the print area to the non-print area, the carriage 3 contacts a lever (not shown), the capping device 35 moves upward, and the head 9 is sealed.

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

【0046】図7は、キャリッジ3に取付けられたリニ
ア式エンコーダ11の構成を模式的に示した説明図であ
る。
FIG. 7 is an explanatory view schematically showing the construction of the linear encoder 11 attached to the carriage 3.

【0047】図7に示したエンコーダ11は、発光ダイ
オード11aと、コリメータレンズ11bと、検出処理
部11cとを備えている。検出処理部11cは、複数
(4個)のフォトダイオード11dと、信号処理回路1
1eと、2個のコンパレータ11fA,11fBとを有し
ている。
The encoder 11 shown in FIG. 7 includes a light emitting diode 11a, a collimator lens 11b, and a detection processing section 11c. The detection processing unit 11c includes a plurality of (four) photodiodes 11d and the signal processing circuit 1
It has 1e and two comparators 11fA and 11fB.

【0048】発光ダイオード11aの両端に抵抗を介し
て電圧VCCが印加されると、発光ダイオード11aから
光が発せられる。この光はコリメータレンズ11bによ
り平行光に集光されて符号板12を通過する。符号板1
2には、所定の間隔(例えば1/180インチ(1イン
チ=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 condensed into parallel light by the collimator lens 11b and passes through the code plate 12. Code plate 1
The slits 2 are provided at predetermined intervals (for example, 1/180 inch (1 inch = 2.54 cm)).

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

【0050】図8は、CRモータ正転時及び逆転時にお
けるエンコーダ11の2つの出力信号の波形を示したタ
イミングチャートである。
FIG. 8 is a timing chart showing the waveforms of the two output signals of the encoder 11 when the CR motor is rotating normally and when rotating reversely.

【0051】図8(a),(b)に示すように、CRモ
ータ正転時及び逆転時のいずれの場合も、パルスENC
−AとパルスENC−Bとは位相が90度だけ異なって
いる。CRモータ4が正転しているとき、即ち、キャリ
ッジ3が主走査方向に移動しているときは、図8(a)
に示すように、パルスENC−AはパルスENC−Bよ
りも90度だけ位相が進み、CRモータ4が逆転してい
るときは、図8(b)に示すように、パルスENC−A
はパルスENC−Bよりも90度だけ位相が遅れるよう
にエンコーダ4は構成されている。そして、上記パルス
の1周期Tは符号板12のスリット間隔(例えば1/1
80インチ)に対応し、キャリッジ3が上記スリット間
隔を移動する時間に等しい。
As shown in FIGS. 8 (a) and 8 (b), the pulse ENC is used in both the forward and reverse rotations of the CR motor.
-A and pulse ENC-B differ in phase by 90 degrees. When the CR motor 4 is rotating normally, that is, when the carriage 3 is moving in the main scanning direction, FIG.
As shown in FIG. 8, the pulse ENC-A leads the pulse ENC-B by 90 degrees in phase, and when the CR motor 4 is rotating in the reverse direction, as shown in FIG.
Is configured so that the phase is delayed by 90 degrees from the pulse ENC-B. Then, one cycle T of the pulse is the slit interval of the code plate 12 (for example, 1/1
80 inches), which is equal to the time for which the carriage 3 moves in the slit interval.

【0052】一方、PFモータ1用のロータリ式エンコ
ーダ13は符号板がPFモータ1の回転に応じて回転す
る回転円板である以外は、リニア式エンコーダ11と同
様の構成となっており、2つの出力パルスENC−A,
ENC−Bを出力する。インクジェットプリンタにおい
ては、PFモータ1用のロータリ式エンコーダ13の符
号板に設けられている複数のスリットのスリット間隔は
1/180インチであり、PFモータ1が上記1スリッ
ト間隔だけ回転すると、1/1440インチだけ紙送り
されるような構成となっている。
On the other hand, the rotary encoder 13 for the PF motor 1 has the same structure 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. Two output pulses ENC-A,
Output ENC-B. In the ink jet printer, the slit spacing of the plurality of slits provided on the code plate of the rotary encoder 13 for the PF motor 1 is 1/180 inch, and when the PF motor 1 rotates by the one slit spacing, The paper is fed by 1440 inches.

【0053】図9は、給紙及び紙検出に関連する部分を
示した透視図である。
FIG. 9 is a perspective view showing a portion related to paper feeding and paper detection.

【0054】図9を参照して、図5に示した紙検出セン
サ15の位置について説明する。図9において、プリン
タ60の給紙挿入口61に挿入された印刷紙50は、給
紙モータ63により駆動される給紙ローラ64によって
プリンタ60内に送り込まれる。プリンタ60内に送り
込まれた印刷紙50の先端が例えば光学式の紙検出セン
サ15により検出される。紙検出センサ15によって先
端が検出された紙50は、PFモータ1により駆動され
る紙送りローラ65及び従動ローラ66によって紙送り
が行われる。
The position of the paper detection sensor 15 shown in FIG. 5 will be described with reference to FIG. In FIG. 9, the printing paper 50 inserted into the paper feed insertion opening 61 of the printer 60 is fed into the printer 60 by the paper feed roller 64 driven by the paper feed motor 63. The leading edge of the printing paper 50 fed into the printer 60 is detected by, for example, the optical paper detection sensor 15. The paper 50 whose leading edge is detected by the paper detection sensor 15 is fed by the paper feed roller 65 and the driven roller 66 driven by the PF motor 1.

【0055】続いてキャリッジガイド部材32に沿って
移動するキャリッジ3に固定された記録ヘッド(図示せ
ず)からインクが滴下されることにより印字が行われ
る。所定の位置まで紙送りが行われると、現在、印字さ
れている印刷紙50の終端が紙検出センサ15によって
検出される。印字が終了した印刷紙50は、PFモータ
1により駆動される歯車67A,67Bを介して歯車6
7Cにより駆動される排紙ローラ68及び従動ローラ6
9によって排紙口62から外部に排出される。尚、紙送
りローラ65の回転軸には、ロータリ式エンコーダ13
が連結されている。
Subsequently, printing is performed by dropping ink from a recording head (not shown) fixed to the carriage 3 which moves along the carriage guide member 32. When the paper is fed to the predetermined position, the paper detection sensor 15 detects the end of the printing paper 50 that is currently printed. The printing paper 50 on which the printing has been completed passes through the gears 67A and 67B driven by the PF motor 1 and the gear 6
Paper discharge roller 68 and driven roller 6 driven by 7C
The sheet 9 is discharged from the sheet discharge port 62 to the outside. The rotary shaft of the paper feed roller 65 has a rotary encoder 13
Are connected.

【0056】図10は、プリンタの紙送りに関連する部
分を詳細に示した透視図である。
FIG. 10 is a perspective view showing in detail the portion related to the paper feeding of the printer.

【0057】図9に示したプリンタの部分のうち紙送り
に関連する部分について、図9及び図10を参照して、
より詳細に説明する。
Of the printer portion shown in FIG. 9, a portion relating to paper feeding will be described with reference to FIGS. 9 and 10.
This will be described in more detail.

【0058】プリンタ60の給紙挿入口61から挿入さ
れ、給紙ローラ64によってプリンタ60内に送り込ま
れた印刷紙50の先端が紙検出センサ15により検出さ
れると、PFモータ1により小歯車87を介して駆動さ
れる大歯車67aの回転軸であるスマップ(Smap)軸8
3の周囲に設けられた紙送りローラ65と、給紙側から
送られてきた印刷紙50を垂直方向下向きに押圧するホ
ルダ89の紙送り方向排紙側先端部に設けられた従動ロ
ーラ66とにより、印刷紙50の紙送りが行われる。
When the paper detection sensor 15 detects the leading edge of the printing paper 50 that has been inserted into the printer 60 by the paper feed roller 61 and fed into the printer 60 by the paper feed roller 64, the PF motor 1 causes the small gear 87 to move. Smap shaft 8 which is a rotation shaft of a large gear 67a driven through
3, a paper feed roller 65 provided around the paper 3, and a driven roller 66 provided at the paper feed direction discharge side end of a holder 89 that presses the printing paper 50 fed from the paper feed side downward in the vertical direction. Thus, the printing paper 50 is fed.

【0059】PFモータ1はプリンタ60内のフレーム
86にねじ85により固定されており、大歯車67a周
囲の所定箇所にはロータリ式エンコーダ13が配設さ
れ、かつ、大歯車67aの回転軸であるスマップ軸83
にはロータリ式エンコーダ用符号板14が連結されてい
る。
The PF motor 1 is fixed to the frame 86 in the printer 60 by screws 85, the rotary encoder 13 is arranged at a predetermined position around the large gear 67a, and is the rotating shaft of the large gear 67a. Smap axis 83
A rotary encoder code plate 14 is connected to.

【0060】紙送りローラ65と従動ローラ66とによ
り紙送りが行われた印刷紙50は、印刷紙50を支持す
るプラテン84上を通過し、小歯車87,大歯車67
a,中間歯車67b,小歯車88及び排紙歯車67cを
介してPFモータ1により駆動される排紙ローラ68
と、従動ローラであるギザローラ69とにより挟持され
て紙送りが行われ、排紙口62から外部に排出される。
The printing paper 50 fed by the paper feed roller 65 and the driven roller 66 passes on the platen 84 supporting the printing paper 50, and the small gear 87 and the large gear 67 are provided.
a, the intermediate gear 67b, the small gear 88, and the paper ejection gear 67c, the paper ejection roller 68 driven by the PF motor 1.
Then, the paper is fed by being nipped by the notched roller 69 which is a driven roller, and is discharged from the paper discharge port 62 to the outside.

【0061】印刷紙50がプラテン84上に支持されて
いる間に、キャリッジ3がプラテン84上の空間をガイ
ド部材32に沿って左右に移動し、キャリッジ3に固定
された記録ヘッド(図示せず)からインクが吐出されて
印刷が行われる。
While the printing paper 50 is supported on the platen 84, the carriage 3 moves left and right along the guide member 32 in the space on the platen 84, and the recording head fixed to the carriage 3 (not shown). ), Ink is ejected and printing is performed.

【0062】次に、上述したインクジェットプリンタの
CRモータ4を制御する従来のDCモータ制御装置であ
るDCユニット6の構成、及び、DCユニット6による
制御方法について説明する。
Next, the structure of the DC unit 6 which is a conventional DC motor control device for controlling the CR motor 4 of the above-mentioned ink jet printer and the control method by the DC unit 6 will be described.

【0063】図11は、従来のDCモータ制御装置であ
るDCユニット6の構成を示したブロック図であり、図
12は、DCユニット6により制御されるCRモータ4
のモータ電流及びモータ速度を示したグラフである。
FIG. 11 is a block diagram showing the configuration of a DC unit 6 which is a conventional DC motor control device, and FIG. 12 is a CR motor 4 controlled by the DC unit 6.
3 is a graph showing a motor current and a motor speed of the above.

【0064】図11に示したDCユニット6は、位置演
算部6aと、減算器6bと、目標速度演算部6cと、速
度演算部6dと、減算器6eと、比例要素6fと、積分
要素6gと、微分要素6hと、加算器6iと、D/Aコ
ンバータ6jと、タイマ6kと、加速制御部6mとから
構成されている。
The DC unit 6 shown in FIG. 11 includes a position calculating section 6a, a subtractor 6b, a target speed calculating section 6c, a speed calculating section 6d, a subtractor 6e, a proportional element 6f, and an integrating element 6g. , A differential element 6h, an adder 6i, a D / A converter 6j, a timer 6k, and an acceleration controller 6m.

【0065】位置演算部6aは、エンコーダ11の出力
パルスENC−A,ENC−Bの各々の立ち上がりエッ
ジ、立ち下がりエッジを検出し、検出されたエッジの個
数を計数し、この計数値に基づいて、キャリッジ3の位
置を演算する。この計数はCRモータ4が正転している
ときは1個のエッジが検出されると「+1」を加算し、
逆転しているときは、1個のエッジが検出されると「−
1」を加算する。パルスENC−A及びENC−Bの各
々の周期は符号板12のスリット間隔に等しく、かつ、
パルスENC−AとパルスENC−Bとは位相が90度
だけ異なっている。このため、上記計数のカウント値
「1」は符号板12のスリット間隔の1/4に対応す
る。これにより上記計数値にスリット間隔の1/4を乗
算すれば、計数値が「0」に対応するキャリッジ3の位
置からの移動量を求めることができる。このときエンコ
ーダ11の解像度は符号板12のスリットの間隔の1/
4となる。上記スリットの間隔を1/180インチとす
れば解像度は1/720インチとなる。
The position calculator 6a detects the rising edge and the falling edge of each of the output pulses ENC-A and ENC-B of the encoder 11, counts the number of detected edges, and based on this count value. , The position of the carriage 3 is calculated. This count adds "+1" when one edge is detected when the CR motor 4 is rotating normally,
If one edge is detected when the rotation is reversed, "-
1 ”is added. The period of each of the pulses ENC-A and ENC-B is equal to the slit spacing of the code plate 12, and
The phases of the pulse ENC-A and the pulse ENC-B differ by 90 degrees. Therefore, the count value “1” of the above count corresponds to ¼ of the slit interval of the code plate 12. Thus, by multiplying the count value by 1/4 of the slit interval, the movement amount from the position of the carriage 3 corresponding to the count value "0" can be obtained. At this time, the resolution of the encoder 11 is 1 / the interval of the slits of the code plate 12.
It becomes 4. If the interval between the slits is 1/180 inch, the resolution will be 1/720 inch.

【0066】減算器6bは、CPU16から送られてく
る目標位置と、位置演算部6aによって求められたキャ
リッジ3の実際の位置との位置偏差を演算する。
The subtractor 6b calculates the position deviation between the target position sent from the CPU 16 and the actual position of the carriage 3 obtained by the position calculation section 6a.

【0067】目標速度演算部6cは、減算器6bの出力
である位置偏差に基づいてキャリッジ3の目標速度を演
算する。この演算は位置偏差にゲインKPを乗算するこ
とにより行われる。このゲインKPは位置偏差に応じて
決定される。尚、このゲインKP の値は図示しないテー
ブルに格納されていてもよい。
The target speed calculator 6c calculates the target speed of the carriage 3 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 this gain KP may be stored in a table (not shown).

【0068】速度演算部6dは、エンコーダ11の出力
パルスENC−A,ENC−Bに基づいてキャリッジ3
の速度を演算する。この速度は次のようにして求められ
る。まず、エンコーダ11の出力パルスENC−A,E
NC−Bの各々の立ち上がりエッジ、立ち下がりエッジ
を検出し、符号板12のスリット間隔の1/4に対応す
るエッジ間の時間間隔を、タイマカウンタによってカウ
ントする。このカウント値をTとし、符号板12のスリ
ット間隔をλとすればキャリッジの速度はλ/(4T)
として求められる。尚、ここでは、速度の演算は、出力
パルスENC−Aの1周期、例えば立ち上がりエッジか
ら次の立ち上がりエッジまでをタイマカウンタによって
計測することにより求めている。
The speed calculator 6d is based on the output pulses ENC-A, ENC-B of the encoder 11 and the carriage 3
Calculate the speed of. This speed is obtained as follows. First, the output pulses ENC-A, E of the encoder 11
Each rising edge and falling edge of NC-B is detected, and the time interval between the edges corresponding to 1/4 of the slit interval of the code plate 12 is counted by the timer counter. If this count value is T and the slit spacing of the code plate 12 is λ, the carriage speed is λ / (4T).
Is required as. Note that, here, the speed is calculated by measuring one cycle of the output pulse ENC-A, for example, from the rising edge to the next rising edge with a timer counter.

【0069】減算器6eは、目標速度と、速度演算部6
dによって演算されたキャリッジ3の実際の速度との速
度偏差を演算する。
The subtractor 6e is used for calculating the target speed and the speed calculator 6
The speed deviation from the actual speed of the carriage 3 calculated by d is calculated.

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

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

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

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

【0074】加速制御部6mは、上記タイマ割込信号を
受ける度ごとに所定の電流値(例えば20mA)を目標
電流値に積算し、積算結果、即ち加速時におけるDCモ
ータ4の目標電流値が、D/Aコンバータ6jに送られ
る。PID制御の場合と同様に、上記目標電流値はD/
Aコンバータ6jによってアナログ電流に変換され、こ
のアナログ電流に基づいて、ドライバ5によりCRモー
タ4が駆動される。
The acceleration control unit 6m integrates a predetermined current value (for example, 20 mA) into the target current value each time the timer interrupt signal is received, and the integration result, that is, the target current value of the DC motor 4 during acceleration is , D / A converter 6j. Similar to the case of PID control, the target current value is D /
The A converter 6j converts the analog current, and the driver 5 drives the CR motor 4 based on the analog current.

【0075】ドライバ5は、例えば4個のトランジスタ
を備えており、D/Aコンバータ6jの出力に基づいて
上記トランジスタを各々ON又はOFFさせることによ
り(a)CRモータ4を正転又は逆転させる運転モー
ド、(b)回生ブレーキ運転モード(ショートブレーキ
運転モード、即ち、CRモータの停止を維持するモー
ド)、(c)CRモータを停止させようとするモード、
を行わせることが可能な構成となっている。
The driver 5 is provided with, for example, four transistors. By turning on or off each of the above transistors based on the output of the D / A converter 6j, (a) operation for rotating the CR motor 4 in the normal or reverse direction is performed. Mode, (b) regenerative braking operation mode (short braking operation mode, that is, a mode for maintaining the stop of the CR motor), (c) mode for stopping the CR motor,
It is configured to be able to perform.

【0076】次に、図12(a),(b)を参照してD
Cユニット6の動作、即ち、従来のDCモータ制御方法
について説明する。
Next, referring to FIGS. 12A and 12B, D
The operation of the C unit 6, that is, the conventional DC motor control method will be described.

【0077】CRモータ4が停止しているときに、CP
U16からDCユニット6へ、CRモータ4を起動させ
る起動指令信号が送られると、加速制御部6mから起動
初期電流値I0がD/Aコンバータ6jに送られる。こ
の起動初期電流値I0は、起動指令信号とともにCPU
16から加速制御部6mに送られてくる。そしてこの電
流値I0は、D/Aコンバータ6jによってアナログ電
圧に変換されてドライバ5に送られ、ドライバ5によっ
てCRモータ4が起動開始する(図12(a),(b)
参照)。起動指令信号を受信した後、所定の時間ごとに
タイマ6kからタイマ割込信号が発生される。加速制御
部6mは、タイマ割込信号を受信する度ごとに、起動初
期電流値I0に所定の電流値(例えば20mA)を積算
し、積算した電流値をD/Aコンバータ6jに送る。す
ると、この積算した電流値は、D/Aコンバータ6jに
よってアナログ電流に変換されてドライバ5に送られ
る。そして、CRモータ4に供給される電流の値が上記
積算した電流値となるように、ドライバ5によってCR
モータが駆動されCRモータ4の速度は上昇する(図1
2(b)参照)。このためCRモータ4に供給される電
流値は、図12(a)に示すように階段状になる。尚、
このときPID制御系も動作しているが、D/Aコンバ
ータ6jは加速制御部6mの出力を選択して取込む。
When the CR motor 4 is stopped, CP
When a start command signal for starting the CR motor 4 is sent from U16 to the DC unit 6, the start initial current value I0 is sent from the acceleration controller 6m to the D / A converter 6j. This start-up initial current value I0 is the CPU and the start-up command signal.
It is sent from 16 to the acceleration control unit 6m. The current value I0 is converted into an analog voltage by the D / A converter 6j and sent to the driver 5, and the CR motor 4 starts to be activated by the driver 5 (FIGS. 12A and 12B).
reference). After receiving the start command signal, a timer interrupt signal is generated from the timer 6k every predetermined time. Each time the acceleration control unit 6m receives the timer interrupt signal, the acceleration control unit 6m integrates a predetermined current value (for example, 20 mA) into the starting initial current value I0, 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 5. Then, the CR is adjusted by the driver 5 so that the value of the current supplied to the CR motor 4 becomes the integrated current value.
The motor is driven and the speed of the CR motor 4 increases (Fig. 1
2 (b)). Therefore, the current value supplied to the CR motor 4 has a stepwise shape as shown in FIG. still,
At this time, the PID control system is also operating, but the D / A converter 6j selects and takes in the output of the acceleration control unit 6m.

【0078】加速制御部6mの電流値の積算処理は、積
算した電流値が一定の電流値ISとなるまで行われる。
時刻t1において積算した電流値が所定値IS となる
と、加速制御部6mは積算処理を停止し、D/Aコンバ
ータ6jに一定の電流値ISを供給する。これによりC
Rモータ4に供給される電流の値が電流値ISとなるよ
うにドライバ5によって駆動される(図12(a)参
照)。
The current value integration process of the acceleration controller 6m is performed until the integrated current value reaches a constant current value IS.
When the integrated current value reaches the predetermined value Is at time t1, the acceleration control unit 6m stops the integration process and supplies the D / A converter 6j with a constant current value Is. This gives C
It is driven by the driver 5 so that the value of the current supplied to the R motor 4 becomes the current value Is (see FIG. 12 (a)).

【0079】そして、CRモータ4の速度がオーバーシ
ュートするのを防止するために、CRモータ4が所定の
速度V1になると(時刻t2参照)、CRモータ4に供給
される電流を減小させるように加速制御部6mが制御す
る。このときCRモータ4の速度は更に上昇するが、C
Rモータ4の速度が所定の速度Vcに達すると(図12
(b)の時刻t3参照)、D/Aコンバータ6jが、P
ID制御系の出力、即ち加算器6iの出力を選択し、P
ID制御が行われる。
Then, in order to prevent the speed of the CR motor 4 from overshooting, when the CR motor 4 reaches a predetermined speed V1 (see time t2), the current supplied to the CR motor 4 is reduced. The acceleration control unit 6m controls. At this time, the speed of the CR motor 4 further increases, but C
When the speed of the R motor 4 reaches a predetermined speed Vc (Fig. 12
(See time t3 in (b)), the D / A converter 6j
Select the output of the ID control system, that is, the output of the adder 6i, and select P
ID control is performed.

【0080】即ち、目標位置と、エンコーダ11の出力
から得られる実際の位置との位置偏差に基づいて目標速
度が演算され、この目標速度と、エンコーダ11の出力
から得られる実際の速度との速度偏差に基づいて、比例
要素6f、積分要素6g及び微分要素6hが動作し、各
々比例、積分、及び微分演算が行われ、これらの演算結
果の和に基づいて、CRモータ4の制御が行われる。
尚、上記比例、積分及び微分演算は、例えばエンコーダ
11の出力パルスENC−Aの立ち上がりエッジに同期
して行われる。これによりDCモータ4の速度は所望の
速度Veとなるように制御される。尚、所定の速度Vc
は、所望の速度Veの70〜80%の値であることが好
ましい。
That is, the target speed is calculated based on the positional deviation between the target position and the actual position obtained from the output of the encoder 11, and the speed between this target velocity and the actual speed obtained from the output of the encoder 11 is calculated. The proportional element 6f, the integral element 6g, and the differential element 6h operate based on the deviation, proportional, integral, and differential operations are performed, respectively, and the CR motor 4 is controlled based on the sum of these operation results. .
The proportional, integral, and derivative operations are performed in synchronization with the rising edge of the output pulse ENC-A of the encoder 11, for example. As a result, the speed of the DC motor 4 is controlled to the desired speed Ve. The predetermined speed Vc
Is preferably 70 to 80% of the desired speed Ve.

【0081】時刻t4からDCモータ4は、所望の速度
となるからキャリッジ3も所望の一定の速度Veとな
り、印字処理を行うことが可能となる。
From the time t4, the DC motor 4 reaches the desired speed, and the carriage 3 also reaches the desired constant speed Ve, and the printing process can be performed.

【0082】印字処理が終了し、キャリッジ3が目標位
置に近づくと(図12(b)の時刻t5参照)、位置偏
差が小さくなるから目標速度も小さくなり、このため速
度偏差、即ち減算器6eの出力が負になり、DCモータ
4の減速が行われ、時刻t6に停止する。
When the printing process is completed and the carriage 3 approaches the target position (see time t5 in FIG. 12B), the position deviation becomes smaller and the target speed also becomes smaller. Therefore, the speed deviation, that is, the subtracter 6e. Output becomes negative, the DC motor 4 is decelerated, and stops at time t6.

【0083】次に、通常のプリンタ制御装置及びプリン
タ制御方法におけるPFメジャーメントの実行タイミン
グと、PFメジャーメントの動作及び手順とについて、
図面を参照しながら説明する。
Next, the execution timing of PF measurement and the operation and procedure of PF measurement in a normal printer control device and printer control method will be described.
A description will be given with reference to the drawings.

【0084】図13は、プリンタのペーパーギャップ調
整機構部及びレリース検出器の配置構成を示す側面図で
ある。
FIG. 13 is a side view showing the arrangement of the paper gap adjusting mechanism section and the release detector of the printer.

【0085】ペーパーギャップ調整機構部の概略構成
は、以下の通りである。ペーパーギャップ調整用レバー
201は、歯車202と一体的に成形されており、歯車
202は歯車204に噛み合わされている。歯車204
は歯車205に噛み合わされている。歯車205には、
偏心ブッシュ206を介して連結部材207の一端が結
合されており、連結部材207の他端は、偏心ブッシュ
208を介して歯車209に結合されている。また、偏
心ブッシュ208は、プラテン25上を給紙側から送ら
れてきた印刷紙50を垂直方向下向きに押圧するホルダ
89を軸支している。このホルダ89は、バネ210に
より垂直方向下向きに押圧され、これにより、印刷紙5
0を垂直方向下向きに押圧するようになっている。ホル
ダ89の排紙側先端部には、紙送りローラ65に対向し
て従動ローラ66が配設されている。以上のような構成
において、ペーパーギャップ調整用レバー201を回動
させると、歯車204を介して歯車205が回動し、さ
らに、偏心ブッシュ206及び連結部材207を介して
偏心ブッシュ208が上下に移動させられる。偏心ブッ
シュ208が上下に移動するのに伴い、ホルダ89が上
下することによりペーパーギャップが調整されることに
なる。
The schematic structure of the paper gap adjusting mechanism is as follows. The paper gap adjusting lever 201 is formed integrally with the gear 202, and the gear 202 meshes with the gear 204. Gear 204
Is meshed with the gear 205. The gear 205 has
One end of the connecting member 207 is connected via the eccentric bush 206, and the other end of the connecting member 207 is connected to the gear 209 via the eccentric bush 208. Further, the eccentric bush 208 pivotally supports a holder 89 that presses the printing paper 50 sent from the paper feeding side on the platen 25 downward in the vertical direction. The holder 89 is pressed downward in the vertical direction by the spring 210, whereby the printing paper 5
0 is pressed downward in the vertical direction. A driven roller 66 is arranged at the leading end of the holder 89 on the paper discharge side so as to face the paper feed roller 65. In the above configuration, when the paper gap adjusting lever 201 is rotated, the gear 205 is rotated via the gear 204, and the eccentric bush 208 is moved vertically via the eccentric bush 206 and the connecting member 207. To be made. As the eccentric bush 208 moves up and down, the holder 89 moves up and down to adjust the paper gap.

【0086】一方、レリース検出器の配置構成は、以下
の通りである。上記ペーパーギャップ調整用レバー20
1及び歯車202には、さらに、扇状突起部203が一
体的に成形されている。そして、ペーパーギャップ調整
用レバー201を操作することにより扇状突起部203
が回動する経路には、レリース検出器211及び212
が配設されている。具体的には、レリース検出器211
及び212に回動自在に配設された突起部材211a及
び212aの先端部が、扇状突起部203が回動する経
路に位置するように配置されている。そして、ペーパー
ギャップ調整用レバー201の操作により扇状突起部2
03が回動するに従い、突起部材211a及び212a
の向きが順次変化していくので、例えば、最大5段階の
ペーパーギャップ設定を検出することができる。
On the other hand, the arrangement of the release detector is as follows. The paper gap adjusting lever 20
A fan-shaped protrusion 203 is integrally formed on the gear 1 and the gear 202. Then, by operating the paper gap adjusting lever 201, the fan-shaped protrusion 203
The release detectors 211 and 212 are provided in the path along which the
Is provided. Specifically, the release detector 211
And 212 are rotatably arranged so that the tip ends of the projecting members 211a and 212a are located in the path along which the fan-shaped projecting portion 203 rotates. Then, the fan-shaped protrusion 2 is operated by operating the paper gap adjusting lever 201.
As 03 rotates, the protruding members 211a and 212a
Since the direction of is changed sequentially, it is possible to detect, for example, a maximum of five levels of paper gap setting.

【0087】図14は、紙送り機構部内の印刷紙の有無
に拘わらずPFメジャーメントを行う場合における通常
のプリンタ制御装置の電源オン時の動作を示したフロー
チャート、即ち、通常のプリンタ制御方法の電源オン時
の手順を示したフローチャートである。
FIG. 14 is a flowchart showing the operation when the power of the normal printer control device is turned on when the PF measurement is performed regardless of the presence or absence of the printing paper in the paper feeding mechanism section, that is, the normal printer control method. It is the flowchart which showed the procedure at the time of power-on.

【0088】プリンタの電源がオンになると(ステップ
S141)、キャリッジ駆動機構及び紙送り駆動機構等
の電源オン時の動作、即ち、システム初期化動作が行わ
れる(ステップS142)。
When the power of the printer is turned on (step S141), the power-on operation of the carriage drive mechanism and the paper feed drive mechanism, that is, the system initialization operation is performed (step S142).

【0089】システム初期化後、レリース(release)
検出が行われる(ステップS143)。レリース検出
は、図13を参照して説明した紙送り機構部が、所定範
囲内の厚さの印刷紙の紙送りを行うためのニップ(ni
p)状態となっているか、又は、所定範囲を超える厚さ
の印刷紙の紙送りを行うためのレリース状態となってい
るかを検出するために行う。
After system initialization, release
Detection is performed (step S143). The release detection is performed by the paper feeding mechanism unit described with reference to FIG. 13 for nipping (ni) for feeding the printing paper having a thickness within a predetermined range.
This is performed to detect whether the state is p) or the release state for feeding the printing paper having a thickness exceeding the predetermined range.

【0090】ここでは、説明の便宜上、紙送り機構部の
ペーパーギャップ設定がニップ状態又はレリース状態の
いずれか、即ち、2段階に調整される場合について説明
するが、ペーパーギャップ設定は、さらに多段階に調整
可能になっていてもよい。例えば、ペーパーギャップ小
(ニップ)、ペーパーギャップ大、封筒対応ペーパーギ
ャップ、CD−R対応ペーパーギャップ、レリースの5
段階に調整可能になっていてもよい。その場合のPFメ
ジャーメントには、それぞれのペーパーギャップ設定に
応じたPFメジャーメントシーケンスが用いられる。
Here, for convenience of explanation, the case where the paper gap setting of the paper feed mechanism is adjusted to either the nip state or the release state, that is, the step is adjusted in two steps will be described. It may be adjustable. For example, small paper gap (nip), large paper gap, envelope compatible paper gap, CD-R compatible paper gap, release 5
It may be adjustable in stages. In that case, a PF measurement sequence according to each paper gap setting is used for the PF measurement.

【0091】この例では、ペーパーギャップ設定はニッ
プ状態又はレリース状態のいずれかであるものとし、P
Fメジャーメントは、ニップ状態となっている紙送り機
構部内に印刷紙が存在しない状態又は存在する状態での
紙送り駆動負荷に応じたモータ電流の電流値を測定し、
かつ、そのモータ電流の積分値からモータ電流の平均値
を算出する。紙送り機構部内に印刷紙が存在しない状態
でPFメジャーメントを行った場合には、後にモータ電
流の平均値を紙送り制御に使用する際には、紙送り機構
部内に紙が挿入されることによる負荷、即ち、挿入され
た紙の存在のみに起因する紙送り機構の駆動負荷が、そ
れに対応するモータ電流の電流値に変換されたオフセッ
ト値が、モータ電流の平均値と共に用いられる。
In this example, it is assumed that the paper gap setting is in the nip state or the release state, and P
F measurement measures the current value of the motor current according to the paper feed drive load when there is no printing paper in the paper feeding mechanism that is in the nip state or when there is it.
In addition, the average value of the motor current is calculated from the integrated value of the motor current. If PF measurement is performed with no printing paper in the paper feed mechanism, the paper should be inserted into the paper feed mechanism when the average value of the motor current is used for paper feed control later. The offset value obtained by converting the load due to the above, that is, the drive load of the paper feeding mechanism only due to the presence of the inserted paper into the current value of the corresponding motor current, is used together with the average value of the motor current.

【0092】この例では、レリース検出の結果、紙送り
機構部がレリース状態となっていることが検出された場
合は、PFメジャーメントは行わず、次の動作、ここで
は電源オン時のインクシステム動作に移行する(ステッ
プS147)。電源オン時のインクシステム動作は、記
録ヘッドを含むインクシステムを印刷可能な状態に初期
化する動作である。
In this example, when it is detected as a result of the release detection that the paper feed mechanism is in the release state, the PF measurement is not performed, and the next operation, here, the ink system at the time of power-on is performed. Then, the operation proceeds (step S147). The ink system operation when the power is turned on is an operation for initializing the ink system including the recording head to a printable state.

【0093】一方、レリース検出の結果、紙送り機構部
がニップ状態となっていることが検出された場合は、ペ
ーパーエンド(PE)検出が行われる(ステップS14
4)。PE検出は、紙検出センサ15により行われる。
PE検出は、本来、印刷紙の下端を検出するためのもの
であるが、ここでは、紙送り機構部内の印刷紙の有無を
検出するために行う。PE検出の結果、紙送り機構部内
に印刷紙が存在しないことが検出された場合は、紙送り
機構部内に印刷紙が存在しない場合に対応したPFメジ
ャーメントシーケンス1に従ってPFメジャーメントを
実行する(ステップS145)。尚、PFメジャーメン
トの詳細な動作及び手順は、後述する。また、PE検出
の結果、紙送り機構部内に印刷紙が存在することが検出
された場合は、紙送り機構部内に印刷紙が存在する場合
に対応したPFメジャーメントシーケンス2に従ってP
Fメジャーメントを実行する(ステップS146)。
On the other hand, as a result of the release detection, when it is detected that the paper feed mechanism is in the nip state, the paper end (PE) is detected (step S14).
4). PE detection is performed by the paper detection sensor 15.
The PE detection is originally to detect the lower end of the printing paper, but here, it is performed to detect the presence or absence of the printing paper in the paper feeding mechanism unit. As a result of the PE detection, when it is detected that the printing paper does not exist in the paper feeding mechanism unit, the PF measurement is executed according to the PF measurement sequence 1 corresponding to the case where the printing paper does not exist in the paper feeding mechanism unit ( Step S145). The detailed operation and procedure of the PF measurement will be described later. Further, as a result of PE detection, when it is detected that the printing paper exists in the paper feeding mechanism unit, P is detected according to the PF measurement sequence 2 corresponding to the case where the printing paper exists in the paper feeding mechanism unit.
F measurement is executed (step S146).

【0094】PFメジャーメントの終了後、次の動作、
ここでは電源オン時のインクシステム動作に移行する
(ステップS147)。
After the completion of the PF measurement, the next operation,
Here, the operation shifts to the ink system operation when the power is turned on (step S147).

【0095】以上が、通常のプリンタ制御装置及びプリ
ンタ制御方法の電源オン時の動作及び手順の内容であ
る。但し、システム初期化動作及びインクシステム動作
の有無及び内容は任意である。要するに、通常のプリン
タ制御装置及びプリンタ制御方法の電源オン時には、レ
リース検出及びPE検出が行われ、その検出結果に応じ
てPFメジャーメントが行われる。
The above is the contents of the operation and procedure when the power is turned on in the ordinary printer control apparatus and printer control method. However, the presence / absence and contents of the system initialization operation and the ink system operation are arbitrary. In short, when the power of the normal printer control device and printer control method is turned on, release detection and PE detection are performed, and PF measurement is performed according to the detection result.

【0096】次に、PFメジャーメントの詳細な動作及
び手順について説明する。
Next, the detailed operation and procedure of the PF measurement will be described.

【0097】図15は、プリンタ制御装置によるPFメ
ジャーメントの動作、即ち、プリンタ制御方法によるP
Fメジャーメントの手順を示したフローチャートであ
る。また、図16は、PFメジャーメントの際のモータ
速度及びモータ電流を示したグラフである。
FIG. 15 shows the operation of the PF measurement by the printer control device, that is, the P control by the printer control method.
It is the flowchart which showed the procedure of F measurement. In addition, FIG. 16 is a graph showing the motor speed and the motor current during the PF measurement.

【0098】PFメジャーメントは、以下のように行
う。先ず最初に紙送りモータを起動して(ステップS5
1)、オープンループ制御により加速制御を行い、モー
タ速度Vが所定の定速度に近づくまで紙送りモータを加
速する。
The PF measurement is performed as follows. First, start the paper feed motor (step S5
1), acceleration control is performed by open loop control, and the paper feed motor is accelerated until the motor speed V approaches a predetermined constant speed.

【0099】モータ速度Vが所定の定速度に近づいた
ら、オープンループ制御からPID制御に移行し(ステ
ップS52)、定速度駆動を行う。PID制御により定
速度駆動が行われている間は、図16のグラフに示すよ
うに、モータ電流Iがほぼ一定値となる。
When the motor speed V approaches a predetermined constant speed, the open loop control is shifted to the PID control (step S52), and constant speed driving is performed. While the constant speed drive is being performed by the PID control, the motor current I has a substantially constant value as shown in the graph of FIG.

【0100】モータ電流Iがほぼ一定値になったら、そ
の電流値Iの記録、即ち、電流値Iの時間間隔Δtのサ
ンプリングを開始する(ステップS53)。電流値Iの
記録は、PID制御により紙送りモータが定速度駆動さ
れ始め、電流値Iのサンプリングを開始してから紙送り
モータが一周半以上回転するまで継続し、紙送りモータ
が一周半だけ回転したら電流値Iの記録を終了する(ス
テップS54)。電流値Iの記録を行う期間に対応する
モータの回転数は、電流値Iのサンプリングの時間間隔
及び回数に応じて任意に定めることができる。ここで
は、図16に示すように、例えば、時間間隔Δtのサン
プリングN回を行うこととした場合において、時間間隔
ΔtのサンプリングN回を行う時間と、紙送りモータが
一周半だけ回転する時間とが等しいとすると、紙送りモ
ータが定速度駆動され始めてから一周半回転する間に、
モータ電流値Iについて時間間隔Δtのサンプリングを
行い、各電流値を記録すればよいことになる。
When the motor current I reaches a substantially constant value, recording of the current value I, that is, sampling of the time interval Δt of the current value I is started (step S53). The recording of the current value I is continued until the paper feed motor starts to be driven at a constant speed by the PID control and the sampling of the current value I is started until the paper feed motor rotates for one and a half cycles or more, and the paper feed motor is only for one and a half cycles. After the rotation, the recording of the current value I is completed (step S54). The rotation speed of the motor corresponding to the period for recording the current value I can be arbitrarily determined according to the time interval and the number of times of sampling the current value I. Here, as shown in FIG. 16, for example, when it is assumed that N times of sampling of the time interval Δt are performed, a time of performing N times of sampling of the time interval Δt and a time of rotation of the paper feed motor by one and a half cycles. Are equal, the paper feed motor starts to be driven at a constant speed, and then one and a half revolutions,
It suffices to sample the motor current value I at time intervals Δt and record each current value.

【0101】電流値Iの記録期間中は、時間間隔Δtで
モータ電流値のサンプリングを行うごとに、各電流値I
とサンプリングの時間間隔Δtとから積分値をそれぞれ
算出して蓄積していく。
During the recording of the current value I, each current value I is sampled every time the motor current value is sampled at the time interval Δt.
And an integral value is calculated from the sampling time interval Δt and accumulated.

【0102】紙送りモータが定速度駆動され始めてから
一周半回転し、モータ電流値の時間間隔Δtのサンプリ
ングN回が行われて電流値Iの記録が終了したら、電流
値IのN個の積分値の総和を算出し、その総和を電流値
Iの記録期間の長さΔt×Nで除算することにより、定
速度駆動時における紙送りモータの駆動負荷に応じたモ
ータ電流の平均値/I(記号“/”は、平均値を意味す
るものとする)を算出する(ステップS55)。
After the paper feed motor starts to be driven at a constant speed, it makes one and a half rotations, sampling N times of the motor current value time interval Δt is performed and recording of the current value I is completed, and then N integration of the current value I is completed. By calculating the sum of the values and dividing the sum by the length Δt × N of the recording period of the current value I, the average value of the motor current / I ( The symbol "/" means an average value) (step S55).

【0103】以上で、PFメジャーメントが終了する。
このPFメジャーメントにより得られたモータ電流の平
均値は、所定のメモリに更新保存される。尚、同一又は
別個のメモリには、印刷紙の存在のみに起因する紙送り
駆動負荷に応じたモータ電流の電流値がオフセット値と
して記憶保持されている。そして、紙送り機構部内に紙
が挿入されていない状態で行ったPFメジャーメントに
より得られたモータ電流の平均値は、オフセット値とと
もに使用される。紙送り機構部内に紙が挿入されている
状態で行ったPFメジャーメントにより得られたモータ
電流の平均値は、オフセット値を用いることなく、単独
で使用される。前述のように、特に、一回の紙送り量が
小さい場合は、このモータ電流の平均値が使用されるこ
とにより、安定した高精度な電流制御が可能となる。
This is the end of the PF measurement.
The average value of the motor current obtained by this PF measurement is updated and stored in a predetermined memory. In the same or separate memory, the current value of the motor current according to the paper feed drive load caused only by the presence of printing paper is stored and held as an offset value. Then, the average value of the motor current obtained by the PF measurement performed in the state where the paper is not inserted in the paper feeding mechanism unit is used together with the offset value. The average value of the motor current obtained by the PF measurement performed while the paper is inserted in the paper feeding mechanism is used alone without using the offset value. As described above, particularly when the paper feed amount per time is small, the average value of this motor current is used, and stable and highly accurate current control is possible.

【0104】図17は、カッターが装着された場合にお
けるプリンタ本体及びカッターの概略構成を模式的に示
した説明図である。
FIG. 17 is an explanatory view schematically showing the schematic construction of the printer main body and the cutter when the cutter is attached.

【0105】図17に示すプリンタ本体の構成は、ロー
ル紙90の使用を前提としたものになっているため、給
紙ローラ64と紙送りローラ65及びその従動ローラ6
6との間に、ロール紙用紙送りローラ91及びその従動
ローラ92が配設されている。その他のプリンタ本体の
構成は、前述の図14及び図15に図示して説明したプ
リンタの構成と同様である。
Since the printer body shown in FIG. 17 is premised on the use of the roll paper 90, the paper feed roller 64, the paper feed roller 65 and the driven roller 6 thereof.
A roll paper feed roller 91 and a driven roller 92 thereof are disposed between the roll paper feed roller 6 and the roller 6. Other configurations of the printer main body are similar to the configurations of the printer illustrated and described in FIGS. 14 and 15 described above.

【0106】一方、カッターの構成は、支持部材96に
軸支された円形刃97がカッター用プラテン95上に配
設されており、円形刃97の給紙側にはカッター用紙送
りローラ93及びその従動ローラ94、円形刃97の排
紙側にはカッター用排紙ローラ98及びその従動ローラ
99がそれぞれ配設されている。
On the other hand, the cutter is configured such that a circular blade 97 pivotally supported by a supporting member 96 is arranged on a platen 95 for the cutter, and a cutter paper feed roller 93 and its driven side are provided on the paper feeding side of the circular blade 97. A cutter discharge roller 98 and a driven roller 99 for the cutter are disposed on the discharge side of the roller 94 and the circular blade 97, respectively.

【0107】ロール紙90から引き出された帯状印刷紙
90aは、各ローラによって順次紙送りされ、ヘッド9
により印刷が行われる。その後、帯状印刷紙90aはさ
らに各ローラによって順次紙送りされ、帯状印刷紙90
aの印刷済み部分における画像と画像との境界線がカッ
ターの円形刃97の真下に来たときに紙送り動作を一時
停止させ、帯状印刷紙90aを印刷画像ごとに切り離
す。このように、帯状印刷紙90aの印刷済み部分にお
ける画像と画像とを、それらの境界線において切り離す
ために、プリンタ本体側においては紙送り量がカウント
されている。切り離された一画像分の印刷紙は、カッタ
ー用排紙ローラ98及びその従動ローラ99により紙送
りされ、カッターの排紙口から排紙される。
The strip-shaped printing paper 90a pulled out from the roll paper 90 is sequentially fed by each roller, and the head 9
Is printed. After that, the belt-shaped printing paper 90a is further fed by each roller, and the belt-shaped printing paper 90a
When the boundary line between the images in the printed portion of a comes directly under the circular blade 97 of the cutter, the paper feeding operation is temporarily stopped and the strip printing paper 90a is separated for each printing image. In this way, in order to separate the image and the image in the printed portion of the strip-shaped printing paper 90a at the boundary line between them, the paper feeding amount is counted on the printer body side. The separated printing paper for one image is fed by the cutter discharge roller 98 and its driven roller 99, and is discharged from the discharge port of the cutter.

【0108】図18は、カッターの円形刃97周辺部を
拡大表示した斜視図である。
FIG. 18 is an enlarged perspective view of the peripheral portion of the circular blade 97 of the cutter.

【0109】円形刃97を軸支する支持部材96は、タ
イミングベルト110に固着されており、このタイミン
グベルト110に噛み合わされたプーリ111を回転駆
動することにより、支持部材96及び円形刃97を駆動
して印刷紙カット動作を行い、帯状印刷紙90aを切断
面90xに沿って切断することができる。プーリ111
及びタイミングベルト110の駆動のために専用のモー
タを設けても良いが、1個又は複数個の歯車を介して、
プーリ111及びタイミングベルト110をプリンタ本
体のCRモータにより駆動してもよい。
The supporting member 96 which pivotally supports the circular blade 97 is fixed to the timing belt 110, and the pulley 111 meshed with the timing belt 110 is rotationally driven to drive the supporting member 96 and the circular blade 97. Then, the printing paper cutting operation is performed, and the strip printing paper 90a can be cut along the cutting surface 90x. Pulley 111
Also, a dedicated motor for driving the timing belt 110 may be provided, but through one or a plurality of gears,
The pulley 111 and the timing belt 110 may be driven by the CR motor of the printer body.

【0110】図17及び図18に示したカッターは、プ
リンタ本体に内蔵させてもよいが、プリンタ本体とは別
個の筐体に内蔵して、そのカッター内蔵筐体をプリンタ
本体に装着して使用するようにしてもよい。
The cutter shown in FIGS. 17 and 18 may be built in the printer main body, but it is built in a housing separate from the printer main body and the cutter built-in housing is attached to the printer main body for use. You may do it.

【0111】図19は、カッターを専用の筐体に内蔵さ
せ、そのカッター内蔵筐体をプリンタ本体に装着して使
用する場合におけるカッター内蔵筐体及びプリンタ本体
の外観を示した斜視図である。
FIG. 19 is a perspective view showing the outer appearance of the cutter built-in housing and the printer main body when the cutter built-in housing is used by mounting the cutter built-in housing on the printer main body.

【0112】カッターは、例えば、図19(a)に示す
ような筐体200に内蔵させることができ、カッターを
使用する際には、図19(b)に示すように、このカッ
ター内蔵筐体200をプリンタ本体60に装着する。ま
た、ロール紙から引き出されて画像印刷が行われた印刷
済み帯状印刷紙のカット動作を実行する際には、図19
(c)に示すような紙受け用バスケット201をカッタ
ー内蔵筐体200の排紙口に装着して、切り離された印
刷紙を収容するようにするとよい。
The cutter can be incorporated in a casing 200 as shown in FIG. 19A, for example. When the cutter is used, as shown in FIG. 200 is attached to the printer body 60. In addition, when performing the cutting operation of the printed strip-shaped printing paper that has been drawn from the roll paper and image-printed, FIG.
A paper receiving basket 201 as shown in (c) may be attached to the paper discharge port of the cutter built-in housing 200 to accommodate the separated print paper.

【0113】ところで、上記カッター内蔵筐体は、紙送
りモータの駆動力を利用してカッターを駆動することに
より自動的に印刷紙を切断する。従って、プリンタ本体
に対するカッター内蔵筐体の着脱の結果、紙送り機構を
駆動する紙送りモータの駆動負荷及びそれに対応するモ
ータ電流の電流値が変動し、紙送り駆動制御に使用され
るモータ電流の平均値と、実際の駆動負荷に応じたモー
タ電流の電流値との差が大きくなり、紙送り駆動制御の
精度が低下し得る。その他、プリンタ本体の紙送りモー
タの駆動力を利用する任意のオプション機器の着脱によ
り、同様の問題が発生する。
By the way, the casing with built-in cutter automatically cuts the printing paper by driving the cutter using the driving force of the paper feed motor. Therefore, as a result of the attachment / detachment of the housing with built-in cutter to the printer body, the drive load of the paper feed motor that drives the paper feed mechanism and the corresponding motor current value fluctuate, and the motor current used for paper feed drive control changes. The difference between the average value and the current value of the motor current according to the actual drive load becomes large, and the accuracy of the paper feed drive control may decrease. In addition, the same problem occurs when an optional device using the driving force of the paper feed motor of the printer body is attached or detached.

【0114】そこで、本発明に係るプリンタ制御装置及
びプリンタ制御方法は、従来、電源をオンにする際にの
み行っていたPFメジャーメントを、紙送り負荷が変動
し得るオプション機器の着脱に応じて実行可能としたも
のである。この点が本発明に係るプリンタ制御装置及び
プリンタ制御方法の最も特徴的な点である。
Therefore, in the printer control apparatus and the printer control method according to the present invention, the PF measurement, which has been conventionally performed only when the power is turned on, is changed according to the attachment / detachment of the optional device in which the paper feeding load can fluctuate. It was made feasible. This is the most characteristic point of the printer control device and the printer control method according to the present invention.

【0115】これにより、オプション機器の着脱に起因
する紙送り負荷の変動が発生した場合においても、常に
最適化された紙送り制御を実現することができ、プリン
タの紙送り機構を駆動する紙送りモータを、一回の紙送
り量が小さい場合も含めて高精度に制御することが可能
となる。
As a result, even when the paper feed load fluctuates due to attachment / detachment of optional equipment, it is possible to always realize optimized paper feed control, and drive the paper feed mechanism of the printer. It is possible to control the motor with high accuracy even when the amount of paper feed per time is small.

【0116】以下、本発明に係るプリンタ制御装置及び
プリンタ制御方法並びにそのプリンタ制御方法を実行す
るコンピュータプログラムを記録した記録媒体の実施の
一形態について、図面を参照しながら説明する。
Hereinafter, an embodiment of a printer control apparatus and a printer control method according to the present invention, and a recording medium recording a computer program for executing the printer control method will be described with reference to the drawings.

【0117】図1は、本発明に係るプリンタ制御装置の
構成を示したブロック図である。
FIG. 1 is a block diagram showing the configuration of the printer control apparatus according to the present invention.

【0118】本発明に係るプリンタ制御装置は、電源が
オンになったことを検出する電源オン検出器101と、
プリンタ本体に対するオプション機器の着脱を検出する
オプション機器着脱検出器102と、オプション機器の
着脱の検出に応じて、紙送りモータの定速度駆動時にお
ける紙送り駆動負荷に応じたモータ電流の測定を行うP
Fメジャーメントの実行又は不実行の選択を指令するP
Fメジャーメント選択指令部103と、PFメジャーメ
ントの実行又は不実行の選択指令に対し、PFメジャー
メントの実行又は不実行の選択を入力する選択入力部で
あるホストコンピュータ18と、電源オンの検出又はP
Fメジャーメントの実行の選択に応じて、紙送り機構部
が、所定範囲内の厚さの印刷紙の紙送りを行うためのニ
ップ状態となっているか、又は、所定範囲を超える厚さ
の印刷紙の紙送りを行うためのレリース状態となってい
るかを検出するレリース検出器104と、電源オンの検
出又はPFメジャーメントの実行の選択に応じて、紙送
り機構部内に印刷紙が存在するか否かを検出するペーパ
ーエンド検出器105と、電源オンの検出又はPFメジ
ャーメントの実行の選択、並びに、ニップ状態の検出及
び紙送り機構部内における印刷紙の有無の検出に応じ
て、PFメジャーメントに必要な動作を指令し、実行す
るPFメジャーメント指令実行部106と、上記PFメ
ジャーメントの過程において算出される上記モータ電流
の積分値を順次蓄積保存するメモリ107と、を備えて
いる。尚、レリース検出器104は、図13におけるレ
リース検出器211及び212に相当するものである。
また、上記構成においては、選択入力部としてホストコ
ンピュータ18を使用しているが、選択入力部は、プリ
ンタ本体に搭載されているものとしてもよい。
The printer control apparatus according to the present invention comprises a power-on detector 101 for detecting that the power is turned on,
An optional device attachment / detachment detector 102 for detecting attachment / detachment of an optional device to / from the printer body, and a motor current according to a paper feed drive load during constant speed driving of the paper feed motor is measured in response to detection of attachment / detachment of the optional device P
P to command the execution or non-execution of F measurement
F measurement selection command unit 103, host computer 18 which is a selection input unit for inputting selection of execution or non-execution of PF measurement in response to selection command of execution or non-execution of PF measurement, and detection of power-on Or P
In accordance with the selection of execution of F measurement, the paper feed mechanism unit is in a nip state for feeding a printing paper having a thickness within a predetermined range, or printing with a thickness exceeding the predetermined range. A release detector 104 for detecting whether or not the paper is in a release state for paper feeding, and whether a printing paper exists in the paper feeding mechanism unit according to selection of detection of power-on or execution of PF measurement The paper end detector 105 that detects whether or not the PF measurement is performed depending on whether the power is turned on or whether the PF measurement is performed, the nip state is detected, and the presence or absence of the printing paper in the paper feeding mechanism unit is detected. The PF measurement command execution unit 106 that commands and executes the necessary operation, and the integrated value of the motor current calculated in the process of the PF measurement is sequentially accumulated. Exists includes a memory 107, a. The release detector 104 corresponds to the release detectors 211 and 212 in FIG.
Further, in the above configuration, the host computer 18 is used as the selection input unit, but the selection input unit may be mounted in the printer body.

【0119】PFメジャーメントは、紙送りモータの定
速度駆動時における紙送り駆動負荷に応じたモータ電流
の測定に加えて、上記モータ電流の平均値の算出を行う
ものとしてもよい。その場合には、メモリ107は、P
Fメジャーメントにより算出された上記モータ電流の平
均値を更新保存するものとするとよい。
In the PF measurement, in addition to the measurement of the motor current according to the paper feed drive load when the paper feed motor is driven at a constant speed, the average value of the motor current may be calculated. In that case, the memory 107 stores P
The average value of the motor current calculated by F measurement may be updated and stored.

【0120】本発明に係るプリンタ制御装置及びプリン
タ制御方法は、電源オンが検出されたときの他、オプシ
ョン機器の着脱の検出に応じてPFメジャーメントの実
行の選択が行われたときにも、PFメジャーメントを行
うものである。尚、本発明に係るプリンタ制御装置及び
プリンタ制御方法においても、電源オン検出器101に
よる電源オンの検出に応じたPFメジャーメントが行わ
れるが、その動作及び手順の内容は、上述した通常のプ
リンタ制御装置及びプリンタ制御方法によるPFメジャ
ーメントとまったく同様であるので、再度の説明は省略
する。
The printer control apparatus and the printer control method according to the present invention, in addition to the detection of the power-on, when the execution of the PF measurement is selected in response to the detection of the attachment / detachment of the optional device, This is a PF measurement. In the printer control apparatus and the printer control method according to the present invention, the PF measurement is performed according to the detection of the power-on by the power-on detector 101. The operation and the contents of the procedure are the same as those of the normal printer described above. Since it is exactly the same as the PF measurement by the control device and the printer control method, the repetitive description will be omitted.

【0121】図2は、本発明に係るプリンタ制御装置の
動作、即ち、本発明に係るプリンタ制御方法の手順を示
したフローチャートである。尚、説明の便宜上、図2の
フローチャートには、プリンタ制御装置の動作のみなら
ず、プリンタ本体の動作等も含まれている。
FIG. 2 is a flowchart showing the operation of the printer control apparatus according to the present invention, that is, the procedure of the printer control method according to the present invention. For convenience of explanation, the flowchart of FIG. 2 includes not only the operation of the printer control device but also the operation of the printer body.

【0122】図1及び図2を参照しながら、本発明に係
るプリンタ制御装置の動作、即ち、本発明に係るプリン
タ制御方法の手順について説明する。
The operation of the printer control apparatus according to the present invention, that is, the procedure of the printer control method according to the present invention will be described with reference to FIGS. 1 and 2.

【0123】オプション機器着脱検出器は、プリンタ本
体に対するオプション機器の着脱、即ち、プリンタ本体
へのオプション機器の装着及びプリンタ本体からのオプ
ション機器の離脱を常時監視しており(ステップS
1)、オプション機器着脱を検出したときにはオプショ
ン機器着脱の検出をPFメジャーメント選択指令部10
3に通知する(ステップS2)。
The optional device attachment / detachment detector constantly monitors the attachment / detachment of the optional device to / from the printer body, that is, the attachment / detachment of the optional device to / from the printer body (step S).
1), when the attachment / detachment of the optional device is detected, the detection of the attachment / detachment of the optional device is detected by the PF measurement selection command unit 10
3 is notified (step S2).

【0124】PFメジャーメント選択指令部103は、
オプション機器着脱の検出が通知されると、PFメジャ
ーメントの実行又は不実行の選択を指令する(ステップ
S3)。ここでは、プリンタに接続されたホストコンピ
ュータ18にPFメジャーメント選択指令を送信し、ホ
ストコンピュータ18の表示部に、PFメジャーメント
の実行又は不実行の選択を指示するメッセージを表示さ
せ、ユーザにPFメジャーメントの実行又は不実行のい
ずれかを選択させるようにする。尚、選択入力部及び表
示部がプリンタ本体に搭載されている場合には、プリン
タ本体において同様の動作を行ってもよい。
The PF measurement selection command section 103
When the detection of the attachment / detachment of the optional device is notified, the execution or non-execution of the PF measurement is instructed (step S3). Here, a PF measurement selection command is transmitted to the host computer 18 connected to the printer, a message instructing to select execution or non-execution of PF measurement is displayed on the display unit of the host computer 18, and the user is informed of the PF measurement. Have them choose to perform or not to execute the measurement. When the selection input unit and the display unit are mounted on the printer body, the printer body may perform the same operation.

【0125】PFメジャーメント選択指令の結果、PF
メジャーメント不実行が選択された場合には動作手順を
終了するが、PFメジャーメントの実行が選択された場
合にはPFメジャーメントを実行するための次の動作手
順へ進む(ステップS4)。
As a result of the PF measurement selection command, PF
When the measurement non-execution is selected, the operation procedure is ended, but when the PF measurement execution is selected, the procedure proceeds to the next operation procedure for executing the PF measurement (step S4).

【0126】図2のフローチャートの例では、紙送り機
構部内の印刷紙の有無に拘わらずPFメジャーメントを
行うが、PFメジャーメントの実行の選択後、プリンタ
がPFメジャーメント実行可能な状態にあるかどうかを
確認するために、先ず、レリース検出を行う(ステップ
S5)。
In the example of the flowchart of FIG. 2, the PF measurement is performed regardless of the presence or absence of the printing paper in the paper feeding mechanism section. However, after the execution of the PF measurement is selected, the printer is in the PF measurement executable state. In order to confirm whether or not it is first, release detection is performed (step S5).

【0127】レリース検出は、紙送り機構部が、所定範
囲内の厚さの印刷紙の紙送りを行うためのニップ状態と
なっているか、又は、所定範囲を超える厚さの印刷紙の
紙送りを行うためのレリース状態となっているかを検出
するために、レリース検出器104(図13におけるレ
リース検出器211及び212)により行う。
The release is detected by the paper feed mechanism unit in the nip state for feeding the print paper having the thickness within the predetermined range, or the paper feed of the print paper having the thickness exceeding the predetermined range. The release detector 104 (release detectors 211 and 212 in FIG. 13) is used to detect whether or not the release state is set.

【0128】レリース検出の結果、紙送り機構部がレリ
ース状態となっていることが検出された場合は、PFメ
ジャーメントは行わず、一連の動作を終了する。
As a result of the release detection, when it is detected that the paper feed mechanism is in the release state, the PF measurement is not performed and the series of operations is ended.

【0129】一方、レリース検出の結果、紙送り機構部
がニップ状態となっていることが検出された場合は、さ
らに、PE検出を行う(ステップS6)。PE検出は、
プリンタの紙送り機構部内の印刷紙の有無を検出するた
めに、ペーパーエンド検出器105により行われる。ペ
ーパーエンド検出器105としては、図9における紙検
出センサ15を用いることができる。
On the other hand, as a result of the release detection, if it is detected that the paper feed mechanism is in the nip state, PE detection is further performed (step S6). PE detection is
This is performed by the paper end detector 105 in order to detect the presence / absence of printing paper in the paper feeding mechanism of the printer. As the paper end detector 105, the paper detection sensor 15 shown in FIG. 9 can be used.

【0130】PE検出の結果、紙送り機構部内に印刷紙
が存在しないことが検出された場合は、紙送り機構部内
に印刷紙が存在しない場合に対応したPFメジャーメン
トシーケンス1に従ってPFメジャーメントを実行する
(ステップS7)。また、PE検出の結果、紙送り機構
部内に印刷紙が存在することが検出された場合は、紙送
り機構部内に印刷紙が存在する場合に対応したPFメジ
ャーメントシーケンス2に従ってPFメジャーメントを
実行する(ステップS8)。PFメジャーメントの詳細
な動作及び手順は、前述した通りである。
When it is detected as a result of PE detection that no printing paper exists in the paper feeding mechanism unit, the PF measurement is performed according to the PF measurement sequence 1 corresponding to the case where no printing paper exists in the paper feeding mechanism unit. Execute (step S7). Further, as a result of PE detection, when it is detected that the printing paper exists in the paper feeding mechanism unit, the PF measurement is performed according to the PF measurement sequence 2 corresponding to the case where the printing paper exists in the paper feeding mechanism unit. Yes (step S8). The detailed operation and procedure of the PF measurement are as described above.

【0131】尚、ここでは、説明の便宜上、紙送り機構
部のペーパーギャップ設定がニップ状態又はレリース状
態のいずれか、即ち、2段階に調整される場合について
説明しているが、ペーパーギャップ設定は、さらに多段
階に調整可能になっていてもよい。例えば、ペーパーギ
ャップ小(ニップ)、ペーパーギャップ大、封筒対応ペ
ーパーギャップ、CD−R対応ペーパーギャップ、レリ
ースの5段階に調整可能になっていてもよい。その場
合、図2のフローチャートのステップS5からステップ
S8までの動作及び手順は、それぞれのペーパーギャッ
プ設定に対応して行われる。具体的には、レリース検出
においてペーパーギャップ設定がいずれの設定になって
いるかを検出し、さらに、検出されたペーパーギャップ
設定及び紙送り機構部内の印刷紙の有無に応じて、対応
するPFメジャーメントシーケンスを用いてPFメジャ
ーメントが実行される。
Here, for convenience of description, the paper gap setting of the paper feeding mechanism section is described as either the nip state or the release state, that is, the case where the paper gap setting is adjusted in two steps. Alternatively, it may be adjustable in multiple stages. For example, it may be possible to adjust to five levels of a small paper gap (nip), a large paper gap, an envelope compatible paper gap, a CD-R compatible paper gap, and a release. In that case, the operation and procedure from step S5 to step S8 in the flowchart of FIG. 2 are performed corresponding to each paper gap setting. Specifically, the release detection detects which paper gap setting is set, and further, according to the detected paper gap setting and the presence / absence of the printing paper in the paper feeding mechanism unit, the corresponding PF measurement is performed. PF measurements are performed using the sequence.

【0132】PFメジャーメントが終了すると、一連の
動作を終了する。
When the PF measurement is completed, a series of operations is completed.

【0133】プリンタ本体に対し着脱されるオプション
機器の例としては、前述のカッター内蔵筐体、増設給紙
トレイが挙げられるが、その他、プリンタ本体に対する
着脱により、プリンタ本体の紙送り機構の駆動負荷及び
それに対応するモータ電流の電流値が変動し得るもので
あれば、任意のオプション機器に対して本発明の構成を
適用することができる。
Examples of the optional equipment that can be attached / detached to / from the printer body include the above-described housing with built-in cutter and an additional paper feed tray. Also, as long as the current value of the corresponding motor current can be changed, the configuration of the present invention can be applied to any optional equipment.

【0134】以上のように、本発明に係るプリンタ制御
装置及びプリンタ制御方法は、プリンタ本体の紙送り機
構の駆動負荷及びそれに対応するモータ電流の電流値を
変動させ得るオプション機器の着脱を検出して、PFメ
ジャーメントの実行又は不実行の選択の機会を設けるの
で、オプション機器の着脱に起因する紙送り負荷の変動
が発生した場合においても、常に最適化された紙送り制
御を実現することができ、プリンタの紙送り機構を駆動
する紙送りモータを、一回の紙送り量が小さい場合も含
めて高精度に制御することが可能となる。
As described above, the printer control device and the printer control method according to the present invention detect the drive load of the paper feed mechanism of the printer body and the attachment / detachment of an optional device that can change the current value of the corresponding motor current. By providing an opportunity to select whether or not to execute the PF measurement, it is possible to always realize the optimized paper feed control even when the paper feed load fluctuates due to attachment / detachment of an optional device. Therefore, the paper feed motor that drives the paper feed mechanism of the printer can be controlled with high accuracy even when the paper feed amount per time is small.

【0135】図3は、本発明に係るプリンタ制御方法を
実行するコンピュータプログラムが記録された記録媒体
及びその記録媒体が使用されるコンピュータシステムの
外観構成を示した説明図、図4は、図3に示したコンピ
ュータシステムの構成を示すブロック図である。
FIG. 3 is an explanatory diagram showing an external configuration of a recording medium in which a computer program for executing the printer control method according to the present invention is recorded and a computer system in which the recording medium is used, and FIG. 3 is a block diagram showing the configuration of the computer system shown in FIG.

【0136】図3に示したコンピュータシステム70
は、ミニタワー型等の筐体に収納されたコンピュータ本
体71と、CRT(Cathode Ray Tube:陰極線管)、プ
ラズマディスプレイ、液晶表示装置等の表示装置72
と、記録出力装置としてのプリンタ73と、入力装置と
してのキーボード74a及びマウス74bと、フレキシ
ブルディスクドライブ装置76と、CD−ROMドライ
ブ装置77とから構成されている。図4は、このコンピ
ュータシステム70の構成をブロック図として表示した
ものであり、コンピュータ本体71が収納された筐体内
には、RAM(Random Access Memory)等の内部メモリ
75と、ハードディスクドライブユニット78等の外部
メモリがさらに設けられている。本発明に係るプリンタ
制御方法を実行するコンピュータプログラムが記録され
た記録媒体は、このコンピュータシステム70で使用さ
れる。記録媒体としては、例えば、フレキシブルディス
ク81,CD−ROM(Read Only Memory)82が用い
られるが、その他、MO(Magneto Optical)ディス
ク、DVD(Digital Versatile Disk)、その他の光学
的記録ディスク、カードメモリ、磁気テープ等を用いて
もよい。
The computer system 70 shown in FIG.
Is a computer main body 71 housed in a mini tower type housing and a display device 72 such as a CRT (Cathode Ray Tube), a plasma display, and a liquid crystal display device.
And a printer 73 as a recording / output device, a keyboard 74a and a mouse 74b as input devices, a flexible disk drive device 76, and a CD-ROM drive device 77. FIG. 4 is a block diagram showing the configuration of the computer system 70. In a housing in which a computer main body 71 is housed, an internal memory 75 such as a RAM (Random Access Memory) and a hard disk drive unit 78 are included. External memory is further provided. A recording medium in which a computer program for executing the printer control method according to the present invention is recorded is used in this computer system 70. As the recording medium, for example, a flexible disk 81 and a CD-ROM (Read Only Memory) 82 are used, but in addition, an MO (Magneto Optical) disk, a DVD (Digital Versatile Disk), other optical recording disks, a card memory Alternatively, a magnetic tape or the like may be used.

【0137】[0137]

【発明の効果】本発明に係るプリンタ制御装置及びプリ
ンタ制御方法によれば、オプション機器の着脱を検出し
てPFメジャーメントの実行又は不実行の選択の機会を
設けるので、オプション機器の着脱に起因する紙送り負
荷の変動が発生した場合においても、常に最適化された
紙送り制御を実現することができ、プリンタの紙送り機
構を駆動する紙送りモータを、一回の紙送り量が小さい
場合も含めて高精度に制御することができる。
According to the printer control apparatus and the printer control method according to the present invention, since it is possible to detect the attachment / detachment of an optional device and provide an opportunity to select whether or not to execute the PF measurement, it is possible to attach or detach the optional device. Even if a paper feed load fluctuation occurs, the paper feed control can always be optimized, and the paper feed motor that drives the paper feed mechanism of the printer can reduce the amount of paper feed at one time. It is possible to control with high precision including.

【0138】本発明に係るコンピュータプログラムの記
録媒体によれば、上記本発明に係るプリンタ制御方法の
いずれかをコンピュータシステムにおいて実行するコン
ピュータプログラムが記録されているので、上記本発明
に係るプリンタ制御方法のいずれかをコンピュータシス
テムにおいて実行することにより、上記同様の効果を得
ることができる。
According to the computer program recording medium of the present invention, a computer program for executing any one of the printer controlling methods of the present invention in a computer system is recorded, and thus the printer controlling method of the present invention. By executing any of the above in a computer system, the same effect as described above can be obtained.

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

【図1】本発明に係るプリンタ制御装置の構成を示した
ブロック図。
FIG. 1 is a block diagram showing a configuration of a printer control device according to the present invention.

【図2】本発明に係るプリンタ制御装置の動作、即ち、
本発明に係るプリンタ制御方法の手順を示したフローチ
ャート。
FIG. 2 is an operation of the printer control device according to the present invention, that is,
6 is a flowchart showing a procedure of a printer control method according to the present invention.

【図3】本発明に係るプリンタ制御方法を実行するプロ
グラムが記録された記録媒体及びその記録媒体が使用さ
れるコンピュータシステムの外観構成を示した説明図。
FIG. 3 is an explanatory diagram showing an external configuration of a recording medium in which a program for executing the printer control method according to the present invention is recorded and a computer system in which the recording medium is used.

【図4】図3に示したコンピュータシステムの構成を示
すブロック図。
FIG. 4 is a block diagram showing the configuration of the computer system shown in FIG.

【図5】インクジェットプリンタの概略構成を示したブ
ロック図。
FIG. 5 is a block diagram showing a schematic configuration of an inkjet printer.

【図6】インクジェットプリンタのキャリッジ3周辺の
構成を示した斜視図。
FIG. 6 is a perspective view showing a configuration around a carriage 3 of the inkjet printer.

【図7】キャリッジ3に取付けられたリニア式エンコー
ダ11の構成を模式的に示した説明図。
FIG. 7 is an explanatory diagram schematically showing a configuration of a linear encoder 11 attached to a carriage 3.

【図8】CRモータ正転時及び逆転時におけるエンコー
ダ11の2つの出力信号の波形を示したタイミングチャ
ート。
FIG. 8 is a timing chart showing waveforms of two output signals of the encoder 11 at the time of forward rotation and reverse rotation of the CR motor.

【図9】給紙及び紙検出に関連する部分を示した透視
図。
FIG. 9 is a perspective view showing a part related to paper feeding and paper detection.

【図10】プリンタの紙送りに関連する部分を詳細に示
した透視図。
FIG. 10 is a perspective view showing in detail a portion related to paper feeding of the printer.

【図11】DCモータ制御装置であるDCユニット6の
構成を示したブロック図。
FIG. 11 is a block diagram showing a configuration of a DC unit 6 which is a DC motor control device.

【図12】DCユニット6により制御されるCRモータ
4のモータ電流及びモータ速度を示したグラフ。
FIG. 12 is a graph showing a motor current and a motor speed of the CR motor 4 controlled by the DC unit 6.

【図13】プリンタのペーパーギャップ調整機構部及び
レリース検出器の配置構成を示す側面図。
FIG. 13 is a side view showing an arrangement configuration of a paper gap adjusting mechanism section and a release detector of the printer.

【図14】通常のプリンタ制御方法の電源オン時の手順
を示したフローチャート。
FIG. 14 is a flowchart showing the procedure when the power is turned on in the normal printer control method.

【図15】PFメジャーメントの手順を示したフローチ
ャート。
FIG. 15 is a flowchart showing the procedure of PF measurement.

【図16】PFメジャーメントの際のモータ速度及びモ
ータ電流を示したグラフ。
FIG. 16 is a graph showing motor speed and motor current during PF measurement.

【図17】カッターが装着された場合におけるプリンタ
本体及びカッターの概略構成を模式的に示した説明図。
FIG. 17 is an explanatory diagram schematically showing a schematic configuration of a printer main body and a cutter when the cutter is attached.

【図18】カッターの円形刃97周辺部を拡大表示した
斜視図。
FIG. 18 is an enlarged perspective view of the periphery of the circular blade 97 of the cutter.

【図19】カッターを専用の筐体に内蔵させ、そのカッ
ター内蔵筐体をプリンタ本体に装着して使用する場合に
おけるカッター内蔵筐体及びプリンタ本体の外観を示し
た斜視図。
FIG. 19 is a perspective view showing appearances of a cutter built-in housing and the printer main body when the cutter built-in housing is used by mounting the cutter built-in housing on the printer main body.

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

1 紙送りモータ(PFモータ) 2 紙送りドライバ 3 キャリッジ 4 キャリッジモータ(CRモータ) 5 キャリッジモータドライバ(CRモータドライバ) 6 DCユニット 6a 位置演算部 6b 減算器 6c 目標速度演算手段 6d 速度演算部 6e 減算器 6f 比例要素 6g 積分要素 6h 微分要素 6j D/Aコンバータ 7 ポンプモータ 8 ポンプモータドライバ 9 記録ヘッド 10 ヘッドドライバ 11 リニア式エンコーダ 12 符号板 13 エンコーダ(ロータリ式エンコーダ) 14 ロータリ式エンコーダ用符号板 15 紙検出センサ 16 CPU 17 タイマIC 18 ホストコンピュータ 19 インタフェース部 20 ASIC 21 PROM 22 RAM 23 EEPROM 25 プラテン 30 プーリ 31 タイミングベルト 32 キャリッジモータのガイド部材 34 インクカートリッジ 35 キャッピング装置 36 ポンプユニット 37 キャップ 50 記録紙 60 プリンタ 61 給紙挿入口 62 排紙口 64 給紙ローラ 65 紙送りローラ 66 従動ローラ 67a 大歯車 67b 中間歯車 67c 排紙歯車 68 排紙ローラ 69 従動ローラ(ギザローラ) 83 スマップ軸 84 プラテン 87 小歯車 88 小歯車 89 ホルダ 90 ロール紙 90a ロール紙90から引き出された帯状印刷紙 90x 帯状印刷紙90aの切断面 91 ロール紙用紙送りローラ 92 従動ローラ 93 カッター用紙送りローラ 94 従動ローラ 95 カッター用プラテン 96 円形刃支持部材 97 円形刃 98 カッター用排紙ローラ 99 従動ローラ 101 電源オン検出器 102 オプション機器着脱検出器 103 PFメジャーメント選択指令部 104 レリース検出部 105 ペーパーエンド検出器 106 PF(紙送り)メジャーメント指令実行部 107 メモリ 110 タイミングベルト 111 プーリ 201 ペーパーギャップ調整用レバー 202,204,205,209 歯車 203 扇状突起部 206,208 偏心ブッシュ 207 連結部材 210 バネ 211,212 レリース検出器 300 カッター内蔵筐体 301 紙受け用バスケット 1 Paper feed motor (PF motor) 2 Paper feed driver 3 carriage 4 Carriage motor (CR motor) 5 Carriage motor driver (CR motor driver) 6 DC unit 6a Position calculation unit 6b subtractor 6c Target speed calculation means 6d Speed calculator 6e Subtractor 6f proportional element 6g integral element 6h differential element 6j D / A converter 7 pump motor 8 Pump motor driver 9 recording head 10 head driver 11 Linear encoder 12 code plate 13 Encoder (rotary encoder) 14 Code plate for rotary encoder 15 Paper detection sensor 16 CPU 17 Timer IC 18 Host computer 19 Interface section 20 ASIC 21 PROM 22 RAM 23 EEPROM 25 platen 30 pulley 31 Timing Belt 32 Carriage motor guide member 34 ink cartridges 35 capping device 36 pump units 37 cap 50 recording paper 60 printer 61 Paper feed insertion slot 62 paper exit 64 paper feed rollers 65 Paper feed roller 66 driven roller 67a large gear 67b Intermediate gear 67c Paper ejection gear 68 Paper ejection roller 69 Driven roller (Giza roller) 83 Smap axis 84 Platen 87 small gear 88 small gears 89 holder 90 roll paper 90a Strip-shaped printing paper drawn from roll paper 90 90x Cut surface of strip printing paper 90a 91 Roll paper Paper feed roller 92 Driven roller 93 Cutter Paper feed roller 94 Driven roller 95 Cutter Platen 96 circular blade support member 97 circular blade 98 Paper ejection roller for cutter 99 driven roller 101 Power-on detector 102 Optional equipment attachment / detachment detector 103 PF measurement selection command section 104 Release detector 105 Paper end detector 106 PF (paper feed) measurement command execution unit 107 memory 110 timing belt 111 pulley 201 Paper gap adjusting lever 202,204,205,209 Gears 203 fan-shaped protrusion 206, 208 Eccentric bush 207 Connection member 210 spring 211,212 Release Detector 300 cutter built-in housing 301 Paper receiving basket

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2C058 AB15 AC07 AC11 AD01 AE02 AF04 AF51 GA06 GB03 GB19 GE04 GE12 2C480 CB02 CB07 CB34 EA02 3F048 AA05 AB01 BA05 BA06 CB02 DA01 DA06 DA09 DB01 DC12 EB29    ─────────────────────────────────────────────────── ─── Continued front page    F term (reference) 2C058 AB15 AC07 AC11 AD01 AE02                       AF04 AF51 GA06 GB03 GB19                       GE04 GE12                 2C480 CB02 CB07 CB34 EA02                 3F048 AA05 AB01 BA05 BA06 CB02                       DA01 DA06 DA09 DB01 DC12                       EB29

Claims (25)

【特許請求の範囲】[Claims] 【請求項1】プリンタ本体に対するオプション機器の着
脱を検出するオプション機器着脱検出器と、 前記オプション機器の着脱の検出に応じて、紙送りモー
タの定速度駆動時における紙送り駆動負荷に応じたモー
タ電流の測定を行うPFメジャーメントの実行又は不実
行の選択を指令するPFメジャーメント選択指令部と、 前記PFメジャーメントの実行の選択に応じて、前記P
Fメジャーメントに必要な動作を指令し、実行するPF
メジャーメント指令実行部と、を備えていることを特徴
とするプリンタ制御装置。
1. An optional device attachment / detachment detector for detecting attachment / detachment of an optional device to / from a printer main body, and a motor according to a paper feed drive load when a paper feed motor is driven at a constant speed in response to detection of attachment / detachment of the optional device. A PF measurement selection command unit for instructing the execution or non-execution of the PF measurement for measuring the current, and the P operation according to the selection of the execution of the PF measurement.
PF that commands and executes necessary operations for F measurement
A printer control device comprising: a measurement command execution unit.
【請求項2】前記オプション機器は、プリンタ本体に対
する着脱により、プリンタ本体の紙送り機構を駆動する
紙送りモータの駆動負荷及びそれに対応するモータ電流
の電流値を変動させ得るものであることを特徴とする請
求項1に記載のプリンタ制御装置。
2. The optional equipment can change the drive load of a paper feed motor for driving the paper feed mechanism of the printer main body and the current value of the corresponding motor current by being attached / detached to / from the printer main body. The printer control device according to claim 1.
【請求項3】前記オプション機器は、印刷紙を切断する
カッターを専用の筐体に内蔵させたカッター内蔵筐体で
あることを特徴とする請求項1又は2に記載のプリンタ
制御装置。
3. The printer control device according to claim 1, wherein the optional device is a cutter built-in housing in which a cutter for cutting printing paper is built in a dedicated housing.
【請求項4】前記オプション機器は、装填された印刷紙
を給紙するための給紙トレイであることを特徴とする請
求項1又は2に記載のプリンタ制御装置。
4. The printer control device according to claim 1, wherein the optional equipment is a paper feed tray for feeding the loaded printing paper.
【請求項5】前記PFメジャーメントは、さらに、前記
モータ電流の平均値の算出を行うものであることを特徴
とする請求項1乃至4のいずれかに記載のプリンタ制御
装置。
5. The printer control device according to claim 1, wherein the PF measurement further calculates an average value of the motor current.
【請求項6】プリンタ本体に対するオプション機器の着
脱を検出するオプション機器着脱検出器と、 前記オプション機器の着脱の検出に応じて、紙送りモー
タの定速度駆動時における紙送り駆動負荷に応じたモー
タ電流の測定を行うPFメジャーメントの実行又は不実
行の選択を指令するPFメジャーメント選択指令部と、 前記PFメジャーメントの実行又は不実行の選択指令に
対し、前記PFメジャーメントの実行又は不実行の選択
を入力する選択入力部と、 前記PFメジャーメントの実行の選択に応じて、紙送り
機構部が、所定範囲内の厚さの印刷紙の紙送りを行うた
めのニップ状態となっているか、又は、所定範囲を超え
る厚さの印刷紙の紙送りを行うためのレリース状態とな
っているかを検出するレリース検出器と、 前記PFメジャーメントの実行の選択に応じて、紙送り
機構部内に印刷紙が存在するか否かを検出するペーパー
エンド検出器と、 前記PFメジャーメントの実行の選択、並びに、ニップ
状態の検出及び紙送り機構部内における印刷紙の有無の
検出に応じて、前記PFメジャーメントに必要な動作を
指令し、実行するPFメジャーメント指令実行部と、 前記PFメジャーメントの過程において算出される前記
モータ電流の積分値を順次蓄積保存するメモリと、を備
えていることを特徴とするプリンタ制御装置。
6. An optional device attachment / detachment detector for detecting attachment / detachment of an optional device to / from a printer main body, and a motor according to a paper feed drive load when a paper feed motor is driven at a constant speed in response to detection of attachment / detachment of the optional device. A PF measurement selection command unit that commands execution or non-execution of PF measurement for measuring current, and execution or non-execution of the PF measurement in response to a selection command of execution or non-execution of the PF measurement. The selection input unit for inputting the selection of the above and the paper feeding mechanism unit in the nip state for feeding the printing paper having the thickness within the predetermined range according to the selection of the execution of the PF measurement. Or a release detector for detecting whether the release state is for feeding a printing paper having a thickness exceeding a predetermined range, and the PF message. A paper end detector for detecting whether or not a printing paper is present in the paper feeding mechanism section in accordance with the selection of the execution of the maintenance, the selection of the execution of the PF measurement, the detection of the nip state and the paper feeding mechanism. A PF measurement command execution unit that commands and executes an operation required for the PF measurement according to the detection of the presence or absence of the printing paper in the set, and an integrated value of the motor current calculated in the process of the PF measurement. And a memory that sequentially stores and stores the printer control device.
【請求項7】電源がオンになったことを検出する電源オ
ン検出器と、 プリンタ本体に対するオプション機器の着脱を検出する
オプション機器着脱検出器と、 前記オプション機器の着脱の検出に応じて、紙送りモー
タの定速度駆動時における紙送り駆動負荷に応じたモー
タ電流の測定を行うPFメジャーメントの実行又は不実
行の選択を指令するPFメジャーメント選択指令部と、 前記PFメジャーメントの実行又は不実行の選択指令に
対し、前記PFメジャーメントの実行又は不実行の選択
を入力する選択入力部と、 電源オンの検出又は前記PFメジャーメントの実行の選
択に応じて、紙送り機構部が、所定範囲内の厚さの印刷
紙の紙送りを行うためのニップ状態となっているか、又
は、所定範囲を超える厚さの印刷紙の紙送りを行うため
のレリース状態となっているかを検出するレリース検出
器と、 電源オンの検出又は前記PFメジャーメントの実行の選
択に応じて、紙送り機構部内に印刷紙が存在するか否か
を検出するペーパーエンド検出器と、 電源オンの検出又は前記PFメジャーメントの実行の選
択、並びに、ニップ状態の検出及び紙送り機構部内にお
ける印刷紙の有無の検出に応じて、前記PFメジャーメ
ントに必要な動作を指令し、実行するPFメジャーメン
ト指令実行部と、 前記PFメジャーメントの過程において算出される前記
モータ電流の積分値を順次蓄積保存するメモリと、を備
えていることを特徴とするプリンタ制御装置。
7. A power-on detector for detecting that the power is turned on, an optional device attachment / detachment detector for detecting attachment / detachment of an optional device to / from the printer body, and a paper sheet according to the detection of attachment / detachment of the optional device. A PF measurement selection command unit for instructing the execution or non-execution of the PF measurement that measures the motor current according to the paper feed drive load when the feed motor is driven at a constant speed, and the execution or non-execution of the PF measurement. In response to the execution selection command, a selection input unit for inputting selection of execution or non-execution of the PF measurement, and a paper feed mechanism unit according to selection of detection of power-on or execution of the PF measurement. The nip state is for feeding the printing paper with the thickness within the range, or for feeding the printing paper with the thickness exceeding the specified range. Release detector for detecting whether or not there is a release state, and a paper end for detecting whether or not a printing paper exists in the paper feed mechanism unit according to selection of power-on detection or execution of the PF measurement. Instructing the operation required for the PF measurement in response to the detector, selection of power-on detection or execution of the PF measurement, detection of the nip state, and detection of the presence or absence of printing paper in the paper feed mechanism section. The printer control device further comprises: a PF measurement command execution unit that executes the PF measurement command; and a memory that sequentially accumulates and stores the integrated value of the motor current calculated in the process of the PF measurement.
【請求項8】前記オプション機器は、プリンタ本体に対
する着脱により、プリンタ本体の紙送り機構を駆動する
紙送りモータの駆動負荷及びそれに対応するモータ電流
の電流値を変動させ得るものであることを特徴とする請
求項6又は7に記載のプリンタ制御装置。
8. The optional equipment is capable of changing a drive load of a paper feed motor for driving a paper feed mechanism of the printer main body and a corresponding motor current value by being attached to or detached from the printer main body. The printer control device according to claim 6 or 7.
【請求項9】前記オプション機器は、印刷紙を切断する
カッターを専用の筐体に内蔵させたカッター内蔵筐体で
あることを特徴とする請求項6乃至8のいずれかに記載
のプリンタ制御装置。
9. The printer control device according to claim 6, wherein the optional device is a cutter built-in housing in which a cutter for cutting printing paper is built in a dedicated housing. .
【請求項10】前記オプション機器は、装填された印刷
紙を給紙するための給紙トレイであることを特徴とする
請求項6乃至8のいずれかに記載のプリンタ制御装置。
10. The printer control device according to claim 6, wherein the optional device is a paper feed tray for feeding the loaded printing paper.
【請求項11】前記PFメジャーメントは、さらに、前
記モータ電流の平均値の算出を行うものであり、 前記メモリは、さらに、前記PFメジャーメントにより
算出された前記モータ電流の平均値を更新保存するもの
であることを特徴とする請求項6乃至10のいずれかに
記載のプリンタ制御装置。
11. The PF measurement further calculates an average value of the motor current, and the memory further updates and stores the average value of the motor current calculated by the PF measurement. 11. The printer control device according to claim 6, wherein the printer control device is a printer.
【請求項12】プリンタ本体に対するオプション機器の
着脱の検出に応じて、紙送りモータの定速度駆動時にお
ける紙送り駆動負荷に応じたモータ電流の測定を行うP
Fメジャーメントの実行又は不実行の選択を指令し、か
つ、前記PFメジャーメントの実行の選択に応じて、前
記PFメジャーメントに必要な動作を指令し、実行する
ことを特徴とするプリンタ制御方法。
12. A motor current is measured according to a paper feed drive load when a paper feed motor is driven at a constant speed in response to detection of attachment / detachment of an optional device to / from a printer body.
A printer control method characterized by instructing execution or non-execution of F measurement, and instructing and executing an operation required for the PF measurement according to selection of execution of the PF measurement. .
【請求項13】前記オプション機器は、プリンタ本体に
対する着脱により、プリンタ本体の紙送り機構を駆動す
る紙送りモータの駆動負荷及びそれに対応するモータ電
流の電流値を変動させ得るものであることを特徴とする
請求項12に記載のプリンタ制御方法。
13. The optional device is capable of changing a drive load of a paper feed motor for driving a paper feed mechanism of the printer main body and a corresponding motor current value by being attached to or detached from the printer main body. The printer control method according to claim 12.
【請求項14】前記オプション機器は、印刷紙を切断す
るカッターを専用の筐体に内蔵させたカッター内蔵筐体
であることを特徴とする請求項12又は13に記載のプ
リンタ制御方法。
14. The printer control method according to claim 12, wherein the optional device is a cutter built-in housing in which a cutter for cutting printing paper is built in a dedicated housing.
【請求項15】前記オプション機器は、装填された印刷
紙を給紙するための給紙トレイであることを特徴とする
請求項12又は13に記載のプリンタ制御方法。
15. The printer control method according to claim 12, wherein the optional device is a paper feed tray for feeding the loaded printing paper.
【請求項16】前記PFメジャーメントは、さらに、前
記モータ電流の平均値の算出を行うものであることを特
徴とする請求項12乃至15のいずれかに記載のプリン
タ制御方法。
16. The printer control method according to claim 12, wherein the PF measurement further calculates an average value of the motor current.
【請求項17】プリンタ本体に対するオプション機器の
着脱を検出するオプション機器着脱検出ステップと、 前記オプション機器の着脱の検出に応じて、紙送りモー
タの定速度駆動時における紙送り駆動負荷に応じたモー
タ電流の測定を行うPFメジャーメントの実行又は不実
行の選択を指令するPFメジャーメント選択指令ステッ
プと、 前記PFメジャーメントの実行又は不実行の選択指令に
対し、前記PFメジャーメントの実行又は不実行の選択
を入力する選択入力ステップと、 前記PFメジャーメントの実行の選択に応じて、紙送り
機構部が、所定範囲内の厚さの印刷紙の紙送りを行うた
めのニップ状態となっているか、又は、所定範囲を超え
る厚さの印刷紙の紙送りを行うためのレリース状態とな
っているかを検出するレリース検出ステップと、 前記PFメジャーメントの実行の選択に応じて、紙送り
機構部内に印刷紙が存在するか否かを検出する印刷紙検
出ステップと、 前記PFメジャーメントの実行の選択、並びに、ニップ
状態の検出及び紙送り機構部内における印刷紙の有無の
検出に応じて、前記PFメジャーメントに必要な動作を
指令し、実行するPFメジャーメント指令実行ステップ
と、 前記PFメジャーメントの過程において算出される前記
モータ電流の積分値を順次蓄積保存する保存ステップ
と、を備えていることを特徴とするプリンタ制御方法。
17. An optional device attachment / detachment detecting step for detecting attachment / detachment of an optional device to / from a printer main body, and a motor according to a paper feed drive load at a constant speed drive of a paper feed motor according to the detection of attachment / detachment of the optional device. PF measurement selection command step for instructing execution or non-execution of PF measurement for measuring current, and execution or non-execution of the PF measurement in response to selection command of execution or non-execution of the PF measurement In accordance with the selection input step for inputting the selection, and the selection of execution of the PF measurement, the paper feed mechanism unit is in the nip state for feeding the print paper having the thickness within the predetermined range. , Or a release check to detect whether it is in a release state for feeding printing paper with a thickness exceeding the specified range. Step, a printing paper detection step of detecting whether or not printing paper is present in the paper feeding mechanism section according to the selection of execution of the PF measurement, selection of execution of the PF measurement, and nip state PF measurement command execution step of instructing and executing an operation required for the PF measurement in accordance with the detection of the above and the presence / absence of the printing paper in the paper feed mechanism section, and the calculation in the process of the PF measurement. And a storing step of sequentially storing and storing the integrated value of the motor current.
【請求項18】電源がオンになったことを検出する電源
オン検出ステップと、 プリンタ本体に対するオプション機器の着脱を検出する
オプション機器着脱検出ステップと、 前記オプション機器の着脱の検出に応じて、紙送りモー
タの定速度駆動時における紙送り駆動負荷に応じたモー
タ電流の測定を行うPFメジャーメントの実行又は不実
行の選択を指令するPFメジャーメント選択指令ステッ
プと、 前記PFメジャーメントの実行又は不実行の選択指令に
対し、前記PFメジャーメントの実行又は不実行の選択
を入力する選択入力ステップと、 電源オンの検出又は前記PFメジャーメントの実行の選
択に応じて、紙送り機構部が、所定範囲内の厚さの印刷
紙の紙送りを行うためのニップ状態となっているか、又
は、所定範囲を超える厚さの印刷紙の紙送りを行うため
のレリース状態となっているかを検出するレリース検出
ステップと、 電源オンの検出又は前記PFメジャーメントの実行の選
択に応じて、紙送り機構部内に印刷紙が存在するか否か
を検出する印刷紙検出ステップと、 電源オンの検出又は前記PFメジャーメントの実行の選
択、並びに、ニップ状態の検出及び紙送り機構部内にお
ける印刷紙の有無の検出に応じて、前記PFメジャーメ
ントに必要な動作を指令し、実行するPFメジャーメン
ト指令実行ステップと、 前記PFメジャーメントの過程において算出される前記
モータ電流の積分値を順次蓄積保存する保存ステップ
と、を備えていることを特徴とするプリンタ制御方法。
18. A power-on detection step for detecting that a power supply is turned on, an optional device attachment / detachment detection step for detecting attachment / detachment of an optional device with respect to a printer body, and a paper sheet according to the detection of attachment / detachment of the optional device. A PF measurement selection command step for instructing the execution or non-execution of the PF measurement for measuring the motor current according to the paper feed drive load when the feed motor is driven at a constant speed, and the execution or non-execution of the PF measurement. In response to the execution selection command, the paper feed mechanism unit determines whether the PF measurement is executed or not executed according to a selection input step, and whether the power-on is detected or the PF measurement is executed. The nip state is for feeding the printing paper within the range, or the thickness exceeds the specified range. The release detection step for detecting whether the print sheet is in the release state for feeding the print sheet and the selection of the power-on detection or the execution of the PF measurement include the print sheet in the paper feed mechanism section. According to the printing paper detection step for detecting whether or not to carry out, selection of power-on detection or execution of the PF measurement, detection of the nip state, and detection of the presence or absence of the printing paper in the paper feeding mechanism section, A PF measurement command execution step of instructing and executing an operation required for PF measurement, and a storage step of sequentially accumulating and storing the integrated value of the motor current calculated in the process of the PF measurement are provided. A printer control method characterized by the above.
【請求項19】前記オプション機器は、プリンタ本体に
対する着脱により、プリンタ本体の紙送り機構を駆動す
る紙送りモータの駆動負荷及びそれに対応するモータ電
流の電流値を変動させ得るものであることを特徴とする
請求項17又は18に記載のプリンタ制御方法。
19. The optional device is capable of changing a drive load of a paper feed motor for driving a paper feed mechanism of the printer main body and a current value of a corresponding motor current by being attached to or detached from the printer main body. The printer control method according to claim 17 or 18.
【請求項20】前記オプション機器は、印刷紙を切断す
るカッターを専用の筐体に内蔵させたカッター内蔵筐体
であることを特徴とする請求項17乃至19のいずれか
に記載のプリンタ制御方法。
20. The printer control method according to claim 17, wherein the optional device is a cutter built-in housing in which a cutter for cutting printing paper is built in a dedicated housing. .
【請求項21】前記オプション機器は、装填された印刷
紙を給紙するための給紙トレイであることを特徴とする
請求項17乃至19のいずれかに記載のプリンタ制御方
法。
21. The printer control method according to claim 17, wherein the optional device is a paper feed tray for feeding the loaded printing paper.
【請求項22】前記PFメジャーメントは、さらに、前
記モータ電流の平均値の算出を行うものであり、 前記保存ステップは、さらに、前記PFメジャーメント
により算出された前記モータ電流の平均値を更新保存す
るものであることを特徴とする請求項17乃至21のい
ずれかに記載のプリンタ制御方法。
22. The PF measurement further calculates an average value of the motor current, and the storing step further updates the average value of the motor current calculated by the PF measurement. The printer control method according to any one of claims 17 to 21, wherein the printer control method is to save.
【請求項23】プリンタ本体に対するオプション機器の
着脱の検出に応じて、紙送りモータの定速度駆動時にお
ける紙送り駆動負荷に応じたモータ電流の測定を行うP
Fメジャーメントの実行又は不実行の選択を指令し、か
つ、前記PFメジャーメントの実行の選択に応じて、前
記PFメジャーメントに必要な動作を指令し、実行する
プリンタ制御方法を、コンピュータシステムにおいて実
行するコンピュータプログラムが記録されたことを特徴
とするコンピュータプログラムの記録媒体。
23. In response to detection of attachment / detachment of an optional device to / from a printer body, a motor current is measured according to a paper feed drive load when the paper feed motor is driven at a constant speed.
In a computer system, there is provided a printer control method for instructing execution or non-execution of F measurement, and instructing and executing an operation required for the PF measurement according to selection of execution of the PF measurement. A computer program recording medium having a computer program to be executed recorded thereon.
【請求項24】プリンタ本体に対するオプション機器の
着脱を検出するオプション機器着脱検出ステップと、 前記オプション機器の着脱の検出に応じて、紙送りモー
タの定速度駆動時における紙送り駆動負荷に応じたモー
タ電流の測定を行うPFメジャーメントの実行又は不実
行の選択を指令するPFメジャーメント選択指令ステッ
プと、 前記PFメジャーメントの実行又は不実行の選択指令に
対し、前記PFメジャーメントの実行又は不実行の選択
を入力する選択入力ステップと、 前記PFメジャーメントの実行の選択に応じて、紙送り
機構部が、所定範囲内の厚さの印刷紙の紙送りを行うた
めのニップ状態となっているか、又は、所定範囲を超え
る厚さの印刷紙の紙送りを行うためのレリース状態とな
っているかを検出するレリース検出ステップと、 前記PFメジャーメントの実行の選択に応じて、紙送り
機構部内に印刷紙が存在するか否かを検出する印刷紙検
出ステップと、 前記PFメジャーメントの実行の選択、並びに、ニップ
状態の検出及び紙送り機構部内における印刷紙の有無の
検出に応じて、前記PFメジャーメントに必要な動作を
指令し、実行するPFメジャーメント指令実行ステップ
と、 前記PFメジャーメントの過程において算出される前記
モータ電流の積分値を順次蓄積保存する保存ステップ
と、を備えているプリンタ制御方法を、コンピュータシ
ステムにおいて実行するコンピュータプログラムが記録
されたことを特徴とするコンピュータプログラムの記録
媒体。
24. An optional device attachment / detachment detecting step for detecting attachment / detachment of an optional device to / from a printer main body, and a motor according to a paper feed drive load when a paper feed motor is driven at a constant speed according to the detection of attachment / detachment of the optional device. PF measurement selection command step for instructing execution or non-execution of PF measurement for measuring current, and execution or non-execution of the PF measurement in response to selection command of execution or non-execution of the PF measurement In accordance with the selection input step for inputting the selection, and the selection of execution of the PF measurement, the paper feed mechanism unit is in the nip state for feeding the print paper having the thickness within the predetermined range. , Or a release check to detect whether it is in a release state for feeding printing paper with a thickness exceeding the specified range. Step, a printing paper detection step of detecting whether or not printing paper is present in the paper feeding mechanism section according to the selection of execution of the PF measurement, selection of execution of the PF measurement, and nip state PF measurement command execution step of instructing and executing an operation required for the PF measurement in accordance with the detection of the above and the presence / absence of the printing paper in the paper feed mechanism section, and the calculation in the process of the PF measurement. A computer program recording medium for recording a computer program for executing a printer control method, comprising: a storing step of sequentially storing and storing the integrated value of the motor current.
【請求項25】電源がオンになったことを検出する電源
オン検出ステップと、 プリンタ本体に対するオプション機器の着脱を検出する
オプション機器着脱検出ステップと、 前記オプション機器の着脱の検出に応じて、紙送りモー
タの定速度駆動時における紙送り駆動負荷に応じたモー
タ電流の測定を行うPFメジャーメントの実行又は不実
行の選択を指令するPFメジャーメント選択指令ステッ
プと、 前記PFメジャーメントの実行又は不実行の選択指令に
対し、前記PFメジャーメントの実行又は不実行の選択
を入力する選択入力ステップと、 電源オンの検出又は前記PFメジャーメントの実行の選
択に応じて、紙送り機構部が、所定範囲内の厚さの印刷
紙の紙送りを行うためのニップ状態となっているか、又
は、所定範囲を超える厚さの印刷紙の紙送りを行うため
のレリース状態となっているかを検出するレリース検出
ステップと、 電源オンの検出又は前記PFメジャーメントの実行の選
択に応じて、紙送り機構部内に印刷紙が存在するか否か
を検出する印刷紙検出ステップと、 電源オンの検出又は前記PFメジャーメントの実行の選
択、並びに、ニップ状態の検出及び紙送り機構部内にお
ける印刷紙の有無の検出に応じて、前記PFメジャーメ
ントに必要な動作を指令し、実行するPFメジャーメン
ト指令実行ステップと、 前記PFメジャーメントの過程において算出される前記
モータ電流の積分値を順次蓄積保存する保存ステップ
と、を備えているプリンタ制御方法を、コンピュータシ
ステムにおいて実行するコンピュータプログラムが記録
されたことを特徴とするコンピュータプログラムの記録
媒体。
25. A power-on detection step for detecting that the power is turned on, an optional device attachment / detachment detecting step for detecting attachment / detachment of an optional device to / from a printer body, and a paper sheet according to the detection of attachment / detachment of the optional device. A PF measurement selection command step for instructing the execution or non-execution of the PF measurement for measuring the motor current according to the paper feed drive load when the feed motor is driven at a constant speed, and the execution or non-execution of the PF measurement. In response to the execution selection command, the paper feed mechanism unit determines whether the PF measurement is executed or not executed according to a selection input step, and whether the power-on is detected or the PF measurement is executed. The nip state is for feeding the printing paper within the range, or the thickness exceeds the specified range. The release detection step for detecting whether the print sheet is in the release state for feeding the print sheet and the selection of the power-on detection or the execution of the PF measurement include the print sheet in the paper feed mechanism section. According to the printing paper detection step for detecting whether or not to carry out, selection of power-on detection or execution of the PF measurement, detection of the nip state, and detection of the presence or absence of the printing paper in the paper feeding mechanism section, A PF measurement command execution step of instructing and executing an operation required for PF measurement, and a storage step of sequentially accumulating and storing the integrated value of the motor current calculated in the process of the PF measurement are provided. A computer program for executing the printer control method in a computer system is recorded. Recording medium of the computer program.
JP2002079084A 2002-03-20 2002-03-20 Printer control apparatus and printer control method Expired - Fee Related JP3997511B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002079084A JP3997511B2 (en) 2002-03-20 2002-03-20 Printer control apparatus and printer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002079084A JP3997511B2 (en) 2002-03-20 2002-03-20 Printer control apparatus and printer control method

Publications (3)

Publication Number Publication Date
JP2003276258A true JP2003276258A (en) 2003-09-30
JP2003276258A5 JP2003276258A5 (en) 2005-09-08
JP3997511B2 JP3997511B2 (en) 2007-10-24

Family

ID=29206220

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002079084A Expired - Fee Related JP3997511B2 (en) 2002-03-20 2002-03-20 Printer control apparatus and printer control method

Country Status (1)

Country Link
JP (1) JP3997511B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014076669A (en) * 2008-03-28 2014-05-01 Seiko Epson Corp Printing method and printing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014076669A (en) * 2008-03-28 2014-05-01 Seiko Epson Corp Printing method and printing apparatus

Also Published As

Publication number Publication date
JP3997511B2 (en) 2007-10-24

Similar Documents

Publication Publication Date Title
JP3812823B2 (en) Printer control apparatus and printer control method
US6756760B2 (en) Motor control device and motor control method
JP2001169584A (en) Control device and method for printer motor, and recording medium storing control program
JP2001103778A (en) Control device and method of printer motor and recording medium recording control programs
JP3812417B2 (en) Printer control method and printer control apparatus
JP3780804B2 (en) Motor control device and control method
US7431414B2 (en) Printer-control apparatus, printer-control method and printer
JP3832174B2 (en) Motor control device and control method
JP3757834B2 (en) Motor control device and printer
JP4026330B2 (en) Motor control method, motor control apparatus, printer, computer program, and computer system
JP3997511B2 (en) Printer control apparatus and printer control method
JP4362815B2 (en) Platen gap adjusting device, printing device, and motor control device
JP4306185B2 (en) Printer control apparatus, printer control method, and computer program
JP2005153258A (en) Printer control device/method and printer
JP2003023784A (en) Motor control method, motor control device, printer, computer program, and computer system
JP3705061B2 (en) MOTOR CONTROL DEVICE, ITS CONTROL METHOD, AND RECORDING MEDIUM CONTAINING MOTOR CONTROL PROGRAM
JP3985535B2 (en) Printer paper feed DC motor control device and control method
JP4026331B2 (en) Motor driving method, motor driving apparatus, printer, computer program, and computer system
JP4003721B2 (en) Printer
JP2003146456A (en) Printer controller and printer control method
JP2005178142A (en) Printer control device, printer control method and printer
JP3900401B2 (en) DC motor control method and control apparatus
JP2001142537A (en) Controller and control method for printer motor and recording medium recording control program
JP2005144936A (en) Apparatus and method for controlling printer and printer
JP2001246799A (en) Apparatus and method for print control, and medium having print control program recorded therein

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050322

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050322

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070208

A131 Notification of reasons for refusal

Effective date: 20070320

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070507

A131 Notification of reasons for refusal

Effective date: 20070601

Free format text: JAPANESE INTERMEDIATE CODE: A131

A521 Written amendment

Effective date: 20070618

Free format text: JAPANESE INTERMEDIATE CODE: A523

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

A61 First payment of annual fees (during grant procedure)

Effective date: 20070726

Free format text: JAPANESE INTERMEDIATE CODE: A61

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Year of fee payment: 3

Free format text: PAYMENT UNTIL: 20100817

LAPS Cancellation because of no payment of annual fees