JP2619059B2 - Serial printer - Google Patents

Serial printer

Info

Publication number
JP2619059B2
JP2619059B2 JP1155834A JP15583489A JP2619059B2 JP 2619059 B2 JP2619059 B2 JP 2619059B2 JP 1155834 A JP1155834 A JP 1155834A JP 15583489 A JP15583489 A JP 15583489A JP 2619059 B2 JP2619059 B2 JP 2619059B2
Authority
JP
Japan
Prior art keywords
pulse motor
excitation phase
pulse
pulses
switching
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 - Fee Related
Application number
JP1155834A
Other languages
Japanese (ja)
Other versions
JPH0321481A (en
Inventor
俊一 伊藤
真史 佐藤
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1155834A priority Critical patent/JP2619059B2/en
Publication of JPH0321481A publication Critical patent/JPH0321481A/en
Application granted granted Critical
Publication of JP2619059B2 publication Critical patent/JP2619059B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、シリアルプリンタに関するものである。Description: TECHNICAL FIELD The present invention relates to a serial printer.

(従来の技術) 従来、シリアルプリンタにおいては、紙送りを行うた
めにパルスモータが使用され、該パルスモータの回転が
ギヤを介してプラテンに伝達されるようになっている。
(Prior Art) Conventionally, in a serial printer, a pulse motor is used to feed paper, and the rotation of the pulse motor is transmitted to a platen via a gear.

第5図は従来のシリアルプリンタにおける用紙送り機
構の斜視図である。
FIG. 5 is a perspective view of a paper feed mechanism in a conventional serial printer.

図において、1はパルスモータ、2はギヤ、3はプラ
テン、4はレフトサイドフレームである。この場合、前
記パルスモータ1はギヤ2を介してプラテン3に接続さ
れていて、前記パルスモータ1を駆動し、プラテン3及
び図示しないピントラクタを作動させることによって紙
送りを行うようにしている。また、前記パルスモータ1
はレフトサイドフレーム4に取り付けられる。
In the figure, 1 is a pulse motor, 2 is a gear, 3 is a platen, and 4 is a left side frame. In this case, the pulse motor 1 is connected to a platen 3 via a gear 2, and drives the pulse motor 1 to operate the platen 3 and a pin tractor (not shown) to feed the paper. Further, the pulse motor 1
Is attached to the left side frame 4.

第6図は従来のシリアルプリンタにおけるパルスモー
タのブロック図である。
FIG. 6 is a block diagram of a pulse motor in a conventional serial printer.

この場合、パルスモータ1としては4相モータが使用
され、2相励磁方式によって駆動するために、図示しな
いCPUによって相励磁信号φ〜φが発生させられ、
ドライバ部7に送られる。該ドライバ部7は、前記相励
磁信号φ〜φのオン・オフによって前記パルスモー
タ1の1相〜4相の各相を励磁し、パルスモータ1を駆
動する。
In this case, a four-phase motor is used as the pulse motor 1, and a phase excitation signal φ 1 to φ 4 is generated by a CPU (not shown) in order to drive by a two-phase excitation method,
It is sent to the driver unit 7. The driver section 7 excites each of the first to fourth phases of the pulse motor 1 by turning on and off the phase excitation signals φ 1 to φ 4 to drive the pulse motor 1.

第7図は従来のシリアルプリンタにおけるパルスモー
タの相励磁のタイムチャートである。
FIG. 7 is a time chart of phase excitation of a pulse motor in a conventional serial printer.

図示しないCPUの制御によって、切換えタイミング
(以下「励磁相切換えタイミング」という。)ごとにパ
ルスモータ1(第6図)が励磁される相、すなわち、励
磁相が、1−2相→2−3相→3−4相→4−1相のよ
うに順次切り換えられ、パルスモータ1は2相励磁方式
で駆動される。
Under the control of a CPU (not shown), the phase at which the pulse motor 1 (FIG. 6) is excited at each switching timing (hereinafter referred to as "excitation phase switching timing"), that is, the excitation phase is changed from 1-2 phase to 2-3. The phase is sequentially switched in the order of phase → 3-4 →→ 4-1, and the pulse motor 1 is driven by the two-phase excitation method.

そして、パルスモータ1が1パルス当たり1/180イン
チ改行の仕様になっている場合、1/6インチの紙送りが
行うために、パルスモータ1の励磁相が30パルス分の励
磁相切換えタイミングtで順次切り換えられる。
When the pulse motor 1 has a line feed specification of 1/180 inch per pulse, the excitation phase of the pulse motor 1 is switched to the excitation phase for 30 pulses in order to perform 1/6 inch paper feed. Are sequentially switched.

第8図は従来のシリアルプリンタにおけるパルスモー
タの速度プロフィールを示す図である。なお、図におい
て、横軸に時間Tを、縦軸にパルスモータの角速度ωを
採ってある。
FIG. 8 is a diagram showing a speed profile of a pulse motor in a conventional serial printer. In the figure, the horizontal axis represents time T, and the vertical axis represents the angular velocity ω of the pulse motor.

例えば、所定時間t0の間に1/6インチの紙送りを行う
場合、1/6インチの紙送りには30パルス分の励磁相切換
えタイミングt(第7図)で励磁相を切り換える必要が
ある。時間t0/2の間に15パルス分の励磁相切換えタイミ
ングtで励磁相を切り換え、かつ、その間、励磁相切換
えタイミングtを次第に短くして角速度ωを高くする。
そして、角速度ωが最高角速度ωに達した後は、残り
の15パルス分の励磁相切換えタイミングtで励磁相を切
り換え、かつ、その間、励磁相切換えタイミングtを次
第に長くして角速度ωを低くし、0にする。
For example, when performing 1/6 inch of the paper feed during the predetermined time t 0, 1 / is a 6-inch paper feed is necessary to switch the excitation phase at 30 pulses of the excitation phase switching timing t (Figure 7) is there. Switching the excitation phase at time t 0/2 15 pulses during the excitation phase switching timing t, and, during which a higher angular speed ω by gradually shortening the excitation phase switching timing t.
After the angular velocity ω reaches the maximum angular velocity ω 0 , the excitation phase is switched at the excitation phase switching timing t for the remaining 15 pulses, and during that time, the excitation phase switching timing t is gradually increased to lower the angular velocity ω. And set it to 0.

このように、できる限り短時間で1/6インチの紙送り
を行うために、角速度ωは、少しずつ高くされ、最高角
速度ωに達した後、少しずつ低くされる。
Thus, in order to perform a short time 1/6 inch of the paper feed as possible, the angular velocity omega is high slightly after reaching the maximum angular velocity omega 0, is lowered little by little.

(発明が解決しようとする課題) しかしながら、前記構成のシリアルプリンタにおいて
は、パルスモータ1(第6図)を第8図に示すような速
度プロフィールで駆動すると、時間t0/2が経過した時点
において角速度ωが急激に変化し、パルスモータ1が脱
調して紙送りを円滑に行うことができなくなってしま
う。したがって、印字ずれが発生し、印字品位が低下し
てしまう。
(Problems to be Solved by the Invention) However, in the serial printer having the above configuration, when the pulse motor 1 (FIG. 6) is driven with a speed profile as shown in FIG. 8, the time t 0/2 elapses. In this case, the angular velocity ω changes abruptly, and the pulse motor 1 loses synchronism, making it impossible to feed the paper smoothly. Therefore, a printing shift occurs, and the printing quality deteriorates.

本発明は、前記従来のシリアルプリンタの問題点を解
決して、加速から減速に移行する際にパルスモータの角
速度が急激に変化することがなく、印字ずれが発生する
のを防止し、印字品位を向上させることができるシリア
ルプリンタを提供することを目的とする。
The present invention solves the problems of the conventional serial printer, prevents the angular velocity of the pulse motor from changing abruptly when shifting from acceleration to deceleration, prevents print misregistration, and improves print quality. It is an object of the present invention to provide a serial printer capable of improving the performance.

(課題を解決するための手段) そのために、本発明のシリアルプリンタにおいては、
異なる紙送り量で紙送りを行うことが可能にされる。
(Means for Solving the Problems) Therefore, in the serial printer of the present invention,
The paper can be fed at different paper feed amounts.

そして、紙送りを行う用紙送り機構を作動させるため
に駆動されるパルスモータと、該パルスモータに相励磁
信号を送り、励磁相を切り換えて前記パルスモータを駆
動するドライバ部と、前記励磁相の切換えタイミングを
異ならせて設定された複数のデータから成るタイミング
テーブルが格納された記憶部と、制御部とを有する。
A pulse motor driven to operate a paper feed mechanism for feeding paper; a driver unit for sending a phase excitation signal to the pulse motor to switch an excitation phase to drive the pulse motor; and switching the excitation phase. The control unit includes a storage unit in which a timing table including a plurality of data set with different timings is stored, and a control unit.

また、該制御部は、前記紙送り量分の紙送りを行うの
に必要な総パルス数を求める手段と、前記紙送り量分の
紙送りを行うときに、前記総パルス数に基づいて第1の
パルス数を算出するとともに、前記ドライバ部を制御
し、励磁相を切り換えるためにドライバ部において発生
させられるパルスの数が前記第1のパルス数に達するま
で、前記タイミングテーブルのデータに従って励磁相を
切り換えて前記パルスモータの加速を行い、前記パルス
の数が第1のパルス数に達した後、所定のパルス数だけ
前記パルスモータを定速で駆動し、その後、前記タイミ
ングテーブルのデータに従って励磁相を切り換えて前記
パルスモータの減速を行う手段とを備える。
The control unit is configured to determine a total number of pulses necessary for performing the paper feed for the paper feed amount, and to perform a paper feed for the paper feed amount based on the total number of pulses. 1 to calculate the number of pulses and to control the driver section, and to change the excitation phase according to the data in the timing table until the number of pulses generated in the driver section reaches the first pulse number. Is switched to accelerate the pulse motor, and after the number of pulses reaches the first pulse number, the pulse motor is driven at a constant speed for a predetermined number of pulses, and then excited according to the data in the timing table. Means for switching phases to decelerate the pulse motor.

(作用) 本発明によれば、前記のようにシリアルプリンタにお
いては、異なる紙送り量で紙送りを行うことが可能にさ
れる。
(Operation) According to the present invention, as described above, in the serial printer, paper feeding can be performed with different paper feeding amounts.

そして、紙送りを行う用紙送り機構を作動させるため
に駆動されるパルスモータと、該パルスモータに相励磁
信号を送り、励磁相を切り換えて前記パルスモータを駆
動するドライバ部と、前記励磁相の切換えタイミングを
異ならせて設定された複数のデータから成るタイミング
テーブルが格納された記憶部と、制御部とを有する。
A pulse motor driven to operate a paper feed mechanism for feeding paper; a driver unit for sending a phase excitation signal to the pulse motor to switch an excitation phase to drive the pulse motor; and switching the excitation phase. The control unit includes a storage unit in which a timing table including a plurality of data set with different timings is stored, and a control unit.

この場合、前記パルスモータに送られる相励磁信号の
励磁相が前記ドライバ部によって切り換えられると、パ
ルスモータが駆動され、用紙送り機構が作動させられ、
前記紙送り量分の紙送りが行われる。
In this case, when the excitation phase of the phase excitation signal sent to the pulse motor is switched by the driver unit, the pulse motor is driven, the paper feed mechanism is operated,
The paper feed for the paper feed amount is performed.

そして、前記制御部は、前記紙送り量分の紙送りを行
うのに必要な総パルス数を求める手段と、前記紙送り量
分の紙送りを行うときに、前記総パルス数に基づいて第
1のパルス数を算出するとともに、前記ドライバ部を制
御し、励磁相を切り換えるためにドライバ部において発
生させられるパルスの数が前記第1のパルス数に達する
まで、前記タイミングテーブルのデータに従って励磁相
を切り換えて前記パルスモータの加速を行い、前記パル
スの数が第1のパルス通に達した後、所定のパルス数だ
け前記パルスモータを定速で駆動し、その後、前記タイ
ミングテーブルのデータに従って励磁相を切り換えて前
記パルスモータの減速を行う手段とを備える。
The control unit is configured to determine a total number of pulses required to feed the paper by the paper feed amount, and to perform a paper feed by the paper feed amount based on the total number of pulses. 1 to calculate the number of pulses and to control the driver section, and to change the excitation phase according to the data in the timing table until the number of pulses generated in the driver section reaches the first pulse number. Is switched to accelerate the pulse motor, and after the number of pulses reaches the first pulse, the pulse motor is driven at a constant speed for a predetermined number of pulses, and then the excitation is performed according to the data in the timing table. Means for switching phases to decelerate the pulse motor.

この場合、制御部によって、前記紙送り量分の紙送り
を行うのに必要な総パルス数が求められ、該総パルス数
に基づいて第1のパルス数が算出される。
In this case, the control unit obtains the total number of pulses required to feed the paper by the paper feed amount, and calculates the first pulse number based on the total number of pulses.

また、前記制御部によってドライバ部が制御され、励
磁相を切り換えるためにドライバ部において発生させら
れるパルスの数が前記第1のパルス数に達するまで、前
記タイミングテーブルのデータに従って励磁相が切り換
えられ、前記パルスモータの加速が行われる。
Further, the driver is controlled by the controller, and the excitation phase is switched according to the data of the timing table until the number of pulses generated in the driver to switch the excitation phase reaches the first pulse number. The acceleration of the pulse motor is performed.

そして、前記パルスの数が第1のパルス数に達する
と、所定のパルス数だけ前記パルスモータが定速で駆動
され、その後、前記タイミングテーブルのデータに従っ
て励磁相が切り換えられ、前記パルスモータの減速が行
われる。
When the number of pulses reaches the first number of pulses, the pulse motor is driven at a constant speed for a predetermined number of pulses, and then the excitation phase is switched according to the data in the timing table, and the pulse motor is decelerated. Is performed.

(実施例) 以下、本発明の実施例について図面を参照しながら詳
細に説明する。
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第2図は本発明の実施例におけるシリアルプリンタの
制御ブロック図である。
FIG. 2 is a control block diagram of the serial printer according to the embodiment of the present invention.

図に示すように、シリアルプリンタの制御回路は、シ
リアルプリンタの全体を制御する制御部としてのCPU
(マイクロプロセッサ)11、制御プログラム等が格納さ
れている記憶部としてのROM12、印字データ等を一時的
に記憶するRAM13、及び前記CPU11からの指令によって駆
動されるドライバ部としてのI/Oドライバ14を有する。
そして、該I/Oドライバ14には、図示しない外部装置と
の間を接続するためのインターフェース16、印字ヘッド
17、該印字ヘッド17を移動させるスペース用モータ18、
紙送りを行う改行用モータ19が接続される。なお、20
は、前記CPU11、ROM12、RAM13及びI/Oドライバ14を接続
するバスラインである。
As shown in the figure, the control circuit of the serial printer includes a CPU as a control unit that controls the entire serial printer.
(Microprocessor) 11, ROM 12 as a storage unit storing a control program and the like, RAM 13 for temporarily storing print data and the like, and I / O driver 14 as a driver unit driven by a command from the CPU 11. Having.
The I / O driver 14 includes an interface 16 for connecting an external device (not shown) and a print head.
17, a space motor 18 for moving the print head 17,
A line feed motor 19 for feeding paper is connected. Note that 20
Is a bus line for connecting the CPU 11, the ROM 12, the RAM 13, and the I / O driver 14.

第1図は本発明の実施例におけるシリアルプリンタの
動作を示すフローチャート、第3図は本発明の実施例に
おけるシリアルプリンタのタイミングテーブルを示す図
である。
FIG. 1 is a flowchart showing the operation of the serial printer according to the embodiment of the present invention, and FIG. 3 is a diagram showing a timing table of the serial printer according to the embodiment of the present invention.

この場合、第3図に示すように、励磁相切換えタイミ
ングtの値を互いに異ならせ、少しずつ短く設定された
励磁相切換えタイミングt1〜tmのデータがタイミングテ
ーブルにされ、該タイミングテーブルが前記ROM12(第
2図)にあらかじめ格納される。
In this case, as shown in FIG. 3, with different values of the excitation phase switching timing t from each other, are in small portions shorter set excitation phase switching timing t 1 ~t m data timing table, the timing table It is stored in the ROM 12 (FIG. 2) in advance.

ステップ CPU11は、図示しないスイッチから信号を
受けるか、I/Oドライバ14を介して図示しない外部装置
から改行命令を受けるかすると、RAM13に格納されてい
る所定量の紙送りを行うのに必要な総パルス数としての
改行パルス数xを求め、該改行パルス数xが奇数である
か偶数であるかを判断する。前記改行パルス数xが奇数
である場合はステップに、偶数である場合はステップ
に進む。
Step When the CPU 11 receives a signal from a switch (not shown) or a line feed command from an external device (not shown) via the I / O driver 14, the CPU 11 needs to feed a predetermined amount of paper stored in the RAM 13. The number x of line feed pulses as the total number of pulses is obtained, and it is determined whether the number x of line feed pulses is an odd number or an even number. When the line feed pulse number x is an odd number, the process proceeds to a step. When the line feed pulse number x is an even number, the process proceeds to a step.

ステップ 第1のパルス数としての値(x−1)/2−
2を算出し、算出結果をRAM13に格納する。
Step Value (x-1) / 2- as first pulse number
2 is calculated, and the calculation result is stored in the RAM 13.

ステップ 第1のパルス数としての値x/2−2を算出
し、算出結果をRAM13に格納する。
Step: The value x / 2−2 as the first pulse number is calculated, and the calculation result is stored in the RAM 13.

ステップ CPU11は、ROM12に格納された前記タイミン
グテーブルにおける n=1 に対応する励磁相切換えタイミングt1を読み出し、励磁
相切換えタイミングt1の時間だけパルスモータ1(第6
図参照)のある相を励磁する。次に、CPU11は、前記タ
イミングテーブルにおける n=2 に対応する励磁相切換えタイミングt1を読み出し、励磁
相切換えタイミングt2の時間だけパルスモータ1の励磁
相を切り換える。
Step CPU11 reads the excitation phase switching timing t 1 corresponding to n = 1 in the timing table stored in the ROM 12, the only time the excitation phase switching timing t 1 the pulse motor 1 (6
(See the figure). Then, CPU 11, the read out excitation phase switching timing t 1 corresponding to n = 2 in the timing table, switching the excitation phase of the excitation phase switching time only the pulse motor 1 of the timing t 2.

前記動作を n=(x−1)/2−2 になるまで繰り返すと、励磁相切換えタイミングt1〜tm
が次第に短くなるように設定されているので、パルスモ
ータ1の角速度ω(第8図参照)が高くなり、加速が行
われる。
When the above operation is repeated until n = (x−1) / 2−2, the excitation phase switching timing t 1 to t m
Is set to gradually decrease, the angular velocity ω (see FIG. 8) of the pulse motor 1 increases, and acceleration is performed.

ステップ CPU11は、ROM12に格納された前記タイミン
グテーブルにおける n=1 に対応する励磁相切換えタイミングt1を読み出し、励磁
相切換えタイミングt1の時間だけパルスモータ1のある
相を励磁する。次に、CPU11は、前記タイミングテーブ
ルにおける n=2 に対応する励磁相切換えタイミングt2を読み出し、励磁
相切換えタイミングt2の時間だけパルスモータ1の励磁
相を切り換える。
Step CPU11 reads the excitation phase switching timing t 1 corresponding to n = 1 in the timing table stored in the ROM 12, to excite the phase with time by the pulse motor 1 excitation phase switching timing t 1. Then, CPU 11, the read out excitation phase switching timing t 2 corresponding to n = 2 in the timing table, switching the excitation phase of the excitation phase switching time only the pulse motor 1 of the timing t 2.

前記動作を n=(x/2)−2 になるまで繰り返すと、励磁相切換えタイミングt1〜tm
が次第に短くなるように設定されているので、パルスモ
ータ1の角速度ωが高くなり、加速が行われる。
When the above operation is repeated until n = (x / 2) −2, the excitation phase switching timings t 1 to t m
Is set to gradually decrease, the angular velocity ω of the pulse motor 1 increases, and acceleration is performed.

ステップ この時点におけるnの値を n=(x−1)/2−2 にしたまま、パルスモータ1の励磁相を5回切り換え
る。
Step The excitation phase of the pulse motor 1 is switched five times while keeping the value of n at this time as n = (x-1) / 2-2.

ステップ この時点におけるnの値を n=x/2−2 にしたまま、パルスモータ1の励磁相を4回切り換え
る。
Step The excitation phase of the pulse motor 1 is switched four times while keeping the value of n at this time as n = x / 2−2.

ステップ ステップにおける手順とは逆に、前記タ
イミングテーブルにおけるnの値を次第に小さくして、
前記タイミングテーブルにおける各nの値に対応する励
磁相切換えタイミングt1〜tmを読み出し、各励磁相切換
えタイミングt1〜tmの時間だけパルスモータ1の励磁相
を切り換える。前記動作を(x−1)/2−2回繰り返
す。
Step Contrary to the procedure in the step, the value of n in the timing table is gradually reduced,
The read out excitation phase switching timing t 1 ~t m corresponding to the value of each n in the timing table, switching the time only excitation phase of the stepping motor 1 of each excitation phase switching timing t 1 ~t m. The above operation is repeated (x-1) / 2-2 times.

ステップ ステップにおける手順とは逆に、前記テ
ーブルにおけるnの値を次第に小さくして、前記タイミ
ングテーブルにおける各nの値に対応する励磁相切換え
タイミングt1〜tmを読み出し、各励磁相切換えタイミン
グt1〜tmの時間だけパルスモータ1の励磁相を切り換え
る。前記動作をx/2−2回繰り返す。
Contrary to the procedure in Step Step, by gradually reducing the value of n in the table, reads the excitation phase switching timing t 1 ~t m corresponding to the value of each n in the timing table, each excitation phase switching timing t just in time 1 ~t m switching the excitation phase of the stepping motor 1. The above operation is repeated x / 2−2 times.

なお、ステップにおいてパルスモータ1の励磁相を
5回、ステップにおいてパルスモータ1の励磁相を4
回、それぞれ切り換えるようになっているが、5回及び
4回に限られるものではなく、パルスモータ1の角速度
ωの変化を緩和し、脱調の発生を防止するために十分な
回数であればよい。
In the step, the excitation phase of the pulse motor 1 is changed five times, and in the step, the excitation phase of the pulse motor 1 is changed four times.
Times and switching, respectively, but the number is not limited to 5 times and 4 times. If the number of times is sufficient to alleviate the change in the angular velocity ω of the pulse motor 1 and prevent the occurrence of step-out. Good.

第4図は本発明の実施例におけるシリアルプリンタの
パルスモータの速度プロフィールを示す図である。な
お、図において、横軸に時間Tを、縦軸にパルスモータ
の角速度ωを採ってある。
FIG. 4 is a diagram showing a speed profile of the pulse motor of the serial printer in the embodiment of the present invention. In the figure, the horizontal axis represents time T, and the vertical axis represents the angular velocity ω of the pulse motor.

図に示すように、パルスモータ1(第6図参照)の駆
動が開始された後、時間が経過するとともに加速が行わ
れて、角速度ωが次第に高くなり、時間taにおいて最高
角速度ω′に達する。そして、時間tbになるまで前記
最高角速度ω′が維持され、その後、減速が行われ
て、角速度ωが次第に低くなり、時間t0において0にな
ってパルスモータ1は停止させられる。
As shown, after the driving of the pulse motor 1 (see FIG. 6) is started, is performed accelerated with the passage of time, the angular velocity omega is gradually increased, the maximum angular velocity omega '0 at time t a Reach Then, is maintained the maximum angular velocity omega '0 until time t b, then, deceleration is performed, the angular velocity omega is gradually lowered, the pulse motor 1 becomes 0 at time t 0 is stopped.

この場合、時間taからtbまでの間、最高角速度ω′
が維持されるので、角速度ωが急激に変化することがな
くなる。
In this case, during the period from time t a to t b, the highest angular velocity ω '0
Is maintained, so that the angular velocity ω does not suddenly change.

すなわち、励磁相を切り換えるためのパルスの数が第
1のパルス数に達したとき、励磁相切換えタイミングt
が一番短くなったときの角速度ω、すなわち、最高角速
度ω′が、5回又は4回励磁相を切り換える分だけ継
続させられるようになっているので、加速から減速に移
行する際に角速度ωが急激に変化することがなくなり、
パルスモータ1が脱調するのを防止することができる。
That is, when the number of pulses for switching the excitation phase reaches the first pulse number, the excitation phase switching timing t
Is the shortest angular velocity ω, that is, the maximum angular velocity ω ′ 0 can be continued by the amount of switching the excitation phase five or four times. ω will not change suddenly,
The step-out of the pulse motor 1 can be prevented.

したがって、印字ずれが発生するのを防止することが
でき、印字品位を向上させることができる。
Therefore, it is possible to prevent the occurrence of print misalignment, and to improve print quality.

しかも、例えば、紙送り量を変更する必要がある場
合、紙送りを行うのに必要な改行パルス数xが紙送り量
に対応して変化してしまうが、前記改行パルス数xを求
め、改行パルス数xに対応する第1のパルス数を算出す
ることによって、励磁相を切り換えるためのパルスの数
が第1のパルス数に達するまでパルスモータ1の加速を
行い、その後パルスモータ1を定速で駆動することがで
きる。
In addition, for example, when it is necessary to change the paper feed amount, the number x of line feed pulses required to perform paper feed changes in accordance with the paper feed amount. By calculating a first pulse number corresponding to the pulse number x, the pulse motor 1 is accelerated until the number of pulses for switching the excitation phase reaches the first pulse number, and then the pulse motor 1 is driven at a constant speed. Can be driven.

なお、紙送りを行うのに必要な改行パルス数xが小さ
く、 x=1〜5 である場合は、もともとパルスモータ1に脱調等が起こ
りにくいので、 n=1 として改行パルス数x分の励磁相の切換えを繰り返す。
If the number x of line feed pulses required for paper feeding is small and x = 1 to 5, the stepping out of the pulse motor 1 is unlikely to occur from the beginning, so that n = 1 and the number of line feed pulses x The switching of the excitation phase is repeated.

なお、本発明は前記実施例に限定されるものではな
く、本発明の趣旨に基づいて種々変形させることが可能
であり、それらを本発明の範囲から排除するものではな
い。
It should be noted that the present invention is not limited to the above-described embodiment, but can be variously modified based on the gist of the present invention, and they are not excluded from the scope of the present invention.

(発明の効果) 以上詳細に説明したように、本発明によれば、シリア
ルプリンタにおいては、異なる紙送り量で紙送りを行う
ことが可能にされる。
(Effects of the Invention) As described above in detail, according to the present invention, in a serial printer, paper feeding can be performed with different paper feeding amounts.

そして、紙送りを行う用紙送り機構を作動させるため
に駆動されるパルスモータと、該パルスモータに相励磁
信号を送り、励磁相を切り換えて前記パルスモータを駆
動するドライバ部と、前記励磁相の切換えタイミングを
異ならせて設定された複数のデータから成るタイミング
テーブルが格納された記憶部と、制御部とを有する。
A pulse motor driven to operate a paper feed mechanism for feeding paper; a driver unit for sending a phase excitation signal to the pulse motor to switch an excitation phase to drive the pulse motor; and switching the excitation phase. The control unit includes a storage unit in which a timing table including a plurality of data set with different timings is stored, and a control unit.

また、該制御部は、前記紙送り量分の紙送りを行うの
に必要な総パルス数を求める手段と、前記紙送り量分の
紙送りを行うときに、前記総パルス数に基づいて第1の
パルス数を算出するとともに、前記ドライバ部を制御
し、励磁相を切り換えるためにドライバ部において発生
させられるパルスの数が前記第1のパルス数に達するま
で、前記タイミングテーブルのデータに従って励磁相を
切り換えて前記パルスモータの加速を行い、前記パルス
の数が第1のパルス数に達した後、所定のパルス数だけ
前記パルスモータを定速で駆動し、その後、前記タイミ
ングテーブルのデータに従って励磁相を切り換えて前記
パルスモータの減速を行う手段とを備える。
The control unit is configured to determine a total number of pulses necessary for performing the paper feed for the paper feed amount, and to perform a paper feed for the paper feed amount based on the total number of pulses. 1 to calculate the number of pulses and to control the driver section, and to change the excitation phase according to the data in the timing table until the number of pulses generated in the driver section reaches the first pulse number. Is switched to accelerate the pulse motor, and after the number of pulses reaches the first pulse number, the pulse motor is driven at a constant speed for a predetermined number of pulses, and then excited according to the data in the timing table. Means for switching phases to decelerate the pulse motor.

この場合、励磁相を切り換えるためにドライバ部にお
いて発生させられるパルスの数が前記第1のパルス数に
達するまでパルスモータの加速が行われ、前記パルスの
数が第1のパルス数に達すると、所定のパルス数だけ前
記パルスモータが定速で駆動され、その後、減速が行わ
れる。
In this case, the acceleration of the pulse motor is performed until the number of pulses generated in the driver unit for switching the excitation phase reaches the first pulse number, and when the number of pulses reaches the first pulse number, The pulse motor is driven at a constant speed for a predetermined number of pulses, and then deceleration is performed.

したがって、異なる紙送り量で紙送りを行っても、加
速から減速に移行する際にパルスモータの角速度が急激
に変化することがなくなるので、パルスモータが脱調す
ることがなくなる。その結果、印字ずれが発生するのを
防止することができ、印字品位を向上させることができ
る。
Therefore, even if the paper is fed at different paper feed amounts, the angular velocity of the pulse motor does not suddenly change when shifting from acceleration to deceleration, so that the pulse motor does not lose synchronism. As a result, it is possible to prevent the occurrence of print misalignment, and to improve the print quality.

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

第1図は本発明の実施例におけるシリアルプリンタの動
作を示すフローチャート、第2図は本発明の実施例にお
けるシリアルプリンタの制御ブロック図、第3図は本発
明の実施例におけるシリアルプリンタのタイミングテー
ブルを示す図、第4図は本発明の実施例におけるシリア
ルプリンタのパルスモータの速度プロフィールを示す
図、第5図は従来のシリアルプリンタにおける用紙送り
機構の斜視図、第6図は従来のシリアルプリンタにおけ
るパルスモータのブロック図、第7図は従来のシリアル
プリンタにおけるパルスモータの相励磁のタイムチャー
ト、第8図は従来のシリアルプリンタにおけるパルスモ
ータの速度プロフィールを示す図である。 1……パルスモータ、2……ギヤ、3……プラテン、4
……レフトサイドフレーム、11……CPU、12……ROM、13
……RAM、14……I/Oドライバ、16……インタフェース、
17……印字ヘッド、18……スペース用モータ、19……改
行用モータ、20……バスライン。
1 is a flowchart showing the operation of the serial printer according to the embodiment of the present invention. FIG. 2 is a control block diagram of the serial printer according to the embodiment of the present invention. FIG. 3 is a timing table of the serial printer according to the embodiment of the present invention. FIG. 4 is a diagram showing a speed profile of a pulse motor of a serial printer according to an embodiment of the present invention. FIG. 5 is a perspective view of a paper feed mechanism in a conventional serial printer. FIG. 6 is a diagram in a conventional serial printer. FIG. 7 is a block diagram of a pulse motor, FIG. 7 is a time chart of phase excitation of the pulse motor in the conventional serial printer, and FIG. 8 is a diagram showing a speed profile of the pulse motor in the conventional serial printer. 1 ... Pulse motor, 2 ... Gear, 3 ... Platen, 4
…… Left side frame, 11 …… CPU, 12 …… ROM, 13
…… RAM, 14 …… I / O driver, 16 …… Interface,
17 Print head, 18 Space motor, 19 Line feed motor, 20 Bus line.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】異なる紙送り量で紙送りを行うことが可能
なシリアルプリンタにおいて、 (a)紙送りを行う用紙送り機構を作動させるために駆
動されるパルスモータと、 (b)該パルスモータに相励磁信号を送り、励磁相を切
り換えて前記パルスモータを駆動するドライバ部と、 (c)前記励磁相の切換えタイミングを異ならせて設定
された複数のデータから成るタイミングテーブルが格納
された記憶部と、 (d)制御部とを有するとともに、 (e)該制御部は、前記紙送り量分の紙送りを行うのに
必要な総パルス数を求める手段と、前記紙送り量分の紙
送りを行うときに、前記総パルス数に基づいて第1のパ
ルス数を算出するとともに、前記ドライバ部を制御し、
励磁相を切り換えるためにドライバ部において発生させ
られるパルスの数が前記第1のパルス数に達するまで、
前記タイミングテーブルのデータに従って励磁相を切り
換えて前記パルスモータの加速を行い、前記パルスの数
が第1のパルス数に達した後、所定のパルス数だけ前記
パルスモータを定速で駆動し、その後、前記タイミング
テーブルのデータに従って励磁相を切り換えて前記パル
スモータの減速を行う手段とを備えることを特徴とする
シリアルプリンタ。
1. A serial printer capable of feeding a paper at a different paper feed amount, comprising: (a) a pulse motor driven to operate a paper feed mechanism for feeding the paper; and (b) a pulse motor driven by the pulse motor. A driver unit for transmitting a phase excitation signal and switching the excitation phase to drive the pulse motor; and (c) a storage unit storing a timing table including a plurality of data set with different timings for switching the excitation phase. And (d) a control unit. (E) The control unit determines a total number of pulses required to feed the paper by the paper feed amount, and feeds the paper by the paper feed amount. When performing, while calculating a first pulse number based on the total pulse number, controlling the driver unit,
Until the number of pulses generated in the driver section for switching the excitation phase reaches the first pulse number,
The pulse motor is accelerated by switching the excitation phase according to the data of the timing table, and after the number of pulses reaches the first pulse number, the pulse motor is driven at a constant speed by a predetermined number of pulses, and thereafter Means for switching the excitation phase according to the data in the timing table to decelerate the pulse motor.
JP1155834A 1989-06-20 1989-06-20 Serial printer Expired - Fee Related JP2619059B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1155834A JP2619059B2 (en) 1989-06-20 1989-06-20 Serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1155834A JP2619059B2 (en) 1989-06-20 1989-06-20 Serial printer

Publications (2)

Publication Number Publication Date
JPH0321481A JPH0321481A (en) 1991-01-30
JP2619059B2 true JP2619059B2 (en) 1997-06-11

Family

ID=15614520

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1155834A Expired - Fee Related JP2619059B2 (en) 1989-06-20 1989-06-20 Serial printer

Country Status (1)

Country Link
JP (1) JP2619059B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61263781A (en) * 1985-05-20 1986-11-21 Fujitsu Ltd Controller for line-feeding motor in printer
JPH01196377A (en) * 1988-01-30 1989-08-08 Toshiba Corp Printer apparatus

Also Published As

Publication number Publication date
JPH0321481A (en) 1991-01-30

Similar Documents

Publication Publication Date Title
JP2928518B2 (en) Driving method of stepping motor
JPH02243373A (en) Print misregistration correcting method and printer for practicing same method
JPS63112182A (en) Printer device
JP2619059B2 (en) Serial printer
JPS63107576A (en) Serial printer
JP2619059C (en)
JP4781946B2 (en) Printer apparatus and control method thereof
JPH0828996B2 (en) Drive control method for stepping motor
US4976555A (en) Serial printer control circuit enabling line feed during carriage deceleration
US5147143A (en) Printer carriage homing mechanism
JPH0911192A (en) Cutting device
JP3458889B2 (en) Printing apparatus and control method thereof
JP3050259B2 (en) Printing control device
EP1164028B1 (en) Method for driving paper-feeding stepping motor in thermal printer
JP2004215461A (en) Drive controller of stepping motor and printer having the same
JP3059535U (en) Stepping motor control device
JP2005186509A (en) Line type thermal printer and its divide driving method
JP3362686B2 (en) Motor control device
JP3059118U (en) Stepping motor control device
JPH0211369A (en) Printer
JPH0764104B2 (en) Paper feed control circuit for serial printer
JPH05330118A (en) Thermal printer
JPH01222698A (en) Printer
JP2004215462A (en) Motor controller and printer having the same
JPH1066395A (en) Driving controller for stepping motor and printer

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080311

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090311

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees