JP2697964B2 - Motor drive - Google Patents

Motor drive

Info

Publication number
JP2697964B2
JP2697964B2 JP3093790A JP9379091A JP2697964B2 JP 2697964 B2 JP2697964 B2 JP 2697964B2 JP 3093790 A JP3093790 A JP 3093790A JP 9379091 A JP9379091 A JP 9379091A JP 2697964 B2 JP2697964 B2 JP 2697964B2
Authority
JP
Japan
Prior art keywords
motor
speed
signal
output
timer
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 - Lifetime
Application number
JP3093790A
Other languages
Japanese (ja)
Other versions
JPH04325892A (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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP3093790A priority Critical patent/JP2697964B2/en
Publication of JPH04325892A publication Critical patent/JPH04325892A/en
Application granted granted Critical
Publication of JP2697964B2 publication Critical patent/JP2697964B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Of Direct Current 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 method for preventing a malfunction of a motor driving device for driving a DC motor at a constant speed.

【0002】[0002]

【従来の技術】直流モータを一定速度で駆動するモータ
駆動装置は、例えばカーテンの開閉を自動的に行う電動
カーテン駆動装置などで用いられている。この電動カー
テン駆動装置においては、図2に示すように、速度設定
部1によるカーテンの開閉速度に応じて比較部2がPW
M制御部3の制御を行って適当なパルス幅を持ったパル
ス列信号を出力させ、このパルス列信号を電力増幅部4
で増幅して直流モータ7に供給している。そして、モー
タ電流Imを検出部5で検出し、この検出部5の出力を
FV変換部6を介して比較部2にフィードバックし、カ
ーテンの開閉速度を一定に制御している。さらに、詳し
くは、速度設定部1からは設定速度に応じた電圧信号V
rが出力され、カレントトランスなどで構成される検出
部5では直流モータ7に流れる電流Imの周期的変化に
応じた検出信号Vpを出力し、FV変換部6では検出信
号Vpを電圧信号Vsに変換し、この電圧信号Vsと上
記電圧信号Vrを比較部2で比較した電圧信号(Vr−
Vs)をPWM制御部3に与えて、その電圧信号(Vr
−Vs)に応じてモータ電流Imを適当に調整してモー
タ速度を設定値に対応して一定値に制御している。
2. Description of the Related Art A motor drive for driving a DC motor at a constant speed is used in, for example, an electric curtain drive for automatically opening and closing a curtain. In this electric curtain driving device, as shown in FIG.
The control of the M control unit 3 outputs a pulse train signal having an appropriate pulse width.
And supplies it to the DC motor 7. Then, the motor current Im is detected by the detection unit 5 and the output of the detection unit 5 is fed back to the comparison unit 2 via the FV conversion unit 6 to control the curtain opening / closing speed to be constant. More specifically, the speed setting unit 1 outputs a voltage signal V corresponding to the set speed.
r is output, the detection unit 5 composed of a current transformer or the like outputs a detection signal Vp corresponding to the periodic change of the current Im flowing to the DC motor 7, and the FV conversion unit 6 converts the detection signal Vp into a voltage signal Vs. The voltage signal Vs is converted to a voltage signal (Vr−
Vs) to the PWM control unit 3, and the voltage signal (Vr)
−Vs), the motor current Im is appropriately adjusted to control the motor speed to a constant value corresponding to the set value.

【0003】ところで、この種のモータ駆動装置のFV
変換部6ではコンパレータ8とタイマ9とで検出部5の
モータ電流Imの周期的な変化を示す検出信号Vpから
直流モータ7の励磁相切換周期に応じたパルス信号を作
成し、その後そのパルス信号を用いて電圧信号に変換し
ている。つまりは、コンパレータ8で基準電圧VC と図
3(b)に示す検出信号Vpとを比較することにより、
同図(c)に示す矩形波出力Voを得て、この矩形波出
力Voの変化をトリガとしてタイマ9を動作させて、同
図(d)に示す一定パルス幅Tのパルス信号を作成して
いる。
[0003] By the way, the FV of this type of motor driving device is used.
In the converter 6, the comparator 8 and the timer 9 create a pulse signal corresponding to the excitation phase switching cycle of the DC motor 7 from the detection signal Vp indicating the periodic change of the motor current Im of the detector 5, and then generate the pulse signal. Is used to convert to a voltage signal. That is, by comparing the reference voltage V C with the detection signal Vp shown in FIG.
The rectangular wave output Vo shown in FIG. 3C is obtained, and the timer 9 is operated with the change of the rectangular wave output Vo as a trigger to generate a pulse signal having a constant pulse width T shown in FIG. I have.

【0004】そして、従来では上記タイマ9として、矩
形波出力Voの立下りでトリガがかかるエッジトリガ型
の単安定マルチバイブレータを用いるか、または入力の
状態を一定周期で監視し、入力がローレベルであると一
定幅Tのパルスを出力するマイコンで構成されたプログ
ラムタイマを用いていた。
Conventionally, an edge-triggered monostable multivibrator that triggers on the falling edge of the rectangular wave output Vo is used as the timer 9, or the state of the input is monitored at regular intervals, and the input is set to a low level. , A program timer constituted by a microcomputer that outputs a pulse having a constant width T is used.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述の
エッジトリガ型の単安定マルチバイブレータを用いた場
合には、矩形波出力Voに外来ノイズが混入されると、
この外来ノイズを矩形波出力Voと区別することができ
ない。これに対してプログラムタイマの場合には外来ノ
イズのようにパルス幅の狭い信号はデータとして取り込
まないために、外来ノイズに対しては有利である。
However, in the case where the above-mentioned edge-triggered monostable multivibrator is used, if external noise is mixed into the rectangular wave output Vo,
This extraneous noise cannot be distinguished from the rectangular wave output Vo. On the other hand, in the case of a program timer, a signal having a narrow pulse width such as external noise is not taken in as data, which is advantageous for external noise.

【0006】ところが、このプログラムタイマの場合に
は、一定周期で入力の状態を監視し、入力がローレベル
であると一定幅Tのパルスを出力するため、瞬時停電時
などにおいて図3(a)の右端に示すようにモータ電流
Imが緩やかに変化すると、矩形波出力Voのローレベ
ルとなる時間幅が同図(c)に示すようにプログラムの
入力監視周期よりも十分に長くなり、このため同図
(d)に示すパルス信号Vtが得たいにもかかわらず、
タイマ9から同図(e)に示すように複数のパルス信号
Vt’がが出力されてしまう。つまりは、モータ速度が
急速に上がっているときと同じパルス信号Vtを出力し
てしまい、誤動作を起こす問題があり、このためモータ
電流Imが緩やかに変化する場合には何等かの対策を講
じる必要があるという欠点があった。なお、このような
問題はモータ起動時にも起こり得る。
However, in the case of this program timer, the state of the input is monitored at a constant period, and when the input is at a low level, a pulse having a constant width T is output. When the motor current Im changes gently as shown at the right end of the graph, the time width during which the rectangular wave output Vo becomes low level becomes sufficiently longer than the input monitoring period of the program as shown in FIG. Despite the desire to obtain the pulse signal Vt shown in FIG.
A plurality of pulse signals Vt ′ are output from the timer 9 as shown in FIG. In other words, the same pulse signal Vt is output as when the motor speed is rapidly increasing, causing a malfunction. Therefore, if the motor current Im changes gradually, it is necessary to take some measures. There was a disadvantage that there is. Note that such a problem can also occur when starting the motor.

【0007】本発明は上述の点に鑑みて為されたもので
あり、その目的とするところは、外来ノイズや瞬時停電
などで誤動作を起こすことがないモータ駆動装置を提供
することにある。
The present invention has been made in view of the above points, and an object of the present invention is to provide a motor drive device which does not cause a malfunction due to external noise or an instantaneous power failure.

【0008】[0008]

【課題を解決するための手段】本発明では、上記目的を
達成するために、入力信号のエッジの直前及び直後にハ
イレベルとローレベルとの2値の組み合わせ状態がある
場合にのみトリガがかかるプログラムタイマをタイマと
して用いてある。
According to the present invention, in order to achieve the above object, a trigger is activated only when there is a binary combination state of a high level and a low level immediately before and immediately after an edge of an input signal. A program timer is used as a timer.

【0009】[0009]

【作用】本発明は、上述のようにタイマとしてプログラ
ムタイマを用いることにより、外来ノイズのようにパル
ス幅の狭い信号はデータとして取り込まず、外来ノイズ
に強くなり、且つ入力信号のエッジの直前及び直後にハ
イレベルとローレベルとの2値の組み合わせ状態がある
場合にのみトリガがかかることにより、入力信号の波形
に影響を受けることがなく、モータ電流の緩やかな変化
に際しても正確なパルス信号を出力できるようにしたも
のである。
According to the present invention, by using a program timer as a timer as described above, a signal having a narrow pulse width such as external noise is not taken in as data, becomes strong against external noise, and is used for a signal immediately before an edge of an input signal. Immediately after the trigger is activated when there is a binary combination of high level and low level, it is not affected by the waveform of the input signal and an accurate pulse signal can be generated even when the motor current changes slowly. It is designed to be able to output.

【0010】[0010]

【実施例】図1及び図2に本発明の一実施例を示す。本
実施例のモータ駆動装置は、図2に示すように、直流モ
ータ7の励磁相切換時に起こる周期的な電流変化を検出
してモータ速度を検出する速度検出手段としての検出部
5と、この検出部5で検出した電流変化で示された速度
信号を電圧信号に変換する周波数/電圧変換手段として
のFV変換部6と、直流モータ7の速度を設定する速度
設定手段としての速度設定部1と、上記FV変換部6の
出力を速度設定部1から与えられる電圧信号からなる速
度設定信号と比較する比較手段としての比較部2と、こ
の比較部2の比較結果に応じて直流モータ6を一定のモ
ータ速度とする電流を供給するモータ電流供給手段とし
てのPWM制御部3及び電力増幅部4とで構成されてい
る。そして、FV変換部6は、検出部5の出力である検
出信号Vpを基準電圧Vcと比較して波形整形した矩形
波信号を出力するコンパレータ8と、このコンパレータ
8の出力でトリガがかかり直流モータ7の励磁相切換周
期に応じたパルス信号Vtを出力するタイマ9とを備え
ている。つまり、本実施例のモータ駆動装置の場合には
構成的には従来のものと何等変わりのないものである。
但し、本実施例の場合には上記タイマ9としてマイコン
のプログラム上に構成されるプログラムタイマを用い、
後述するプログラムに従ってタイマ処理が行われる点に
特徴がある。
1 and 2 show an embodiment of the present invention. As shown in FIG. 2, the motor drive device of the present embodiment includes a detection unit 5 as speed detection means for detecting a periodic current change occurring when the excitation phase of the DC motor 7 is switched to detect the motor speed. An FV converter 6 as a frequency / voltage converter for converting a speed signal indicated by a change in current detected by the detector 5 into a voltage signal, and a speed setting unit 1 as a speed setting unit for setting the speed of the DC motor 7. And a comparing unit 2 as comparing means for comparing the output of the FV conversion unit 6 with a speed setting signal composed of a voltage signal provided from the speed setting unit 1. The DC motor 6 is operated in accordance with the comparison result of the comparing unit 2. It comprises a PWM control section 3 and a power amplification section 4 as motor current supply means for supplying a current having a constant motor speed. The FV conversion unit 6 compares the detection signal Vp output from the detection unit 5 with a reference voltage Vc to output a rectangular wave signal whose waveform is shaped, and a DC motor which is triggered by the output of the comparator 8. And a timer 9 for outputting a pulse signal Vt in accordance with the excitation phase switching period of No. 7. That is, in the case of the motor driving device of the present embodiment, the configuration is no different from the conventional one.
However, in the case of this embodiment, a program timer configured on a microcomputer program is used as the timer 9,
It is characterized in that timer processing is performed according to a program described later.

【0011】以下、本実施例の動作を説明する。但し、
本実施例の基本構成である速度制御系の動作は従来技術
の項で説明した動作と同じであるので説明は省略し、本
実施例の特徴とするタイマ処理動作についてのみ説明す
る。本実施例では、図1のフローチャートに示すよう
に、コンパレータ8の矩形波出力Vo(以下、入力信号
と呼ぶ)がハイレベルであれば、マイコンの内蔵するメ
モリMに1を格納し、次に入力信号Voがローレベルに
ならない限り値を変えない。なお、この段階でタイマと
してトリガがかかることはない。そして、その後、入力
信号Voがローレベルになった際に、一定幅Tのパルス
信号Vtを出力する。このパルス信号Vtを出力する
と、メモリMを0とし、入力信号Voの監視状態を継続
する。
The operation of this embodiment will be described below. However,
The operation of the speed control system, which is the basic configuration of the present embodiment, is the same as the operation described in the section of the related art, so that the description thereof will be omitted, and only the timer processing operation characteristic of the present embodiment will be described. In this embodiment, as shown in the flowchart of FIG. 1, if the rectangular wave output Vo (hereinafter, referred to as an input signal) of the comparator 8 is at a high level, 1 is stored in the memory M built in the microcomputer, and then The value does not change unless the input signal Vo goes low. At this stage, no trigger is applied as a timer. After that, when the input signal Vo becomes low level, the pulse signal Vt having a constant width T is output. When the pulse signal Vt is output, the memory M is set to 0, and the monitoring state of the input signal Vo is continued.

【0012】このようにすれば、従来のプログラムタイ
マの場合のよう入力信号Voのローレベル期間が長い場
合にも複数のパルス信号(図3(e)に示すVt’)を
出力することがない。つまり、上述のようにハイレベル
の入力信号Voがローレベルとなって、この状態が継続
しても、メモリMは0の状態にあるので、一定幅Tのパ
ルス信号Vtが再度出力されることがなく、入力信号V
oの監視状態を継続するためであり、本実施例によれば
入力信号Voの信号波形(パルス幅の大小)に関係な
く、正確なパルス信号Vtを1個出力できる。従って、
瞬時停電や起動時などにおいて誤動作を起こすことがな
い。しかも、本実施例ではプログラムタイマを用いるこ
とにより、外来ノイズはデータとして取り込まないの
で、外来ノイズによる誤動作も起こしにくくなってい
る。
In this way, even when the low level period of the input signal Vo is long as in the case of the conventional program timer, a plurality of pulse signals (Vt 'shown in FIG. 3E) are not output. . That is, even if the high-level input signal Vo goes low as described above and this state continues, the pulse signal Vt of the constant width T is output again because the memory M is in the state of 0. There is no input signal V
According to the present embodiment, one accurate pulse signal Vt can be output regardless of the signal waveform (the magnitude of the pulse width) of the input signal Vo. Therefore,
There is no malfunction at instantaneous power failure or startup. In addition, in this embodiment, since the external noise is not taken in as data by using the program timer, a malfunction due to the external noise is less likely to occur.

【0013】[0013]

【発明の効果】本発明は上述のように、入力信号のエッ
ジの直前及び直後にハイレベルとローレベルとの2値の
組み合わせ状態がある場合にのみトリガがかかるプログ
ラムタイマをタイマとして用いたものであり、タイマと
してプログラムタイマを用いることにより、外来ノイズ
のようにパルス幅の狭い信号はデータとして取り込ま
ず、外来ノイズに強くなり、しかも入力信号のエッジの
直前及び直後にハイレベルとローレベルとの2値の組み
合わせ状態がある場合にのみトリガがかかるので、入力
信号の波形に影響を受けることがなく、モータ電流の緩
やかな変化に際しても正確なパルス信号を出力でき、外
来ノイズや瞬時停電など誤動作を起こすことがない。
According to the present invention, as described above, a program timer that triggers only when there is a binary combination of a high level and a low level immediately before and immediately after an edge of an input signal is used as a timer. By using a program timer as a timer, a signal with a narrow pulse width such as external noise is not taken in as data, and becomes strong against external noise.Moreover, a high level and a low level occur immediately before and immediately after an edge of an input signal. The trigger is activated only when there is a combination of the two values, so the waveform of the input signal is not affected, and accurate pulse signals can be output even when the motor current changes slowly. There is no malfunction.

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

【図1】本発明の一実施例のタイマ処理動作のフローチ
ャートである。
FIG. 1 is a flowchart of a timer processing operation according to an embodiment of the present invention.

【図2】(a)は全体構成を示すブロック図である。 (b)は同上のFV変換部の要部構成を示す回路図であ
る。
FIG. 2A is a block diagram illustrating an entire configuration. (B) is a circuit diagram showing a main part configuration of the FV converter of the above.

【図3】同上の動作及び従来の問題点を示す動作説明図
である。
FIG. 3 is an operation explanatory view showing the above operation and a conventional problem.

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

1 速度設定部 2 比較部 3 PWM制御部 4 電力増幅部 5 検出部 6 FV変換部 7 直流モータ 8 コンパレータ 9 タイマ Reference Signs List 1 speed setting unit 2 comparison unit 3 PWM control unit 4 power amplification unit 5 detection unit 6 FV conversion unit 7 DC motor 8 comparator 9 timer

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 直流モータの励磁相切換時に起こる周期
的な電流変化を検出してモータ速度を検出する速度検出
手段と、この速度検出手段で検出した電流変化で示され
た速度信号を電圧信号に変換する周波数/電圧変換手段
と、直流モータの速度を設定する速度設定手段と、上記
周波数/電圧変換手段の出力を速度設定手段から与えら
れる電圧信号からなる速度設定信号と比較する比較手段
と、この比較手段の比較結果に応じて直流モータを一定
のモータ速度とする電流を供給するモータ電流供給手段
とで構成され、上記速度検出手段の出力を波形整形した
出力から直流モータの励磁相切換周期に応じたパルス信
号を作成するタイマを上記周波数/電圧変換手段が備え
るモータ駆動装置において、入力信号のエッジの直前及
び直後にハイレベルとローレベルとの2値の組み合わせ
状態がある場合にのみトリガがかかるプログラムタイマ
を上記タイマとして用いて成ることを特徴とするモータ
駆動装置。
1. A speed detecting means for detecting a motor speed by detecting a periodic current change occurring when an excitation phase of a DC motor is switched, and a voltage signal represented by the current change detected by the speed detecting means. Frequency / voltage converting means for converting the output of the DC / DC converter, speed setting means for setting the speed of the DC motor, and comparing means for comparing the output of the frequency / voltage converting means with a speed setting signal consisting of a voltage signal provided from the speed setting means. Motor current supply means for supplying a current for causing the DC motor to have a constant motor speed in accordance with the comparison result of the comparison means. The output of the speed detection means is waveform-shaped to change the excitation phase of the DC motor. In the motor drive device provided with a timer for generating a pulse signal according to a cycle in the frequency / voltage conversion means, a high level signal is output immediately before and after an edge of the input signal. A motor drive device comprising a program timer that triggers only when there is a binary combination state of a low level and a low level as the timer.
JP3093790A 1991-04-24 1991-04-24 Motor drive Expired - Lifetime JP2697964B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3093790A JP2697964B2 (en) 1991-04-24 1991-04-24 Motor drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3093790A JP2697964B2 (en) 1991-04-24 1991-04-24 Motor drive

Publications (2)

Publication Number Publication Date
JPH04325892A JPH04325892A (en) 1992-11-16
JP2697964B2 true JP2697964B2 (en) 1998-01-19

Family

ID=14092212

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3093790A Expired - Lifetime JP2697964B2 (en) 1991-04-24 1991-04-24 Motor drive

Country Status (1)

Country Link
JP (1) JP2697964B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6162380A (en) * 1984-08-31 1986-03-31 Matsushita Electric Ind Co Ltd Constant speed controller of dc motor
JPH02308616A (en) * 1989-05-23 1990-12-21 Nec Eng Ltd Edge detection circuit

Also Published As

Publication number Publication date
JPH04325892A (en) 1992-11-16

Similar Documents

Publication Publication Date Title
US6420847B1 (en) Device for detection of current or voltage on a PWM driven winding with reduced jitter and related methods
KR970031387A (en) METHOD AND APPARATUS FOR DECODING NOISY, INTERMITTENT DATA, SUCH AS MANCHESTER ENCODED DATA OR THE LIKE
JP2005094938A (en) Inverter
JP2697964B2 (en) Motor drive
KR940012361A (en) Data detection level adjusting circuit and method of disk drive
JPH11271366A (en) Apparatus for detecting voltage drop
JP3439801B2 (en) Method and apparatus for monitoring alternating signals
JP3223080B2 (en) Power failure detection device
JP3350665B2 (en) Brushless DC motor position detection method
JPH0557774B2 (en)
KR0136500Y1 (en) Still and slow auto brake device of video tape recorder
US10924050B2 (en) Motor control circuit and motor controller
JP2753593B2 (en) Fan speed drop detector
JP3672674B2 (en) Motor control device
JPH07147783A (en) Abnormality detector for device where pulse width modulation is used
JP3275148B2 (en) Motor control device
JP2887934B2 (en) Line speed controller
KR930014502A (en) DC motor digital servo control circuit of video recording and playback processing equipment
JPH026681Y2 (en)
JPH07225247A (en) Current detector
JPH08308246A (en) Pwm control circuit for neutral point clamp type inverter
KR940012766A (en) Dead time compensation circuit of voltage inverter
JP2000329811A (en) Accident point orienting method for distribution line
JPS5858905B2 (en) Dengen Ijiyou Kenshiyutsu Cairo
JPH06138959A (en) Ac power voltage detector

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970826

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 12

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 12

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100919

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110919

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110919

Year of fee payment: 14