JPH01227698A - Stepping motor controller - Google Patents
Stepping motor controllerInfo
- Publication number
- JPH01227698A JPH01227698A JP5175788A JP5175788A JPH01227698A JP H01227698 A JPH01227698 A JP H01227698A JP 5175788 A JP5175788 A JP 5175788A JP 5175788 A JP5175788 A JP 5175788A JP H01227698 A JPH01227698 A JP H01227698A
- Authority
- JP
- Japan
- Prior art keywords
- motor
- speed
- signal
- circuit
- reference voltage
- 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
Links
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims 2
- 238000004804 winding Methods 0.000 abstract description 10
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 238000006243 chemical reaction Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000007423 decrease Effects 0.000 description 3
- 230000020169 heat generation Effects 0.000 description 3
- 230000000630 rising effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Control Of Stepping Motors (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野1
本発明はステッピングモータ制御回路に関し、詳しくは
ステッピングモータにおりる自起動周波数以上で駆動す
る装置、例えばプリンタのキャリッジ駆動に用いられる
ステッピングモータの制御回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application 1] The present invention relates to a stepping motor control circuit, and more specifically to a stepping motor control circuit for a device that is driven at a frequency higher than the self-starting frequency of a stepping motor, such as a stepping motor used to drive a printer carriage. Regarding control circuits.
[従来の技術〕
従来のプリンタにおけるキャリッジ駆動のためのステッ
ピングモータ制御回路は第4図のように構成されている
。第4図を用いてステッピングモータ制御について簡単
に説明する。これはステッピングモータを定電流で駆動
する回路の一例であり、図において1は電源、2はモー
タ巻線への電力の供給をON10 F Fするチョッパ
用トランジスタ、3はステッピングモータの巻線、4は
フライホイールダイオート、5は逆起電力を吸収するた
めのツェナーダイオード、6はフライバックダイオード
、7は巻線駆動用トランジスタ、8は電流検出用抵抗、
9は抵抗8の両端の電位差に応して出力信号の論理を変
更するコンパレータ、16は基準電源、17部よび18
は巻線3の各々に対応したモータ駆動パルス入力端子で
ある。[Prior Art] A stepping motor control circuit for driving a carriage in a conventional printer is configured as shown in FIG. Stepping motor control will be briefly explained using FIG. 4. This is an example of a circuit that drives a stepping motor with a constant current. In the figure, 1 is a power supply, 2 is a chopper transistor that turns on the power supply to the motor windings, 3 is a stepping motor winding, and 4 is a flywheel diode, 5 is a Zener diode for absorbing back electromotive force, 6 is a flyback diode, 7 is a winding drive transistor, 8 is a current detection resistor,
9 is a comparator that changes the logic of the output signal according to the potential difference across the resistor 8; 16 is a reference power source; 17 and 18;
are motor drive pulse input terminals corresponding to each of the windings 3.
駆動パルス入力端子17または18に駆動パルスか印加
されると、初めトランジスタ2は“’ON”状態にある
ので電流は電源11〜トランジスタ2〜巻線3〜トラン
ジスタ7〜抵抗8〜電源1の経路を流れる。キャリッジ
の速度増加に伴ない、この経路を流れる電流は増加し、
抵抗8の両端の電位差は増大する。この電位差はコンパ
レータ9で基準電源16による電圧と比較され、基準電
圧を超えるとコンパレータ9の出力信号の論理は反転し
、トランジスタ2の状態を“’OFF ”とする。この
結果、巻線3を流れる電流は減少し、抵抗8における両
端の電位差が下かりコンパレータ9の出力信号は再ひ反
転し、トランジスタ2は’ON” となる。この動作を
繰り返すことにより、回路は定電流回路として動作し、
基準電源16の電圧て定まる定電流によってステッピン
グモータは駆動される。When a drive pulse is applied to the drive pulse input terminal 17 or 18, the transistor 2 is initially in the "ON" state, so the current flows through the path of the power supply 11 - transistor 2 - winding 3 - transistor 7 - resistor 8 - power supply 1. flows. As the speed of the carriage increases, the current flowing through this path increases,
The potential difference across the resistor 8 increases. This potential difference is compared with the voltage from the reference power supply 16 by the comparator 9, and when it exceeds the reference voltage, the logic of the output signal of the comparator 9 is inverted, and the state of the transistor 2 is turned "OFF". As a result, the current flowing through the winding 3 decreases, the potential difference between both ends of the resistor 8 decreases, the output signal of the comparator 9 is inverted again, and the transistor 2 becomes 'ON'.By repeating this operation, the circuit operates as a constant current circuit,
The stepping motor is driven by a constant current determined by the voltage of the reference power source 16.
[発明か解決しようとする課題]
しかしながら、プリンタてはキャリッジを駆動する干−
夕のスピードか記録モートにより変化するにもかかわら
ず、上記従来例では電流値か、基準電源16によって予
め定められる一定値であるために以下のような問題点か
あった。[Problem to be solved by the invention] However, in printers, there is no need to drive the carriage.
In the conventional example described above, the current value is a constant value predetermined by the reference power source 16, although it changes depending on the recording speed or the recording mode, which causes the following problems.
すなわち、モータのスビーl−を変えた時でも電流値か
一定であるために、最速て動かした場合に、最適トルク
か得られるように電流値を設定すると低速で動かした場
合にトルクか大きすきたり、発熱か多くなりすきる問題
点かあった。他方、逆に最も遅いスピードの時に対応さ
せて電流値を設定すると、高速にした場合脱調したり、
トルク不足になってしまうという問題点があった。In other words, since the current value remains constant even when the motor speed is changed, if the current value is set so that the optimum torque can be obtained when the motor is operated at the highest speed, the torque or the large clearance will be obtained when the motor is operated at low speed. There were also problems such as excessive heat generation. On the other hand, if you set the current value corresponding to the slowest speed, you may lose synchronization when the speed is set to high speed.
There was a problem with the lack of torque.
本発明は上述した従来の問題点に鑑みてなされたものて
あり、その目的とするところはモータの速度に応した値
の駆動電流を流すことか可能なステッピングモータ制御
回路を提供することにある。The present invention has been made in view of the above-mentioned conventional problems, and its purpose is to provide a stepping motor control circuit that can flow a drive current of a value corresponding to the speed of the motor. .
[課題を解決するための手段]
そのために本発明ではモータの回転速度にかかるパルス
信号を発生するモータ速度信号発生手段と、モータ速度
信号発生手段が発生ずるパルス信号のパルス幅に応して
モータの駆動電流値を定める電流値決定回路とを具えた
ことを特徴とする。[Means for Solving the Problems] To achieve this, the present invention includes a motor speed signal generating means that generates a pulse signal related to the rotational speed of the motor, and a motor speed signal generating means that generates a pulse signal corresponding to the rotational speed of the motor. The present invention is characterized by comprising a current value determination circuit that determines the drive current value of the drive current.
[作 用]
以上の構成によれば、モータの回転速度にかかる信号に
基づき、モータ駆動電流の電流値が定められる。[Function] According to the above configuration, the current value of the motor drive current is determined based on the signal related to the rotational speed of the motor.
[実施例]
以下、図面を参照して本発明の実施例を詳細に説明する
。[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.
第1図は本発明の一実施例を示すステッピングモータ制
御回路の回路図てあり、同図において、jlはモータの
定速駆動時にイネーブルとなり、モータの停止、加減速
時にディスエーブルとなるモータ定速信号、12はモー
タの駆動パルスに比較して充分速いクロック信号、10
は駆動パルス入力端子17への人力およびモータ定速信
号IXの人力によって信号を出力するアントゲート、1
3はカウンタ回路、14はラッチ回路、15はI)−A
変換回路である。なお、第4図に示した要素と同様の要
素には同一の符号を付してその説明は省略する。Fig. 1 is a circuit diagram of a stepping motor control circuit showing an embodiment of the present invention. speed signal, 12 is a clock signal that is sufficiently fast compared to the motor drive pulse, 10
1 is an ant gate which outputs a signal by human power to the drive pulse input terminal 17 and human power to the motor constant speed signal IX;
3 is a counter circuit, 14 is a latch circuit, 15 is I)-A
It is a conversion circuit. Note that elements similar to those shown in FIG. 4 are designated by the same reference numerals, and their explanations will be omitted.
モータ駆動パルス入力端子17に駆動パルスが人力され
ると、モータか定速動作中であれはアンドケート10よ
り信号か出力し、カウンタ回路13に人力する。カウン
タ回路13ではこの信号の立上がりエツジでクロック信
号12のクロックパルスをカウントし始め、立ち下りエ
ツジてそのカウントされた値をラッチし、ラッチ回路1
4に保持する。ラッチ回路14に保持された値はD−A
変換回路15に人力され、入力した値に応じてあらかし
め設定された電圧を出力しコンパレータ9の基準電圧と
する。When a drive pulse is manually input to the motor drive pulse input terminal 17, a signal is output from the ANDKET 10 if the motor is operating at a constant speed, and the signal is input to the counter circuit 13. The counter circuit 13 starts counting the clock pulses of the clock signal 12 at the rising edge of this signal, and latches the counted value at the falling edge.
Hold at 4. The value held in the latch circuit 14 is D-A
The conversion circuit 15 is manually inputted and outputs a preset voltage according to the input value, which is used as a reference voltage for the comparator 9.
この様子を第2図に示す信号チャートを参照してさらに
詳しく説明する。ます、モータ駆動パルスか入力端子1
7に人力すると(図中A)、モータ定速信号11かイネ
ーブル(図中E)なのてアントケート10からアントケ
ート出力信号を得る(図中B)。なお、干−夕定速信号
11はモータの停止中やスローアップ・ダウン動作中は
ディスエーブル状態にある。アントゲート出力信号はカ
ウンタ回路13に人力し、その立上がりエツジによりク
ロック信号12のクロックパルスのカウントをスタート
させる(図中C)。アンドケート出力信号の立ち下がり
エツジで、カウントした値はラッチ回路14に保持され
(図中D)、DA変換回路15に人力する。DA変換回
路15は人力した値に応じて予め設定された電圧を出力
する(図中F)。DA変換回路出力電圧のチャートから
明らかなように駆動パルスの短い時、すなわちモータ速
度の速い時は高い基準電圧を、また駆動パルスの長い時
(図中G)、すなわち千−夕速度の遅い時は低い基準電
圧を出力する。この出力はコンパレータ9の基準電圧と
なっているので、従来例で説明したようにこの値に応し
て定電流回路の電流値か定められる(図中H)。This situation will be explained in more detail with reference to the signal chart shown in FIG. First, motor drive pulse or input terminal 1
7 (A in the figure), the motor constant speed signal 11 is enabled (E in the figure) and an anchor output signal is obtained from the anchor 10 (B in the figure). Note that the constant speed signal 11 is in a disabled state when the motor is stopped or during slow-up/down operation. The ant gate output signal is input to the counter circuit 13, and its rising edge starts counting the clock pulses of the clock signal 12 (C in the figure). At the falling edge of the ANDKATE output signal, the counted value is held in the latch circuit 14 (D in the figure) and input to the DA conversion circuit 15. The DA conversion circuit 15 outputs a preset voltage according to the manually input value (F in the figure). As is clear from the chart of the DA conversion circuit output voltage, a high reference voltage is used when the drive pulse is short, that is, when the motor speed is high, and when the drive pulse is long (G in the figure), that is, when the motor speed is slow. outputs a low reference voltage. Since this output is the reference voltage of the comparator 9, the current value of the constant current circuit is determined according to this value as explained in the conventional example (H in the figure).
上側で示したような回路を用いることにより、千−夕を
速く動作させたい時はコンパレータ9の基!(電圧が高
くなり、巻線電流か増加し、低速て動作させたい時はコ
ンパレータ9の基準電圧は低くなり、巻線電流は減少す
る。すなわちモータの速度が変化しても、その速度に合
わせて最適の定電流値が自動的に設定される。By using the circuit shown above, when you want to make Chiyu operate faster, you can use the base of comparator 9! (When the voltage increases and the winding current increases, and when you want to operate at low speed, the reference voltage of comparator 9 becomes low and the winding current decreases.In other words, even if the motor speed changes, it will adjust to the speed.) The optimum constant current value is automatically set.
この結果、従来例のように速度を変えたためにトルク不
足になり、脱調してしまうとか、トルクか強すきてモー
タの動作音か犬きくなったり、モータの発熱か増大する
といった問題点が解消される。As a result, problems such as the lack of torque and step-out due to changing the speed, the excessive torque that causes the motor to make a loud operating noise, and the motor's heat generation increasing, as in the conventional example, are avoided. It will be resolved.
第3図は第2の実施例を示すステッピングモータ制御回
路の回路図であり、第1図に示したのと同様の要素には
同一の符号を付してその説明は省略する。図において1
9はモータ、20はスリット板、21は)オドセンサ、
22はフォトセンサ21の駆動および波形整形を行なう
センサ駆動回路である。FIG. 3 is a circuit diagram of a stepping motor control circuit showing a second embodiment. Elements similar to those shown in FIG. 1 are denoted by the same reference numerals and their explanations will be omitted. In the figure 1
9 is a motor, 20 is a slit plate, 21 is) an odometer,
22 is a sensor drive circuit that drives the photosensor 21 and shapes its waveform.
モータ19の回転軸にスリット板20か取付けられ、モ
ータ19の回転に伴なってスリット板20は回転し、セ
ンサ21はスリット板20のスリットを通過する光を検
知する毎に所定の信号を発生ずる。センサ駆動回路22
はフォトセンサ21からの信号を波形整形し、アンドゲ
ート10の一方の入力端子へ供給する。この波形整形さ
れた信号は第2図に示したモータ駆動パルスと同様な役
割を示すものとなる。この信号に基づき、第1の実施例
で説明したように信号のパルス幅を、クロック信号12
により計測することによりD−A変換回路15を介して
コンパレータ9の基準電圧とし、定電流回路における電
流値を定める。A slit plate 20 is attached to the rotating shaft of the motor 19, and the slit plate 20 rotates as the motor 19 rotates, and the sensor 21 generates a predetermined signal every time it detects light passing through the slit of the slit plate 20. arise. Sensor drive circuit 22
waveform-shapes the signal from the photosensor 21 and supplies it to one input terminal of the AND gate 10. This waveform-shaped signal plays a role similar to that of the motor drive pulse shown in FIG. Based on this signal, the pulse width of the signal is changed to the clock signal 12 as described in the first embodiment.
By measuring this, the reference voltage of the comparator 9 is determined via the DA conversion circuit 15, and the current value in the constant current circuit is determined.
本発明によれば、定速動作中におけるキャリッジ(モー
タ)の速度を相対的に表わす信号があれば、その信号を
アンドゲートlOに入力し、かつ予め信号に応じた値を
D−A変換回路15に設定しておけば速度変化に応して
電流値が変えられることは明白である。すなわち、モー
タの速度を示すいかなる信号でもこの発明を実現するこ
とがてきる。According to the present invention, if there is a signal that relatively represents the speed of the carriage (motor) during constant speed operation, that signal is input to the AND gate lO, and a value corresponding to the signal is input to the D-A converter circuit. It is clear that if the current value is set to 15, the current value can be changed in accordance with the speed change. That is, the present invention can be implemented with any signal indicating the speed of the motor.
[発明の効果]
以上の説明から明らかなように、本発明によればモータ
の回転速度にかかる信号に基つき、モータ駆動電流の電
流値か定められる。[Effects of the Invention] As is clear from the above description, according to the present invention, the current value of the motor drive current is determined based on the signal related to the rotational speed of the motor.
この結果、モータを速度を変化させて駆動した場合ても
、適正なトルクで駆動てきるという効果か得られた。As a result, even when the motor was driven at varying speeds, the motor could be driven with appropriate torque.
また、速度と電流値との不適合によって生ずるモータの
発熱、脱調あるいは騒音を防止できるという効果も得ら
れた。Furthermore, it was also possible to prevent heat generation, step-out, and noise of the motor caused by mismatch between speed and current value.
第1′図は本発明の一実施例を示すステッピングモータ
制御回路の回路図、
第2図は第1図に示した回路における信号波形のチャー
ト、
第3図は第2の実施例を示すステッピングモータ制御回
路の回路図、
第4図は従来例を示すステッピングモータ制御回路の回
路図である。
11・・・モータ定速信号、
12・・・クロック信号、
13・・・カウンタ回路、
14・・・ラッチ回路、
15・・・D−A変換回路、
20・・・スリット板、
21・・・フォトセンサ、
22・・・センサ駆動回路。
従来例にお(−
するモータ制御回路の回路図
第4図Fig. 1' is a circuit diagram of a stepping motor control circuit showing one embodiment of the present invention, Fig. 2 is a chart of signal waveforms in the circuit shown in Fig. 1, and Fig. 3 is a stepping motor control circuit showing a second embodiment. Circuit diagram of motor control circuit FIG. 4 is a circuit diagram of a conventional stepping motor control circuit. DESCRIPTION OF SYMBOLS 11... Motor constant speed signal, 12... Clock signal, 13... Counter circuit, 14... Latch circuit, 15... D-A conversion circuit, 20... Slit plate, 21... - Photo sensor, 22... sensor drive circuit. Circuit diagram of the motor control circuit according to the conventional example (- Fig. 4)
Claims (1)
ータ速度信号発生手段と、 該モータ速度信号発生手段が発生するパルス信号のパル
ス幅に応じて前記モータの駆動電流値を定める電流値決
定回路と を具えたことを特徴とするステッピングモータ制御回路
。[Scope of Claims] 1) Motor speed signal generation means for generating a pulse signal related to the rotational speed of the motor, and a drive current value of the motor according to the pulse width of the pulse signal generated by the motor speed signal generation means. A stepping motor control circuit comprising: a current value determining circuit for determining a current value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5175788A JPH01227698A (en) | 1988-03-07 | 1988-03-07 | Stepping motor controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5175788A JPH01227698A (en) | 1988-03-07 | 1988-03-07 | Stepping motor controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01227698A true JPH01227698A (en) | 1989-09-11 |
Family
ID=12895814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5175788A Pending JPH01227698A (en) | 1988-03-07 | 1988-03-07 | Stepping motor controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01227698A (en) |
-
1988
- 1988-03-07 JP JP5175788A patent/JPH01227698A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5210474A (en) | Digital-analog driver for brushless D.C. spindle motor | |
US20080107408A1 (en) | Motor Driving Apparatus | |
JPS58172992A (en) | Drive circuit for motor | |
EP0108732B1 (en) | A device for controlling a reluctance motor | |
JPH01227698A (en) | Stepping motor controller | |
JP2613872B2 (en) | Step motor drive circuit | |
JP2526442B2 (en) | Disk unit | |
JPH1118474A (en) | Motor drive circuit | |
JPS5911797A (en) | Driving method and device for step motor | |
JPS6223550B2 (en) | ||
JPH01283098A (en) | Stepping motor control circuit | |
JPH0279798A (en) | Step motor | |
JPS62213599A (en) | Driving device for stepping motor | |
JPS5947560B2 (en) | Electromagnetic joint control device | |
JPS6135198A (en) | Drive circuit of stepping motor | |
JPH06195862A (en) | Disk device | |
JPH06113594A (en) | Step motor control system | |
KR820001772B1 (en) | Current control system for a stepping motor | |
JPS591440Y2 (en) | Motor drive circuit | |
JPS6025397U (en) | Step motor rotation control device | |
SU1121764A1 (en) | D.c.drive | |
SU1693696A1 (en) | Stabilized rectifier drive | |
SU1387125A1 (en) | Thyratron motor | |
JPS596783A (en) | Control system for dc motor | |
JPS6091899A (en) | Driving method of stepping motor |