JPH07137342A - Serial printer - Google Patents

Serial printer

Info

Publication number
JPH07137342A
JPH07137342A JP30863393A JP30863393A JPH07137342A JP H07137342 A JPH07137342 A JP H07137342A JP 30863393 A JP30863393 A JP 30863393A JP 30863393 A JP30863393 A JP 30863393A JP H07137342 A JPH07137342 A JP H07137342A
Authority
JP
Japan
Prior art keywords
carrier
shift
stepping motor
fixed position
path
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
JP30863393A
Other languages
Japanese (ja)
Inventor
Keisuke Miyamoto
敬介 宮本
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP30863393A priority Critical patent/JPH07137342A/en
Publication of JPH07137342A publication Critical patent/JPH07137342A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To correct a printing shift correspondinly to a carrier shift value by a method wherein a stepping motor is controlled by a control means on the basis of a carrier, shift calculated by a carrier shift calculation means. CONSTITUTION:The number of pulses pAB required of a carrmer 10 to move in a forward direction A B is equal to the number of pulses pBA required to move in a return directmon B A. The number of pulses pOA remaining to a point A is calculated. In this operation, a difference 10 pulse number is found as a shift in recognition of a point 0 in a forward path and a return path and defined as a carrier shift Z. Namely, a travel amount of the carrier 10 generated by imparting the difference in pulse number to a stepping motor 12 is a carrier shift Z between the forward path and return path of the carrier 10. Therefore, by setting a printing start timing of a return-path action with a time lag from that of a forward-path action by the travell amount, a printing shift in two-way printing can be effectively corrected.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、シリアルプリンタに関
し、詳しくは、両方向印字動作時に発生する往路と復路
での印字ズレを補正する機能を有するシリアルプリンタ
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial printer, and more particularly, to a serial printer having a function of correcting print misalignment in forward and reverse paths that occur during bidirectional printing operation.

【0002】[0002]

【従来の技術】シリアルプリンタでは、両方向印字動作
時にモータ,ギア等のバックラッシュが生じることによ
り、往路と復路との間で、印字ヘッドを有するキャリア
の「ずれ」が生ずる。従来のシリアルプリンタでは、こ
のキャリアずれを検出する有効な手段を持ち合わせてい
ない。そのため、キャリアずれを予め求めておき、これ
に基づき往路に対しての復路の印字開始タイミングを補
正している。
2. Description of the Related Art In a serial printer, a backlash of a motor, a gear and the like occurs during a bidirectional printing operation, so that a "shift" of a carrier having a print head occurs between a forward path and a backward path. Conventional serial printers do not have effective means for detecting this carrier shift. Therefore, the carrier shift is obtained in advance, and based on this, the print start timing of the backward path with respect to the forward path is corrected.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、この従
来のシリアルプリンタでは、次のような場合にキャリア
ずれを生じてしまうという問題があった。
However, this conventional serial printer has a problem that carrier shift occurs in the following cases.

【0004】 何らかの理由により、予め求められた
キャリアずれが、当初から実際のキャリアずれと一致し
ない場合がある。
For some reason, the carrier shift obtained in advance may not match the actual carrier shift from the beginning.

【0005】 経歴変化により、実際のキャリアずれ
が、予め求められたキャリアずれと一致しなくなる場合
がある。
Due to changes in the history, the actual carrier deviation may not match the previously obtained carrier deviation.

【0006】[0006]

【発明の目的】そこで、本発明の目的は、経歴変化等に
よりキャリアずれの値が変化しても、これに対応してキ
ャリアずれを補正可能なシリアルプリンタを提供するこ
とにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a serial printer which can correct a carrier shift even if the value of the carrier shift changes due to changes in history or the like.

【0007】[0007]

【課題を解決するための手段】本発明に係るシリアルプ
リンタは、上記目的を達成するためになされたものであ
り、印字ヘッドを有するキャリアと、駆動力を発生する
ステッピングモータと、このステッピングモータをパル
ス信号により制御するモータ制御手段と、前記ステッピ
ングモータの駆動力により前記キャリアを往路方向又は
復路方向に移動するキャリア移動機構と、前記キャリア
の移動領域内の定位置に設置されると共にこの定位置を
キャリアが通過したときに検出信号を得るキャリア検出
手段と、このキャリア検出手段の検出信号と前記モータ
制御手段のパルス信号とに基づき前記キャリアの往路方
向と復路方向との間におけるずれを算出するキャリアず
れ算出手段とを備えている。そして、前記モータ制御手
段は、前記キャリアずれ算出手段で算出されたキャリア
ずれに基づき前記ステッピングモータを制御するもので
ある。
SUMMARY OF THE INVENTION A serial printer according to the present invention has been made in order to achieve the above-mentioned object, and has a carrier having a print head, a stepping motor for generating a driving force, and this stepping motor. Motor control means controlled by a pulse signal, a carrier moving mechanism for moving the carrier in the forward direction or the backward direction by the driving force of the stepping motor, and a fixed position in the moving area of the carrier and the fixed position. And a carrier detection means for obtaining a detection signal when the carrier passes through the carrier, and a deviation between the forward direction and the backward direction of the carrier is calculated based on the detection signal of the carrier detection means and the pulse signal of the motor control means. And carrier shift calculation means. The motor control means controls the stepping motor based on the carrier shift calculated by the carrier shift calculation means.

【0008】[0008]

【作用】モータ制御手段は、パルス信号によりステッピ
ングモータを制御する。ステッピングモータは、キャリ
ア移動機構を介して、キャリアを往路方向又は復路方向
に移動させる。また、キャリア検出手段は、キャリアの
移動領域内の定位置に設置されており、この定位置をキ
ャリアが通過したときに検出信号を得るようになってい
る。キャリアずれ算出手段は、パルス信号と検出信号と
を入力することにより、この定位置と他の定位置との距
離をキャリアが移動するのに要したパルス信号の数を検
出できる。続いて、キャリアずれ算出手段は、このよう
にして検出されたパルス信号の数を往路方向と復路方向
とで比較することにより、キャリアずれを算出できる。
最後に、モータ制御手段は、キャリアずれ算出手段で算
出されたキャリアずれに基づきキャリアずれを解消する
ようにステッピングモータを制御する。
The motor control means controls the stepping motor by the pulse signal. The stepping motor moves the carrier in the forward direction or the backward direction via the carrier moving mechanism. Further, the carrier detecting means is installed at a fixed position in the carrier moving area, and a detection signal is obtained when the carrier passes through the fixed position. By inputting the pulse signal and the detection signal, the carrier shift calculation means can detect the number of pulse signals required for the carrier to move the distance between this fixed position and another fixed position. Subsequently, the carrier shift calculating means can calculate the carrier shift by comparing the number of pulse signals detected in this way in the forward direction and the backward direction.
Finally, the motor control means controls the stepping motor so as to eliminate the carrier shift based on the carrier shift calculated by the carrier shift calculation means.

【0009】[0009]

【実施例】図1は本発明に係るシリアルプリンタの一実
施例を示し、図1(イ)は全体構成を示すブロック図、
図1(ロ)はキャリアの位置と速度との関係を示すグラ
フである。以下、この図面に基づいて説明する。
FIG. 1 shows an embodiment of a serial printer according to the present invention, and FIG. 1 (a) is a block diagram showing the overall construction.
FIG. 1B is a graph showing the relationship between carrier position and velocity. Hereinafter, description will be given based on this drawing.

【0010】本発明に係るシリアルプリンタは、印字ヘ
ッドを有するキャリア10と、駆動力を発生するステッ
ピングモータ12と、ステッピングモータ12をパルス
信号pにより制御するモータ制御手段14と、ステッピ
ングモータ12の駆動力によりキャリア10を往路方向
A→B又は復路方向B→Aに移動するキャリア移動機構
16と、キャリア10の移動領域内の定位置Oに設置さ
れると共に定位置Oをキャリア10が通過したときに検
出信号iを得るキャリア検出手段18と、キャリア検出
手段18の検出信号iとモータ制御手段14のパルス信
号pとに基づきキャリア10の往路方向A→Bと復路方
向B→Aとの間におけるずれzを算出するキャリアずれ
算出手段20とを備えている。そして、モータ制御手段
14は、キャリアずれ算出手段20で算出されたキャリ
アずれzに基づきステッピングモータ12を制御するも
のである。
The serial printer according to the present invention comprises a carrier 10 having a print head, a stepping motor 12 for generating a driving force, a motor control means 14 for controlling the stepping motor 12 by a pulse signal p, and a driving of the stepping motor 12. A carrier moving mechanism 16 that moves the carrier 10 in the forward direction A → B or the backward direction B → A by force, and when the carrier 10 is installed at a fixed position O in the moving region of the carrier 10 and the carrier 10 passes through the fixed position O. Based on the detection signal i of the carrier detection unit 18 and the pulse signal p of the motor control unit 14 between the forward direction A → B and the backward direction B → A of the carrier 10. And a carrier shift calculating means 20 for calculating the shift z. Then, the motor control means 14 controls the stepping motor 12 based on the carrier shift z calculated by the carrier shift calculation means 20.

【0011】各部分について、さらに詳しく説明する。Each part will be described in more detail.

【0012】キャリア移動機構16は、二個の一方がス
テッピングモータ12の駆動力伝達軸12aに連結され
たギア30,30と、これらのギア30,30に掛け渡
されたベルト32とから構成されている。
The carrier moving mechanism 16 is composed of gears 30, 30 one of which is connected to the driving force transmission shaft 12a of the stepping motor 12 and a belt 32 stretched around these gears 30, 30. ing.

【0013】キャリア検出手段18は、光,磁気等によ
る非接触又は機械的な接触により物体を検出するセンサ
から成る。
The carrier detecting means 18 comprises a sensor for detecting an object by non-contact or mechanical contact by light, magnetism or the like.

【0014】A点は、往路の移動開始点かつ復路の移動
停止点を表す。B点は、往路の移動停止点かつ復路の移
動開始点を表す。C点〜D点までの間は、キャリア10
が定速移動を行う領域であり、キャリア10がステッピ
ングモータ12,ギア30,30等のバックラッシュの
影響を受けない。この領域内の任意のO点にキャリア検
出手段18を設置している。
Point A represents the forward movement start point and the backward movement stop point. Point B represents the forward movement stop point and the backward movement start point. Carrier 10 between points C and D
Is a region in which the carrier moves at a constant speed, and the carrier 10 is not affected by the backlash of the stepping motor 12, the gears 30, 30, and the like. The carrier detection means 18 is installed at an arbitrary point O in this area.

【0015】次に、本実施例に係るシリアルプリンタの
動作を、キャリアずれ算出手段20の動作を中心に説明
する。
Next, the operation of the serial printer according to this embodiment will be described focusing on the operation of the carrier shift calculation means 20.

【0016】まず、キャリア10の往路において、移動
開始点AからO点通過までのステッピングモータ12に
与えられるパルス数pAOを数える。これと同時に、A点
〜B点までの移動に与えられるパルス数pABにより、B
点までの残りパルス数pOB(=pAB−pAO)を算出す
る。次に、キャリア10の復路において、移動開始点B
からO点通過までにステッピングモータ12に与えられ
るパルス数pBOを数える。ここで、往路方向A→Bと復
路方向B→Aとの移動に要するパルス数pAB,pBAは同
一量であるから、同様にA点までの残りパルス数pOA
(=pAB−pBO)を算出する。
First, on the outward path of the carrier 10, the number of pulses pAO given to the stepping motor 12 from the movement start point A to the passage of point O is counted. At the same time, by the number of pulses pAB given to the movement from point A to point B, B
The number of remaining pulses pOB up to the point pOB (= pAB-pAO) is calculated. Next, on the return path of the carrier 10, the movement start point B
The number of pulses pBO given to the stepping motor 12 from the point to the point O is counted. Here, since the pulse numbers pAB and pBA required for the movement in the forward direction A → B and the backward direction B → A are the same amount, similarly, the number of remaining pulses pOA up to the point A is pOA.
Calculate (= pAB-pBO).

【0017】以上の動作より、パルス数の差S=pAO−
pOA(又はS=pBO−pOB)が、往路と復路でのO点位
置認識のずれ、すなわちキャリアずれzになる。
From the above operation, the difference in pulse number S = pAO-
pOA (or S = pBO-pOB) becomes the deviation of the O point position recognition on the forward path and the backward path, that is, the carrier deviation z.

【0018】つまり、パルス数の差Sをステッピングモ
ータ12に与えることによって生じるキャリア10の移
動量が、キャリア10の往路と復路のキャリアずれzに
なる。したがって、この移動量だけ復路動作時に往路に
対して印字開始タイミングを遅らせることにより両方向
印字における印字ずれが有効に補正される。
That is, the amount of movement of the carrier 10 caused by applying the difference S in the number of pulses to the stepping motor 12 becomes the carrier deviation z between the forward path and the backward path of the carrier 10. Therefore, by delaying the print start timing with respect to the forward path at the time of the backward path operation by this moving amount, the print deviation in the bidirectional printing is effectively corrected.

【0019】なお、本実施例では、キャリア検出手段1
8は、キャリア10の定速動作領域に設置されているた
め、ステッピングモータ12,ギア30等のバックラッ
シュはもちろんのことベルト32の張力やすべり等につ
いても検出できる。また、キャリア10の往路と復路と
の差に基づきキャリアずれzを検出しているため、キャ
リア検出手段18の取付精度は要求されない。
In this embodiment, the carrier detecting means 1
Since No. 8 is installed in the constant speed operation region of the carrier 10, not only backlash of the stepping motor 12, gear 30, etc. but also tension and slippage of the belt 32 can be detected. Further, since the carrier shift z is detected based on the difference between the forward path and the backward path of the carrier 10, the carrier detecting means 18 is not required to be attached with high accuracy.

【0020】[0020]

【発明の効果】本発明によれば、ステッピングモータの
制御用のパルス信号とキャリアの通過による検出信号と
に基づき、一定距離をキャリアが移動するのに要したパ
ルス信号の数を往路方向と復路方向とで比較することに
より、リアルタイムでキャリアずれを検出できる。した
がって、経歴変化等によりキャリアずれの値が変化して
も、これに対応してキャリアずれを補正できる。
According to the present invention, based on the pulse signal for controlling the stepping motor and the detection signal due to the passage of the carrier, the number of pulse signals required for the carrier to move a certain distance is determined as the forward and backward directions. The carrier shift can be detected in real time by comparing with the direction. Therefore, even if the value of the carrier shift changes due to changes in history or the like, the carrier shift can be corrected correspondingly.

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

【図1】本発明に係るシリアルプリンタの一実施例を示
し、図1(イ)は全体構成を示すブロック図、図1
(ロ)はキャリアの位置と速度との関係を示すグラフで
ある。
FIG. 1 shows an embodiment of a serial printer according to the present invention, and FIG. 1 (a) is a block diagram showing the overall configuration.
(B) is a graph showing the relationship between the position and velocity of the carrier.

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

10 キャリア 12 ステッピングモータ 14 モータ制御手段 16 キャリア移動機構 18 キャリア検出手段 20 キャリアずれ算出手段 i 検出信号 p パルス信号 z キャリアずれ 10 carrier 12 stepping motor 14 motor control means 16 carrier moving mechanism 18 carrier detecting means 20 carrier deviation calculating means i detection signal p pulse signal z carrier deviation

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 印字ヘッドを有するキャリアと、駆動力
を発生するステッピングモータと、このステッピングモ
ータをパルス信号により制御するモータ制御手段と、前
記ステッピングモータの駆動力により前記キャリアを往
路方向又は復路方向に移動するキャリア移動機構と、前
記キャリアの移動領域内の定位置に設置されると共にこ
の定位置をキャリアが通過したときに検出信号を得るキ
ャリア検出手段と、このキャリア検出手段の検出信号と
前記モータ制御手段のパルス信号とに基づき前記キャリ
アの往路方向と復路方向との間におけるずれを算出する
キャリアずれ算出手段とを備え、 前記モータ制御手段は、前記キャリアずれ算出手段で算
出されたキャリアずれに基づき前記ステッピングモータ
を制御することを特徴とするシリアルプリンタ。
1. A carrier having a print head, a stepping motor for generating a driving force, a motor control means for controlling the stepping motor with a pulse signal, and a forward direction or a backward direction of the carrier by the driving force of the stepping motor. A carrier moving mechanism that moves to a carrier, a carrier detecting unit that is installed at a fixed position in a moving region of the carrier and that obtains a detection signal when the carrier passes through this fixed position, a detection signal of the carrier detecting unit, and A carrier deviation calculating means for calculating a deviation between the forward direction and the backward direction of the carrier based on a pulse signal of the motor controlling means, wherein the motor controlling means calculates the carrier deviation calculated by the carrier deviation calculating means. Based on the control of the stepping motor. Printer.
【請求項2】 前記キャリアずれ算出手段は、前記往路
方向の移動開始点から前記キャリア検出手段の設置され
た定位置までにおける前記パルス信号の数と、前記キャ
リア検出手段の設置された定位置から前記復路方向の移
動停止点までの前記パルス信号の数との差をとることに
より、前記キャリアの往路方向と復路方向との間におけ
るずれを求めることを特徴とする請求項1記載のシリア
ルプリンタ。
2. The carrier shift calculating means calculates the number of the pulse signals from the movement start point in the forward direction to the fixed position where the carrier detecting means is installed, and the fixed position where the carrier detecting means is installed. 2. The serial printer according to claim 1, wherein the shift between the forward direction and the backward direction of the carrier is obtained by taking a difference from the number of the pulse signals up to the movement stop point in the backward direction.
【請求項3】 前記キャリアずれ算出手段は、前記キャ
リア検出手段の設置された定位置から前記往路方向の移
動停止点までの前記パルス信号の数と、前記復路方向の
移動開始点から前記キャリア検出手段の設置された定位
置までにおける前記パルス信号の数との差をとることに
より、前記キャリアの往路方向と復路方向との間におけ
るずれを求めることを特徴とする請求項1記載のシリア
ルプリンタ。
3. The carrier shift calculation means detects the number of the pulse signals from a fixed position where the carrier detection means is installed to a movement stop point in the forward direction and the carrier detection from a movement start point in the backward direction. 2. The serial printer according to claim 1, wherein the deviation between the forward direction and the backward direction of the carrier is obtained by taking the difference from the number of the pulse signals up to the fixed position where the means is installed.
JP30863393A 1993-11-15 1993-11-15 Serial printer Pending JPH07137342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30863393A JPH07137342A (en) 1993-11-15 1993-11-15 Serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30863393A JPH07137342A (en) 1993-11-15 1993-11-15 Serial printer

Publications (1)

Publication Number Publication Date
JPH07137342A true JPH07137342A (en) 1995-05-30

Family

ID=17983406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30863393A Pending JPH07137342A (en) 1993-11-15 1993-11-15 Serial printer

Country Status (1)

Country Link
JP (1) JPH07137342A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56126185A (en) * 1980-03-10 1981-10-02 Hitachi Ltd Printer
JPS5862084A (en) * 1981-10-09 1983-04-13 Sony Corp Backlash corrector
JPS6335374A (en) * 1986-07-31 1988-02-16 Toshiba Corp Printer
JPH0365364A (en) * 1989-08-04 1991-03-20 Fujitsu Ltd Printing device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56126185A (en) * 1980-03-10 1981-10-02 Hitachi Ltd Printer
JPS5862084A (en) * 1981-10-09 1983-04-13 Sony Corp Backlash corrector
JPS6335374A (en) * 1986-07-31 1988-02-16 Toshiba Corp Printer
JPH0365364A (en) * 1989-08-04 1991-03-20 Fujitsu Ltd Printing device

Similar Documents

Publication Publication Date Title
US6085131A (en) Driverless vehicle system and method
US7135831B2 (en) Method and device for controlling motor
US6906488B2 (en) Position control system for use in driving system transmitting driving force of driving source to driven member through power transmission mechanism, image forming apparatus, position control method, program for performing the position control method, and storage medium having the program stored thereon
EP0483371B1 (en) Print controller
US4838717A (en) Serial dot matrix printer
US4396271A (en) Camera diaphragm control method
JPH07137342A (en) Serial printer
JP2003108230A5 (en)
JPS588681A (en) Both direction letter printing system of serial dot printer
JPH06278991A (en) Position control method for automatic crane
JPH0646596A (en) Drive controller for stepping motor
JP2615600B2 (en) Drive control method for reciprocating moving body
KR100268082B1 (en) Image input method of unmanned car
JPH0365364A (en) Printing device
JPH07234724A (en) Position control method for machine element
JP2742243B2 (en) Print correction method
JPS6335374A (en) Printer
JP2698137B2 (en) Lens homing control method for copier
JPH091863A (en) Printing control circuit for serial printer
JPS56114961A (en) Scanning control device of exposure scanning device
SU1133430A1 (en) Internal combustion engine control device
JPS63296460A (en) Driving control device for reciprocating moving body in copying machine
KR960034060A (en) Position control method of crane and its device
JPS6487360A (en) Printing timing controller in dot line printer
JPH08118756A (en) Method and apparatus for controlling printing-head reversal in printer

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970128