JPS6047116B2 - Pulse motor control device - Google Patents

Pulse motor control device

Info

Publication number
JPS6047116B2
JPS6047116B2 JP7462276A JP7462276A JPS6047116B2 JP S6047116 B2 JPS6047116 B2 JP S6047116B2 JP 7462276 A JP7462276 A JP 7462276A JP 7462276 A JP7462276 A JP 7462276A JP S6047116 B2 JPS6047116 B2 JP S6047116B2
Authority
JP
Japan
Prior art keywords
output
pulse motor
pulse
mode
storage device
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
JP7462276A
Other languages
Japanese (ja)
Other versions
JPS53812A (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.)
YUUZATSUKU DENSHI KOGYO KK
Original Assignee
YUUZATSUKU DENSHI KOGYO KK
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 YUUZATSUKU DENSHI KOGYO KK filed Critical YUUZATSUKU DENSHI KOGYO KK
Priority to JP7462276A priority Critical patent/JPS6047116B2/en
Publication of JPS53812A publication Critical patent/JPS53812A/en
Publication of JPS6047116B2 publication Critical patent/JPS6047116B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Control Of Stepping Motors (AREA)

Description

【発明の詳細な説明】 本発明はパルスモータの運転制御装置に係り、特に印字
装置における印字ヘッドの移送モードに応じて印字ヘッ
ド駆動用のパルスモータを制御する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a pulse motor operation control device, and more particularly to a device for controlling a pulse motor for driving a print head in accordance with a transfer mode of the print head in a printing device.

パルスモータを運転させるには、励磁相を順次切換える
To operate a pulse motor, the excitation phases are sequentially switched.

この切換は、駆動回路を介してパルスモータを運転制御
するシフトレジスタにより、該励磁相の各々に対し励磁
を行うこととし、シフト−−・゜−に−・、一11、レ
ハブE↓枡相え一■士^÷ア好っている。ここにおいて
、印字ヘッド駆動用のパルスモータでは、印字ヘッドの
順方向送りモードにしたがつて4つの励磁モードを有す
ることが知られている。
In this switching, each of the excitation phases is excited by a shift register that controls the operation of the pulse motor via a drive circuit, and the shifts are as follows: 111, Rehab E ↓ Square phase. I like Eichi ■shi^÷A. It is known that the pulse motor for driving the print head has four excitation modes depending on the forward feed mode of the print head.

すなわち、(1)1文字印字モード、(2)連続印字に
先立つ過渡的な数文字分の印字モード、(3)連続印字
モード、(4)停止に先立つ過渡的な数文字分の印字モ
ードである。したがつて、印字ヘッド駆動用パルスモー
タを順方向運転するには、これら4モードの組合わせに
よつて励磁を行えばよい。従来、このような励磁を行う
には、各モードに適合するようなパルスを発生する4群
のワンショットマルチバイブレータ回路を構成し、必要
とする動作モードにしたがつて中央処理装置が適当な一
ワンシヨツトマルチバイブレータ回路を選択して選択さ
れた回路からシフトレジスタに対しパルス信号を与える
ようにしている。しかしながら、このような構成による
と、特性の異なるパルスモータを用いる場合には各ワン
シフヨツトマルチバイブレータ回路の構成を変更しなけ
ればならず、設計、製作に多大の手数を必要とする。本
発明は上述の点に鑑みてなされたもので、パルスモータ
の特性いかんに拘らず共通した回路構5成を採ることが
できる印字ヘッド駆動用パルスモ−タの制御装置の提供
を目的とする。
That is, (1) single character printing mode, (2) transitional printing mode for several characters before continuous printing, (3) continuous printing mode, (4) transitional printing mode for several characters before stopping. be. Therefore, in order to operate the pulse motor for driving the print head in the forward direction, excitation may be performed using a combination of these four modes. Conventionally, in order to perform such excitation, four groups of one-shot multivibrator circuits were configured to generate pulses suitable for each mode, and the central processing unit selected the appropriate one according to the required operating mode. A one-shot multivibrator circuit is selected and a pulse signal is applied from the selected circuit to the shift register. However, with such a configuration, when pulse motors with different characteristics are used, the configuration of each one-shift yacht multivibrator circuit must be changed, which requires a great deal of effort in designing and manufacturing. The present invention has been made in view of the above-mentioned points, and an object of the present invention is to provide a control device for a pulse motor for driving a print head, which can employ a common circuit configuration regardless of the characteristics of the pulse motor.

この目的達成のため、本発明では、制御対象とする印字
ヘッド駆動用パルスモータの運転特性に合わせた制御モ
ード情報が書込まれた記憶装置と、刻時パルスを受けて
パルス数を計数するパルス計数装置と、前記記憶装置お
よびパルス計数装置の各出力を比較して両者が一致する
とき出力を生じる比較装置と、この比較装置の出力に応
じてパルスモータの励磁出力を生じるモータ制御回路と
、前記比較装置の出力に応じて前記記憶装置の読出し情
報を逐次変更するアドレス制御装置とをそなえた制御装
置を構成したものである。
In order to achieve this objective, the present invention includes a storage device in which control mode information is written that matches the operating characteristics of the print head drive pulse motor to be controlled, and a pulse motor that receives clock pulses and counts the number of pulses. a counting device, a comparison device that compares each output of the storage device and the pulse counting device and generates an output when the two match, and a motor control circuit that generates an excitation output of the pulse motor in accordance with the output of the comparison device; The control device includes an address control device that sequentially changes read information of the storage device according to the output of the comparison device.

以下添付図面を参照して本発明の一実施例を説明する。An embodiment of the present invention will be described below with reference to the accompanying drawings.

第1図は本発明の一実施例の構成を示すブロック線図で
あり、同図において、PHは印字ヘッドでパルスモータ
Mにより駆動される。パルスモータMは、駆動回路Dを
介してシフトレジスタSlIRから与えられるパルスに
応じて回転する。このシフトレジスタSHRは、例えば
4ビットの直列シフトレジスタとして構成され、各ビッ
ト出力は駆動回路DおよびパルスモータMの各励磁相に
それぞれ1対1の対応関係で接続されている。そして、
シフトレジスタSHRには、パルス計数装置Cおび記憶
装置ROMの各出力を比較する比較装置COMPからシ
フトパルスが、また中央処理装置(図示せず)から回転
方向信号F/Rが与えられる。この場合、パルス計数装
置Cにはパルス発生器PCから刻時パルスが、また中央
処理装置からモード変更信号MCが与えられる。また、
記!憶装置ROMには比較装置COMPに従動するアド
レス制御装置ADCのアドレス出力および中央処理装置
からのモード選択信号MCが与えられる。この装置にお
いては、他に停止信号STPが与えられると比較装置C
OMPの出力送出が停止されるこ機能、および初期クリ
ア信号1Cが与えられることによりカウンタCおよびシ
フトレジスタSI(Rのリセットを行う機能が付加され
ている。第2図乃至第4図は第1図の制御装置によるヘ
ッドの各種印字モードを示したものである。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, in which PH is a print head driven by a pulse motor M. In FIG. The pulse motor M rotates in response to pulses applied from the shift register SlIR via the drive circuit D. This shift register SHR is configured, for example, as a 4-bit serial shift register, and each bit output is connected to the drive circuit D and each excitation phase of the pulse motor M in a one-to-one correspondence relationship. and,
The shift register SHR receives shift pulses from a comparator COMP that compares the outputs of the pulse counter C and the storage ROM, and a rotation direction signal F/R from a central processing unit (not shown). In this case, the pulse counter C is supplied with a clock pulse from the pulse generator PC and a mode change signal MC from the central processing unit. Also,
Record! The storage device ROM is supplied with the address output of the address control device ADC which follows the comparator COMP and the mode selection signal MC from the central processing unit. In this device, when the stop signal STP is also given, the comparator C
The output transmission of OMP is stopped, and the function of resetting the counter C and shift register SI (R) by applying the initial clear signal 1C is added. 5 shows various print modes of the head by the control device shown in the figure.

まず4第2図は、1文字打ちモード(1)の場合、4パ
ルスで1文字の印字所要量だけ移動させる。各パルス間
の間隔は加速特性に合わせて図中に示す通りに選ぶ。そ
して、この印字動作後のヘッドの安定化を図るために1
0ミリ秒づつの連続2回だけ同位置に留める。第3図は
連続打ちモードの場合で、これは(■)、(■),(■
)の3モードからなる。
First, in FIG. 4, in the case of one character printing mode (1), four pulses are used to move the amount required for printing one character. The interval between each pulse is selected as shown in the figure according to the acceleration characteristics. In order to stabilize the head after this printing operation,
Stay in the same position twice in a row for 0 milliseconds each. Figure 3 shows the case of continuous hitting mode, which is (■), (■), (■
) consists of three modes.

ここでは4文字印字する場合を例示している。そして最
初の1文字は連続印字第1モード(■)により20ミリ
秒で4パルスを送り、連続印字中の2文字は連続定速印
字中モード(■)により10ミリ秒で4パルスを送り、
さらに停止時は連続印字第2モード(■)により20ミ
リ秒で4パルスを送る。第4図は第2図,第3図の印字
モードにより送られたヘッドを逆送りするための各種モ
ードを示している。
Here, a case where four characters are printed is shown as an example. Then, for the first character, 4 pulses are sent in 20 milliseconds in the first continuous printing mode (■), and for the second character during continuous printing, 4 pulses are sent in 10 milliseconds in the continuous constant speed printing mode (■).
Furthermore, when stopped, 4 pulses are sent every 20 milliseconds in the second continuous printing mode (■). FIG. 4 shows various modes for reversing the head sent in the printing modes of FIGS. 2 and 3.

この逆送り時は、新たに(■),(■),(■),(■
)なるモードが加わる。ます最初の1文7字は逆送り第
1モード(■)により20ミリ秒に4パルスを送り、次
にモード(■)と同じ連続逆送リモートにより1文字分
送り、続いて高速連続逆送り第1モード(■)に移り高
速クロックパルスに切換えて高速パルスを送る。高速パ
ルスとは10ミリ秒■こ10パルスのものである。次い
で、高速連続逆送り第2モード(■)に移り、最後に逆
送り第2モード(■)の4パルスを得て印字ヘッドの逆
送り動作を終結する。第5図は第2図乃至第4図に示し
た各モードI〜■までにおけるパルス送出の間隔とこの
間隔を決定するための記憶装置ROM(第1図)のデー
タ、および中央処理装置から適当な固定記憶装置を介す
る等によつて与えられるモード切換えのためのモード選
択データを示している。
During this reverse feed, new (■), (■), (■), (■
) mode is added. The first seven characters are sent in reverse feed mode 1 (■) by sending 4 pulses every 20 milliseconds, then the same continuous reverse feed remote as in mode (■) is used to feed one character, followed by high-speed continuous reverse feed. Shift to the first mode (■), switch to a high-speed clock pulse, and send a high-speed pulse. A high-speed pulse is one of 10 pulses of 10 milliseconds. Next, the mode shifts to the second high-speed continuous reverse feed mode (■), and finally, four pulses of the second reverse feed mode (■) are obtained to complete the reverse feed operation of the print head. FIG. 5 shows the pulse sending intervals in each mode I to ■ shown in FIGS. 2 to 4, the data in the storage device ROM (FIG. 3 shows mode selection data for mode switching provided, for example, via a permanent storage device.

この表から分る通り、移相駆動用のパルス間隔の最小値
1.0ミリ秒から最大値7.5ミリ秒に正確に対応させ
て、パルス信号をカウントするカウンタC(第1図)を
設けるとすれば、あるモード内て最大200カウントま
で計数可能なりウンタを必要とする。そこで8ビットの
カウンタを準備すればよい。次に第1図の装置の動作を
説明する。このような記憶装置ROMのデータおよび中
央処理装置からのモード選択データは与えられていると
、アドレスカウンタADCはシフトクロックに応動して
カウント動作を行い、その出力2ビットが記憶装置RO
Mの4ビットアドレス入力部の下位2ビツトラインに接
続され、この2ビツトラインの出力であるモード指定で
決定される一連の動作シーケンスのうち各1ステップ毎
の速度情報が出力される。
As can be seen from this table, the counter C (Fig. 1) that counts pulse signals corresponds precisely to the minimum value of 1.0 ms to the maximum value of 7.5 ms of the pulse interval for phase shift driving. If provided, it would require a counter that can count up to 200 counts within a certain mode. Therefore, it is sufficient to prepare an 8-bit counter. Next, the operation of the apparatus shown in FIG. 1 will be explained. When such data of the storage device ROM and mode selection data from the central processing unit are given, the address counter ADC performs a counting operation in response to the shift clock, and its output 2 bits are sent to the storage device RO.
It is connected to the lower 2 bit lines of the 4-bit address input section of M, and the output of this 2-bit line is the speed information for each step in a series of operation sequences determined by the mode designation.

また印字ヘッド動作のモード選択信号がアドレス入力部
の上位2ビツトラインに入力される。アドレス入力部に
入力された信号にしたがつて記憶装置ROMの出力信号
が読出されるが、記憶装置ROMのアドレス信号が変わ
らない限り、記憶装置ROMのデータは出力ラインに保
持されている。
A mode selection signal for print head operation is also input to the upper two bit lines of the address input section. The output signal of the storage device ROM is read out in accordance with the signal input to the address input section, but as long as the address signal of the storage device ROM does not change, the data of the storage device ROM is held on the output line.

このような回路構成において、パルス発生器P(から与
えられた刻時パルスでカウンタCは計数を行うが、前記
記憶装置ROMのデー?とカウンタCの出力信号が一致
するときに限つt比較装置COMPの出力信号としての
パルスがシフトレジスタSHRに与えられる。
In such a circuit configuration, the counter C performs counting using the clock pulses given from the pulse generator P, but the t comparison is performed only when the data in the storage device ROM and the output signal of the counter C match. A pulse as an output signal of the device COMP is applied to the shift register SHR.

このパルスは一巡カウンタの計数出力信号と記憶装置R
OMのデータとの一致する割合に比例して逐次得られる
。シフトレジスタSHRの出力が与えられることにより
得られるアドレスカウンタADCの出力信号は記憶装置
ROMのアドレスを下位2ビットで指定する。
This pulse is the count output signal of the one-round counter and the storage device R.
It is obtained sequentially in proportion to the proportion of coincidence with the OM data. The output signal of the address counter ADC obtained by being supplied with the output of the shift register SHR specifies the address of the storage device ROM using the lower two bits.

したがつて、例えばモード選択で指定されるアドレスが
O#から開始されたとすると、パルスの到来毎にO#を
起点とし、逐次番地を1づつ繰り上げ、各番地の記憶装
置ROMのデータを周期的に出力する。シフトレジスタ
SHRの出力信号は駆動回路Dに接続されパルスモータ
Mの駆動を行つているから、シフト回路の出力信号に同
期してパルスモータMが歩進回転する。
Therefore, for example, if the address specified in mode selection starts from O#, each time a pulse arrives, starting from O#, the address is incremented one by one, and the data in the storage device ROM at each address is periodically read. Output to. Since the output signal of the shift register SHR is connected to the drive circuit D and drives the pulse motor M, the pulse motor M rotates step by step in synchronization with the output signal of the shift circuit.

パルスモータMの歩進にしたがつて印字ヘッドの送りが
行われるのであるから、1字印字毎に次の文字について
のパルスモータの駆動移送情報すなわち移送速度を指定
すれば所望の速度での文字印字が可能となる。印字速度
の変化モードは前述のように4種類あるが、あるモード
にしたがつて印字が終了したとき、記憶装置ROMのア
ドレス指定の上位2ビットのモード選択ラインに次の印
字に関する速度制御モードの情報を与えれば所望の印字
速度の制御が可能になる。また速度の制御情報は記憶装
置ROMの中に納められているデータを利用する外に、
カウンタCのカウントモードを切換えることにより刻時
パルスに対する比較装置COMPの記憶装置ROMデー
タについての一致周期を制御することを利用してもよい
Since the print head is fed in accordance with the step of the pulse motor M, if you specify the drive transfer information of the pulse motor for the next character every time a character is printed, that is, the transfer speed, the character can be printed at the desired speed. Printing becomes possible. As mentioned above, there are four types of printing speed change modes, and when printing is completed according to a certain mode, the speed control mode for the next printing is entered in the mode selection line of the upper 2 bits of address specification in the storage device ROM. By providing information, it becomes possible to control the desired printing speed. In addition to using the data stored in the storage device ROM, the speed control information is
It may be used to control the period of coincidence of the memory ROM data of the comparator COMP with respect to the clock pulses by switching the counting mode of the counter C.

この装置の起動、停止に際しての動作をみると、まず起
動時は、電源の投入により、初期クリア信号1Cがカウ
ンタCおよびシフトレジスタSHRに与えられ初期状態
の設定が行われる。
Looking at the operation of this device when it is started and stopped, first, upon startup, when the power is turned on, an initial clear signal 1C is applied to the counter C and the shift register SHR to set the initial state.

次に停止については、中央処理装置CPUから停止信号
Sll)が与えられると比較装置COMPの出力回路に
挿入された禁止ゲートが阻止動作を行つてシフトレジス
タSHRの入力を止める。これによりパルスモータMは
回転しなくなる。本発明は上述のように、印字ヘッド駆
動用パルスモータの各動作モードに関するデータプリン
タ゛内の記憶装置に記憶させ、この記憶情報と刻時パル
スの計数出力との比較に基づいて記憶装置のデータ読出
しを制御して印字ヘッド駆動用のパルスモータを駆動す
るようにしたため、特性の異なるパルスモータを用いる
場合でも記憶装置の記憶情・報を変えるのみで装置構成
を何ら変えることなく対処することができる。
Next, regarding stopping, when a stop signal Sll) is applied from the central processing unit CPU, an inhibit gate inserted in the output circuit of the comparator COMP performs a blocking operation to stop the input to the shift register SHR. This causes the pulse motor M to stop rotating. As described above, the present invention stores data regarding each operation mode of the pulse motor for driving the print head in a storage device within the printer, and based on a comparison between this stored information and the count output of clock pulses, data in the storage device is stored. Since the readout is controlled to drive the pulse motor for driving the print head, even if a pulse motor with different characteristics is used, it can be handled without changing the device configuration by simply changing the information stored in the storage device. can.

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

第1図は本発明の一実施例を示すブ七ツク線図、第2図
乃至第4図は印字ヘッドの印字およびフ逆送りのための
各動作モードを示す説明図、第5図は第1図における記
憶装置に記憶するデータの1例等を示す表図てある。 PG・・・パルス発生器、C・・・カウンタ、ROM・
・・記憶装置、COMP・・・比較装置、SHR・・・
シフトレジダスタ、D・・・駆動回路。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIGS. 2 to 4 are explanatory diagrams showing each operation mode for printing and reverse feeding of the print head, and FIG. 5 is a block diagram showing an embodiment of the present invention. 1 is a table showing an example of data stored in the storage device in FIG. PG...Pulse generator, C...Counter, ROM/
...Storage device, COMP...Comparison device, SHR...
Shift register duster, D...drive circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 印字ヘッド駆動用パルスモータの運転特性に合わせ
た制御モード情報が書込まれたプリンタ内の記憶装置と
、刻時パルスを受けてパルス数を計数するパルス計数装
置と、前記記憶装置およびパルス計数装置の各出力を比
較して両者が一致するとき出力を生じる比較装置と、こ
の比較装置の出力と回転方向信号とに応じてパルスモー
タの励磁出力を生じるシフトレジスタと、このシフトレ
ジスタの出力を得て前記パルスモータを駆動させる駆動
回路と、前記比較装置の出力に応じて前記記憶装置の読
出し情報が格納されているアドレスを逐次変更するアド
レス制御装置とをそなえた印字ヘッドを駆動するための
パルスモータの制御装置。
1. A storage device in the printer in which control mode information matching the operating characteristics of the print head driving pulse motor is written, a pulse counting device that receives clock pulses and counts the number of pulses, and the storage device and the pulse counting device. A comparison device that compares each output of the device and generates an output when the two match, a shift register that generates an excitation output for the pulse motor according to the output of this comparison device and a rotation direction signal, and and an address control device that sequentially changes an address at which read information of the storage device is stored in accordance with the output of the comparison device. Pulse motor control device.
JP7462276A 1976-06-24 1976-06-24 Pulse motor control device Expired JPS6047116B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7462276A JPS6047116B2 (en) 1976-06-24 1976-06-24 Pulse motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7462276A JPS6047116B2 (en) 1976-06-24 1976-06-24 Pulse motor control device

Publications (2)

Publication Number Publication Date
JPS53812A JPS53812A (en) 1978-01-07
JPS6047116B2 true JPS6047116B2 (en) 1985-10-19

Family

ID=13552456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7462276A Expired JPS6047116B2 (en) 1976-06-24 1976-06-24 Pulse motor control device

Country Status (1)

Country Link
JP (1) JPS6047116B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56117664A (en) * 1980-02-22 1981-09-16 Canon Inc Dot matrix printer
JPS56145476A (en) * 1980-04-15 1981-11-12 Toshiba Corp Printer control system
JPS5887056A (en) * 1981-11-19 1983-05-24 Matsushita Electric Ind Co Ltd Printer
JPS59150775A (en) * 1983-02-17 1984-08-29 Fujitsu Ltd Serial printer
JPS59155083A (en) * 1984-01-17 1984-09-04 Tokyo Electric Co Ltd Controller for carrier-feeding stepping motor in printer

Also Published As

Publication number Publication date
JPS53812A (en) 1978-01-07

Similar Documents

Publication Publication Date Title
US4755070A (en) Circuit for actuating electric motors, especially in an electronic typewriter
US4446406A (en) Brushless DC motor driving circuit
US4518900A (en) Pulse motor driving apparatus
GB2071941A (en) Method of driving a stepping motor
US4158800A (en) Control system
US4506201A (en) Microprocessor controlled pulse motor
US4232975A (en) Print hammer control
US4101006A (en) Carrier traverse control for a serial printer
US3986094A (en) Logic system for print ball tilt control
US4454516A (en) Heat-sensitive recording device
US4693618A (en) Dot matrix printer providing multiple print pulses for one energization of a printing head stepping motor
JPS6047116B2 (en) Pulse motor control device
US6124696A (en) Programmable stepper motor controller and method therefor
JPS6161565A (en) Thermal recording method and its device
US5155427A (en) Drive controller for stepping motor
KR960005692B1 (en) Drive controller and drive control method for a stepping motor without a step out error
US4803414A (en) Method of controlling a step motor
JPH0515197A (en) Drive control method for step motor
US7342377B2 (en) Stepping-motor control apparatus and method of controlling the apparatus
JP3245185B2 (en) Driving device for stepping motor
JPS62244299A (en) Output member positioning apparatus
JP3266949B2 (en) Stepping motor control circuit
JPH07170794A (en) Control method for stepping motor
JP2000108443A (en) Method for controlling stepping motor and image-forming apparatus using the same
SU1456934A1 (en) Apparatus for controlling a stepping motor