JP2001088386A - Apparatus and method for controlling printing - Google Patents

Apparatus and method for controlling printing

Info

Publication number
JP2001088386A
JP2001088386A JP27039399A JP27039399A JP2001088386A JP 2001088386 A JP2001088386 A JP 2001088386A JP 27039399 A JP27039399 A JP 27039399A JP 27039399 A JP27039399 A JP 27039399A JP 2001088386 A JP2001088386 A JP 2001088386A
Authority
JP
Japan
Prior art keywords
control
motor
target
carriage
control target
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
JP27039399A
Other languages
Japanese (ja)
Other versions
JP2001088386A5 (en
JP3780768B2 (en
Inventor
Masanori Yoshida
田 昌 敬 吉
Hitoshi Igarashi
人 志 五十嵐
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 JP27039399A priority Critical patent/JP3780768B2/en
Publication of JP2001088386A publication Critical patent/JP2001088386A/en
Publication of JP2001088386A5 publication Critical patent/JP2001088386A5/ja
Application granted granted Critical
Publication of JP3780768B2 publication Critical patent/JP3780768B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

PROBLEM TO BE SOLVED: To return an object to be controlled to an original stop position when the object while stopping is moved upon receipt of an external force. SOLUTION: There are provided a position-detecting part 81 for detecting a position of an object to be controlled which is driven by a motor 4, a position- judging part 85 for judging based on an output of the position-detecting part whether or not the object is positioned to an insensitive region including a target position, and a constant position return control part 86. Based on the judgment result of the position-judging part, the control part controls the motor by setting an application current value to be applied to the motor to be smaller than a minimum value necessary for moving the object in a state without a load when the object is positioned to the insensitive region, or operates the application current value to be applied to the motor so that the object is returned to the target position when the object is not positioned to the insensitive region, thereby controlling the motor on the basis of the operation result.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は印刷制御装置および
印刷制御方法に関するものであって、特に定位置戻し制
御に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a print control device and a print control method, and more particularly to a fixed position return control.

【0002】[0002]

【従来の技術】一般に、インクジェットプリンタ等のシ
リアルプリンタにおいては、印刷紙上を記録ヘッドが走
査して印字を行う。この記録ヘッドはキャリッジに固定
されて、DCモータによって駆動されるキャリッジとと
もに移動する。
2. Description of the Related Art In general, in a serial printer such as an ink jet printer, a recording head scans a printing paper to perform printing. The recording head is fixed to the carriage and moves with the carriage driven by the DC motor.

【0003】そして記録ヘッドは黒インクを吐出するノ
ズル列およびカラーインクを吐出するノズル列を有して
おり、各ノズルはキャリッジに搭載されたインクカート
リッジからインクの供給を受けてインク滴を吐出して文
字や画像を印字する。
The recording head has a nozzle row for discharging black ink and a nozzle row for discharging color ink. Each nozzle receives ink supplied from an ink cartridge mounted on a carriage and discharges ink droplets. To print characters and images.

【0004】このインクカートリッジの交換は、キャリ
ッジを所定の位置に停止させて行っていた。
The replacement of the ink cartridge has been performed with the carriage stopped at a predetermined position.

【0005】[0005]

【発明が解決しようとする課題】このような従来の印刷
装置においては、インクカートリッジの交換中に人が不
意にキャリッジ(制御対象)を動かした場合には、人が
キャリッジを上記所定の位置に戻す必要があった。
In such a conventional printing apparatus, if a person unexpectedly moves the carriage (object to be controlled) during replacement of the ink cartridge, the person moves the carriage to the predetermined position. I needed to go back.

【0006】本発明は上記事情を考慮してなさたれもの
であって、制御対象が停止中に外力を受けて移動した場
合に、元の停止位置に制御対象を戻すことのできる印刷
制御装置および印刷制御方法を提供することを目的とす
る。
The present invention has been made in consideration of the above circumstances, and provides a print control apparatus capable of returning a control target to an original stop position when the control target moves due to an external force during a stop. It is an object to provide a print control method.

【0007】[0007]

【課題を解決するための手段】本発明による印刷制御装
置は、モータによって駆動される制御対象の位置を検出
する位置検出部と、この位置検出部の出力に基づいて前
記制御対象が目標位置を含む不感域に位置しているか否
かを判定する位置判定部と、この位置判定部の判定結果
に基づいて、前記制御対象が前記不感域に位置している
場合には前記モータに付加する付加電流値を前記制御対
象が無負荷状態のときに移動させるのに必要な最小電流
値より小さい電流値として前記モータを制御し、前記制
御対象が前記不感域に位置していない場合は前記制御対
象を前記目標位置に戻すような前記モータに付加する付
加電流値を演算し、この演算結果に基づいて前記モータ
を制御する定位置戻し制御部と、を備えたことを特徴と
する。
According to the present invention, there is provided a print control apparatus comprising: a position detecting section for detecting a position of a control target driven by a motor; and a control section for determining a target position based on an output of the position detecting section. A position judging unit for judging whether or not the control target is located in the dead zone, and an addition to the motor when the control target is located in the dead zone based on a judgment result of the position judging unit. Controlling the motor as a current value smaller than a minimum current value necessary to move the control target when the control target is in a no-load state, and when the control target is not located in the dead zone, the control target And a home position return control unit that calculates an additional current value to be added to the motor so as to return the motor to the target position, and controls the motor based on the calculation result.

【0008】なお、前記不感域の両側に所定の間隔の疑
似バネ制御域が設けられており、前記定位置戻し制御部
は前記疑似バネ制御域に前記制御対象が位置していると
きに前記制御対象を前記目標位置に戻すような付加電流
値を演算し、この演算結果に基づいて前記モータを制御
することが好ましい。
In addition, pseudo-spring control areas are provided at predetermined intervals on both sides of the dead area, and the fixed-position returning control unit controls the control when the control target is located in the pseudo-spring control area. It is preferable to calculate an additional current value that returns the target to the target position, and control the motor based on the calculation result.

【0009】なお、前記制御対象が疑似バネ制御域に位
置しているときの前記付加電流の絶対値I- curは、
前記制御対象の前記目標位置からの変位量をN(>0)
とし、前記目標位置から前記制御対象が位置している疑
似バネ制御域までの距離をAとし、I- st(>0)お
よびI- start(>0)を各々所定値としたとき 、 I- cur=I- st・(N−A)+I- sta
rt で表わされることが好ましい。
The absolute value I - cur of the additional current when the object to be controlled is located in the pseudo-spring control region is:
The displacement amount of the controlled object from the target position is N (> 0)
And then, the distance from the target position to the pseudo-spring control area the control target is positioned as A, I - st (> 0 ) and I - start (> 0) respectively when the predetermined value, I - cur = I - st. (NA) + I - sta
It is preferably represented by rt.

【0010】なお、前記所定値I- startは、前記
制御対象が無負荷状態のときに移動させるのに必要な最
小電流値以上であることが好ましい。
[0010] It is preferable that the predetermined value I - start is equal to or more than a minimum current value required to move the control target when the control object is in a no-load state.

【0011】なお、前記制御対象が不感域および疑似バ
ネ制御域に位置していないときは、前記定位置戻し制御
部は前記モータがショートブレーキ運転モードとなるよ
うに制御し、前記制御対象を停止させることが好まし
い。
When the control target is not located in the dead zone or the pseudo-spring control range, the home position return control unit controls the motor to be in the short brake operation mode and stops the control target. Preferably.

【0012】なお、前記位置検出部は、前記モータの回
転に応じてパルスを発生するエンコーダの出力パルスに
基づいて前記制御対象の位置を検出するように構成して
も良い。
[0012] The position detector may be configured to detect the position of the control target based on an output pulse of an encoder that generates a pulse according to the rotation of the motor.

【0013】なお、前記位置判定部は前記制御対象が不
感域から疑似バネ制御域に移動した回数をカウントし、
このカウント値が所定回数以上となったときに前記定位
置戻し制御部に通知し、前記モータをショートブレーキ
運転モードとすることが好ましい。
The position judging section counts the number of times the controlled object has moved from the dead zone to the pseudo spring control zone,
It is preferable that when the count value becomes equal to or more than a predetermined number, the home position return control unit is notified and the motor is set to the short brake operation mode.

【0014】なお、前記制御対象はキャリッジであり、
前記モータは前記キャリッジを駆動するキャリッジモー
タであり、前記位置判定部は、所定のタイミングで前記
キャリッジの位置を判定するように構成しても良い。
The object to be controlled is a carriage.
The motor may be a carriage motor that drives the carriage, and the position determination unit may determine the position of the carriage at a predetermined timing.

【0015】また本発明による印刷制御方法は、モータ
によって駆動される制御対象の位置を検出するステップ
と、前記検出された位置に基づいて前記制御対象が目標
位置を含む不感域に位置しているか否かを判定するステ
ップと、前記制御対象が前記不感域に位置している場合
には前記モータに付加する付加電流値を前記制御対象が
無負荷状態のときに移動させるのに必要な最小電流値よ
り小さい電流値として前記モータを制御するステップ
と、前記制御対象が前記不感域に位置していない場合に
は、前記制御対象を前記目標位置に戻すような、前記モ
ータに付加する付加電流値を演算し、この演算結果に基
づいて前記モータを制御するステップと、を備えたこと
を特徴とする。
Further, in the printing control method according to the present invention, a step of detecting a position of a control target driven by a motor; and determining whether the control target is located in a dead zone including a target position based on the detected position. Judging whether or not, when the control target is located in the dead zone, a minimum current required to move an additional current value to be added to the motor when the control target is in a no-load state. Controlling the motor as a current value smaller than a value, and an additional current value added to the motor such that the control target returns to the target position when the control target is not located in the dead zone. And controlling the motor based on the calculation result.

【0016】なお、前記不感域の両側に所定の間隔の疑
似バネ制御域が設けられており、前記付加電流を演算す
るステップは、前記制御対象が前記疑似バネ制御域に位
置しているときに前記制御対象を前記目標位置に戻すよ
うな前記付加電流を演算し、この演算結果に基づいて前
記モータを制御することが好ましい。
It is to be noted that pseudo-spring control regions at predetermined intervals are provided on both sides of the dead region, and the step of calculating the additional current is performed when the control target is located in the pseudo-spring control region. It is preferable to calculate the additional current that returns the control target to the target position, and control the motor based on the calculation result.

【0017】なお、前記制御対象が不感域および疑似バ
ネ制御域に位置していないときは、前記モータがショー
トブレーキ運転となるように制御し、前記制御対象を停
止させるステップを更に備えるように構成しても良い。
When the control target is not located in the dead zone or the pseudo-spring control range, the method further includes the step of controlling the motor to perform a short brake operation and stopping the control target. You may.

【0018】[0018]

【発明の実施の形態】本発明の実施の形態を以下、図面
を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0019】まず本発明による印刷制御装置の一実施の
形態を説明する前に、本発明が用いられるシリアルプリ
ンタの1つであるインクジェットプリンタの概略の構成
について説明する。このインクジェットプリンタの概略
の構成を図4に示す。
Before describing an embodiment of a print control apparatus according to the present invention, a schematic configuration of an ink jet printer which is one of serial printers to which the present invention is applied will be described. FIG. 4 shows a schematic configuration of the ink jet printer.

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

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

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

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

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

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

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

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

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

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

【0030】一方、PFモータ1用のロータリ式エンコ
ーダ13は符号板がPFモータ1の回転に応じて回転す
る回転円板である以外は、リニア式エンコーダ11と同
様の構成となっている。なおインクジェットプリンタに
おいては、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 configuration as the linear encoder 11 except that the code plate is a rotating disk that rotates according to the rotation of the PF motor 1. In the ink jet printer, the slit interval of a plurality of slits provided on the code plate of the encoder 13 for the PF motor 1 is 1 /.
Although it is 180 inches, when the PF motor 1 rotates by one slit interval, the paper is fed by 1/1440 inch.

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

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

【0033】次に本発明による印刷制御装置の一実施の
形態の構成を図1に示す。
FIG. 1 shows the configuration of an embodiment of a print control apparatus according to the present invention.

【0034】この実施の形態の印刷制御装置80は、図
4に示したDCユニット6に含まれ、位置カウンタ81
と、カウンタ83と、タイマカウンタ84と、キャリッ
ジ位置判定部85(以下、CR位置判定部85ともい
う)と、定位置戻し制御部86と、D/Aコンバータ8
7とを備えている。そしてこの印刷制御装置80は、キ
ャリッジ3が無負荷領域で停止中、例えばインクカート
リッジの交換中に、外力を受けて移動した場合元の停止
位置を含む不感領域にキャリッジを戻す、定位置戻し制
御に使用される。
The print control device 80 of this embodiment is included in the DC unit 6 shown in FIG.
, A counter 83, a timer counter 84, a carriage position determination unit 85 (hereinafter also referred to as a CR position determination unit 85), a fixed position return control unit 86, and a D / A converter 8
7 is provided. The print control device 80 controls the carriage 3 to return to the insensitive area including the original stop position when the carriage 3 is stopped in the no-load area, for example, while the ink cartridge is being exchanged, and is moved by an external force. Used for

【0035】位置カウンタ81はエンコーダ11の出力
パルスENC−A,ENC−Bの各々の立ち上がりエッ
ジ、立ち下がりエッジを検出し、検出されたエッジの個
数を計数するとともに上記立ち上がりエッジ、立ち下が
りエッジに同期してパルスを出力する。この計数はCR
モータ4が正転しているときは1個のエッジが検出され
ると「+1」を加算し、逆転しているときは、1個のエ
ッジが検出されると「−1」を加算する。パルスENC
−AおよびNEC−Bの各々の同期は符号板12のスリ
ット間隔に等しく、かつパルスENC−AとパルスEN
C−Bは位相が90度だけ異なっている。このため、上
記計数のカウント値「1」は符号板12のスリット間隔
の1/4に対応する。これにより上記計数値にスリット
間隔の1/4を乗算すれば、キャリッジ3の、計数値が
「0」に対応する位置からの移動量を求めることができ
る。この計数値が「0」の位置をホーム位置とすればホ
ーム位置を基準としたキャリッジ3の位置を得ることが
できる。このときエンコーダ11の解像度は符号板12
のスリットの間隔の1/4となる。上記スリットの間隔
を1/180インチとすれば解像度は1/720インチ
とする。なお、位置カウンタ81はCRモータ4の正
転、逆転の情報も出力する。
The position counter 81 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 counts the rising edge and the falling edge. Outputs pulses in synchronization. This count is CR
When the motor 4 is rotating forward, "+1" is added when one edge is detected, and when the motor 4 is rotating reversely, "-1" is added when one edge is detected. Pulse ENC
-A and the synchronization of NEC-B are equal to the slit interval of the code plate 12, and the pulses ENC-A and EN
CB differ in phase by 90 degrees. Therefore, the count value “1” of the above-mentioned count corresponds to 1 / of the slit interval of the code plate 12. By multiplying the counted value by 1/4 of the slit interval, the amount of movement of the carriage 3 from the position corresponding to the counted value of "0" can be obtained. If the position where the count value is "0" is set as the home position, the position of the carriage 3 can be obtained with reference to the home position. At this time, the resolution of the encoder 11 is
ス リ ッ ト of the slit interval. If the interval between the slits is 1/180 inch, the resolution is 1/720 inch. The position counter 81 also outputs information on the normal rotation and the reverse rotation of the CR motor 4.

【0036】カウンタ83は、定位置戻し制御部86か
らの指令を受信したときカウント値pを「1」だけカウ
ントアップし、設定値例えば1000に到達した後にリ
セットされる。
The counter 83 counts up the count value p by "1" when receiving a command from the home position return control unit 86, and is reset after reaching a set value, for example, 1000.

【0037】タイマカウンタ84は、定位置戻し制御部
86からの起動指令に基づいて動作し、カウント値が所
定の値T- st(例えば1msec)に達したときにC
R位置判定部85に起動指令を送る。
The timer counter 84 operates based on a start-up command from the home position return control unit 86. When the count value reaches a predetermined value T - st (for example, 1 msec), C
A start command is sent to the R position determination unit 85.

【0038】CR位置判定部85は、タイマカウンタ8
4から起動指令を受信すると位置カウンタ81の出力に
基づいてキャリッジの現在の位置が不感域、疑似バネ制
御域、制御範囲外域のいずれかにあるかを判定する。こ
の不感域、疑似バネ制御域、制御範囲外域を図3に示
す。目標位置を中心に距離Aの範囲に不感域があり、こ
の不感域の両側に長さがBの疑似バネ制御があり、この
疑似バネ制御域の外側に制御範囲外域がある構成となっ
ている。
The CR position judging section 85 includes a timer counter 8
4 receives a start command from the position counter 81, it determines whether the current position of the carriage is in a dead zone, a pseudo spring control zone, or a zone outside the control range. FIG. 3 shows the dead area, the pseudo spring control area, and the outside of the control range. There is a dead zone in the range of the distance A around the target position, there is a pseudo-spring control of length B on both sides of this dead zone, and there is an outside control range outside this pseudo-spring control range. .

【0039】またCR位置判定部85はキャリッジ3の
位置が不感域から他の領域に移動した回数をカウント
し、所定値(例えば3回)を越えた場合およびキャリッ
ジ3が制御範囲外域にいる場合に定位置戻し制御部86
に指令信号を送り、キャリッジモータ4の付加電流I-
curを「0]にしてショートブレーキ運転させる。な
お、このとき、キャリッジ3が無負荷状態の時に移動さ
せるのに必要な最小電流値より小さい電流値を付加電流
としても良い。
The CR position determination unit 85 counts the number of times the position of the carriage 3 has moved from the dead area to another area, and when the position exceeds a predetermined value (for example, three times) and when the carriage 3 is outside the control range. To the home position return control unit 86
It sends a command signal to, additional current I of the carriage motor 4 -
The short brake operation is performed by setting cur to “0.” At this time, a current value smaller than the minimum current value required to move the carriage 3 when there is no load may be used as the additional current.

【0040】定位置戻し制御部86は、CR位置判定部
85の判定結果に基づいて、キャリッジ3が不感域にあ
るときにはキャリッジモータ4に付加する電流値I-
urを「0」として、キャリッジモータを制御し、疑似
バネ制御域にあるときは不感域に戻すような付加電流値
- curを決定して、この電流値に基づいて、D/A
コンバータ87およびドライバ5を介してキャリッジモ
ータ4を制御し制御範囲外にあるときは付加電流I-
urを「0」にしてキャリッジモータ4をショートブレ
ーキ運転とする。なお、このとき、キャリッジ3が無負
荷状態の時に移動させるのに必要な最小電流値より小さ
い電流値を付加電流としても良い。
When the carriage 3 is in the dead zone based on the result of the determination by the CR position determination section 85, the home position return control section 86 applies a current value I - c to be added to the carriage motor 4.
The value of ur is set to “0”, the carriage motor is controlled, and an additional current value I - cur which returns to the insensitive region when in the pseudo-spring control region is determined. Based on this current value, D / A
When that is outside the control range to control the carriage motor 4 via the converter 87 and the driver 5 additional current I - c
ur is set to “0” to set the carriage motor 4 to the short brake operation. At this time, a current value smaller than the minimum current value required for moving the carriage 3 when there is no load may be used as the additional current.

【0041】D/Aコンバータ87は定位置戻し制御部
86によって決定された、キャリッジモータ4に付加す
べき電流値I- curをアナログ電流値に変える。そし
てこのアナログ電流値に基づいてドライバ5によってキ
ャリッジモータ4が駆動される。
The D / A converter 87 changes the current value I - cur to be added to the carriage motor 4 determined by the home position return control unit 86 to an analog current value. The carriage motor 4 is driven by the driver 5 based on the analog current value.

【0042】ドライバ5は、例えば4個のトランジスタ
を備えており、D/Aコンバータ87の出力に基づいて
上記トランジスタを各々ONまたはOFFさせることに
より (a)CRモータ4を正転または逆転させる運転モード (b)回生ブレーキ運転モード(ショートブレーキ運転
モード、すなわちCRモータ4の停止を維持する運転モ
ード) (c)CRモータ4を停止させようとするモード を行わせることが可能な構成となっている。また、正転
または逆転させる運転モードのときには上記トランジス
タのゲートに印加される信号の強さを変えることにより
CRモータ4に所望の電流を供給可能な構成となってい
る。
The driver 5 includes, for example, four transistors, and turns on or off each of the transistors based on the output of the D / A converter 87. (a) The operation of rotating the CR motor 4 forward or backward Mode (b) Regenerative brake operation mode (short brake operation mode, that is, an operation mode in which the CR motor 4 is stopped) (c) A configuration capable of performing a mode in which the CR motor 4 is to be stopped is provided. I have. Further, in the operation mode of forward rotation or reverse rotation, a desired current can be supplied to the CR motor 4 by changing the intensity of the signal applied to the gate of the transistor.

【0043】次に本実施の形態の印刷制御装置の動作を
図2を参照して説明する。
Next, the operation of the print control apparatus according to this embodiment will be described with reference to FIG.

【0044】まず、定位置戻し制御の起動指令を印刷制
御装置80が受信すると、パラメータL,pが各々
「0」に初期設定される(ステップF1,F2参照)と
ともに定位置戻し制御部86からタイマカウンタ84に
起動信号が送られてタイマカウンタ84が起動する。こ
こでパラメータLはキャリッジ3が不感域から他の領域
に移動した回数を示し、pはカウンタ83のカウント値
である。
First, when the print control device 80 receives a start command for the home position return control, the parameters L and p are each initialized to "0" (see steps F1 and F2), and the home position return control unit 86 outputs the parameters. A start signal is sent to the timer counter 84 to start the timer counter 84. Here, the parameter L indicates the number of times the carriage 3 has moved from the dead area to another area, and p is the count value of the counter 83.

【0045】タイマカウンタ84のカウント値が所定の
値T- stに達すると、タイマカウンタ84からCR位
置判定部85に起動指令が送られる(ステップF4参
照)。すると位置カウンタ81の出力に基づいてCR位
置判定部85によってキャリッジ3が不感域に位置して
いるか否かが判定される(ステップF4参照)。
When the count value of the timer counter 84 reaches a predetermined value T - st, a start command is sent from the timer counter 84 to the CR position determination unit 85 (see step F4). Then, based on the output of the position counter 81, the CR position determination unit 85 determines whether or not the carriage 3 is located in the dead zone (see step F4).

【0046】キャリッジ3が不感域に位置していない場
合はパラメータLの値が1カウントアップされ(ステッ
プF5参照)、このカウントアップされたLの値が3以
上であるか否かがCR位置判定部85によって判定され
る(ステップF6参照)。そしてLの値が3以上のとき
はCR位置判定部85から定位置戻し制御部86に指令
信号が送られる。すると定位置戻し制御86によってキ
ャリッジモータ4に付加する電流値I- curが「0」
となるようにD/Aコンバータ87およびドライバ5を
介してキャリッジモータ4が制御される(ステップF7
参照)。これによりキャリッジモータ4がショートブレ
ーキ運転されてキャリッジ3が停止する(ステップF8
参照)。なお、このとき、キャリッジ3が無負荷状態の
時に移動させるのに必要な最小電流値より小さい電流値
を付加電流としても良い。
If the carriage 3 is not located in the dead zone, the value of the parameter L is counted up by one (see step F5), and it is determined whether or not the counted up value of L is 3 or more. The determination is made by the unit 85 (see step F6). When the value of L is 3 or more, a command signal is sent from the CR position determination unit 85 to the home position return control unit 86. Then, the current value I - cur added to the carriage motor 4 by the home position return control 86 becomes “0”.
The carriage motor 4 is controlled via the D / A converter 87 and the driver 5 such that
reference). As a result, the carriage motor 4 performs the short brake operation and the carriage 3 stops (step F8).
reference). At this time, a current value smaller than the minimum current value required for moving the carriage 3 when there is no load may be used as the additional current.

【0047】ステップF6においてLの値が3未満の場
合は、CR位置判定部85によってキャリッジ3が疑似
バネ制御域にいるか否かが判定される(ステップF9参
照)。疑似バネ制御域にいない場合、すなわちキャリッ
ジ3が制御範囲外域にいる場合は、CR位置判定部85
から定位置戻し制御部86に指令信号が送られて、キャ
リッジモータ4に付加する電流値I- curが「0」と
なるように制御される(ステップF7参照)。これによ
りキャリッジモータ4がショートブレーキ運転されてキ
ャリッジ3が停止する(ステップF8参照)。なお、こ
のとき、キャリッジ3が無負荷状態の時に移動させるの
に必要な最小電流値より小さい電流値を付加電流として
も良い。
If the value of L is less than 3 in step F6, the CR position determination section 85 determines whether or not the carriage 3 is in the pseudo spring control area (see step F9). If the carriage 3 is not in the pseudo-spring control range, that is, if the carriage 3 is outside the control range, the CR position determination unit 85
Sends a command signal to the home position return control unit 86 to control the current value I - cur added to the carriage motor 4 to "0" (see step F7). As a result, the carriage motor 4 performs the short brake operation and the carriage 3 stops (see step F8). At this time, a current value smaller than the minimum current value required for moving the carriage 3 when there is no load may be used as the additional current.

【0048】ステップF9において、キャリッジ3が疑
似バネ制御域にいる場合は、CR位置判定部85から定
位置戻し制御部86に通知される。すると定位置戻し制
御部86によって、位置カウンタ81の出力に基づいて
キャリッジ3の目標位置(図3参照)からの変位量N
(≧0)が求められる(ステップF10参照)。続い
て、この変位量Nに基づいて、キャリッジ3を不感域に
戻すような付加電流値I-curが I- cur=I- st・(N−A)+I- start として定位置戻し制御部86によって演算される(ステ
ップF11参照)。ここでI- st(>0)は、図3に
示す疑似バネ制御域における、変位量と付加電流値との
特性グラフの傾きを示し、I- start(>0)は疑
似バネ制御域でキャリッジモータに付加される最小電流
値であって無負荷状態のキャリッジ3を動かすのに必要
な最小電流値以上の値である。
In step F9, when the carriage 3 is in the pseudo-spring control area, the CR position determination section 85 notifies the home position return control section 86. Then, based on the output of the position counter 81, the home position return control unit 86 controls the displacement amount N of the carriage 3 from the target position (see FIG. 3).
(≧ 0) is obtained (see step F10). Subsequently, based on the displacement amount N, an additional current value I - cur that returns the carriage 3 to the dead zone is set as I - cur = I - st. (NA) + I - start and the home position return control unit 86. Is calculated (see step F11). Here, I - st (> 0) indicates the inclination of the characteristic graph of the displacement amount and the additional current value in the pseudo spring control area shown in FIG. 3, and I - start (> 0) indicates the carriage in the pseudo spring control area. This is the minimum current value added to the motor and is equal to or greater than the minimum current value necessary to move the carriage 3 in a no-load state.

【0049】その後、キャリッジ3を目標位置に戻すた
めの方向が定位置戻し制御部86によって判定される
(ステップF12参照)。そしてキャリッジモータ4を
正転させてキャリッジ3を移動する場合、例えばキャリ
ッジ3を印字領域の80桁側から1桁側に移動する場合
は、定位置戻し制御部86から電流値I- curがD/
Aコンバータ87およびドライバ5を介してキャリッジ
モータ4に送られ、制御される(ステップF13参
照)。一方キャリッジモータ4を逆転させてキャリッジ
3を移動する場合、例えばキャリッジ3を1桁側から8
0桁側へ移動する場合は、定位置戻し制御部86から負
の電流値−I- curがD/Aコンバータ87およびド
ライバ5を介してキャリッジ4に送られ、制御される
(ステップF14参照)。
Thereafter, the direction for returning the carriage 3 to the target position is determined by the home position return control section 86 (see step F12). When the carriage 3 is moved by rotating the carriage motor 4 in the normal direction, for example, when the carriage 3 is moved from the 80-digit side to the 1-digit side of the print area, the current value I - cur from the fixed-position return control unit 86 is D. /
The data is sent to the carriage motor 4 via the A converter 87 and the driver 5 and is controlled (see step F13). On the other hand, when the carriage 3 is moved by rotating the carriage motor 4 in the reverse direction, for example, the carriage 3 is moved 8
When moving to the zero digit side, a negative current value -I - cur is sent from the home position return control unit 86 to the carriage 4 via the D / A converter 87 and the driver 5, and is controlled (see step F14). .

【0050】そして上記電流値が付加されてキャリッジ
3が応答した後CR位置判定部85によってキャリッジ
3が不感域に入ったか否かが判定され(ステップF15
参照)、不感域に入っていない場合は、ステップF10
に戻り、上述のことが繰り返される。
After the current value is added and the carriage 3 responds, the CR position determining unit 85 determines whether the carriage 3 has entered the dead zone (step F15).
), If not within the dead zone, step F10
And the above is repeated.

【0051】ステップF4およびステップF15におい
てキャリッジ3が不感域にいると判定された場合は、C
R位置判定部85から定位置戻し制御部86に通知され
る。すると定位置戻し制御部86からカウンタ83に指
令信号が送られ、カウント値かPが「1」だけカウント
アップされる(ステップF16参照)。またこのとき、
定位置戻し制御部86はキャリッジモータ4に付加すべ
き電流値I- curを、I- cur=0として、D/A
コンバータ87に送出する(ステップF17参照)。こ
れによりD/Aコンバータの出力に基づくドライバ5に
よってキャリッジモータ4に付加される電流I- cur
が「0」となるように制御される。なお、このとき、キ
ャリッジ3が無負荷状態の時に移動させるのに必要な最
小電流値より小さい電流値を付加電流としても良い。
If it is determined in steps F4 and F15 that the carriage 3 is in the dead zone,
The R position determination unit 85 notifies the home position return control unit 86. Then, a command signal is sent from the home position return control unit 86 to the counter 83, and the count value or P is counted up by "1" (see step F16). At this time,
The fixed position return control unit 86 sets the current value I - cur to be added to the carriage motor 4 to I - cur = 0, and sets D-A
It is sent to converter 87 (see step F17). Thus, the current I - cur added to the carriage motor 4 by the driver 5 based on the output of the D / A converter
Is controlled to be “0”. At this time, a current value smaller than the minimum current value required for moving the carriage 3 when there is no load may be used as the additional current.

【0052】そしてカウンタ83のカウント値pが設定
値(例えば1000)未満であれば、カウンタ83から
タイマカウンタ84に起動指令が送られ、タイマカウン
タ84が起動し(ステップF3参照)、上述のF4ステ
ップ以下の処理が繰り返される。カウント値pが設定値
を超えていれば、定位置戻し制御部86に通知される。
この通知を受けるときまでに、インクカートリッジの交
換が終了したことを示すインクカートリッジ交換終了信
号を定位置戻し制御部86が受信しないときはステップ
F1に戻り上述のステップが繰り返される。インクカー
トリッジ交換終了信号を受信したときには定位置戻し制
御を終了する。なおインクカートリッジ交換終了信号
は、例えばキャリッジ3に設けられたインクカートリッ
ジ有無検出器から送出されてくる。
If the count value p of the counter 83 is less than the set value (for example, 1000), a start command is sent from the counter 83 to the timer counter 84, and the timer counter 84 is started (see step F3), and the above-described F4 Steps and subsequent steps are repeated. If the count value p exceeds the set value, the position return control unit 86 is notified.
If the home position return control unit 86 does not receive an ink cartridge replacement end signal indicating that the ink cartridge replacement has been completed by the time this notification is received, the process returns to step F1 and the above-described steps are repeated. When the ink cartridge replacement end signal is received, the home position return control ends. The ink cartridge replacement end signal is sent from, for example, an ink cartridge presence / absence detector provided on the carriage 3.

【0053】以上、説明したように本実施の形態によれ
ば、キャリッジ(制御対象)が停止中に外力を受けて移
動した場合に元の停止位置を含む領域にキャリッジを戻
すことができる。
As described above, according to the present embodiment, when the carriage (control object) is moved by receiving an external force while stopped, the carriage can be returned to the area including the original stop position.

【0054】なお上記実施の形態においては、制御対象
はキャリッジであったが、PFモータによって駆動され
る紙またはASF(Auto Sheet feed)
モータによって供給される紙を制御対象としても同様の
効果を得ることができる。
In the above-described embodiment, the control target is the carriage, but the control object is paper driven by the PF motor or ASF (Auto Sheet feed).
The same effect can be obtained even when the paper supplied by the motor is the control target.

【0055】また上記実施の形態においてモータはDC
モータであったがDCモータ以外のモータを使用する印
刷装置に本発明を用いることができることはいうまでも
ない。
In the above embodiment, the motor is a DC
It is needless to say that the present invention can be applied to a printing apparatus which uses a motor other than the DC motor.

【0056】[0056]

【発明の効果】以上述べたように本発明によれば、制御
対象が停止中に外力を受けて移動した場合に元の停止位
置に制御対象を戻すことができる。
As described above, according to the present invention, it is possible to return the control target to the original stop position when the control target moves due to an external force during stop.

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

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

【図2】本発明による印刷制御装置の動作を説明するフ
ローチャート。
FIG. 2 is a flowchart illustrating the operation of the print control apparatus according to the present invention.

【図3】キャリッジの目標位置からの変位量とキャリッ
ジモータに付加すべき電流値との関係を示したグラフ。
FIG. 3 is a graph showing a relationship between a displacement amount of a carriage from a target position and a current value to be added to a carriage motor.

【図4】本発明の印刷制御装置が用いられるインクジェ
ットプリンタの構成を示すブロック図。
FIG. 4 is a block diagram illustrating a configuration of an inkjet printer using the print control device of the present invention.

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

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

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

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

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

1 紙送りモータ(PFモータ) 2 紙送りモータドライバ 3 キャリッジ 4 キャリッジモータ(CRモータ) 5 キャリッジモータドライバ(CRモータドライバ) 6 DCユニット 7 ポンプモータ 8 ポンプモータドライバ 9 記録ヘッド 10 ヘッドドライバ 11 リニア式エンコーダ 12 符号板 13 エンコーダ(ロータリ式エンコーダ) 15 紙検出センサ 16 CPU 17 タイマIC 18 ホストコンピュータ 19 インタフェース部 20 ASIC 21 PROM 22 RAM 23 EEPROM 25 プラテン 31 タイミングベルト 32 キャリッジモータのガイド部材 34 インクカートリッジ 35 キャッピング装置 36 ポンプユニット 37 キャップ 50 記録紙 80 印刷制御装置 81 位置カウンタ 83 カウンタ 84 タイマカウンタ 85 キャリッジ位置判定部(CR位置判定部) 86 定位置戻し制御部 87 D/Aコンバータ 1 Paper feed motor (PF motor) 2 Paper feed motor driver 3 Carriage 4 Carriage motor (CR motor) 5 Carriage motor driver (CR motor driver) 6 DC unit 7 Pump motor 8 Pump motor driver 9 Recording head 10 Head driver 11 Linear type Encoder 12 Code plate 13 Encoder (rotary encoder) 15 Paper detection sensor 16 CPU 17 Timer IC 18 Host computer 19 Interface unit 20 ASIC 21 PROM 22 RAM 23 EEPROM 25 Platen 31 Timing belt 32 Carriage motor guide member 34 Ink cartridge 35 Capping Device 36 Pump unit 37 Cap 50 Recording paper 80 Printing control device 81 Position counter 83 Counter 84 Tie Machine counter 85 Carriage position determination unit (CR position determination unit) 86 Fixed position return control unit 87 D / A converter

フロントページの続き Fターム(参考) 2C480 CA01 CA09 CA31 CB02 CB34 CB42 EA27 5C072 AA03 BA02 KA01 MA02 MB04 MB08 NA06 RA06 UA14 XA04Continued on the front page F term (reference) 2C480 CA01 CA09 CA31 CB02 CB34 CB42 EA27 5C072 AA03 BA02 KA01 MA02 MB04 MB08 NA06 RA06 UA14 XA04

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】モータによって駆動される制御対象の位置
を検出する位置検出部と、 この位置検出部の出力に基づいて前記制御対象が目標位
置を含む不感域に位置しているか否かを判定する位置判
定部と、 この位置判定部の判定結果に基づいて、前記制御対象が
前記不感域に位置している場合には前記モータに付加す
る付加電流値を前記制御対象が無負荷状態のときに移動
させるのに必要な最小電流値より小さい電流値として前
記モータを制御し、前記制御対象が前記不感域に位置し
ていない場合は前記制御対象を前記目標位置に戻すよう
な前記モータに付加する付加電流値を演算し、この演算
結果に基づいて前記モータを制御する定位置戻し制御部
と、 を備えたことを特徴とする印刷制御装置。
1. A position detector for detecting a position of a control target driven by a motor, and determining whether or not the control target is located in a dead zone including a target position based on an output of the position detector. Based on the determination result of the position determination unit, when the control target is located in the dead zone, an additional current value to be added to the motor when the control target is in a no-load state. The motor is controlled as a current value smaller than the minimum current value necessary to move the motor, and when the control target is not located in the dead zone, the motor is returned to the target position. And a fixed position return control unit that calculates the additional current value to be controlled and controls the motor based on the calculation result.
【請求項2】前記不感域の両側に所定の間隔の疑似バネ
制御域が設けられており、前記定位置戻し制御部は前記
疑似バネ制御域に前記制御対象が位置しているときに前
記制御対象を前記目標位置に戻すような付加電流値を演
算し、この演算結果に基づいて前記モータを制御するこ
とを特徴とする請求項1記載の印刷制御装置。
2. A pseudo-spring control area at a predetermined interval is provided on both sides of the dead area, and the fixed-position return control unit performs the control when the control target is located in the pseudo-spring control area. 2. The printing control apparatus according to claim 1, wherein an additional current value for returning the target to the target position is calculated, and the motor is controlled based on a result of the calculation.
【請求項3】前記制御対象が疑似バネ制御域に位置して
いるときの前記付加電流の絶対値I - curは、前記制
御対象の前記目標位置からの変位量をN(>0)とし、
前記目標位置から前記制御対象が位置している疑似バネ
制御域までの距離をAとし、I- st(>0)およびI
- start(>0)を各々所定値としたとき、 I- cur=I- st・(N−A)+I- start で表わされることを特徴とする請求項2記載の印刷制御
装置。
3. The method according to claim 1, wherein the control target is located in a pseudo spring control range.
The absolute value I of the additional current when -cur is the system
The displacement amount of the control target from the target position is N (> 0),
A pseudo spring in which the control target is located from the target position
Let A be the distance to the control area and I-st (> 0) and I
-When start (> 0) is set to a predetermined value, I-cur = I-st · (NA) + I-3. The printing control according to claim 2, wherein the printing control is represented by "start".
apparatus.
【請求項4】前記所定値I- startは、前記制御対
象が無負荷状態のときに移動させるのに必要な最小電流
値以上であることを特徴とする請求項3記載の印刷制御
装置。
4. The printing control apparatus according to claim 3, wherein the predetermined value I - start is equal to or more than a minimum current value required for moving the control target when there is no load.
【請求項5】前記制御対象が不感域および疑似バネ制御
域に位置していないときは、前記定位置戻し制御部は前
記モータがショートブレーキ運転モードとなるように制
御し、前記制御対象を停止させることを特徴とする請求
項2乃至4のいずれかに記載の印刷制御装置。
5. When the control target is not located in the dead zone or the pseudo spring control range, the home position return control unit controls the motor to be in the short brake operation mode and stops the control target. The print control device according to claim 2, wherein the print control device is configured to perform the control.
【請求項6】前記位置検出部は、前記モータの回転に応
じてパルスを発生するエンコーダの出力パルスに基づい
て前記制御対象の位置を検出することを特徴とする請求
項1乃至5のいずれかに記載の印刷制御装置。
6. The position detecting unit according to claim 1, wherein the position detecting unit detects the position of the control target based on an output pulse of an encoder that generates a pulse according to rotation of the motor. 3. The print control device according to claim 1.
【請求項7】前記位置判定部は前記制御対象が不感域か
ら疑似バネ制御域に移動した回数をカウントし、このカ
ウント値が所定回数以上となったときに前記定位置戻し
制御部に通知し、前記モータをショートブレーキ運転モ
ードとすることを特徴とする請求項2乃至6のいずれか
に記載の印刷制御装置。
7. The position judging section counts the number of times the controlled object has moved from the dead zone to the pseudo spring control zone, and notifies the fixed position return control section when the count value exceeds a predetermined number. 7. The printing control device according to claim 2, wherein the motor is set to a short brake operation mode.
【請求項8】前記制御対象はキャリッジであり、前記モ
ータは前記キャリッジを駆動するキャリッジモータであ
り、前記位置判定部は、所定のタイミングで前記キャリ
ッジの位置を判定することを特徴とする請求項1乃至7
のいずれかに記載の印刷制御装置。
8. The apparatus according to claim 1, wherein the control object is a carriage, the motor is a carriage motor for driving the carriage, and the position determination unit determines the position of the carriage at a predetermined timing. 1 to 7
The print control device according to any one of the above.
【請求項9】モータによって駆動される制御対象の位置
を検出するステップと、 前記検出された位置に基づいて前記制御対象が目標位置
を含む不感域に位置しているか否かを判定するステップ
と、 前記制御対象が前記不感域に位置している場合には前記
モータに付加する付加電流値を前記制御対象が無負荷状
態のときに移動させるのに必要な最小電流値より小さい
電流値として前記モータを制御するステップと、 前記制御対象が前記不感域に位置していない場合には、
前記制御対象を前記目標位置に戻すような、前記モータ
に付加する付加電流値を演算し、この演算結果に基づい
て前記モータを制御するステップと、 を備えたことを特徴とする印刷制御方法。
9. A step of detecting a position of a control target driven by a motor; and determining whether or not the control target is located in a dead zone including a target position based on the detected position. When the control target is located in the dead zone, an additional current value to be added to the motor is set as a current value smaller than a minimum current value necessary to move the control target when the control target is in a no-load state. Controlling a motor, and when the control target is not located in the dead zone,
Calculating a value of an additional current to be applied to the motor so as to return the control target to the target position, and controlling the motor based on the result of the calculation.
【請求項10】前記不感域の両側に所定の間隔の疑似バ
ネ制御域が設けられており、前記付加電流を演算するス
テップは、 前記制御対象が前記疑似バネ制御域に位置しているとき
に前記制御対象を前記目標位置に戻すような前記付加電
流を演算し、この演算結果に基づいて前記モータを制御
することを特徴とする請求項9記載の印刷制御方法。
10. A pseudo-spring control area at a predetermined interval on both sides of the dead area, wherein the step of calculating the additional current is performed when the control target is located in the pseudo-spring control area. 10. The print control method according to claim 9, wherein the additional current is calculated so as to return the control target to the target position, and the motor is controlled based on a result of the calculation.
【請求項11】前記制御対象が不感域および疑似バネ制
御域に位置していないときは、前記モータがショートブ
レーキ運転となるように制御し、前記制御対象を停止さ
せるステップを更に備えたことを特徴とする請求項9乃
至10のいずれかに記載の印刷制御方法。
11. The method according to claim 11, further comprising the step of: controlling the motor to perform a short brake operation when the control target is not located in the dead zone and the pseudo spring control range, and stopping the control target. The print control method according to any one of claims 9 to 10, wherein:
【請求項12】前記制御対象はキャリッジであることを
特徴とする請求項9乃至11のいずれかに記載の印刷制
御方法。
12. The print control method according to claim 9, wherein the control object is a carriage.
JP27039399A 1999-09-24 1999-09-24 Print control apparatus and print control method Expired - Fee Related JP3780768B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27039399A JP3780768B2 (en) 1999-09-24 1999-09-24 Print control apparatus and print control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27039399A JP3780768B2 (en) 1999-09-24 1999-09-24 Print control apparatus and print control method

Publications (3)

Publication Number Publication Date
JP2001088386A true JP2001088386A (en) 2001-04-03
JP2001088386A5 JP2001088386A5 (en) 2004-08-19
JP3780768B2 JP3780768B2 (en) 2006-05-31

Family

ID=17485643

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27039399A Expired - Fee Related JP3780768B2 (en) 1999-09-24 1999-09-24 Print control apparatus and print control method

Country Status (1)

Country Link
JP (1) JP3780768B2 (en)

Also Published As

Publication number Publication date
JP3780768B2 (en) 2006-05-31

Similar Documents

Publication Publication Date Title
US6747429B2 (en) Print control system, print control method, and recording medium having recorded print control program
US6390698B1 (en) Apparatus and method of detecting home position of carriage and storage medium storing home position detection program
JP4457456B2 (en) Printing device
US7222050B2 (en) Apparatus for determining overheating of motor, method for determining overheating of motor, computer-readable medium, motor control apparatus, motor control method, and printing apparatus
JP3832174B2 (en) Motor control device and control method
US7431414B2 (en) Printer-control apparatus, printer-control method and printer
JP3570617B2 (en) DC motor control device and control method
JP2006281553A (en) Printer, method of detecting stick slip, program, and printing system
JP3780768B2 (en) Print control apparatus and print control method
JP2006312285A (en) Printer, method of detecting stick slip, program, and printing system
JP3705061B2 (en) MOTOR CONTROL DEVICE, ITS CONTROL METHOD, AND RECORDING MEDIUM CONTAINING MOTOR CONTROL PROGRAM
JP3777936B2 (en) Motor control method and control apparatus
JP3871181B2 (en) PRINT CONTROL DEVICE, CONTROL METHOD, AND RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM
JP3849908B2 (en) Print control apparatus and print control method
JP3893853B2 (en) Printer motor control apparatus and control method
JP2002254780A (en) Printer control device and printer control method
JP2007245476A (en) Printer, method for responding to stick slip, program, and printing system
JP2007253543A (en) Printer, method for responding to stick slip, program, and printing system
JP4586665B2 (en) Printing apparatus, stick-slip handling method, program, and printing system
JP4529819B2 (en) Printing apparatus, stick-slip handling method, program, and printing system
JP2001078475A (en) Device and method for controlling motor
JP4432055B2 (en) Printer motor control apparatus and control method
JP4635771B2 (en) Printing apparatus, stick-slip handling method, program, and printing system
JP4586659B2 (en) Printing apparatus, stick-slip handling method, program, and printing system
JP4591277B2 (en) Printing apparatus, stick-slip handling method, program, and printing system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041029

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041102

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041227

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060227

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090317

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100317

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100317

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120317

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120317

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130317

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140317

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees