JP2849085B2 - Digital speed control method for electric motor - Google Patents

Digital speed control method for electric motor

Info

Publication number
JP2849085B2
JP2849085B2 JP62052002A JP5200287A JP2849085B2 JP 2849085 B2 JP2849085 B2 JP 2849085B2 JP 62052002 A JP62052002 A JP 62052002A JP 5200287 A JP5200287 A JP 5200287A JP 2849085 B2 JP2849085 B2 JP 2849085B2
Authority
JP
Japan
Prior art keywords
motor
speed
electric motor
matrix
value
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
JP62052002A
Other languages
Japanese (ja)
Other versions
JPS63220786A (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.)
Tohoku Ricoh Co Ltd
Ricoh Co Ltd
Original Assignee
Tohoku Ricoh Co Ltd
Ricoh Co 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 Tohoku Ricoh Co Ltd, Ricoh Co Ltd filed Critical Tohoku Ricoh Co Ltd
Priority to JP62052002A priority Critical patent/JP2849085B2/en
Publication of JPS63220786A publication Critical patent/JPS63220786A/en
Application granted granted Critical
Publication of JP2849085B2 publication Critical patent/JP2849085B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Description

【発明の詳細な説明】 (技術分野) 本発明は電動機のデイジタル速度制御方法に関し、よ
り詳細には、マイクロコンピユータを用いた電動機のデ
イジタル制御、例えば複写機等の読み取りスキヤナの往
復駆動装置の制御に適用し得る電動機のデイジタル速度
制御方法に関するものである。 (従来技術) マイクロコンピユータを用いた従来の電動機のデイジ
タル速度制御方法においては、その制御をPID(比例積
分微分)補償器により行つている(例えば特開昭60-173
603号)。この方法においては、比例定数、積分定数、
微分定数等の制御パラメータを有するので、目標値に対
して偏差が出る。また、電動機の状態値の1つである電
流の検出をアナログデイジタル変換回路によつて行う方
法がある(例えば特開昭61-98171号)が、この方法によ
ると、アナログ変換回路の使用のためハードウエアのコ
ストが高くなる。さらに、上記従来方法においては、過
電流防止回路を設けなければならない。この過電流防止
回路は第5図に示され、VCONTは電動機の制御電圧、21
はアナログスイツチ、22はトランジスタ、VCCは電源、2
3は電流検出用抵抗、24はコンパレータ、25は電動機、I
aは電機子電流、Vmaxは比較電圧であり、電流Iaの最大
値を決める定数である。今、P点の電圧VpはVp=IaRに
なる。 Vmax>Vpの場合はコンパレータ24の値が高レベルにな
り、アナログスイツチ21がオンになつて、電動機の制御
電圧VCONTがトランジスタ22のベースに流れる。逆に、V
max<Vpの場合にはコンパレータ24の値は低レベルにな
り、アナログスイツチ21がオフとなり、電動機の制御電
圧VCONTの信号がトランジスタ22のベースに流れないた
めトランジスタ22はオフとなり、かつしたがつて電流Ia
は流れなくなる。 (目的) 本発明は、上述した従来方法の欠点を解消するために
なされたもので、その目的とするところは、電動機の目
標速度に対して偏差のない速度制御および電動機の入力
電圧と速度からの電流値の推定を行う電動機のデイジタ
ル速度制御方法を提供することである。 (構成) 上記目的を達成するため、特許請求の範囲第1項記載
の発明は、電動機を駆動する手段と、該電動機の動作状
態を指令する状態指令信号を出力する状態指令手段と、
前記電動機の速度を検出する手段と、マイクロプロセッ
サ、ランダムアクセスメモリおよび前記マイクロプロセ
ッサの処理手順が記憶されているリードオンリーメモリ
を備え、前記状態指令信号と前記電動機の速度を検出す
る信号を入力して前記駆動手段に与える制御信号を演算
するマイクロコンピュータとからなる電動機のディジタ
ル速度装置を制御する電動機のディジタル速度制御方法
において、前記電動機の速度を検出した値と前記駆動手
段に与える制御信号の演算結果から、前記電動機の状態
量の1つである電流値x1(k)を推定し、行列リカチ式 H(k+1)=P1′H(k)P1-P1′H(k)Q1(ω+Q
1′H(k)Q)-1Q1′H(k)P1+Wx (但しH(0)=Wx、k=0,1,2,……、P及びQは行
列定数、P1′はP1の転置行列、Q1′はQ1の転置行列、
( )-1は逆行列) の定常解をHとし、最適ゲインベクトルG=(K0,K1,K
2)を表す式 G=(ω+Q1′HQ1)-1Q1′HP1 (但しωは負でない重み係数) から前記推定された電流値x1(k)を乗算するときのフ
ィードバックゲインK1と、前記電動機の出力速度x
2(k)を乗算するときのフィードバックゲインK2と、
前記電動機の出力速度x2(k)と目標速度との差を積分
した結果に乗算して目標入力電圧u1(k)を算出するた
めのゲインK0とを求め、前記電動機のモータに与える入
力電圧u(k)を式 u(k)=u1(k)−K1・x1(k)−K2・x2(k) に基づいて求め、求められた入力電圧u(k)に基づい
て前記電動機の実速度を目標値に対して偏差のないよう
に制御することを特徴とする。 また、特許請求の範囲第2項記載の発明は、同様の前
提の電動機のディジタル速度制御方法において、前記電
動機の速度を検出した値と前記駆動手段に与える制御信
号の演算結果から、前記電動機の状態量の1つである電
流値x1(k)を推定し、行列リカチ式 H(k+1)=P1′H(k)P1-P1′H(k)Q1(ω+Q
1′H(k)Q)-1Q1′H(k)P1+Wx (但しH(0)=Wx、k=0,1,2,……、P及びQは行
列定数、P1′はP1の転置行列、Q1′はQ1の転置行列、
( )-1は逆行列) の定常解をHとし、最適ゲインベクトルG=(K0,K1,K
2)を表す式 G=(ω+Q1′HQ1)-1Q1′HP1 (但しωは負でない重み係数) から前記推定された電流値x1(k)を乗算するときのフ
ィードバックゲインK1と、前記電動機の出力速度x
2(k)を乗算するときのフィードバックゲインK2と、
前記電動機の出力速度x2(k)と目標速度との差を積分
した結果に乗算して目標入力電圧u1(k)を算出するた
めのゲインK0とを求め、前記電動機のモータに与える入
力電圧u(k)を式 u(k)=u1(k)−K1・x1(k)−K2・x2(k) に基づいて求め、さらに、前記u(k)が、ディジタル
値に変換した電機子電流の最大値をIMAXD、電機子抵抗
をRD、誘起電圧定数をKEDとしたときに、式 u(k)=IMAXD・RD+KED・x2(k) となるように求められた入力電圧u(k)に基づいて前
記電動機の実速度を目標値に対して偏差のないように制
御することを特徴とする。 以下、本発明の一実施例に基づいて具体的に説明す
る。 第1図は本発明による制御方法を適用する電動機の速
度制御回路を示すブロツク回路図である。 図において、1はマイクロコンピユータ、2はマイク
ロプロセツサ、3はリードオンリーメモリ(ROM)、4
はランダムアクセスメモリ(RAM)で、さらに、5は指
令発生回路、6は駆動用インタフエイス回路、7は駆動
回路、8は電動機、9はインクリメンタルエンコーダ、
10は検出用インタフエイス回路、11はバスラインを示
す。 このような構成において、指令発生回路5は電動機8
の状態を指令する状態指令信号を出力しかつ速度指令信
号等を発生する。この指令発生回路5の出力はバスライ
ン11に接続されている。駆動用インタフエイス回路6は
マイクロコンピユータ1の演算結果のデイジタル値を、
駆動回路7を構成するパワー半導体、例えばトランジス
タを動作させるパルス状信号(制御信号)に変換する。 駆動回路7は前記パルス状信号に基づいて動作しかつ
電動機8に印加する電圧を制御する。この結果電動機8
は所望の速度で回転する。検出用インタフエイス回路10
はインクリメンタルエンコーダ9の出力パルスを計数す
るカウンタを備え、インクリメンタルエンコーダ9の出
力を処理してデイジタル数値に変換する。電動機8の回
転速度はインクリメンタルエンコーダ9とインタフエイ
ス回路10とによつて検出され、マイクロコンピユータ1
に取り込まれる。 次に、マイクロコンピユータ1で演算される、目標値
に対して出力の偏差がない最適レギユレータ演算方法に
ついて説明する。 一般的に、DCサーボモータは次式のように、2次の状
態方程式に近似される。 X(t)=A・X(t)+Bu(t) ……(1) で、i(t);モータ電流、ω(t);モータ速度、u
(t);モータ入力電圧 出力方程式は、 Y(t)=C・X(t) ……(2) また、その離散系の状態方程式は、 X(k+1)=PX(k)+Qu(k) ……(3) 出力式は、Y(k)=Cx(k) ……(4) 第2図は本発明の目標値に対して出力の偏差がない最
適レギユレータのブロツク図である。図において、R
(k)は電動機8を目標速度で回転させるための速度指
令であり、これは第1図の指令発生回路5により付与さ
れる。Y(k)は第1図の検出用インタフエイス回路10
により検出された、電動機8のデイジタル値に変換され
た速度である。x2(k)は電動機8の状態ベクトルの1
つで、式(4)の定数行列C=(C11,C12)C=(0,1)
とすると、x2(k)=Y(k)となる。x1(k)は同じ
く電動機8の状態ベクトルの1つであり、電動機8に流
れる電流を示している。本発明ではu(k)のモータ入
力電圧とY(k)によりx1(k)の推定値(k)を
オブザーバにより計算している(このオブザーバに関し
ては後述する)。X0(k)はR(k)−Y(k)の積分
値である。K0,K1,K2はリカチ式を解いて決定される最適
ゲインベクトルである。 上記(3)および(4)式より、次の状態方程式を作
る。 但し、S(k)=X(k)−X(k−1)……(6) d(k)=u(k)−u(k−1) ……(7) 重み行列Wxは、 前記電動機8を制御する際の評価として、 の評価関数を用い、Jを極小にする制御入力d(k)を
求める。ωは負でない重み計数である。 行列リカチ式は、 H(K+1)=P1′H(k)P1 −P1′H(k)Q1(ω+Q1′H(k)Q)-1Q1′H
(k)P1+Wx ……(10) H(0)=Wx,k=0,1,2,…… 式中のH(k)は3×3の対称行列で、反復計算の進
行に連れて安定解へ収束する。その定常解をHとする
と、最適ゲインベクトルG=(K0,K1,K2)は、 G=(ω+Q1′HQ1)-1Q1′HP1 ……(11) 上記(10)及び(11)式において、P1′はP1の転置行
列、Q1′はQ1の転置行列、( )-1は逆行列である。以
上で最適ゲインベクトルK0,K1,K2を求めることができ
る。 さらに具体的には、 最適ゲインベクトルGは、3次の横ベクトルで G=[K0,K1,K2] であり、前記(11)式を実行することにより求める。 ここで、ωは前述の負でない重み係数で、Q1′はQ1の
配置行列で前記(5)式に記載されているように、 であり、Qは明細書第10頁に記載された定数行列 であり、これにより、(Q)は (Q)=C×Q となる。Cは明細書第10頁に記載されている C=[C11 C12]=[0 1] から (Q)=C×Q=q2 となる。 以上により、Q1は、 となる。 定常解Hは前述の(10)式 H(k+1)=P1′H(k)P1-P1′H(k)Q1(ω+Q
1′H(k)Q)-1Q1′H(k)P1+Wx から求められる。この式でP1′は前述の(5)式のP1の
配置行列で、Q1は上記のようにして与えられる。また、
Wxは前述の(8)式として示されている。 定常解Hは、初期値H(0)をk=0から始めてH
(0)=Wxを与えることによって収束する。 すなわち、k=0を実行すると、 H(1)=P1′H(0)P1-P1′H(0)Q1(ω+Q1′
H(0)Q)-1Q1′H(0)P1+Wx =P1′WxP1-P1WxQ1(ω+Q1′WxQ)-1Q1WxP1+Wx となる。次にk=1を実行する。このときH(1)はす
でに求まっているので、 H(2)=P1′WxP1-P1′H(1)Q1(ω+Q1′H
(1)Q)-1Q1′H(1)P1+Wx となる。次にk=2を実行する。このときH(2)はす
でに求まっているので、さらに、 H(3)=P1′H(2)P1-P1′H(2)Q1(ω+Q1′
H(2)Q-1Q1′H(2)P1+Wx となる。これを繰り返してkを増加させること、Hは定
常値に収束する。 P1は(5)式から、 となり、Pは前述した明細書第10頁の上部に示したよう
に、 である。Cは前述のように、 C=[C11 C12]=[0 1] なので、P1は となる。そこで、前記ω、QI′、H、Q1、P1のそれぞれ
を前記(11)式に代入すると、ゲインK0、K1、K2が求ま
る。 次に、x1(k)の推定値(k)を求めるオブザー
バについて述べる。 (k+1)=P(k)+Qu(k) ……(12) (k+1)=C(k+1) ……(13) (k+1)=(k+1)+F〔Y(k+1)−
(k+1)〕 ……(14) 上式で(k+1)はX(k+1)の暫定推定値で
あり、時点kのX(k),u(k)から求められる。Fは
フイドバツクにかける重みバクトルであり、有限整定オ
ブザーバの場合は、 により求められる。 以上で(k)が求まる。(k)は(k)
=x2(k)になる。 次に電動機8の電流を所定の大きさより流さないため
の方法を述べる。 直流電動機の電圧方程式は電機子インダクタンスが小
さい場合、 V=IR+KEω ……(17) V ;電動機電圧 I ;電動機電流 R ;電機子抵抗 KE;誘起電圧定数 ω ;モータ速度 であり,電動機電流は、 となる。ここで、Vは第2図のu(k)に、かつ同様に
ωは第2図のY(k)に対応する(u(k),Y(k)は
デイジタル値に変換されたものである)。 したがつて、電動機電流I、電機子抵抗R、誘起電圧
定数KEもデイジタル値に変換して、それぞれID,RD,KED
としてIDを計算すれば良い。 今、電機子電流の最大値をIMAXD(デイジタル値に変
換された値)とすると、ID>IMAXDの場合、 u(k)=IMAXD・RD+KED・Y(k) ……(20) としてu(k)を駆動手段に与えれば、(19)式よりID
=IMAXDになる。 第3図は第1図のマイクロコンピユータ1が処理する
内容を示すフローチヤートであり、その処理手順はROM3
に記憶されている。 今、電源が投入されると、最初に指令発生回路5の状
態指令をブロツクAで取り込む。尚、指令発生回路5は
電動機8の目標速度、回転方向、ストツプ信号を発生す
る。 次にブロツクBの処理に移る。このブロツクBではブ
ロツクAで取り込んだ状態指令信号のうち、電動機8の
ストツプ信号があるかないかを判断する。ストツプ信号
がある場合にはブロツクJの処理に移り、駆動用インタ
フエイス回路6に電動機8をストツプさせる信号を送
り、プログラムを終了させる。ストツプ信号がない場合
にはブロツクCの処理に移る。 ブロツクCの処理はブロツクAで取り込まれた状態指
令信号のうち、電動機8の回転方向をCW回転(時計回
転)にするかCCW(反時計回転)にするかの判断ブロツ
クである。CW回転の場合は駆動用インタフエース回路6
にCW回転の信号を送り、ブロツクDの処理に移る。そう
でない場合にはブロツクKの処理に移り、駆動用インタ
フエイス回路6にCCW回転の信号を送つて、次にブロツ
クDの処理に移る。 ブロツクDの処理はブロツクAで取り込まれた状態指
令信号のうちの電動機8の目標速度の信号により目標速
度R(k)の計算を行う。尚、R(k)は第2図のR
(k)に対応する。次のブロックEの処理に移る。 ブロツクEの処理は電動機8の回転速度をインクリメ
ンタルエンコーダ9と検出用インタフエイス回路10によ
り読み込む。次にブロツクFの処理に移る。 ブロツクFの処理は始めにX0(k)の計算を行う。
尚、K0は前述の最適ゲインベクトルである。次にブロツ
クGの処理に移る。 ブロツクGの処理はオブザーバの計算であり、前述の
(12)式,(13)式,(14)式より、(k)を求め
る。 (k)はx1(k)の推定値であり、電動機8の電
流を推定している。次にブロツクHの処理に移る。 ブロツクHの処理はu(k)の計算であり、電動機8
に与えるモータ入力電圧を計算する。尚、K1,K2は前述
の最適ゲインベクトルである。次にブロツクIの処理に
移る。 ブロツクIの処理はIDの計算であり、(19)式より求
める。次にブロツクLの処理に移る。 ブロツクLの処理は電動機8に流す電流の最大値I
MAXDとブロツクIのIDと比較してIDが大きい場合にはブ
ロツクMの処理に移り、IDが最大値以下の場合にはブロ
ツクNの処理に移る。 ブロツクMの処理はu(k)の計算であり、(20)式
より計算する。次にブロツクNの処理に移る。 ブロツクNの処理はブロツクHまたはブロツクNのu
(k)に基づき第1図の駆動用インタフエイス回路6に
パルス状信号を出力する。そしてブロツクAの処理に戻
る。 以上のデイジタル速度制御方法を行うと、第4図に示
す電動機8の過渡応答が得られる。すなわち、目標速度
に対して偏差のない電動機8の回転速度が得られ、ま
た、オーバーシユートも小さくすることができる。 上述した実施例によれば、マイクロコンピユータを使
用した速度制御のため、電動機や負荷が変わつても、プ
ログラムを変更するだけで最適な制御ができる。したが
つて、制御回路をハードウエアで作る必要がなくなるの
で、開発の効率化および共通化が図れる。また、評価関
数を用いて最適フイードバツクゲインの調整および変更
を行う必要がなくなるので、開発期間が短縮できる。さ
らに、オーバーシユートが小さく、目標値に対して速度
偏差がない制御であるため、複写機の読み取りスキヤナ
の駆動に使用した場合に、助走距離を短く、等倍誤差の
ないスキヤナを提供できる。さらにまた、電流検出回
路、過電流防止回路が必要ないため、回路が簡単でかつ
コストダウンとなる。 (効果) 上述したように、本発明によれば、摩擦力や摩擦トル
クのような静的外乱があっても、目標速度に対して出力
の偏差がでない制御アルゴリズムを持たせることができ
るとともに、電流値を電動機の入力電圧と速度から推定
するようにしているので、電流検出用のセンサ等は不要
になり安価に実施することができる。
Description: TECHNICAL FIELD The present invention relates to a digital speed control method for a motor, and more particularly, to digital control of a motor using a microcomputer, for example, control of a reciprocating drive device of a reading scanner of a copying machine or the like. The present invention relates to a digital speed control method for a motor applicable to the present invention. (Prior Art) In a conventional digital speed control method of a motor using a micro computer, the control is performed by a PID (proportional-integral-derivative) compensator (for example, Japanese Patent Application Laid-Open No. 60-173).
No. 603). In this method, the proportional constant, integral constant,
Since it has a control parameter such as a differential constant, a deviation occurs from a target value. Further, there is a method of detecting the current, which is one of the state values of the electric motor, by using an analog digital conversion circuit (for example, Japanese Patent Application Laid-Open No. 61-98171). Increases hardware costs. Further, in the above conventional method, an overcurrent prevention circuit must be provided. This overcurrent protection circuit is shown in FIG. 5, where V CONT is the motor control voltage, 21
Is an analog switch, 22 is a transistor, V CC is a power supply, 2
3 is a current detection resistor, 24 is a comparator, 25 is a motor, I
a is the armature current, V max is the comparison voltage is a constant that determines the maximum value of the current Ia. Now, the voltage Vp at the point P becomes Vp = IaR. When V max > Vp, the value of the comparator 24 becomes high level, the analog switch 21 is turned on, and the control voltage V CONT of the motor flows to the base of the transistor 22. Conversely, V
When max <Vp, the value of the comparator 24 becomes low level, the analog switch 21 is turned off, and the signal of the control voltage V CONT of the motor does not flow to the base of the transistor 22, so that the transistor 22 is turned off. Current Ia
Will not flow. (Purpose) The present invention has been made to solve the above-mentioned drawbacks of the conventional method, and aims at speed control without deviation from a target speed of a motor and the input voltage and speed of the motor. To provide a digital speed control method of a motor for estimating a current value of the motor. (Structure) In order to achieve the above object, the invention according to claim 1 includes means for driving a motor, state command means for outputting a state command signal for commanding an operation state of the motor,
A means for detecting the speed of the motor, a microprocessor, a random access memory, and a read-only memory in which a processing procedure of the microprocessor is stored; and inputting the state command signal and a signal for detecting the speed of the motor. And a microcomputer for calculating a control signal to be applied to the drive means. The digital speed control method for a motor, comprising: a microcomputer for calculating a control signal to be applied to the drive means. From the result, a current value x 1 (k), which is one of the state quantities of the motor, is estimated, and a matrix recursion formula H (k + 1) = P1′H (k) P1-P1′H (k) Q1 (ω + Q
1′H (k) Q) −1 Q1′H (k) P1 + Wx (where H (0) = Wx, k = 0, 1, 2,..., P and Q are matrix constants, and P1 ′ is transpose of P1 Matrix, Q1 'is the transpose of Q1,
() -1 is an inverse matrix), and let H be the steady-state solution, and the optimal gain vector G = (K0, K1, K
2) Expression G = (ω + Q1′HQ1) −1 Q1′HP1 (where ω is a non-negative weighting coefficient) and the feedback gain K1 when multiplying the estimated current value x 1 (k) by the electric motor Output speed x
2 The feedback gain K2 when multiplying by (k)
The result obtained by integrating the difference between the output speed x 2 (k) of the electric motor and the target speed is multiplied to obtain a gain K0 for calculating the target input voltage u 1 (k), and the input given to the motor of the electric motor is obtained. calculated based on the voltage u (k) is the formula u (k) = u 1 ( k) -K1 · x 1 (k) -K2 · x 2 (k), based on the input obtained voltage u (k) It is characterized in that the actual speed of the electric motor is controlled so as not to deviate from a target value. According to a second aspect of the present invention, there is provided a digital speed control method for a motor based on the same premise, wherein a value of a detected speed of the motor and a calculation result of a control signal given to the driving means are used to calculate the speed of the motor. The current value x 1 (k), which is one of the state quantities, is estimated, and the matrix recursion formula H (k + 1) = P1′H (k) P1-P1′H (k) Q1 (ω + Q
1′H (k) Q) −1 Q1′H (k) P1 + Wx (where H (0) = Wx, k = 0, 1, 2,..., P and Q are matrix constants, and P1 ′ is transpose of P1 Matrix, Q1 'is the transpose of Q1,
() -1 is an inverse matrix), and let H be the steady-state solution, and the optimal gain vector G = (K0, K1, K
2) Expression G = (ω + Q1′HQ1) −1 Q1′HP1 (where ω is a non-negative weighting coefficient) and the feedback gain K1 when multiplying the estimated current value x 1 (k) by the electric motor Output speed x
2 The feedback gain K2 when multiplying by (k)
The result obtained by integrating the difference between the output speed x 2 (k) of the electric motor and the target speed is multiplied to obtain a gain K0 for calculating the target input voltage u 1 (k), and the input given to the motor of the electric motor is obtained. calculated based on the voltage u (k) is the formula u (k) = u 1 ( k) -K1 · x 1 (k) -K2 · x 2 (k), further, the u (k) is a digital value When the maximum value of the converted armature current is I MAXD , the armature resistance is R D , and the induced voltage constant is K ED , the equation u (k) = I MAXD · R D + K ED · x 2 (k) The actual speed of the electric motor is controlled based on the input voltage u (k) obtained so as not to deviate from a target value. Hereinafter, a specific description will be given based on an embodiment of the present invention. FIG. 1 is a block circuit diagram showing a speed control circuit of a motor to which a control method according to the present invention is applied. In the figure, 1 is a micro computer, 2 is a microprocessor, 3 is a read only memory (ROM), 4
Is a random access memory (RAM), 5 is a command generation circuit, 6 is a driving interface circuit, 7 is a driving circuit, 8 is a motor, 9 is an incremental encoder,
Reference numeral 10 denotes a detection interface circuit, and reference numeral 11 denotes a bus line. In such a configuration, the command generation circuit 5 includes the motor 8
And outputs a speed command signal and the like. The output of the command generation circuit 5 is connected to a bus line 11. The drive interface circuit 6 converts the digital value of the operation result of the microcomputer 1 into
The driving circuit 7 converts the driving signal into a pulse signal (control signal) for operating a power semiconductor, for example, a transistor. The drive circuit 7 operates based on the pulse signal and controls a voltage applied to the electric motor 8. As a result, the motor 8
Rotates at the desired speed. Detection interface circuit 10
Has a counter for counting the output pulses of the incremental encoder 9 and processes the output of the incremental encoder 9 to convert it into a digital value. The rotation speed of the electric motor 8 is detected by an incremental encoder 9 and an interface circuit 10, and the rotation speed of the micro computer 1 is determined.
It is taken in. Next, an explanation will be given of a method of calculating the optimum regulator which is calculated by the microcomputer 1 and has no deviation of the output from the target value. Generally, a DC servomotor is approximated by a second-order equation of state, as in the following equation. X (t) = A.X (t) + Bu (t) (1) Where, i (t); motor current, ω (t); motor speed, u
(T); motor input voltage The output equation is: Y (t) = C × X (t) (2) Further, the state equation of the discrete system is: X (k + 1) = PX (k) + Qu (k) (3) The output equation is Y (k) = Cx (k) (4) FIG. 2 is a block diagram of an optimum regulator having no deviation in output from a target value according to the present invention. In the figure, R
(K) is a speed command for rotating the motor 8 at the target speed, which is given by the command generation circuit 5 in FIG. Y (k) is the detection interface circuit 10 shown in FIG.
Is the speed converted into the digital value of the electric motor 8 detected by x 2 (k) is one of the state vectors of the motor 8
Then, the constant matrix C = (C 11 , C 12 ) C = (0,1) in equation (4)
Then, x 2 (k) = Y (k). x 1 (k) is also one of the state vectors of the electric motor 8 and indicates a current flowing through the electric motor 8. The present invention is calculated by the observer an estimate 1 (k) of the u motor input voltage (k) and Y (k) by x 1 (k) (will be described later this observer). X0 (k) is an integrated value of R (k) -Y (k). K0, K1, and K2 are optimal gain vectors determined by solving the Rikachi equation. The following equation of state is created from the above equations (3) and (4). However, S (k) = X ( k) -X (k-1) ...... (6) d (k) = u (k) -u (k-1) ...... (7) weight matrix W x is, As an evaluation when controlling the electric motor 8, The control input d (k) for minimizing J is obtained using the evaluation function of ω is a non-negative weight count. The matrix relict equation is: H (K + 1) = P1′H (k) P1−P1′H (k) Q1 (ω + Q1′H (k) Q) −1 Q1′H
(K) P1 + W x (10) H (0) = W x , k = 0,1,2, ... H (k) in the formula is a 3 × 3 symmetric matrix, and as the iterative calculation proceeds And converge to a stable solution. Assuming that the stationary solution is H, the optimal gain vector G = (K0, K1, K2) is as follows: G = (ω + Q1′HQ1) −1 Q1′HP1 (11) In the above equations (10) and (11), P1 'is the transposed matrix of P1, Q1' is the transposed matrix of Q1, and () -1 is the inverse matrix. As described above, the optimum gain vectors K0, K1, K2 can be obtained. More specifically, the optimal gain vector G is a third-order horizontal vector, G = [K0, K1, K2], and is obtained by executing the above equation (11). Here, ω is the above-mentioned non-negative weighting coefficient, and Q1 ′ is an arrangement matrix of Q1, as described in the above equation (5), And Q is a constant matrix described on page 10 of the specification. Thus, (Q) becomes (Q) = C × Q. C is (Q) = C × Q = q 2 from C = [C 11 C 12 ] = [01] described on page 10 of the specification. From the above, Q1 is Becomes The stationary solution H is calculated by the above equation (10) H (k + 1) = P1'H (k) P1-P1'H (k) Q1 (ω + Q
1′H (k) Q) −1 Q1′H (k) P1 + Wx In this equation, P1 'is the arrangement matrix of P1 in the above equation (5), and Q1 is given as described above. Also,
Wx is shown as the above equation (8). The stationary solution H is obtained by starting the initial value H (0) from k = 0, and
It converges by giving (0) = Wx. That is, when k = 0 is executed, H (1) = P1'H (0) P1-P1'H (0) Q1 (ω + Q1 '
H (0) Q) -1 Q1'H (0) P1 + Wx = P1'WxP1-P1WxQ1 (.omega. + Q1'WxQ) -1 Q1WxP1 + Wx. Next, k = 1 is executed. At this time, since H (1) has already been obtained, H (2) = P1′WxP1-P1′H (1) Q1 (ω + Q1′H
(1) Q) -1 Q1'H (1) P1 + Wx Next, k = 2 is executed. At this time, since H (2) has already been obtained, H (3) = P1′H (2) P1-P1′H (2) Q1 (ω + Q1 ′)
H (2) Q -1 Q1'H (2) P1 + Wx. By repeating this to increase k, H converges to a steady value. P1 is given by equation (5). And P is, as shown at the top of page 10 of the above specification, It is. As described above, C = [C 11 C 12 ] = [01], so P1 is Becomes Then, by substituting each of the ω, QI ′, H, Q1, and P1 into the equation (11), the gains K0, K1, and K2 are obtained. Next, an observer for obtaining an estimated value 1 (k) of x 1 (k) will be described. 0 (k + 1) = P (k) + Qu (k) (12) 0 (k + 1) = C 0 (k + 1) (13) (k + 1) = 0 (k + 1) + F [Y (k + 1) −
0 (k + 1)] (14) In the above equation, 0 (k + 1) is a provisional estimated value of X (k + 1), and is obtained from X (k), u (k) at time point k. F is the weight vector to be applied to the fluid back, and in the case of a finite set observer, Required by Thus, 1 (k) is obtained. 2 (k) is 2 (k)
= X 2 (k). Next, a method for preventing the electric current of the electric motor 8 from flowing more than a predetermined value will be described. When the armature inductance is small, the voltage equation of the DC motor is as follows: V = IR + K E ω (17) V; motor voltage I; motor current R; armature resistance K E ; induced voltage constant ω; The current is Becomes Here, V corresponds to u (k) in FIG. 2, and similarly, ω corresponds to Y (k) in FIG. 2 (u (k) and Y (k) are converted to digital values. is there). Therefore, the motor current I, the armature resistance R, and the induced voltage constant K E are also converted into digital values, and I D , R D , and K ED respectively.
And calculate ID . Now, assuming that the maximum value of the armature current is I MAXD (a value converted into a digital value), if I D > I MAXD , then u (k) = I MAXD · R D + K ED · Y (k) If u (k) is given to the driving means as (20), I D
= I MAXD . FIG. 3 is a flowchart showing the contents to be processed by the microcomputer 1 of FIG.
Is stored in Now, when the power is turned on, first, the state command of the command generation circuit 5 is fetched by the block A. The command generation circuit 5 generates a target speed, a rotation direction, and a stop signal of the electric motor 8. Next, the process proceeds to block B. In the block B, it is determined whether or not there is a stop signal of the electric motor 8 among the state command signals fetched in the block A. If there is a stop signal, the process proceeds to block J, where a signal for stopping the electric motor 8 is sent to the drive interface circuit 6 to terminate the program. If there is no stop signal, the process proceeds to block C. The processing of block C is a block for judging whether the rotation direction of the electric motor 8 is CW rotation (clockwise rotation) or CCW (counterclockwise rotation) in the state command signal taken in block A. In case of CW rotation, drive interface circuit 6
Then, a signal for CW rotation is sent to block D, and the process proceeds to block D. If not, the process proceeds to block K, sends a CCW rotation signal to the driving interface circuit 6, and then proceeds to block D. In the process of block D, the target speed R (k) is calculated based on the target speed signal of the electric motor 8 among the state command signals taken in block A. Note that R (k) is R in FIG.
(K). The processing moves to the next block E. In the processing of block E, the rotational speed of the electric motor 8 is read by the incremental encoder 9 and the detection interface circuit 10. Next, the process proceeds to block F. In the processing of block F, X0 (k) is first calculated.
K0 is the above-mentioned optimal gain vector. Next, the process proceeds to block G. The processing of the block G is the calculation of the observer, and 1 (k) is obtained from the above-described equations (12), (13), and (14). 1 (k) is an estimated value of x 1 (k), and estimates the current of the electric motor 8. Next, the process proceeds to block H. The processing of block H is the calculation of u (k),
Calculate the motor input voltage given to. Note that K1 and K2 are the aforementioned optimal gain vectors. Next, the process proceeds to block I. The processing of block I is the calculation of ID , which is obtained from equation (19). Next, the process proceeds to block L. The processing of the block L is based on the maximum value I of the current flowing through the motor 8.
Compared to I D of MAXD and block I if I D is large moves to process in block M, the routine to proceed to block N when I D is equal to or smaller than the maximum value. The processing of block M is the calculation of u (k), which is calculated from equation (20). Next, the process proceeds to block N. Block N is processed by block H or block N by u.
Based on (k), a pulse signal is output to the driving interface circuit 6 of FIG. Then, the process returns to block A. When the above digital speed control method is performed, the transient response of the electric motor 8 shown in FIG. 4 is obtained. That is, the rotation speed of the electric motor 8 having no deviation from the target speed can be obtained, and the overshoot can be reduced. According to the above-described embodiment, since the speed is controlled using the microcomputer, even if the electric motor or the load changes, the optimum control can be performed only by changing the program. Therefore, since it is not necessary to make the control circuit with hardware, development efficiency and commonality can be achieved. Further, since it is not necessary to adjust and change the optimum feedback gain using the evaluation function, the development period can be shortened. Furthermore, since the control is performed with a small overshoot and no speed deviation from a target value, a scanner having a short approach distance and having no unity error can be provided when used for driving a reading scanner of a copying machine. Furthermore, since a current detection circuit and an overcurrent prevention circuit are not required, the circuit is simple and the cost is reduced. (Effects) As described above, according to the present invention, even if there is a static disturbance such as a frictional force or a frictional torque, it is possible to have a control algorithm in which the output does not deviate from the target speed, Since the current value is estimated from the input voltage and the speed of the motor, a current detection sensor or the like is not required, and the operation can be performed at low cost.

【図面の簡単な説明】 第1図は本発明による制御方法を適用する電動機の速度
制御回路を示すブロツク図、第2図は本発明の目標値に
対して出力の偏差がない最適レギユレータを示すブロツ
ク図、第3図は第1図のマイクロコンピユータが処理す
る内容を示すフローチヤート、第4図は本発明によるデ
イジタル速度制御方法における過渡応答を示す特性図、
第5図は過電流防止回路図である。 1……マイクロコンピユータ、2……マイクロプロセツ
サ、3……リードオンリーメモリ(ROM)、4……ラン
ダムアクセスメモリ(RAM)、5……指令発生回路、7
……駆動回路、8……電動機。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a speed control circuit of a motor to which a control method according to the present invention is applied, and FIG. 2 shows an optimum regulator having no output deviation from a target value according to the present invention. FIG. 3 is a flow chart showing contents processed by the microcomputer of FIG. 1, FIG. 4 is a characteristic diagram showing a transient response in the digital speed control method according to the present invention,
FIG. 5 is an overcurrent prevention circuit diagram. 1 ... microcomputer, 2 ... microprocessor, 3 ... read only memory (ROM), 4 ... random access memory (RAM), 5 ... command generation circuit, 7
…… Drive circuit, 8 …… Electric motor.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−98171(JP,A) 特開 昭61−42286(JP,A) 特開 昭61−10987(JP,A) 特開 昭60−173603(JP,A) 高橋安人著「ディジタル制御」(岩波 書店,1985年3月15日発行)P.116 (58)調査した分野(Int.Cl.6,DB名) H02P 5/00──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-61-98171 (JP, A) JP-A-61-42286 (JP, A) JP-A-61-10987 (JP, A) JP-A-61-9887 173603 (JP, A) Yasuto Takahashi, Digital Control (Iwanami Shoten, March 15, 1985) 116 (58) Field surveyed (Int. Cl. 6 , DB name) H02P 5/00

Claims (1)

(57)【特許請求の範囲】 1.電動機を駆動する手段と、該電動機の動作状態を指
令する状態指令信号を出力する状態指令手段と、前記電
動機の速度を検出する手段と、マイクロプロセッサ、ラ
ンダムアクセスメモリおよび前記マイクロプロセッサの
処理手順が記憶されているリードオンリーメモリを備
え、前記状態指令信号と前記電動機の速度を検出する信
号を入力して前記駆動手段に与える制御信号を演算する
マイクロコンピュータとからなる電動機のディジタル速
度装置を制御する電動機のディジタル速度制御方法にお
いて、 前記電動機の速度を検出した値と前記駆動手段に与える
制御信号の演算結果から、前記電動機の状態量の1つで
ある電流値x1(k)を推定し、 行列リカチ式 H(k+1)=P1′H(k)P1-P1′H(k)Q1(ω+Q
1′H(k)Q)-1Q1′H(k)P1+Wx (但しH(0)=Wx、k=0,1,2,……、P及びQは行列
定数、 P1′はP1の転置行列、Q1′はQ1の転置行列、( )-1
逆行列) の定常解をHとし、最適ゲインベクトルG=(K0,K1,K
2)を表す式 G=(ω+Q1′HQ1)-1Q1′HP1 (但しωは負でない重み係数) から前記推定された電流値x1(k)を乗算するときのフ
ィードバックゲインK1と、前記電動機の出力速度x
2(k)を乗算するときのフィードバックゲインK2と、
前記電動機の出力速度x2(k)と目標速度との差を積分
した結果に乗算して目標入力電圧u1(k)を算出するた
めのゲインK0とを求め、 前記電動機のモータに与える入力電圧u(k)を式 u(k)=u1(k)−K1・x1(k)−K2・x2(k) に基づいて求め、 求められた入力電圧u(k)に基づいて前記電動機の実
速度を目標値に対して偏差のないように制御することを
特徴とする電動機のディジタル速度制御方法。 2.電動機を駆動する手段と、該電動機の動作状態を指
令する状態指令信号を出力する状態指令手段と、前記電
動機の速度を検出する手段と、マイクロプロセッサ、ラ
ンダムアクセスメモリおよび前記マイクロプロセッサの
処理手順が記憶されているリードオンリーメモリを備
え、前記状態指令信号と前記電動機の速度を検出する信
号を入力して前記駆動手段に与える制御信号を演算する
マイクロコンピュータとからなる電動機のディジタル速
度装置を制御する電動機のディジタル速度制御方法にお
いて、 前記電動機の速度を検出した値と前記駆動手段に与える
制御信号の演算結果から、前記電動機の状態量の1つで
ある電流値x1(k)を推定し、 行列リカチ式 H(k+1)=P1′H(k)P1-P1′H(k)Q1(ω+Q
1′H(k)Q)-1Q1′H(k)P1+Wx (但しH(0)=Wx、k=0,1,2,……、P及びQは行列
定数、 P1′はP1の転置行列、Q1′はQ1の転置行列、( )-1
逆行列) の定常解をHとし、最適ゲインベクトルG=(K0,K1,K
2)を表す式 G=(ω+Q1′HQ1)-1Q1′HP1 (但しωは負でない重み係数) から前記推定された電流値x1(k)を乗算するときのフ
ィードバックゲインK1と、前記電動機の出力速度x
2(k)を乗算するときのフィードバックゲインK2と、
前記電動機の出力速度x2(k)と目標速度との差を積分
した結果に乗算して目標入力電圧u1(k)を算出するた
めのゲインK0とを求め、 前記電動機のモータに与える入力電圧u(k)を式 u(k)=u1(k)−K1・x1(k)−K2・x2(k) に基づいて求め、 さらに、前記u(k)が、ディジタル値に変換した電機
子電流の最大値をIMAXD、電機子抵抗をRD、誘起電圧定
数をKEDとしたときに、式 u(k)=IMAXD・RD+KED・x2(k) となるように求められた入力電圧u(k)に基づいて前
記電動機の実速度を目標値に対して偏差のないように制
御することを特徴とする電動機のディジタル速度制御方
法。
(57) [Claims] Means for driving the motor, state command means for outputting a state command signal for commanding the operation state of the motor, means for detecting the speed of the motor, a microprocessor, a random access memory, and a processing procedure of the microprocessor. The microcomputer controls a digital speed device of the electric motor, comprising a read-only memory stored therein, and a microcomputer for inputting the state command signal and a signal for detecting the speed of the electric motor and calculating a control signal to be supplied to the driving means. In the digital speed control method for a motor, a current value x 1 (k), which is one of the state quantities of the motor, is estimated from a value obtained by detecting a speed of the motor and a calculation result of a control signal given to the driving unit; Matrix rekati formula H (k + 1) = P1'H (k) P1-P1'H (k) Q1 (ω + Q
1′H (k) Q) −1 Q1′H (k) P1 + Wx (where H (0) = Wx, k = 0, 1, 2,..., P and Q are matrix constants, and P1 ′ is transpose of P1 Matrix, Q1 'is the transposed matrix of Q1, and () -1 is the inverse matrix). Let H be the stationary solution, and the optimal gain vector G = (K0, K1, K
2) The feedback gain K1 when multiplying the estimated current value x 1 (k) from the equation G = (ω + Q1′HQ1) −1 Q1′HP1 (where ω is a non-negative weight coefficient), and the electric motor Output speed x
2 The feedback gain K2 when multiplying by (k)
The result obtained by integrating the difference between the output speed x 2 (k) of the motor and the target speed is multiplied to obtain a gain K0 for calculating the target input voltage u 1 (k), and the input given to the motor of the motor is obtained. calculated based on the voltage u (k) is the formula u (k) = u 1 ( k) -K1 · x 1 (k) -K2 · x 2 (k), based on the input obtained voltage u (k) A digital speed control method for an electric motor, wherein the actual speed of the electric motor is controlled so as not to deviate from a target value. 2. Means for driving the motor, state command means for outputting a state command signal for commanding the operation state of the motor, means for detecting the speed of the motor, a microprocessor, a random access memory, and a processing procedure of the microprocessor. The microcomputer controls a digital speed device of the electric motor, comprising a read-only memory stored therein, and a microcomputer for inputting the state command signal and a signal for detecting the speed of the electric motor and calculating a control signal to be supplied to the driving means. In the digital speed control method for a motor, a current value x 1 (k), which is one of the state quantities of the motor, is estimated from a value obtained by detecting a speed of the motor and a calculation result of a control signal given to the driving unit; Matrix rekati formula H (k + 1) = P1'H (k) P1-P1'H (k) Q1 (ω + Q
1′H (k) Q) −1 Q1′H (k) P1 + Wx (where H (0) = Wx, k = 0, 1, 2,..., P and Q are matrix constants, and P1 ′ is transpose of P1 Matrix, Q1 'is the transposed matrix of Q1, and () -1 is the inverse matrix). Let H be the stationary solution, and the optimal gain vector G = (K0, K1, K
2) Expression G = (ω + Q1′HQ1) −1 Q1′HP1 (where ω is a non-negative weighting coefficient) and the feedback gain K1 when multiplying the estimated current value x 1 (k) by the electric motor Output speed x
2 The feedback gain K2 when multiplying by (k)
The result obtained by integrating the difference between the output speed x 2 (k) of the motor and the target speed is multiplied to obtain a gain K0 for calculating the target input voltage u 1 (k), and the input given to the motor of the motor is obtained. calculated based on the voltage u (k) is the formula u (k) = u 1 ( k) -K1 · x 1 (k) -K2 · x 2 (k), further, the u (k) is a digital value When the maximum value of the converted armature current is I MAXD , the armature resistance is R D , and the induced voltage constant is K ED , the equation u (k) = I MAXD · R D + K ED · x 2 (k) A digital speed control method for an electric motor, wherein the actual speed of the electric motor is controlled so as not to deviate from a target value based on the input voltage u (k) obtained as follows.
JP62052002A 1987-03-09 1987-03-09 Digital speed control method for electric motor Expired - Lifetime JP2849085B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62052002A JP2849085B2 (en) 1987-03-09 1987-03-09 Digital speed control method for electric motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62052002A JP2849085B2 (en) 1987-03-09 1987-03-09 Digital speed control method for electric motor

Publications (2)

Publication Number Publication Date
JPS63220786A JPS63220786A (en) 1988-09-14
JP2849085B2 true JP2849085B2 (en) 1999-01-20

Family

ID=12902620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62052002A Expired - Lifetime JP2849085B2 (en) 1987-03-09 1987-03-09 Digital speed control method for electric motor

Country Status (1)

Country Link
JP (1) JP2849085B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2846504B2 (en) * 1991-05-30 1999-01-13 三菱電機株式会社 Motor control device
KR19980015274A (en) * 1996-08-20 1998-05-25 김광호 Motor abnormal condition detection device and abnormal condition detection method
KR100431881B1 (en) * 2002-01-16 2004-05-24 엘지에프에이(주) Digital Shaft Speed Controller and Driving Method therefor
JP3807335B2 (en) * 2002-03-28 2006-08-09 ブラザー工業株式会社 Motor control method and motor control apparatus
US9623988B2 (en) 2010-03-26 2017-04-18 Philip Morris Usa Inc. High speed poucher

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60173603A (en) * 1984-02-20 1985-09-07 Hitachi Ltd Controller of servomotor
JPS6110987A (en) * 1984-06-27 1986-01-18 Fuji Electric Co Ltd Electric tuning operation controller of plural motors
JPS6142286A (en) * 1984-08-02 1986-02-28 Hitachi Ltd Speed controlling method of motor
JPS6198171A (en) * 1984-10-17 1986-05-16 Hitachi Ltd Digital controller of motor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高橋安人著「ディジタル制御」(岩波書店,1985年3月15日発行)P.116

Also Published As

Publication number Publication date
JPS63220786A (en) 1988-09-14

Similar Documents

Publication Publication Date Title
CN111585475A (en) Brushless direct current motor servo system disturbance suppression and high-precision tracking control method
JP2514669B2 (en) Servo motor control method
JP2849085B2 (en) Digital speed control method for electric motor
JPH09282020A (en) Servo motor driving device
EP0751613B1 (en) Current controlling method for servo motor
JP2012249473A (en) Control device, actuator system and control method
CN112701976B (en) Motor speed loop PI control method, system, device and storage medium
JP3235112B2 (en) Motor control device
JPH05252779A (en) Robot servo controller
JP3129173B2 (en) AC motor control device
JP2835645B2 (en) Power fluctuation suppression control method and device
JPH06131050A (en) Method for detecting collision of movable part driven by servo motor
US20180239344A1 (en) Motor controller and method for controlling motor
JP3197898B2 (en) Servo motor control method
JP3652084B2 (en) Servo motor drive method
JP3171860B2 (en) Servo control system
EP0909016A2 (en) Servo-motor driving method
Robyns et al. Stability and robustness study of a fully digital field oriented control system for induction actuators
JPH0887331A (en) Position feedback correcting method
JPH07194199A (en) Magnetic flux controller for vector control system of induction motor
CN114244195A (en) PID-based brushless direct current motor control method, system, device and storage medium
JP3337058B2 (en) Position control device
JP3304669B2 (en) Control compensator
Ishikawa et al. Reliable control using equivalent transfer function for position servo system in current loop failure
CN117458934A (en) Synchronous reluctance motor direct torque control method, device and medium based on novel flux linkage estimation

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term