JPS59149796A - Control system for stepping motor - Google Patents

Control system for stepping motor

Info

Publication number
JPS59149796A
JPS59149796A JP2286583A JP2286583A JPS59149796A JP S59149796 A JPS59149796 A JP S59149796A JP 2286583 A JP2286583 A JP 2286583A JP 2286583 A JP2286583 A JP 2286583A JP S59149796 A JPS59149796 A JP S59149796A
Authority
JP
Japan
Prior art keywords
carriage
phase
stepping motor
end position
excitation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2286583A
Other languages
Japanese (ja)
Inventor
Makoto Kobayashi
誠 小林
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2286583A priority Critical patent/JPS59149796A/en
Publication of JPS59149796A publication Critical patent/JPS59149796A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/19Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by positioning or contouring control systems, e.g. to control position from one programmed point to another or to control movement along a programmed continuous path
    • G05B19/40Open loop systems, e.g. using stepping motor
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/42Servomotor, servo controller kind till VSS
    • G05B2219/42215Stop machine in a predetermined position

Abstract

PURPOSE:To accurately stop a carriage at an end position by detecting the exciting phase of a stepping motor in the state that the carriage reaches the end position. CONSTITUTION:When a carriage C reaches an end position E, it detects which phase a step motor is excited in or not. If it is 2-phase excited state, the carriage is returned as it is. If it is 1-phase excited state, it is returned to 2-phase excited state, and then the carriage is returned, thereby eliminating the inconvenience that the carriage C excessively moves over the end position E or generates a vibration at the end position, thereby effectively operating the carriage.

Description

【発明の詳細な説明】 技術分野 本発明はステッピングモータの制御方式に係り、さら(
二詳しくはステッピングモータを使用して、主走査駆動
系を構成している記録装置のステッピングモータの制御
方式に関するものである。
[Detailed Description of the Invention] Technical Field The present invention relates to a control method for a stepping motor, and further relates to (
In particular, the present invention relates to a control system for a stepping motor of a recording apparatus that uses a stepping motor to constitute a main scanning drive system.

従来技術 一般に読み収りおよび記録ヘッドをもつキャリッジを主
走査方向に往復運動させるいわゆるセミ・マルチ型ファ
クシミリ装置やプリンタ、タイプライタ等の記録装置に
おいては主走査駆動源として4相式のステッピングモー
タを使用している。
BACKGROUND ART In general, so-called semi-multi-type facsimile machines, printers, typewriters, and other recording devices in which a carriage with a reading and recording head reciprocates in the main scanning direction use a four-phase stepping motor as the main scanning drive source. I am using it.

そして、読み取り記録等の細かい制御の際には1−2相
励磁力式を用い、キャリッジリターン時等の高速で高ト
ルクが必要とされる場合には、2相励磁力式をとるとい
うように、必要に応じて、相励磁方式の切り換えを行っ
ている。
Then, the 1-2 phase excitation force type is used for detailed control such as reading and recording, and the 2-phase excitation force type is used when high torque is required at high speeds such as during carriage return. , the phase excitation method is switched as necessary.

従来のこの種の制御方式を第1因を用いて説明する。A conventional control method of this type will be explained using the first factor.

第1図において、符号Xで示す範囲は、キャリッジCの
走行間隔で、符号yで示す範囲は記録又は読み取り範囲
を示している。
In FIG. 1, the range indicated by the symbol X is the traveling interval of the carriage C, and the range indicated by the symbol y is the recording or reading range.

また符号Aは1−2相励磁力式を採用したキャる部分を
示す。
Further, the symbol A indicates a carrying portion that employs a 1-2 phase excitation force type.

また符号Hはホームポジションを示し、符号Eはエンド
ポジションを示ス。
Further, the symbol H indicates the home position, and the symbol E indicates the end position.

一方、記録装置は1個又は複数個のセンサをもち、キャ
リッジCの位置検出、制御を行っている。
On the other hand, the recording device has one or more sensors to detect and control the position of the carriage C.

第1因においてキャリッジCはセンサによって知ること
のできるホームポジションHよりステッピングモータの
1−2相励磁方式による正転駆動により、記録又は読み
取りを行いながらセンサによって知ることのできるエン
ドポジションEまで進む。
In the first factor, the carriage C advances from the home position H, which can be determined by the sensor, to the end position E, which can be determined by the sensor, while recording or reading by driving the stepping motor in forward rotation using the 1-2 phase excitation method.

もちろん、センサ(二よってエンドポジションを検出す
る方式のほかにキャリッジの走行範囲Xの間におけるス
テッピングモータのパルス数をカウントすることによっ
て、エンドポジションEを知る場合もある。
Of course, in addition to the method of detecting the end position using a sensor (2), the end position E may also be determined by counting the number of pulses of the stepping motor during the travel range X of the carriage.

キャリッジCがエンドポジションEに達すると、ステッ
ピングモータを2相励磁方式(二切り換えて逆転駆動さ
せることにより、キャリッジリターンを行いホームポジ
ションHまで戻る。
When the carriage C reaches the end position E, the stepping motor is switched to the two-phase excitation mode (two-phase switching and reverse drive) to perform a carriage return and return to the home position H.

ところがこのような方式を採用すると、1−2相励磁方
式では1パルスごとにl相励磁と2相励磁とを繰り返す
方式であるため、キャリッジがホームポジションを出る
時点でどの相を励磁しているかによってキャリッジがエ
ンドポジションに達した時点での相励磁数が1相の場合
と2相の場合とが存在することになる。
However, if such a method is adopted, since the 1-2 phase excitation method repeats l-phase excitation and 2-phase excitation for each pulse, it becomes difficult to determine which phase is being excited when the carriage leaves the home position. Therefore, there are cases where the number of phase excitations is one phase and two phases when the carriage reaches the end position.

エンドポジションEにキャリッジが達した場合に相励磁
数が2相の場合はそのまま逆転できるが、1相の場合に
は2相に直す必要がある。ところが従来のこの種の装置
では、この場合、前の励磁相を無視し新しく別の2相を
励磁してから2相励磁方式で回転を始めていたため、前
の励磁相と新しい励磁相との間に数パルス分のギャップ
が生じ、キャリッジCがエンドポジションEを超えて行
きすぎたり、エンドポジションにおいて、がたついて騒
音を発するなどの欠点があった。
When the carriage reaches the end position E, if the number of phase excitations is two phases, the rotation can be reversed as is, but if it is one phase, it is necessary to change it to two phases. However, in this case, with conventional devices of this kind, the previous excitation phase was ignored and two new phases were excited, and then rotation was started using the two-phase excitation method, so the difference between the previous excitation phase and the new excitation phase was There is a gap of several pulses between the two, which causes the carriage C to go too far beyond the end position E, and causes rattling and noise at the end position.

目   的 本発明は以上のような従来の欠点を除去するためになさ
れたもので、キャリッジがエンドポジションを超えたり
、エンドポジション(−おいて振動して騒音を発生する
ことがないようにステッピングモータを制御して記録を
行うことができるようにした記録装置におけるステッピ
ングモータ制御方式を提供することを目的としている。
Purpose The present invention has been made in order to eliminate the above-mentioned drawbacks of the conventional technology. An object of the present invention is to provide a stepping motor control method for a recording apparatus that can perform recording by controlling the motor.

実施例 以下、図面に示す実施例(二基いて本発明の詳細な説明
する。
EXAMPLES Hereinafter, the present invention will be explained in detail with reference to two examples shown in the drawings.

第2図及び第3図は本発明の一実施例を示すもので、第
2図(叫マ制御回路のプロ、ツク図が示されている。
FIGS. 2 and 3 show an embodiment of the present invention, and FIG. 2 (a professional diagram of the screamer control circuit) is shown.

第2図から明らかなように、本発明においてはステッピ
ングモータの制御にCPU (中央演算処理装置)を用
いている。
As is clear from FIG. 2, the present invention uses a CPU (Central Processing Unit) to control the stepping motor.

CPUに対しては、ボー) Pl、 P2を通じてそれ
ぞれホームポジションのセンサ出力及びエンドポジショ
ンのセンサ出力が入力され、キャリッジの位置を常時認
識しており、キャリッジがそれぞれの位置(二連した場
合、インターフェースI/Fを介してステッピングモー
タSの相励磁の制御を行う。
The CPU receives the sensor output of the home position and the sensor output of the end position through Pl and P2, respectively, and constantly recognizes the position of the carriage. Phase excitation of the stepping motor S is controlled via the I/F.

CPUにはタイマーTが接続されており、パスラインB
Lを介してROM(固定記憶装置)及びRAM(ランダ
ムアクセスメモリー)との間で情報のやりとりが行われ
る。
A timer T is connected to the CPU, and a pass line B
Information is exchanged between ROM (fixed storage device) and RAM (random access memory) via L.

次(二第3図に示すフローチャート図を用いて制御動作
の実際(二ついて説明する。
Next, the actual control operation will be explained using the flow chart shown in FIG.

まず、動作が開始されると、ステップS1において1−
2相励磁方式でステッピングモータを1パルス分正転さ
せ、記録又は読み取りが開始される。
First, when the operation starts, 1-
Recording or reading is started by rotating the stepping motor forward by one pulse using the two-phase excitation method.

そして、ステップS2において、キャリッジがエンドボ
ジショ/に達したか否かが判定され、エンドポジション
に達した場合にはステップS3において、ステッピング
モータが1相励磁状態であるか否かが判定される。
Then, in step S2, it is determined whether the carriage has reached the end position. If the carriage has reached the end position, it is determined in step S3 whether or not the stepping motor is in a one-phase excitation state.

1相励磁状態でない、すなわち2相励磁状態であった場
合にはステップS6に進み、2相励磁方式でステッピン
グモータを1パルス分逆転させた後、キャリッジリター
ン動作を行なう。そしてステップS4に進みホームポジ
ションに達したか否かが判定される。
If it is not in the one-phase excitation state, that is, in the two-phase excitation state, the process proceeds to step S6, where the stepping motor is reversed by one pulse using the two-phase excitation method, and then a carriage return operation is performed. Then, the process advances to step S4, and it is determined whether the home position has been reached.

ホームポジションに達したと判定された場合には1回の
主走査動作が終了する。
If it is determined that the home position has been reached, one main scanning operation ends.

ホームポジションに達していないと判定された場合には
ステップS6に戻る。
If it is determined that the home position has not been reached, the process returns to step S6.

ところで、ステップS3において1相励磁状態であると
判定された場合には、ステップS5に進み、1−2相励
磁刃式の状態でステッピングモータを1パルス分逆転さ
せる。そして、2相励磁状態に戻し、ステップS6(′
″−進み、2相励磁刃式でステッピングモータを1パル
ス分逆転させ、しかるのち、キャリッジリターンが開始
され、ステップS4を経て1回の主走査が終了する。
By the way, if it is determined in step S3 that the state is in the 1-phase excitation state, the process proceeds to step S5, and the stepping motor is reversed by one pulse in the 1-2 phase excitation blade type state. Then, the state is returned to the two-phase excitation state, and step S6 ('
'', the stepping motor is reversed by one pulse using the two-phase excitation blade type, and then carriage return is started, and one main scan is completed through step S4.

このようにして1−2相励磁刃式(二よってステッピン
グモータを駆動して記録、読み取りも行い、2相励磁刃
式(二よってキャリッジリターンを行う記録装置におい
て、キャリッジがエンドポジションに至った場合にステ
ッピングモータがどの相の励磁状態にあるか否かを検出
し、2相励磁状態である場合にはそのままキャリッジリ
ターンを行い、(7) してから、キャリッジリターンを行わせるため、従来の
ように前の励磁相と新しい励磁相との間に数パルス分の
ギャップが生じることがすく、キャリッジがエンドポジ
ション以上に行きすぎたり、エンドポジションにおいて
振動を発する等の不都合はなくなり、確実なキャリッジ
の動作制作を行うことができる。
In this way, when the carriage reaches the end position in a 1-2 phase excitation blade type (2) recording device that also drives the stepping motor to perform recording and reading, and a 2 phase excitation blade type (2) recording device that performs carriage return. It detects in which phase the stepping motor is in the excitation state, and if it is in the two-phase excitation state, the carriage return is performed as is.(7) Then, the carriage return is performed. A gap of several pulses is less likely to occur between the previous excitation phase and the new excitation phase, eliminating inconveniences such as the carriage going too far beyond the end position or generating vibrations at the end position, and ensuring reliable carriage operation. You can create movements.

なお、上述した実施例にあってはキャリッジがエンドポ
ジションに達した時点における相励磁の切り換えを例と
して説明したが、他の時点に設けたセンサ、あるいは、
ホームポジションからの走行距離に対するステッピング
モータのパルス数をカウントすることによって知ること
ができるどの位置からでもステッピングモータの励磁相
の切り換えを行うことができる。
In addition, in the above-mentioned embodiment, switching of the phase excitation at the time when the carriage reaches the end position was explained as an example, but it is also possible to switch the phase excitation at the time when the carriage reaches the end position.
The excitation phase of the stepping motor can be switched from any position that can be determined by counting the number of pulses of the stepping motor with respect to the distance traveled from the home position.

このような方式を採用すると、記録又は読み取り部分が
ないような場合には、キャリッジを高速でホームポジシ
ョンに戻らせることができる。
If such a system is adopted, the carriage can be returned to the home position at high speed when there is no recording or reading portion.

効果 (8) 以上の説明から明らかなように本発明によればキャリッ
ジがエンドポジションに達した状態におけるステッピン
グモータの励磁相を検出し、キャリッジリターン時にお
ける励磁相と同一である場合にはそのままキャリッジリ
ターンを行い、そうでない場合にはキャリッジリターン
の励磁相に合わせてからキャリッジリターンを行う方式
を採用しているため、キャリッジをエンドポジションに
正確に停止させることができ、キャリッジのオーバーラ
ンや振動による騒音も減少させることができる。
Effect (8) As is clear from the above explanation, according to the present invention, the excitation phase of the stepping motor is detected when the carriage has reached the end position, and if the excitation phase is the same as the excitation phase at the time of carriage return, the carriage is moved as it is. If not, the carriage return is performed after aligning with the excitation phase of the carriage return, so the carriage can be accurately stopped at the end position, and the carriage can be stopped due to overrun or vibration. Noise can also be reduced.

【図面の簡単な説明】 第1図は、本発明が達成される記録装置におけるキャリ
ッジの動作説明図、第2図は本発明の1実施例を説明す
る制御回路のブロック図、第3図は本発明における制御
動作を説明するフローチャC・・・キャリッジ    
 CPU・・・中央演算処理装置S・・・ステツピング
モータ 第1図 1 B 第3区 1    聞難 1 1 1   l       Sl 〕                 スTl:  ク
モタ正転χ辻) 1       52 1                        
  エンド、tS・−N。 −−一参1tか?
[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 is an explanatory diagram of the operation of a carriage in a recording apparatus in which the present invention is achieved, FIG. 2 is a block diagram of a control circuit explaining one embodiment of the present invention, and FIG. Flowchart C for explaining the control operation in the present invention: Carriage
CPU...Central processing unit S...Stepping motor Figure 1 1 B 3rd section 1 Hearing difficulty 1 1 1 l Sl] Sl: Kumota forward rotation χ) 1 52 1
End, tS・-N. --Is it 1 ton?

Claims (1)

【特許請求の範囲】[Claims] ステッピングモータを1−2相励磁力式により駆動して
記録及び読み取りを行い、2相励磁力式によりキャリッ
ジリターン動作を行わせる記録装置のステッピングモー
タ制御方式において、キャリッジがエンドポジションに
達した時点(二おけるステッピングモータの励磁相数を
検出し、キャリッジリターン時の励磁相数と異なる場合
にはその相数に合わせてからキャリッジリターンを行わ
せるように構成したことを特徴とするステッピングモー
タ制御方式。
In a stepping motor control system for a recording device in which a stepping motor is driven by a 1-2 phase excitation force type to perform recording and reading, and a carriage return operation is performed by a 2 phase excitation force type, the time when the carriage reaches the end position ( A stepping motor control method characterized in that the number of excitation phases of the stepping motor at the second step is detected, and if the number of excitation phases is different from the number of excitation phases at the time of carriage return, the number of excitation phases is adjusted to that number before carriage return is performed.
JP2286583A 1983-02-16 1983-02-16 Control system for stepping motor Pending JPS59149796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2286583A JPS59149796A (en) 1983-02-16 1983-02-16 Control system for stepping motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2286583A JPS59149796A (en) 1983-02-16 1983-02-16 Control system for stepping motor

Publications (1)

Publication Number Publication Date
JPS59149796A true JPS59149796A (en) 1984-08-27

Family

ID=12094593

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2286583A Pending JPS59149796A (en) 1983-02-16 1983-02-16 Control system for stepping motor

Country Status (1)

Country Link
JP (1) JPS59149796A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6281995A (en) * 1985-10-04 1987-04-15 Alps Electric Co Ltd Drive control system of pulse motor
JPS63174592A (en) * 1987-01-13 1988-07-19 Fuji Xerox Co Ltd Current controller for motor
JPH01214298A (en) * 1988-02-23 1989-08-28 Canon Inc Recorder
CN114290824A (en) * 2021-12-28 2022-04-08 宁波得力科贝技术有限公司 Origin detection method for printer carriage

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6281995A (en) * 1985-10-04 1987-04-15 Alps Electric Co Ltd Drive control system of pulse motor
JPS63174592A (en) * 1987-01-13 1988-07-19 Fuji Xerox Co Ltd Current controller for motor
JPH01214298A (en) * 1988-02-23 1989-08-28 Canon Inc Recorder
CN114290824A (en) * 2021-12-28 2022-04-08 宁波得力科贝技术有限公司 Origin detection method for printer carriage
CN114290824B (en) * 2021-12-28 2023-06-20 宁波得力科贝技术有限公司 Origin determining method for printer carriage

Similar Documents

Publication Publication Date Title
JP2928518B2 (en) Driving method of stepping motor
JP4833617B2 (en) Print medium transport apparatus and print medium transport method
JP3053144B2 (en) Printer carriage motor controller
JPS59149796A (en) Control system for stepping motor
JPH0459267A (en) Recording device
JP2001275374A (en) Motor controller and storage medium
JPH028908B2 (en)
JPH0217895A (en) Driving of stepping motor
JPH0515197A (en) Drive control method for step motor
JP3031063B2 (en) Printing device
JPS6359796A (en) Origin return mechanism for pulse motor
JPS60120080A (en) Carriage drive controller
JPH0348755B2 (en)
JPS6281995A (en) Drive control system of pulse motor
KR0171529B1 (en) Speed controlling method for step motor
JP2576877B2 (en) Step motor driving device and head moving device
JPS62284775A (en) Recorder
JPS638912B2 (en)
JPS6178474U (en)
JPS6344000B2 (en)
JPH04216974A (en) Driving method for serial printer
JPH0514628A (en) Drive system for picture reader
JPS6040282A (en) Printer
JPH03164098A (en) Drive control method for carriage motor
KR19980073981A (en) Control of Current Overlap in Switched Reluctance Motors