JPH0474192B2 - - Google Patents
Info
- Publication number
- JPH0474192B2 JPH0474192B2 JP57127911A JP12791182A JPH0474192B2 JP H0474192 B2 JPH0474192 B2 JP H0474192B2 JP 57127911 A JP57127911 A JP 57127911A JP 12791182 A JP12791182 A JP 12791182A JP H0474192 B2 JPH0474192 B2 JP H0474192B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- carriage
- printing
- counter
- home position
- 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.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 claims description 5
- 230000010363 phase shift Effects 0.000 claims 1
- 230000001360 synchronised effect Effects 0.000 claims 1
- 238000006073 displacement reaction Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J19/00—Character- or line-spacing mechanisms
- B41J19/18—Character-spacing or back-spacing mechanisms; Carriage return or release devices therefor
- B41J19/20—Positive-feed character-spacing mechanisms
- B41J19/202—Drive control means for carriage movement
Landscapes
- Character Spaces And Line Spaces In Printers (AREA)
Description
本発明はシリアルプリンタの往復印字印刷時に
おける印字印刷位置の自動調整に関するものであ
る。
シリアルプリンタではその位置検出器として駆
動モータに同軸上に取付けられたロータリエンコ
ーダを用いたものが多い。これは印字位置を直接
検出するリニアエンコーダなどを用いる事に比べ
て安価な事や検出の分解能が比較的高くとれる等
の理由による。しかし駆動源から歯車で減速し更
にベルトやロープなどを介して印字部を直線移動
させるために、減速歯車のバツクラツシユやベル
ト、ロープののびにより移動方向により検出位置
が実際の位置と異なつてしまう。このため印字速
度をあげるための往復印字を行う際には同一位置
信号のタイミングで印字を行なつても印字紙上の
印字の位置がずれてしまう。そこで、印字部の移
動方向を考慮してどちらかの印字タイミング信号
を遅らせ、あるいは早めて印字位置を修正する方
式がとられている。しかしこの方式では、プリン
タを使用しているうちに、ギアの摩耗によるバツ
クラツシユ量の増加やベルト、ロープののびによ
り印字位置がずれてしまう再修正が必要となる。
かかる欠点をとりのぞくため、本発明では次の
方法を提案する。プリンタの電源投入時に印字部
(印刷部、キヤリツジ)を往復運動させ、印字部
の移動通路上に設けた指標を通過した時の位置信
号のずれを検出し演算する。この値により印字タ
イミング信号の遅延間隔(時間)を変化させて、
印字位置を自動調整する。
次に図を用いて本発明を詳しく説明する。
第1図は一般的なシリアルプリンタの構造を示
すもので、駆動モータ1の出力を、減速歯車2,
3を介して駆動プーリ4に伝達する。駆動プーリ
4と従動プーリ5とはロープ(又はタイミングベ
ルト等)6で連結され、駆動プーリ4の回転に併
なつて、印字ヘツド8を搭載したキヤリツジ7を
ガイド軸9,10に沿つて矢印方向11を直線運
動させる。この時の駆動モータ1と同軸上に取付
けたロータリエンコーダ12の出力波形を第2図
に示す。図はロープ(又はベルト)の延びおよび
減速歯車のバツクラツシユが全く無い場合で、キ
ヤリツジの進行方向を判別するために1/4ピツチ
位相のずれた2つの位相(A相とB相)の信号が
出力される。この2相のエンコーダ信号を加減算
カウンタで計数し、図面上で左から右へ変位した
時21の点で位置Nが計数され、また右から左へ
変位した時25の点で位置Nが計数される。
第3図に減速歯車にバツクラツシユやロープ
(ベルト)に延びがある時のエンコーダ信号を示
す。エンコーダ信号31は進行方向が図面上で左
から右へ変位する時のもので、この変位信号を基
準にすると、初期のバツクラツシユ等を小さく調
整した際の右から左へのエンコーダ信号は32の
ようになり位置の誤差34を伴なつて検出され
る。一方減速歯車の摩耗が進んだり、ロープ(ベ
ルト)がのびると右から左への変位信号は誤差35
をともなつてエンコーダ信号33として検出され
る。この誤差信号34と35を測定し、この信号
の差を補正値として印字タイミング信号を補正す
る事により、印字方向による印字位置の誤差が補
正可能となる。次に自動補正の一実施例について
のべる。
ここで述べたようなエンコーダは変位信号をパ
ルス列として出力するために、絶対位置の検出が
不可能である。そこで、キヤリツジの走路上に変
位の原点を置き、この原点を通過した時、エンコ
ーダの信号を計数する加減算カウンタの値をリセ
ツトする事で加減算カウンタの値が、この原点か
らの変位を表わす。第1図に示すようにこの原点
信号はリセツト検出器17とキヤリツジに取付け
た遮蔽フラグ18により発生させる。第4図は本
実施例の回路図である。エンコーダ信号42,4
3をモノマルチバイプレータ44〜47を全ての
エツジに対応するエツジパルス49〜52に整形す
る。このエツジパルスをゲート回路53で方向分
離し加算パルス57、減算パルス58として加減
算カウンタ68へ入力する。この時、制御用マイ
クロコンピユータ54の出力の分解能制御信号6
5を制御する事により加減算カウンタ68は4倍
の分解能を計数が可能となる。プリンタに電減が
入ると、まずキヤリツジ7に取付けられた遮蔽フ
ラグ18がリセツト検出器17を遮りリセツト検
出器17からは、キヤリツジ7がホーム位置にあ
ることを示す信号を出力していると仮定する。こ
の状態でキヤリツジを左から右へ移動させ、リセ
ツト検出器信号41と方向判別用フリツプフロツ
プ48の出力信号59との積の信号をモノマルチ
バイブレータ60でエツジ信号61に直し、この
信号で加減算カウンタをリセツトする。これによ
りキヤリツジが左から右への移動時の、遮蔽フラ
グ18がリセツト検出器をぬけた位置で加減算カ
ウンタにリセツトがかかる。この時制御用マイク
ロコンピユータからの分解能制御信号65を4倍
分解能しにセツトし、以後の補正値計数をおこな
う。次にキヤリツジを右方向へ移動させ、反転し
て左方向へ移動させて、遮蔽フラグ18がリセツ
ト検出器17を横切つた瞬間の加減算カウンタの
値62を制御用マイクロコンピユータ54に読み
込み補正値αとする。また印刷用ヘツドは印字タ
イミング信号が加わつてから実際の印字をおこな
うまでに、遅れをともなう。そこでこの遅れ量
を、スイツチ63で設定しておき、補正量β(64)
として、制御用マイクロコンピユータ54にあら
かじめ取り込んでおく。実際の補正量γはγ=α
+βとなる。
印字をおこなう場合は、分解能制御信号65を
1倍分解能にセツトする。印字タイミングエツジ
変更回路69は印字タイミングエツジ変更信号6
6,67により、印字タイミング55のエツジを
21〜25に変更する回路で、補正量の下位桁
(2ビツト)の補正をおこなう。例えば第3図に
示すように、印字方向が左から右においてエンコ
ーダ信号が31、右から左へのエンコーダ信号が
33であるとする。36の位置でリセツト信号が
検出されると、補正量αの値は−5と検出され
る。βを0と仮定して、位置Nが印字位置とする
と、印字方向左から右は区間Nの進行方向で最初
の位置37に印字をおこなう。印字方向右から左
では、補正値が0の時区間Nの進行方向で最後の
位置が印字位置となるが、補正値が−5と検出さ
れているため、γ/4=−5/4=−11/4づれた位
置、
つまり区間N−1の進行方向で最後の位置から更
に−1/4区間づれた位置で印字をおこなう。これ
は区間N−1で印字制御信号70により印字ゲー
ト71を開き、更に印字タイミングエツジ変更信
号66,67をそれぞれ0,0にする事により37
の位置で印字タイミング変更信号56が得られ
る。この補正値γ/4の値とエツジ変更信号66,
67の関係を表1に示す。
The present invention relates to automatic adjustment of print position during reciprocating printing of a serial printer. Many serial printers use a rotary encoder coaxially attached to a drive motor as a position detector. This is because it is cheaper than using a linear encoder or the like that directly detects the print position, and the detection resolution can be relatively high. However, since the drive source is decelerated by a gear and the printing part is moved linearly via a belt, rope, etc., the detected position may differ from the actual position depending on the direction of movement due to the bump of the deceleration gear or the elongation of the belt or rope. Therefore, when performing back-and-forth printing to increase the printing speed, the position of the print on the print paper will shift even if the print is performed at the same timing of the position signal. Therefore, a method has been adopted in which the printing position is corrected by delaying or advancing one of the printing timing signals in consideration of the moving direction of the printing section. However, with this method, as the printer is used, the print position shifts due to increased backlash due to wear of the gears and stretching of the belt or rope, which requires re-correction. In order to eliminate such drawbacks, the present invention proposes the following method. When the printer is powered on, the printing section (printing section, carriage) is moved back and forth, and the deviation of the position signal when the printing section passes an index provided on the movement path is detected and calculated. This value changes the delay interval (time) of the print timing signal,
Automatically adjust the print position. Next, the present invention will be explained in detail using the figures. Figure 1 shows the structure of a general serial printer, in which the output of a drive motor 1 is connected to a reduction gear 2,
3 to the drive pulley 4. The driving pulley 4 and the driven pulley 5 are connected by a rope (or timing belt, etc.) 6, and as the driving pulley 4 rotates, the carriage 7 carrying the print head 8 is moved along the guide shafts 9, 10 in the direction of the arrow. 11 is moved in a straight line. The output waveform of the rotary encoder 12 mounted coaxially with the drive motor 1 at this time is shown in FIG. The figure shows the case where there is no extension of the rope (or belt) and no backlash of the reduction gear, and two phase signals (A phase and B phase) with a 1/4 pitch shift are used to determine the direction of carriage movement. Output. These two-phase encoder signals are counted by an addition/subtraction counter, and when the figure moves from left to right, the position N is counted at point 21, and when it moves from right to left, the position N is counted at point 25. Ru. FIG. 3 shows the encoder signal when there is a backlash in the reduction gear or an extension in the rope (belt). The encoder signal 31 is the one when the traveling direction is displaced from left to right on the drawing. Based on this displacement signal, the encoder signal from right to left when the initial backlash etc. is adjusted to a small value is as shown in 32. , and is detected with a position error 34. On the other hand, if the reduction gear wears out or the rope (belt) stretches, the displacement signal from right to left will have an error of 35
is detected as the encoder signal 33. By measuring the error signals 34 and 35 and correcting the printing timing signal using the difference between these signals as a correction value, it is possible to correct errors in printing position due to printing direction. Next, an example of automatic correction will be described. Since the encoder described here outputs a displacement signal as a pulse train, it is impossible to detect an absolute position. Therefore, the origin of displacement is placed on the carriage running path, and when the carriage passes this origin, the value of the addition/subtraction counter that counts the encoder signal is reset, so that the value of the addition/subtraction counter represents the displacement from this origin. As shown in FIG. 1, this origin signal is generated by a reset detector 17 and a shield flag 18 mounted on the carriage. FIG. 4 is a circuit diagram of this embodiment. Encoder signal 42, 4
3 is shaped into edge pulses 49 to 52 corresponding to all edges by mono multivibrator 44 to 47. This edge pulse is separated in direction by a gate circuit 53 and inputted as an addition pulse 57 and a subtraction pulse 58 to an addition/subtraction counter 68. At this time, the resolution control signal 6 output from the control microcomputer 54
5, the addition/subtraction counter 68 can count with four times the resolution. It is assumed that when the printer loses power, the shielding flag 18 attached to the carriage 7 first intercepts the reset detector 17, and the reset detector 17 outputs a signal indicating that the carriage 7 is at the home position. do. In this state, the carriage is moved from left to right, and the mono multivibrator 60 converts the product of the reset detector signal 41 and the output signal 59 of the flip-flop 48 for direction determination into an edge signal 61, and this signal is used to control the addition/subtraction counter. Reset. As a result, when the carriage moves from left to right, the addition/subtraction counter is reset at the position where the shielding flag 18 passes through the reset detector. At this time, the resolution control signal 65 from the control microcomputer is set to four times the resolution, and subsequent correction value counting is performed. Next, the carriage is moved to the right, reversed and moved to the left, and the value 62 of the addition/subtraction counter at the moment when the shielding flag 18 crosses the reset detector 17 is read into the control microcomputer 54 and the correction value α shall be. Furthermore, there is a delay in the printing head from when the print timing signal is applied until it actually prints. Therefore, this delay amount is set with the switch 63, and the correction amount β (64)
The control microcomputer 54 is loaded with this information in advance. The actual correction amount γ is γ=α
+β becomes. When printing is to be performed, the resolution control signal 65 is set to 1x resolution. The print timing edge change circuit 69 receives the print timing edge change signal 6.
6 and 67, a circuit that changes the edge of the print timing 55 from 21 to 25 corrects the lower digits (2 bits) of the correction amount. For example, as shown in FIG. 3, it is assumed that the encoder signal is 31 when the printing direction is from left to right, and 33 when the printing direction is from right to left. When the reset signal is detected at position 36, the value of the correction amount α is detected as -5. Assuming that β is 0 and position N is the printing position, printing is performed at the first position 37 in the printing direction from left to right in the advancing direction of section N. In the printing direction from right to left, the last position in the advancing direction of time interval N where the correction value is 0 is the printing position, but since the correction value is detected as -5, γ/4 = -5/4 = Printing is performed at a position offset by -11/4, that is, at a position further offset by -1/4 from the last position in the advancing direction of section N-1. This is done by opening the printing gate 71 with the printing control signal 70 in section N-1 and further setting the printing timing edge change signals 66 and 67 to 0 and 0, respectively.
A print timing change signal 56 is obtained at the position. Table 1 shows the relationship between the correction value γ/4 and the edge change signals 66 and 67.
【表】
以上の本発明の往復印字(往復印刷)の位置補
正方式にあつては、キヤリツジ駆動モータの減速
歯車のバツクラツシユが歯車の摩耗により増加し
たり、あるいはキヤリツジを直線運動させるロー
プやベルトが終年変化で延びた際に、この量を印
字(印刷)ピツチの4倍の分解能で自動測定し、
かつこの量を用いて印字(印刷)タイミングの発
生する位置を調整する事により、往復印字時の印
字位置の自動調整が印字位置を検出するロータリ
エンコーダのピツチの1/4の分解能で行なう。本
発明により高価なリニアエンコーダ使用時に近
い、往復印字(印刷)時の印字位置決めが可能と
なつた。[Table] In the above position correction method for reciprocating printing (reciprocating printing) of the present invention, the backlash of the reduction gear of the carriage drive motor increases due to wear of the gear, or the rope or belt that moves the carriage linearly increases. When the length increases due to changes over the years, this amount is automatically measured at a resolution four times the printing pitch.
By using this amount to adjust the position where the print timing occurs, automatic adjustment of the print position during reciprocating printing is performed with a resolution of 1/4 of the pitch of the rotary encoder that detects the print position. The present invention makes it possible to perform print positioning during reciprocating printing, which is similar to when using an expensive linear encoder.
第1図は本発明の印字位置自動調整機能を持つ
プリンタの構成図を示す。13,14,15,1
6はプリンタの紙送り部を示す。第2図はプリン
タの位置検出をするための駆動モータに同軸上に
取付けたロータリエンコーダの出力信号と、プリ
ンタ上の位置とを表わす説明図である。第3図は
第2図のものに、駆動歯車のバツクラツシユ、ロ
ープ(又はベルト)の延びを考慮した時の説明図
である。第4図は本発明の実施例の回路である。
55は位号のエツジでタイミング信号を発生させ
るためのモノマルチバイブレータである。
FIG. 1 shows a configuration diagram of a printer having an automatic print position adjustment function according to the present invention. 13, 14, 15, 1
6 indicates a paper feeding section of the printer. FIG. 2 is an explanatory diagram showing the output signal of a rotary encoder coaxially attached to a drive motor for detecting the position of the printer and the position on the printer. FIG. 3 is an explanatory diagram of the one shown in FIG. 2, taking into consideration the backlash of the drive gear and the extension of the rope (or belt). FIG. 4 shows a circuit of an embodiment of the present invention.
55 is a mono multivibrator for generating a timing signal at the edge of the digit.
Claims (1)
該キヤリツジ上に搭載された印字ヘツドを備えた
シリアルプリンターにおいて、 ホーム位置を検出するリセツト検出器と、 前記キヤリツジの移送に同期した第1の信号
と、該第1の信号に対し1/4ピツチ位相のずれた
第2の信号を出力するエンコーダと、 該エンコーダ出力変化を検出し、加減算するカ
ウンタを具備し、 印字動作前に、前記キヤリツジを前記ホーム位
置に待機させ、前記キヤリツジを前記ホーム位置
から外れる第1の方向に駆動し、 前記リセツト検出器より前記キヤリツジが前記
ホーム位置から外れた信号を出力した時点で前記
カウンタを初期化し、前記第1及び第2の信号出
力レベルの変化を所定値まで加算動作させ、 次に前記第1の方向と逆の第2の方向に前記キ
ヤリツジを駆動し、前記カウンタを減算動作さ
せ、 前記リセツト信号がホーム位置を示す信号を出
力した時点で前記カウンタの動作を停止し、 前記カウンタのカウント値を補正値αとし、 前記第2の方向に印字を行う場合に、前記第1
の信号を基準に生成される印字タイミング信号を
前記補正値αで補正して、印字タイミング信号と
することを特徴とするシリアルプリンタの印刷位
置調整方法。[Claims] 1. A carriage that is driven back and forth with respect to recording paper;
In a serial printer having a print head mounted on the carriage, a reset detector for detecting a home position, a first signal synchronized with the movement of the carriage, and a 1/4 pitch relative to the first signal; an encoder that outputs a second signal with a phase shift; and a counter that detects changes in the output of the encoder and adds and subtracts; the cartridge is made to stand by at the home position before the printing operation; The carriage is driven in a first direction away from the home position, and when the reset detector outputs a signal indicating that the carriage is away from the home position, the counter is initialized, and the change in the first and second signal output levels is set to a predetermined value. Then, the carriage is driven in a second direction opposite to the first direction to cause the counter to perform a subtraction operation, and when the reset signal outputs a signal indicating the home position, the counter is stops the operation of the counter, sets the count value of the counter to a correction value α, and when printing in the second direction, the first
A printing position adjustment method for a serial printer, characterized in that a print timing signal generated based on the signal is corrected by the correction value α to obtain a print timing signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12791182A JPS5919182A (en) | 1982-07-22 | 1982-07-22 | Adjusting method of printing position of serial printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP12791182A JPS5919182A (en) | 1982-07-22 | 1982-07-22 | Adjusting method of printing position of serial printer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS5919182A JPS5919182A (en) | 1984-01-31 |
JPH0474192B2 true JPH0474192B2 (en) | 1992-11-25 |
Family
ID=14971692
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP12791182A Granted JPS5919182A (en) | 1982-07-22 | 1982-07-22 | Adjusting method of printing position of serial printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5919182A (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6174874A (en) * | 1984-09-20 | 1986-04-17 | Tokyo Juki Ind Co Ltd | Printer |
JPS6223970A (en) * | 1985-07-24 | 1987-01-31 | Nippon Steel Corp | Continuously cast low-carbon sulfur-lead free-cutting steel |
JPS62142053A (en) * | 1985-12-13 | 1987-06-25 | Nippon Steel Corp | Production of quasi-rimmed sulfur free-cutting steel by continuous casting method |
JPS62187062A (en) * | 1986-02-13 | 1987-08-15 | Tamura Electric Works Ltd | Apparatus for correcting printing position error of printer |
JPH0747347B2 (en) * | 1988-05-09 | 1995-05-24 | シャープ株式会社 | Reciprocating printing method |
US5074690A (en) * | 1988-12-02 | 1991-12-24 | Ncr Corporation | Print head carriage homing system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5729478A (en) * | 1980-07-29 | 1982-02-17 | Hitachi Ltd | Controlling system of printing position in printer |
JPS5862084A (en) * | 1981-10-09 | 1983-04-13 | Sony Corp | Backlash corrector |
-
1982
- 1982-07-22 JP JP12791182A patent/JPS5919182A/en active Granted
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5729478A (en) * | 1980-07-29 | 1982-02-17 | Hitachi Ltd | Controlling system of printing position in printer |
JPS5862084A (en) * | 1981-10-09 | 1983-04-13 | Sony Corp | Backlash corrector |
Also Published As
Publication number | Publication date |
---|---|
JPS5919182A (en) | 1984-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4781090A (en) | Apparatus for severing sections from a web by transverse severing cuts at locations related to printed marks on the web | |
GB1390546A (en) | Position encoder for feedback control system | |
GB2039096A (en) | Device for feeding and adjusting a continuous web and for cutting it into portions | |
US7221114B2 (en) | Conveyance control apparatus and image forming apparatus | |
US3068787A (en) | Device for checking longitudinal registration on machines for performing repetitive operations on a continuous band | |
JPH0474192B2 (en) | ||
EP1175011B1 (en) | Digital encoder control method and apparatus | |
US7258414B2 (en) | Image-forming apparatus | |
US4457074A (en) | Method and apparatus for synchronizing the sensor movement of a pitch and/or concentricity measuring device for gears | |
EP1782960B1 (en) | Drive mechanism for a feed roller in a printer | |
US6371593B1 (en) | Error detection and correction for printer positioning logic | |
EP0128412B1 (en) | Impact printer with print hammer firing compensation circuit | |
GB1382807A (en) | Measuring and counting systems | |
JPH01202462A (en) | Printing controller in serial printer | |
US4416560A (en) | Computer printer carriage control apparatus including an encoding disk | |
KR940000366B1 (en) | Detecting method of robot location | |
GB1596550A (en) | Shaft position encoder | |
JPS6316318Y2 (en) | ||
JPS57103870A (en) | Checking method for type wheel | |
JPH0655795A (en) | Printing signal generation method and device in serial printer | |
JPH02261678A (en) | Printer with function to correct misaligned print position in forward/backward printing process | |
JP3046722B2 (en) | Printer paper feeder | |
JP2000065524A (en) | Printer device | |
JPH0469260A (en) | Print timing generating mechanism | |
JPS5813756A (en) | Guide bar compensating apparatus for patterning apparatus of warp knitting machine |