JPS6019237B2 - Pulse motor speed control method - Google Patents

Pulse motor speed control method

Info

Publication number
JPS6019237B2
JPS6019237B2 JP1748081A JP1748081A JPS6019237B2 JP S6019237 B2 JPS6019237 B2 JP S6019237B2 JP 1748081 A JP1748081 A JP 1748081A JP 1748081 A JP1748081 A JP 1748081A JP S6019237 B2 JPS6019237 B2 JP S6019237B2
Authority
JP
Japan
Prior art keywords
speed
timer
pulse motor
control method
output
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
Application number
JP1748081A
Other languages
Japanese (ja)
Other versions
JPS57132797A (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 JP1748081A priority Critical patent/JPS6019237B2/en
Publication of JPS57132797A publication Critical patent/JPS57132797A/en
Publication of JPS6019237B2 publication Critical patent/JPS6019237B2/en
Expired legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P8/00Arrangements for controlling dynamo-electric motors of the kind having motors rotating step by step

Description

【発明の詳細な説明】 本発明はファームウェアにより、パルスモータの速度制
御を行うもので、速度を任意に変化させる必要のある例
えば、プリンタのスベーシング等に用いたときに特に有
効な速度制御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention controls the speed of a pulse motor using firmware, and relates to a speed control method that is particularly effective when used for, for example, spacing of a printer where the speed needs to be changed arbitrarily. .

最近、シリアルドットプリンタのスべ−シングにパルス
モータを用いることが一般的になって釆ているが、ドッ
トヘッドの駆動周期お時間的又は熱的な限界からスベー
シング速度は■/ぐィカとエリートピッチによる切換え
「■ANK、漢字「又はフルグラフィツクの印字、■複
写枚数の増減、■ドットヘッドの温度アラーム検出によ
る切り換え、等によって切り換える必要が生じる。
Recently, it has become common to use pulse motors for sweeping in serial dot printers, but due to temporal or thermal limitations in the drive cycle of the dot head, the sweeping speed is limited. Switching by elite pitch "■ ANK, kanji" or full graphic printing, ■ increase/decrease in the number of copies, ■ switching due to dot head temperature alarm detection, etc. will require switching.

さらに、連続印字する場合は所定のスピードでスべ−シ
ングさせる必要があるが、一定間隔プランク(無印字)
がある場合にはハィスピード送りをする必要が生じるな
ど、種々の速度切り換えが必要になる。
Furthermore, when printing continuously, it is necessary to perform spacing at a predetermined speed;
If there is a need for high-speed feeding, various speed switching becomes necessary.

以下図面を用いて説明する。This will be explained below using the drawings.

第1図は、従来のパルスモータの速度制御方法の一例を
示すブロック図、第2図は第1図の一部詳細図、第3図
は第1図の動作の一例を説明するための図である。
FIG. 1 is a block diagram showing an example of a conventional pulse motor speed control method, FIG. 2 is a partially detailed view of FIG. 1, and FIG. 3 is a diagram for explaining an example of the operation of FIG. 1. It is.

第1図において、1はマイクロコンピュータ、2はいく
つかの速度変化を記憶している速度テーブル2A〜2N
を有するリードオンリーメモリー(以下ROMと言う)
、3は前記マイクロコンピュータ1によって制御される
パルスモータ制御回路、4は前記パルスモータ制御回路
3に必要なパルス間隔を作るためのタイマ−である。
In FIG. 1, 1 is a microcomputer, and 2 is a speed table 2A to 2N that stores several speed changes.
Read-only memory (hereinafter referred to as ROM) with
, 3 is a pulse motor control circuit controlled by the microcomputer 1, and 4 is a timer for creating a pulse interval necessary for the pulse motor control circuit 3.

次に、第2図は第i図のタイマー4の詳細を示す図でカ
ウン夕4aには、ROM2の速度テーフル2A〜2Nの
どれか一つ所望の速度変化を記憶している速度テーブル
の内容が、マイクロコンピュータの制御によって順次読
み出されセットパルスのタイミングでセットされる。
Next, FIG. 2 is a diagram showing details of the timer 4 in FIG. are sequentially read out under the control of the microcomputer and set at the timing of the set pulse.

次に、クロックが入る毎に−1(又は十1)されセット
された内容に応じてカウントされ、ボロー(又はキャリ
イ)信号が出力される。
Next, each time a clock is input, it is counted by -1 (or 11) according to the set contents, and a borrow (or carry) signal is output.

したがって、マイクロコンピュータ1では、この世力信
号に応じてパルスモータ制御回路を制御する。
Therefore, the microcomputer 1 controls the pulse motor control circuit according to this world power signal.

第3図はROM2の各速度テーブル2A〜2Nに記憶さ
れている内容に応じて、プリンタのスベーシングに適用
した場合の動作の1例を示すもので、縦軸に速度、機軸
にスべ−ス蔓(カラム)を表したものである。
FIG. 3 shows an example of the operation when applied to printer spacing according to the contents stored in each speed table 2A to 2N of ROM 2. The vertical axis shows speed and the machine axis shows speed. It represents a vine (column).

この例では、全ての速度テーブルはスタート位置Sから
Aまでの間は加速しAからBまでの間はそれぞれ所定の
スピードで印字しBからCまでの間は高速でスキップし
トCはうDまでの間はまた、所定のスピードで印字し、
DからEまでの閥に減速して1行の印字を終る場合を示
している。
In this example, all speed tables are accelerated from the start position S to A, printed at a predetermined speed from A to B, and skipped at high speed from B to C. In the meantime, print at the specified speed,
This shows the case where the speed is reduced from D to E to finish printing one line.

しかしながら、この方法では、数種の印字速度変化を行
わせるためには、その数だけ速度変化を記憶した速度テ
ーブルを持ち、複雑なテーブル選択の制御を行なわなけ
ればならない欠点があった。そこで、本発明は、プログ
ラマブルタィマを備えることにより、一個の速度テーブ
ルを持つだけで、任意の速度変化制御を行おうとするも
のである。
However, this method has the disadvantage that in order to perform several types of printing speed changes, it is necessary to have a speed table storing the number of speed changes and to perform complicated table selection control. Therefore, the present invention attempts to perform arbitrary speed change control with only one speed table by providing a programmable timer.

第4図は、本発明の一実施例を示すもので、同一部分に
は同一番号を付してある。
FIG. 4 shows an embodiment of the present invention, in which the same parts are given the same numbers.

第4図において、5はマイクロコンピュータ1によって
所望の値をセットされ、このセットされた値によって比
k信号を出力する時間が異なるプログラマブルタイマー
である。前記プログラマブルタイマ−はセットされた値
を記憶しており、以後値が再セットされ更新される迄か
同じ周期のタイミングを発生する回路になっている。次
に、説明を簡単にするため20比ps(文字ノ秒)のス
ピードから、10比psのスピードに切り換える場合を
例にして、本発明の動作を説明する。
In FIG. 4, a programmable timer 5 is set to a desired value by the microcomputer 1, and the time for outputting the ratio k signal varies depending on the set value. The programmable timer is a circuit that stores the set value and generates timing of the same cycle thereafter until the value is reset and updated. Next, in order to simplify the explanation, the operation of the present invention will be described using as an example a case where the speed is switched from a speed of 20 ratio ps (character number seconds) to a speed of 10 ratio ps.

まず、速度テーブル2には、第亀図に示す速度テーブル
2Aと同様の速度情報が記憶されているものとした場合
、20比psのスピードで第3図2aに示す速度変化で
スベーシングさせるときには、プログラマブルタィマ5
には所定数M(例えば1)をセットしてておき、マイク
ロコンピユ−夕1によって、逐次速度テーブル2の内容
を読み出してタイマー2にセットした後、マイクロコン
ピューターからのクロツク信号によって、プログラマブ
ルタィマー5の内容をカウントし、所定数カウントした
ときに得られる出力信号(tck)をタイマー4のクロ
ツクとして用いてカウントし、タイマ亀ごら得られる出
力信号(tsp)によてパルスモータの速度(相切り換
えのタイミング)を制御することにより達成できる。
First, assuming that the speed table 2 stores speed information similar to the speed table 2A shown in Fig. 3, when performing sweeping with the speed change shown in Fig. 3 2a at a speed of 20 ratio ps, Programmable timer 5
is set to a predetermined number M (for example, 1), and the microcomputer 1 sequentially reads out the contents of the speed table 2 and sets it in the timer 2. Then, the programmable timer is set by the clock signal from the microcomputer 1. The output signal (tck) obtained when a predetermined number of counts is counted is used as the clock of timer 4, and the speed of the pulse motor (tck) is determined by the output signal (tsp) obtained from the timer. This can be achieved by controlling the timing of phase switching.

これに100psのスピードに切り換える場合には、プ
ログラマプルタイマ−5はM×2をセットしてやること
により、該プログラマブルタィマー5の出力信号(tc
k)の間隔は2倍となり、したがって、タイマ4の出力
信号(Gp)の出力される間隔も2倍となり、パルスモ
ータ1/2の速度で回転するためトスベーシング速度は
10比psに切り換えられる。
When switching to a speed of 100 ps, the output signal (tc
The interval k) is doubled, so the interval at which the output signal (Gp) of the timer 4 is output is also doubled, and the pulse motor rotates at 1/2 speed, so the toss basing speed is switched to 10 ratio ps.

なお、上記の説明では速度を1/2に落とす場合のみ説
明したが、プログラマブルタィマー5にセットするアク
チヤルデータとして1バイト(8ビット)持てば(メー
1)=25朝蓮の出力タイミングを得られる。
In addition, in the above explanation, only the case where the speed is reduced to 1/2 was explained, but if you have 1 byte (8 bits) as the actual data set in the programmable timer 5, the output timing of (Mae 1) = 25 Choren can be set. can get.

以上詳細に説明したように、本発明によれば、速度情報
を記憶した速度テーブル(ROM)から逐次所望の速度
情報を読み出して「 タイマーにセットし、このタイマ
ーから出力によってパルスモータの回転を制御するパル
スモータ制御方法において、プログラマブルタイマーを
備え、このプログラマブルタィマーに所望の速度に応じ
た値をセットすると共に、速度テーブルの内容を逐次タ
イマーに読み出し、前記プログラマブルタィマーの出力
をクロツクとして前記タイマーでカウントし、このタイ
マーからの出力によってパルスモー夕を制御することに
より、速度情報を記憶する速度テーブルをし数々の速度
変化にかわらず1個のみ備えるだけで対応できる効果が
ある。
As explained in detail above, according to the present invention, desired speed information is sequentially read out from a speed table (ROM) storing speed information, set in a timer, and the rotation of the pulse motor is controlled by the output from this timer. In a pulse motor control method, a programmable timer is provided, a value corresponding to a desired speed is set in the programmable timer, the contents of a speed table are sequentially read to the timer, and the output of the programmable timer is used as a clock to control the timer. By counting with the timer and controlling the pulse moder with the output from this timer, it is possible to create a speed table for storing speed information, and it is possible to cope with numerous speed changes with just one.

このため、速度テーブル用のROMが少なくなり〜制御
も簡略になり少型かつ安価な装置を提供することができ
る。
Therefore, the ROM for the speed table is reduced and the control is simplified, making it possible to provide a small and inexpensive device.

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

第1図は従来のパルスモー夕制御方法の1例を示すブロ
ック図、第2図は第1図の一部詳細図、第3図は、プリ
ンタのスべ−シングと速度との関係の1例を説明するた
めの図、第4図は本発明の−実施例を示すブロック図で
ある。 1……マイクロコンピュータ、2・・・…ROM、3…
…パルスモータ制御回路、4……タイマー、5……プロ
グラマブルタイマー。 第1図 第2図 第3図 第4図
Fig. 1 is a block diagram showing an example of a conventional pulse motor control method, Fig. 2 is a partially detailed view of Fig. 1, and Fig. 3 is an example of the relationship between printer spacing and speed. FIG. 4 is a block diagram showing an embodiment of the present invention. 1...Microcomputer, 2...ROM, 3...
...Pulse motor control circuit, 4...Timer, 5...Programmable timer. Figure 1 Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 1 速度情報を記憶した速度テーブルから、逐次所望の
速度情報を読み出してタイマーにセツトし、このセツト
内容に応じたタイマーからの出力によつてパルスモータ
の回転速度を制御するパルスモータの制御方法において
、プログラマブルタイマーを備え、このプログラマブル
タイマーの所望の速度に応じた値をセツトすると共に、
速度テーブルの内容を逐次タイマーに読み出し、前記プ
ログラマブルタイマーの出力をクロツクとして前記タイ
マーでカウントし、このタイマーからの出力によつてパ
ルスモータの速度を制御することを特徴とするパルスモ
ータの速度制御方法。
1. In a pulse motor control method in which desired speed information is sequentially read from a speed table storing speed information and set in a timer, and the rotational speed of the pulse motor is controlled by the output from the timer according to the set contents. , is equipped with a programmable timer, and sets a value according to the desired speed of this programmable timer, and
A method for controlling the speed of a pulse motor, characterized in that the contents of a speed table are sequentially read into a timer, the output of the programmable timer is used as a clock and the timer counts, and the speed of the pulse motor is controlled by the output from the timer. .
JP1748081A 1981-02-10 1981-02-10 Pulse motor speed control method Expired JPS6019237B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1748081A JPS6019237B2 (en) 1981-02-10 1981-02-10 Pulse motor speed control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1748081A JPS6019237B2 (en) 1981-02-10 1981-02-10 Pulse motor speed control method

Publications (2)

Publication Number Publication Date
JPS57132797A JPS57132797A (en) 1982-08-17
JPS6019237B2 true JPS6019237B2 (en) 1985-05-15

Family

ID=11945160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1748081A Expired JPS6019237B2 (en) 1981-02-10 1981-02-10 Pulse motor speed control method

Country Status (1)

Country Link
JP (1) JPS6019237B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59132796A (en) * 1983-01-20 1984-07-30 Tokyo Electric Co Ltd Method and device for driving step motor
JPS60106395A (en) * 1983-11-12 1985-06-11 Aida Eng Ltd Speed controller for stepper motor
JPS6223396A (en) * 1985-07-19 1987-01-31 Mitsubishi Electric Corp Stepping motor control circuit
JPS637200A (en) * 1986-06-27 1988-01-13 Oki Electric Ind Co Ltd Overdrive control system for driving element
JP2563724B2 (en) * 1992-05-15 1996-12-18 松下電送株式会社 Sub-scanning control device
JPH0758912A (en) * 1994-06-06 1995-03-03 Matsushita Graphic Commun Syst Inc Facsimile controller

Also Published As

Publication number Publication date
JPS57132797A (en) 1982-08-17

Similar Documents

Publication Publication Date Title
US4158800A (en) Control system
US4232975A (en) Print hammer control
JPS6019237B2 (en) Pulse motor speed control method
US4734631A (en) Step motor control
JPS5867477A (en) Control on thermal head in heat-sensitive recorder
JP3084452B2 (en) Line thermal printer
JPH0526439B2 (en)
JPS6133711B2 (en)
JPS6142632B2 (en)
JPS6047116B2 (en) Pulse motor control device
JPS5852166B2 (en) recording device
JPH0416365A (en) Thermal head
JPS587368A (en) Dot matrix printer
JPS58133192A (en) Speed control device for motor
SU963019A1 (en) Alpha-numeric printing device
JPS6319155Y2 (en)
JPS6169483A (en) Serial printer with indication of mode switching
JPH0156673B2 (en)
JPS613755A (en) Printer
JPH0443337Y2 (en)
JPS5571188A (en) Servomotor control circuit
JPS62161565A (en) Density control circuit of thermal printer
JPH0179399U (en)
JPH0611799Y2 (en) Heater drive control circuit in thermal printer
JPH07264894A (en) Control circuit for stepping motor