JPH02202390A - Motor speed control method - Google Patents

Motor speed control method

Info

Publication number
JPH02202390A
JPH02202390A JP1020411A JP2041189A JPH02202390A JP H02202390 A JPH02202390 A JP H02202390A JP 1020411 A JP1020411 A JP 1020411A JP 2041189 A JP2041189 A JP 2041189A JP H02202390 A JPH02202390 A JP H02202390A
Authority
JP
Japan
Prior art keywords
motor
encoder
signal
drive signal
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1020411A
Other languages
Japanese (ja)
Inventor
Michitoshi Akao
赤尾 通敏
Kenji Sakakibara
榊原 健治
Takeshi Isaki
健 伊崎
Atsunori Kato
篤典 加藤
Hiroshi Morizaki
浩 森崎
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP1020411A priority Critical patent/JPH02202390A/en
Priority to EP19890310988 priority patent/EP0366437A3/en
Priority to US07/426,884 priority patent/US4994849A/en
Priority to US07/470,311 priority patent/US5045763A/en
Publication of JPH02202390A publication Critical patent/JPH02202390A/en
Pending legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02BINTERNAL-COMBUSTION PISTON ENGINES; COMBUSTION ENGINES IN GENERAL
    • F02B75/00Other engines
    • F02B75/02Engines characterised by their cycles, e.g. six-stroke
    • F02B2075/022Engines characterised by their cycles, e.g. six-stroke having less than six strokes per cycle
    • F02B2075/025Engines characterised by their cycles, e.g. six-stroke having less than six strokes per cycle two

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

PURPOSE:To enable control of a high speed motor by fixing an encoder to the motor and varying the timing of a drive signal following to the variation of motor speed and corresponding to the number of cycle of an encoder signal. CONSTITUTION:When a motor 30 rotates with low speed, a CPU33 starts operation every time when one cycle of an encoder 31 signal rises. Upon finish of operation of about 0.1msec, a drive signal DS is produced and the rotation of the motor 30 is controlled through a motor drive circuit 32. When the motor 30 rotates with high speed, the CPU33 starts operation for every two cycle rising of the encoder 31 signal and provides the drive signal DS to the motor drive circuit 32 upon finish of operation of about 0.1msec. By such arrangement, high speed rotation control of the motor 30 can be realized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、回転速度が可変のモータの速度制御力θ;に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a speed control force θ of a motor whose rotational speed is variable.

〔従来の技術〕[Conventional technology]

従来の直流又は交流モータの速度制御システムにおいて
は、例えば、第3図に示すように、モータ30にエンコ
ーダ31を取付け、このエンコーダ31からのパルス信
号をCPU33に入力し、このCPU33はモータ駆動
回路32に駆動信号DSを出力するようにしていた。そ
して、この駆動信号DSに基づいてモータ30の回転数
がコントロールされる。前記CPU33は、駆動信号D
Sをエンコーダ31からのエンコーダ信号に基づいて現
在のモータ30の回転数を所定回転数と比較して所定回
転数でモータ30が駆動するように駆動回路32に駆動
信号を出力する。
In a conventional speed control system for a DC or AC motor, for example, as shown in FIG. 3, an encoder 31 is attached to a motor 30, and pulse signals from the encoder 31 are input to a CPU 33, which controls the motor drive circuit. The drive signal DS was output to the terminal 32. Then, the rotation speed of the motor 30 is controlled based on this drive signal DS. The CPU 33 receives a drive signal D.
Based on the encoder signal from the encoder 31, the current rotation speed of the motor 30 is compared with a predetermined rotation speed, and a drive signal is output to the drive circuit 32 so that the motor 30 is driven at the predetermined rotation speed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

前記CPUの駆動信号の演算時間としては(1,1m5
ec程度の時間を要し、第4図に示すように、エンコー
ダ信号の1サイクルの立上りエツジPにおいて割込み信
号がCPUに入力し、この入力によりCPUは駆動回路
32に対する駆動信号DSの出力を停止して演算し、演
算終了後に演算結果に基づいた駆動信号を駆動回路32
に出力するようにしていた。
The calculation time of the drive signal of the CPU is (1,1m5
As shown in FIG. 4, an interrupt signal is input to the CPU at the rising edge P of one cycle of the encoder signal, and this input causes the CPU to stop outputting the drive signal DS to the drive circuit 32. After the calculation is completed, a drive signal based on the calculation result is sent to the drive circuit 32.
I was trying to output it to .

ところが、モータ30が高速になるにつれて、エンコー
ダ信号の1サイクルの時間が短くなり、このときでもC
PUは一定時間の演算時間を要するので、駆動信号DS
を出力゛している時間が短くなり実際的に高速でのモー
タの回転数の制御が困難であった。
However, as the motor 30 becomes faster, the time for one cycle of the encoder signal becomes shorter, and even at this time, C
Since PU requires a certain amount of calculation time, the drive signal DS
The amount of time the motor is outputting becomes shorter, making it difficult to control the motor's rotational speed at high speeds.

本発明は、かかる点に鑑み、高速でのモータの制御が可
能なモータの高速制御方法を提供することをl]的とす
る。
In view of this point, an object of the present invention is to provide a high-speed control method for a motor that is capable of controlling a motor at high speed.

〔課題を解決するための手段〕[Means to solve the problem]

そこで、本発明は、速度が可変制御されるモータにエン
コーダを取付け、このエンコーダ信号を制御部へ入力し
、この制御部からの駆動信号によリモータの駆動回路を
制御し、モータの速度変化に追随して駆動信号の演算タ
イミングを、前記エンコーダ信号のサイクル数に対応さ
せて変化させるようにした。
Therefore, the present invention attaches an encoder to a motor whose speed is variably controlled, inputs this encoder signal to a control section, controls the drive circuit of the remoter with a drive signal from this control section, and responds to changes in motor speed. Following this, the calculation timing of the drive signal is changed in accordance with the number of cycles of the encoder signal.

〔作用〕[Effect]

速度可変のモータにエンコーダを取付け、このエンコー
ダ信号の1サイクル毎の立上りエツジ間隔が短くなると
、CPUはエンコーダ信号の立上りを所定数スキップし
て複数のサイクル毎の立上りエツジにおいて割込みをか
けて駆動信号を演算し、演算終了後に周波数又は電圧を
変えるような駆動信号を駆動回路に出力する。これによ
りモータが高速になっても駆動信号を出力しているON
時間が確保されモータの高速での速度制御が可能となる
When an encoder is attached to a variable speed motor and the interval between rising edges of each cycle of this encoder signal becomes short, the CPU skips a predetermined number of rising edges of the encoder signal and generates an interrupt at the rising edge of each cycle to output the drive signal. is calculated, and after the calculation is completed, a drive signal that changes the frequency or voltage is output to the drive circuit. This allows the motor to output a drive signal even at high speeds.
Time is secured and the motor can be controlled at high speed.

〔実施例〕〔Example〕

以下、図面を参照して本発明の一実施例について説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

第1図において、速度可変のモータ30が低速の場合は
、従来と同様にエンコーダ信号の1サイクルの立上り毎
に、CPUに割込みが入り、この割り込み信号によりC
PU33は演算を開始し、CPUは駆動信号DSを約0
.1m5ec間演算して演算終了後に駆動信号DSを出
力してモータ30の回転をコントロールする(第1a図
)。
In FIG. 1, when the variable speed motor 30 is at a low speed, an interrupt is sent to the CPU at each rising edge of one cycle of the encoder signal, and this interrupt signal causes the CPU to
The PU33 starts calculation, and the CPU lowers the drive signal DS to approximately 0.
.. The calculation is performed for 1 m5ec, and after the calculation is completed, the drive signal DS is output to control the rotation of the motor 30 (FIG. 1a).

モータ30が高速になった場合には、第1b図に示すよ
うにエンコーダ信号の2サイクル毎の立上りに演算を開
始してO,1m5ec間の演算を終了した後、駆動信号
DSを駆動回路32に出力する。すなわち、エンコーダ
信号の2サイクル中の1ザイクル終了後の立上りをスキ
ップして次の1サイクルの立上りに演算を開始する。こ
のようにすれば、駆動信号DSを出力している時間が、
すなわち駆動信号のON時間のデユーティ比が大きくな
りモータの回転が高速になってもその回転制御が可能と
なる。
When the motor 30 becomes faster, as shown in FIG. 1b, calculation starts at the rising edge of every two cycles of the encoder signal, and after completing the calculation for 0,1 m5ec, the drive signal DS is sent to the drive circuit 32. Output to. That is, the rising edge after the end of one cycle of the two cycles of the encoder signal is skipped, and the calculation is started at the rising edge of the next cycle. In this way, the time during which the drive signal DS is outputted can be
That is, even if the duty ratio of the ON time of the drive signal increases and the motor rotates at high speed, the rotation can be controlled.

第1b図の実施例においては、エンコーダ信号の2サイ
クル毎の立上りエツジにおいてCPUに割込みをかけ駆
動信号を演算しているが、更にモータ30が高速になれ
ば、3サイクル毎、4サイクル毎というように、駆動信
号DSのON時間を必要時間確保するようにする。
In the embodiment shown in FIG. 1b, the CPU is interrupted at the rising edge of every two cycles of the encoder signal to calculate the drive signal, but if the motor 30 becomes faster, it may be possible to calculate the drive signal every three or four cycles. Thus, the ON time of the drive signal DS is ensured to be the required time.

前記CPU33の駆動を第2図のブローチヤードを参照
して詳細に説明する。
The driving of the CPU 33 will be explained in detail with reference to the broach yard in FIG.

スタート信号により、CPUは動作を開始しCPU33
の駆動制御処理中に何らかの割込み信号が発生したか否
かを判断しくステップSl)、もし何らかの割込み信号
が発生していれば、その割込み信号が演算タイミングに
係るものか、すなわち、エンコーダ信号の所定の立上り
信号であるか否かを判断しくステップS2)、もし、そ
れが演算タイミングに係るものであるならば、フラグを
クリアして(ステップS3)、エンコーダデータを読込
んて現在のモータ30の回転数Nを読み取る(ステップ
S4)。次に、モータ30の現(J:。
In response to the start signal, the CPU starts operating and the CPU 33
In step Sl), it is determined whether or not any interrupt signal has occurred during the drive control process of the encoder. If it is related to the calculation timing, the flag is cleared (step S3), the encoder data is read, and the current signal of the motor 30 is determined. The rotation speed N is read (step S4). Next, the current state of the motor 30 (J:.

の回転数Nが高速か、低速かを基準回転数と比較して判
断しくステップS5)、高速時には高速時の演算タイミ
ング、例えばエンコーダ信号の2サイクル毎の立上り時
の演算タイミングを設定し、a(速時には低速時の演算
夕i’ ミンク、例えばエンコーダ信号の1サイクルの
立上り時の演算タイミングを設定しくステップS6.S
7)、この設定値に応じて演算を実行しくステップS8
)、演算タイミングフラグをセットしくステップS9)
この動作を繰り返す。
It is determined whether the rotational speed N is high or low by comparing it with the reference rotational speed (step S5), and when the rotational speed is high, the calculation timing at high speed, for example, the calculation timing at the rising edge of every two cycles of the encoder signal, is set. (For example, set the calculation timing at the rising edge of one cycle of the encoder signal in step S6.S.
7), step S8 to execute the calculation according to this set value.
), set the calculation timing flag in step S9).
Repeat this action.

〔発明の効果〕〔Effect of the invention〕

本発明は、以上のように構成したので、モータの高速で
の制御が可能になるという効果を奏する。
Since the present invention is configured as described above, it has the effect that the motor can be controlled at high speed.

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

第1a図は低速時のエンコーダ信号とモータ駆動信号と
の動作タイミングチャート、第1b図は高速時のエンコ
ーダ信号とモータ駆動信号との動作タイミングチャート
、第2図はCPUの動作フローチャート、第3図はモー
タ制御システム図、第4図は従来のモータ制御のエンコ
ーダ信号とモタ駆動信号との動作タイミングチャートで
ある。 30・・・モータ、31・・・エンコーダ、32・・・
駆動回路、33・・・CPU。 出願人代理人  石  川  泰  男第2図 図面の浄書(内容に変更なし) ((]) (b) 第1図 手 続 辛rIj 正 書 平成元年 月 日
Fig. 1a is an operation timing chart of the encoder signal and motor drive signal at low speed, Fig. 1b is an operation timing chart of the encoder signal and motor drive signal at high speed, Fig. 2 is an operation flowchart of the CPU, and Fig. 3 4 is a diagram of a motor control system, and FIG. 4 is an operation timing chart of encoder signals and motor drive signals for conventional motor control. 30...Motor, 31...Encoder, 32...
Drive circuit, 33...CPU. Applicant's agent Yasushi Ishikawa Engraving of Figure 2 drawing (no changes to the content) ((]) (b) Figure 1 procedure ShinrIj Original date of 1989

Claims (1)

【特許請求の範囲】[Claims] 速度が可変制御されるモータにエンコーダを取付け、こ
のエンコーダ信号を制御部へ入力し、この制御部からの
駆動信号によりモータの駆動回路を制御し、モータの速
度変化に追随して駆動信号の演算タイミングを、前記エ
ンコーダ信号のサイクル数に対応させて変化させるよう
にしたことを特徴とするモータの速度制御方法。
An encoder is attached to the motor whose speed is variable controlled, and this encoder signal is input to the control unit.The drive signal from this control unit controls the motor drive circuit, and the drive signal is calculated by following changes in the motor speed. A method for controlling the speed of a motor, characterized in that the timing is changed in accordance with the number of cycles of the encoder signal.
JP1020411A 1988-10-25 1989-01-30 Motor speed control method Pending JPH02202390A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP1020411A JPH02202390A (en) 1989-01-30 1989-01-30 Motor speed control method
EP19890310988 EP0366437A3 (en) 1988-10-25 1989-10-25 Imaging device
US07/426,884 US4994849A (en) 1988-10-25 1989-10-25 Imaging device
US07/470,311 US5045763A (en) 1989-01-28 1990-01-25 Motor-control device for image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1020411A JPH02202390A (en) 1989-01-30 1989-01-30 Motor speed control method

Publications (1)

Publication Number Publication Date
JPH02202390A true JPH02202390A (en) 1990-08-10

Family

ID=12026296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1020411A Pending JPH02202390A (en) 1988-10-25 1989-01-30 Motor speed control method

Country Status (1)

Country Link
JP (1) JPH02202390A (en)

Similar Documents

Publication Publication Date Title
JPH07194193A (en) Method to control motor
JPH0426391A (en) Controller of brushless motor
JPH02202390A (en) Motor speed control method
JP3289921B2 (en) Programmable controller
JPH0759378A (en) Method and device for controlling brushless motor
KR100190709B1 (en) Step motor speed control method using harmonic motion
JP2562578Y2 (en) General-purpose pulse generation relay drive
KR0177657B1 (en) A step motor control method
JPS61145090A (en) Method of controlling speed of elevator
JPS63171198A (en) Controller for air quantity
JPH03293986A (en) Motor control circuit
JPS63140687A (en) Motor control system
JPS62185593A (en) Controller for fan motor
JPH06197577A (en) Controller
JPS63209498A (en) Controller for motor
JPS6035981A (en) Controller of motor
JPH033476B2 (en)
JPS63217987A (en) Motor controller
JPS59153498A (en) Control circuit for pulse motor
JPS63268484A (en) Digital type speed control system of motor
JPS6096186A (en) Controller for driving copying machine
JPH10191695A (en) Device for driving stepping motor
JPH049768A (en) Method for detecting low rotational speed of electric motor
JPH11235094A (en) Motor driving control circuit
JPS63123267A (en) Servo control device