JPH01243893A - Step motor controller - Google Patents

Step motor controller

Info

Publication number
JPH01243893A
JPH01243893A JP6666188A JP6666188A JPH01243893A JP H01243893 A JPH01243893 A JP H01243893A JP 6666188 A JP6666188 A JP 6666188A JP 6666188 A JP6666188 A JP 6666188A JP H01243893 A JPH01243893 A JP H01243893A
Authority
JP
Japan
Prior art keywords
excitation
movable element
mover
phase
stopped
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.)
Granted
Application number
JP6666188A
Other languages
Japanese (ja)
Other versions
JP2576179B2 (en
Inventor
Naohisa Kaneko
兼子 直久
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP63066661A priority Critical patent/JP2576179B2/en
Publication of JPH01243893A publication Critical patent/JPH01243893A/en
Application granted granted Critical
Publication of JP2576179B2 publication Critical patent/JP2576179B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To start a step motor properly and quickly, by changing the starting method corresponding to whether stop hold current is flowing or not. CONSTITUTION:When a drive signal based on an input from an external machine is inputted within an interval for holding a stopped mover at a stopping position through a step position holding means M3, driving of the mover is executed immediately through a mover drive means M1. When the drive signal is inputted upon elapse of the holding interval of the stop position holding means M3, an exciting means M2 excites the stop phase of the mover for a predetermined exciting interval before the mover is driven through the mover drive means M1. Thereafter, driving of the mover is executed through the mover drive means M1.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、駆動信号に基づいてステッピングモータの駆
動制御を行なうステッピングモータの制御装置に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a stepping motor control device that performs drive control of a stepping motor based on a drive signal.

[従来の技術] 従来のステッピングモータの制御装置では、所定順序で
励磁相を順次励磁して可動子を所定量駆動させ、次いで
可動子の停止した励磁相(停止相)を保持励磁して停止
相と対向する位置に可動子を停止保持している。停止し
ている可動子の起動は、可動子を駆動させるための外部
機器、例えばキーボードのキー人力を解読して作成され
た駆動信号に基づき行なわれる。
[Prior Art] In a conventional stepping motor control device, the excitation phases are sequentially excited in a predetermined order to drive the mover by a predetermined amount, and then the stopped excitation phase (stop phase) of the mover is held and excited to stop. The movable element is stopped and held at a position facing the phase. The stopped movable element is activated based on a drive signal created by decoding the keystrokes of an external device such as a keyboard for driving the movable element.

そして、上記した可動子の起動時には、励磁相を順次励
磁する前に、可動子がそれまで停止していた停止相を所
定の期間(以下、前励磁期間という)にわたっていった
ん励磁する、所謂前励磁を実施している。この前励磁に
よって可動子を強制的に停止相と対向した位置に保持し
、その後所定の励磁相から所定の順序で順次励磁してい
る。
When the mover is started, the stop phase in which the mover has been stopped is once excited for a predetermined period (hereinafter referred to as pre-excitation period) before the excitation phases are sequentially excited, which is called pre-excitation. are being carried out. By this pre-excitation, the movable element is forcibly held in a position facing the stop phase, and then it is sequentially excited in a predetermined order starting from a predetermined excitation phase.

このように前励磁を実施することによって、起動時の回
転ムラや可動子の停止位置と新たに励磁される励磁相と
の位置関係のずれに基づく脱調等を防止し、滑らかな起
動を実現している。 −[発明が解決しようとする課題
] しかしながら、上述したステッピングモータの制御装置
においても未だ十分なものでなく、次のような問題点が
指摘されるに至っている。
By performing pre-excitation in this way, smooth startup is achieved by preventing uneven rotation during startup and loss of synchronization due to misalignment between the stopped position of the mover and the newly excited excitation phase. are doing. - [Problems to be Solved by the Invention] However, the above-described stepping motor control device is still not sufficient, and the following problems have been pointed out.

前励磁を行なうと、上述した脱調等を防止し好適な起動
を得ることができるが、可動子の起動時毎に前動m期間
だけの遅れが生じることになる。
If pre-excitation is performed, it is possible to prevent the above-mentioned step-out and the like and obtain a suitable start-up, but a delay corresponding to the pre-movement period m occurs each time the mover is started.

例えば印字装置のキャリッジ送り用ステッピングモータ
においては、印字を行なう毎に、キャリッジ(ステッピ
ングモータ)の停止位置を保持するための前励磁、キャ
リッジ移動(ステッピングモータ駆動)のための励磁、
印字ハンマ殴打時のキャリッジ(ステッピングモータ)
の停止位置を保持するための保持励磁が順次なされてい
る。従って、連続印字を行なう場合には、上記各(ii
I]磁が順次くり返されるため、保持励磁に引き続き前
励磁が実行されることになる。このように、キャリッジ
停止位置を保持するための保持励磁と前励磁とが続けて
なされるので、連続印字の際には前励磁を行なう分印字
速度が遅くなるのである。
For example, in a stepping motor for carriage feeding in a printing device, each time printing is performed, pre-excitation is performed to maintain the stop position of the carriage (stepping motor), excitation is performed to move the carriage (stepping motor drive), etc.
Carriage (stepping motor) when hitting the printing hammer
Holding and excitation is performed sequentially to hold the stop position. Therefore, when performing continuous printing, each of the above (ii)
I] Magnetism is repeated sequentially, so pre-excitation is performed subsequent to holding excitation. In this way, the holding excitation and pre-excitation for maintaining the carriage stop position are performed successively, so that during continuous printing, the printing speed is slowed down by the amount of pre-excitation.

本発明は上記問題を解決するためになされ、その目的は
、停止していたステッピングモータを好適にかつ速やか
に起動させることができるステッピングモータの制御装
置を提供することである。
The present invention has been made to solve the above problems, and its purpose is to provide a stepping motor control device that can suitably and quickly start a stopped stepping motor.

発明の構成 [課題を解決するための手段] 上記問題点を解決するために、本発明の採用した手段は
、第1図の基本的な概略構成図に示す如く、 駆動信号に基づいて、複数の励磁相を所定の順序にて順
次励磁して可動子を所定の停止位置まで駆動させる可動
子駆動手段M1と、該可動子駆動手段M1による可動子
の駆動に先立って、前記可動子が停止している停止相を
所定の前励磁期間にわたって励磁する前励磁手段M2と
、前記可動子駆動手段M1により前記可動子が前記停止
位置に停止した後、所定の保持期間にわたって前記停止
位置の停止相を励磁し、前記可動子を該停止位置に保持
する停止位置保持手段M3と、駆動信号が前記停止位置
保持手段M3の前記保持期間内に入力されたとき、直ち
に前記可動子駆動手段M1を実行させ、前記駆動信号が
前記保持期間の経過後に入力されたとき、前記前励磁手
段M2に引き続き前記可動子駆動手段M3を実行させる
駆動手順設定手段M4とを備えることを特徴とするステ
ッピングモータの制御装置をその要旨とする。
Structure of the Invention [Means for Solving the Problems] In order to solve the above-mentioned problems, the means adopted by the present invention is as shown in the basic schematic diagram of FIG. a movable element driving means M1 for driving the movable element to a predetermined stop position by sequentially exciting the excitation phases of the movable element in a predetermined order; pre-excitation means M2 for exciting the stop phase at the stop position for a predetermined pre-excitation period; and after the mover is stopped at the stop position by the mover driving means M1, the stop phase at the stop position is a stop position holding means M3 for exciting the movable element and holding the movable element at the stop position; and when a drive signal is input within the holding period of the stop position holding means M3, the movable element driving means M1 is immediately executed. and a driving procedure setting means M4 for causing the movable element driving means M3 to be executed subsequent to the pre-excitation means M2 when the driving signal is input after the elapse of the holding period. The gist is the device.

[作用] 本発明によるステッピングモータの制御装置は、可動子
の駆動期間にわたって可動子駆動手段M1により複数の
励磁相を所定の手順にて、例えば1相励磁方式、1−2
相励磁方式、2相励磁方式等に従って順次励磁して可動
子を駆動させ、所定の停止位置に停止させる。
[Function] The stepping motor control device according to the present invention controls a plurality of excitation phases by the movable element driving means M1 in a predetermined procedure over the driving period of the movable element, for example, a one-phase excitation method, 1-2
The movable element is driven by sequential excitation according to a phase excitation method, a two-phase excitation method, etc., and is stopped at a predetermined stop position.

そして、可動子の起動時には、駆動手順設定手段M4に
より駆動手順を設定する。即ち、外部機器等からの入力
に基づく駆動信号が、停止した可動子を停止位置保持手
段M3により停止位置に保持する保持期間内に入力され
ると、直ちに前記可動子駆動手段M1による可動子の駆
動を実行する。
When the movable element is activated, a drive procedure is set by the drive procedure setting means M4. That is, when a drive signal based on an input from an external device or the like is input within the holding period during which the stopped movable element is held at the stopped position by the stopped position holding means M3, the movable element is immediately moved by the movable element driving means M1. Execute the drive.

駆動信号が停止位置保持手段M3の保持期間の経過後に
入力されると、可動子駆動手段M1による可動子の駆動
に先立って、前励磁手段M2により可動子がそれまで停
止している停止相を所定の前励磁期間にわたり励磁する
。その後可動子駆動手段M1による可動子の駆動を実行
する。
When a drive signal is input after the holding period of the stop position holding means M3 has elapsed, before the mover driving means M1 drives the mover, the pre-excitation means M2 changes the stop phase in which the mover has been stopped until then. Energize for a predetermined pre-excitation period. Thereafter, the movable element driving means M1 drives the movable element.

なお、可動子駆動手段M1、前励磁手段M2および停止
位置保持手段M3による励磁は、各手段の励磁に適した
電流によって行なわれればよく、同一の値の電流である
必要はない。
Note that the excitation by the mover driving means M1, the pre-excitation means M2, and the stop position holding means M3 may be carried out using currents suitable for excitation of each means, and the currents do not have to have the same value.

[実施例] 次に、本発明によるステッピングモータの制御装置をタ
イプライタに適用した一実施例について、図面を用いて
説明する。本発明はこれに限られるものではなく、その
要旨を逸脱しない範囲の種々の態様のものが含まれる。
[Embodiment] Next, an embodiment in which a stepping motor control device according to the present invention is applied to a typewriter will be described with reference to the drawings. The present invention is not limited to this, but includes various embodiments without departing from the gist thereof.

第2図は本発明を適用したタイプライタの構成を示す図
である。
FIG. 2 is a diagram showing the configuration of a typewriter to which the present invention is applied.

本タイプライタ10は、デイジ−ホイールと印字ハンマ
から構成される印字ヘッド20を用いてプラテン30に
セットされた用紙40に印字する。
The typewriter 10 prints on paper 40 set on a platen 30 using a print head 20 consisting of a daisy wheel and a print hammer.

印字ヘッド20は、印字リボン50と共に案内軸60に
1占動可能に支持されたキャリッジ70に取り付けられ
ており、デイジ−ホイールを回転させる活字選択用ステ
ッピングモータ55による選字が行われる。このキャリ
ッジ70はベルト80を介してキャリッジ用ステッピン
グモータ90により駆動され、印字ヘッド20をプラテ
ン30の長手方向に沿って所定位置に移動させる。又、
プラテン30は、ギアを介して接続されたラインフィー
ド用ステッピングモータ100により駆動され、用紙4
0を所定位置に移動させる。更に、印字リボン50は、
図示しない印字リボン巻取用ステラこれらの各ステッピ
ングモータ55.90.100等は全て4相ステツピン
グモータであり、第3図にキャリッジ用ステッピングモ
ータ90の概略構成を例示する。図示する如くステッピ
ングモータ90は、励磁相90A、90B、90Cおよ
び90Dの4相からなり、各励磁相と高電圧端子VHお
よび低電圧端子VL間に、それぞれトランジスタ90H
,90Lのコレクターエミッタ間が接続されている。各
トランジスタのベースは後述する電子制御回路110の
入出力ポート230と接続されている。又、トランジス
タ90a、90b、90cおよび90dは、前記各励磁
相とアース間にそのコレクターエミッタ間が接続され、
その各ベースは入出力ポート230と接続されている。
The print head 20 is attached to a carriage 70 which is supported by a guide shaft 60 so as to be able to occupy one position along with the print ribbon 50, and characters are selected by a stepping motor 55 for character selection which rotates a daisy wheel. The carriage 70 is driven by a carriage stepping motor 90 via a belt 80, and moves the print head 20 to a predetermined position along the longitudinal direction of the platen 30. or,
The platen 30 is driven by a line feed stepping motor 100 connected via a gear,
0 to a predetermined position. Furthermore, the printing ribbon 50 is
The stepping motors 55, 90, 100, etc. for the printing ribbon winding stellar (not shown) are all four-phase stepping motors, and FIG. 3 illustrates a schematic configuration of the carriage stepping motor 90. As shown in the figure, the stepping motor 90 consists of four excitation phases 90A, 90B, 90C and 90D, and a transistor 90H is connected between each excitation phase and a high voltage terminal VH and a low voltage terminal VL.
, 90L are connected to each other. The base of each transistor is connected to an input/output port 230 of the electronic control circuit 110, which will be described later. Further, the transistors 90a, 90b, 90c and 90d have their collector emitters connected between each of the excitation phases and the ground,
Each base is connected to an input/output port 230.

上述のステッピングモータ55,90,100等は、電
子制御回路110によって制御される各トランジスタの
0N10FFに基づき駆動する。
The above-mentioned stepping motors 55, 90, 100, etc. are driven based on 0N10FF of each transistor controlled by the electronic control circuit 110.

トランジスタ90HがON状態、トランジスタ9OLが
OFF状態とされ、トランジスタ90aないし90dが
所定の手順にて0N10FF制御されると、高電圧端子
VHからの駆動電流1により各励磁相が所定の手順に従
って励磁され、ロータが回転する。トランジスタ90H
tfiOFF状態、トランジスタ90L7’)1ON状
態、トランジスタ9Qaないし90dの所定のトランジ
スタがON状態とされると、低電圧端子VLからの保持
電流I[により所定の励磁相が励磁され、ロータの停止
位置が保持される。
When the transistor 90H is in the ON state and the transistor 9OL is in the OFF state, and the transistors 90a to 90d are controlled to 0N10FF according to a predetermined procedure, each excitation phase is excited by the drive current 1 from the high voltage terminal VH according to the predetermined procedure. , the rotor rotates. Transistor 90H
tfi is in the OFF state, the transistor 90L7') is in the ON state, and when a predetermined transistor of the transistors 9Qa to 90d is turned on, a predetermined excitation phase is excited by the holding current I from the low voltage terminal VL, and the rotor's stop position is Retained.

又、電子制御装置110には、キーボード105からの
データ等の信号及び各種のスイッチの信号、例えば、電
源スィッチ120やカバー130に設けられたカバー開
閉センサ140のカバーオープン信号、カバークローズ
信号が入力される。
In addition, signals such as data from the keyboard 105 and signals from various switches, such as a cover open signal and a cover close signal from a cover open/close sensor 140 provided on the power switch 120 and the cover 130, are input to the electronic control unit 110. be done.

上述の電子制御装置110は、周知のCPU 200、
ROM210.RAM220の他に、上記モータやスイ
ッチ、センサとの入出力信号をCPU200の処理可能
な信号に変換する入出力ポート230及びこれらを接続
する共通バス240等から構成されている。
The electronic control device 110 described above includes a well-known CPU 200,
ROM210. In addition to the RAM 220, it is comprised of an input/output port 230 that converts input/output signals from the motors, switches, and sensors into signals that can be processed by the CPU 200, and a common bus 240 that connects these.

次に、上記電子制御装置110のROM210に格納さ
れているプログラムに従った処理について第4図以下に
示すフローチャートに基づき説明する。
Next, processing according to the program stored in the ROM 210 of the electronic control unit 110 will be explained based on the flowchart shown in FIG. 4 and subsequent figures.

第4図のフローチャートは、タイプライタ10の実行す
る各機能のうち印字に関する処理を概略的に示した制御
ルーチンであり、まず、電源が投入されると、ステップ
81(以下、単にSlと表す。他のステップも同様)に
て、電源投入時の初期設定、即ち、キャリッジ70及び
デイジ−ホイールの原点検出や他のステッピングモータ
等を初期位相に設定する処理や、後述するカウンタのリ
セット等が行われる。次に、S2にて後述のCA動作制
御ルーチンでセットされるカウンタCCAのカウンタ値
がOか否かを判定する。0CA=Oが否定判定されると
84の処理に移行し、肯定判定されると83にて全ての
ステッピングモータの励磁をOFFとする。その後S4
にてキーボード105からのキー人力が有るか否かを判
定し、キー人力がなければキー人力があるまで特別する
。キー人力があればS5にて、そのキー人力が文字・記
号キーか否かを判定し、文字・記号キー以外であればS
6にて、入カキ−に応じた処理を実行し、S2に戻る。
The flowchart in FIG. 4 is a control routine that schematically shows processing related to printing among the various functions executed by the typewriter 10. First, when the power is turned on, a step 81 (hereinafter simply referred to as Sl) is performed. In the same way for other steps), the initial settings when the power is turned on, that is, the origin detection of the carriage 70 and daisy wheel, the process of setting other stepping motors, etc. to the initial phase, and the resetting of the counter described later, etc. are performed. be exposed. Next, in S2, it is determined whether the counter value of a counter CCA set in a CA operation control routine to be described later is O or not. If 0CA=O is determined to be negative, the process moves to step 84, and if determined to be affirmative, the excitation of all stepping motors is turned off in step 83. Then S4
It is determined whether or not there is a key force from the keyboard 105, and if there is no key force, special operations are performed until the key force is available. If there is key human power, it is determined in S5 whether the key human power is a character/symbol key, and if it is other than a character/symbol key, S5 is performed.
At step 6, processing according to the input key is executed, and the process returns to S2.

キー人力が文字・記号キーであれば、S7にて活字選択
用ステッピングモータ55を駆動してデイジ−ホイール
上の前記文字・記号に対応する活字を印字ハンマの殴打
位置にセットする。
If the key is a character/symbol key, the stepper motor 55 for character selection is driven in S7 to set the character corresponding to the character/symbol on the daisy wheel at the striking position of the printing hammer.

活字セット後には上記ステッピングモータ55は停止相
の保持励磁により停止保持される。次いでS8にて、印
字ハンマによるディジホイールの殴打がなされ印字が完
了する。この印字ハンマの殴打完了を駆動信号Sとして
S9にて、後述するCA動作制御ルーチンによりキャリ
ッジ送りがなされる。キャリッジ送りが完了すると後述
の814にてCA用ステッピングモータ90は停止相の
保持励磁により停止保持される。このSつと並行して行
われるSIOにて、印字リボン50を図示しないステッ
ピングモータを駆動して巻取り、上記ステッピングモー
タをCA用ステッピングモータ90と同様に停止保持す
る。310の処理が終了すると再度S2からの処理に戻
る。なお、上述した処理が引き続き実行される連続印字
期間には、S9にてキャリッジ送りがなされている間に
も新たなS7の活字選択が実施されている。そしてキャ
リッジ停止後、直ちに新たなS8の印字ハンマ殴打がな
されている。この印字ハンマ殴打に要する期間は25 
m5ecで十分であるので、上記した連続印字実行時に
は、キャリッジが停止してから25 m5ec経過後に
新たな駆動信号Sが発せられている。
After setting the type, the stepping motor 55 is stopped and held by the stop phase holding and excitation. Next, in S8, the printing hammer hits the Digiwheel to complete printing. The completion of the striking of the printing hammer is used as a drive signal S, and at S9, the carriage is fed by a CA operation control routine to be described later. When the carriage feeding is completed, the CA stepping motor 90 is stopped and held by excitation of the stop phase at 814, which will be described later. In the SIO performed in parallel with these S steps, the printing ribbon 50 is wound by driving a stepping motor (not shown), and the stepping motor is stopped and held in the same manner as the CA stepping motor 90. When the process of 310 is completed, the process returns to S2 again. In addition, during the continuous printing period in which the above-described process is continued, a new character selection in S7 is performed even while the carriage is being fed in S9. Immediately after the carriage stops, a new printing hammer of S8 is struck. The period required to hit this printing hammer is 25
Since m5ec is sufficient, when performing the above-described continuous printing, a new drive signal S is issued 25 m5ec after the carriage stops.

第5図(a)はCA用ステッピングモータ90の上記駆
動信号Sが出力される毎に実行されるCA動作制御ルー
チンのフローチャート、第5図(B)は1 m5ec毎
に割込み処理されるカウンタ減算ルーチンのフローチャ
ート、第6図は駆動信号Sおよび各フローチャートの処
理に基づ<CA用ステッピングモータ90の各励磁相の
励磁状態(各励磁相に印加される電圧の変化)を示すタ
イムチャートでおる。
FIG. 5(a) is a flowchart of a CA operation control routine that is executed every time the drive signal S of the CA stepping motor 90 is output, and FIG. 5(B) is a counter subtraction that is interrupted every 1 m5ec. The flowchart of the routine, FIG. 6, is a time chart showing the excitation state of each excitation phase (changes in voltage applied to each excitation phase) of the CA stepping motor 90 based on the drive signal S and the processing of each flowchart. .

まず、前記駆動信号Sが発せられた時点において、各励
磁相が励磁されているか否かをCA動作制御ルーチンの
811にて判定し、所定の励磁相、即ちロータが停止し
ている停止相が励磁中(保持励磁中〉であると判定した
場合は前記した連続印字実行期間であるので(第6図時
刻t1又はt3)、次のS12の処理を行なうことなく
S13の処理へ移行する。
First, at the time when the drive signal S is issued, it is determined in step 811 of the CA operation control routine whether or not each excitation phase is excited. If it is determined that the current is being energized (maintaining and energizing), it is the continuous printing period described above (time t1 or t3 in FIG. 6), and the process proceeds to S13 without performing the next process of S12.

連続印字実行期間であると、次の813にて、印字ハン
マの殴打による印字完了後(88)1文字分キャリッジ
70を移動するための所定数のパルス、即ち4パルスを
出力する。具体的には、トランジスタ90LをON状態
からOFF状態に、トランジスタ90HをOFF状態か
らON状態に切替えるとともに、トランジスタ90a、
90b。
If it is a continuous printing execution period, in the next step 813, after printing is completed by hitting the printing hammer (88), a predetermined number of pulses, ie, 4 pulses, are outputted to move the carriage 70 by one character. Specifically, the transistor 90L is switched from the ON state to the OFF state, the transistor 90H is switched from the OFF state to the ON state, and the transistors 90a,
90b.

90cおよび90dをトランジスタ90bから1相励磁
の手順でON状態とする。こうして各励磁相90A、9
08.90Cおよび90Dが駆動電流iによっておのお
の4 m5ecづつ順次励磁され、ロータが一回転した
後、励磁相90△で停止する(第6図時刻t1から時刻
t2又は時刻t3から時刻t4)。このS13の処理に
て、キャリッジ70が1文字分布力へ移動して停止する
。次に814にて、印字ハンマの殴打によって印字する
間(次回の88)にキャリッジ70が移動しないよう上
記励磁相90A即ち停止相90Aを保持電流ILによっ
て保持励磁し、ロータを確実に停止相90Aに対向させ
て停止させておく。具体的には、トランジスタ90Hを
ON状態からOFF状態に、トランジスタ90LをOF
F状態からON状態に切替える(第6図時刻t2又はt
4)。なお、S14のCA用ステッピングモータの保持
励磁実行時には、活字選択用ステッピングモータ55、
ラインフィールド用ステッピングモータ100.印字リ
ボン巻取用チッピングモータをも保持励磁してデイジ−
ホイール、用紙40および印字リボンをも停止保持して
いる。また、S13の処理中にも次回の87の活字選択
はなされている。その後S15にて、停止相90Aが保
持励磁されてからの経過時間を計時するためのカウンタ
CCAに50Oをセットし、次に316にて、停止相9
0Aの励磁データ等をRAM220の所定アドレスに書
き込み記憶する。なお、316における記憶は前回のも
のを更新して保持される。そして、816までの処理が
終了するとメインルーチンの次の処理に移行する。
90c and 90d are turned on using a one-phase excitation procedure from transistor 90b. In this way, each excitation phase 90A, 9
08.90C and 90D are sequentially excited by the drive current i for 4 m5ec each, and after the rotor rotates once, it stops at the excitation phase 90Δ (from time t1 to time t2 or from time t3 to time t4 in FIG. 6). In the process of S13, the carriage 70 moves to one character distribution force and stops. Next, at 814, the excitation phase 90A, that is, the stop phase 90A, is held and excited by the holding current IL so that the carriage 70 does not move during printing (next time 88) by hitting the printing hammer, and the rotor is reliably moved to the stop phase 90A. Stop it by facing it. Specifically, the transistor 90H is turned from the ON state to the OFF state, and the transistor 90L is turned OFF.
Switch from F state to ON state (time t2 or t in Figure 6).
4). Note that when the CA stepping motor is held and excited in S14, the type selection stepping motor 55,
Line field stepping motor 100. The chipping motor for winding the printing ribbon is also held and energized.
The wheels, paper 40, and print ribbon are also held stationary. Also, during the process of S13, the next 87 type characters are selected. Thereafter, in S15, a counter CCA for measuring the elapsed time since the stop phase 90A is held and excited is set to 50O, and then in 316, the stop phase 90A is set to 50O.
0A excitation data and the like are written and stored in a predetermined address of the RAM 220. Note that the memory in 316 is updated and retained from the previous one. When the processes up to 816 are completed, the process moves to the next process of the main routine.

一方、各励磁相が励磁されていないと判定した場合は、
単発的に印字を実行する場合であるので(第6図時刻t
6)、S12にてRAM220内に記憶された励磁デー
タ等より判別した前回の停止相を10m5ecの期間に
わたって保持電流I[によって前励磁し、判別した停止
相にロータを対向して停止させる(第6図時刻t6から
時刻t7)。
On the other hand, if it is determined that each excitation phase is not excited,
This is a case where printing is executed sporadically (time t in Figure 6).
6) In S12, the previous stop phase determined from the excitation data stored in the RAM 220 is pre-excited with the holding current I for a period of 10 m5ec, and the rotor is stopped facing the determined stop phase (the 6 from time t6 to time t7).

具体的には上記停止相が励磁相90Aであれば、トラン
ジスタ90Lおよびトランジスタ90aにベース電圧を
印加し該トランジスタ90L及び90aをONとする。
Specifically, if the stop phase is the excitation phase 90A, a base voltage is applied to the transistor 90L and the transistor 90a to turn on the transistors 90L and 90a.

次いで、前述した連続印字の場合と同様にして313か
らS16までの処理を実行し、次の処理に移行する。
Next, the process from 313 to S16 is executed in the same manner as in the case of continuous printing described above, and the process moves to the next process.

第5図(b)に示すカウンタ減算ルーチンは1m5ec
毎に実行され、まずフローチャートの820にて、前記
S15で500にセットされるカウンタCCAのカウン
タ値がOか否かを判定する。0CA=Oが肯定判定され
れば何ら処理を行なうことなくいったん処理を終了し前
述したCA動作制御ルーチンにて新たにOCAにカウン
タ1直がセットされるまで待機する。一方、S20で0
CA=Oが否定判定されると、S21にてCCAのカウ
ンタ値がら1だけディクリメントした(直をカウンタC
CAにセットする。このカウンタ減算ルーチンの処理に
よって、停止相90Aが保持励磁されてからの経過時計
が計時され、0CA=Oとなると、即ち、5゜Q m5
eC経過すると前述したメインルーチンの83にてそれ
まで継続していた保持励磁をOFFとする(第6図時刻
t5)。
The counter subtraction routine shown in Figure 5(b) is 1m5ec.
First, in step 820 of the flowchart, it is determined whether the counter value of the counter CCA set to 500 in S15 is O or not. If 0CA=O is affirmatively determined, the process is temporarily terminated without performing any processing, and the process waits until the counter 1 shift is newly set in OCA in the CA operation control routine described above. On the other hand, 0 in S20
When CA=O is determined to be negative, the counter value of CCA is decremented by 1 in S21 (the counter value of CCA is decremented by 1).
Set to CA. Through the processing of this counter subtraction routine, the elapsed time since the stop phase 90A was held and excited is counted, and when 0CA=O, that is, 5°Q m5
When eC elapses, in step 83 of the main routine described above, the holding excitation that has been continued up to that point is turned off (time t5 in FIG. 6).

以上説明したように実施例のタイプライタ1゜は、CA
用ステッピングモータを起動させる際に該モータのロー
タの停止している停止相が保持励磁されていれば、即ち
保持励磁によってロータが停止相に対向して停止してい
る場合には、駆動信号により速やかに所定の手順で各励
磁相を励磁する。一方、停止相が励磁されていなければ
、その停止相をいったん前励磁してロータを停止相に強
制的に対向させた後、各励磁相の励磁を行なっている。
As explained above, the typewriter 1° of the embodiment has a CA
When starting a stepping motor, if the stopped phase of the rotor of the motor is held and excited, that is, if the rotor is stopped opposite the stopped phase due to holding excitation, the drive signal Immediately excite each excitation phase according to a predetermined procedure. On the other hand, if the stopped phase is not excited, the stopped phase is once pre-excited to force the rotor to face the stopped phase, and then each excitation phase is excited.

このため、ロータの起動時には、確実にロータと停止相
との対応関係が確保されてからロータが回転を開始する
。また、連続印字実行時には、ロータの起動時毎に前励
磁を行なわないので、停止していたロータが回転を開始
するまでに要する時間を短縮することができる。即ち、
1文字印字する時間が従来の59m5ec (6mse
cx4+25m5eC+ 10m5eC)から49 m
5ec (6m5ecx 4 + 25m5ec )と
なる。従って、タイプライタ10のキャリッジ70の移
動に要する時間が短縮され、印字スピードの高速化を実
現できる。つまり、本実施例では連続印字実行時のキャ
リッジ移動以外の処理は、キャリッジが移動開始してか
ら停止後の25 n5ecの期間内(第6図時刻t1か
らt3)に行われるため、キャリッジの移動によって印
字速度が決定され、その速度は向上している。更に本実
施例ではCA用ステッピングモータ90が停止してから
所定時間(500m5ec)経過すると電流を遮断する
ので、モータの発熱防止や省エネルギ化が可能である。
Therefore, when starting the rotor, the rotor starts rotating after the correspondence between the rotor and the stopped phase is reliably secured. Further, when performing continuous printing, pre-excitation is not performed every time the rotor is started, so the time required for the stopped rotor to start rotating can be shortened. That is,
The time it takes to print one character is 59m5ec (6msec)
49 m from cx4+25m5eC+10m5eC)
5ec (6m5ecx 4 + 25m5ec). Therefore, the time required for moving the carriage 70 of the typewriter 10 is shortened, and printing speed can be increased. In other words, in this embodiment, processing other than carriage movement during continuous printing is performed within a period of 25 n5ec (from time t1 to t3 in Figure 6) after the carriage starts moving and stops, so the carriage movement The printing speed is determined by the printing speed, and that speed is increasing. Furthermore, in this embodiment, the current is cut off after a predetermined time (500 m5ec) has elapsed since the CA stepping motor 90 has stopped, so it is possible to prevent the motor from generating heat and to save energy.

本実施例では、本発明によるステッピングモータの制御
装置をタイプライタのCA用ステッピングモータの制御
に適用した場合について説明したが、活字選択用ステッ
ピングモータやラインフィード用ステッピングモータ、
印字リボン巻取用ステッピングモータ等の制御に適用で
きることはもちろんのこと、印字装置以外の各種装置に
使用する各種ステッピングモータの制御に採用できるこ
とはいうまでもない。
In this embodiment, the case where the stepping motor control device according to the present invention is applied to control the CA stepping motor of a typewriter has been described.
It goes without saying that the present invention can be applied to control not only a stepping motor for winding up a printing ribbon, but also various stepping motors used in various devices other than printing devices.

発明の効果 以上実施例を含めて詳述したように、本発明のステッピ
ングモータの制御装置によれば、停止しているステッピ
ングモータの起動時に、回転ムラや脱調等の防止および
始動に要する時間の短縮化が可能となり、滑らかな、か
つ速やかな起動が実現できる。
Effects of the Invention As described above in detail including the embodiments, the stepping motor control device of the present invention prevents uneven rotation, step-out, etc. when starting a stopped stepping motor, and reduces the time required for starting. This makes it possible to shorten the time required to achieve a smooth and quick start-up.

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

第1図は本発明の構成の一例を示す構成図、第2図は本
発明の一実施例によるタイプライタの構成を示す構成図
、第3図は上記タイプライタに使用するステッピングモ
ータの概略構成図、第4図ないし第5(a)および第5
図(b)は同実施例で処理されるフローチャート、第6
図は上記フローチャートに基づく処理内容を説明するた
めの説明図である。 10・・・タイプライタ 90・・・キャリッジ用ステッピングモータ110・・
・電子制御装置 代理人 弁理士 定立 勉 (ばか2名)第1図 第3図 第4図 第 (a) (b)
FIG. 1 is a block diagram showing an example of the structure of the present invention, FIG. 2 is a block diagram showing the structure of a typewriter according to an embodiment of the present invention, and FIG. 3 is a schematic structure of a stepping motor used in the typewriter. Figures 4 to 5(a) and 5
Figure (b) is a flowchart processed in the same embodiment, the sixth
The figure is an explanatory diagram for explaining the processing content based on the above flowchart. 10... Typewriter 90... Carriage stepping motor 110...
・Electronic control device agent Patent attorney Tsutomu Sadatsu (2 idiots) Figure 1 Figure 3 Figure 4 (a) (b)

Claims (1)

【特許請求の範囲】[Claims] 1.駆動信号に基づいて、複数の励磁相を所定の順序に
て順次励磁して可動子を所定の停止位置まで駆動させる
可動子駆動手段と、 該可動子駆動手段による可動子の駆動に先立つて、前記
可動子が停止している停止相を所定の前励磁期間にわた
って励磁する前励磁手段と、前記可動子駆動手段により
前記可動子が前記停止位置に停止した後、所定の保持期
間にわたって前記停止位置の停止相を励磁し、前記可動
子を停止位置に保持する停止位置保持手段と、 前記駆動信号が前記停止位置保持手段の前記保持期間内
に入力されたとき、直ちに前記可動子駆動手段を実行さ
せ、前記駆動信号が前記保持期間の経過後に入力された
とき、前記前励磁手段に引き続き前記可動子駆動手段を
実行させる駆動手順設定手段と を備えることを特徴とするステッピングモータの制御装
置。
1. a movable element driving means for driving the movable element to a predetermined stop position by sequentially exciting a plurality of excitation phases in a predetermined order based on a drive signal; prior to driving the movable element by the movable element driving means; pre-excitation means for exciting the stop phase in which the movable element is stopped over a predetermined pre-excitation period; and after the movable element is stopped at the stop position by the movable element drive means, the movable element is moved to the stop position for a predetermined holding period. stop position holding means for exciting a stop phase of the movable element to hold the movable element at the stopped position; and when the drive signal is input within the holding period of the stop position holding means, the movable element driving means is immediately executed. and drive procedure setting means for causing the pre-excitation means to subsequently execute the movable element drive means when the drive signal is input after the elapse of the holding period.
JP63066661A 1988-03-18 1988-03-18 Stepping motor control device Expired - Fee Related JP2576179B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63066661A JP2576179B2 (en) 1988-03-18 1988-03-18 Stepping motor control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63066661A JP2576179B2 (en) 1988-03-18 1988-03-18 Stepping motor control device

Publications (2)

Publication Number Publication Date
JPH01243893A true JPH01243893A (en) 1989-09-28
JP2576179B2 JP2576179B2 (en) 1997-01-29

Family

ID=13322307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63066661A Expired - Fee Related JP2576179B2 (en) 1988-03-18 1988-03-18 Stepping motor control device

Country Status (1)

Country Link
JP (1) JP2576179B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0654593A (en) * 1992-07-29 1994-02-25 Fujitsu Ltd Control method for locking time of stepping motor
JP2013099960A (en) * 2013-02-07 2013-05-23 Seiko Epson Corp Recording device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5641793A (en) * 1979-09-11 1981-04-18 Ricoh Co Ltd Driving system for stepping motor
JPS5836196A (en) * 1981-08-27 1983-03-03 Mitsubishi Heavy Ind Ltd Controlling method for stepping motor
JPS58215997A (en) * 1982-06-07 1983-12-15 Diesel Kiki Co Ltd Driving method for stepping motor
JPS6084994A (en) * 1983-10-14 1985-05-14 Fuji Photo Film Co Ltd Drive method for step motor
JPS60197193A (en) * 1984-03-19 1985-10-05 Toshiba Corp Drive control system of stepping motor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5641793A (en) * 1979-09-11 1981-04-18 Ricoh Co Ltd Driving system for stepping motor
JPS5836196A (en) * 1981-08-27 1983-03-03 Mitsubishi Heavy Ind Ltd Controlling method for stepping motor
JPS58215997A (en) * 1982-06-07 1983-12-15 Diesel Kiki Co Ltd Driving method for stepping motor
JPS6084994A (en) * 1983-10-14 1985-05-14 Fuji Photo Film Co Ltd Drive method for step motor
JPS60197193A (en) * 1984-03-19 1985-10-05 Toshiba Corp Drive control system of stepping motor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0654593A (en) * 1992-07-29 1994-02-25 Fujitsu Ltd Control method for locking time of stepping motor
JP2013099960A (en) * 2013-02-07 2013-05-23 Seiko Epson Corp Recording device

Also Published As

Publication number Publication date
JP2576179B2 (en) 1997-01-29

Similar Documents

Publication Publication Date Title
JP2928518B2 (en) Driving method of stepping motor
JPH01243893A (en) Step motor controller
US5415480A (en) Printer having a stepping motor for driving and retaining a type wheel
US4803414A (en) Method of controlling a step motor
US5147143A (en) Printer carriage homing mechanism
JPH0515197A (en) Drive control method for step motor
JP3333685B2 (en) Stepping motor controller for gaming machines
JP3031063B2 (en) Printing device
JPS5874377A (en) Paper feed device for printer
JP3245185B2 (en) Driving device for stepping motor
JP2996545B2 (en) Motor control method and device
JP2000287498A (en) Controller for driving stepping motor
JPS61123556A (en) Control of stepping motor
JPH07194195A (en) Controller for stepping motor
JPS60120080A (en) Carriage drive controller
JPH0217895A (en) Driving of stepping motor
JPH0767314B2 (en) Drive control method for stepping motor
JPS60120081A (en) Carriage drive controller
JPS6119380A (en) Printer
US4961660A (en) Method for correcting mistypes in an electric typewriter
JPS6188798A (en) Controller for stepping motor
JP2569843B2 (en) Paper feed control method
JPH0744877B2 (en) Pulse motor drive circuit
JPH05104808A (en) Printer equipped with a plurality of stepping motors
JPH04214376A (en) Printer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees