[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP3212232B2 - Step-out detection device - Google Patents

Step-out detection device

Info

Publication number
JP3212232B2
JP3212232B2 JP31710194A JP31710194A JP3212232B2 JP 3212232 B2 JP3212232 B2 JP 3212232B2 JP 31710194 A JP31710194 A JP 31710194A JP 31710194 A JP31710194 A JP 31710194A JP 3212232 B2 JP3212232 B2 JP 3212232B2
Authority
JP
Japan
Prior art keywords
voltage
detection
stepping motor
time
circuit
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.)
Expired - Fee Related
Application number
JP31710194A
Other languages
Japanese (ja)
Other versions
JPH07327399A (en
Inventor
隆久 平野
央一 杉浦
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 Tec Corp
Original Assignee
Toshiba Tec 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 Tec Corp filed Critical Toshiba Tec Corp
Priority to JP31710194A priority Critical patent/JP3212232B2/en
Publication of JPH07327399A publication Critical patent/JPH07327399A/en
Application granted granted Critical
Publication of JP3212232B2 publication Critical patent/JP3212232B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ステッピングモータ等
にかかる負荷の変化やステップの脱調を検出する脱調検
出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a step-out detecting device for detecting a change in a load applied to a stepping motor or the like and a step-out of a step.

【0002】[0002]

【従来の技術】一般に、4相励磁駆動のステッピングモ
ータ1には、図14に示すように、その各励磁相を励磁
するためのNPN形の励磁用トランジスタ2及びダイオ
ード3から構成される並列回路4がそれぞれの励磁相に
接続されている。
In general, the stepping motor 1 of 4-phase excitation drive, as shown in FIG. 14, a parallel circuit composed of the exciting transistor 2 and the diode 3 of NPN type for exciting the respective excitation phase 4 are connected to the respective excitation phases.

【0003】そして、この励磁用トランジスタ2のベー
スに、図15に示すCPU(中央処理装置)11からモ
ータ駆動回路14を介して図16(a)に示すような駆
動制御信号(駆動パルス)VA が供給することによって
各励磁相を励磁させてステッピングモータ1を駆動する
ようになっている。
A drive control signal (drive pulse) VA as shown in FIG. 16A is supplied from a CPU (central processing unit) 11 shown in FIG. 15 via a motor drive circuit 14 to the base of the exciting transistor 2. Is supplied to excite the respective excitation phases to drive the stepping motor 1.

【0004】そして、ステッピングモータ1の脱調検出
置は、励磁用トランジスタ2のエミッタを抵抗7を介
して接地し、この励磁用トランジスタ2と抵抗7との接
続点の脱調検出電圧VRSを監視し、この脱調検出電圧V
RSに基づいてモータの脱調判断を行うようになってい
た。
[0004] Then, out detection <br/> equipment of the stepping motor 1, the emitter grounded in excitation magnetizing transistor 2 via the resistor 7, disengagement of the connection point between the exciting transistor 2 and the resistor 7 The step-out detection voltage VRS is monitored.
The motor was determined to lose synchronism based on RS.

【0005】図15において、12はCPU11が脱調
検出制御を行うためのプログラムデータ等を格納したR
OM(リード・オンリー・メモリ)、13はI/Oポー
トである。上記CPU11とROM12、I/Oポート
13、モータ駆動回路14とは、バスライン15により
電気的に接続されている。
In FIG. 15, reference numeral 12 denotes an R which stores program data and the like for the CPU 11 to perform step-out detection control.
OM (read only memory), 13 is I / O port
It is. The CPU 11, the ROM 12, the I / O port 13, and the motor drive circuit 14 are electrically connected by a bus line 15.

【0006】前記モータ駆動回路14は、D/A変換回
路(図示しない)を有し、CPU11からの図16
(a)に示すようなデジタル信号(駆動制御信号VA )
をアナログ信号に変換し、この信号に基づいてステッピ
ングモータ1の各励磁相のトランジスタ2のベースに駆
動信号を供給するようになっている。
The motor drive circuit 14 has a D / A conversion circuit.
With a road (not shown) from the CPU 1116
Digital signal (drive control signal VA) as shown in FIG.
Is converted to an analog signal, and a step
To the base of transistor 2 of each excitation phase of
A motion signal is supplied.

【0007】上記I/Oポート13には、コンパレータ
16の出力端子が接続しており、この出力端子とI/O
ポート13との接続点は抵抗17を介して電源端子Vcc
(5V)に接続している。
An output terminal of a comparator 16 is connected to the I / O port 13, and this output terminal is connected to the I / O port 13.
The connection point with the port 13 is connected to the power supply terminal Vcc via the resistor 17.
(5V).

【0008】上記コンパレータ16は、その反転端子
(−)は基準電圧電源18に接続しており、非反転端子
(+)は励磁用トランジスタ2と抵抗7との接続点に接
続している。このコンパレータ16は脱調検出電圧VRS
を基準電圧と比較してその比較結果に応じて出力が変化
するようになっており、この出力をI/Oポート13に
出力する。
The comparator 16 has an inverting terminal (-) connected to a reference voltage power supply 18, and a non-inverting terminal (+) connected to a connection point between the exciting transistor 2 and the resistor 7. This comparator 16 has a step-out detection voltage VRS.
Is compared with a reference voltage, and the output changes according to the comparison result. The output is output to the I / O port 13.

【0009】具体的には、脱調検出電圧VRSが基準電圧
より低いとき、I/Oポート13からのポート出力P=
0となり、脱調検出電圧VRSが基準電圧より高いとき、
I/Oポート13からのポート出力P=1となる。
Specifically, when the step-out detection voltage VRS is lower than the reference voltage, the port output P from the I / O port 13
0, and when the step-out detection voltage VRS is higher than the reference voltage,
The port output P from the I / O port 13 becomes P = 1.

【0010】このような脱調検出装置においては、上記
CPU11から駆動制御信号を供給し、ステッピングモ
ータ1を駆動すると、通常駆動時、すなわちステッピン
グモータ1が脱調等していないときには、その駆動電流
(IA )は、図16(b)に示すように、CPU11か
らの駆動制御信号がオフからオンになる時から上昇し、
CPU11からの駆動制御信号がオンからオフに変わる
タイミングAでピーク(1A)に達する。その後、ゆっ
くりと降下する。
In such a step-out detecting device, when a drive control signal is supplied from the CPU 11 and the stepping motor 1 is driven, the driving current during normal driving, that is, when the stepping motor 1 is not out of step or the like, is supplied with a drive current. (IA), as shown in FIG. 16 (b), rises from when the driving control signal is turned from oFF to oN from CPU 11,
It reaches the peak (1A) at timing A when the drive control signal from the CPU 11 changes from on to off. Then descend slowly.

【0011】脱調検出電圧(VRS)も同図(c)に示す
ように、上記駆動電流(IA )と同様な波形になり、タ
イミングAにおけるピーク電圧VRSは、抵抗7の抵抗値
を1Ωとすると、1A×1Ω=1Vになる。
The out-of-step detection voltage (VRS) also has a waveform similar to the drive current (IA) as shown in FIG. 2C. The peak voltage VRS at the timing A is such that the resistance value of the resistor 7 is 1Ω. Then, 1A × 1Ω = 1V.

【0012】ところが、ステッピングモータ1に脱調等
が生じると、上記駆動電流(IA )は、図16(d)に
示すように、通常駆動時に比してタイミングAにおける
立上りが急となり、ピーク電流も通常駆動時より大きい
1.2Aとなる。この駆動電流(IA )に応じて脱調検
出電圧(VRS)も、同図(e)に示すように、通常駆動
時に比して立上りが急となり、ピーク電圧VRSは、1.
2A×1Ω=1.2Vとなり、通常駆動時より大きくな
る。
[0012] However, if the step-out or the like to the stepping motor 1 occurs, the drive current (IA), as shown in FIG. 16 (d), the rise becomes steeper at the timing A in comparison with the normal driving operation, the peak current Is 1.2 A, which is larger than that during normal driving. According to the drive current (IA), the step-out detection voltage (VRS) also rises sharply as compared with the normal drive, as shown in FIG.
2A × 1Ω = 1.2 V, which is larger than that during normal driving.

【0013】このようなステッピングモータ1の通常駆
動時と脱調時との駆動電流IA のピーク時(タイミング
A)の波形が相違することを利用して、この駆動電流I
A に応じて変化する脱調検出電圧VRSをタイミングAか
ら所定時間経過後に、コンパレータ16及びI/Oポー
ト13を介して検出し、この検出結果からステッピング
モータ1の脱調判断を行っていた。
Utilizing such a difference between the waveforms of the drive current IA at the peak (timing A) between the normal drive and the step-out of the stepping motor 1, the drive current I
A step-out detection voltage VRS that changes according to A is detected via the comparator 16 and the I / O port 13 after a predetermined time has elapsed from the timing A, and the step-out motor 1 is judged to be out of step based on the detection result.

【0014】すなわち、具体的には、I/Oポート13
からのポート出力Pが0の場合、ステッピングモータ1
が脱調していると判断し、I/Oポート13からのポー
ト出力Pが1の場合、ステッピングモータ1が脱調して
いないと判断していた。
That is, specifically, the I / O port 13
If the port output P from the
It is determined that the stepping motor 1 is out of step if the port output P from the I / O port 13 is 1.

【0015】[0015]

【発明が解決しようとする課題】しかし、このようなス
テッピングモータにおいては、一般に、通常駆動時のピ
ーク電流(1A)と脱調時のピーク電流(1.2A)と
の差が0.2A程度しかなく、従って、抵抗7の抵抗値
が1Ωであれば脱調検出電圧VRSの差も0.2V程度の
微小電圧となるため、上述したような脱調検出装置で
は、この微小な電圧の相違からモータ1が脱調したか否
かを正確に判断するのは困難であるという問題があっ
た。
However, in such a stepping motor, the difference between the peak current (1A) during normal driving and the peak current (1.2A) during step-out is generally about 0.2A. Therefore, if the resistance value of the resistor 7 is 1Ω, the difference in the step-out detection voltage VRS becomes a very small voltage of about 0.2 V. Therefore, it is difficult to accurately determine whether the motor 1 has stepped out.

【0016】また、抵抗7の抵抗値を大きくすることに
より、脱調検出電圧VRSを大きくすることも考えられる
が、このようにした場合には、抵抗7のジュール熱の発
生等による電力の消費が大きくなり、従って、回路全体
の消費電力が大きくなってしまうため妥当でない。
It is conceivable to increase the out-of-step detection voltage VRS by increasing the resistance value of the resistor 7. However, in such a case, power consumption due to generation of Joule heat of the resistor 7 or the like is considered. Becomes large, and accordingly, the power consumption of the whole circuit becomes large.

【0017】そこで本発明は、確実に脱調検出を行うこ
とができる脱調検出装置を提供しようとするものであ
る。
Accordingly, an object of the present invention is to provide a step-out detecting device capable of reliably detecting step-out.

【0018】[0018]

【課題を解決するための手段】請求項1記載の本発明
は、励磁用トランジスタのオン・オフ動作で複数の励磁
相を励磁することによって駆動するステッピングモータ
と、前記励磁相に生じる逆起電圧の波形をパルス波形に
する互いにカソードを接続した一対の定電圧ダイオード
と抵抗分圧回路との直列回路を電源端子に接続してなる
逆起電圧検出回路と、ステッピングモータの励磁相と励
磁用トランジスタとの接続点にアノードを接続し、逆起
電圧検出回路の定電圧ダイオードのカソードの接続点
カソードを接続した逆流防止用ダイオードと、逆起電
圧検出回路の抵抗分圧回路の分圧点に生じるパルス波形
状の脱調検出電圧を監視し、この脱調検出電圧の時間幅
が前記ステッピングモータの通常駆動時の時間幅よりも
短いときステッピングモータが脱調したと判断する脱調
検出判断手段とを設けたものである。
According to a first aspect of the present invention, there is provided a stepping motor driven by exciting a plurality of exciting phases by an on / off operation of an exciting transistor, and a back electromotive force generated in the exciting phase. Waveform into a pulse waveform
A back electromotive force detection circuit formed by connecting a series circuit of a pair of constant voltage diodes having their cathodes connected to each other and a resistance voltage dividing circuit to a power supply terminal; and an anode at a connection point between the excitation phase of the stepping motor and the excitation transistor. And a backflow prevention diode whose cathode is connected to the cathode connection point of each constant voltage diode of the back electromotive voltage detection circuit, and a pulse waveform generated at the voltage dividing point of the resistance voltage division circuit of the back electromotive voltage detection circuit
The step-out detection voltage is monitored and the time width of this step-out detection voltage is monitored.
Is longer than the time width during the normal driving of the stepping motor.
A step-out detection determining means for determining that the stepping motor has stepped out when the stepping motor is short .

【0019】[0019]

【0020】請求項記載の本発明は、励磁相と励磁用
トランジスタとの接続点のすべてに、それぞれ逆流防止
用ダイオードのアノードを別々に接続し、これらすべて
の逆流防止用ダイオードのカソードを接続した共通端子
を逆起電圧検出回路の各定電圧ダイオードのカソードに
接続し、ステッピングモータの通電駆動時に、ステッピ
ングモータの各励磁相に生じる逆起電圧の波形の頭部を
所定の定電圧値に制限する時間が連続するように各定電
圧ダイオードのツェナ電圧を設定した請求項記載の脱
調検出装置である。
According to a second aspect of the present invention, the anodes of the backflow prevention diodes are separately connected to all the connection points of the excitation phase and the excitation transistor, and the cathodes of all the backflow prevention diodes are connected. The common terminal is connected to the cathode of each constant voltage diode of the back electromotive voltage detection circuit, and the head of the waveform of the back electromotive voltage generated in each excitation phase of the stepping motor at the time of energizing driving of the stepping motor is set to a predetermined constant voltage value. time limit is out detection device according to claim 1, wherein setting the Zener voltage of the constant voltage diode to be continuous.

【0021】請求項記載の本発明は、励磁用トランジ
スタのオン・オフ動作で複数の励磁相を励磁することに
よって駆動するステッピングモータと、互いにカソード
を接続した一対の定電圧ダイオードと抵抗分圧回路との
直列回路を電源端子に接続してなる逆起電圧検出回路
と、励磁相と励磁用トランジスタとの接続点にアノード
を接続するとともに、逆起電圧検出回路の各定電圧ダイ
オードのカソードにカソードを接続した逆流防止用ダイ
オードと、逆起電圧検出回路の抵抗分圧回路の分圧点に
生じる脱調検出電圧と予め設定した基準電圧とを比較し
て、脱調検出電圧が基準電圧以上となる時間を検出する
比較回路と、ステッピングモータの通電駆動時の比較回
路からの検出時間を記憶しておく検出時間記憶手段と、
ステッピングモータの駆動時、比較回路からの検出時間
を監視し、この比較回路からの検出時間と、検出時間記
憶手段から取出した通常駆動時の検出時間とを比較し
て、検出回路からの検出時間が通常駆動時の検出時間よ
りも短いときにステッピングモータが脱調したと判断す
る脱調判断手段とを設けたものである。
According to a third aspect of the present invention, there is provided a stepping motor driven by exciting a plurality of exciting phases by turning on and off an exciting transistor, a pair of constant voltage diodes having cathodes connected to each other, and a resistive voltage divider. A back electromotive voltage detection circuit in which a series circuit with the circuit is connected to a power supply terminal, an anode is connected to a connection point between an exciting phase and an exciting transistor, and a cathode of each constant voltage diode of the back electromotive voltage detection circuit. The backflow prevention diode to which the cathode is connected, the step-out detection voltage generated at the voltage dividing point of the resistance voltage divider circuit of the back electromotive voltage detection circuit is compared with a preset reference voltage, and the step-out detection voltage is higher than the reference voltage. A comparison circuit that detects a time when the detection circuit is turned on, and a detection time storage unit that stores a detection time from the comparison circuit when the stepping motor is energized.
When the stepping motor is driven, the detection time from the comparison circuit is monitored, and the detection time from the comparison circuit is compared with the detection time during normal driving extracted from the detection time storage means, and the detection time from the detection circuit is determined. Is provided with step-out determining means for determining that the stepping motor has stepped out when the detection time is shorter than the detection time at the time of normal driving.

【0022】[0022]

【作用】このような構成の請求項1記載の本発明におけ
る原理を説明する。
The principle of the present invention as described in claim 1 having such a configuration will be described.

【0023】[0023]

【0024】[0024]

【0025】[0025]

【0026】[0026]

【0027】本発明における脱調検出電圧は、ステッピ
ングモータの各励磁相に生じる逆起電力に基づいて、励
磁用トランジスタをオンからオフにしたときに立上り、
そのピーク電圧は一方の定電圧ダイオード(アノードが
電源端子に接続した定電圧ダイオード)によって制限
れて所定電圧となり、その後は、他方の定電圧ダイオー
ド(カソードが一方の定電圧ダイオードに接続された定
電圧ダイオード)のツェナ電圧に基づいて急俊に降下す
る。この場合の脱調検出電圧は略パルス波形になる。
The step-out detection voltage in the present invention rises when the excitation transistor is turned off from on based on the back electromotive force generated in each excitation phase of the stepping motor,
The peak voltage is limited by one of the constant voltage diodes (a constant voltage diode whose anode is connected to the power supply terminal) to a predetermined voltage, and thereafter, the other constant voltage diode (the cathode has one constant voltage diode). Drops rapidly based on the zener voltage of a constant voltage diode connected to the power supply. The step-out detection voltage in this case has a substantially pulse waveform.

【0028】脱調検出電圧は、ステッピングモータの脱
調時には、通常駆動時よりも各励磁相に生じる逆起電力
のピークが大きくなり、その後急に小さくなるため、脱
調検出電圧の制限時間も通常駆動時より短くなる。この
ため、脱調検出電圧は、その制限時間経過後は、脱調時
の方が速く降下する略パルス波形となる。従って、この
制限時間経過後の電圧を検出すれば、ステッピングモー
タが脱調しているか否かを判断することができる。
The step-out detection voltage, when loss of synchronism of the stepping motor, than in the normal driving peak of the counter electromotive force becomes large resulting in the excitation phase, because then suddenly becomes small, and the time limit for loss of synchronism detection voltage It is shorter than during normal driving. Therefore, out detection voltage after the time limit elapses, the substantially pulse waveform lower descending it is rather fast during out-. Therefore, this
By detecting the voltage after the lapse of the time limit, it is possible to determine whether or not the stepping motor is out of synchronization.

【0029】本発明においては、このような原理を利用
することにより、脱調検出判断手段により、脱調検出電
圧を監視し、この脱調検出電圧に基づいて、ステッピン
グモータの脱調判断を行う。
In the present invention, by utilizing such a principle, the step-out detection voltage is monitored by the step-out detection judging means, and the step-out detection of the stepping motor is determined based on the step-out detection voltage. .

【0030】次に、請求項記載の本発明における原理
を説明する。
Next, to explain the principles of the present invention of claim 2 wherein.

【0031】各励磁相における脱調検出電圧の一方の定
電圧ダイオード(アノードが電源端子に接続した定電圧
ダイオード)の制限時間が連続するように各定電圧ダイ
オードのツェナ電圧を設定することにより、ステッピン
グモータの通常駆動時の脱調検出電圧がほぼ一定の電圧
となる。
By setting the zener voltage of each constant voltage diode so that the time limit of one constant voltage diode (constant voltage diode whose anode is connected to the power supply terminal) of the step-out detection voltage in each excitation phase continues. The step-out detection voltage at the time of normal driving of the stepping motor becomes a substantially constant voltage.

【0032】これに対し、ステッピングモータの脱調時
には、通常駆動時よりも制限時間が短くなるため、脱調
検出電圧は略パルス波形となる。従って、この脱調検出
電圧のパルス波形を検出すれば、ステッピングモータが
脱調しているか否かを判断することができる。
On the other hand, when the stepping motor is out of synchronization, the time limit is shorter than that in the normal driving, so that the out-of-step detection voltage has a substantially pulse waveform. Therefore, by detecting the pulse waveform of the step-out detection voltage, it can be determined whether or not the stepping motor has stepped out.

【0033】本発明においては、このような原理を利用
することにより、脱調検出判断手段により、脱調検出電
圧を監視し、この脱調検出電圧に基づいて、ステッピン
グモータの脱調判断を行う。
In the present invention, utilizing such a principle, the step-out detection voltage is monitored by the step-out detection judging means, and the step-out motor is judged to be out of step based on the step-out detection voltage. .

【0034】次に、請求項記載の本発明における原理
は、上述した請求項記載の本発明における原理と同様
である。
Next, the principle of the present invention described in claim 3 is the same as the principle of the present invention described in claim 1 described above.

【0035】本発明では、この原理を利用して、ステッ
ピングモータの通常駆動時の脱調検出電圧の制限時間
(検出時間)を予め比較回路で検出して検出時間記憶手
段に記憶しておく。そして、ステッピングモータの駆動
時、比較回路からの制限時間(検出時間)を監視し、こ
の比較回路からの制限時間(検出時間)と、検出時間記
憶手段から取出した通常駆動時の制限時間(検出時間)
とを比較して、比較回路からの制限時間(検出時間)が
通常駆動時の制限時間(検出時間)よりも短いときにス
テッピングモータが脱調したと判断する。
In the present invention, by utilizing this principle, the limit time (detection time) of the step-out detection voltage during normal driving of the stepping motor is detected in advance by the comparison circuit and stored in the detection time storage means. Then, when the stepping motor to monitor the time limit from the comparison circuit (detection time), the time limit from the comparator circuit (detection time), the normal driving taken out from the detection time storage means the time limit (detection time)
When the time limit (detection time) from the comparison circuit is shorter than the time limit (detection time) during normal driving, it is determined that the stepping motor has stepped out.

【0036】[0036]

【実施例】以下、本発明をユニポーラ型ステッピングモ
ータを備えた電子機器の脱調検出装置に適用した場合の
一実施例を図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to an out-of-step detecting apparatus for an electronic device having a unipolar stepping motor will be described below with reference to the drawings.

【0037】図1は、本実施例の構成を示す回路図で、
21は4相励磁のユニポーラ型ステッピングモータであ
る。このステッピングモータ21の各励磁相(A相,B
相,C相,D相)は、その一方の端子がコモン端子とな
っており、このコモン端子はモータ駆動電源Vc (例え
ば26V)に接続している。
FIG. 1 is a circuit diagram showing the configuration of this embodiment.
Reference numeral 21 denotes a four-phase excitation unipolar stepping motor. Each excitation phase (A phase, B phase) of this stepping motor 21
Phase, C phase and D phase), one terminal of which is a common terminal, and this common terminal is connected to a motor drive power supply Vc (for example, 26 V).

【0038】また、ステッピングモータ21の各励磁相
の他方の端子には、それぞれの励磁相を励磁するための
NPN形トランジスタ22及びダイオード23から構成
される並列回路24が接続している。
The other terminal of each excitation phase of the stepping motor 21 is connected to a parallel circuit 24 composed of an NPN transistor 22 and a diode 23 for exciting each excitation phase.

【0039】具体的には、各並列回路24のトランジス
タ22のコレクタはステッピングモータ21の各励磁相
に接続しており、トランジスタ22のエミッタは接地し
ている。そして、コレクタ及びエミッタ間は、ダイオー
ド23が図示極性で接続している。
Specifically, the collector of the transistor 22 of each parallel circuit 24 is connected to each excitation phase of the stepping motor 21, and the emitter of the transistor 22 is grounded. A diode 23 is connected between the collector and the emitter with the polarity shown.

【0040】このステッピングモータ21の各励磁相の
駆動電流IA は通常駆動時、すなわちステッピングモー
タ21の脱調等がない時は、図3(b)に示すように変
化し、脱調時、すなわちステッピングモータ21にかか
る負荷の増加やステップの脱調が生じた時は、同図
(e)に示すように変化する。
The drive current IA of each excitation phase of the stepping motor 21 changes during normal driving, that is, when there is no step-out or the like of the stepping motor 21, as shown in FIG. When the load applied to the stepping motor 21 increases or the step loses synchronism, it changes as shown in FIG.

【0041】上記ステッピングモータ21の各励磁相の
他方の端子とトランジスタ22との接続点には、逆流防
止用ダイオード25のアノードが接続しており、この逆
流防止用ダイオード25のカソードは逆起電圧検出回路
26に接続している。
The anode of the backflow prevention diode 25 is connected to the connection point between the other terminal of each excitation phase of the stepping motor 21 and the transistor 22. The cathode of the backflow prevention diode 25 is connected to the back electromotive voltage. It is connected to the detection circuit 26.

【0042】具体的には、この逆起電圧検出回路26は
定電圧ダイオード27及び抵抗28,29を直列して構
成した抵抗分圧回路との直列回路で構成され、この定電
圧ダイオード27のアノードは電源端子Vccに接続して
いる。また、定電圧ダイオード27のカソードは上記逆
流防止用ダイオード25のカソードに接続している。
More specifically, the back electromotive voltage detection circuit 26 is constituted by a series circuit of a constant voltage diode 27 and a resistor voltage dividing circuit having resistors 28 and 29 connected in series. Is connected to the power supply terminal Vcc. Further, the cathode of the constant voltage diode 27 is connected to the cathode of the backflow preventing diode 25.

【0043】この定電圧ダイオード27のカソード電圧
VR は、通常駆動時は、図3(c)に示すように変化
し、脱調時は、同図(f)に示すように変化する。
The cathode voltage VR of the constant voltage diode 27 changes as shown in FIG. 3C during normal driving, and changes as shown in FIG.

【0044】本実施例における制御部の構成は、図15
に示すものと同様の構成であるが、本実施例では、逆起
電圧検出回路26の抵抗28及び29の分圧点にコンパ
レータ16の非反転端子(+)が接続している点が異な
っている。
The configuration of the control unit in the present embodiment, FIG. 15
However, in the present embodiment, the non-inverting terminal (+) of the comparator 16 is connected to the voltage dividing point of the resistors 28 and 29 of the back electromotive voltage detection circuit 26. I have.

【0045】本実施例におけるCPU11にはモータ駆
動パルスの出力タイミングをとるために時間をカウント
するカウンタと、脱調検出のタイミングをとるために時
間をカウントするカウンタが設けられている。
In the present embodiment, the CPU 11 is provided with a counter for counting the time for setting the output timing of the motor drive pulse and a counter for counting the time for setting the timing for detecting the step-out.

【0046】また、このCPU11は、図2に示すよう
な脱調検出制御を行うようになっている。すなわち、C
PU11は、先ずST1にてモータ駆動回路14を介し
て図3(a)に示すような駆動制御信号(駆動パルス)
をトランジスタ22のベースに供給することによってス
テッピングモータ21の各励磁相(A相,B相,C相,
D相)を順に1ステップずつ駆動する。
The CPU 11 performs step-out detection control as shown in FIG. That is, C
The PU 11 firstly receives a drive control signal (drive pulse) as shown in FIG. 3A via the motor drive circuit 14 in ST1.
Is supplied to the base of the transistor 22 so that the excitation phases (A phase, B phase, C phase,
D phase) in order.

【0047】そして、各励磁相とも、それぞれ駆動制御
信号(駆動パルス)を供給した後、2.5msのカウン
トを開始する。
After supplying the drive control signal (drive pulse) to each of the excitation phases, the counting of 2.5 ms is started.

【0048】このとき、例えばA相の定電圧ダイオード
27のカソード電圧VR 及び脱調検出電圧VS の波形は
図3(c)及び(d)に示すように、CPU11からの
駆動制御信号VA がオンからオフに変化したときに、逆
起電力が生じる。この逆起電力は、電源端子Vccの電圧
及び定電圧ダイオード27のツェナ電圧により一定時間
Tn だけ制限され、その後、少しずつ降圧していく。
At this time, for example, as shown in FIGS. 3C and 3D, the waveforms of the cathode voltage VR and the step-out detection voltage VS of the A-phase constant voltage diode 27 are such that the drive control signal VA from the CPU 11 is turned on. When it changes from to off, back electromotive force is generated. This back electromotive force is limited for a certain time Tn by the voltage of the power supply terminal Vcc and the Zener voltage of the constant voltage diode 27, and then gradually decreases.

【0049】次に、ST2にてカウンタが2.5msを
カウントすると、ST3にてさらにステッピングモータ
11の各励磁相(A相,B相,C相,D相)を1ステッ
プ駆動する。
Next, when the counter counts 2.5 ms in ST2, each excitation phase (A phase, B phase, C phase, D phase) of the stepping motor 11 is further driven by one step in ST3.

【0050】そして、例えば各励磁相とも、それぞれ駆
動制御信号(駆動パルス)を供給した後、ST4にてカ
ウンタが0.6msをカウントすると(図3に示すタイ
ミングB)、ST5にてI/Oポート13の出力を読込
み、このポート出力Pが0か否か、すなわち脱調検出電
圧VS が基準電圧より低いか否かを判断する。
[0050] Then, for example, in each excitation phase, after supplying a driving control signal (drive pulse) respectively, the counter at S T4 counts the 0.6 ms (timing shown in FIG. 3 B), ST5 at I / The output of the O port 13 is read, and it is determined whether or not this port output P is 0, that is, whether or not the step-out detection voltage VS is lower than the reference voltage.

【0051】このような判断をするのは、ステッピング
モータ21の脱調時には、各定電圧ダイオード27のカ
ソード電圧VR 及び脱調検出電圧VS の波形は図3
(f)及び(g)に示すように、その制限時間Tm は通
常駆動時の制限時間Tn よりも短くなるため、制限時間
Tm −Tn 間では、脱調時の電圧の方が通常駆動時の電
圧よりも低くなるからである。
This determination is made because, when the stepping motor 21 steps out, the waveforms of the cathode voltage VR of each constant voltage diode 27 and the step-out detection voltage VS are as shown in FIG.
As shown in (f) and (g), the time limit Tm is shorter than the time limit Tn in the normal driving, so that the voltage at the time of step-out is smaller than the voltage during the normal driving between the time limits Tm and Tn. This is because the voltage becomes lower than the voltage.

【0052】ST5にて脱調検出電圧VS が基準電圧よ
り低いと判断した場合(ポート出力P=0)、ステッピ
ングモータ11に脱調が発生したと判断し、脱調検出制
御を終了する。
If it is determined in step ST5 that the step-out detection voltage VS is lower than the reference voltage (port output P = 0), it is determined that step-out has occurred in the stepping motor 11, and the step-out detection control ends.

【0053】これに対し、脱調検出電圧VS が基準電圧
以上であると判断した場合(ポート出力P=1)は、ス
テッピングモータ21は脱調していないと判断し(脱調
検出判断手段)、ST2の制御動作に戻る。
On the other hand, when it is determined that the step-out detection voltage VS is equal to or higher than the reference voltage (port output P = 1), it is determined that the stepping motor 21 is not out of step (step-out detection determining means). , And returns to the control operation of ST2.

【0054】このような構成の本実施例においては、ス
テッピングモータ21の脱調検出を行う際、先ずステッ
ピングモータ21の各励磁相(A相,B相,C相,D
相)が1ステップずつ駆動され、各励磁相につき2.5
msのカウントが終了すると、さらにステッピングモー
タ21の各励磁相が1ステップずつ駆動される。
In this embodiment having such a configuration, when detecting the step-out of the stepping motor 21, first, the respective excitation phases (A-phase, B-phase, C-phase, D-phase) of the stepping motor 21 are detected.
Phase) is driven one step at a time, 2.5
When the counting of ms is completed, each excitation phase of the stepping motor 21 is further driven one step at a time.

【0055】その後、各励磁相につき0.6msのカウ
ントが終了すると、I/Oポート13の出力が読込ま
れ、このポート出力Pが0か否か、すなわち脱調検出電
圧VSが基準電圧より低いか否かが判断される。
Thereafter, when the counting of 0.6 ms is completed for each excitation phase, the output of the I / O port 13 is read, and whether or not this port output P is 0, that is, the step-out detection voltage VS is lower than the reference voltage Is determined.

【0056】このとき、ステッピングモータ21が通常
駆動を行っている場合は、脱調検出電圧VS が基準電圧
以上となり、ポート出力Pが1となる。これにより、ス
テッピングモータ21は脱調していないと判断される。
この場合には、以上の処理、すなわちステッピングモー
タ21の駆動制御処理及びその脱調検出制御処理が繰返
される。
At this time, when the stepping motor 21 is operating normally, the step-out detection voltage VS becomes higher than the reference voltage, and the port output P becomes 1. Thus, it is determined that the stepping motor 21 has not stepped out.
In this case, the above processing, that is, the drive control processing of the stepping motor 21 and the step-out detection control processing thereof are repeated.

【0057】上記ステッピングータ21がこのような通
常駆動を行っている途中で、脱調等が発生すると、脱調
検出電圧VS が基準電圧より低くなり、ポート出力Pが
0となる。これにより、ステッピングモータ21は脱調
したと判断され、ステッピングモータ21の駆動制御及
びその脱調検出制御が終了する。
If step-out or the like occurs during the normal driving of the stepping motor 21, the step-out detection voltage VS becomes lower than the reference voltage, and the port output P becomes zero. Accordingly, it is determined that the stepping motor 21 has stepped out, and the drive control of the stepping motor 21 and the step-out detection control are ended.

【0058】このように、ステッピングモータ21の脱
調時に、各励磁相に発生する逆起電力が通常駆動時に比
して異なる性質を利用して、脱調の検出を行うことによ
って、従来よりも大きな検出電圧でステッピングモータ
21が脱調しているか否かの判断を行うことができるた
め、確実な脱調検出を行うことができる。
As described above, when stepping out of the stepping motor 21 is performed, the step-out detection is performed by utilizing the property that the back electromotive force generated in each excitation phase is different from that during the normal driving. Since it is possible to determine whether or not the stepping motor 21 is out of synchronization with a large detection voltage, it is possible to reliably detect out-of-step.

【0059】次に、本発明をユニポーラ型ステッピング
モータを備えた電子機器の脱調検出装置に適用した場合
の他の実施例を図4ないし図6を参照して説明する。な
お、上記実施例と同一部分には同一符号を付して詳細な
説明を省略する。
Next, another embodiment in which the present invention is applied to an out-of-step detecting apparatus for an electronic device having a unipolar stepping motor will be described with reference to FIGS. The same parts as those in the above embodiment are denoted by the same reference numerals, and detailed description will be omitted.

【0060】図4は、本実施例の構成を回路図で、図1
に示す回路と異なるのは、定電圧ダイオード27と抵抗
28との接続点に、定電圧ダイオード31を図示極性で
接続し、この定電圧ダイオード31のカソードに逆流防
止用ダイオード25のカソードを接続した点である。
FIG. 4 is a circuit diagram showing the configuration of this embodiment.
The difference from the circuit shown in FIG. 7 is that a constant voltage diode 31 is connected to the connection point between the constant voltage diode 27 and the resistor 28 with the polarity shown in the figure, and the cathode of the reverse current prevention diode 25 is connected to the cathode of this constant voltage diode 31. Is a point.

【0061】図5は、図4に示すステッピングモータ2
1の制御部の構成を示すブロック図で、図15に示す制
御部と異なる点は、脱調検出電圧VSSをコンパレータ1
6を介さずに直接I/Oポート13に接続している点で
ある。
FIG. 5 shows the stepping motor 2 shown in FIG.
15 is a block diagram showing a configuration of a control unit of the first embodiment. The difference from the control unit shown in FIG.
6 is directly connected to the I / O port 13 without passing through the I / O port 13 .

【0062】これは、後述するように定電圧ダイオード
31のツェナ電圧以上であるときの脱調検出電圧VSSが
ロジック電圧レベル5Vになるように抵抗28,29の
抵抗値を設定した場合には、コンパレータ16が不要と
なるからである。
This is because when the resistance values of the resistors 28 and 29 are set so that the step-out detection voltage VSS when the voltage is equal to or higher than the zener voltage of the constant voltage diode 31 becomes the logic voltage level 5 V, as described later. This is because the comparator 16 becomes unnecessary.

【0063】本実施例におけるI/Oポート31は、脱
調検出電圧VSSが5Vのときには、ポート出力Pが1、
脱調検出電圧VSSが0Vのときには、ポート出力Pが0
となるようになっている。
When the step-out detection voltage VSS is 5 V, the I / O port 31 of this embodiment has a port output P of 1;
When the step-out detection voltage VSS is 0 V, the port output P becomes 0
It is supposed to be.

【0064】この脱調検出電圧VSSは、ステッピングモ
ータ21が通常駆動時には、図6(d)に示すように変
化し、脱調時には、同図(g)に示すように変化する。
The step-out detection voltage VSS changes as shown in FIG. 6D when the stepping motor 21 is normally driven, and changes as shown in FIG.

【0065】すなわち、CPU11からの駆動制御信号
VA がオンからオフに変化したとき、逆起電力が生じ
る。この逆起電力は、電源端子Vccの電圧及び定電圧ダ
イオード27のツェナ電圧により一定時間Tn だけ制限
され、その後、少しずつ降圧していく。
That is, when the drive control signal VA from the CPU 11 changes from on to off, back electromotive force is generated. This back electromotive force is limited for a certain time Tn by the voltage of the power supply terminal Vcc and the Zener voltage of the constant voltage diode 27, and then gradually decreases.

【0066】このとき、定電圧ダイオード27のカソー
ド電圧VR が定電圧ダイオード31のツェナ電圧以上で
あるときは、抵抗28及び29に定電圧ダイオード27
のカソード電圧VR から定電圧ダイオード31のツェナ
電圧を引いた電圧が供給される。
At this time, when the cathode voltage VR of the constant voltage diode 27 is higher than the Zener voltage of the constant voltage diode 31, the resistors 28 and 29
, A voltage obtained by subtracting the Zener voltage of the constant voltage diode 31 from the cathode voltage VR.

【0067】そして、定電圧ダイオード27のカソード
電圧VR が降圧して、定電圧ダイオード31のツェナ電
圧より低くなると、定電圧ダイオード31のツェナ特性
により、抵抗28及び29には電圧がかからなくなる。
When the cathode voltage VR of the constant voltage diode 27 drops and becomes lower than the zener voltage of the constant voltage diode 31, no voltage is applied to the resistors 28 and 29 due to the zener characteristics of the constant voltage diode 31.

【0068】この抵抗28及び29に電圧が供給される
とき、すなわち定電圧ダイオード27のカソード電圧V
R が定電圧ダイオード31のツェナ電圧以上であるとき
の脱調検出電圧VSSが5Vになるように抵抗28,29
の抵抗値を設定すると、この脱調検出電圧VSSはロジッ
ク電圧レベル(0Vから5V)の略パルス波形となる。
When a voltage is supplied to the resistors 28 and 29, that is, the cathode voltage V
The resistors 28 and 29 are set so that the step-out detection voltage VSS becomes 5 V when R is equal to or higher than the zener voltage of the constant voltage diode 31.
Is set, the step-out detection voltage VSS has a substantially pulse waveform of a logic voltage level (0 V to 5 V).

【0069】また、上述したように、脱調検出電圧VSS
制限時間Tm は通常駆動時の制限時間Tn よりも短く
なるため、制限時間Tm −Tn 間では通常駆動時の電圧
が5Vとなるのに対し、脱調時の電圧は0Vとなる。
As described above, the step-out detection voltage VSS
The limit time Tm for normally shorter than the limit time Tn during driving, while the normal voltage at the time of driving becomes 5V is between limit time Tm-Tn, voltage at the time of loss of synchronism becomes 0V.

【0070】本実施例では、このTm −Tn 間の脱調検
出電圧VSSを検出して、脱調検出を行う。すなわち、本
実施例におけるCPU11は図2に示す脱調検出制御と
同様の制御を行うようになっている。
In this embodiment, the step-out detection is performed by detecting the step-out detection voltage VSS between Tm and Tn. That is, the CPU 11 in this embodiment performs the same control as the step-out detection control shown in FIG.

【0071】このような構成の本実施例においては、ス
テッピングモータ21の脱調検出を行う際、上記実施例
と同様に、先ずステッピングモータ21の各励磁相(A
相,B相,C相,D相)が1ステップ駆動され、2.5
msのカウントが終了すると、さらにステッピングモー
タ21の各励磁相が1ステップ駆動される。
In this embodiment having such a configuration, when detecting the step-out of the stepping motor 21, first, each excitation phase (A
Phase, B phase, C phase and D phase) are driven by one step,
When the counting of ms ends, each excitation phase of the stepping motor 21 is further driven by one step.

【0072】そして、0.6msのカウントが終了する
と、I/Oポート13の出力が読込まれ、このポート出
力Pが0か否か、すなわち脱調検出電圧VSSが0Vか否
かが判断される。
When the counting of 0.6 ms is completed, the output of the I / O port 13 is read, and it is determined whether or not this port output P is 0, that is, whether or not the step-out detection voltage VSS is 0 V. .

【0073】このとき、ステッピングモータ21が通常
駆動を行っている場合は、脱調検出電圧VSSが5Vとな
り、I/Oポート13のポート出力Pが1となる。これ
により、ステッピングモータ21は脱調していないと判
断される。以上の処理、すなわちステッピングモータ2
1の駆動制御及びその脱調検出制御が繰返される。
At this time, when the stepping motor 21 is operating normally, the step-out detection voltage VSS becomes 5 V, and the port output P of the I / O port 13 becomes 1. Thus, it is determined that the stepping motor 21 has not stepped out. The above processing, that is, the stepping motor 2
The drive control of step 1 and its step-out detection control are repeated.

【0074】上記ステッピングータ21がこのような通
常駆動を行っている途中で、脱調等が発生すると、脱調
検出電圧VSSが0Vとなり、I/Oポート13のポート
出力Pが0となる。これにより、ステッピングモータ2
1は脱調したと判断され、ステッピングモータ21の駆
動制御及びその脱調検出制御が終了する。
If step-out or the like occurs during the normal driving of the stepper 21 , the step-out detection voltage VSS becomes 0 V, and the port output P of the I / O port 13 becomes 0. Thereby, the stepping motor 2
1 is determined to be out of step, and the drive control of the stepping motor 21 and the out-of-step detection control are terminated.

【0075】このように、ステッピングモータ21の脱
調時に、各励磁相に発生する逆起電力が通常駆動時に比
して異なる性質を利用して、脱調の検出を行うことによ
って、従来よりも大きな検出電圧で脱調判断を行うこと
ができるため、確実な脱調検出を行うことができる。
As described above, when stepping out of the stepping motor 21, step-out detection is performed by utilizing the property that the back electromotive force generated in each excitation phase is different from that during normal driving, thereby detecting step-out compared to the conventional case. Since the out-of-step determination can be performed with a large detection voltage, the out-of-step detection can be reliably performed.

【0076】また、定電圧ダイオード27と抵抗28と
の接続点に、定電圧ダイオード31を図4に示す極性で
接続するとともに、この定電圧ダイオード31のカソー
ドに逆流防止用ダイオード25のカソードを接続するた
め、定電圧ダイオード27のカソード電圧VR が定電圧
ダイオード31のツェナ電圧より低くなると、抵抗28
及び29には電圧がかからなくなる。
Further, a constant voltage diode 31 is connected to the connection point between the constant voltage diode 27 and the resistor 28 with the polarity shown in FIG. 4, and the cathode of the constant voltage diode 31 is connected to the cathode of the diode 25 for preventing reverse current. Therefore, when the cathode voltage VR of the constant voltage diode 27 becomes lower than the Zener voltage of the constant voltage diode 31, the resistance 28
And 29 are not energized.

【0077】これにより、抵抗28及び29の抵抗値を
大きくしても、消費電力の増大を極力防止することがで
きる。また、脱調検出電圧VSSを従来に比して検出し易
い、ロジック電圧レベル(0Vから5V)に容易に設定
することができる。従って、より確実な脱調検出を行う
ことができる。
As a result, even if the resistance values of the resistors 28 and 29 are increased, an increase in power consumption can be prevented as much as possible. In addition, the step-out detection voltage VSS can be easily set to a logic voltage level (0 V to 5 V) which is easier to detect than the conventional case. Therefore, more accurate step-out detection can be performed.

【0078】また、脱調検出電圧VSSをロジック電圧レ
ベル(0Vから5V)のパルス波形で脱調検出を判断で
きるため、ステッピングモータ21にそのコイル仕様の
個々のばらつきや、ステッピングモータ21にかかる負
荷のばらつきに影響されずに、脱調検出を行うことがで
きる。これにより、確実な脱調検出を行うことができ
る。
Further, since the step-out detection voltage VSS can be determined to be step-out detection by a pulse waveform of a logic voltage level (0 V to 5 V), the stepping motor 21 has individual variations in coil specifications and the load applied to the stepping motor 21. Can be detected without being affected by the variation in As a result, it is possible to reliably perform step-out detection.

【0079】また、脱調検出電圧VSSを比較的大きな電
圧で脱調検出を判断できるため、脱調検出電圧VSSを増
幅するための高精度の増幅回路を別個に設ける必要がな
く、従って、コストの上昇を抑えることができる。
Further, since the step-out detection voltage VSS can be determined to be step-out detection with a relatively large voltage, it is not necessary to separately provide a high-precision amplifier circuit for amplifying the step-out detection voltage VSS. Can be suppressed.

【0080】次に、本発明をユニポーラ型ステッピング
モータを備えた電子機器の脱調検出装置に適用した場合
の他の実施例を図7ないし図10を参照して説明する。
なお、上記実施例と同一部分には同一符号を付して詳細
な説明を省略する。
Next, another embodiment in which the present invention is applied to an out-of-step detecting apparatus for an electronic device having a unipolar stepping motor will be described with reference to FIGS.
The same parts as those in the above embodiment are denoted by the same reference numerals, and detailed description will be omitted.

【0081】図7は、本実施例の構成を回路図で、図4
に示す回路と異なるのは、ステッピングモータの各励磁
相に逆流防止用ダイオード25を設けるとともに、各励
磁相に共通の逆起電圧検出回路26を1つだけ設け、こ
の逆起電圧検出回路26の定電圧ダイオード27及び3
1のカソードに各励磁相の逆流防止用ダイオード25の
カソードをすべて接続する点である。
FIG. 7 is a circuit diagram showing the configuration of the present embodiment.
3 is different from the circuit shown in FIG. 5 in that a backflow prevention diode 25 is provided for each excitation phase of the stepping motor, and only one counter electromotive voltage detection circuit 26 is provided for each excitation phase. Constant voltage diodes 27 and 3
The point is that all the cathodes of the backflow prevention diodes 25 of the respective excitation phases are connected to one cathode.

【0082】この場合の脱調検出電圧VSSS は図10
(e)に示すように変化するようになっている。すなわ
ち、脱調検出電圧VSSS のピーク電圧時間が1ステップ
分の時間以上になるように、定電圧ダイオード27及び
31のツェナ電圧を設定すると、ステッピングモータ2
1が通常駆動しているとき、この脱調検出電圧VSSS
は、各励磁相の脱調検出電圧のピーク電圧が重なり合う
ため、ほぼ一定の電圧となる。
The step-out detection voltage VSSS in this case is shown in FIG.
It changes as shown in (e). That is, if the zener voltages of the constant voltage diodes 27 and 31 are set so that the peak voltage time of the step-out detection voltage VSSS becomes equal to or longer than the time corresponding to one step, the stepping motor 2
1 is normally driven, this step-out detection voltage VSSS
Is almost constant because the peak voltages of the step-out detection voltages of the respective excitation phases overlap.

【0083】また、ステッピングモータ21に脱調が発
生すると、そのときの脱調検出電圧のピーク電圧は通常
駆動時より短くなるため、このときだけ、0Vの部分が
生じる。
Further, when step-out occurs in the stepping motor 21, the peak voltage of the step-out detection voltage at that time becomes shorter than that at the time of normal driving, and therefore, a portion of 0 V is generated only at this time.

【0084】図8は、図7に示すステッピングモータ2
1の制御部の構成を示すブロック図で、図5に示す制御
部と異なる点は、I/Oポート13の代わりにラッチ機
能を有するラッチポート41を接続した点である。
FIG. 8 shows the stepping motor 2 shown in FIG.
1 is a block diagram showing the configuration of a control unit, which differs from the control unit shown in FIG. 5 in that a latch port 41 having a latch function is connected instead of the I / O port 13.

【0085】本実施例におけるCPU11は、図9に示
すような脱調検出制御を行うようになっている。すなわ
ち、CPU11は、先ずST11にてモータ駆動回路
を介して図10(a)、(b)、(c)、及び(d)
に示すような駆動制御信号(駆動パルス)をトランジス
タ22のベースに供給することによってステッピングモ
ータ21の各励磁相(A相,B相,C相,D相)を1ス
テップずつ駆動する。そして、各励磁相とも、それぞれ
駆動制御信号(駆動パルス)を供給した後、2.5ms
のカウントを開始する。
The CPU 11 in this embodiment performs step-out detection control as shown in FIG. That is, the CPU 11 first sets the motor drive circuit 1 in ST11.
4 (a), (b), (c) and (d) through FIG.
By supplying a drive control signal (drive pulse) as shown in the following to the base of the transistor 22, each excitation phase (A phase, B phase, C phase, D phase) of the stepping motor 21 is driven one step at a time. Then, after supplying a drive control signal (drive pulse) to each of the excitation phases, 2.5 ms
Start counting.

【0086】このとき、各励磁相の定電圧ダイオード2
7のカソード電圧VR 及び脱調検出電圧VSSS の波形は
図10(e)に示すように、通常駆動時には脱調検出電
圧のピーク電圧が連続して、ほぼ一定の電圧となる。
At this time, the constant voltage diode 2 of each excitation phase
As shown in FIG. 10E, the waveforms of the cathode voltage VR and the out-of-step detection voltage VSSS of FIG. 7 show that the peak voltage of the out-of-step detection voltage is continuous and substantially constant during normal driving.

【0087】次に、ST12にて各励磁相につきカウン
タが2.5msをカウントすると、ST13にてさらに
ステッピングモータ21の各励磁相(A相,B相,C
相,D相)を1ステップ駆動する。
Next, when the counter counts 2.5 ms for each excitation phase in ST12, in step ST13 each excitation phase (A phase, B phase, C phase) of the stepping motor 21 is further increased.
, D phase).

【0088】そして、ST14にてラッチポート41の
出力を読込み、このポート出力Pが0か否か、すなわち
脱調検出電圧VSSS が0Vか否かを判断する。このと
き、脱調検出電圧VSSS が0Vであると判断した場合
(ポート出力P=0)、ステッピングモータ21に脱調
が発生したと判断し、脱調検出制御を終了する。
Then, the output of the latch port 41 is read in ST14, and it is determined whether or not the output P of the latch port 41 is 0, that is, whether or not the step-out detection voltage VSSS is 0V. At this time, if it is determined that the step-out detection voltage VSSS is 0 V (port output P = 0), it is determined that step-out has occurred in the stepping motor 21, and the step-out detection control is terminated.

【0089】これに対し、脱調検出電圧VSSS がVで
あると判断した場合(ポート出力P=1)は、ステッピ
ングモータ21は脱調していないと判断し、ST12の
制御動作に戻る。
On the other hand, if it is determined that the step-out detection voltage VSSS is 5 V (port output P = 1), it is determined that the stepping motor 21 has not stepped out, and the process returns to the control operation of ST12.

【0090】このような構成の本実施例においては、ス
テッピングモータ21の脱調検出を行う際、先ずステッ
ピングモータ21の各励磁相(A相,B相,C相,D
相)が1ステップ駆動され、それぞれ2.5msのカウ
ントが終了すると、さらにステッピングモータ21の各
励磁相が1ステップ駆動される。
In this embodiment having such a configuration, when detecting the step-out of the stepping motor 21, first, the respective excitation phases (A-phase, B-phase, C-phase, D-phase) of the stepping motor 21 are detected.
Is driven by one step, and when the counting of 2.5 ms is completed, each excitation phase of the stepping motor 21 is further driven by one step.

【0091】そして、ラッチポート41の出力が読込ま
れ、このポート出力Pが0か否か、すなわち脱調検出電
圧VSSS が0Vか否かが判断される。
Then, the output of the latch port 41 is read, and it is determined whether or not this port output P is 0, that is, whether or not the step-out detection voltage VSSS is 0V.

【0092】このとき、ステッピングモータ21が通常
駆動を行っている場合は、脱調検出電圧VSSS が5Vと
なり、ポート出力Pが1となる。これにより、ステッピ
ングモータ21は脱調していないと判断される。以上の
処理、すなわちステッピングモータ21の駆動制御及び
その脱調検出制御が繰返される。
At this time, when the stepping motor 21 is operating normally, the step-out detection voltage VSSS becomes 5 V and the port output P becomes 1. Thus, it is determined that the stepping motor 21 has not stepped out. The above processing, that is, the drive control of the stepping motor 21 and the step-out detection control thereof are repeated.

【0093】上記ステッピングータ21が、このような
通常駆動を行っている途中で、脱調等が発生すると、脱
調検出電圧VSSS が0Vとなり、ポート出力Pが0とな
る。これにより、ステッピングモータ21は脱調したと
判断され、ステッピングモータ21の駆動制御及びその
脱調検出制御が終了する。
[0093] The stepping over data 21, in the middle of performing such a normal driving, the step-out or the like occurs, becomes out detection voltage VSSS is 0V, the port output P is 0. Accordingly, it is determined that the stepping motor 21 has stepped out, and the drive control of the stepping motor 21 and the step-out detection control are ended.

【0094】このように、ステッピングモータ21の脱
調時に、各励磁相に発生する逆起電力が通常駆動時に比
して異なる性質を利用して、脱調の検出を行うことによ
って、従来よりも大きな検出電圧で脱調判断を行うこと
ができるため、確実な脱調検出を行うことができる。
As described above, when the stepping motor 21 loses synchronism, the step-out is detected by utilizing the property that the back electromotive force generated in each excitation phase is different from that in the normal drive, thereby detecting the loss of synchronism. Since the out-of-step determination can be performed with a large detection voltage, the out-of-step detection can be reliably performed.

【0095】また、定電圧ダイオード27と抵抗28と
の接続点に、定電圧ダイオード31を図4に示す極性で
接続するとともに、この定電圧ダイオード31のカソー
ドに逆流防止用ダイオード25のカソードを接続するた
め、定電圧ダイオード27のカソード電圧VR が定電圧
ダイオード31のツェナ電圧より低くなると、抵抗28
及び29には電圧がかからなくなる。
A constant voltage diode 31 is connected to the connection point between the constant voltage diode 27 and the resistor 28 with the polarity shown in FIG. 4, and the cathode of the diode 25 for backflow prevention is connected to the cathode of the constant voltage diode 31. Therefore, when the cathode voltage VR of the constant voltage diode 27 becomes lower than the Zener voltage of the constant voltage diode 31, the resistance 28
And 29 are not energized.

【0096】これにより、上記実施例と同様に抵抗28
及び29の抵抗値を大きくしても、消費電力の増大を極
力防止することができる。また、脱調検出電圧VSSS
従来に比して検出し易いロジック電圧レベル(0Vから
5V)に容易に設定することができる。従って、より確
実な脱調検出を行うことができる。
As a result, the resistance 28
And 29, the increase in power consumption can be prevented as much as possible. Further, the out-of-step detection voltage VSSS can be easily set to a logic voltage level (0 V to 5 V) that is easier to detect than in the past. Therefore, more accurate step-out detection can be performed.

【0097】また、脱調検出電圧VSSSをロジック電圧
レベル(0Vから5V)のパルス波形で脱調検出を判断
できるため、ステッピングモータ21にそのコイル仕様
の個々のばらつきや、ステッピングモータ21にかかる
負荷のばらつきに影響されずに、脱調検出を行うことが
できる。これにより、確実な脱調検出を行うことができ
る。
Further, since the step-out detection voltage VSSS can be judged as step-out detection based on a pulse waveform of a logic voltage level (0 V to 5 V), the stepping motor 21 has individual variations in coil specifications and the load applied to the stepping motor 21. Can be detected without being affected by the variation in As a result, it is possible to reliably perform step-out detection.

【0098】また、脱調検出電圧VSSS のピーク電圧時
間が1ステップ分の時間以上になるように、定電圧ダイ
オード27及び31のツェナ電圧を設定することによ
り、ステッピングモータ21の通常駆動時の脱調検出電
圧VSSS をほぼ一定の電圧とすることができる。これに
より、脱調が生じた場合のみ脱調検出電圧VSSS が略パ
ルス信号となるようにすることができ、従って確実な脱
調検出を行うことができる。
Further, by setting the zener voltages of the constant voltage diodes 27 and 31 so that the peak voltage time of the step-out detection voltage VSSS is equal to or longer than the time corresponding to one step, the stepping motor 21 is driven out of normal operation. The tone detection voltage VSSS can be made substantially constant. As a result, the step-out detection voltage VSSS can be made substantially a pulse signal only when a step-out occurs, so that the step-out detection can be reliably performed.

【0099】また、上述したように脱調が生じた場合の
み脱調検出電圧VSSS がパルス信号となるようにし、こ
の脱調検出電圧VSSS をラッチ機能を有するラッチポー
ト41から入力するため、CPU11は、常時出力ポー
トからの検出出力を監視することができる。これによ
り、上記実施例のように脱調検出電圧VSSS の検出時間
の細かい設定を不要にすることができる。
Further, as described above, the step-out detection voltage VSSS becomes a pulse signal only when a step-out occurs, and the step-out detection voltage VSSS is input from the latch port 41 having a latch function. It is possible to constantly monitor the detection output from the output port. This eliminates the need for the fine setting of the detection time of the step-out detection voltage VSSS as in the above embodiment.

【0100】また、脱調検出電圧VSSS を比較的大きな
電圧で脱調検出を判断できるため、脱調検出電圧VSSS
を増幅するための高精度の増幅回路を別個に設ける必要
がなく、従って、コストの上昇を抑えることができる。
Further, since the step-out detection voltage VSSS can be determined to be step-out detection by a relatively large voltage, the step-out detection voltage VSSS
It is not necessary to separately provide a high-precision amplifier circuit for amplifying the signal, and therefore, an increase in cost can be suppressed.

【0101】なお、本実施例においては、4相に共通の
逆起電圧検出回路26を1つだけ設けたものについて述
べたが、必ずしもこれに限定されるものではなく、A相
とC相、B相とD相の2組に分け、1組に1つの共通の
逆起電圧検出回路を設けたものでもよい。この場合に
は、脱調検出電圧VSSS のピーク電圧時間が各励磁相が
オンしている時間以上になるように、定電圧ダイオード
27及び31のツェナ電圧を設定してもよい。
In the present embodiment, the case where only one common back electromotive voltage detection circuit 26 is provided for the four phases has been described. However, the present invention is not limited to this. It may be divided into two sets of B phase and D phase, and one set may be provided with one common back electromotive voltage detection circuit. In this case, the zener voltages of the constant voltage diodes 27 and 31 may be set such that the peak voltage of the step-out detection voltage VSSS is equal to or longer than the time during which each excitation phase is on.

【0102】また、本実施例においては、2相励磁のス
テッピングモータに適用した場合について述べたが、必
ずしもこれに限定されるものではなく、1相励磁又は1
−2相励磁のステッピングモータに適用してもよい。こ
の場合には、各励磁相がオフしたときから一定時間経過
後、脱調検出電圧の検出を行ってもよい。
Further, in this embodiment, a case where the present invention is applied to a two-phase excitation stepping motor has been described. However, the present invention is not limited to this.
The present invention may be applied to a two-phase excitation stepping motor. In this case, the out-of-step detection voltage may be detected after a certain period of time has elapsed since each excitation phase was turned off.

【0103】次に、本発明をユニポーラ型ステッピング
モータを備えた電子機器の脱調検出装置に適用した場合
の他の実施例を図11ないし図13を参照して説明す
る。なお、上記実施例と同一部分には同一符号を付して
詳細な説明を省略する。
Next, another embodiment in which the present invention is applied to an out-of-step detecting device of an electronic device having a unipolar stepping motor will be described with reference to FIGS. The same parts as those in the above embodiment are denoted by the same reference numerals, and detailed description will be omitted.

【0104】図11は、本実施例の構成を回路図で、図
4に示す回路と異なるのは、逆起電圧検出回路26の定
電圧ダイオード27のアノードはモータ駆動電源Vc
(例えば32V)に接続している点、及び抵抗分圧回路
(抵抗28,29)の分圧点である脱調検出電圧VDDの
電圧を予め設定された基準電圧と比較して脱調検出電圧
VDDの制限時間を検出してCPU11に出力する比較回
路51を設けた点である。
FIG. 11 is a circuit diagram showing the configuration of this embodiment. The difference from the circuit shown in FIG. 4 is that the anode of the constant voltage diode 27 of the back electromotive voltage detection circuit 26 is connected to the motor drive power supply Vc.
(For example, 32 V) and the voltage of the step-out detection voltage VDD, which is a voltage dividing point of the resistance voltage dividing circuit (resistors 28 and 29), is compared with a preset reference voltage to compare the step-out detection voltage. The difference is that a comparison circuit 51 for detecting the time limit of VDD and outputting it to the CPU 11 is provided.

【0105】この比較回路51は、具体的には脱調検出
電圧VDDの電圧を反転端子(−)から入力するコンパレ
ータ52を備える。このコンパレータ52の非反転端子
(+)は電源端子Vcc(5V)と接地間に接続された抵
抗分圧回路(抵抗53,54)の分圧点に接続してお
り、コンパレータ52の出力端子と非反転端子(+)と
の間には抵抗55が接続している。
The comparison circuit 51 includes a comparator 52 for inputting the step-out detection voltage VDD from the inverting terminal (-). The non-inverting terminal (+) of the comparator 52 is connected to a voltage dividing point of a resistive voltage dividing circuit (resistors 53 and 54) connected between the power supply terminal Vcc (5V) and the ground. The resistor 55 is connected between the non-inverting terminal (+).

【0106】また、コンパレータ52の出力端子は電源
端子Vccに接続しており、この出力端子からの出力はI
/Oポート13を介してCPU11に供給されるように
なっている。このCPU11には上記コンパレータ52
からの出力結果、すなわち図13(e)に示すような脱
調検出電圧VDDの制限時間を予め記憶しておく検出時間
記憶手段としてのメモリ56がバスラインを介して接続
している。
The output terminal of the comparator 52 is connected to the power supply terminal Vcc, and the output from this output terminal is
It is supplied to the CPU 11 via the / O port 13. The CPU 11 includes the comparator 52
13, that is, a memory 56 as detection time storage means for preliminarily storing a time limit of the step-out detection voltage VDD as shown in FIG. 13E is connected via a bus line.

【0107】上記脱調検出電圧VDDは、ステッピングモ
ータ21が通常駆動時には、図13(d)に示すように
変化し、脱調時には、同図(g)に示すように変化す
る。
The step-out detection voltage VDD changes as shown in FIG. 13D when the stepping motor 21 is driven normally, and changes as shown in FIG. 13G when step-out occurs.

【0108】すなわち、CPU11からの駆動制御信号
VA がオンからオフに変化したとき、逆起電力が生じ
る。この逆起電力は、電源端子VDDの電圧及び定電圧ダ
イオード27のツェナ電圧により一定時間だけ制限
れ、その後、少しずつ降圧していく。
That is, when the drive control signal VA from the CPU 11 changes from on to off, back electromotive force is generated. This back electromotive force is limited for a fixed time by the voltage of the power supply terminal VDD and the Zener voltage of the constant voltage diode 27, and then gradually decreases.

【0109】このとき、定電圧ダイオード27のカソー
ド電圧VR が定電圧ダイオード31のツェナ電圧以上で
あるときは、抵抗28及び29に定電圧ダイオード27
のカソード電圧VR から定電圧ダイオード31のツェナ
電圧を引いた電圧が供給される。
At this time, when the cathode voltage VR of the constant voltage diode 27 is equal to or higher than the Zener voltage of the constant voltage diode 31, the resistors 28 and 29
, A voltage obtained by subtracting the Zener voltage of the constant voltage diode 31 from the cathode voltage VR.

【0110】そして、定電圧ダイオード27のカソード
電圧VR が降圧して、定電圧ダイオード31のツェナ電
圧より低くなると、定電圧ダイオード31のツェナ特性
により、抵抗28及び29には電圧がかからなくなる。
When the cathode voltage VR of the constant voltage diode 27 drops and becomes lower than the zener voltage of the constant voltage diode 31, no voltage is applied to the resistors 28 and 29 due to the zener characteristics of the constant voltage diode 31.

【0111】この抵抗28及び29に電圧が供給される
とき、すなわち定電圧ダイオード27のカソード電圧V
R が定電圧ダイオード31のツェナ電圧以上であるとき
の脱調検出電圧VDDが5Vになるように抵抗28,29
の抵抗値を設定すると、この脱調検出電圧VDDはロジッ
ク電圧レベル(0Vから5V)の略パルス波形となる。
When a voltage is supplied to the resistors 28 and 29, that is, the cathode voltage V
The resistors 28 and 29 are set so that the step-out detection voltage VDD becomes 5 V when R is equal to or higher than the zener voltage of the constant voltage diode 31.
, The step-out detection voltage VDD has a substantially pulse waveform of a logic voltage level (0 V to 5 V).

【0112】本実施例における比較回路51では、基準
電圧aV以上の時間を検出することにより、この検出時
間を上述した脱調検出電圧VDDの制限時間として図13
(e)に示すようなコンパレータ出力電圧VOPをCPU
11に供給するようになっている。
The comparison circuit 51 in this embodiment detects a time equal to or longer than the reference voltage aV, and uses this detection time as the time limit of the above-mentioned step-out detection voltage VDD as shown in FIG.
The comparator output voltage VOP as shown in FIG.
11 is supplied.

【0113】また、図13(i)に示すような脱調時の
制限時間TP は、図13(e)に示すような通常駆動時
のクランプ時間TO よりも短くなる。本実施例では、こ
時間Tを通常駆動時の制限時間TO と比較するこ
とにより脱調検出を行う。
The time limit TP at the time of step-out as shown in FIG. 13 (i) is shorter than the clamp time TO at the time of normal driving as shown in FIG. 13 (e). In this embodiment, performs the step-out detection by comparing the limit time T and the time limit TO during normal driving.

【0114】すなわち、本実施例におけるCPU11
は、図12に示すような脱調検出制御を行うようになっ
ている。先ずCPU11はST21にてモータ駆動回路
24を介して図13(a)に示すような駆動制御信号
(駆動パルス)をトランジスタ22のベースに供給する
ことによってステッピングモータ21の各励磁相(A
相,B相,C相,D相)を順に1ステップずつ駆動す
る。
That is, the CPU 11 in the present embodiment
Performs step-out detection control as shown in FIG. First, in ST21, the CPU 11 supplies a drive control signal (drive pulse) as shown in FIG. 13A to the base of the transistor 22 through the motor drive circuit 24 to thereby control each excitation phase (A) of the stepping motor 21.
, B, C, and D phases) in order.

【0115】そして、ST22にて脱調検出電圧VDDか
らの制限時間Tとメモリ56に記憶された通常駆動時の
制限時間TO とを比較して、現在の制限時間Tが通常駆
動時の制限時間TO よりも小さいか否かを判断する(脱
調判断手段)。この制限時間Tの大きさの判断は、例え
ば脱調検出電圧VDDの制限部分ごとに行う。
Then, in ST22, the time limit T from the step-out detection voltage VDD and the normal driving time stored in the memory 56 are stored.
A comparison is made with the time limit TO to determine whether or not the current time limit T is shorter than the time limit TO for normal driving (step-out determining means). The determination of the size of the time limit T is performed, for example, for each limited portion of the step-out detection voltage VDD.

【0116】このとき、現在の制限時間Tが通常駆動時
制限時間TO よりも小さいと判断した場合、ステッピ
ングモータ21に脱調が生じたと判断し、ST23にて
ステッピングモータ21の各励磁相を制御してモータの
駆動を停止する。
At this time, if it is determined that the current time limit T is shorter than the time limit TO for normal driving, it is determined that the stepping motor 21 has lost synchronism, and the respective excitation phases of the stepping motor 21 are determined in ST23. Control to stop driving the motor.

【0117】このような構成の本実施例においては、上
記メモリ56にステッピングモータ21の通電駆動時の
脱調検出電圧VDDの制限時間TO を記憶させる場合、ス
テッピングモータを駆動すると、比較回路51によって
脱調検出電圧VDDの制限時間を検出し、その結果はメモ
リ56に記憶される。
[0117] In this embodiment thus constructed, when to store the time limit TO of out detection voltage VDD during energization driving of the stepping motor 21 in the memory 56, when driving the stepping motor by comparison circuit 51 The time limit of the step-out detection voltage VDD is detected, and the result is stored in the memory 56.

【0118】これにより、ステッピングモータ21の通
電駆動時の脱調検出電圧VDDの制限時間を自動的にメモ
リ56に記憶することができる。このため、ステッピン
グモータ21の通常駆動時の制限時間Tの測定を正確に
行うことができる。
Thus, the time limit for the step-out detection voltage VDD when the stepping motor 21 is energized can be automatically stored in the memory 56. Therefore, it is possible to accurately measure the time limit T during the normal driving of the stepping motor 21.

【0119】また、ステッピングモータ21を駆動する
場合、脱調検出電圧VDDの制限時間Tとメモリ56に記
憶された通常駆動時の制限時間TO とを比較して、現在
制限時間Tが通常駆動時の制限時間TO よりも小さい
ときにステッピングモータ21に脱調が生じたと判断
し、ステッピングモータ21を停止する。
When the stepping motor 21 is driven, the time limit T of the step-out detection voltage VDD is compared with the time limit TO for normal driving stored in the memory 56, and the current time limit T is set to the normal drive time. When the time is less than the time limit TO, the stepping motor 21 is determined to have lost synchronism, and the stepping motor 21 is stopped.

【0120】このように、モータ駆動時に脱調検出電圧
VDDの制限時間Tを検出し、この制限時間Tを通常駆動
時の制限時間TO とを直接比較して脱調判断を行うた
め、上記実施例の効果に加え、さらに確実に脱調判断を
行うことができるという効果がある。
[0120] Thus, for detecting the time limit T of the out-of-step detecting voltage VDD when the motor driving is performed step-out determination of the time limit T is compared with the time limit TO during normal driving directly, the above-described In addition to the effect of the example, there is an effect that the out-of-step determination can be performed more reliably.

【0121】なお、本実施例においては、逆起電圧検出
回路26の定電圧ダイオード27のアノードはモータ駆
動電源Vc に接続したものについて述べたが、必ずしも
これに限定されることはなく、上記実施例と同様に逆起
電圧検出回路26の定電圧ダイオード27のアノードは
電源電圧Vcc(例えば5V)に接続したものであっても
よい。
In this embodiment, the anode of the constant voltage diode 27 of the back electromotive voltage detection circuit 26 is connected to the motor drive power supply Vc. However, the present invention is not limited to this. As in the example, the anode of the constant voltage diode 27 of the back electromotive voltage detection circuit 26 may be connected to the power supply voltage Vcc (for example, 5 V).

【0122】[0122]

【発明の効果】以上詳述したように本発明によれば、確
実に脱調検出を行うことができ、しかも安価な脱調検出
装置を提供できるものである。
As described above in detail, according to the present invention, a step-out detection device which can reliably detect a step-out and can be provided at a low cost can be provided.

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

【図1】本発明の一実施例の回路構成を示す図。FIG. 1 is a diagram showing a circuit configuration of one embodiment of the present invention.

【図2】同実施例における脱調検出制御動作を示す流れ
図。
FIG. 2 is a flowchart showing a step-out detection control operation in the embodiment.

【図3】同実施例における脱調検出制御のタイミングを
示す図。
FIG. 3 is a diagram showing timing of step-out detection control in the embodiment.

【図4】本発明の他の実施例の回路構成を示す図。FIG. 4 is a diagram showing a circuit configuration of another embodiment of the present invention.

【図5】同実施例における制御部の構成を示すブロック
図。
FIG. 5 is a block diagram showing a configuration of a control unit in the embodiment.

【図6】同実施例における脱調検出制御のタイミングを
示す図。
FIG. 6 is a diagram showing timing of step-out detection control in the embodiment.

【図7】本発明の他の実施例の回路構成を示す図。FIG. 7 is a diagram showing a circuit configuration of another embodiment of the present invention.

【図8】同実施例における制御部の構成を示すブロック
図。
FIG. 8 is a block diagram showing a configuration of a control unit in the embodiment.

【図9】同実施例における脱調検出制御動作を示す流れ
図。
FIG. 9 is a flowchart showing a step-out detection control operation in the embodiment.

【図10】同実施例における脱調検出制御のタイミング
を示す図。
FIG. 10 is a view showing timing of step-out detection control in the embodiment.

【図11】本発明の他の実施例の回路構成を示す図。FIG. 11 is a diagram showing a circuit configuration of another embodiment of the present invention.

【図12】同実施例における脱調検出制御動作を示す流
れ図。
FIG. 12 is a flowchart showing a step-out detection control operation in the embodiment.

【図13】同実施例における脱調検出制御のタイミング
を示す図。
FIG. 13 is a view showing timing of step-out detection control in the embodiment.

【図14】従来の脱調検出装置の回路構成を示す図。FIG. 14 is a diagram showing a circuit configuration of a conventional step-out detection device.

【図15】従来の脱調検出装置の制御部の構成を示す
図。
FIG. 15 is a diagram showing a configuration of a control unit of a conventional step-out detection device.

【図16】従来の脱調検出装置の脱調検出制御のタイミ
ングを示す図。
FIG. 16 is a timing chart of the step-out detection control of the conventional step-out detection device .
Shows a ring.

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

11…CPU 21…ステッピングモータ 22…励磁用トランジスタ 25…逆流防止用ダイオード 27,31…定電圧ダイオード 28,29…抵抗 51…比較回路 52…コンパレータ 56…メモリ DESCRIPTION OF SYMBOLS 11 ... CPU 21 ... Stepping motor 22 ... Exciting transistor 25 ... Backflow prevention diode 27, 31 ... Constant voltage diode 28, 29 ... Resistance 51 ... Comparison circuit 52 ... Comparator 56 ... Memory

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H02P 8/00 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) H02P 8/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 励磁用トランジスタのオン・オフ動作で
複数の励磁相を励磁することによって駆動するステッピ
ングモータと、前記励磁相に生じる逆起電圧の波形をパ
ルス波形にする互いにカソードを接続した一対の定電圧
ダイオードと抵抗分圧回路との直列回路を電源端子に接
続してなる逆起電圧検出回路と、前記ステッピングモー
タの励磁相と前記励磁用トランジスタとの接続点にアノ
ードを接続し、前記逆起電圧検出回路の定電圧ダイオ
ードのカソードの接続点にカソードを接続した逆流防止
用ダイオードと、前記逆起電圧検出回路の抵抗分圧回路
の分圧点に生じるパルス波形状の脱調検出電圧を監視
し、この脱調検出電圧の時間幅が前記ステッピングモー
タの通常駆動時の時間幅よりも短いとき前記ステッピン
グモータが脱調したと判断する脱調検出判断手段とを設
けたことを特徴とする脱調検出装置。
1. A path and a stepping motor for driving by exciting the plurality of excitation phases in on-off operation of the excitation transistor, the waveform of the counter electromotive voltage generated in the excitation phase
A back electromotive voltage detection circuit formed by connecting a series circuit of a pair of constant voltage diodes having a cathode connected to each other and a resistance voltage dividing circuit to a power supply terminal, an excitation phase of the stepping motor, the excitation transistor, At the connection point of
Connect over de, a backflow preventing diode connected to the cathode to a cathode connection point of the constant voltage diode of the counter electromotive voltage detection circuit occurs dividing point of the resistor divider of the counter electromotive voltage detection circuit A step-out detection voltage having a pulse waveform is monitored, and the time width of the step-out detection voltage is determined by the stepping mode.
A step-out detection means for judging that the stepping motor has step-out when the time is shorter than the time width during normal driving of the motor.
【請求項2】 前記励磁相と前記励磁用トランジスタと
の接続点のすべてに、それぞれ逆流防止用ダイオードの
アノードを別々に接続し、これらすべての逆流防止用ダ
イオードのカソードを接続した共通端子を前記逆起電圧
検出回路の各定電圧ダイオードのカソードに接続し、前
記ステッピングモータの通電駆動時に、前記ステッピン
グモータの各励磁相に生じる逆起電圧の波形の頭部を所
定の定電圧値に制限する時間が連続するように各定電圧
ダイオードのツェナ電圧を設定したことを特徴とする請
求項1記載の脱調検出装置。
2. The excitation phase and the excitation transistor
Of the backflow prevention diode
Connect the anodes separately and connect all these backflow protection
Connect the common terminal connected to the cathode of the anode to the back electromotive force
Connect to the cathode of each constant voltage diode of the detection circuit,
When the stepping motor is energized, the stepping motor
The head of the back EMF waveform generated in each excitation phase of the motor.
Each constant voltage so that the time limited to a constant voltage value is continuous
2. The step-out detecting device according to claim 1 , wherein a Zener voltage of the diode is set .
【請求項3】 励磁用トランジスタのオン・オフ動作で
複数の励磁相を励磁することによって駆動するステッピ
ングモータと、互いにカソードを接続した一対の定電圧
ダイオードと抵抗分圧回路との直列回路を電源端子に接
続してなる逆起電圧検出回路と、前記励磁相と前記励磁
用トランジスタとの接続点にアノードを接続するととも
に、前記逆起電圧検出回路の各定電圧ダイオードのカソ
ードにカソードを接続した逆流防止用ダイオードと、前
記逆起電圧検出回路の抵抗分圧回路の分圧点に生じる脱
調検出電圧と予め設定した基準電圧とを比較して、脱調
検出電圧が基準電圧以上となる時間を検出する比較回路
と、前記ステッピングモータの通電駆動時の前記比較回
路からの検出時間を記憶しておく検出時間記憶手段と、
前記ステッピングモータの駆動時、前記比較回路からの
検出時間を監視し 、この比較回路からの検出時間と、前
記検出時間記憶手段から取出した通常駆動時の検出時間
とを比較して、前記比較回路からの検出時間が通常駆動
時の検出時間よりも短いときに前記ステッピングモータ
が脱調したと判断する脱調判断手段とを設けたことを特
徴とする脱調検出装置。
3. An on-off operation of an exciting transistor.
Stepper driven by exciting multiple excitation phases
Motor and a pair of constant voltages with cathodes connected to each other
Connect a series circuit of a diode and a resistor divider to the power supply terminal.
Back electromotive voltage detection circuit, the excitation phase and the excitation
Connect the anode to the connection point with the transistor for
The cathode of each constant voltage diode of the back electromotive voltage detection circuit
A backflow prevention diode with a cathode connected to the
Deviation occurring at the voltage dividing point of the resistance voltage dividing circuit of the back electromotive voltage detection circuit
The step-out detection is performed by comparing the key detection voltage with a preset reference voltage.
Comparison circuit that detects the time when the detection voltage is higher than the reference voltage
And the comparison time when the stepping motor is energized.
Detection time storage means for storing a detection time from a road;
When the stepping motor is driven, a signal from the comparison circuit
Monitoring the detection time, the detection time from this comparison circuit and the
Detection time during normal drive taken from the detection time storage means
And the detection time from the comparison circuit is normally driven.
When the stepping motor is shorter than the detection time
A step-out determining means for determining that the step-out has occurred .
JP31710194A 1994-04-08 1994-12-20 Step-out detection device Expired - Fee Related JP3212232B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31710194A JP3212232B2 (en) 1994-04-08 1994-12-20 Step-out detection device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP7078294 1994-04-08
JP6-70782 1994-04-08
JP31710194A JP3212232B2 (en) 1994-04-08 1994-12-20 Step-out detection device

Publications (2)

Publication Number Publication Date
JPH07327399A JPH07327399A (en) 1995-12-12
JP3212232B2 true JP3212232B2 (en) 2001-09-25

Family

ID=26411914

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31710194A Expired - Fee Related JP3212232B2 (en) 1994-04-08 1994-12-20 Step-out detection device

Country Status (1)

Country Link
JP (1) JP3212232B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002014675A1 (en) * 2000-08-15 2002-02-21 Mitsubishi Denki Kabushiki Kaisha Controller for exhaust gas recirculation valve
JP5163536B2 (en) 2009-02-25 2013-03-13 株式会社日立製作所 Induced voltage detection circuit, motor driving semiconductor device having the same, motor and air conditioner
JP6943542B2 (en) * 2014-10-15 2021-10-06 株式会社デンソーウェーブ Step-out detector for multi-phase pulse motor
JP2016082673A (en) * 2014-10-15 2016-05-16 株式会社デンソーウェーブ Power swing detector for polyphase pulse motor
WO2023053973A1 (en) * 2021-09-30 2023-04-06 株式会社不二工機 Electric valve control device, electric valve device, and method for controlling electric valve

Also Published As

Publication number Publication date
JPH07327399A (en) 1995-12-12

Similar Documents

Publication Publication Date Title
US5767639A (en) Electronic control system for a brushless electric motor
KR101037147B1 (en) Rotor position detection of switched reluctance drives
JPH0834711B2 (en) Method of detecting rotor stop position in brushless DC motor without position detector
US7288956B2 (en) Device and method for detecting rotor speed of a multiple phase motor with bipolar drive
JP2837528B2 (en) Control method and control device for motor winding current and control signal generator
CN103329423A (en) Initial position detection for a sensorless, brushless dc motor
US20100141191A1 (en) Systems and methods for determining a commutation state for a brushless dc motor
KR20030051289A (en) Rotor position detection of a switched reluctance drive
JP2019520022A (en) Method and apparatus for robust and efficient stepper motor BEMF measurement
JP3212232B2 (en) Step-out detection device
JP2002153091A (en) Control device for stepping motor
US5192900A (en) Method and apparatus for driving a brushless motor using feedback control
JP2005210845A (en) Power supply circuit
EP1042859A1 (en) Device for the detection of an angle of rotation of a brushless multi-phase d.c. motor
JP3575895B2 (en) Motor rotation abnormality detection device
JP2000032794A (en) Power supply circuit
JP2972034B2 (en) Load torque measuring device for stepping motor
JPH08182378A (en) Method and apparatus for detecting rotor position of brusheless motor
JPH0799796A (en) Driving device for stepping motor
JP2538977B2 (en) Drive device equipped with a motor burnout prevention device
JP3815238B2 (en) Motor rotation control method
US20250183825A1 (en) Motor drive control device, motor unit, and motor drive control method
US11705839B2 (en) Control unit for operating an electrical machine, electrical machine, and method
JP3491924B2 (en) Method and apparatus for detecting insulation deterioration of DC motor
JP2008220087A (en) Device and method for driving motor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees