JPH01218399A - Motor controller - Google Patents

Motor controller

Info

Publication number
JPH01218399A
JPH01218399A JP4084388A JP4084388A JPH01218399A JP H01218399 A JPH01218399 A JP H01218399A JP 4084388 A JP4084388 A JP 4084388A JP 4084388 A JP4084388 A JP 4084388A JP H01218399 A JPH01218399 A JP H01218399A
Authority
JP
Japan
Prior art keywords
output
rotor
signal
motor
encoder
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
JP4084388A
Other languages
Japanese (ja)
Inventor
Noriaki Itou
伊東 典晃
Akira Torisawa
鳥沢 章
Masaaki Kakizaki
正明 柿崎
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 JP4084388A priority Critical patent/JPH01218399A/en
Priority to DE8888117489T priority patent/DE3874280T2/en
Priority to EP88117489A priority patent/EP0313046B1/en
Priority to US07/401,483 priority patent/US4963808A/en
Publication of JPH01218399A publication Critical patent/JPH01218399A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、例えばパーソナルコンピュータ、ワードプロ
セッサ用のプリンタ等のオフィスオートメーション(0
^)機器に用いるようなモー′夕の制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is applicable to office automation (
^) Concerning control devices for motors used in equipment.

[従来の技術] ロータの磁極数の整数倍の被検出部を有するエンコーダ
と、ステータ側の所定箇所においてロータの回転に伴う
エンコーダの被検出部の数をカウントするカウント手段
とを備え、カウント手段のカウント値が所定値に一致し
たときにステータのコイルへの通電切り替えを行うモー
タ制御装置のモータ駆動信号発生器は、従来デジタルコ
ンパレータによってカウント値と所定値との比較を行い
、両者が一致したときにデジタルコンパレータが発生す
るパルスから、クロック発生手段等のフリップフロップ
がコイル通電信号を作り出すように構成されていた。
[Prior Art] An encoder having an integer multiple of the number of magnetic poles of a rotor, and a counting means for counting the number of detected parts of the encoder as the rotor rotates at a predetermined location on the stator side. Conventionally, the motor drive signal generator of the motor control device, which switches the energization to the stator coil when the count value of matches the predetermined value, uses a digital comparator to compare the count value and the predetermined value, and when the two match, A flip-flop, such as a clock generating means, was configured to generate a coil energization signal from a pulse generated by a digital comparator.

[発明が解決しようとする課題J しかしながら、このようなモータ駆動信号発生器におい
ては、誤動作や電気ノイズによってフリップフロップが
一旦正常な動作状態でなくなると修復が効かず、カウン
タをリセットして初期設定からやり直さなければならな
いという問題点があった。
[Problem to be Solved by the Invention J] However, in such a motor drive signal generator, once the flip-flop is no longer in a normal operating state due to malfunction or electrical noise, it cannot be repaired, and the counter must be reset to initialize. The problem was that I had to start over from scratch.

本発明の目的は、かかる問題点を解決し、耐ノイズ性に
優れ、確実な動作が可能なモータ制御装置を提供するこ
とにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a motor control device that solves these problems, has excellent noise resistance, and is capable of reliable operation.

[課題を解決するための手段] そのために、本発明は、ロータの軸に固定され、ロータ
の磁極数の整数倍の被検出部を有するエンコーダと、ロ
ータの回転に伴うエンコーダの被検出部の数をカウント
するカウント手段と、カウント手段のカウント値が所定
値に一致したときにステータのコイルへの通電切り替え
を行う手段とを備えたモータ制御装置において、該手段
はカウント手段が示す数値に対応する出力状態をとる複
数個のデジタルコンパレータと、当該出力状態に対応し
たコイル通電信号を発生するモータ駆動信号発生手段と
を有することを特徴とする。
[Means for Solving the Problems] To achieve this, the present invention provides an encoder that is fixed to the shaft of a rotor and has a detected portion that is an integral multiple of the number of magnetic poles of the rotor, and an encoder that is fixed to the shaft of a rotor and has a detected portion that is an integral multiple of the number of magnetic poles of the rotor, and In a motor control device comprising a counting means for counting a number, and a means for switching energization to a stator coil when a count value of the counting means matches a predetermined value, the means corresponds to a numerical value indicated by the counting means. The present invention is characterized in that it includes a plurality of digital comparators that take an output state, and a motor drive signal generating means that generates a coil energization signal corresponding to the output state.

[作 用] 本発明では、デジタルコンパレータが、カウント値と設
定値を比較しである状態のときのみに出力を行い、モー
タ駆動信号発生手段はその出力の状態に応じたコイル通
電信号を発生する。
[Function] In the present invention, the digital comparator compares the count value and the set value and outputs only when a certain state is reached, and the motor drive signal generating means generates a coil energization signal according to the state of the output. .

[実施例] 以下、図面を参照して本発明の実施例を詳細に説明する
。   − (第1実施例) 第1図〜第15図は本発明の第1実施例を示す。
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings. - (First Embodiment) FIGS. 1 to 15 show a first embodiment of the present invention.

まず、第1図は本実施例にがかるモータの駆動制御回路
図、第2図および第3図は、それぞれ、本発明の第1実
施例にがかるモータの構成例を示す斜視図および断面図
である。
First, FIG. 1 is a drive control circuit diagram of a motor according to the present embodiment, and FIGS. 2 and 3 are a perspective view and a cross-sectional view, respectively, showing a configuration example of the motor according to the first embodiment of the present invention. be.

第2図および第3図において、符号201は磁気エンコ
ーダを内蔵したステップ状回転が可能なモータである。
In FIGS. 2 and 3, reference numeral 201 is a motor capable of stepwise rotation and has a built-in magnetic encoder.

このモータ201は磁性体中空リングを有する2つのス
テータ202,203を上下に重ね合わせた構造の固定
子204を有する。このステータ202.203は表面
が磁性体からなり、内周部には周方向に交互にN、Sの
磁極を形成するための磁極片(ステータ203では20
5.206で例示、ステータ202では207,208
で例示)を微小間隔をおいて交互に多数形成し、その内
部の中空部に導線209を多数ターン巻いたボビン21
0をはさみこんでいる。
This motor 201 has a stator 204 having a structure in which two stators 202 and 203 having magnetic hollow rings are stacked one above the other. The surfaces of the stators 202 and 203 are made of magnetic material, and the inner periphery has magnetic pole pieces (20 in the stator 203) for forming N and S magnetic poles alternately in the circumferential direction.
5.206 as an example, stator 202 as 207,208
A bobbin 21 in which a large number of wires (exemplified in ) are formed alternately at minute intervals, and a conductive wire 209 is wound in a hollow part inside the bobbin 209 in a large number of turns.
0 is inserted.

磁極片(205,20[i、207,208)は軸方向
において対向するように、上下2段にわたって配設固定
されている。磁極片(205,206,207,208
)の幅は、マグネットロータ211の周方向の磁極幅に
等しく形成−されている。磁極片205および207は
、ステータ202および203の下面の磁性体部分を内
周部上方向に延長することで各々形成され、しかも互い
に4分の1ピツチずらして形成されている。また磁極片
206および208は、ステータ202および203の
上面の磁性体部分を内周部下方向に延長することで各々
形成され、しかも互いに4分の1ピツチずれて形成され
ている。212,213は、それぞれステータ202.
203の導線に接続されたリード線である。
The magnetic pole pieces (205, 20[i, 207, 208) are arranged and fixed in two stages, upper and lower, so as to face each other in the axial direction. Magnetic pole pieces (205, 206, 207, 208
) is formed to be equal to the circumferential magnetic pole width of the magnet rotor 211. The magnetic pole pieces 205 and 207 are each formed by extending the magnetic material portions on the lower surfaces of the stators 202 and 203 upward toward the inner periphery, and are also formed to be shifted by a quarter pitch from each other. Moreover, the magnetic pole pieces 206 and 208 are each formed by extending the magnetic portions of the upper surfaces of the stators 202 and 203 toward the inner circumference downward, and are also formed one-fourth of a pitch apart from each other. 212 and 213 respectively represent the stator 202.
This is a lead wire connected to the conductor wire 203.

円筒状のマグネットロータ211は、回転軸214に固
定され、一体回動するようになっている。このマグネッ
トロータ211は、ステータ202.203に溶接され
たフランジ215.216にそれぞれ装着された軸受2
17,218に支持され、これによって固定子204の
内側中空部の中に回転自在に配置されてし)る。マグネ
ットロータ211は、プラスチックマグネット、焼結に
よるマグネットいずれであってもよく、適宜なものを使
用すればよい。このマグネットロータ211の外周部に
は、磁極片(205,206゜207および208)と
対向するようにNおよびSの磁極が交互に多極にラジア
ル配向着磁されている。
A cylindrical magnet rotor 211 is fixed to a rotating shaft 214 and rotates together with the rotating shaft 214. This magnet rotor 211 has bearings 2 mounted respectively on flanges 215, 216 welded to the stator 202, 203.
17, 218, thereby rotatably disposed within the inner hollow portion of the stator 204). The magnet rotor 211 may be a plastic magnet or a sintered magnet, and any suitable magnet may be used. On the outer periphery of the magnet rotor 211, N and S magnetic poles are alternately radially oriented and magnetized to face the magnetic pole pieces (205, 206, 207, and 208).

回転軸214は、ステータ202に溶接されたフランジ
216に装着された軸受218の下端より突出して配設
され、この回転軸214の突出した部分に、その周縁の
全周に微小間隔でN、Sの磁極を交互に288極着磁し
た磁気エンコーダ219を装着している。この磁気エン
コーダ219の磁極部224(周縁部)に対向する箇所
に、A相、B相の信号が電気的位相で90°ずれて出力
されるように構成された磁気センサ(MR素子)220
が配設されている。
The rotating shaft 214 is arranged to protrude from the lower end of a bearing 218 attached to a flange 216 welded to the stator 202, and N and S are provided at minute intervals around the entire circumference of the protruding portion of the rotating shaft 214. A magnetic encoder 219 with 288 magnetic poles alternately magnetized is attached. A magnetic sensor (MR element) 220 is configured to output A-phase and B-phase signals with an electrical phase shift of 90° at a location facing the magnetic pole portion 224 (periphery) of the magnetic encoder 219.
is installed.

この磁気センサ(MR素子)220は、固定部材222
に装着され、出力信号は、基板221上ではんだ付けさ
れたリード線223を介して第1図示の制御回路に送ら
れる。225はステータ202に固定された金属製のカ
ップ型磁気エンコーダ収納ケースであって、この内面の
底部には、磁気センサ(M11素子)220が固定され
た固定部材222が装着されている。なお、この収納ケ
ース225内の磁極部224や磁気センサ(MR素子)
220の表面上にゴミやホコリが付着するのを防いでい
る。
This magnetic sensor (MR element) 220 is connected to a fixed member 222
The output signal is sent to the control circuit shown in the first diagram via a lead wire 223 soldered on the board 221. 225 is a metal cup-shaped magnetic encoder storage case fixed to the stator 202, and a fixing member 222 to which a magnetic sensor (M11 element) 220 is fixed is attached to the bottom of the inner surface. In addition, the magnetic pole portion 224 and magnetic sensor (MR element) inside this storage case 225
This prevents dirt and dust from adhering to the surface of the 220.

本実施例では、マグネットロータ211の磁極数は24
極で、磁気エンコーダ219の磁極数はその整数倍であ
る288極である。従ってロータ極1極当りのエンコー
ダ出力パルス数は12である。
In this embodiment, the number of magnetic poles of the magnet rotor 211 is 24.
The number of magnetic poles of the magnetic encoder 219 is an integral multiple of 288 poles. Therefore, the number of encoder output pulses per rotor pole is 12.

本実施例においては、エンコーダ出力の1パルス当りの
回転角度は1.25度/パルス(360度/288パル
ス)であって、ロータ1極の回転角度15度に対して十
分に小さな値になる。すなわち、全く無調整でもエンコ
ーダ出力パルスとロータ磁極との位置の誤差は最大で±
0.625度であり、これはロータ1極に対して約4.
2%の誤差になり、十分に無視できる値である。エンコ
ーダ出力パルス数とロータ磁極数の関係は、許される誤
差の範囲内で設定すればよく、ロータ1回転当りのエン
コーダの出力パルス数はロータの磁極数の整数倍であれ
ばよい。一般には、±12.5%の誤差であればよく、
その場合はロータ磁極数の4倍のパルス数になる。
In this example, the rotation angle per pulse of the encoder output is 1.25 degrees/pulse (360 degrees/288 pulses), which is a sufficiently small value for the rotation angle of 15 degrees of one rotor pole. . In other words, even without any adjustment, the error in the position between the encoder output pulse and the rotor magnetic pole is at most ±
It is 0.625 degrees, which is about 4 degrees per rotor pole.
The error is 2%, which is a value that can be completely ignored. The relationship between the number of encoder output pulses and the number of rotor magnetic poles may be set within a permissible error range, and the number of encoder output pulses per rotation of the rotor may be an integral multiple of the number of rotor magnetic poles. In general, an error of ±12.5% is sufficient;
In that case, the number of pulses will be four times the number of rotor magnetic poles.

なお、ハイブリッドステップモータのようにロータの磁
極数が100もあるような場合に、従来のようなホール
素子や他のエンコーダのようにエンコーダ出力パルス数
とロータ磁極数が1対1に対応するときには、双方の位
置合わせに精密な調整が必要になる。しかし、本実施例
によれば、エンコーダ出力パルス数を400〜500に
することによって、上記の位置合わせをせずにハイブリ
ッドステップモータ構造のモータをDCブラシレスモー
タのように機能させることができる。この程度の出力パ
ルス数は、波長QJ34μmの着磁パターンで、直径が
26.6nonの(第2図および第3図のような構造の
)磁気エンコーダと磁気抵抗素子(MR素子)によって
容易に実現できる。
In addition, when the number of rotor magnetic poles is 100, such as in a hybrid step motor, and when the number of encoder output pulses and the number of rotor magnetic poles correspond one-to-one, as with conventional Hall elements or other encoders, , precise adjustment is required to align both. However, according to this embodiment, by setting the number of encoder output pulses to 400 to 500, the motor having the hybrid step motor structure can function like a DC brushless motor without the above-mentioned alignment. This level of output pulse number can be easily achieved using a magnetic encoder and magnetoresistive element (MR element) with a magnetization pattern of wavelength QJ of 34 μm and a diameter of 26.6non (structured as shown in Figures 2 and 3). can.

第1図は以上のような構成のモータの制御回路の一構成
例を示す。第1図において、220A、220Bは第2
図および第3図中220で示した磁気抵抗素子(MR素
子) 、103,104は差動増幅アンプ、105゜1
06はコンパレータ、107は本実施例に係るUPクロ
ック・DOWNクロックを発生するアップダウンクロッ
ク発生器、108はアップダウン(UP−DOWN)カ
ウンタ、109はモータ駆動信号発生器、110はモー
タ駆動回路、11!は位置検出カウンタ、112は外部
制御装置、113は速度制御基準(X号発生器、114
はモータ速度制御装置である。
FIG. 1 shows an example of the configuration of a motor control circuit configured as described above. In FIG. 1, 220A and 220B are the second
Magnetoresistive element (MR element) indicated by 220 in the figure and FIG. 3, 103 and 104 are differential amplifiers, 105°1
06 is a comparator, 107 is an up-down clock generator that generates the UP clock and DOWN clock according to this embodiment, 108 is an up-down (UP-DOWN) counter, 109 is a motor drive signal generator, 110 is a motor drive circuit, 11! is a position detection counter, 112 is an external control device, 113 is a speed control reference (X generator, 114
is the motor speed controller.

本図を中心として駆動回路の動作説明を行う。The operation of the drive circuit will be explained with reference to this figure.

Mll素子220Aは、第4図(A) ニ示すように、
ff1極部224の磁極配列方向に沿って4つの磁気抵
抗素子「1〜r4を配置して成る。なお、図ではMR素
子22〇八を実線で示し、同220Bを点線で示す。
The Mll element 220A, as shown in FIG. 4(A),
Four magnetoresistive elements "1 to r4" are arranged along the magnetic pole array direction of the ff1 pole part 224. In the figure, the MR element 2208 is shown by a solid line, and the MR element 220B is shown by a dotted line.

素子rl〜r4は第4図(B)に示すようにブリッジ型
に接続してあり、外部磁界の変化に応じた出力電圧を発
生する。なお、この第4図(II)はMR素子220A
についてのみ示すが、MR素子220Bも同様である。
Elements rl to r4 are connected in a bridge configuration as shown in FIG. 4(B), and generate an output voltage according to changes in the external magnetic field. Note that this FIG. 4 (II) shows the MR element 220A.
The same applies to the MR element 220B, although only this is shown.

他のMR素子220Bを構成する4つの素子は、第4図
(A)に点線で示すように1.MIl素子220Aの4
つの素子r1〜「4の中間に配置する。
The four elements constituting the other MR element 220B are 1. 4 of MIl element 220A
The elements r1 to ``4'' are arranged in the middle.

本実施例においては、 MR素子はモータ軸に取付けら
れた磁気エンコーダと対向して置かれるため、モータ回
転に伴った磁気エンコーダによる磁界変動に応じて、第
5図に示すような波形が得られる。Ml素子は磁気エン
コーダのs磁周期に関して178周期だけ位相ずれをも
って2個配置されるため、一方のMR素子22〇八が第
5図9符号soiで示す波形である場合、もう一方のM
II素子220Bは第5図中符号502で示すように、
位相が電気的に90’ずれた波形が得られる。
In this example, since the MR element is placed facing the magnetic encoder attached to the motor shaft, a waveform as shown in Fig. 5 is obtained in response to the magnetic field fluctuation caused by the magnetic encoder as the motor rotates. . Since two Ml elements are arranged with a phase shift of 178 periods with respect to the s magnetic period of the magnetic encoder, when one MR element 2208 has a waveform shown by the symbol soi in FIG.
The II element 220B, as shown by reference numeral 502 in FIG.
A waveform whose phase is electrically shifted by 90' is obtained.

これらの波形は、次段の差動増幅器103,104によ
って増幅された後、コンパレータ105,106によっ
て第5図9符号503(波形501に対応) 、504
 (波形502に対応)に示す方形波に波形整形され、
次にUP−DOWNクロック発生器107に入力される
These waveforms are amplified by differential amplifiers 103 and 104 in the next stage, and then converted into signals 503 (corresponding to waveform 501) and 504 in FIG. 9 by comparators 105 and 106.
The waveform is shaped into a square wave shown in (corresponding to waveform 502),
Next, it is input to the UP-DOWN clock generator 107.

このクロック発生器107は、第6図に示すように、2
つのD型フリップフロップ601.602で構成され、
入力信号A、Bを入力する2つの入力端子603、.6
04と、口P、DOWNの2つの出力端子605,60
6とを有し、人力信号A、B間の位相(詳細後述)によ
りtlPクロックまたはDOWNクロックを発生する。
This clock generator 107 has two clock generators as shown in FIG.
Consists of two D-type flip-flops 601 and 602,
Two input terminals 603, . 6
04, mouth P, and two output terminals 605, 60 of DOWN.
6, and generates the tlP clock or DOWN clock depending on the phase between the human input signals A and B (details will be described later).

第7図は信号A、Bの波形603.604と、up−D
OWN出力波形605,606との関係を示した図であ
る。なお、図中2つの矢印はIJP方向またはDOWN
方向の時間の流れを示す。
Figure 7 shows waveforms 603 and 604 of signals A and B, and up-D
6 is a diagram showing the relationship with OWN output waveforms 605 and 606. FIG. In addition, the two arrows in the figure indicate the IJP direction or DOWN direction.
Shows the flow of time in the direction.

今、第7図においてUP力方向信号A、Bがクロック発
生器!07に入力された場合は、第7図少将号701,
702に示す2つの波形がUP−DOWN出力端子に現
われる。すなわち、IIP端子のみに磁気エンコーダの
周囲に対応したパルスが出現し、DOWN端子には何も
出力されない。逆に、第7図においてDOWN方向から
見たパルス信号A、Bが入力された場合は、符号703
,704°に示す波形がUP、DOWN端子に出力され
る。すなわち、ロータの回転方向により2つのMR素子
から出力される信号の位相関係が、第7図の2つの矢印
のいずれかに決定されるため、その回転方向に応じた出
力がUP−DOWNクロック発生器107から出力され
るのである。
Now, in Fig. 7, the UP force direction signals A and B are clock generators! 07, the major general number 701 in Figure 7 is entered.
Two waveforms shown at 702 appear at the UP-DOWN output terminals. That is, pulses corresponding to the surroundings of the magnetic encoder appear only at the IIP terminal, and nothing is output from the DOWN terminal. Conversely, when pulse signals A and B seen from the DOWN direction in FIG. 7 are input, the signal 703
, 704° are output to the UP and DOWN terminals. In other words, the phase relationship of the signals output from the two MR elements is determined by the rotational direction of the rotor to be one of the two arrows in FIG. 7, so the output corresponding to the rotational direction is used to generate the UP-DOWN clock. It is output from the device 107.

次に、UP−DOWNりo−、り信号は2−) (7)
IIP−DOWNカウンタ1(18および1]1−に入
力される。IIP−DOWNカウンタ108は5 bi
tの基数24のカウンタであり、人力のUPクロック信
号121またはDOWNクロック信号122によってア
ップまたはダウンカウントし、十進表現で“0”から“
23”に対応した数値を、バイナリ表現で5 bit信
号(各信号をBO,Bl。
Next, the UP-DOWN signal is 2-) (7)
IIP-DOWN counter 1 (18 and 1] 1- is input. IIP-DOWN counter 108 is 5 bi
It is a radix 24 counter of t, which counts up or down according to the manual UP clock signal 121 or DOWN clock signal 122, and counts from "0" to "" in decimal notation.
23" is expressed as a 5-bit signal in binary representation (each signal is BO, Bl.

B2.B3,84とする)として出力端子に出力する。B2. B3, 84) is output to the output terminal.

カウンタ108の出力はモータ駆動信号発生器109に
入力される。
The output of the counter 108 is input to a motor drive signal generator 109.

モータ駆動信号発生器109は、第8図に示すように、
4つのデジタルコンパレータ801.802.803 
The motor drive signal generator 109, as shown in FIG.
4 digital comparators 801.802.803
.

804、クロック発生器8051回転方向切換器806
゜スタートストップ制御器807から成る。スタートス
トップ制御器807は、例えば第9図のように構成され
、外部制御装置1112からのスタートストップ(S/
S)信号と信号816〜819のそれぞれとを受容する
OR回路1101〜1104を有している。
804, clock generator 8051 rotation direction switch 806
゜It consists of a start/stop controller 807. The start/stop controller 807 is configured, for example, as shown in FIG.
S) has OR circuits 1101-1104 that receive the signal and signals 816-819, respectively.

デジタルコンパレータ801.802.803.804
は予め設定しておいた値と人力されたデータとを比較し
て、設定値が入力値よりも大きな場合“1”を出力し、
その他の場合、すなわち同じ値の場合もしくは小さな場
合には“0”を出力する。従って、4個のデジタルコン
パレータに十進表現で“0″か・ら“23″までの数値
のいずれかをバイナリの5ビツトで設定することによっ
て、υP−DOWNカウンタ108が示した数値に対応
する出力状態が定まる。
Digital comparator 801.802.803.804
compares the preset value with the manually inputted data, and outputs “1” if the set value is greater than the input value,
In other cases, that is, when the values are the same or when they are smaller, "0" is output. Therefore, by setting one of the numerical values from "0" to "23" in decimal notation in 5 binary bits to the four digital comparators, the value corresponding to the value indicated by the υP-DOWN counter 108 is set. The output state is determined.

第1O図は各デジタルコンパレータの比較値なa=O,
b=6.c=12.d=18と設定したときの各々の出
力808,809,810,811を示す。これらの出
力はクロック発生器805に入力される。
Figure 1O shows the comparison values of each digital comparator, a=O,
b=6. c=12. The respective outputs 808, 809, 810, and 811 when d=18 are shown. These outputs are input to clock generator 805.

第11図および第12図は、クロック発生器の構成の2
例を示すもので、2個もしくは4個のイクスクルーシブ
OR回路で構成されている。いまクロック発生器を第1
1図に示すものとすると、デジタルコンパレータ801
.802.803.804より出力された信号808,
809,810,811は、それぞれ対応する端子に入
力される。
Figures 11 and 12 show two configurations of the clock generator.
This is an example, and is composed of two or four exclusive OR circuits. Now set the clock generator to the first
As shown in Figure 1, the digital comparator 801
.. Signal 808 output from 802.803.804,
809, 810, and 811 are input to corresponding terminals, respectively.

このとき、クロック発生器を第11図示の構成とすると
、2つのイクスクルーシブOn回路901,902の出
力信号およびインバータ903.904による反転信号
として、第13図(A)の1302.1303,130
4.1305のようなりロック信号が出力される。よっ
て、これらの出力は0”から“23″のカウント値(十
進)における4つのデジタルコンパレータの出力状態(
808,809,810,811)によって一意的に定
まる(なお、1301はup−oowNカウンタ108
ヘノ人力クロック信号波形であり、その上に付した数値
はカラント値を示す)。
At this time, if the clock generator has the configuration shown in FIG. 11, the output signals of the two exclusive ON circuits 901 and 902 and the inverted signals from the inverters 903 and 904 are outputted from 1302, 1303, and 130 in FIG. 13(A).
4. A lock signal like 1305 is output. Therefore, these outputs correspond to the output states (
808, 809, 810, 811) (in addition, 1301 is the up-oowN counter 108
This is a human clock signal waveform, and the number above it indicates the current value).

このとき、回路にノイズが混入したとしても、デジタル
コンパレータの出力およびクロック発生器の出力は一時
的なノイズを含むだけ□ですぐに元のパタンに復活する
ので、モータの暴走は起籾ないし、かつモータの応答速
度が遅いため回転への実際の影響はない。
At this time, even if noise enters the circuit, the output of the digital comparator and the output of the clock generator will only contain temporary noise and will immediately return to the original pattern, so the motor will not run out of control. Moreover, since the response speed of the motor is slow, there is no actual effect on rotation.

この信号1302.1303.1304.1305は2
相のコイル2021.2031への通電信号を表わし、
それぞれA。
This signal 1302.1303.1304.1305 is 2
Represents the energization signal to the phase coil 2021.2031,
A each.

B、τ、百で表わす。このA、B、A、B信号をモータ
駆動回路110に与え、コイル2021.2031に通
電する。
B, τ, expressed in hundreds. The A, B, A, and B signals are applied to the motor drive circuit 110 to energize the coils 2021 and 2031.

A相用コイル2031は、tlP−DOWNカウンタ1
08への人力クロックが“0″、“12”のときに、ま
たB相用コイル2021はIIP−DOWNカウンタ1
08ヘノ人カクロックが“6″、“18”のときに通電
方向が切換わる。
The A-phase coil 2031 is the tlP-DOWN counter 1
When the manual clock to 08 is “0” or “12”, the B-phase coil 2021 also outputs IIP-DOWN counter 1.
The direction of energization is switched when the 08 henojin clock is "6" or "18".

l相に注目すると、12パルス毎に通電方向が切換ねる
ので、言い換えれば、電気角にて180°毎に通電が切
換ねる。
Focusing on the l-phase, the direction of energization is switched every 12 pulses, in other words, the energization is switched every 180 degrees in electrical angle.

通電切換のタイミングは、ロータの磁極と、ステータ磁
極の位置を基準としたUP−DOWNカウンタ108の
出力値とに基づいているが、速度制御の態様は次のとお
りである。
The timing of energization switching is based on the magnetic poles of the rotor and the output value of the UP-DOWN counter 108 with reference to the position of the stator magnetic poles, and the mode of speed control is as follows.

すなわち、一方の磁気抵抗素子220Bからの出力信号
に基づいて得られるロータの回転速度信号120と速度
制御基準信号発生器】13からの信号133とを比較し
、両者の差を解消するようにロータの速度を制御する。
That is, the rotor rotational speed signal 120 obtained based on the output signal from one magnetoresistive element 220B is compared with the signal 133 from the speed control reference signal generator 13, and the rotor is adjusted so as to eliminate the difference between the two. control the speed of

ロータの速度が設定値(速度制御基準信号133の示す
値)よりも遅くなったとぎには、比較回路1】4からの
信号134により位相補償回路115.電圧制御回路1
16を介してモータ駆動回路110内のコイル2021
.2031への印加電圧を上げ、ロータの回転を速くし
、逆に設定値より速くなったときには印加電圧を下げる
ようにしてロータの速度を一定に保つ。
As soon as the rotor speed becomes slower than the set value (the value indicated by the speed control reference signal 133), the signal 134 from the comparator circuits 1 and 4 is used to generate a signal from the phase compensation circuits 115 and 115. Voltage control circuit 1
Coil 2021 in motor drive circuit 110 via 16
.. The applied voltage to 2031 is increased to speed up the rotation of the rotor, and conversely, when the speed becomes faster than the set value, the applied voltage is lowered to keep the rotor speed constant.

ところで、デジタルコンパレータの比較値は外部制御装
置112からのコントロール信号130によって任意に
設定できる。
By the way, the comparison value of the digital comparator can be arbitrarily set by the control signal 130 from the external control device 112.

すなわち、本実施例においてエンコーダパルスはロータ
の磁極1相当り12パルスに細分化されているので、通
常の通電タイミングから変化させた通電タイミングをと
ることができる。
That is, in this embodiment, since the encoder pulses are subdivided into 12 pulses per magnetic pole of the rotor, the energization timing can be changed from the normal energization timing.

第13図(B)は通電タイミングを速くした場合で、通
常の通電タイミング(第13図(A))よりも位相を進
めた状態である。
FIG. 13(B) shows a case where the energization timing is accelerated, and the phase is advanced from the normal energization timing (FIG. 13(A)).

第13図(C)は通電タイミングを遅くした場合で、通
常の通電タイミング(第13図(A))よりも位相を遅
らせた状態である。
FIG. 13(C) shows a case where the energization timing is delayed, and the phase is delayed from the normal energization timing (FIG. 13(A)).

このように位相を進めたり、遅らせたりすることによっ
て、ロータの加減速度、負荷変動などにより速度が不安
定のときに最適な制御を行うことができる。
By advancing or delaying the phase in this manner, optimal control can be performed when the speed is unstable due to rotor acceleration/deceleration, load fluctuations, etc.

例えばデジタルコンパレータ801の設定値をa=23
、同じ<802をb=5、同じ<803をC=11、同
じ<804をd=j7とし、各コンパレータ出力808
〜811を第1・、1図のクロック発生器805に人力
すると、第13図(B)の符号1307〜131Oに示
すような入力クロツク1パルス分だけ位相が進んだ波形
の信号がクロック発生器805の出力信号812〜81
5として得られる。同様にコンパレータの比較値をa=
1.’b=7.c=13.d=19とすると、第13図
(C)の符号1312〜1315に示す1パルス分だけ
位相が遅れた波形の出力信号812〜815が得られる
。すなわち外部信号130によって任意にUP−DOW
Nカウンタのカウント値に対応する位相の4つの出力信
号812〜815がクロック発生器805によって得ら
れる。
For example, if the setting value of the digital comparator 801 is a=23
, the same <802 as b=5, the same <803 as C=11, the same <804 as d=j7, and each comparator output 808
.about.811 is input manually to the clock generator 805 in FIG. 805 output signals 812-81
Obtained as 5. Similarly, the comparison value of the comparator is a=
1. 'b=7. c=13. When d=19, output signals 812 to 815 having waveforms whose phases are delayed by one pulse are obtained, which are shown at 1312 to 1315 in FIG. 13(C). In other words, the external signal 130 can be used to arbitrarily UP-DOW.
Four output signals 812-815 with phases corresponding to the count value of the N counter are obtained by the clock generator 805.

クロック発生器805の出力信号バタンは同クロック発
生器605の内部構成を変えることによって変えられる
。例えばクロック発生器805を第12図に示すように
イクスクルーシブOR回路1001〜1004を用いた
構成とすると、入力クロック信号1401の入力に基づ
き、クロック発生器805の入力信号808゛〜811
に対し=出力信号812〜815として第14図(^)
、(B)および(C)に示す波形パタンの出力信号(そ
れぞれ、1402〜1405.1407〜1410およ
び1412〜1415の符号で示す)が得られる。後述
するが、第11図のクロック発生器で得られる第13図
の波形パタンはステップモータを2相励磁で駆動するた
めの信号であり、第14図の波形パタンは1相励磁で駆
動するための信号である。
The output signal button of clock generator 805 can be changed by changing the internal configuration of clock generator 605. For example, if the clock generator 805 is configured using exclusive OR circuits 1001 to 1004 as shown in FIG.
For = output signals 812 to 815 as shown in Fig. 14 (^)
, (B) and (C) (indicated by symbols 1402-1405, 1407-1410 and 1412-1415, respectively) are obtained. As will be explained later, the waveform pattern in Figure 13 obtained by the clock generator in Figure 11 is a signal for driving the step motor with two-phase excitation, and the waveform pattern in Figure 14 is for driving with one-phase excitation. This is the signal.

次に、クロック発生器の出力信号812〜815は第8
図に示すように回転方向切換器806に人力される。回
転方向切換器806は4つのマルチプレクサで構成され
ており、外部制御装置112からのモータ回転方向指示
信号129により人力信号を振り分けて出力する。また
、例えば外部制御装置112からの信号128によりス
タートストップ制御器807に設けたOR回路1101
−1104の出力信号124〜127をすべてllig
h”状態にすることによって、モータを停止させること
ができる。
Next, the output signals 812-815 of the clock generator are
As shown in the figure, the rotation direction switch 806 is manually operated. The rotation direction switching device 806 is composed of four multiplexers, and outputs the human power signals by distributing them according to the motor rotation direction instruction signal 129 from the external control device 112. For example, an OR circuit 1101 provided in the start/stop controller 807 may be
-llig all output signals 124 to 127 of 1104
The motor can be stopped by changing to the h'' state.

第1図において、110は2つのステータ202゜20
3に設けた導線209からなるコイル2021.203
1に電流を流すためのモータ駆動回路であって、本例で
はバイポーラ式駆動回路である。このモータ駆動回路1
10は、モータ駆動信号発生器109からの出力信号1
24〜126に基づいてモータを正または逆回転させる
In FIG. 1, 110 indicates two stators 202°20
Coil 2021.203 consisting of conductor 209 provided in 3
1, which is a bipolar drive circuit in this example. This motor drive circuit 1
10 is the output signal 1 from the motor drive signal generator 109
The motor is rotated forward or reverse based on steps 24 to 126.

なお、磁気センサ(MR素子)220よりの信号なUP
−DOWNカウンタ108および111でカウントする
ことによりロータの位置を知ることができるが、モータ
を駆動する前の電源ON時(初期設定時)にロータの磁
極とステータの磁極とが対向している位置を初期状態と
して、UP−DOWNカウンタ108および111の出
力をMO″に設定する。以後、モータを停止させても回
路の電源をOFF シない限りこの設定は有効である。
In addition, the signal from the magnetic sensor (MR element) 220
- The rotor position can be known by counting with the DOWN counters 108 and 111, but the position where the rotor's magnetic poles and the stator's magnetic poles are facing each other when the power is turned on (initial setting) before driving the motor is set as the initial state, and the outputs of the UP-DOWN counters 108 and 111 are set to MO''.After this, even if the motor is stopped, this setting remains valid as long as the power to the circuit is not turned off.

具体的には、2相のコイル2021および2031のう
ち、1相を一定の方向に通電する。この際には通電した
側のステータ相の磁極とロータマグネットの磁極が対向
しており、この時点でIIP−DOWNカウンタ108
および11.1の出力が“O”となるように外部制御装
置112からのリセット信号131および132を与え
る。この操作によりロータの磁極と、ステータ磁極の対
向点を基準としてロータの位置が1/12に細分化され
た位置情報信号を得ることができ、さらにロP−DOW
Nカウンタ108および111の出力値に基づいてロー
タの位置を知ることかでき、コイルへの通電切換が可能
となる。
Specifically, one phase of the two-phase coils 2021 and 2031 is energized in a fixed direction. At this time, the magnetic poles of the stator phase on the energized side and the magnetic poles of the rotor magnet face each other, and at this point the IIP-DOWN counter 108
Reset signals 131 and 132 are applied from external control device 112 so that the outputs of 11.1 and 11.1 become "O". By this operation, it is possible to obtain a position information signal in which the rotor position is subdivided into 1/12 based on the opposing point between the rotor magnetic pole and the stator magnetic pole, and furthermore, the rotor position is divided into 1/12.
The position of the rotor can be known based on the output values of the N counters 108 and 111, and it is possible to switch the energization to the coils.

また、クロック発生器805に第12図示のものを使用
すると、第14図(^)〜(C)に示すような通電タイ
ミングが得られる。第14図(^)において、1401
はエンコーダ出力波形、1402,1403,1404
゜1405は2相のコイル2021.2031の通電状
態を表わし、それぞれA、B、A、Bの4つの信号を表
わす。この場合、A相はtlP−DOWNカウンタ10
8の出力が“0″、“6”、12”、“18″のとき、
またB相はUP−DOWNカウンタ108の出力が“0
”。
Furthermore, if the clock generator 805 shown in FIG. 12 is used, the energization timings shown in FIGS. 14(^) to (C) can be obtained. In Figure 14 (^), 1401
is the encoder output waveform, 1402, 1403, 1404
1405 represents the energized state of the two-phase coils 2021 and 2031, and represents four signals A, B, A, and B, respectively. In this case, the A phase is tlP-DOWN counter 10
When the output of 8 is "0", "6", 12", "18",
Also, in the B phase, the output of the UP-DOWN counter 108 is “0”.
”.

6″、“12”、“18°°のときに通電および通電方
向を切換えている。
The energization and the direction of energization are switched at 6'', 12, and 18°.

この場合電気角にて、90°毎に通電を切換えている。In this case, energization is switched every 90 degrees in terms of electrical angle.

この通電方式は、バイポーラ駆動の1和動磁力式と同様
である。
This energization method is similar to the bipolar drive single sum dynamic magnetic force method.

すでに説明した180°毎の通電方式(第12図)と比
較すると、通電時間が短くなるのでコイルに流れる電流
は局となるが、得られる回転トルクは約1/7Tとな、
る。これは通常のモータの2相励磁と1相励磁の比較と
同様であり、駆動条件等により使い分けることがでとる
。90°毎通電においても前述した通電のタイミングの
位相の変更は同様に行うことができる(第14図(B)
 、 (C)参照)。
Compared to the 180° energization method (Fig. 12) described above, the energization time is shorter, so the current flowing through the coil is localized, but the rotational torque obtained is approximately 1/7T.
Ru. This is similar to the comparison between two-phase excitation and one-phase excitation of a normal motor, and can be used depending on driving conditions and the like. Even in the case of energization every 90°, the phase of the energization timing described above can be changed in the same way (Fig. 14 (B)
, see (C)).

なお、第15図に示すように、4つのコイル1201.
1202,1203.1204を使用し、これらに第1
図示のモータ駆動信号発生器109からの4つの駆動信
号124,125,126,127を適用することによ
って、第2図、第3図示のモータをユニポーラ駆動する
ことがでとる。駆動信号通電方式は、バイポーラ駆動と
同じ゛もの(第1図)を用いる。これも駆動条件等によ
り使い分けることができる。
Note that, as shown in FIG. 15, four coils 1201.
1202, 1203, and 1204, and add the first
By applying four drive signals 124, 125, 126, and 127 from the illustrated motor drive signal generator 109, the motor illustrated in FIGS. 2 and 3 can be driven unipolarly. The drive signal energization method used is the same as the bipolar drive (Fig. 1). This can also be used depending on driving conditions and the like.

゛以上説明したように、ロータの磁極数に比べ、1極当
りl/12に細分化されたエンコーダ信号によりロータ
の位置検出を行うことによってロータの速度制御が安定
し、最適な制御を行うことができる。しかもエンコーダ
信号をカウントしているので、通電タイミングの切換え
を正確に行える。またロータの回転位置を検出でき、位
置制御を行う゛ことができる。
゛As explained above, by detecting the rotor position using an encoder signal that is subdivided into 1/12 per pole compared to the number of magnetic poles of the rotor, rotor speed control is stabilized and optimal control can be performed. Can be done. Moreover, since encoder signals are counted, the energization timing can be switched accurately. Furthermore, the rotational position of the rotor can be detected and the position can be controlled.

前述した動作説明によれば、ロータ位置をエンコーダ、
 MR素子の組合せに基づいて監視し、ステ−タ磁極と
ロータ磁極が一致したときに、励磁バタンを切換えるた
め、元来のステップモータとしての特性がなくなり、D
Cモータ特性が実現されているが、駆動回路を変更する
ことによりステップモータとしての動作も可能である。
According to the operation explanation above, the rotor position is determined by the encoder,
Monitoring is performed based on the combination of MR elements, and when the stator magnetic pole and rotor magnetic pole match, the excitation button is switched, so the original step motor characteristics are lost and D
Although C motor characteristics are realized, operation as a step motor is also possible by changing the drive circuit.

すなわち、第16図にその駆動回路を示すが、これは第
1図の回路に励磁バタン発生器1501.信号切換器1
502を追加したものである。
That is, FIG. 16 shows its drive circuit, which is the circuit of FIG. 1 plus an excitation button generator 1501. Signal switch 1
502 has been added.

励磁バタン発生器1501は外部制御装置112からの
駆動クロック信号1507に同期して2相ステツプモー
タの励磁信号1503,1504,1505.1506
を出力する。また、外部制御装置112の回転方向18
号1508、励磁方式切換信号1509によってバタン
進行方向の切換えおよび1相、2相励磁パタンの出力が
可能である。1相励磁パタンは第14図(八)に示す4
波形と同様であり、2相励磁パタンは第13図(A)に
示す4波形と同様である。
An excitation button generator 1501 generates excitation signals 1503, 1504, 1505, and 1506 for two-phase step motors in synchronization with a drive clock signal 1507 from an external control device 112.
Output. Also, the rotation direction 18 of the external control device 112
No. 1508 and excitation method switching signal 1509 enable switching of the direction of movement of the bang and output of one-phase and two-phase excitation patterns. The 1-phase excitation pattern is shown in Figure 14 (8).
The two-phase excitation pattern is the same as the four-waveform shown in FIG. 13(A).

信号切換器!502はモータ駆動信号発生器109から
の出力信号124,125,126,127と、励磁バ
タン発生器1501からの出力信号1503.1504
,1505.1506との切換えを行う。すなわち、外
部制御装置112からの駆動切換信号1510によって
前者を選ぶことによりOCモータ的動作が実現し、後者
を選ぶことによってステップモータ的動作が実現できる
わけである。このことは、前述したモータのカウンタの
初期設定の一例にもなる。すなわち、カウンタの初期設
定は2相モータの1相を例示して行うが、これはモータ
駆動をステッピングモードにし、l相励磁バタンを選択
することにより容易に実現できる。
Signal switch! 502 are output signals 124, 125, 126, 127 from the motor drive signal generator 109 and output signals 1503, 1504 from the excitation button generator 1501.
, 1505, 1506. That is, by selecting the former using the drive switching signal 1510 from the external control device 112, an OC motor-like operation can be realized, and by selecting the latter, a step motor-like operation can be realized. This also serves as an example of the initial setting of the motor counter described above. That is, the initial setting of the counter is performed using one phase of a two-phase motor as an example, but this can be easily achieved by setting the motor drive to stepping mode and selecting the l-phase excitation button.

(第2の実施例) 本実施例では、デジタルコンパレータ801.802 
(Second Embodiment) In this embodiment, digital comparators 801.802
.

803.804は、設定値とデータ値とを比較して設定
値が小さいときのみ“1″を出力するものとする。
803.804 compares the set value and the data value and outputs "1" only when the set value is smaller.

第17図は設定値がa =23. b =5. c=1
1. d=17のときのデジタルコンパレータの出力8
0a。
In FIG. 17, the set value is a = 23. b=5. c=1
1. Digital comparator output 8 when d=17
0a.

809.810,811を表わした図である。これらの
出力を第11図または第12図に示すクロック発生器の
対応する端子に入力することにより、第13図(^)ま
たは第14図(A)のようなりロック信号が出力される
809.810,811. By inputting these outputs to the corresponding terminals of the clock generator shown in FIG. 11 or 12, a lock signal as shown in FIG. 13 (^) or FIG. 14 (A) is output.

よって、これらの出力は0″から“23″のカウント値
(十進)における4つめデジタルコンパレータの出力状
態(808,809,810,811)によって一意的
に定まる。
Therefore, these outputs are uniquely determined by the output states (808, 809, 810, 811) of the fourth digital comparator at count values (decimal) from 0" to "23".

また本実施例においても、デジタルコンパレータの値を
外部信号により操作することで、任意にtlP−DOW
Nカウンタのカウント値に対応する位相の4つの出力信
号812〜815が得られる。
Also in this embodiment, by manipulating the value of the digital comparator with an external signal, tlP-DOW can be controlled arbitrarily.
Four output signals 812 to 815 are obtained whose phases correspond to the count value of the N counter.

[発明の効果] 以上説明したように、本発明によれば、耐ノイズ性に優
れ、確実に動作するモータ制御回路を実現できる。
[Effects of the Invention] As described above, according to the present invention, it is possible to realize a motor control circuit that has excellent noise resistance and operates reliably.

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

第1図は本発明の第1実施例にがかるモータの制御装置
の回路図、 第2図および第3図は、それぞれ、本実施例に適用可能
なモータの構成例を示す斜視図および断面図、 第4図(A)は本実施例におけるMR素子とエンコ  
。 −ダとの関係を示す図、 第4図(B)は本実施例に係るMR素子の等価回路図、 第5図は同MR素子の出力信号を示す波形図、第6図は
本実施例のIIP−DOWNクロック発生器の一構成例
を示す回路図、 第7図は同発生器の人出力信号を示すタイミングチャー
ト、 第8図はモータ駆動信号発生器の一構成例を示す回路図
、 第9図はスタートストップ制御装置の構成例を示す回路
図、 第1O図は本実施例に係るデジタルコンパレータの出力
波形を示す波形図、 第11図は本実施例に係るクロック発生器の構成例門示
tta路図、 第12図は本実施例に係るクロック発生器の他の構成例
を示す回路図、 第13図および第14図は、それぞれ、第11図および
第12図に対応したIIP−DOWNカウンタ出力と通
電切換信号の関係の態様を示すタイミングチャート、 第15図はモータのユニポーラ駆動回路図、第16図は
連続駆動とステップ駆動との切換回路の構成例を示す回
路図、 第17図は・本発明の第2の実施例を説明するための波
形図である。 220.22OA、220B・・・M口素子、107・
・・アップダウンクロック発生器、lα8,111−U
P−DOWNカウンタ、109・・・モータ駆動信号発
生器、 112・・・外部制御装置、 801.802.803.804・・・デジタルコンパ
レータ、2!2,213,2021.2031・・・コ
イル、211・・・ロータ、 202.203・・・ステータ。 第2図 第3図 第4図(B) 第5図 6   !           」9M604 B 第7図 第9図 第16図 手続補正書 平成1年5月25日
FIG. 1 is a circuit diagram of a motor control device according to a first embodiment of the present invention, and FIGS. 2 and 3 are a perspective view and a sectional view, respectively, showing an example of the configuration of a motor applicable to this embodiment. , Figure 4(A) shows the MR element and encoder in this example.
. - Figure 4 (B) is an equivalent circuit diagram of the MR element according to this example, Figure 5 is a waveform diagram showing the output signal of the MR element, and Figure 6 is this example A circuit diagram showing an example of the configuration of the IIP-DOWN clock generator, FIG. 7 is a timing chart showing the human output signal of the same generator, FIG. 8 is a circuit diagram showing an example of the configuration of the motor drive signal generator, FIG. 9 is a circuit diagram showing an example of the configuration of a start-stop control device, FIG. 1O is a waveform diagram showing the output waveform of the digital comparator according to this embodiment, and FIG. 11 is an example of the configuration of a clock generator according to this embodiment. Figure 12 is a circuit diagram showing another example of the configuration of the clock generator according to this embodiment. Figures 13 and 14 are IIP diagrams corresponding to Figures 11 and 12, respectively. -A timing chart showing the relationship between the DOWN counter output and the energization switching signal; Fig. 15 is a unipolar drive circuit diagram of the motor; Fig. 16 is a circuit diagram showing an example of the configuration of a switching circuit between continuous drive and step drive; FIG. 17 is a waveform diagram for explaining the second embodiment of the present invention. 220.22OA, 220B...M-mouth element, 107.
・・Up/down clock generator, lα8,111-U
P-DOWN counter, 109... Motor drive signal generator, 112... External control device, 801.802.803.804... Digital comparator, 2!2, 213, 2021.2031... Coil, 211... Rotor, 202.203... Stator. Figure 2 Figure 3 Figure 4 (B) Figure 5 6! "9M604 B Figure 7 Figure 9 Figure 16 Procedural Amendment May 25, 1999

Claims (1)

【特許請求の範囲】 1)ロータの軸に固定され、該ロータの磁極数の整数倍
の被検出部を有するエンコーダと、 前記ロータの回転に伴う前記エンコーダの被検出部の数
をカウントするカウント手段と、該カウント手段のカウ
ント値が所定値に一致したときに前記ステータのコイル
への通電切り替えを行う手段とを備えたモータ制御装置
において、 該手段は前記カウント手段が示す数値に対応する出力状
態をとる複数個のデジタルコンパレータと、当該出力状
態に対応したコイル通電信号を発生するモータ駆動信号
発生手段とを有することを特徴とするモータ制御装置。
[Claims] 1) An encoder that is fixed to the shaft of a rotor and has a detected part that is an integral multiple of the number of magnetic poles of the rotor, and a counter that counts the number of detected parts of the encoder as the rotor rotates. and means for switching energization to the coils of the stator when the count value of the counting means matches a predetermined value, wherein the means outputs an output corresponding to the numerical value indicated by the counting means. A motor control device comprising: a plurality of digital comparators that change states; and a motor drive signal generating means that generates a coil energization signal corresponding to the output state.
JP4084388A 1987-10-21 1988-02-25 Motor controller Pending JPH01218399A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP4084388A JPH01218399A (en) 1988-02-25 1988-02-25 Motor controller
DE8888117489T DE3874280T2 (en) 1987-10-21 1988-10-20 ENGINE CONTROL DEVICE.
EP88117489A EP0313046B1 (en) 1987-10-21 1988-10-20 Motor control apparatus
US07/401,483 US4963808A (en) 1987-10-21 1989-08-30 Motor control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4084388A JPH01218399A (en) 1988-02-25 1988-02-25 Motor controller

Publications (1)

Publication Number Publication Date
JPH01218399A true JPH01218399A (en) 1989-08-31

Family

ID=12591877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4084388A Pending JPH01218399A (en) 1987-10-21 1988-02-25 Motor controller

Country Status (1)

Country Link
JP (1) JPH01218399A (en)

Similar Documents

Publication Publication Date Title
US4963808A (en) Motor control apparatus
US4803389A (en) Stepping motor, method of driving the same and drive circuit therefor
US4074173A (en) Electric machine
JPH04101696A (en) Rotor stop position detector for dc brushless motor having no position detector
EP0072597A2 (en) Self-starting brushless D.C. motor
US4282472A (en) Digital generation and control of variable phase-on motor energization
JP4095022B2 (en) Multiphase motor
US4950960A (en) Electronically commutated motor having an increased flat top width in its back EMF waveform, a rotatable assembly therefor, and methods of their operation
US5194787A (en) Control circuit for an electric motor without a collector
JPH0767306B2 (en) Driving method for brushless DC motor without position detector
JP5464793B2 (en) Motor drive device
JP2708060B2 (en) Motor control device
JP2019033575A (en) Position sensor and motor
ES2225537T3 (en) PROCEDURE FOR THE DETERMINATION OF THE ROTOR POSITION OF AN ELECTROMAGNETIC ENGINE WITHOUT COLLECTOR AND DEVICE FOR PUTTING INTO PRACTICE.
JPH01218397A (en) motor control device
JPH0574319B2 (en)
JPH01298983A (en) Controller for brushless motor
JP2012223065A (en) Motor position detector and motor using the same
JPH0260492A (en) motor control device
JPH0635657Y2 (en) Stepping motor
JP2015062327A (en) Counter electromotive force detection circuit and motor drive using the same
JPH1075594A (en) Drive controller for brushless motor
JPH0336237Y2 (en)
JP2934258B2 (en) Servo device
Hasan et al. Design and development of a stepper motor position control system in micro-stepping mode using Atmega32 Microcontroller