JPH08182364A - Position controller for microminiature motor - Google Patents

Position controller for microminiature motor

Info

Publication number
JPH08182364A
JPH08182364A JP6325812A JP32581294A JPH08182364A JP H08182364 A JPH08182364 A JP H08182364A JP 6325812 A JP6325812 A JP 6325812A JP 32581294 A JP32581294 A JP 32581294A JP H08182364 A JPH08182364 A JP H08182364A
Authority
JP
Japan
Prior art keywords
signal
motor
command signal
pulse
microminiature
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
JP6325812A
Other languages
Japanese (ja)
Inventor
Yukihisa Hasegawa
幸久 長谷川
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP6325812A priority Critical patent/JPH08182364A/en
Publication of JPH08182364A publication Critical patent/JPH08182364A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To accurately control the position of a microminiature motor based on single-phase pulse signals. CONSTITUTION: A position controller for microminiature motor is provided with a rotary encoder 13 which generates single-phase pulse signals, arithmetic section 14 which performs addition on pulses when a forward rotation command signal is given or subtraction on the pulses when a backward rotation command is given, signal switching means 21 which switches the rotation command signals to the backward rotation command signal when the count value of the arithmetic section 14 becomes equal to or larger than a set value or to the forward rotation command signal when the count value is smaller than the set value, and stop signal generating section 22 which outputs a stop command signal for a set period of time at the time of switching the rotation command signals. The arithmetic section 14 is constituted so that the section 14 can maintain the counting direction in the same direction while the stop command signal is outputted at the time of switching the rotation command signals.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、超小形モータを正転ま
たは逆転させる制御を行う際に、超小形モータの回転数
及び回転方向を検知するための構成を改良した超小形モ
ータの位置制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a position control of a microminiature motor having an improved structure for detecting the rotational speed and the direction of rotation of the microminiature motor when controlling the microminiature motor to rotate normally or reversely. Regarding the device.

【0002】[0002]

【従来の技術】モータを正転または逆転させる制御を行
う場合、従来より、モータの回転軸の回転に応じてパル
スを発生するロータリエンコーダを設け、このロータリ
エンコーダからのパルス信号に基づいてモータの回転数
及び回転方向を検知し、この検知結果に応じてモータを
通電制御するように構成されている。上記ロータリエン
コーダの一例を、図4及び図5に示す。この図4及び図
5において、モータ1の回転軸2の一端部には、2極に
着磁された円板状の永久磁石3が取付けられている。そ
して、永久磁石3の外周側の固定部位には、2個のホー
ル素子4及び5が永久磁石3の外周部と対向するように
配設されている。これら2個のホール素子4及び5は、
位相が90度ずれるように配置されている。上記ホール
素子4及び5と永久磁石3とから磁気式のロータリエン
コーダ6が構成されている。
2. Description of the Related Art Conventionally, when performing control for rotating a motor in a normal or reverse direction, a rotary encoder which generates a pulse according to the rotation of a rotary shaft of the motor is provided, and the motor is driven based on a pulse signal from the rotary encoder. The rotation number and the rotation direction are detected, and the motor is energized and controlled according to the detection result. An example of the rotary encoder is shown in FIGS. 4 and 5. In FIGS. 4 and 5, a disk-shaped permanent magnet 3 having two poles is attached to one end of the rotary shaft 2 of the motor 1. Two Hall elements 4 and 5 are arranged at the fixed portion on the outer peripheral side of the permanent magnet 3 so as to face the outer peripheral portion of the permanent magnet 3. These two Hall elements 4 and 5 are
The phases are arranged so as to be shifted by 90 degrees. The Hall elements 4 and 5 and the permanent magnet 3 constitute a magnetic rotary encoder 6.

【0003】この構成の場合、モータ1の回転軸2が回
転すると、永久磁石3が回転し、永久磁石3のN極及び
S極が交互に各ホール素子4、5に近接及び離間を繰り
返す。これにより、各ホール素子4、5は、永久磁石3
の磁極を検知した検知信号を出力する。これらの検知信
号は、永久磁石3の回転に同期して周期的に変化する正
弦波状信号であり、これら正弦波状信号を波形成形回路
により矩形波に成形すると、図6(a)または(b)に
示すような2相のパルス信号A、Bが得られる構成とな
っている。
In this structure, when the rotary shaft 2 of the motor 1 rotates, the permanent magnet 3 rotates, and the N pole and the S pole of the permanent magnet 3 alternately approach and separate from the Hall elements 4 and 5, respectively. As a result, the Hall elements 4 and 5 are connected to the permanent magnet 3
The detection signal that detects the magnetic pole of is output. These detection signals are sinusoidal signals that periodically change in synchronism with the rotation of the permanent magnet 3. When these sinusoidal signals are formed into a rectangular wave by a waveform shaping circuit, the waveform shown in FIG. The two-phase pulse signals A and B as shown in FIG.

【0004】この場合、2相のパルス信号A、Bは、モ
ータ1が正転すると図6(a)に示すような波形とな
り、モータ1が逆転すると図6(b)に示すような波形
となるように構成されている。ここで、図6(a)と図
6(b)とではパルス信号A、Bの位相関係が異なるか
ら、パルス信号A、Bの位相関係を検知することによ
り、モータ1の回転方向を検知できるのである。そし
て、パルス信号A、Bのパルスをカウント(カウントア
ップまたはカウントダウン)することにより、モータ1
の回転数を検知できる構成となっている。
In this case, the two-phase pulse signals A and B have a waveform as shown in FIG. 6 (a) when the motor 1 rotates in the normal direction and a waveform as shown in FIG. 6 (b) when the motor 1 rotates in the reverse direction. Is configured to be. Here, since the phase relationship between the pulse signals A and B is different between FIG. 6A and FIG. 6B, the rotation direction of the motor 1 can be detected by detecting the phase relationship between the pulse signals A and B. Of. Then, by counting (counting up or counting down) the pulses of the pulse signals A and B, the motor 1
It is configured to be able to detect the rotation speed of.

【0005】[0005]

【発明が解決しようとする課題】上記従来構成では、ロ
ータリエンコーダ6のホール素子4、5を永久磁石3の
外周側に配設する構成、即ち、モータ1の径方向に配設
する構成であるので、モータ1の径方向の寸法がある程
度大きい構成でなければならない。これに対して、近
年、径方向の寸法が3〜5mm程度である超小形モータ
(いわゆるミリメートルサイズの小形モータ)が生産さ
れるようになっている。このような超小形モータの回転
数及び回転方向を検知するために、上記磁気式のロータ
リエンコーダを取付けようとしても、超小形モータの径
方向寸法が小さ過ぎるので、上記磁気式のロータリエン
コーダを取付けることができなかった。
In the above conventional configuration, the Hall elements 4 and 5 of the rotary encoder 6 are arranged on the outer peripheral side of the permanent magnet 3, that is, the Hall elements 4 and 5 are arranged in the radial direction of the motor 1. Therefore, the radial size of the motor 1 must be large to some extent. On the other hand, in recent years, microminiature motors (so-called millimeter size miniature motors) having a radial dimension of about 3 to 5 mm have been produced. Even if the magnetic rotary encoder is mounted in order to detect the rotation speed and the rotation direction of such a micro motor, since the radial size of the micro motor is too small, the magnetic rotary encoder is mounted. I couldn't.

【0006】そこで、本発明者は、超小形モータの軸方
向に取付けることが可能な構成のロータリエンコーダを
考えた。このロータリエンコーダは、光センサを備えて
成る光学式のロータリエンコーダであり、光センサをモ
ータの軸方向に配設するように構成している。具体的に
は、上記ロータリエンコーダは、周縁部に多数のスリッ
トを形成した円板をモータの回転軸に取付け、そして、
光センサにより上記円板の周縁部に光を当てると共にそ
の反射光を受光するように構成されている。この構成の
場合、反射光の強さが円板のスリット部分とそれ以外の
部分とで異なることから、光センサからモータの回転に
応じたパルス信号が発生する構成となっている。
Therefore, the inventor of the present invention has considered a rotary encoder having a structure that can be mounted in the axial direction of a microminiature motor. This rotary encoder is an optical rotary encoder including an optical sensor, and the optical sensor is arranged in the axial direction of the motor. Specifically, the rotary encoder is a disc having a large number of slits formed on the peripheral edge thereof, which is attached to a rotary shaft of a motor, and
The optical sensor irradiates the peripheral portion of the disk with light and receives the reflected light. In the case of this configuration, since the intensity of the reflected light is different between the slit portion and the other portion of the disc, the optical sensor generates a pulse signal according to the rotation of the motor.

【0007】しかし、光学式のロータリエンコーダにお
いて、2相のパルス信号A、Bを出力させるように構成
しようとすると、前記磁気式のものに比べてかなり複雑
な構成が必要となるため、上記超小形モータの軸方向に
配設可能な構成では実現不可能である。このため、超小
形モータに取付けた光学式のロータリエンコーダは、単
相のパルス信号だけを発生させる構成とせざるおえな
い。ところが、単相のパルス信号だけでは、モータの回
転方向がわからないので、モータの位置を正確に制御す
ることができなかった。
However, in an optical rotary encoder, if an attempt is made to output two-phase pulse signals A and B, a considerably complicated structure is required as compared with the magnetic type encoder. This is not possible with a configuration that can be arranged in the axial direction of a small motor. Therefore, the optical rotary encoder mounted on the microminiature motor has to be configured to generate only a single-phase pulse signal. However, since the rotation direction of the motor cannot be known only by the single-phase pulse signal, the position of the motor cannot be accurately controlled.

【0008】これに対して、本発明者は、制御回路から
モータを正転させるための正転指令が出ているときに、
上記単相のパルス信号のパルスをカウントアップし、モ
ータを逆転させるための逆転指令が出ているときに、上
記単相のパルス信号のパルスをカウントダウンする構成
を考えた。このように構成すると、モータの回転方向が
わからなくてもモータの位置を制御できる。しかし、上
記構成において、モータを正転及び逆転させる運転を連
続的に繰り返す運転を行うと、正転指令が逆転指令に切
替わっても、モータが慣性で正転方向に回転してしまう
ことがあり、このことは逆の指令の切替時にも発生す
る。このため、上記構成では、指令の切替時にパルスの
カウント値に誤差が含まれる可能性が高いので、実際に
は使用することができないものであった。
On the other hand, the inventor of the present invention, when the normal rotation command for normal rotation of the motor is issued from the control circuit,
A configuration is considered in which the pulse of the single-phase pulse signal is counted up and the pulse of the single-phase pulse signal is counted down when a reverse rotation command for rotating the motor in reverse is issued. According to this structure, the position of the motor can be controlled without knowing the rotation direction of the motor. However, in the above configuration, when the operation of continuously rotating the motor in the forward and reverse directions is continuously repeated, the motor may rotate in the normal rotation direction due to inertia even if the normal rotation command is switched to the reverse rotation command. Yes, this also occurs when switching the reverse command. For this reason, in the above configuration, there is a high possibility that an error will be included in the pulse count value at the time of switching the command, so that it cannot be actually used.

【0009】そこで、本発明の目的は、超小形モータの
回転に応じて単相のパルス信号を発生させる構成におい
て、その単相のパルス信号に基づいてモータの位置を正
確に制御できる超小形モータの位置制御装置を提供する
にある。
Therefore, an object of the present invention is to provide a microminiature motor capable of accurately controlling the position of the motor on the basis of the single-phase pulse signal in a configuration for generating a single-phase pulse signal in response to the rotation of the microminiature motor. To provide a position control device.

【0010】[0010]

【課題を解決するための手段】本発明の超小形モータの
位置制御装置は、超小形モータを回転駆動する駆動回路
を備え、前記超小形モータの回転に応じてパルスを発生
するパルス発生手段を備え、前記超小形モータを正転さ
せるための正転指令信号が与えられているときに前記パ
ルス発生手段からのパルスを加算し、前記超小形モータ
を逆転させるための逆転指令信号が与えられているとき
に前記パルス発生手段からのパルスを減算するようにカ
ウントするパルスカウント手段を備え、このパルスカウ
ント手段のカウント値が設定値に一致または越えたとき
に正転指令信号から逆転指令信号を出力するように切替
え、前記カウント値が初期値に一致または下回ったとき
に逆転指令信号から正転指令信号を出力するように切替
える信号切替手段を備え、この信号切替手段による信号
切替時に前記超小形モータを停止させるための停止指令
信号を設定時間出力する停止信号作成手段を備え、そし
て、前記パルスカウント手段は、正転指令信号または逆
転指令信号が切替わったときでも、前記停止信号作成手
段から停止指令信号が出力されている間はパルスのカウ
ント方向をそれまでと同じ方向に保持するところに特徴
を有する。
A position control device for a microminiature motor according to the present invention comprises a drive circuit for rotationally driving the microminiature motor, and a pulse generating means for generating a pulse according to the rotation of the microminiature motor. A pulse signal from the pulse generating means is added when a forward rotation command signal for rotating the microminiature motor in the normal direction is given, and a reverse rotation command signal for reversing the microminiature motor is given. Pulse counting means for counting the pulse from the pulse generating means so that the pulse value from the pulse generating means is subtracted, and when the count value of the pulse counting means matches or exceeds the set value, the reverse rotation command signal is output from the forward rotation command signal. Signal switching means for switching so as to output a forward rotation command signal from the reverse rotation command signal when the count value matches or falls below the initial value. And a stop signal generating means for outputting a stop command signal for stopping the microminiature motor for a set time when the signal is switched by the signal switching means, and the pulse counting means is a forward rotation command signal or a reverse rotation command signal. It is characterized in that the pulse counting direction is maintained in the same direction as before until the stop command signal is output from the stop signal generating means even when is switched.

【0011】上記構成の場合、パルス発生手段を、光セ
ンサを備えて成る光学式ロータリエンコーダから構成す
ることが好ましい。また、パルス発生手段を、永久磁石
及び磁気センサを備えて成る磁気式ロータリエンコーダ
から構成しても良い。更に、停止信号作成手段は、停止
指令信号を出力する設定時間を可変可能に構成されてい
ることが好ましい。
In the case of the above structure, it is preferable that the pulse generating means is composed of an optical rotary encoder having an optical sensor. Further, the pulse generating means may be composed of a magnetic rotary encoder including a permanent magnet and a magnetic sensor. Further, it is preferable that the stop signal generating means is configured so that the set time for outputting the stop command signal can be changed.

【0012】更にまた、信号切替手段は、設定値を可変
可能に構成されていることも好ましい。この場合、信号
切替手段の設定値を、電源がオフされても記憶内容を保
持する記憶手段に記憶させる構成が良い。また、超小形
モータをブラシレスモータから構成することが好まし
い。更に、超小形モータの停止状態を保持するモータ停
止手段を備えるように構成することが考えられる。
Furthermore, it is also preferable that the signal switching means is constructed so that the set value can be changed. In this case, it is preferable that the setting value of the signal switching unit is stored in the storage unit that retains the stored contents even when the power is turned off. Further, it is preferable that the microminiature motor is composed of a brushless motor. Further, it is conceivable to provide the motor stop means for holding the stopped state of the microminiature motor.

【0013】[0013]

【作用】上記手段によれば、正転指令信号から逆転指令
信号へまたはその逆へ回転指令信号が切替わったときで
も、停止信号作成手段から停止指令信号が出力されてい
る設定時間の間は、パルスのカウント方向をそれまでと
同じ方向に保持する構成とした。これにより、モータを
正転及び逆転させる運転を連続的に繰り返す運転を行う
場合に、回転指令が切替わったときにモータが慣性でそ
れまでの方向に回転してしまうことがあっても、モータ
が停止するまでは、パルスのカウント方向がそれまでと
同じ方向に保持されるので、回転指令の切替時にパルス
のカウント値に誤差が含まれなくなる。従って、超小形
モータの回転に応じて単相のパルス信号を発生させる構
成においても、その単相のパルス信号に基づいてモータ
の位置を正確に制御することが可能となる。
According to the above means, even when the rotation command signal is switched from the forward rotation command signal to the reverse rotation command signal or vice versa, during the set time during which the stop command generation means outputs the stop command signal. The pulse count direction is kept in the same direction as before. As a result, in the case where the operation of continuously rotating the motor in the forward and reverse directions is continuously performed, even if the motor may rotate in the direction up to then due to inertia when the rotation command is switched, Since the pulse count direction is maintained in the same direction as before until is stopped, the pulse count value does not include an error when the rotation command is switched. Therefore, even in a configuration in which a single-phase pulse signal is generated according to the rotation of the microminiature motor, the position of the motor can be accurately controlled based on the single-phase pulse signal.

【0014】また、停止信号作成手段において停止指令
信号を出力する設定時間を可変可能に構成すると、停止
するまでの時間が異なる種々のモータに対しても設定時
間を変えるだけで同じ構成で制御することが可能であ
る。更に、信号切替手段において設定値を可変可能に構
成すると、モータを正転及び逆転させる運転時間を所望
の時間に設定することができる。この場合、信号切替手
段において可変させた設定値を、電源がオフされても記
憶内容を保持する記憶手段に記憶させる構成とすると、
電源がオフされた後、電源を再投入したときに設定値を
再設定する操作が不要である。また、超小形モータの停
止状態を保持するモータ停止手段(例えば電磁ブレーキ
や機械的ブレーキ等)を備える構成とすると、モータを
途中で停止させるような用途にも使用できる。
Further, if the set time for outputting the stop command signal is made variable in the stop signal generating means, various motors having different times until stopping can be controlled by the same structure by changing the set time. It is possible. Further, if the set value is variable in the signal switching means, the operation time for rotating the motor in the forward and reverse directions can be set to a desired time. In this case, if the setting value changed by the signal switching means is stored in the storage means that retains the stored contents even when the power is turned off,
It is not necessary to reset the setting value when the power is turned on again after the power is turned off. If the motor stop means (for example, an electromagnetic brake or a mechanical brake) that holds the stopped state of the microminiature motor is provided, the motor can be used for stopping the motor midway.

【0015】[0015]

【実施例】以下、本発明の一実施例について図1ないし
図3を参照しながら説明する。まず、図1は超小形モー
タの位置制御装置の電気的構成を機能ブロックの組み合
わせにて示している。この図1において、超小形モータ
11は、例えばDCブラシレスモータから構成されてお
り、形状がほぼ円柱状をなしている。この超小形モータ
11の径方向の寸法は、2〜5mm程度である。上記超
小形モータ11の回転軸(出力軸)12は、その右端部
が超小形モータ11の右端部から右方へ向けて突出され
ている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. First, FIG. 1 shows an electrical configuration of a position control device for a micro motor by combining functional blocks. In FIG. 1, the microminiature motor 11 is composed of, for example, a DC brushless motor, and has a substantially cylindrical shape. The radial size of the micro motor 11 is about 2 to 5 mm. The right end of the rotary shaft (output shaft) 12 of the microminiature motor 11 is projected rightward from the right end of the microminiature motor 11.

【0016】上記回転軸12の右端部には、パルス発生
手段である例えばロータリエンコーダ13が設けられて
いる。このロータリエンコーダ13は、光センサ(図示
しない)を備えて成る光学式のロータリエンコーダから
構成されており、光センサをモータ11の軸方向に配設
する構成となっている。具体的には、上記ロータリエン
コーダ13は、モータ11の回転軸12に取付けられ且
つ周縁部に多数のスリットが形成された円板(図示しな
い)と、軸方向の固定部位に設けられ上記円板の周縁部
に光を当てると共にその反射光を受光する反射形の光セ
ンサとから構成されている。この場合、反射光の強さが
円板のスリット部分とそれ以外の部分とで異なることか
ら、光センサはモータ11の回転に応じたパルス信号、
この場合、単相のパルス信号を発生する構成となってい
る。尚、上記光センサの発光素子からの光を光ファイバ
ーを通して円板に当てると共に、円板で反射された反射
光を上記光ファイバーを通して光センサの受光素子によ
り受光するように構成することが好ましい。この光ファ
イバーを用いる構成とすると、ロータリエンコーダ13
の構成を一層簡単化することができる。
At the right end of the rotary shaft 12, there is provided, for example, a rotary encoder 13 which is a pulse generating means. The rotary encoder 13 is composed of an optical rotary encoder including an optical sensor (not shown), and the optical sensor is arranged in the axial direction of the motor 11. Specifically, the rotary encoder 13 is a disc (not shown) attached to the rotary shaft 12 of the motor 11 and having a number of slits formed on the peripheral edge thereof, and the disc provided at a fixed portion in the axial direction. And a reflection type optical sensor that receives the reflected light. In this case, since the intensity of the reflected light is different between the slit portion of the disk and the other portion, the optical sensor outputs a pulse signal according to the rotation of the motor 11,
In this case, a single-phase pulse signal is generated. It is preferable that the light from the light emitting element of the optical sensor is applied to the disc through the optical fiber and the reflected light reflected by the disc is received by the light receiving element of the optical sensor through the optical fiber. If this optical fiber is used, the rotary encoder 13
The configuration of can be further simplified.

【0017】また、上記ロータリエンコーダ13から出
力されたパルス信号は、パルスカウント手段である例え
ば演算部14へ与えられるように構成されている。この
演算部14は、超小形モータ11を正転させるための正
転指令信号が与えられているときにロータリエンコーダ
13からのパルスをカウントアップ(加算)し、超小形
モータ11を逆転させるための逆転指令信号が与えられ
ているときにロータリエンコーダ13からのパルスをカ
ウントダウン(減算)するように構成されている。ま
た、演算部14は、リセットスイッチ15からリセット
信号が与えられると、カウント値をリセット(零クリ
ア)する構成となっている。
The pulse signal output from the rotary encoder 13 is applied to the pulse counting means, for example, the arithmetic section 14. The calculator 14 counts up (adds) the pulses from the rotary encoder 13 when a forward rotation command signal for rotating the microminiature motor 11 in the normal direction is given, and reverses the microminiature motor 11. It is configured to count down (subtract) the pulse from the rotary encoder 13 when the reverse rotation command signal is given. Further, the arithmetic unit 14 is configured to reset (clear to zero) the count value when a reset signal is given from the reset switch 15.

【0018】そして、上記演算部14は、カウント値を
示すカウント値信号を出力して、第1の比較器16及び
第2の比較器17へ与えるように構成されている。第1
の比較器16は、演算部14からのカウント値信号と、
設定値を記憶保持する設定値保持部18からの設定値を
示す信号とを受けて、カウント値が設定値に一致または
越えたときにハイレベル信号を、そうでないときにロウ
レベル信号をモータ反転指令部19へ出力するように構
成されている。また、第2の比較器17は、演算部14
からのカウント値信号と、初期値として零を記憶保持す
る初期値保持部20からの初期値を示す信号とを受け
て、カウント値が設定値に一致または下回ったときにハ
イレベル信号を、そうでないときにロウレベル信号をモ
ータ反転指令部19へ出力するように構成されている。
尚、設定値保持部18は、詳しくは後述するようにし
て、演算部14からのカウント値信号を受けると共に、
外部から設定信号を受けることにより、記憶する設定値
を可変させることが可能な構成となっている。
Then, the arithmetic unit 14 is configured to output a count value signal indicating the count value and to provide it to the first comparator 16 and the second comparator 17. First
The comparator 16 of the
In response to a signal indicating the set value from the set value holding unit 18 that stores and holds the set value, a high level signal is issued when the count value matches or exceeds the set value, and a low level signal is issued to the motor inversion command when the count value is not. It is configured to output to the unit 19. In addition, the second comparator 17 includes an arithmetic unit 14
When the count value is equal to or lower than the set value, the high level signal, If it is not, a low level signal is output to the motor reversal command unit 19.
The set value holding unit 18 receives the count value signal from the calculation unit 14 as described later in detail, and
By receiving a setting signal from the outside, the set value to be stored can be changed.

【0019】また、モータ反転指令部19は、第1及び
第2の比較器16及び17からの信号に基づいて超小形
モータ11の回転方向を指令する信号、即ち、正転指令
信号または逆転指令信号を出力する機能を有している。
具体的には、モータ反転指令部19は、最初に正転指令
信号(具体的には、ハイレベル信号)を出力していると
して、この状態で第1の比較器16からハイレベル信号
を受けたとき、即ち、カウント値が設定値に一致したと
き、その時点(信号切替時点)で逆転指令信号(具体的
には、ロウレベル信号)を切替出力するように構成され
ている。また、モータ反転指令部19は、逆転指令信号
を出力している状態で第2の比較器17からハイレベル
信号を受けたとき、即ち、カウント値が初期値に一致し
たとき、その時点(信号切替時点)で正転指令信号を切
替出力するように構成されている。上記モータ反転指令
部19から出力される指令信号を、図2(a)に示す。
この場合、モータ反転指令部19、第1の比較器16、
第2の比較器17、設定値保持部18及び初期値保持部
20から信号切替手段21が構成されている。
Further, the motor reversal command section 19 is a signal for commanding the rotation direction of the microminiature motor 11 based on the signals from the first and second comparators 16 and 17, that is, a forward rotation command signal or a reverse rotation command. It has a function of outputting a signal.
Specifically, the motor reversal command unit 19 receives the high level signal from the first comparator 16 in this state, assuming that the normal rotation command signal (specifically, the high level signal) is first output. When the count value coincides with the set value, the reverse rotation command signal (specifically, low level signal) is switched and output at that time (signal switching time). Further, when the motor inversion command unit 19 receives a high level signal from the second comparator 17 while outputting the reverse rotation command signal, that is, when the count value matches the initial value, the time (signal It is configured to switch and output the forward rotation command signal at the time of switching. The command signal output from the motor reversal command unit 19 is shown in FIG.
In this case, the motor reversal command unit 19, the first comparator 16,
The second comparator 17, the set value holding unit 18, and the initial value holding unit 20 constitute a signal switching unit 21.

【0020】そして、モータ反転指令部19から出力さ
れる正転または逆転指令信号は、停止信号作成部22及
びカウント方向指令部23へ与えられるように構成され
ている。上記停止信号作成部22は、停止信号生成手段
を構成するものであり、図2(a)及び(b)に示すよ
うに、モータ反転指令部19からの正転指令信号が逆転
指令信号に切り替わったとき、または、逆転指令信号が
正転指令信号に切り替わったときに(各信号切替時
に)、超小形モータ11を停止させるための停止指令信
号(具体的には、ハイレベル信号)を設定時間t1だけ
出力するように構成されている。そして、停止信号作成
部22から出力される停止指令信号は、カウント方向指
令部23とモータ駆動回路24とへ与えられる構成とな
っている。
The normal rotation or reverse rotation command signal output from the motor reversal command unit 19 is provided to the stop signal generation unit 22 and the count direction command unit 23. The stop signal generating unit 22 constitutes a stop signal generating means, and as shown in FIGS. 2A and 2B, the normal rotation command signal from the motor reversal command unit 19 is switched to the reverse rotation command signal. Or when the reverse rotation command signal is switched to the forward rotation command signal (when switching each signal), the stop command signal (specifically, a high level signal) for stopping the microminiature motor 11 is set for a set time. It is configured to output only t1. The stop command signal output from the stop signal generation unit 22 is provided to the count direction command unit 23 and the motor drive circuit 24.

【0021】また、上記カウント方向指令部23は、モ
ータ反転指令部19からの正転または逆転指令信号と、
停止信号作成部22からの停止指令信号とを受けて、図
2(c)に示すように、カウント方向信号を出力するよ
うに構成されている。具体的には、カウント方向指令部
23は、モータ反転指令部19から正転指令信号を受け
ているときには、正転方向信号(ハイレベル信号)を出
力し、正転指令信号が逆転指令信号に切り替わっても、
停止信号作成部22から停止指令信号を受けている間は
正転方向信号(ハイレベル信号)を出力し続ける。そし
て、カウント方向指令部23は、停止信号作成部22か
ら停止指令信号を受けなくなった時点で、逆転方向信号
(ロウレベル信号)を出力する。
Further, the count direction command section 23 receives a forward rotation or reverse rotation command signal from the motor reversal command section 19,
In response to the stop command signal from the stop signal generator 22, the count direction signal is output as shown in FIG. 2 (c). Specifically, the count direction command unit 23 outputs a normal rotation direction signal (high level signal) when the normal rotation command signal is received from the motor reversal command unit 19, and the normal rotation command signal becomes a reverse rotation command signal. Even if you switch
While receiving the stop command signal from the stop signal generator 22, the forward rotation direction signal (high level signal) is continuously output. Then, the count direction command unit 23 outputs a reverse rotation direction signal (low level signal) at the time when the stop direction signal is not received from the stop signal generation unit 22.

【0022】更に、カウント方向指令部23は、モータ
反転指令部19から逆転指令信号を受けている間は、逆
転方向信号(ロウレベル信号)を出力し、逆転指令信号
が正転指令信号に切り替わっても、停止信号作成部22
から停止指令信号を受けている間は逆転方向信号(ロウ
レベル信号)を出力し続ける。そして、カウント方向指
令部23は、停止信号作成部22から停止指令信号を受
けなくなった時点で、正転方向信号(ハイレベル信号)
を出力する。以下、カウント方向指令部23は、上述し
た動作と同じ動作を繰り返し実行するように構成されて
いる。更に、カウント方向指令部23から出力された正
転または逆転方向信号は、前記演算部14へ与えられる
と共に、切替スイッチ25を介してモータ駆動回路24
へ与えられる構成となっている。
Further, the count direction command unit 23 outputs a reverse rotation direction signal (low level signal) while receiving the reverse rotation command signal from the motor reverse command unit 19, and the reverse rotation command signal is switched to the normal rotation command signal. Also, the stop signal creation unit 22
The reverse rotation direction signal (low level signal) is continuously output while the stop command signal is received from. Then, when the count direction command unit 23 stops receiving the stop command signal from the stop signal generation unit 22, the normal direction signal (high level signal)
Is output. Hereinafter, the count direction command unit 23 is configured to repeatedly execute the same operation as the above-described operation. Further, the forward rotation or reverse rotation direction signal output from the count direction command unit 23 is given to the calculation unit 14 and at the same time the motor drive circuit 24 via the changeover switch 25.
It is given to.

【0023】ここで、上記演算部14は、カウント方向
指令部23から正転方向信号を受けているときはパルス
を加算(カウントアップ)し、逆転方向信号を受けてい
るときはパルスを減算(カウントダウン)するようにカ
ウントする構成となっている。また、切替スイッチ25
は、使用者により切替操作されるスイッチであり、その
接点(c−a)間がオンのとき、モータ11をオフする
ためのオフ信号がモータ駆動回路24へ与えられる。そ
して、切替スイッチ25の接点(c−b)間がオンのと
き、モータ11をオンする(例えば正転方向に通電す
る)ためのオン信号がモータ駆動回路24へ与えられ
る。更に、切替スイッチ25の接点(c−d)間がオン
のとき、カウント方向指令部23から出力された正転ま
たは逆転方向信号がモータ駆動回路24へ与えられる構
成となっている。
Here, the arithmetic unit 14 adds (counts up) the pulse when it receives the forward direction signal from the count direction command unit 23, and subtracts the pulse (when it receives the reverse direction signal). Countdown) is configured to count. In addition, the changeover switch 25
Is a switch that is switched by the user, and when the contact (c-a) is on, an off signal for turning off the motor 11 is given to the motor drive circuit 24. Then, when the contact (c-b) of the changeover switch 25 is on, an on signal for turning on the motor 11 (for example, energizing in the forward direction) is given to the motor drive circuit 24. Furthermore, when the contact points (cd) of the changeover switch 25 are on, the forward rotation or reverse rotation direction signal output from the count direction command unit 23 is given to the motor drive circuit 24.

【0024】また、モータ駆動回路24は、切替スイッ
チ25の接点(c−a)間がオンされてオフ信号を受け
たとき、並びに、停止信号作成部22から停止指令信号
を受けたとき、モータ11をオフして停止するように構
成されている。そして、モータ駆動回路24は、切替ス
イッチ25の接点(c−b)間がオンされてオン信号を
受けたとき、モータ11を通電(オン)して正転方向へ
回転駆動するように構成されている。更に、モータ駆動
回路24は、切替スイッチ25の接点(c−d)間がオ
ンされた状態で、カウント方向指令部23から正転方向
信号を受けたとき、モータ11を通電して正転方向へ回
転駆動し、一方、カウント方向指令部23から逆転方向
信号を受けたとき、モータ11を通電して逆転方向へ回
転駆動するように構成されている。
Further, the motor drive circuit 24 receives the stop signal from the stop signal generator 22 when the contact between the contacts (c-a) of the changeover switch 25 is turned on and the off signal is received. 11 is turned off and stopped. The motor drive circuit 24 is configured to energize (turn on) the motor 11 to rotate it in the forward direction when the contact (c-b) of the changeover switch 25 is turned on and receives an on signal. ing. Further, the motor drive circuit 24 energizes the motor 11 when the forward direction signal is received from the count direction command unit 23 in a state where the contacts (cd) of the changeover switch 25 are turned on, and the forward direction is turned on. On the other hand, when the reverse rotation direction signal is received from the count direction command unit 23, the motor 11 is energized to rotate in the reverse rotation direction.

【0025】次に、上記構成の作用を図3も参照して説
明する。この図3のフローチャートは、上記した超小形
モータ11の位置制御装置の制御(動作)内容を概略的
に示すものである。まず、設定値保持部18の設定値を
設定する処理を行う場合について説明する。この場合、
図3に示すように、最初にリセットスイッチ15を操作
すると、ステップS1にて「YES」へ進み、演算部1
4のカウント値をリセットする(ステップS2)。続い
て、切替スイッチ25の接点(c−b)間をオンする操
作を行うと、ステップS3にて「YES」へ進み、超小
形モータ11をオンして正転方向へ回転させると共に
(ステップS4)、演算部14のカウントアップ動作を
開始させる(ステップS5)。
Next, the operation of the above configuration will be described with reference to FIG. The flow chart of FIG. 3 schematically shows the contents of control (operation) of the position control device for the micro motor 11 described above. First, the case of performing the process of setting the set value of the set value holding unit 18 will be described. in this case,
As shown in FIG. 3, when the reset switch 15 is first operated, the process proceeds to “YES” in step S1 and the calculation unit 1
The count value of 4 is reset (step S2). Then, when an operation of turning on the contacts (c-b) of the changeover switch 25 is performed, the process proceeds to “YES” at step S3, and the microminiature motor 11 is turned on to rotate in the forward rotation direction (step S4). ), The count-up operation of the calculation unit 14 is started (step S5).

【0026】そして、この後、使用者が設定したい運転
時間が経過した時点(即ち、設定したい回転数だけ超小
形モータ11が回転した時点)で、切替スイッチ25の
接点(c−a)間をオンする操作を行うと、ステップS
6にて「YES」へ進み、超小形モータ11をオフして
停止させると共に(ステップS7)、演算部14のカウ
ントアップ動作を停止させる(ステップS8)。続い
て、使用者が図示しない設定スイッチを操作して設定信
号を設定値保持部18へ与えると、ステップS9にて
「YES」へ進み、設定値保持部18は、演算部14か
らのカウント値信号を受けて、該演算部14がカウント
したカウント値を設定値として記憶保持する(ステップ
S10)。これにより、超小形モータ11をオフする時
点、換言すると、切替スイッチ25の接点(c−a)間
をオンする操作時点を適宜変えることにより、設定値保
持部18に保持する設定値を所望の値に設定することが
可能な構成となっている。
Then, after this, when the operating time desired by the user has elapsed (that is, when the microminiature motor 11 has rotated by the desired rotational speed), the contact points (c-a) of the changeover switch 25 are changed. When you turn it on, step S
In step 6, the process proceeds to "YES" to turn off the microminiature motor 11 to stop it (step S7), and stop the count-up operation of the arithmetic unit 14 (step S8). Subsequently, when the user operates a setting switch (not shown) to give a setting signal to the set value holding unit 18, the process proceeds to “YES” in step S9, and the set value holding unit 18 causes the set value holding unit 18 to calculate the count value. Upon receiving the signal, the count value counted by the calculation unit 14 is stored and held as a set value (step S10). Thus, the set value held in the set value holding unit 18 can be changed to a desired value by appropriately changing the time when the microminiature motor 11 is turned off, in other words, the time when the contact between the contacts (ca) of the changeover switch 25 is turned on. It has a configuration that can be set to a value.

【0027】次に、超小形モータ11を正転させる運転
と逆転させる運転を交互に連続して繰り返す運転を実行
する場合について説明する。この場合、使用者がリセッ
トスイッチ15を操作しないで切替スイッチ25の接点
(c−d)間をオンする操作を行うと、ステップS1に
て「NO」へ進むと共に、ステップS11にて「YE
S」へ進み、正逆転の連続運転を実行する(ステップS
12)。
Next, a case will be described in which the operation of rotating the microminiature motor 11 in the normal direction and the operation of rotating it in the reverse direction are alternately repeated. In this case, if the user performs an operation of turning on the contacts (cd) of the changeover switch 25 without operating the reset switch 15, the process proceeds to “NO” in step S1 and “YE” in step S11.
S "to execute the forward / reverse continuous operation (step S
12).

【0028】ここでは、まず超小形モータ11を逆転さ
せる運転が行われる。具体的には、最初は演算部14の
カウント値と設定値保持部18の設定値とが一致してい
るから、第1の比較器16からハイレベル信号がモータ
反転指令部19へ与えられている。そして、このモータ
反転指令部19から逆転指令信号がカウント方向指令部
23へ与えられており、更に、このカウント方向指令部
23から逆転方向信号がモータ駆動回路24及び演算部
14へ与えられている。従って、切替スイッチ25の接
点(c−d)間がオンされると、モータ駆動回路24に
より超小形モータ11がオンされて逆転方向に回転駆動
されると共に、演算部14がカウントダウン動作を開始
する。
Here, first, the operation of reversing the micro motor 11 is performed. Specifically, at first, since the count value of the calculation unit 14 and the set value of the set value holding unit 18 match, a high level signal is given from the first comparator 16 to the motor inversion command unit 19. There is. Then, a reverse rotation instruction signal is given from the motor reverse instruction portion 19 to the count direction instruction portion 23, and further, a reverse rotation direction signal is given from the count direction instruction portion 23 to the motor drive circuit 24 and the calculation portion 14. . Therefore, when the contact points (c-d) of the changeover switch 25 are turned on, the micro drive motor 24 is turned on by the motor drive circuit 24 to be rotationally driven in the reverse rotation direction, and the calculation unit 14 starts the countdown operation. .

【0029】そして、この後、演算部14のカウント値
が初期値(零)に達すると、演算部14のカウント値と
初期値保持部20の設定値とが一致するから、第2の比
較器17からハイレベル信号がモータ反転指令部19へ
与えられる。これにより、モータ反転指令部19は、逆
転指令信号から正転指令信号に切替えて、該正転指令信
号をカウント方向指令部23及び停止信号作成部22へ
与える。すると、停止信号作成部22は、逆転指令信号
が正転指令信号に切り替わったときに(信号切替時
に)、超小形モータ11を停止させるための停止指令信
号を設定時間t1だけカウント方向指令部23及びモー
タ駆動回路24へ出力する。
After that, when the count value of the arithmetic unit 14 reaches the initial value (zero), the count value of the arithmetic unit 14 and the set value of the initial value holding unit 20 match, so that the second comparator A high-level signal is given from 17 to the motor reversal command unit 19. As a result, the motor reversal command unit 19 switches from the reverse rotation command signal to the normal rotation command signal and gives the normal rotation command signal to the count direction command unit 23 and the stop signal generation unit 22. Then, when the reverse rotation command signal is switched to the normal rotation command signal (during signal switching), the stop signal generation unit 22 counts the stop command signal for stopping the microminiature motor 11 for the set time t1. And to the motor drive circuit 24.

【0030】これにより、モータ駆動回路24は停止指
令信号を受けている間(設定時間t1)超小形モータ1
1をオフ(断電)して停止させる。そして同時に、カウ
ント方向指令部23は停止指令信号を受けている間(設
定時間t1)逆転方向信号を演算部14へ出力し続け
る。この結果、演算部14は上記設定時間t1の間はパ
ルスのカウント方向をそれまでの方向(この場合、カウ
ントダウン方向)に保持する。
As a result, while the motor drive circuit 24 is receiving the stop command signal (set time t1), the microminiature motor 1
Turn off (cut off) 1 and stop. At the same time, the count direction command unit 23 continues to output the reverse direction signal to the calculation unit 14 while receiving the stop command signal (setting time t1). As a result, the arithmetic unit 14 holds the pulse counting direction in the direction up to then (countdown direction in this case) during the set time t1.

【0031】この後、上記設定時間t1が経過すると、
停止信号作成部22が停止指令信号を出力しなくなるか
ら、カウント方向指令部23は逆転方向信号から正転方
向信号に切り替えて出力する。これにより、モータ駆動
回路24は超小形モータ11をオン(通電)して正転方
向へ回転駆動させる。そして同時に、演算部14はパル
スのカウント方向を切り替えてカウントアップ方向に
し、以降カウントアップ動作を行う。この結果、超小形
モータ11を正転させる運転が行われる。
After that, when the set time t1 elapses,
Since the stop signal generation unit 22 stops outputting the stop command signal, the count direction command unit 23 switches from the reverse rotation direction signal to the normal rotation direction signal and outputs it. As a result, the motor drive circuit 24 turns on (energizes) the microminiature motor 11 to rotate it in the forward direction. At the same time, the arithmetic unit 14 switches the counting direction of the pulse to the counting up direction, and thereafter performs the counting up operation. As a result, the operation of rotating the microminiature motor 11 in the normal direction is performed.

【0032】そして、この後、演算部14のカウント値
が設定値に達すると、演算部14のカウント値と設定値
保持部18の設定値とが一致するから、第1の比較器1
6からハイレベル信号がモータ反転指令部19へ与えら
れる。これにより、モータ反転指令部19は、正転指令
信号から逆転指令信号に切替えて、該逆転指令信号をカ
ウント方向指令部23及び停止信号作成部22へ与え
る。すると、停止信号生成部22は、正転指令信号が逆
転指令信号に切り替わったときに(信号切替時に)、超
小形モータ11を停止させるための停止指令信号を設定
時間t1だけカウント方向指令部23及びモータ駆動回
路24へ出力する。
After that, when the count value of the arithmetic unit 14 reaches the set value, the count value of the arithmetic unit 14 and the set value of the set value holding unit 18 match, so that the first comparator 1
A high level signal from 6 is given to the motor reversal command unit 19. As a result, the motor reversal command unit 19 switches from the normal rotation command signal to the reverse rotation command signal, and gives the reverse rotation command signal to the count direction command unit 23 and the stop signal generation unit 22. Then, when the forward rotation command signal is switched to the reverse rotation command signal (during signal switching), the stop signal generation unit 22 counts the stop command signal for stopping the microminiature motor 11 for the set time t1. And to the motor drive circuit 24.

【0033】これにより、モータ駆動回路24は停止指
令信号を受けている間(設定時間t1)超小形モータ1
1をオフして停止させる。そして同時に、カウント方向
指令部23は停止指令信号を受けている間(設定時間t
1)正転方向信号を演算部14へ出力し続ける。この結
果、演算部14は上記設定時間t1の間はパルスのカウ
ント方向をそれまでの方向(この場合、カウントアップ
方向)に保持する。
As a result, the motor drive circuit 24 receives the stop command signal (set time t1) and the microminiature motor 1
Turn off 1 and stop. At the same time, the count direction command unit 23 receives the stop command signal (set time t
1) The normal rotation direction signal is continuously output to the calculation unit 14. As a result, the arithmetic unit 14 holds the pulse counting direction in the direction up to then (count-up direction in this case) during the set time t1.

【0034】この後、上記設定時間t1が経過すると、
停止信号作成部22が停止指令信号を出力しなくなるか
ら、カウント方向指令部23は正転方向信号から逆転方
向信号に切り替えて出力する。これにより、モータ駆動
回路24は超小形モータ11をオンして逆転方向へ回転
駆動させる。そして同時に、演算部14はパルスのカウ
ント方向を切り替えてカウントダウン方向にし、以降カ
ウントダウン動作を行う。この結果、超小形モータ11
を逆転させる運転が行われる。以下、超小形モータ11
の正転運転と逆転運転とが交互に連続して繰り返される
ように構成されている(図2(e)参照)。
After that, when the set time t1 elapses,
Since the stop signal generation unit 22 does not output the stop command signal, the count direction command unit 23 switches from the normal rotation direction signal to the reverse rotation direction signal and outputs it. As a result, the motor drive circuit 24 turns on the micro motor 11 to rotate it in the reverse direction. At the same time, the arithmetic unit 14 switches the pulse count direction to the countdown direction, and thereafter performs the countdown operation. As a result, the micro motor 11
The operation to reverse is performed. Below, the micro motor 11
The normal rotation operation and the reverse rotation operation are alternately and continuously repeated (see FIG. 2 (e)).

【0035】尚、上記連続運転を止める場合は、切替ス
イッチ25の接点(c−a)間をオンする操作を行う。
すると、ステップS13にて「YES」へ進み、モータ
駆動回路24が超小形モータ11をオフ(断電)して停
止すると共に(ステップS14)、演算部14がカウン
ト動作を停止する(ステップS15)。
When the continuous operation is stopped, an operation of turning on the contact (ca) of the changeover switch 25 is performed.
Then, in step S13, the process proceeds to “YES”, the motor drive circuit 24 turns off (cuts off the electric power) the microminiature motor 11 and stops it (step S14), and the arithmetic unit 14 stops the counting operation (step S15). .

【0036】このような構成の本実施例によれば、正転
指令信号から逆転指令信号へまたはその逆へ回転指令信
号が切替わったときでも、停止信号作成部22から停止
指令信号が出力されている設定時間t1の間は、演算部
14のパルスのカウント方向をそれまでと同じ方向に保
持する構成としたので、超小形モータ11を正転及び逆
転させる運転を連続的に繰り返す運転を行う場合に、回
転指令が切替わったときに超小形モータ11が慣性でそ
れまでの方向に回転してしまうことがあっても、超小形
モータ11が停止するまでは、パルスのカウント方向が
それまでと同じ方向に保持されるようになる。このた
め、回転指令の切替時に、演算部14のパルスのカウン
ト値に誤差が含まれなくなる。従って、超小形モータ1
1の回転に応じて単相のパルス信号を発生させるロータ
リエンコーダ13を用いる構成において、その単相のパ
ルス信号に基づいて超小形モータ11の位置を正確に制
御することができる。
According to this embodiment having such a configuration, even when the rotation command signal is switched from the forward rotation command signal to the reverse rotation command signal or vice versa, the stop signal generation unit 22 outputs the stop command signal. During the set time t1, the pulse counting direction of the arithmetic unit 14 is kept in the same direction as before, so that the operation of rotating the microminiature motor 11 in the forward and reverse directions is continuously repeated. In this case, even if the microminiature motor 11 rotates in the previous direction due to inertia when the rotation command is switched, until the microminiature motor 11 stops, the counting direction of the pulse is until then. Will be held in the same direction as. Therefore, when the rotation command is switched, the count value of the pulse of the calculation unit 14 does not include an error. Therefore, the microminiature motor 1
In the configuration using the rotary encoder 13 that generates a single-phase pulse signal in response to one rotation, the position of the microminiature motor 11 can be accurately controlled based on the single-phase pulse signal.

【0037】また、上記実施例では、設定値保持部18
において設定値を可変可能に構成したので、超小形モー
タ11を正転及び逆転させる各運転時間を所望の時間に
設定することができる。尚、この場合、設定値を可変さ
せる構成は、上記実施例に限られるものではなく、例え
ば設定値を可変させるためのディップスイッチ等を設け
る構成としても良い。
Further, in the above embodiment, the set value holding unit 18
Since the setting value is variable in the above, it is possible to set each operation time for rotating the microminiature motor 11 in the normal rotation and the reverse rotation to a desired time. In this case, the configuration for changing the set value is not limited to the above-described embodiment, and for example, a configuration such as a dip switch for changing the set value may be provided.

【0038】また、バックアップ電源を設けて、電源が
オフされたときにも設定値保持部18に記憶させた設定
値を記憶保持可能に構成しても良い。この場合、電源が
オフされた後、電源を再投入したときに設定値を再設定
する操作が不要となり、使い勝手が良くなる。上記構成
では、バックアップ電源及び設定値保持部18が、電源
がオフされても記憶内容を保持する記憶手段を構成して
いる。また、バックアップ電源の代わりに、不揮発性メ
モリ(例えばEEPROM等)を用いる構成としても良
い。更に、上記バックアップ電源により、電源がオフさ
れたときにも演算部14のカウント値を記憶保持させる
構成とすると、超小形モータ11の位置制御や保守等を
より一層行い易くなる。
A backup power source may be provided so that the set value stored in the set value holding section 18 can be stored and held even when the power is turned off. In this case, it is not necessary to reset the set value when the power is turned on again after the power is turned off, and the usability is improved. In the above-mentioned configuration, the backup power supply and the set value holding unit 18 constitute a storage unit that holds the stored contents even when the power is turned off. Further, instead of the backup power source, a non-volatile memory (for example, EEPROM or the like) may be used. Furthermore, if the backup power supply is used to store the count value of the calculation unit 14 even when the power supply is turned off, the position control and maintenance of the microminiature motor 11 can be performed more easily.

【0039】一方、停止信号作成部22において、停止
指令信号を出力する設定時間t1を可変可能に構成して
も良く、このように構成すると、停止するまでの時間が
異なる種々のモータに対しても設定時間を変えるだけで
同じ構成で運転制御することが可能である。また、超小
形モータ11の停止状態を保持するモータ停止手段とし
て例えば電磁ブレーキや機械的ブレーキ等を設ける構成
とすることも好ましい。そして、この構成の場合、モー
タを停止させたときに外力でモータが回転することがな
いから、モータを途中で停止させるような用途にも使用
できる。
On the other hand, the stop signal generating section 22 may be configured so that the set time t1 for outputting the stop command signal can be varied. With such a configuration, it is possible for various motors with different time until stop. It is possible to control operation with the same configuration by changing the set time. It is also preferable that an electromagnetic brake, a mechanical brake, or the like is provided as the motor stopping means for holding the stopped state of the microminiature motor 11. Further, in the case of this configuration, when the motor is stopped, the motor does not rotate due to an external force, and therefore, it can be used for a purpose of stopping the motor on the way.

【0040】尚、上記実施例では、ロータリエンコーダ
13を光学式のロータリエンコーダにより構成したが、
これに代えて、永久磁石及び磁気センサを備えて成る磁
気式ロータリエンコーダにより構成しても良い。この構
成の場合も、上記実施例とほぼ同様な作用効果を得るこ
とができる。
In the above embodiment, the rotary encoder 13 is composed of an optical rotary encoder.
Instead of this, a magnetic rotary encoder including a permanent magnet and a magnetic sensor may be used. Also in the case of this configuration, it is possible to obtain substantially the same operational effects as those of the above embodiment.

【0041】[0041]

【発明の効果】本発明は、以上の説明から明らかなよう
に、超小形モータの回転に応じて単相のパルス信号を発
生させると共に、その単相のパルス信号に基づいてモー
タの位置を制御する構成において、正転指令信号または
逆転指令信号が切替わったときでも、停止信号作成手段
から停止指令信号が出力されている設定時間の間はパル
スのカウント方向をそれまでと同じ方向に保持する構成
としたので、モータを正転及び逆転させる運転を連続的
に繰り返す運転を行なっても、回転指令の切替時にパル
スカウント手段のパルスのカウント値に誤差が含まれな
くなり、単相のパルス信号に基づいて正確に制御するこ
とができるという優れた効果を奏する。
As is apparent from the above description, the present invention generates a single-phase pulse signal according to the rotation of a microminiature motor, and controls the motor position based on the single-phase pulse signal. In this configuration, even when the forward rotation command signal or the reverse rotation command signal is switched, the pulse counting direction is maintained in the same direction as before during the set time during which the stop command generating unit outputs the stop command signal. Since the configuration is adopted, even if the operation of continuously rotating the motor in the forward direction and the reverse direction is continuously repeated, the pulse count value of the pulse counting means does not include an error when the rotation command is switched, and a single-phase pulse signal is generated. It has an excellent effect that it can be controlled accurately based on the above.

【0042】また、停止信号作成手段において停止指令
信号を出力する設定時間を可変可能に構成したので、停
止するまでの時間が異なる種々のモータに対しても設定
時間を変えるだけで同じ構成で制御することが可能であ
る。更に、信号切替手段において設定値を可変可能に構
成したので、モータを正転及び逆転させる運転時間を所
望の時間に設定することができる。この場合、信号切替
手段において可変させた設定値を、電源がオフされても
記憶内容を保持する記憶手段に記憶させる構成とする
と、電源がオフされた後、電源を再投入したときに設定
値を再設定する操作が不要である。また、超小形モータ
の停止状態を保持するモータ停止手段(例えば電磁ブレ
ーキや機械的ブレーキ等)を備える構成とすると、モー
タを途中で停止させるような用途にも使用可能である。
Further, since the set time for outputting the stop command signal is variable in the stop signal generating means, the same structure can be controlled by changing the set time even for various motors having different times until the stop. It is possible to Further, since the set value is variable in the signal switching means, the operation time for rotating the motor in the forward and reverse directions can be set to a desired time. In this case, if the set value changed by the signal switching means is stored in the storage means that retains the stored contents even when the power is turned off, the set value is set when the power is turned on again after the power is turned off. There is no need to reconfigure. If the motor stop means (for example, an electromagnetic brake or a mechanical brake) for holding the stopped state of the microminiature motor is provided, the motor can be used for stopping the motor midway.

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

【図1】本発明の一実施例を示すブロック図FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】タイムチャート[Figure 2] Time chart

【図3】フローチャートFIG. 3 Flow chart

【図4】従来構成を示す超小形モータ及びロータリエン
コーダを示す正面図
FIG. 4 is a front view showing a conventional microminiature motor and a rotary encoder.

【図5】超小形モータ及びロータリエンコーダを示す側
面図
FIG. 5 is a side view showing a micro motor and a rotary encoder.

【図6】タイムチャートFIG. 6 Time chart

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

11は超小形モータ、12は回転軸、13はロータリエ
ンコーダ(パルス発生手段)、14は演算部(パルスカ
ウント手段)、16は第1の比較器、17は第2の比較
器、18は設定値保持部、19はモータ反転指令部、2
0は初期値保持部、21は信号切替手段、22は停止信
号作成部(停止信号作成手段)、23はカウント方向指
令部、24はモータ駆動回路、25は切替スイッチを示
す。
11 is a micro motor, 12 is a rotary shaft, 13 is a rotary encoder (pulse generating means), 14 is a computing unit (pulse counting means), 16 is a first comparator, 17 is a second comparator, and 18 is a setting. Value holding unit, 19 is a motor reversal command unit, 2
Reference numeral 0 is an initial value holding unit, 21 is a signal switching unit, 22 is a stop signal creating unit (stop signal creating unit), 23 is a count direction command unit, 24 is a motor drive circuit, and 25 is a changeover switch.

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 超小形モータを回転駆動する駆動回路
と、 前記超小形モータの回転に応じてパルスを発生するパル
ス発生手段と、 前記超小形モータを正転させるための正転指令信号が与
えられているときに前記パルス発生手段からのパルスを
加算し、前記超小形モータを逆転させるための逆転指令
信号が与えられているときに前記パルス発生手段からの
パルスを減算するようにカウントするパルスカウント手
段と、 このパルスカウント手段のカウント値が設定値に一致ま
たは越えたときに正転指令信号から逆転指令信号を出力
するように切替え、前記カウント値が初期値に一致また
は下回ったときに逆転指令信号から正転指令信号を出力
するように切替える信号切替手段と、 この信号切替手段による信号切替時に前記超小形モータ
を停止させるための停止指令信号を設定時間出力する停
止信号作成手段とを備え、 前記パルスカウント手段は、正転指令信号または逆転指
令信号が切替わったときでも、前記停止信号作成手段か
ら停止指令信号が出力されている間はパルスのカウント
方向をそれまでと同じ方向に保持することを特徴とする
超小形モータの位置制御装置。
1. A drive circuit for rotationally driving a microminiature motor, pulse generating means for generating a pulse in response to rotation of the microminiature motor, and a normal rotation command signal for normal rotation of the microminiature motor. Pulse to count the pulse from the pulse generating means when the reverse rotation command signal for reversing the microminiature motor is given. Switching between the counting means and the forward rotation command signal to output the reverse rotation command signal when the count value of the pulse counting means matches or exceeds the set value, and reverses when the count value matches or falls below the initial value. A signal switching means for switching the command signal to output a normal rotation command signal, and the microminiature motor is stopped when the signal is switched by the signal switching means. Stop signal generating means for outputting a stop command signal for a set time, the pulse counting means, even when the forward rotation command signal or the reverse rotation command signal is switched, the stop command signal from the stop signal generating means A position control device for a microminiature motor that keeps the pulse counting direction in the same direction as before while it is being output.
【請求項2】 前記パルス発生手段は、光センサを備え
て成る光学式ロータリエンコーダから構成されているこ
とを特徴とする請求項1記載の超小形モータの位置制御
装置。
2. The position control device for a microminiature motor according to claim 1, wherein the pulse generating means is composed of an optical rotary encoder including an optical sensor.
【請求項3】 前記パルス発生手段は、永久磁石及び磁
気センサを備えて成る磁気式ロータリエンコーダから構
成されていることを特徴とする請求項1記載の超小形モ
ータの位置制御装置。
3. The position control device for a microminiature motor according to claim 1, wherein the pulse generating means is composed of a magnetic rotary encoder including a permanent magnet and a magnetic sensor.
【請求項4】 前記停止信号作成手段は、停止指令信号
を出力する設定時間を可変可能に構成されていることを
特徴とする請求項1ないし3のいずれかに記載の超小形
モータの位置制御装置。
4. The position control of the microminiature motor according to claim 1, wherein the stop signal generating means is configured to be able to vary a set time for outputting a stop command signal. apparatus.
【請求項5】 前記信号切替手段は、設定値を可変可能
に構成されていることを特徴とする請求項1ないし4の
いずれかに記載の超小形モータの位置制御装置。
5. The position control device for a microminiature motor according to claim 1, wherein the signal switching means is configured to be able to change a set value.
【請求項6】 前記信号切替手段の設定値を、電源がオ
フされても記憶内容を保持する記憶手段に記憶させるよ
うに構成したことを特徴とする請求項5記載の超小形モ
ータの位置制御装置。
6. The position control of a microminiature motor according to claim 5, wherein the set value of the signal switching means is stored in a storage means that retains stored contents even when power is turned off. apparatus.
【請求項7】 前記超小形モータは、ブラシレスモータ
から構成されていることを特徴とする請求項1ないし6
のいずれかに記載の超小形モータの位置制御装置。
7. The microminiature motor comprises a brushless motor.
2. A position control device for a microminiature motor according to any one of 1.
【請求項8】 前記超小形モータの停止状態を保持する
モータ停止手段を備えたことを特徴とする請求項1ない
し7のいずれかに記載の超小形モータの位置制御装置。
8. The position control device for a microminiature motor according to claim 1, further comprising a motor stopping means for holding the stopped state of the microminiature motor.
JP6325812A 1994-12-27 1994-12-27 Position controller for microminiature motor Pending JPH08182364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6325812A JPH08182364A (en) 1994-12-27 1994-12-27 Position controller for microminiature motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6325812A JPH08182364A (en) 1994-12-27 1994-12-27 Position controller for microminiature motor

Publications (1)

Publication Number Publication Date
JPH08182364A true JPH08182364A (en) 1996-07-12

Family

ID=18180880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6325812A Pending JPH08182364A (en) 1994-12-27 1994-12-27 Position controller for microminiature motor

Country Status (1)

Country Link
JP (1) JPH08182364A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003500993A (en) * 1999-05-21 2003-01-07 パプスト−モトーレン ゲーエムベーハー ウント コー カーゲー Method for storing at least one drive data value of an electric motor in a non-volatile manner, and an electric motor for implementing the method
JP2009062738A (en) * 2007-09-06 2009-03-26 Bunka Shutter Co Ltd Opening and closing equipment
US8035325B2 (en) 2006-08-21 2011-10-11 Seiko Epson Corporation Single-phase brushless motor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003500993A (en) * 1999-05-21 2003-01-07 パプスト−モトーレン ゲーエムベーハー ウント コー カーゲー Method for storing at least one drive data value of an electric motor in a non-volatile manner, and an electric motor for implementing the method
US8035325B2 (en) 2006-08-21 2011-10-11 Seiko Epson Corporation Single-phase brushless motor
JP2009062738A (en) * 2007-09-06 2009-03-26 Bunka Shutter Co Ltd Opening and closing equipment

Similar Documents

Publication Publication Date Title
JP3310043B2 (en) Switching reluctance motor rotor position detector
EP3217533B1 (en) Electromechanical device, control method of electromechanical device, and control program of electromechanical device
WO1999038250A1 (en) Stepping motor control device and optical head drive device
EP1174999A2 (en) Sensorless motor driving apparatus
JPS5947991A (en) Method and device for controlling brushless dc motor
JPH08182364A (en) Position controller for microminiature motor
JP2002186283A (en) Switched reluctance motor and its drive circuit without sensor
JPH04299A (en) Motor control circuit for auto-focus device
JPS6119042B2 (en)
JPH0257238B2 (en)
JP2011205885A (en) Motor drive unit
JP2007228732A (en) Brushless dc motor and rotary vacuum pump
JPH09301131A (en) Wiper controller
JPS63121490A (en) Controller for brushless motor
JPH06141584A (en) Spindle motor controller
JP2002223584A (en) Controller for dc motor
JP2541417B2 (en) Disk device and start control method thereof
JP3049729B2 (en) Brushless motor
JPS62268386A (en) Controller for brushless motor
JPH04275533A (en) Power focusing device
JPS60175799A (en) Fan
JPH0638595A (en) Controlling device for driving motor
JPH0670578A (en) Brushless motor control circuit
KR0150112B1 (en) Motor phase angle control device by micom
JPH09191685A (en) Sensorless, brushless dc motor