JPH05338308A - Control method for carriage motor of printer - Google Patents

Control method for carriage motor of printer

Info

Publication number
JPH05338308A
JPH05338308A JP14953592A JP14953592A JPH05338308A JP H05338308 A JPH05338308 A JP H05338308A JP 14953592 A JP14953592 A JP 14953592A JP 14953592 A JP14953592 A JP 14953592A JP H05338308 A JPH05338308 A JP H05338308A
Authority
JP
Japan
Prior art keywords
motor
cpu
signal
printer
carriage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP14953592A
Other languages
Japanese (ja)
Inventor
Masaki Hirai
政紀 平井
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 JP14953592A priority Critical patent/JPH05338308A/en
Publication of JPH05338308A publication Critical patent/JPH05338308A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To improve printing quality by a method wherein a position of a carriage is detected with a linear encoder, and a carriage driving motor is controlled with a CPU to control a transfer speed. CONSTITUTION:When a motor driving signal is inputted to a motor control circuit 8 and a CPU 9 from a host computer 6 of a printer control unit 5, a motor 2 is driven and a shuttle head is linearly operated. Then, a liner encoder 4 inputs a timing signal to the CPU 9. The CPU 9 controls the motor driving circuit 8 based on this signal. When the linear encoder 4 comes at a position for start of printing, a reset signal is inputted to the CPU 9. Then, the CPU 9 measures a timing signal, compares setting motor control with a timing signal width according to a position of the shuttle head 1, understands a motor load, and keeps a speed constant.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はプリンタ装置のモータ制
御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to motor control of a printer device.

【0002】[0002]

【従来の技術】従来この種の技術は、前記ヘッドの移動
範囲の両端又は片側に設けた打ち出し位置検出器により
印字打ち出し位置を決めて、プリンタ回転部に設けたロ
ータリーエンコーダー又はモータのタコジェネレータの
信号を印字のタイミング信号として使用していた。
2. Description of the Related Art Conventionally, in this type of technique, a print ejection position is determined by ejection position detectors provided at both ends or one side of the moving range of the head, and a rotary encoder of a printer or a tacho generator of a motor provided in a rotary portion of the printer. The signal was used as a timing signal for printing.

【0003】又、ヘッドを具備したキャリッジの駆動モ
ータ制御においては、ロータリーエンコーダーの信号又
はモータタコジェネレータの出力により電気コントロー
ルするかステッピングモータにより制御していた。
Further, in controlling a drive motor of a carriage equipped with a head, electric control is performed by a signal of a rotary encoder or output of a motor tachogenerator, or control is performed by a stepping motor.

【0004】[0004]

【発明が解決しようとする課題】しかし、従来技術で
は、キャリッジの往復移動において、プリンタの回転部
の信号とキャリッジ往復動作の位置との間に発生する誤
差の為、ライン毎又はドット毎の打ち出し位置にズレが
発生し、高度な印字品質が得られない。
However, in the prior art, in the reciprocating movement of the carriage, due to an error that occurs between the signal of the rotating portion of the printer and the position of the reciprocating movement of the carriage, the ejection is performed line by line or dot by dot. The position is misaligned and high print quality cannot be obtained.

【0005】又、速度制御においては、プリンタ回転部
の信号とキャリッジのリニア動作に対応する信号にズレ
が発生する為、信号上の印字位置に対応するキャリッジ
のリニア動作速度制御が困難である。本発明はこのよう
な欠点を解決するためになされたものであり、プリンタ
装置の高度な印字品質を有するものを提供するところに
ある。
Further, in the speed control, since a deviation occurs between the signal of the printer rotating unit and the signal corresponding to the linear operation of the carriage, it is difficult to control the linear operation speed of the carriage corresponding to the print position on the signal. The present invention has been made to solve such a drawback, and an object thereof is to provide a printer having high printing quality.

【0006】[0006]

【課題を解決するための手段】本発明のモータ制御方式
は、ヘッドを具備したキャリッジへの移動信号により印
字を行なうプリンタ装置において、直接位置信号機構を
動作させるリニアエンコーダーでキャリッジの位置を検
出し、キャリッジの駆動源であるモータにより移動速度
をCPUにより制御することを特徴とする。
According to the motor control method of the present invention, in a printer apparatus which prints by a movement signal to a carriage equipped with a head, the position of the carriage is detected by a linear encoder which directly operates a position signal mechanism. It is characterized in that the moving speed is controlled by the CPU by the motor that is the drive source of the carriage.

【0007】[0007]

【作用】本発明の上記の構成によれば、ヘッドを備えた
キャリッジに位置信号検出を具備し、位置信号検出信号
とCPUにおいて速度制御する事により、印字打ち出し
位置の高精度化された、高速で高品質な安定した印字が
得られる。
According to the above construction of the present invention, the carriage equipped with the head is provided with the position signal detection, and the speed is controlled by the position signal detection signal and the CPU, whereby the high precision printing start position is achieved. High quality and stable printing can be obtained.

【0008】[0008]

【実施例】以下本発明の一実施例を、DCパワーモータ
を駆動源としたシャトル式ドットプリンタを例に説明す
る。図1は、本発明の実施例における、シャトル式ドッ
トプリンタの印字機構部である。シャトルヘッド1は、
モータ2が回転するとカム溝3が回転しカムの溝にそっ
てリニア方向にシャトルヘッドが動く。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below by taking a shuttle type dot printer using a DC power motor as a drive source as an example. FIG. 1 shows a printing mechanism section of a shuttle type dot printer according to an embodiment of the present invention. Shuttle head 1
When the motor 2 rotates, the cam groove 3 rotates and the shuttle head moves linearly along the cam groove.

【0009】従来の技術では、シャトルヘッドのリニア
動作の両端、又は、片側に位置検出器を具備し、シャト
ルヘッドの動作基準を検出且つ、モータのタコジェネレ
ータ等の回転検出により、シャトルヘッドの通電タイミ
ングを決めていた。このため、シャトルヘッドのリニア
動作とモータの回転上のタコジェネレータのタイミング
には、歯車のバックラッシュ等の機械的な要素により、
高精度なシャトルヘッドの通電位置が検出できなかっ
た。本発明によると、シャトルヘッド1にリニアエンコ
ーダ4を具備し、シャトルヘッド1のリニア動作位置及
びタイミング信号を同時に得られる構造とすることによ
り、シャトルヘッド1のリニア動作を正確に捕らえるこ
とができる。
In the prior art, a position detector is provided at both ends or one side of the linear operation of the shuttle head, and the shuttle head is energized by detecting the operation reference of the shuttle head and detecting the rotation of the tacho generator of the motor. I had decided the timing. Therefore, the mechanical operation such as gear backlash occurs in the linear operation of the shuttle head and the timing of the tacho generator on the rotation of the motor.
High-precision shuttle head energization position could not be detected. According to the present invention, by providing the shuttle head 1 with the linear encoder 4 so as to obtain the linear operation position and the timing signal of the shuttle head 1 at the same time, the linear operation of the shuttle head 1 can be accurately captured.

【0010】図2は、本発明のシャトル式ドットプリン
タと外部コントロール回路の一例を示す構成図である。
モータ2は、プリンタコントロールユニット5のホスト
コンピュータ6よりモータドライブ信号によりシャトル
ヘッドプリンタ装置7のモータ制御回路8及びCPU9
に入力されるとモータ2が駆動をはじめ、シャトルヘッ
ド1がリニア動作をし、シャトルヘット1に具備された
リニアエンコーダ4がタイミング信号を出力しCPU9
に入力される。CPU9は所定のスピードに達するとモ
ータ駆動回路8のコントロールをはじめる。次にリニア
エンコーダ4が印字打ち出し位置であるリセット信号を
検出しCPU9に入力される。
FIG. 2 is a block diagram showing an example of a shuttle type dot printer and an external control circuit according to the present invention.
The motor 2 receives the motor drive signal from the host computer 6 of the printer control unit 5 and the motor control circuit 8 and CPU 9 of the shuttle head printer device 7.
Is input to the motor 2, the shuttle head 1 performs a linear operation, the linear encoder 4 provided in the shuttle head 1 outputs a timing signal, and the CPU 9 outputs the timing signal.
Entered in. The CPU 9 starts controlling the motor drive circuit 8 when the predetermined speed is reached. Next, the linear encoder 4 detects the reset signal which is the print ejection position and inputs it to the CPU 9.

【0011】CPU9にリセット信号が入力されるとC
PU9がタイミング信号を計測し、シャトルッヘッド1
の位置により、あらかじめ設定されたモータコントロー
ルとタイミング信号幅とを比較し、シャトルヘッドリニ
ア動作時のモータ負荷変動を捕らえながら一定のスピー
ドをコントロールする。モータ2の停止は、プリンタコ
ントロールユニット5のホストコンピュータ6よりモー
タドライブ信号がモータ制御回路8に入力され停止す
る。
When a reset signal is input to the CPU 9, C
PU9 measures the timing signal and shuttle head 1
Depending on the position, the preset motor control is compared with the timing signal width, and a constant speed is controlled while catching the motor load fluctuation during shuttle head linear operation. The motor 2 is stopped by a motor drive signal being input to the motor control circuit 8 from the host computer 6 of the printer control unit 5.

【0012】印字は、リンアエンコーダ4の印字打ち出
し位置であるリセット信号が、ホストコンピュータ6に
入力され、ホストコンピュータ6が、印字制御回路10
へ文字パターンを出力し、印字制御回路10が、シャト
ルプリンタ装置7のシャトルヘッド1に通電する事によ
りされ、一ドットライン印字しリセット信号により、プ
リンタコントロールユニット5のホストコンピュータ6
より紙送りモータ制御回路11によってシャトルプリン
タに具備された紙送りモータ12によって紙送りをす
る。
For printing, a reset signal, which is a print ejection position of the linker encoder 4, is input to the host computer 6, and the host computer 6 causes the print control circuit 10 to perform printing.
A character pattern is output to the print control circuit 10, and the print control circuit 10 energizes the shuttle head 1 of the shuttle printer device 7 so that one dot line is printed and a reset signal is sent to the host computer 6 of the printer control unit 5.
The paper feed motor control circuit 11 feeds paper by the paper feed motor 12 provided in the shuttle printer.

【0013】図3は、従来の技術によるシャトル式ドッ
トプリンタと外部コントーロール回路の一例である。モ
ータ2は、プリンタコントーロールユニット5のホスト
コンピュータ6よりモータドライブ信号によりシャトル
ヘッドプリンタ装置7のモータ制御回路8に入力される
とモータ2が駆動をはじめ、シャトルヘッド1がリニア
動作をし、モータ2に具備されたタコジェネレータ13
がタイミング信号を出力し、波形整形回路14に入力さ
れ、タイミング信号の電圧が一定の電圧に達するとモー
タ駆動回路8のコントロールをはじめる。次にプリンタ
の印字打ち出し位置にリセット信号を検出する検出器を
左右の打ち出し位置に配置し、シャトルヘッド1のリニ
ア動作によりリセット信号を検出し、プリンタコントロ
ールユニット5のホストコンピュータ6に入力される。
FIG. 3 shows an example of a conventional shuttle type dot printer and an external control circuit. When the motor 2 is input from the host computer 6 of the printer control unit 5 to the motor control circuit 8 of the shuttle head printer device 7 by a motor drive signal, the motor 2 starts to drive and the shuttle head 1 makes a linear operation. Tacho generator 13 provided in the motor 2
Outputs a timing signal and is input to the waveform shaping circuit 14, and when the voltage of the timing signal reaches a constant voltage, control of the motor drive circuit 8 is started. Next, detectors for detecting the reset signal are arranged at the left and right ejection positions at the print ejection position of the printer, the reset signal is detected by the linear operation of the shuttle head 1, and the reset signal is input to the host computer 6 of the printer control unit 5.

【0014】モータ2の停止は、プリンタコントロール
ユニット5のホストコンピュータ6よりモータドライブ
信号がモータ制御回路8に入力され停止する。印字は、
印字打ち出し位置であるリセット信号が、ホストコンピ
ュータ6に入力され、ホストコンピュータ6が、印字制
御回路10へ文字パターンを出力し、印字制御回路10
が、シャトルプリンタ装置7のシャトルヘッド1に通電
する事によりされ、一ドットライン印字しリセット信号
により、プリンタコントロールユニット5のホストコン
ピュータ6より紙送りモータ制御回路11によってシャ
トルプリンタに具備された紙送りモータ12によって紙
送りをする。
When the motor 2 is stopped, a motor drive signal is input from the host computer 6 of the printer control unit 5 to the motor control circuit 8 and stopped. The printing is
A reset signal indicating the print ejection position is input to the host computer 6, and the host computer 6 outputs a character pattern to the print control circuit 10 and the print control circuit 10
However, by energizing the shuttle head 1 of the shuttle printer device 7, one dot line is printed, and a reset signal is sent from the host computer 6 of the printer control unit 5 to the paper feed motor control circuit 11 which feeds the paper to the paper feed provided in the shuttle printer. The paper is fed by the motor 12.

【0015】[0015]

【発明の効果】以上述べたように本発明によれば、印字
紙に印字を行なうヘッドを具備したキャリッジの位置信
号を検出手段を有するプリンタ装置のモータ制御方式に
おいて、キャリッジの位置検出をリニアエンコーダーに
より検出し、キャリッジの駆動源であるモータ軸上にキ
ャリッジ移動時に発生する負荷変動を、リニアエンコー
ダーのタイミング信号によりCPUが検出し、モータを
制御することによりキャリッジに具備されたヘッドの移
動速度制御が容易にできる為、印字打ち出し位置の高精
度化された、高速で高品質な安定した印字が得られる。
As described above, according to the present invention, in the motor control system of the printer apparatus having the position signal of the carriage having the head for printing on the printing paper, the linear encoder for detecting the position of the carriage is used. The load fluctuation that occurs when the carriage moves on the motor shaft that is the drive source of the carriage is detected by the CPU by the timing signal of the linear encoder, and the motor is controlled to control the movement speed of the head equipped on the carriage. Since it is easy to perform, high-speed, high-quality, stable printing can be obtained with a highly accurate printing start position.

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

【図1】本発明の一実施例を示す印字機構部図。FIG. 1 is a view of a printing mechanism section showing an embodiment of the present invention.

【図2】本発明の実施例を示す回路構成図。FIG. 2 is a circuit configuration diagram showing an embodiment of the present invention.

【図3】従来技術の例を示す回路構成図。FIG. 3 is a circuit configuration diagram showing an example of a conventional technique.

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

1 シャトルヘッド 2 モータ 3 カム溝 4 リニアエンコーダ 5 プリンタコントロールユニット 6 ホストコンピュータ 7 シャトルヘッドプリンタ装置 8 モータ制御回路 9 CPU 10 印字制御回路 11 紙送りモータ制御回路 12 紙送りモータ 13 タコジェネレータ 14 波形整形回路 1 shuttle head 2 motor 3 cam groove 4 linear encoder 5 printer control unit 6 host computer 7 shuttle head printer device 8 motor control circuit 9 CPU 10 print control circuit 11 paper feed motor control circuit 12 paper feed motor 13 tacho generator 14 waveform shaping circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 ヘッドを具備したキャリッジへの移動信
号により印字を行なうプリンタ装置において、直接位置
信号機構を動作させるリニアエンコーダーでキャリッジ
の位置を検出し、キャリッジの駆動源であるモータによ
り移動速度をCPUにより制御することを特徴とするプ
リンタ装置のキャリッジモータ制御方法。
1. In a printer device for performing printing by a movement signal to a carriage equipped with a head, the position of the carriage is detected by a linear encoder which directly operates a position signal mechanism, and a movement speed is controlled by a motor which is a drive source of the carriage. A carriage motor control method for a printer, wherein the carriage motor is controlled by a CPU.
JP14953592A 1992-06-09 1992-06-09 Control method for carriage motor of printer Pending JPH05338308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14953592A JPH05338308A (en) 1992-06-09 1992-06-09 Control method for carriage motor of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14953592A JPH05338308A (en) 1992-06-09 1992-06-09 Control method for carriage motor of printer

Publications (1)

Publication Number Publication Date
JPH05338308A true JPH05338308A (en) 1993-12-21

Family

ID=15477267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14953592A Pending JPH05338308A (en) 1992-06-09 1992-06-09 Control method for carriage motor of printer

Country Status (1)

Country Link
JP (1) JPH05338308A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980042801A (en) * 1996-11-29 1998-08-17 오노세다다시 Shuttle control method of dot printer
JP2008260163A (en) * 2007-04-10 2008-10-30 Seiko Epson Corp Recorder and liquid jet apparatus
JP2011037117A (en) * 2009-08-10 2011-02-24 Ricoh Co Ltd Image forming apparatus
WO2012053539A1 (en) * 2010-10-19 2012-04-26 株式会社ミマキエンジニアリング Printer, control circuit, program, and recording medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980042801A (en) * 1996-11-29 1998-08-17 오노세다다시 Shuttle control method of dot printer
JP2008260163A (en) * 2007-04-10 2008-10-30 Seiko Epson Corp Recorder and liquid jet apparatus
JP2011037117A (en) * 2009-08-10 2011-02-24 Ricoh Co Ltd Image forming apparatus
WO2012053539A1 (en) * 2010-10-19 2012-04-26 株式会社ミマキエンジニアリング Printer, control circuit, program, and recording medium
US9321284B2 (en) 2010-10-19 2016-04-26 Mimaki Engineering Co., Ltd. Printer, control device, program and recording medium

Similar Documents

Publication Publication Date Title
KR100403099B1 (en) Control method for sheet member conveying apparatus and control method for recording apparatus
US5605407A (en) Printer and its control method
JPH05338308A (en) Control method for carriage motor of printer
US20020051026A1 (en) Recording apparatus
JPS6239110B2 (en)
US5706722A (en) Process for controlling a cylinder-type silk screen printing machine
JPH1052963A (en) Platen gap automatic regulator
US5087134A (en) Method of and device for printer control
US6857799B2 (en) Motor control method and apparatus, time recorder having same and impact type printing apparatus
US4714363A (en) Print control device for a dot matrix printer
JP4058925B2 (en) Printing control apparatus and printing method
JPH0313364A (en) Printer
JPS58157383A (en) Control system for dc motor
JPS588681A (en) Both direction letter printing system of serial dot printer
JP2547079B2 (en) Printer
JP2008280108A (en) Recording device
JP2023180091A (en) control system
JP2001334717A (en) Method for controlling recording and device for recording
JPH0272984A (en) Control of driving of carriage in printer
JPS59182774A (en) Color thermal transfer printer
JPH0428552B2 (en)
JP3552385B2 (en) Printer
JPH01247179A (en) Serial dot matrix printer
JPH08142420A (en) Dot printer
JPH106609A (en) Automatic method for adjusting platen gap and platen gap