JP2000184790A - Motor controller - Google Patents

Motor controller

Info

Publication number
JP2000184790A
JP2000184790A JP35607398A JP35607398A JP2000184790A JP 2000184790 A JP2000184790 A JP 2000184790A JP 35607398 A JP35607398 A JP 35607398A JP 35607398 A JP35607398 A JP 35607398A JP 2000184790 A JP2000184790 A JP 2000184790A
Authority
JP
Japan
Prior art keywords
phase
motor
pulse signal
pulse
interval
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
JP35607398A
Other languages
Japanese (ja)
Inventor
Yasuhiro Wada
泰弘 和田
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.)
Funai Electric Co Ltd
Original Assignee
Funai Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Funai Electric Co Ltd filed Critical Funai Electric Co Ltd
Priority to JP35607398A priority Critical patent/JP2000184790A/en
Publication of JP2000184790A publication Critical patent/JP2000184790A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce uneven rotation of a pulse motor. SOLUTION: The intervals of pulse signals P0, P1, P2, P3, P4,... formed to meet rotational speed with a preset target are corrected using a prescribed correction table to obtain pulse signals P10, P11, P12, P13, P14,.... That is, the pulse signal P11 is corrected so as to shorten the interval of the pulse signal based on a correction amount which the prescribed correction table indicates, and the pulse signal P12 is corrected so as to extend the interval of the pulse signal based on a correction amount which the prescribed correction table indicates.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、パルスモータを駆
動制御するモータ制御装置、特に目標設定される回転速
度に対応して生成されるパルス信号に特徴を有するモー
タ制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a motor control device for driving and controlling a pulse motor, and more particularly to a motor control device characterized by a pulse signal generated corresponding to a target rotation speed.

【0002】[0002]

【従来の技術】ステッピングモータは、パルスの数を変
位に変換する目的に用いられる電動機であって、パルス
モータとも呼ばれる。具体的には、与えられたパルス信
号の一つに対応してその回転子が所定の角度だけ回転す
る構成にしてあって、このため、パルスの数に基づいて
回転角度を制御することが可能である。
2. Description of the Related Art A stepping motor is an electric motor used for converting the number of pulses into a displacement, and is also called a pulse motor. Specifically, the rotor is configured to rotate by a predetermined angle in response to one of the given pulse signals, so that the rotation angle can be controlled based on the number of pulses. It is.

【0003】更に詳述すると、ステッピングモータはパ
ルス信号を受けると、その時点の回転子のフェーズに応
じて励磁すべき固定子、即ち電磁石を選択し、これに所
定量の電流を供給して励磁させ、回転子の磁極を励磁し
た電磁石と対応する方向へ吸引して停止させる。また、
ステッピングモータにパルス信号を連続して供給するこ
とにより、回転子を回動自在に駆動制御することができ
る。前述の如きステッピングモータはデジタル制御が容
易であることから、例えば熱転写プリンタ,シリアルプ
リンタなどの印刷装置において、キャリッジ駆動機構及
び紙送り機構などに採用されている。
More specifically, when a stepping motor receives a pulse signal, it selects a stator to be excited, ie, an electromagnet, according to the phase of the rotor at that time, and supplies a predetermined amount of current to the excitation to excite it. Then, the magnetic poles of the rotor are attracted in the direction corresponding to the excited electromagnet and stopped. Also,
By continuously supplying the pulse signal to the stepping motor, the rotor can be rotatably driven and controlled. Since the above-described stepping motor is easily digitally controlled, it is employed in a carriage driving mechanism, a paper feeding mechanism, and the like in a printing apparatus such as a thermal transfer printer or a serial printer.

【0004】前記ステッピングモータを駆動する電流の
供給パターンには、1相励磁,2相同時励磁,1−2相
交代励磁及びW1−2相交代励磁などがあって、前述の
印刷装置においては、主に1−2相交代励磁及びW1−
2相交代励磁が採用されている。
The current supply pattern for driving the stepping motor includes one-phase excitation, two-phase simultaneous excitation, 1-2-phase alternating excitation, W1-2-phase alternating excitation, and the like. Mainly 1-2 phase alternating excitation and W1-
Two-phase alternating excitation is employed.

【0005】1−2相交代励磁によるステッピングモー
タの駆動方法は、回転子のフェーズに対応する各電磁
石、即ち各相を一つずつ順に励磁して基本ステップ角度
で回転させる1相励磁と、相互に隣位する2相を同時に
励磁し、フェーズの切換えにおいていずれか一つの相の
励磁を切り換える2相同時励磁とを交互に繰り返す方法
である。この駆動方法によると、供給される電流に応じ
て回転子を1相励磁による停止位置又はこの基本ステッ
プ角度の1/2だけ回転させた2相同時励磁による停止
位置のいずれかに停止させることが可能である。例え
ば、回転子を1回転させるために、1相励磁によると4
ステップを要するとき、1−2相交代励磁によるとその
倍の8ステップを要する。その特徴は、1相励磁又は2
相同時励磁と比較してステップ幅を細かく制御すること
が可能であって、しかも駆動時の騒音の低減及び高速駆
動の安定化に優れた効果を奏する。
[0005] The driving method of the stepping motor by the 1-2-phase alternating excitation is that each electromagnet corresponding to the phase of the rotor, that is, one-phase excitation that sequentially excites each phase one by one and rotates at the basic step angle, In this method, two adjacent phases are simultaneously excited, and two-phase simultaneous excitation in which the excitation of one of the phases is switched in the phase switching is alternately repeated. According to this driving method, the rotor can be stopped at one of a stop position by one-phase excitation or a stop position by two-phase simultaneous excitation rotated by の of the basic step angle according to the supplied current. It is possible. For example, in order to rotate the rotor once, according to one-phase excitation, 4
When steps are required, eight steps are required, which is twice that of the 1-2 phase alternating excitation. Its features are 1-phase excitation or 2
It is possible to finely control the step width as compared with the simultaneous phase excitation, and it is also excellent in reducing noise during driving and stabilizing high-speed driving.

【0006】W1−2相交代励磁によるステッピングモ
ータの駆動方法は、前述の如き1−2相交代励磁の基本
ステップ角度の更に1/2幅を駆動制御する方法であっ
て、各相について、電流を1相励磁における値とそれよ
り低い二つの中間値とに供給可能になしておき、フェー
ズの切換えにおいて一つの相の励磁を前記中間値を用い
て段階的に増加又は減少させることにより実現してい
る。この駆動方法は、供給される電流に応じて回転子を
1−2相交代励磁による停止位置又はこの基本ステップ
角度の1/2だけ回転させた停止位置のいずれかに停止
させる。例えば、回転子を1回転させるために、1−2
相交代励磁によると8ステップを要するとき、W1−2
相交代励磁によるとその倍の16ステップを要する。その
特徴は、上述の1−2相交代励磁よりステップ幅を細か
く制御することが可能であるため、高い精度が要求され
る場合に用いられる。
A method of driving a stepping motor by W1-2-phase alternating excitation is a method of driving and controlling a half width of the basic step angle of the 1-2-phase alternating excitation as described above. Can be supplied to a value in one-phase excitation and two lower intermediate values, and the phase is switched by stepwise increasing or decreasing excitation of one phase using the intermediate value. ing. According to this driving method, the rotor is stopped at either a stop position by 1-2 phase alternating excitation or a stop position rotated by 1 / of the basic step angle in accordance with the supplied current. For example, in order to rotate the rotor once, 1-2
According to the phase shift excitation, when eight steps are required, W1-2
According to the phase shift excitation, 16 steps are required, twice as much. The feature is that it is possible to control the step width finer than the above-mentioned 1-2 phase alternating excitation, and is used when high accuracy is required.

【0007】図5は1−2相交代励磁及びW1−2相交
代励磁の電流供給タイミングの一例を説明するためのタ
イミングチャートである。図5(1-A) 及び図5(1-B)
は、1−2相交代励磁におけるA相(例えば、横方向と
対応)及びB相(同、縦方向と対応)の電流供給タイミ
ングを夫々表している。この1−2相交代励磁において
は、A相,B相夫々に5段階の電流量が設定可能であっ
て、1周を基本ステップ角度で分割した8つのフェーズ
について、例えば回転子の磁極を0時の方向と対応する
フェーズ0に駆動するには、横方向のモーメントを与え
るA相には電流を供給せず、縦方向のモーメントを与え
るB相にのみ電流を供給する。また1時30分の方向と対
応するフェーズ1に駆動するには、A相及びB相に同等
の電流を供給する。
FIG. 5 is a timing chart for explaining an example of the current supply timing of the 1-2-phase alternating excitation and the W1-2-phase alternating excitation. FIG. 5 (1-A) and FIG. 5 (1-B)
Represents the current supply timing of the A phase (corresponding to the horizontal direction) and the B phase (corresponding to the vertical direction) in the 1-2 phase alternating excitation, respectively. In this 1-2-phase alternating excitation, five stages of current amounts can be set for each of the A phase and the B phase. For eight phases obtained by dividing one round by a basic step angle, for example, the rotor magnetic pole is set to 0. In order to drive to the phase 0 corresponding to the time direction, no current is supplied to the phase A that gives a horizontal moment, and only the current B is supplied to the phase B that gives a vertical moment. To drive to phase 1 corresponding to the direction of 1:30, equivalent currents are supplied to the A phase and the B phase.

【0008】一方、図5(2-A) 及び図5(2-B) は、W1
−2相交代励磁におけるA相及びB相の電流供給タイミ
ングを夫々表している。このW1−2相交代励磁におい
ては、A相,B相夫々に7段階の電流量が設定可能であ
って、1周を基本ステップ角度で分割した16のフェーズ
について、例えば回転子の磁極を0時の方向と対応する
フェーズ0に駆動するには、A相に電流を供給せず、B
相に-100%の電流を供給する。また0時45分の方向と対
応するフェーズ1に駆動するには、A相に略40%の電流
を供給し、B相にフェーズ0と同じく-100%の電流を供
給する。更にまた、1時30分の方向と対応するフェーズ
2に駆動するには、A相及びB相に略70%の電流を供給
する。
On the other hand, FIGS. 5 (2-A) and 5 (2-B) show W1
4 shows the current supply timings of the A-phase and the B-phase in the -2 phase alternating excitation, respectively. In the W1-2-phase alternating excitation, seven phases of current amounts can be set for each of the A phase and the B phase. For 16 phases obtained by dividing one round by the basic step angle, for example, the rotor magnetic pole is set to 0. To drive to phase 0 corresponding to the time direction, no current is supplied to phase A and B
Supply -100% current to the phase. To drive to phase 1 corresponding to the direction of 0:45, a current of about 40% is supplied to phase A, and a current of -100% is supplied to phase B as in phase 0. Furthermore, in order to drive to the phase 2 corresponding to the direction of 1:30, approximately 70% of the current is supplied to the A phase and the B phase.

【0009】図6はステッピングモータの速度制御を説
明する速度線図であって、横軸には時間を、また縦軸に
はステッピングモータの回転速度の目標値を夫々対応付
けて表している。図において、速度線が上り傾向を示す
時刻T0から時刻T1までは、回転速度を加速する第I
期を表している。ステッピングモータの回転速度は、単
位時間当たりのパルス信号の数に比例する。例えば、単
位時間当たりに与えられるパルス信号が一つの場合に回
転速度400ppsで駆動されるとき、駆動開始から単位時間
毎に与えるパルス信号を一つ,二つ,三つ,…と増加さ
せることにより、最初の単位時間において400ppsに達
し、次の単位時間において800ppsに達し、更にその次の
単位時間において1200ppsに達する。言い換えると、前
記回転速度はパルス信号の間隔に反比例する。従ってス
テッピングモータへ与えるパルス信号の間隔を徐々に短
くすることにより、その回転速度が加速される。
FIG. 6 is a speed diagram for explaining the speed control of the stepping motor, in which the horizontal axis represents time, and the vertical axis represents the target value of the rotation speed of the stepping motor. In the figure, the rotation speed is accelerated from time T0 to time T1 when the speed line shows an upward tendency.
Represents the period. The rotation speed of the stepping motor is proportional to the number of pulse signals per unit time. For example, when driving at a rotational speed of 400 pps when there is one pulse signal given per unit time, by increasing the pulse signals given per unit time from the start of driving to 1, 2, 3, ... Reaches 400 pps in the first unit time, reaches 800 pps in the next unit time, and reaches 1200 pps in the next unit time. In other words, the rotation speed is inversely proportional to the pulse signal interval. Therefore, the rotation speed is accelerated by gradually shortening the interval between the pulse signals applied to the stepping motor.

【0010】速度線が横這い傾向を示す時刻T1から時
刻T2までは、回転速度を一定に保って駆動する第II期
を表しており、この期間、ステッピングモータへ与える
パルス信号の間隔は一定に保たれる。また、速度線が下
り傾向を示す時刻T2から時刻T3までは、回転速度を
減速する第III 期を表しており、この期間、ステッピン
グモータへ与えるパルス信号の間隔を、時間の経過に伴
って徐々に長くするように制御される。
The period from time T1 to time T2, at which the speed line shows a tendency to level, represents the second period in which the driving is performed while the rotation speed is kept constant. During this period, the interval between pulse signals given to the stepping motor is kept constant. Dripping. In addition, the period from time T2 to time T3 at which the speed line shows a downward trend represents the third period in which the rotation speed is reduced. During this period, the interval of the pulse signal to be applied to the stepping motor is gradually increased with time. Is controlled to be longer.

【0011】特開平4−131265号公報において提案され
ている記録装置は、ステッピングモータの加速時の速度
制御に特徴を有する発明であって、ステッピングモータ
の駆動力を、ギヤ列などを用いてなる伝動機構を介して
搬送ローラへ伝達する機構において、駆動開始から所定
パルス数を低速度で駆動することにより、搬送方向を逆
転したとき、搬送ローラに駆動力が伝達されるまでのバ
ックラッシュ期間に前記ステッピングモータが加速さ
れ、駆動力が搬送ロールへ伝達された時点にトルクの急
激な変化を生じて前記ステッピングモータが脱調するこ
との防止を目的とする。
A recording apparatus proposed in Japanese Patent Application Laid-Open No. 4-131265 is an invention characterized by speed control during acceleration of a stepping motor, wherein the driving force of the stepping motor is controlled by using a gear train or the like. By transmitting a predetermined number of pulses at a low speed from the start of driving, the backlash period until the driving force is transmitted to the transport roller when the transport direction is reversed by a mechanism that transmits to the transport roller via the transmission mechanism. An object of the present invention is to prevent the stepping motor from accelerating and causing a sudden change in torque when the driving force is transmitted to the transport roll to prevent the stepping motor from stepping out.

【0012】ところで、印刷装置に採用されているステ
ッピングモータにおいては、それにより駆動される負荷
の運動特性などに起因して、各フェーズ間の制動トルク
に若干の差異が存在する。例えば、ステッピングモータ
をフェーズ0からフェーズ1まで駆動するときの制動ト
ルクと、フェーズ1からフェーズ2まで駆動するときの
制動トルクとは一致しない。このような状況において、
例えば回転速度を一定に保って駆動すべくパルス信号を
均等な間隔で与えると、特定のフェーズ間において回転
ムラを生じてしまう。この回転ムラは、ステッピングモ
ータの回転速度の実測値を表す速度線図の波打ち、およ
びその立ち上がりエッジのリンギングとなって現れ、こ
れが印字品質の劣化及び騒音の発生などの不具合を発生
させる。
By the way, in the stepping motor used in the printing apparatus, there is a slight difference in the braking torque between the phases due to the movement characteristics of the load driven by the stepping motor. For example, the braking torque when driving the stepping motor from phase 0 to phase 1 does not match the braking torque when driving the stepping motor from phase 1 to phase 2. In such a situation,
For example, if pulse signals are given at equal intervals in order to drive while keeping the rotation speed constant, rotation unevenness occurs between specific phases. The rotation unevenness appears as waving of a speed diagram representing the measured value of the rotation speed of the stepping motor and ringing of the rising edge thereof, which causes problems such as deterioration of print quality and generation of noise.

【0013】従来は、駆動機構部の総合的な精度を向上
させるか、または駆動の安定性に優れたステッピングモ
ータを採用することにより、前述の如き回転ムラの低減
を図っていた。また、回転速度が低速である場合には回
転ムラも小さくなるため、印刷装置の仕様設計におい
て、動作時の回転ムラが不具合の原因とはならない程度
に、ステッピングモータの速度制限を設けることも行わ
れていた。
Conventionally, the above-described rotation unevenness has been reduced by improving the overall accuracy of the driving mechanism or by employing a stepping motor having excellent driving stability. In addition, when the rotation speed is low, the rotation unevenness is reduced. Therefore, in the specification design of the printing apparatus, it is also necessary to limit the speed of the stepping motor so that the rotation unevenness during operation does not cause a problem. Had been

【0014】[0014]

【発明が解決しようとする課題】ところが、印刷装置に
対する印刷速度の高速化への要求は強く、これに対応す
ることが重要な課題となっている。しかし、ステッピン
グモータの回転速度を高速化することは回転ムラを増大
させる要因となるため、これにより発生する印字品質の
劣化及び騒音の発生などの不具合を解決しなければなら
ないという問題があった。
However, there is a strong demand for a printing apparatus to increase the printing speed, and responding to this is an important issue. However, increasing the rotation speed of the stepping motor causes an increase in rotation unevenness. Therefore, there has been a problem that problems such as deterioration of print quality and generation of noise caused by the increase must be solved.

【0015】本発明は斯かる事情に鑑みてなされたもの
であって、目標設定される回転速度に対応して生成され
るパルス信号の間隔を、ステッピングモータのフェーズ
毎の制動トルクに応じて制御すべくなすことにより、回
転ムラの低減を図るモータ制御装置の提供を目的とす
る。
The present invention has been made in view of the above circumstances, and controls the interval between pulse signals generated corresponding to a target rotation speed in accordance with a braking torque for each phase of a stepping motor. It is an object of the present invention to provide a motor control device that reduces rotation unevenness by doing as much as possible.

【0016】[0016]

【課題を解決するための手段】本発明に係るモータ制御
装置は、回転速度の切り換えタイミングを表す速度制御
テーブルを有し、該速度制御テーブルに基づき目標設定
される回転速度に対応するパルス信号を生成し、これを
モータへ与えることで該モータの回転子を基本ステップ
角度毎に駆動制御するモータ制御装置において、前記モ
ータの基本ステップ角度毎の停止位置である各フェーズ
について、これを駆動開始位置とする駆動順序が連続す
るフェーズ間に対応付けて、パルス信号の間隔の補正量
を夫々格納する補正テーブルと、駆動開始位置のフェー
ズを識別し、これに応じて前記補正テーブルを参照して
得た補正量により、生成したパルス信号の間隔を補正す
る手段と、間隔を補正したパルス信号を前記モータへ与
える手段とを備えることを特徴とする。
SUMMARY OF THE INVENTION A motor control device according to the present invention has a speed control table indicating switching timing of a rotation speed, and generates a pulse signal corresponding to a rotation speed set based on the speed control table. In a motor control device that generates and supplies this to a motor to control the drive of a rotor of the motor at each basic step angle, the motor control device sets the drive start position for each phase that is a stop position at each basic step angle of the motor. The correction table storing the correction amount of the pulse signal interval and the phase of the driving start position are identified in association with the phases in which the driving order is continuous, and the phase is obtained by referring to the correction table accordingly. Means for correcting the interval between the generated pulse signals according to the correction amount, and means for supplying the pulse signal with the corrected interval to the motor. It is characterized in.

【0017】図3は本発明に係る補正テーブルの概念を
説明するための概念図である。図3(a) は駆動開始時の
フェーズが0である場合の補正テーブルを図示したもの
であって、横軸にはフェーズを、また縦軸にはパルス信
号の間隔の補正量を夫々対応付けて表している。また図
3(b) ,図3(c) 及び図3(d) は駆動開始時のフェーズ
が、夫々1,2及び3である場合の補正テーブルを図3
(a) と同様に図示したものである。
FIG. 3 is a conceptual diagram for explaining the concept of the correction table according to the present invention. FIG. 3A shows a correction table when the phase at the start of driving is 0, in which the horizontal axis corresponds to the phase, and the vertical axis corresponds to the correction amount of the pulse signal interval. Is shown. FIGS. 3 (b), 3 (c) and 3 (d) show correction tables in the case where the phases at the start of driving are 1, 2 and 3, respectively.
This is illustrated similarly to FIG.

【0018】例えば、駆動開始時のフェーズが0である
場合は、図3(a) に表した補正テーブルを用い、図中A
点が示す補正量に基づいて最初のパルス信号、即ちフェ
ーズ0からフェーズ1へ駆動するパルス信号から、次の
パルス信号までの間隔を短縮するように補正を行う。ま
た図中B点が示す補正量に基づいて、前記パルス信号か
ら更に次のパルス信号までの間隔を延長するように補正
を行う。一方、駆動開始時のフェーズが1,2又は3で
ある場合には、夫々図3(b) ,図3(c) 又は図3(d) に
表した補正テーブルを用いて、適宜にパルス信号の間隔
の補正を行う。以上の如き補正テーブルは、実験値に基
づいて予め設定しておく。また、逆転方向についても同
様の補正テーブルを設定しておく。
For example, when the phase at the start of driving is 0, the correction table shown in FIG.
The correction is performed based on the correction amount indicated by the point so as to shorten the interval from the first pulse signal, that is, the pulse signal driven from phase 0 to phase 1 to the next pulse signal. Further, based on the correction amount indicated by the point B in the figure, the correction is performed so as to extend the interval from the pulse signal to the next pulse signal. On the other hand, if the phase at the start of driving is 1, 2 or 3, the pulse signal is appropriately adjusted using the correction tables shown in FIGS. 3 (b), 3 (c) and 3 (d), respectively. Correct the interval of. The correction table as described above is set in advance based on experimental values. A similar correction table is set for the reverse rotation direction.

【0019】図4は前記補正テーブルを用いてパルス信
号の間隔を補正したパルス信号を説明するための概念図
である。図4(a) は目標設定された回転速度に対応して
生成されたパルス信号P0,P1,P2,P3,P4,…を表して
おり、また図4(b) は図4(a) に表すパルス信号の間隔
を、図3(a) の補正テーブルを用いて補正して得たパル
ス信号P10 ,P11 ,P12 ,P13 ,P14 ,…を表してい
る。すなわち、図4(b) のパルス信号P11 はA点が示す
補正量に基づきパルス信号の間隔を短縮するように補正
されている。またパルス信号P12 はB点が示す補正量に
基づきパルス信号の間隔を延長するように補正されてい
る。
FIG. 4 is a conceptual diagram for explaining a pulse signal whose pulse signal interval has been corrected using the correction table. FIG. 4A shows pulse signals P0, P1, P2, P3, P4,... Generated corresponding to the target rotation speed, and FIG. .. Represent pulse signals P10, P11, P12, P13, P14,... Obtained by correcting the intervals of the represented pulse signals by using the correction table of FIG. That is, the pulse signal P11 in FIG. 4B is corrected based on the correction amount indicated by the point A so as to shorten the interval between the pulse signals. The pulse signal P12 is corrected based on the correction amount indicated by the point B so as to extend the interval between the pulse signals.

【0020】以上のように、この発明においては、実験
値に基づき前述の如き補正テーブルを予め設定してお
き、該補正テーブルを用いてパルス信号の間隔を制御す
ることにより、回転ムラを低減することができる。
As described above, in the present invention, the above-described correction table is set in advance based on experimental values, and the interval between pulse signals is controlled using the correction table to reduce rotation unevenness. be able to.

【0021】[0021]

【発明の実施の形態】図1は本発明に係るモータ制御装
置の構成を示すブロック図である。図において、ROM
1に格納してあるRampテーブル2は、回転速度の切り換
えタイミングを表す速度制御テーブルであって、これは
Rampデータ補正回路3により読み出し可能になしてあ
る。Rampデータ補正回路3には、順序が連続するフェー
ズ間の制動トルクの差異に応じたパルス信号の間隔の補
正量を格納する、前述の如き補正テーブル4が駆動開始
時のフェーズに応じて複数設けてある。またRampデータ
補正回路3は、駆動方向の設定を受け付けるべくなして
あって、所定のトリガ信号を受け付けたとき、ROM1
に格納してあるRampテーブル2及びフェーズレジスタ5
に格納してあるモータのフェーズ情報を読み出し、また
設定してある駆動方向に基づいてパルス信号の間隔を表
すパルスデータを生成し、これをパルス生成回路6へ与
える。
FIG. 1 is a block diagram showing the configuration of a motor control device according to the present invention. In the figure, ROM
Ramp table 2 stored in 1 is a speed control table indicating the switching timing of the rotation speed.
The data can be read by the Ramp data correction circuit 3. The Ramp data correction circuit 3 is provided with a plurality of correction tables 4 for storing the correction amount of the pulse signal interval corresponding to the difference of the braking torque between the successive phases according to the phase at the start of driving. It is. The Ramp data correction circuit 3 is adapted to receive the setting of the drive direction, and when a predetermined trigger signal is received, the ROM 1
Table 2 and phase register 5 stored in
Is read out, and pulse data representing a pulse signal interval is generated based on the set driving direction, and the pulse data is supplied to the pulse generation circuit 6.

【0022】パルス生成回路6は高周波クロックを受け
付けるべくなしてあって、与えられたパルスデータに従
ってパルス信号をモータドライバ7へ与える。モータド
ライバ7はパルス信号を受けたとき、所定の駆動方法、
即ち電流の供給パターンに基づく所定の電流をモータ8
へ供給する。またパルス生成回路6は、パルス信号を出
力する都度、フェーズ識別回路9へトリガ信号を与え
る。フェーズ識別回路9は駆動方向の設定を受け付ける
べくなしてあって、トリガ信号を受け付けたとき、設定
してある駆動方向に基づきフェーズの遷移を識別して、
これをフェーズレジスタ5へ格納する。
The pulse generating circuit 6 is adapted to receive a high-frequency clock, and provides a pulse signal to the motor driver 7 in accordance with given pulse data. When receiving the pulse signal, the motor driver 7 performs a predetermined driving method,
That is, a predetermined current based on the current supply pattern is supplied to the motor 8.
Supply to Each time the pulse generation circuit 6 outputs a pulse signal, it supplies a trigger signal to the phase identification circuit 9. The phase identification circuit 9 is adapted to receive the setting of the driving direction, and upon receiving a trigger signal, identifies a phase transition based on the set driving direction,
This is stored in the phase register 5.

【0023】図2は本発明に係るモータ制御装置の動作
手順を示すフローチャートである。Rampデータ補正回路
3はトリガ信号を受けたとき、フェーズレジスタ5に格
納してあるフェーズ情報を読み出す(S1)。読み出したフ
ェーズ情報及び設定してある駆動方向に基づきRampテー
ブル2を選択して(S2)、Rampデータを読み出す(S3)。そ
して、読み出したRampデータを補正テーブル4に基づく
補正を施してパルスデータを生成し(S4)、これをパルス
生成回路6へ与える。パルス生成回路6はパルスデータ
に従いパルス信号を生成し(S5)、これをモータドライバ
7へ与えてモータ8を駆動する(S6)。選択したRampテー
ブル2からRampデータを読み出し(S7)、データエンドで
あるか否かを判別して(S8)、データエンドでない場合は
S4に処理を戻し、以降の手順を繰り返す。また、デー
タエンドであると判別した場合は、処理を終了する。
FIG. 2 is a flowchart showing the operation procedure of the motor control device according to the present invention. When receiving the trigger signal, the Ramp data correction circuit 3 reads the phase information stored in the phase register 5 (S1). The Ramp table 2 is selected based on the read phase information and the set driving direction (S2), and Ramp data is read (S3). Then, the read Ramp data is corrected based on the correction table 4 to generate pulse data (S4), and this is supplied to the pulse generation circuit 6. The pulse generation circuit 6 generates a pulse signal according to the pulse data (S5), and supplies the pulse signal to the motor driver 7 to drive the motor 8 (S6). The Ramp data is read from the selected Ramp table 2 (S7), and it is determined whether or not the data is end (S8). If not, the process returns to S4 and the subsequent steps are repeated. If it is determined that the data end has occurred, the process ends.

【0024】[0024]

【発明の効果】以上の如き本発明のモータ制御装置によ
っては、モータのフェーズ毎の制動トルクに応じてパル
ス信号の間隔の補正量を規定する補正テーブルを予め設
定しておき、この補正テーブルに従ってパルス信号の間
隔を制御するから、回転ムラの低減に優れた効果を奏す
る。
According to the motor control device of the present invention as described above, a correction table for defining the correction amount of the interval between pulse signals in accordance with the braking torque for each phase of the motor is set in advance, and according to this correction table. Since the interval between pulse signals is controlled, an excellent effect of reducing rotation unevenness can be obtained.

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

【図1】本発明に係るモータ制御装置の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing a configuration of a motor control device according to the present invention.

【図2】本発明に係るモータ制御装置の動作手順を示す
フローチャートである。
FIG. 2 is a flowchart showing an operation procedure of the motor control device according to the present invention.

【図3】本発明に係る補正テーブルの概念を説明するた
めの概念図である。
FIG. 3 is a conceptual diagram for explaining the concept of a correction table according to the present invention.

【図4】本発明に係る補正テーブルを用いてパルス信号
の間隔を補正したパルス信号を説明するための概念図で
ある。
FIG. 4 is a conceptual diagram for explaining a pulse signal whose pulse signal interval has been corrected using the correction table according to the present invention.

【図5】1−2相交代励磁及びW1−2相交代励磁の電
流供給タイミングの一例を説明するためのタイミングチ
ャートである。
FIG. 5 is a timing chart for explaining an example of current supply timings of the 1-2 phase alternating excitation and the W1-2 phase alternating excitation.

【図6】ステッピングモータの速度制御を説明する速度
線図である。
FIG. 6 is a speed diagram illustrating speed control of a stepping motor.

【符号の説明】[Explanation of symbols]

2 Rampテーブル 3 Rampデータ補正回路 4 補正テーブル 5 フェーズレジスタ 6 パルス生成回路 9 フェーズ識別回路 2 Ramp table 3 Ramp data correction circuit 4 Correction table 5 Phase register 6 Pulse generation circuit 9 Phase identification circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 回転速度の切り換えタイミングを表す速
度制御テーブルを有し、該速度制御テーブルに基づき目
標設定される回転速度に対応するパルス信号を生成し、
これをモータへ与えることで該モータの回転子を基本ス
テップ角度毎に駆動制御するモータ制御装置において、 前記モータの基本ステップ角度毎の停止位置である各フ
ェーズについて、これを駆動開始位置とする駆動順序が
連続するフェーズ間に対応付けて、パルス信号の間隔の
補正量を夫々格納する補正テーブルと、 駆動開始位置のフェーズを識別し、これに応じて前記補
正テーブルを参照して得た補正量により、生成したパル
ス信号の間隔を補正する手段と、 間隔を補正したパルス信号を前記モータへ与える手段と
を備えることを特徴とするモータ制御装置。
A speed control table that indicates a switching timing of a rotation speed, and generates a pulse signal corresponding to a target rotation speed based on the speed control table;
A motor control device that controls the driving of the rotor of the motor for each basic step angle by providing the motor with the motor. A correction table for storing the correction amounts of the pulse signal intervals in association with the successive phases, and a correction amount obtained by referring to the correction table by identifying the phase of the drive start position and correspondingly identifying the phase. A motor control device comprising: means for correcting an interval between generated pulse signals; and means for supplying a pulse signal whose interval has been corrected to the motor.
JP35607398A 1998-12-15 1998-12-15 Motor controller Pending JP2000184790A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35607398A JP2000184790A (en) 1998-12-15 1998-12-15 Motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35607398A JP2000184790A (en) 1998-12-15 1998-12-15 Motor controller

Publications (1)

Publication Number Publication Date
JP2000184790A true JP2000184790A (en) 2000-06-30

Family

ID=18447196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35607398A Pending JP2000184790A (en) 1998-12-15 1998-12-15 Motor controller

Country Status (1)

Country Link
JP (1) JP2000184790A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006187151A (en) * 2004-12-28 2006-07-13 Yokogawa Electric Corp Method and device for correcting thrust ripple, and for position control
JP2011147273A (en) * 2010-01-14 2011-07-28 Ricoh Co Ltd Motor control device, image forming device, semiconductor integrated device, and motor control program
JP2015054153A (en) * 2013-09-13 2015-03-23 カシオ計算機株式会社 Nail printing equipment, and printing method for nail printing equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006187151A (en) * 2004-12-28 2006-07-13 Yokogawa Electric Corp Method and device for correcting thrust ripple, and for position control
JP2011147273A (en) * 2010-01-14 2011-07-28 Ricoh Co Ltd Motor control device, image forming device, semiconductor integrated device, and motor control program
JP2015054153A (en) * 2013-09-13 2015-03-23 カシオ計算機株式会社 Nail printing equipment, and printing method for nail printing equipment

Similar Documents

Publication Publication Date Title
US7205738B2 (en) Method and apparatus for time-based dc motor commutation
JP5656354B2 (en) Drive device
JP7210672B2 (en) Motor control device and image forming device
US5059883A (en) Method and apparatus for driving stepping motor
JP2000184790A (en) Motor controller
US6459229B1 (en) Motor control apparatus
JPS63112182A (en) Printer device
JP3362686B2 (en) Motor control device
EP0304704B1 (en) Method and apparatus for driving a stepper motor with multiple voltages
JP3034280B2 (en) Driving method and driving device for stepping motor
JPH09219995A (en) Drive method of stepping motor
JPH0614597A (en) Circuit and method for driving paper feed of printer
JP2008160900A (en) Stepping motor controller and printer
JPH0217895A (en) Driving of stepping motor
KR100346698B1 (en) Motor driving system of printer
KR20010113480A (en) Method of driving stepping motor for feeding paper of thermal printer
JPH10174493A (en) Control circuit of stepping motor
JP4449194B2 (en) Printing device
JP2747579B2 (en) Stepping motor control method
JP2000197389A (en) Motor controller
JP3458889B2 (en) Printing apparatus and control method thereof
JP3059118U (en) Stepping motor control device
JPH05207795A (en) Printer
JPH06296398A (en) Method and equipment for driving pulse motor
JP2005218188A (en) Driving method and driving device for stepping motor