JPS63302058A - Frequency control system in ink jet printer - Google Patents

Frequency control system in ink jet printer

Info

Publication number
JPS63302058A
JPS63302058A JP13597887A JP13597887A JPS63302058A JP S63302058 A JPS63302058 A JP S63302058A JP 13597887 A JP13597887 A JP 13597887A JP 13597887 A JP13597887 A JP 13597887A JP S63302058 A JPS63302058 A JP S63302058A
Authority
JP
Japan
Prior art keywords
printing
oscillator
space
frequency
print
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
JP13597887A
Other languages
Japanese (ja)
Inventor
Shigeyuki Araki
繁幸 荒木
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP13597887A priority Critical patent/JPS63302058A/en
Publication of JPS63302058A publication Critical patent/JPS63302058A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/015Ink jet characterised by the jet generation process
    • B41J2/04Ink jet characterised by the jet generation process generating single droplets or particles on demand
    • B41J2/045Ink jet characterised by the jet generation process generating single droplets or particles on demand by pressure, e.g. electromechanical transducers
    • B41J2/04501Control methods or devices therefor, e.g. driver circuits, control circuits
    • B41J2/04503Control methods or devices therefor, e.g. driver circuits, control circuits aiming at compensating carriage speed
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/015Ink jet characterised by the jet generation process
    • B41J2/04Ink jet characterised by the jet generation process generating single droplets or particles on demand
    • B41J2/045Ink jet characterised by the jet generation process generating single droplets or particles on demand by pressure, e.g. electromechanical transducers
    • B41J2/04501Control methods or devices therefor, e.g. driver circuits, control circuits
    • B41J2/04586Control methods or devices therefor, e.g. driver circuits, control circuits controlling heads of a type not covered by groups B41J2/04575 - B41J2/04585, or of an undefined type

Landscapes

  • Particle Formation And Scattering Control In Inkjet Printers (AREA)

Abstract

PURPOSE:To synchronize the ink particle control with the space motor control to conduct a printing correctly, by a method wherein an oscillating frequency from a second oscillator is corrected by a reference frequency from a first oscillator when the power of a main control is ON. CONSTITUTION:According to a relation of a space resolving power being larger than a dot resolving power, the greatest common divisor is calculated. A microcomputer 11 conducts processing, such as a transfer from an input string buffer 10 to an image buffer 15 and the decision of a printing position, by using the greatest common divisor as a multiplier according to the change of the inputted printing data in character size, thereafter outputting a printing data. A printing is carried out after a carriage is moved a shortest distance either rightwards or leftwards. On the other hand, for the prevention of the occurrence of an accumulated error caused by the phase change-over of a space motor, which is a problem in this action, an output frequency which is outputted from a second oscillator 52a of a main control part 52 to control a whole printer is corrected by a reference clock frequency from a first oscillator 51a of an ink jet control part 51. In this manner, a printing can be conducted on a proper position from any of right and left positions and can be enhanced in speed.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、インクジェットプリンタの周波数制御方式に
関し、特に主制御部の周波数をインフジエラ1〜制御部
の周波数により補正することにある。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a frequency control system for an inkjet printer, and particularly to correcting the frequency of a main control section by the frequencies of Infusiera 1 to the control section.

(従来の技術) 従来のインフジエラ1〜プリンタに於いて、印字の文字
サイズを変化させる手段として、ヘッドから放射される
インク滴に付与する荷電電圧を変化させ、印字キャリッ
ジのスペースモータの速g を変化させる方式がある。
(Prior art) In conventional Infusiera 1 to printers, as a means of changing the printed character size, the charging voltage applied to ink droplets emitted from the head is changed, and the speed g of the space motor of the print carriage is changed. There are ways to change it.

前記方式は、印字周期が一定で、印字キャリッジのスペ
ースモータ速度を変化させ、横方向の文字サイズを変化
させるものであるが、従来のこの種の制御方式は、第6
図にその動作制御概要を示すように、キャリッジのホー
ム位置と印字スタート基準点を検知するためのホームセ
ンサ61と、印字スタートセンサ62を備え、文字サイ
ズ(例えば、9ポ、 10.5ポ、12ポ)に変化があ
ると印字の都度、ホームセンサ61まで印字キャリッジ
を必ず戻し、ホームセンサ61がこれを検知し、スペー
スモータを駆動し、印字キャリッジが印字スタートセン
サ62の位置まで来て印字を行なう片方向印字制御であ
った。即ち、印字の際は必ずホーム位置に戻りスタート
し、スタートセンサより印字開始指令が出て印字しなけ
ればならない。このため、最短距離印字が不可能であっ
た。また、インクジェットプリンタに於いては、主制御
部とインクジェット制御部とのそれぞれの制御用発振器
が別々のものを使用しているため、本発明が目的とする
左、右最短距離印字を行なう場合、不都合があった。
In the above method, the printing period is constant and the space motor speed of the print carriage is changed to change the character size in the horizontal direction.
As shown in the figure, it is equipped with a home sensor 61 for detecting the home position of the carriage and a print start reference point, and a print start sensor 62 for detecting the home position of the carriage and a print start reference point. 12), the print carriage is returned to the home sensor 61 each time printing is performed, the home sensor 61 detects this, drives the space motor, and the print carriage comes to the position of the print start sensor 62 and starts printing. It was a unidirectional printing control that performed That is, when printing, it is necessary to always return to the home position and start printing, and the start sensor issues a print start command to print. For this reason, it was impossible to print at the shortest distance. In addition, in inkjet printers, the main control section and the inkjet control section use separate control oscillators, so when performing the shortest distance printing to the left and right, which is the objective of the present invention, There was an inconvenience.

(発明が解決しようとする問題点) 上述したように、文字サイズの変化があった場合、必ず
ホームセンサの位置まで印字キャリッジを戻す片方向印
字制御では、高速印字に限界があった。
(Problems to be Solved by the Invention) As described above, there is a limit to high-speed printing with unidirectional printing control in which the print carriage is always returned to the home sensor position when the character size changes.

本発明は、このような問題点を解消し、文字サイズに変
化があった場合、ホームセンサの位置まで戻すキャリッ
ジの動作を左、右両方向に最短距離で行なう場合、主制
御部の発振周波数を安定なインクジェット制御部の発振
周波数で補正し、インク粒子の制御とスペースモータの
制御との同期化をとり、印字を正確に行なうことを目的
とする。
The present invention solves these problems by changing the oscillation frequency of the main control unit when the carriage is returned to the home sensor position in the shortest distance in both left and right directions when the character size changes. The purpose is to perform correction using the stable oscillation frequency of the inkjet control unit, synchronize the control of ink particles and the control of the space motor, and perform printing accurately.

(構成および作用) 本発明は、上記目的を達成するため、基本周波数を発生
する第1の発振器と、主制御を行なう第2の発振器とを
備え、この主制御のパワーオン時に、第2の発振器の発
振周波数を第1の発振器の周波数にて補正するようにし
たことを特徴とする。
(Structure and operation) In order to achieve the above object, the present invention includes a first oscillator that generates a fundamental frequency and a second oscillator that performs main control, and when the main control is powered on, the second oscillator The present invention is characterized in that the oscillation frequency of the oscillator is corrected by the frequency of the first oscillator.

また、左右両方向の最短距離印字を行なうため、複数の
文字サイズを印字可能なインクジェットプリンタに於い
て、スペース分解能をS4、文字サイズのドツト分解能
をP□! pzl P3+・・・P、、これら両分解能
の最大公約数をMとし、両分解能に=3− 刻する乗数をそれぞれS Ill Pill pzl・
・・Pn、とした時、入力列バッファに印字データがあ
るまでは、印字開始位置決定バッファに前記印字データ
有り″になるまで各文字サイズの乗数を加算して行き、
印字データ有り”の時点で印字開始位置を決定すると共
に印字列カウンタに印字データの列数をカラン1−シ、
且つイメージバッファに印字データを転送し、また印字
データ無し″の時は、スペース列カウンタに“無し”列
数をカウントし、更に印字データ“有り″の時は、前記
スペース列カウンタの値を印字データの列数と共に印字
列カウンタに加算し、印字データをイメージバッファに
転送を行なうことを特徴とする。
In addition, in order to print at the shortest distance in both left and right directions, an inkjet printer that can print multiple character sizes has a space resolution of S4 and a character size dot resolution of P□! pzl P3+...P,, Let M be the greatest common divisor of both resolutions, and let the multiplier that divides both resolutions by =3- be S Ill Pill pzl・
...Pn, until there is print data in the input string buffer, the multiplier for each character size is added until the print start position determination buffer contains the print data.
When the print data is available, determine the print start position and input the number of columns of print data to the print column counter.
In addition, the print data is transferred to the image buffer, and when there is no print data, the number of columns that are "absent" is counted in the space column counter, and when there is print data, the value of the space column counter is printed. It is characterized by adding the number of data columns to a print column counter and transferring the print data to an image buffer.

本発明によれば、左右最短距離の印字を行なわせるため
、各文字サイズの印字ドツト分解能およびキャリッジを
動作させるステッピングモータのステップ角によるスペ
ース分解能に着目し、1ドツト列の印字周期を一定とし
た時、各ドツト分解能とスペース相切換え時間の関係を
求め、スペースモータ移動終了位置から印字開始位置の
左、右最短距離を決定するようにしたものである。
According to the present invention, in order to print at the shortest distance from left to right, we focused on the printing dot resolution of each character size and the space resolution due to the step angle of the stepping motor that operates the carriage, and made the printing period of one dot row constant. The relationship between each dot resolution and the space phase switching time is determined, and the shortest distances to the left and right from the space motor movement end position to the print start position are determined.

(動作原理) 印字周期が一定で、スペースモータの速度を変化させる
ことにより、横方向の文字サイズが変化するインクジェ
ットプリンタに於いて、スペース分解能〉文字サイズの
ドツト分解能の関係がある。
(Operating Principle) In an inkjet printer in which the print cycle is constant and the character size in the horizontal direction changes by changing the speed of the space motor, there is a relationship: space resolution>dot resolution of character size.

ここで、スペース分解能・・・・・・S□(スペースモ
ータ)ドツト分解能1・・・・・・pt’(文字ドツト
)ドツト分解能2・・・・・・P2(”   )ドツト
分解能3・・・・・・Pn(”   )とし、これら分
解能S□ p、、 p2. p3の最大公約数をMとす
ると、 8=旦L=旦ユ=尤虹−江 −、−−−、−(1)S、
1 Pll P2. P31 となる。S xxrPs1+ Pill P31は当然
整数である。
Here, space resolution...S□ (space motor) dot resolution 1...pt' (character dot) dot resolution 2...P2 ('') dot resolution 3... ...Pn(''), and these resolutions S□ p,, p2. If the greatest common divisor of p3 is M, then 8 = DanL = Danyu = Yuhong - Jiang -, ---, -(1)S,
1 Pll P2. It becomes P31. S xxrPs1+ Pill P31 is naturally an integer.

今、1ドツト列の印字周期をi/Tとすると、各ドツト
分解能P1. P2. P、とスペースモータのスペー
ス相切換え時間t8の関係は、tn1−TX(S1/P
1) tn2二TX(S、/P2)   ・・・・・・・・・
・・・・・・・・(2)t 、 3:= T X (S
 1/ P 3)となる。
Now, if the printing cycle of one dot row is i/T, each dot resolution is P1. P2. The relationship between P and space motor space phase switching time t8 is tn1-TX(S1/P
1) tn2 two TX (S, /P2) ・・・・・・・・・
・・・・・・・・・(2) t , 3:= T X (S
1/P3).

次に、印字開始位置をNとした時、各文字サイズに於い
てのスペースモータのスペース相切換え時間t8から、
印字開始遅れ時間tは、ただし、m1=N MOD S
、、の式で、mlは整数割算N/S□□の余りを表わす
Next, when the printing start position is N, from the space phase switching time t8 of the space motor for each character size,
The printing start delay time t is, however, m1=N MOD S
In the formula, ml represents the remainder of the integer division N/S□□.

この(3)式は、上記(])、 (2)式から次式のよ
うになる。
This equation (3) becomes the following equation from the above equations (]) and (2).

t 1 ’= T X (S 、 / P 、) X 
]、 / S 1i ×m x二TX(17P1□)X
m1 =(T/pxi)xmi 以下、同様にして(5)、 (6)式が得られる。
t 1 '= T X (S, / P,) X
], /S 1i ×m x2TX(17P1□)X
m1 = (T/pxi)xmi Below, formulas (5) and (6) are obtained in the same manner.

T2=(T/P2.)Xm2 ・・・・・・・・・・・
・・・・・・・・・・(5)t3 ”” (T / P
 3s ) X m3  ・・・・・・・・・・・・・
・・・・・・・・(6)上記は、各文字サイズのドツト
分解能Px+pz+1)3に於ける印字開始遅れ時間t
ll t2t t3を表わし、その時の各文字サイズの
乗数がP1□1P211P3□である。
T2=(T/P2.)Xm2・・・・・・・・・・・・
・・・・・・・・・・・・(5) t3 ”” (T/P
3s) X m3・・・・・・・・・・・・・・・
・・・・・・・・・(6) The above is the print start delay time t at the dot resolution Px+pz+1)3 for each character size.
ll t2t t3, and the multiplier of each character size at that time is P1□1P211P3□.

今、(4)弐〜(6)式の関係を図に表わすと、第2図
のようになる。同図(1)はスペースモータ移動方向が
右(正)方向、同図(2)は左(逆)方向を示す。
Now, if we represent the relationship between equations (4) 2 to (6) in a diagram, it will look like Figure 2. The figure (1) shows the space motor movement direction in the right (forward) direction, and the figure (2) shows the left (reverse) direction.

図(1)、 (2)に於いて、S工、Xnは当初のスペ
ースモータの相切換え位置、S□、X(n−1)は次の
スペースモータの相切換え位置、1sは次のスペースモ
ータの切換え位置までの時間、Nは印字開始位置を示し
、図(1)の場合はS、1Xnに対しtだけ遅れ、図(
2)の場合はS工、Xnに対しtだけ進んだ状態にあり
、この場合のtは、 t=(ts/5xi)x(sx□〜(N MOD S、
1))・・・・・・(7)となる。
In figures (1) and (2), S, Xn is the initial space motor phase switching position, S□, X(n-1) is the next space motor phase switching position, and 1s is the next space motor phase switching position. The time to the motor switching position, N indicates the printing start position, and in the case of figure (1), there is a delay of t with respect to S, 1Xn, and figure (
In the case of 2), S is advanced by t with respect to Xn, and t in this case is t=(ts/5xi)x(sx□~(N MOD S,
1))...(7).

上述したように、各文字サイズのドツト分解能とスペー
ス分解能および各文字サイズの乗数から、印字開始値[
Nを左、右最短距離に於いて、スペースモータの切換え
によって行なうようにしたことを特徴とするものである
As mentioned above, the print start value [
This is characterized in that N is performed at the shortest distance to the left and right by switching the space motor.

次に、本出願人の製品の実例について述べる。Next, an example of the applicant's product will be described.

この印字周期はインク粒子の励振周波数132KHzで
、1ガードドロツプ(荷電インク粒子間に無荷電粒子祭
1個介在させる)印字とし、縦24ドツト構成とした場
合は、 この時のスペース分解能、文字サイズ9ポ。
This printing cycle is an excitation frequency of ink particles of 132 KHz, 1 guard drop (one uncharged particle is interposed between charged ink particles) printing, and when the configuration is 24 vertical dots, the space resolution at this time is 9, and the character size is 9. Po.

10.5ポ、 12ポのドツト分解能は、スペース分解
能   1/90 1(ット分解能9ポ  7/1440インチ→1/20
5.フインチN   10.5ボ  8/1440イン
チ→1/180インチ〃   ]2ポ  9/1440
インチ→1/160インチである。これらの最大公約数
Mは前記(1)式からしたがって、印字開始位置Nは(
4)、 (5)、 (6)木から となる。
The dot resolution of 10.5 points and 12 points is space resolution 1/90 1 (dot resolution 9 points 7/1440 inches → 1/20
5. Finch N 10.5bo 8/1440 inch → 1/180 inch ] 2po 9/1440
inch → 1/160 inch. The greatest common divisor M of these is determined from equation (1) above, so the printing start position N is (
4), (5), (6) Made of wood.

次に、前記スペースモータのスペース相切換え8一 時間(2)式に関して述べる。Next, the space phase switching 8 of the space motor The time equation (2) will be described.

本発明の印字制御に於いて、左、右最短距離印字を行な
うには、インク粒子の制御とスペースモータの制御との
同期化が必要である。
In the printing control of the present invention, ink droplet control and space motor control must be synchronized in order to print at the shortest distance to the left and right.

第5図は、インクジェットプリンタのインクジェット制
御部51と主制御部52との関係ブロック図を示す。イ
ンクジェット制御部51は第1の発振器51aを有し、
高精度な水晶発振子でなり、基本クロック周波数を発生
する。これは、プリンタの励振、荷電、歪補正等の制御
に用いられる。また、主*Jf#部52は第2の発振器
52aを有し、安価なセラミック発振子でなり、その出
力周波数はプリンタ全体の制御に用いられる。なお、面
制御部51と52の間には、アドレスバス53.データ
バス54、および主制御部52に対するインクジェノl
−制御部51からのT2クロック55ライン等がある。
FIG. 5 shows a block diagram of the relationship between the inkjet control section 51 and the main control section 52 of the inkjet printer. The inkjet control unit 51 has a first oscillator 51a,
It consists of a high-precision crystal oscillator and generates the basic clock frequency. This is used to control excitation, charging, distortion correction, etc. of the printer. The main *Jf# section 52 has a second oscillator 52a, which is an inexpensive ceramic oscillator, and its output frequency is used to control the entire printer. Note that an address bus 53. Inkgen l for data bus 54 and main control unit 52
- There are 55 T2 clock lines from the control unit 51, etc.

上記インフジエラ1〜制御部51では、インク粒子の励
振周波数132KHz±o、oi(%)を保証するため
、第1の発振器51aは4.22MHz±0.01(%
)の水晶発振子を使用する。一方、主制御部51の中の
マイクロコンピュータの最大応答周波数は12M&であ
って、第2の発振器52aは安価なセラミック発振子を
使用し、その周波数偏差は±0.5(%)レベルである
In the Infusiera 1 to control unit 51, the first oscillator 51a has an excitation frequency of 4.22 MHz±0.01(%) in order to guarantee the ink droplet excitation frequency of 132 kHz±0.01(%).
) crystal oscillator is used. On the other hand, the maximum response frequency of the microcomputer in the main control unit 51 is 12M&, the second oscillator 52a uses an inexpensive ceramic oscillator, and its frequency deviation is at the ±0.5 (%) level. .

上述したように、印字制御に於いては、左、右最短距離
印字を行なうには、インク粒子の制御とスペースモータ
の制御との同期をとる必要があるが、上記の如く2つの
発振子を用いているので、スペースモータ制御クロック
は、インクジェット制御部5Jの基本クロック周波数に
より主制御部52の発振周波数を補正して用いることと
する。
As mentioned above, in printing control, it is necessary to synchronize the control of ink particles and the control of the space motor in order to print at the shortest distance to the left and right. Therefore, the space motor control clock is used by correcting the oscillation frequency of the main control section 52 using the basic clock frequency of the inkjet control section 5J.

補正方法はインクジェット制御部51からのT2クロッ
ク周波数66KCを24分周する。三れの330回の時
間幅を主制御部52の発振子によるクロック(2μs相
当)で計測し行なう。今、主制御部52の発振子が33
0パルスのカウント数(±O(%): 60000)と
した時、±0.2(%)の時の330パルスのカウント
数は、それぞれ59880.60120となる。印字時
のスペース切換え時間が1. msとすると、+0.2
(%)の時は 」(−二二L−59880120m5 x=499 −0.2(%)の時は 二り一=二り艷60120  
 .120m5 x =501 ここで、330カウントは120m5に相当する。
The correction method is to divide the T2 clock frequency 66KC from the inkjet control unit 51 by 24. The time width of three 330 times is measured using a clock (corresponding to 2 μs) generated by the oscillator of the main control unit 52. Now, the oscillator of the main control unit 52 is
When the count number of 0 pulses (±O (%): 60000) is set, the count number of 330 pulses at ±0.2 (%) is 59880.60120, respectively. Space switching time during printing is 1. ms, +0.2
(%) ”(-22L-59880120m5 x=499 -0.2(%) 21=2260120
.. 120m5 x =501 where 330 counts corresponds to 120m5.

24分周−120 66KC330 即ち、+0.2(%)、−0,2(%)の時、1 ms
の時間間隔は基本クロック周波数で数えると499.5
01となり、主制御部の発振周波数を補正する。この補
正は等速印字時に行なっており、立上り、立下りの非等
速時には行なわない。
Divide by 24 -120 66KC330 That is, 1 ms when +0.2 (%), -0.2 (%)
The time interval of is 499.5 when counted by the basic clock frequency.
01, and corrects the oscillation frequency of the main control section. This correction is performed during uniform speed printing, and is not performed during non-uniform speed printing such as rising and falling.

スペースモータのクロック周波数は、インクジェット制
御発振周波数(高精度な水晶発振子を使用)により主制
御部の発振周波数(低精度のセラミック発振子を使用)
を補正して使用しているが、発振周波数のズレ補正に於
ける端数により累積誤差を生じる。このため、スペース
モータの相切換え時間に誤差を生じ印字開始位置がずれ
て、例えば縦罫線が結ばらないという不具合が生じる。
The clock frequency of the space motor is determined by the inkjet control oscillation frequency (using a high-precision crystal oscillator) and the oscillation frequency of the main control section (using a low-precision ceramic oscillator).
However, cumulative errors occur due to fractions in correcting the oscillation frequency deviation. For this reason, an error occurs in the phase switching time of the space motor, and the printing start position shifts, resulting in a problem that, for example, vertical ruled lines are not connected.

そこで、この累積誤差が生じないように制御する必要が
ある。
Therefore, it is necessary to control so that this cumulative error does not occur.

一11= 仮りに、印字列数がL列とすると、 ア、L列印字の所要時間は 所要時間=LXT。111= Assuming that the number of printing columns is L columns, A. The time required to print the L column is Required time = LXT.

ただし、T、はトッド イ、L列印字の移動量は 移動量=L×ドツト分解能 = L X P。However, T is Todd A. The amount of movement for printing in the L column is Movement amount = L x dot resolution = L X P.

つ、スペースモータ移動のステップ数はステップ数=移
動量/スペース分解能 =LXP□X(1/S、> 工、スペースモータの相切換え時間 相切換えスタートからn番目の相切換えまでの時間をt
nとすると、 しn=所要時間Xn/ステップ数 オ、スペースモータの相切換え間隔は、1、、、−1□
=(所要時間Xn/ステップ数)−(所要時間×m/ス
テップ数) となる。これをまとめると次のようになる。
The number of steps in the space motor movement is the number of steps = movement amount / space resolution = L
If n, then n=required time
= (required time Xn/number of steps) - (required time x m/number of steps). This can be summarized as follows.

このように、合iJ所要時間に於いて、端数が生じない
ように主制御部のマイクロコンピュータで制御を行なう
In this way, the microcomputer in the main control section performs control so that no fraction occurs in the total required time.

(実施例) 第1図は、本発明の一実施例の入力バッファ管理のため
の回路構成図を示し、印字データの入力によりキャリッ
ジを左、右最端距離の印字位置に移動させる制御に必要
な回路を示す。図に於いて、10は入力端子Aからの印
字データを記憶する入力列バッファ、11は本回路等の
全体制御を行なうマイクロコンピュータμCPU、12
はキャリッジ位置カウンタ、13は印字位置開始決定バ
ッファで、印字データ有り″になるまで各文字サイズの
乗数を加算し、″有り″の時点で印字位置を決定する。
(Embodiment) Fig. 1 shows a circuit configuration diagram for input buffer management according to an embodiment of the present invention, which is necessary for controlling the carriage to move to the printing position at the farthest distance to the left or right by inputting print data. The following circuit is shown below. In the figure, 10 is an input column buffer that stores print data from input terminal A, 11 is a microcomputer μCPU that performs overall control of this circuit, etc., and 12
13 is a carriage position counter, and 13 is a print position start determination buffer, which adds the multiplier of each character size until it becomes ``print data available'', and then determines the print position.

14は印字列カウンタ、15はイメージバッファで、こ
こから出力端子(B)に印字データが出力される。16
はスペース列カウンタである。
14 is a print string counter, and 15 is an image buffer from which print data is output to an output terminal (B). 16
is the space column counter.

次に、本回路のバッファ管理について説明すると、バッ
ファ管理は常にドツト列単位で行ない、次の3モードに
より、第1表の制御例に従えば、第2表のイメージバッ
ファに印字範囲の印字データが転送され出力される。
Next, to explain the buffer management of this circuit, buffer management is always performed in units of dot rows, and by using the following three modes, if you follow the control example in Table 1, the print data of the print range is stored in the image buffer in Table 2. is transferred and output.

モートド・イニシャルおよび改行後は、常にこのモード
による。
This mode is always used after a modded initial and a line break.

(1)入力端子(A)からの印字データが入力される状
態に於いて、入力列バッファ10の内容が全て“O”の
時は、その内容をμCPUIIはイメージバッファ15
に転送せずに、印字開始位置N(第1表参照)のみ制御
し、Nを各ドツト分解能に対応した分を増加(L列印字
の移動量)し、印字位置開始決定バッファ13に各文字
サイズの乗数を加算する。第1表のモード1のNα1.
No、2の状態で、NはO→8→8→16と移動する。
(1) When the contents of the input column buffer 10 are all "O" in the state where print data is input from the input terminal (A), the μCPU II transfers the contents to the image buffer 15.
Controls only the print start position N (see Table 1) without transferring the data to the print position start position N (see Table 1), increases N by an amount corresponding to each dot resolution (the amount of movement for L column printing), and stores each character in the print position start determination buffer 13. Add size multiplier. Nα1 of mode 1 in Table 1.
In the state of No, 2, N moves as O→8→8→16.

この場合の印字データは、スペースspである。The print data in this case is a space sp.

(2)入力列バッファ10の内容がit Onでない時
は、入力列バッファの内容をμCPU]、lによってイ
メージバッファ15に転送し、印字列カウンタ14を+
1とし、印字データの列数をカウントすると共に、モー
ド1をモード2に切換える。第1表モード1→2のNα
3の状態で、印字データはNOT SP(スペースなし
:マーク)であり、印字開始位置N=16とし、No、
 4の状態では印字列カウンタ14は更に+1され2と
なる。
(2) When the contents of the input column buffer 10 are not on, the contents of the input column buffer are transferred to the image buffer 15 by μCPU], l, and the print column counter 14 is set to +
1, the number of columns of print data is counted, and mode 1 is switched to mode 2. Table 1 Mode 1→2 Nα
In state 3, the print data is NOT SP (no space: mark), the print start position N = 16, and No.
In the state of 4, the print string counter 14 is further incremented by 1 and becomes 2.

モード2・・・イメージバッファ15に既に何等かの印
字データがある時 (1)入力列バッファ10の内容が全て“0”の時は、
入力列バッファ10の内容をイメージバッファ15にμ
CPUIIは転送せず、印字データがスペースSPによ
りスペース列カウンタ16のみ+1としてパ無し”の印
字データの列数をカウントし、モード2からモード3に
切換える。第1表モード2→3のNn 5の状態で、印
字列カウンタ14は2のままである。
Mode 2...When there is already some print data in the image buffer 15 (1) When the contents of the input string buffer 10 are all "0",
Transfer the contents of the input column buffer 10 to the image buffer 15
The CPU II does not transfer the print data, and only the space column counter 16 is +1 due to the space SP to count the number of columns of print data with "no space", and switches from mode 2 to mode 3. Nn 5 of mode 2 → 3 in Table 1 In this state, the print string counter 14 remains at 2.

(2)入力列バッファlOの内容が全て“′0″でない
時は、前述したモード1の(2)と同様である。
(2) When the contents of the input string buffer lO are not all "0", the same as (2) of mode 1 described above is performed.

モード3・・・モード2で入力列バッファ10が“0”
の印字データを受は取った時 (1)入力列バッファ10の内容が全て“0′″の時は
、前述したモード2の(1)と同様である。
Mode 3: Input column buffer 10 is “0” in mode 2
(1) When the contents of the input string buffer 10 are all "0'", it is the same as (1) of mode 2 described above.

(2)入力列バッファ11の内容がII O++でない
時−15= は、スペース列カウンタ16のスペース列データのカウ
ント数3(第1表モード3のNα7の状態)をイメージ
バッファ15にμCPUIIは転送し、印字列カウンタ
14も+1加算し、カウント数を6とし、また、この時
にスペース列カウンタ16のカウント数を110”とす
ると共に、その後第1表のNα8の印字データ(NOT
 SP)を入力列バッファ10は受は取ってからイメー
ジバッファ16にμCP Ullは転送し、モート3を
2へ戻す。
(2) When the contents of the input column buffer 11 are not II O++ -15=, the μCPU II transfers the count number 3 of the space column data of the space column counter 16 (state of Nα7 in mode 3 in Table 1) to the image buffer 15. Then, the print string counter 14 is also incremented by +1, making the count number 6. Also, at this time, the count number of the space string counter 16 is made 110'', and then the print data of Nα8 in Table 1 (NOT
SP) is received by the input column buffer 10, and then transferred to the image buffer 16 by μCP Ull, and mote 3 is returned to mote 2.

以上述べた3モードを入力列バッファ10の内容によっ
て変化させながら、1行印字が終了するまで、または印
字開始命令が来るまでバッファ管理を行なう。
Buffer management is performed while changing the three modes described above depending on the contents of the input column buffer 10 until printing of one line is completed or until a printing start command is received.

第1表 (泪sp・・・スペース NOT SP・・・マーク 周期T=1/2750 S1=1/90 P□=1/205.7 P2=1/1
80 P、=17160M=1/1440 511=1
6 P□□=7P2□=8  P3.=9 第2表 印字開始位置N 上述した制御例は、文字サイズが10.5ポでの値であ
り、印字開始位置N2=1.6は次による。
Table 1 (Tears sp...Space NOT SP...Mark period T=1/2750 S1=1/90 P□=1/205.7 P2=1/1
80 P, = 17160M = 1/1440 511 = 1
6 P□□=7P2□=8 P3. =9 Table 2 Print start position N The above control example is a value when the character size is 10.5 points, and the print start position N2=1.6 is as follows.

S□□ n2mま ただし n2=1.  m2=t2=Qスヘースモータ
の相切換位置1と 同時に印字を開始する。
S□□ n2m madashi n2=1. m2=t2=Q Printing starts at the same time as phase switching position 1 of the Schass motor.

以下、同様に制御例を文字サイズ12ボで印字すると、
第1表の印字開始位置N3は乗数P3□=9であるので
Below, if you print the control example in the same font size of 12 font,
Since the printing start position N3 in Table 1 is the multiplier P3□=9.

N3= 18 Sttnlml ただし n1=:1.  m1=2 t1z(T/P31)×m。N3=18 Sttnlml However, n1=:1. m1=2 t1z(T/P31)×m.

一訂■×T×2 =80.8(μs) これは、スペースモータ相切換点1から80.8(μS
)後に印字を開始する。
First revision × T × 2 = 80.8 (μs) This is 80.8 (μS) from space motor phase switching point 1
), then printing starts.

文字サイズ9ボで印字すると、第1表の印字開始位置N
□はP。−7であるので、 N、  =  14 Sttn3 m3 ただし n、−”O,m3”:14 t3  =  (T / P tt) X m3−−L
−x−!−x14 = 727.2 (μ3)コレは、
スペースモータ相切換点Oかう7z7.z(μs)後に
印字を開始する。
When printing in font size 9, the printing start position N in Table 1
□ is P. -7, so N, = 14 Sttn3 m3 However, n, -"O, m3": 14 t3 = (T / P tt) X m3--L
-x-! -x14 = 727.2 (μ3) This is,
Space motor phase switching point 07z7. Printing starts after z (μs).

次に、キャリッジを左、右両方向に印字制御する場合、
機械部分と電気制御部分とのズレによる左右印字で、印
字位置が一致しないことが生ずる。
Next, when controlling printing in both the left and right directions of the carriage,
Due to misalignment between the mechanical part and the electrical control part, the printing positions may not match when printing on the left and right sides.

第3図は、キャリッジの停止位置■と正、負方向バック
ラッシュ補正位置■、■の関係を示し、同図(1)はキ
ャリッジの位置カウンタ(第1図の12)をsp po
s、バックラッシュ量をXとした時の補正位置を示す。
Figure 3 shows the relationship between the carriage stop position ■ and the positive and negative backlash correction positions ■ and ■, and (1) in the figure shows the carriage position counter (12 in Figure 1) sp po
s indicates the correction position when the amount of backlash is set to X.

スペースモータによるキャリッジの往から復(同図(2
))、復から往(同図の(3))のそれぞれの反転時に
は、SP PO34−5P PO5+ x 、 SP 
PO5←SP PO5−xとして、位置カウンタに加減
算することで補正を行なうもので、同図(4)はその状
態を示す。
Moving the carriage back and forth using the space motor (see figure (2)
)), and at each reversal from backward to forward ((3) in the same figure), SP PO34-5P PO5+ x, SP
PO5←SP PO5-x is corrected by adding to or subtracting from the position counter, and (4) in the same figure shows this state.

次に、スペースモータの相切換時に於ける印字開始位置
の制御に於いて、印字開始位置のピッチは前述した実例
に従えば、l / 1440単位であるので、スペース
モータの相切換位置を16等分した所に生ずる。
Next, in controlling the printing start position when changing the phase of the space motor, since the pitch of the printing start position is in units of 1/1440 according to the above-mentioned example, the phase switching position of the space motor is controlled by 16 etc. Occurs in separated areas.

これを第4図に示し、dは相切換位置、eは印字開始位
置であって、n = 6にあることを示す。
This is shown in FIG. 4, where d is the phase switching position, e is the printing start position, and n=6.

次に、キャリッジを入力印字データの文字サイズに合わ
せ、左、右何れかの方向へ移動させ、最短距離印字を行
なうのには、(8)式のようにする。
Next, the carriage is moved to either the left or right direction in accordance with the character size of the input print data, and the shortest distance printing is performed using equation (8).

(印字開始位置+印字終了位置)xi/25現在位置・
・・(8)即ち、キャリッジの現在位置から1z2地点
に対する距離の犬、小の差を、μCPU(第1図11)
が判断し決定する。この場合、第3図で述べたように、
バックラッシュ量を考慮する必要がある場合は、(8)
式に加え決定する。
(Printing start position + printing end position) xi/25 current position・
(8) That is, the difference in distance from the current position of the carriage to points 1z2 is calculated by the μCPU (Fig. 1, 11).
will judge and decide. In this case, as mentioned in Figure 3,
If it is necessary to consider the amount of backlash, (8)
In addition to the formula, decide.

(印字開始位置士印字終了位置十バックラッシュ量)X
i/2く 〉現在位置      ・・・・・・・・・・・・・・
・・・・・・・・・・・・・(9)また、順方向(右)
印字の時は、バックラッシュ量は+、逆方向(左)印字
の時は−となる。
(Printing start position + printing end position + amount of backlash)
i/2〉Current position・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・(9) Also, forward direction (right)
When printing, the amount of backlash is +, and when printing in the opposite direction (left), it is -.

(発明の効果) 以上述へたように、本発明は、スペース分解能〉ドツト
分解能の関係から両分解能の最大公約数を求め、これを
乗数とし、マイクロコンピュータにより入力印字データ
の文字サイズの変化により、入力列バッファからイメー
ジバッファへの転送。
(Effects of the Invention) As described above, the present invention obtains the greatest common divisor of both resolutions from the relationship of space resolution>dot resolution, uses this as a multiplier, and uses a microcomputer to adjust the character size of the input print data. , transfer from input column buffer to image buffer.

印字位置の決定等、印字に必要な処理を施して印字デー
タを出力し、キャリッジは文字サイズの変化に応じて、
その時の現在位置から左、右最短距離に於いて印字しつ
るようにしたので、従来の片方向印字に比べ高速化され
た。また、これらの動作」二問題となるスペースモータ
の相切換による累積誤差が生じないようにし、機械部分
と電気制御部分とのズレによる左、右印字位置のズレ防
止の補正を行なうようにしたので、左、右方自信れの位
置から印字を行なっても、正しい位置に印字される。
The printing data is output after performing the processing necessary for printing, such as determining the printing position, and the carriage moves according to changes in character size.
Since printing is performed at the shortest distance to the left and right from the current position, the printing speed is faster than conventional unidirectional printing. In addition, we have prevented the cumulative error caused by phase switching of the space motor, which is a problem with these operations, and have made corrections to prevent misalignment of the left and right printing positions due to misalignment between the mechanical part and the electrical control part. , even if printing is performed from the wrong position to the left or right, it will be printed at the correct position.

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

第1図は本発明の一実施例の入力列バッファ管理のため
の回路構成図、第2図はスペースモータ相切換え時間の
説明図、第3図はキャリッジ停止位置と正負方向バック
ラッシュ補正の説明図、第4図はスペースモータの相切
換え位置と印字開始位置との説明図、第5図はインクジ
ェット制御部と主制御部との関係ブロック図、第6図は
従来の片方向印字の説明図である。 10・・・入力列バッファ、 11・・マイクロコンピ
ュータμCPU、 12・・・キャリッジ位置カウンタ
、 13・・・印字位置開始決定バッファ、 14・・
・印字列カウンタ、 15・・・イメージバッファ、 
16・・・スペース列カウンタ、51・・インクジェッ
ト制御部、 52・・・主制御部、 51a・第1の発
振器、 52a・・・第2の発振器。 特許出願人 株式会社 リ コ 一 第2図 第3図 ■ ○      ■ 5PPO95PPO9 sPPoS−x                  
                 5PPos+×X 1゛1
Fig. 1 is a circuit configuration diagram for input column buffer management according to an embodiment of the present invention, Fig. 2 is an explanatory diagram of space motor phase switching time, and Fig. 3 is an explanation of carriage stop position and positive/negative direction backlash correction. Figure 4 is an explanatory diagram of the space motor phase switching position and printing start position, Figure 5 is a block diagram of the relationship between the inkjet control unit and the main control unit, and Figure 6 is an explanatory diagram of conventional unidirectional printing. It is. 10... Input string buffer, 11... Microcomputer μCPU, 12... Carriage position counter, 13... Print position start determination buffer, 14...
・Print string counter, 15...image buffer,
16... Space row counter, 51... Inkjet control unit, 52... Main control unit, 51a... First oscillator, 52a... Second oscillator. Patent applicant Rico Co., Ltd. Figure 2 Figure 3 ■ ○ ■ 5PPO95PPO9 sPPoS-x
5PPos+×X 1゛1

Claims (3)

【特許請求の範囲】[Claims] (1)インクジェットプリンタに於いて、基本周波数を
発生する第1の発振器と、主制御を行なう第2の発振器
とを備え、この主制御のパワーオン時に、第2の発振器
の発振周波数を第1の発振器の周波数にて補正するよう
にしたことを特徴とするインクジェットプリンタの周波
数制御方式。
(1) An inkjet printer is equipped with a first oscillator that generates a fundamental frequency and a second oscillator that performs main control, and when the main control is powered on, the oscillation frequency of the second oscillator is changed to the first oscillator. A frequency control method for an inkjet printer, characterized in that the frequency is corrected using the frequency of an oscillator.
(2)等速印字時のスペース相切換え時間を補正された
時間で行なうことを特徴とする特許請求の範囲第(1)
項記載のインクジェットプリンタの周波数制御方式。
(2) Claim (1) characterized in that the space phase switching time during constant speed printing is performed at a corrected time.
Frequency control method for inkjet printers described in Section 1.
(3)L列の印字を行なう際、補正された時間でL列の
印字所要時間を計算し、これをスペースモータのスペー
ス分解能と移動量とから算出したスペースモータのステ
ップ数により、n番目からm番目までの相切換え時間 t_n=印字所要時間×n/ステップ数 t_m=印字所要時間×m/ステップ数 を求め、t_n−t_mをスペースモータの相切換え時
間としたことを特徴とする特許請求の範囲第(1)項、
第(2)項のいずれかに記載のインクジェットプリンタ
の周波数制御方式。
(3) When printing the L column, calculate the time required to print the L column using the corrected time, and calculate this from the nth to the number of space motor steps calculated from the space resolution and movement amount of the space motor. Phase switching time up to the m-th time t_n = required printing time x n / number of steps t_m = required printing time x m / number of steps is determined, and t_n - t_m is set as the phase switching time of the space motor. Scope paragraph (1);
The frequency control method for an inkjet printer according to any one of item (2).
JP13597887A 1987-05-31 1987-05-31 Frequency control system in ink jet printer Pending JPS63302058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13597887A JPS63302058A (en) 1987-05-31 1987-05-31 Frequency control system in ink jet printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13597887A JPS63302058A (en) 1987-05-31 1987-05-31 Frequency control system in ink jet printer

Publications (1)

Publication Number Publication Date
JPS63302058A true JPS63302058A (en) 1988-12-08

Family

ID=15164325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13597887A Pending JPS63302058A (en) 1987-05-31 1987-05-31 Frequency control system in ink jet printer

Country Status (1)

Country Link
JP (1) JPS63302058A (en)

Similar Documents

Publication Publication Date Title
US7597322B2 (en) Conveyance apparatus, control method therefor, and printing apparatus
US4524364A (en) Circuitry for correcting dot placement for oscillating carriage ink jet printer
US4345263A (en) Recording apparatus
JP2004034650A (en) Inkjet recorder
JPH11277808A (en) Timing pulse generator and printer
KR960003351B1 (en) Position detecting apparatus
JPH05177878A (en) Printing control method and device in printer
US4956648A (en) Dot position discrepancy correcting circuit for printing apparatus
US7357470B2 (en) Apparatus and method for controlling printing time
JPS63302058A (en) Frequency control system in ink jet printer
JPS63302059A (en) Printing control system in ink jet printer
JP2005297253A (en) Image forming apparatus
JPH0448630B2 (en)
US6935722B2 (en) Timer device for a digital printer and method of printing
JP2007152626A (en) Recorder and method for controlling recording
JP2836061B2 (en) Serial dot printer
JP2002086807A (en) Dot matrix printer
JPH0825699A (en) Raster type recording apparatus
JP2005238706A (en) Imaging device
KR100396562B1 (en) Method and apparatus for generating fire pulse adapted to the movement velocity of the carriage in the printer
JPH07121594B2 (en) Print timing signal generator for serial printer
JPS6129272B2 (en)
JPS61284455A (en) Printing apparatus
JP3514405B2 (en) Serial printer bidirectional printing position adjustment device
SU1314228A1 (en) Ink jet recording device