JPH04299087A - Digital servo controller - Google Patents

Digital servo controller

Info

Publication number
JPH04299087A
JPH04299087A JP3089693A JP8969391A JPH04299087A JP H04299087 A JPH04299087 A JP H04299087A JP 3089693 A JP3089693 A JP 3089693A JP 8969391 A JP8969391 A JP 8969391A JP H04299087 A JPH04299087 A JP H04299087A
Authority
JP
Japan
Prior art keywords
current
speed
target
integral
proportional
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
JP3089693A
Other languages
Japanese (ja)
Inventor
Minoru Enomoto
稔 榎本
Toshio Takano
寿男 高野
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.)
Toyoda Koki KK
Original Assignee
Toyoda Koki KK
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 Toyoda Koki KK filed Critical Toyoda Koki KK
Priority to JP3089693A priority Critical patent/JPH04299087A/en
Publication of JPH04299087A publication Critical patent/JPH04299087A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P70/00Climate change mitigation technologies in the production process for final industrial or consumer products
    • Y02P70/10Greenhouse gas [GHG] capture, material saving, heat recovery or other energy efficient measures, e.g. motor control, characterised by manufacturing processes, e.g. for rolling metal or metal working

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

PURPOSE:To improve follow-up performance of digital servo controller regardless of the operating condition. CONSTITUTION:Proportional gain and integrating time of proportional/ integrating operation are set in speed feedback loop according to the servo lock state, accelerating/decelerating state or constant speed state of a commanded control shaft. Thus set proportional gain and integrating time are applied to the speed difference between a target speed and a current speed and the time integration thereof, thus operating a target current for current feedback loop through proportional/integrating operation. Consequently, vibration is prevented under servo lock state and overshoot is prevented at the time of transfer to constant speed.

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】本発明は、サーボモータのサーボ
ロック、加減速、定速度等の運転状態に応じた最適な制
御特性を得るようにしたディジタルサーボ制御装置に関
する。 【0002】 【従来の技術】近年、アナログ制御系の欠点を解消する
ために、ディジタルサーボ制御装置が使用されるように
なった。このディジタルサーボ制御装置は、目標値及び
フィードバック値をディジタル値で与えると共に、両者
の偏差演算をディジタルコンピュータで行い、その偏差
に応じた指令値をディデタル値で与え、その値に応じて
制御量をディジタル制御するものである。このようなサ
ーボ制御装置は、一般に、位置、速度及び電流のフィー
ドバックループを備えている。そして、速度フィードバ
ックループでは、目標電流を演算するために速度偏差に
関して比例・積分演算により電流フィードバックループ
に対する目標電流のq軸成分を得るようにしている。 【0003】 【発明が解決しようとする課題】上記の速度フィードバ
ックループにおける比例・積分演算においては、比例利
得及び積分時間をどのように決定するかが制御性能の上
で重要な課題となっている。例えば、速度フィードバッ
クループの伝達関数から最適な比例利得及び積分時間が
求められている。しかし、これらの値はサーボモータが
所定の負荷状態で定速度で回転している定常状態を想定
して決定されている。即ち、定常速度で制御特性が最適
となるように比例利得を大きく設定しているので、サー
ボモータに係る負荷が低下したサーボロック状態にある
と、バックラッシュ振動が生じた。又、定常速度で制御
特性が最適となるように積分時間を小さく設定している
ので、加速状態から定速状態へ移行する時や減速状態か
ら停止状態に移行する時に、追従特性においてオーバー
シュート、アンダーシュートを生じる等の問題があった
。 【0004】本発明は、上記の課題を解決するために成
されたものであり、その目的とするところは、サーボモ
ータの制御性能を向上させることである。 【0005】 【課題を解決するための手段】上記課題を解決するため
の発明の構成は、図12に示すように、位置フィードバ
ックループ、速度フィードバックループ、電流フィード
バックループを有し、指令値及び帰還値をディジタル量
で与えて、制御軸をサーボ制御するディジタルサーボ制
御装置において、制御軸が時々刻々とるべき目標位置を
出力する目標位置出力手段と、目標位置により指令され
た制御軸のサーボロック状態、加減速状態又は定速状態
に応じて、速度フィードバックループにおける比例・積
分演算の比例利得と積分時間を設定する比例積分係数設
定手段と、制御軸の現在位置を検出する現在位置検出手
段と、目標位置と現在位置との位置偏差に応じて目標速
度を演算する目標速度演算手段と、制御軸の現在速度を
検出する現在速度検出手段と、目標速度と現在速度との
速度偏差及びその速度偏差の時間に関する積分に対して
、設定された比例利得及び積分時間を作用させて、比例
・積分演算により目標電流を演算する目標電流演算手段
とを設けたことである。 【0006】 【作用】目標位置出力手段からは制御軸が時々刻々とる
べき目標位置が出力され、現在位置検出手段により制御
軸の時々刻々の現在位置が検出される。次に、目標速度
演算手段によりこの目標位置と現在位置検出手段により
検出さた制御軸の現在位置とから制御軸の位置偏差が演
算され、その位置偏差に応じて制御軸の目標速度が演算
される。 【0007】一方、比例積分係数設定手段により、目標
位置出力手段の時々刻々出力する目標位置により指令さ
れた制御軸のサーボロック状態、加減速状態、定速状態
に応じて、速度フィードバックループにおける比例・積
分演算の比例利得と積分時間が決定される。次に、目標
電流演算手段により、目標速度と現在速度検出手段によ
り検出された現在速度との速度偏差及びその速度偏差の
時間に関する積分に対して、設定された比例利得及び積
分時間が作用され、比例・積分演算により目標電流が演
算される。この目標電流に現実の負荷電流が追随するよ
うに電流フィードバックループにおいて制御される。 【0008】 【実施例】以下、本発明を具体的な実施例に基づいて説
明する。図1は本発明に係るディジタルサーボ制御装置
の構成を示したブロックダイヤグラムである。ディジタ
ルサーボ制御装置10は主として、CPU11、ROM
12、RAM13、ディジタルシグナルプロセッサ(以
下「DSP」という)14、共通RAM17,ROM2
0、A/D変換器15a,15b及び現在値カウンタ1
6から構成されている。CPU11にはインタフェース
19を介してキーボード21及びCRT表示装置22が
接続されている。 【0009】ROM12にはCPU11によって実行さ
れる処理プログラムが記憶されている。又、RAM13
にはサーボモータ31の動作指令状態(サーボロック状
態、加減速状態、定速状態)を記憶するフラグ領域及び
サーボモータ31の位置決め、回転指令等を与える移動
指令データの記憶された指令データ領域が設けられてい
る。又、共通RAM17には、CPU11の時々刻々出
力する目標位置が設定され、CPU11によりサーボモ
ータ31の動作状態に応じて決定される速度フィードバ
ックループにおける比例利得及び積分時間が設定される
。 【0010】DSP14の出力はインバータ25に入力
され、そのインバータ25はDSP14の出力信号に応
じてサーボモータ31を駆動する。サーボモータ31に
は同期モータが用いられ、インバータ25のPWM電圧
制御によりサーボモータ31の負荷電流が制御され、そ
の結果、出力トルクが制御される。サーボモータ31の
u相及びv相の負荷電流はCT32a,32bにより検
出され、増幅器18a,18bにより増幅される。その
増幅器18a,18bの出力は、A/D変換器15a,
15bに入力され、所定の周期でサンプリングされ、デ
ィジタル値に変換される。そのサンプリングされた値は
、瞬時負荷電流のフィードバック値、即ち、現在電流と
して、DSP14に入力する。 【0011】又、サーボモータ31にはパルスエンコー
ダ33が接続され、その現在位置が検出される。パルス
エンコーダ33の出力は波形成形・方向判別回路34を
介して現在値カウンタ16に接続されている。波形成形
・方向判別回路34を介して現在値カウンタ16に入力
されるパルスエンコーダ33からの出力信号は現在値カ
ウンタ16の値を加減させる。DSP14により、現在
値カウンタ16の値は位置フィードバックループのフィ
ードバック値、即ち、現在位置として読み込まれる。そ
して、DSP14により、その現在位置はCPU11か
ら出力された目標位置と比較され位置偏差が算出される
。そして、DSP14により、その位置偏差に基づいて
目標速度が算出される。 【0012】又、DSP14に入力された現在位置は時
間に関して微分され、速度フィードバックループのフィ
ードバック値、即ち、現在速度が算出される。DSP1
4により、位置偏差に応じて決定される目標速度とその
現在速度とが比較され速度偏差が算出される。そして、
その速度偏差及び速度偏差の時間積分(累積)を用いた
比例・積分演算により、電流フィードバックループにお
ける制御の目標電流のq軸成分(有効電流)が算出され
る。又、目標電流のd軸成分(無効電流)は0とされる
。 【0013】DSP14により、この目標電流のq軸成
分及びd軸成分は、増幅器18a,18b及びA/D変
換器15a,15bを介してCT32a,32bにて検
出された電流フィードバックループのフィードバック値
、即ち、現在電流のq軸成分及びd軸成分と比較され、
それぞの成分の電流偏差が演算される。そして、この電
流偏差及び電流偏差の時間積分(累積)を用いた比例・
積分演算により、その時の指令電流のq軸成分及びd軸
成分が演算される。 【0014】指令電流のq軸成分及びd軸成分は、各相
の指令電流にdq逆変換される。その各相の指令電流は
高周波数の三角波と比較され、インバータ25の各相の
トランジスタのオンオフを制御する電圧制御PWM信号
が生成される。その電圧制御PWM信号はインバータ2
5に出力され、そのインバータ25の各相のトランジス
タがそれぞれ駆動される。このインバータ25のスイッ
チングにより負荷電流は目標電流に制御されることにな
る。 【0015】尚、サーボモータ31の位置決めは、CP
U11により現在値カンウタ16の出力値が位置の目標
値に等しくなったと判定された時に完了される。又、A
/D変換器15a,15bによってサンプリングされた
u相、v相の負荷電流は、DSP14によりdq変換さ
れる。 【0016】本実施例のディジタルサーボ制御装置は、
上述したように、位置、速度及び電流の3つのフィード
バックループにより構成されている。より下位のフィー
ドバックループ程、より高い応答性が要求され、例えば
、最下位の電流フィードバックループは 100μs 
、速度フィードバックループはその数倍、位置フィード
バックループは更にその数倍の時間間隔で同期をとって
データのサンプリングが実行され、それぞれのフィード
バックループの処理が実行される。 【0017】次に、本実施例装置の作動について説明す
る。図2はROM12に記憶されたCPU11によって
実行されるプログラムを示したフローチャートである。 このプログラムが実行される前の状態では、サーボモー
タ31は停止状態にある。 【0018】ステップ200において、RAM13から
1ブロックの移動指令データが読み込まれ、ステップ2
02において、RAM13のフラグ領域における加減速
フラグがオンとされる。次に、ステップ204において
サーボモータ31を停止状態から指令された定速度まで
に加速するための加速領域における補間目標位置が演算
され、その補間目標位置は時々刻々共通RAM17に出
力されそこに記憶される。 【0019】次に、加速が終了すると、ステップ206
において加減速フラグがオフとされ、次のステップ20
8においてRAM13のフラグ領域における定速フラグ
がオンとされる。次に、ステップ210において定速領
域における補間目標位置が演算され、その補間目標位置
は時々刻々共通RAM17に出力されそこに記憶される
。 【0020】次に、ステップ212において1ブロック
の移動指令データに指令目標位置で一旦停止する指令が
含まれているか否かが判定される。停止指令が付与され
ていない場合にはステップ214において、次のブロッ
クの移動指令データが入力され、ステップ210で定速
領域における補間目標位置が演算される。ステップ21
0、214の繰り返しにより、定速で目標位置を順次更
新させ、補間目標位置を順次出力させることができる。 【0021】ステップ212において移動指令データに
一旦停止指令が含まれていると判定された場合には、ス
テップ216において加減速フラグがオンされ、次のス
テップ218において定速フラグがオフされる。そして
、ステップ220において減速領域の補間目標位置が順
次演算され、その補間目標位置は時々刻々共通RAM1
7に出力され、そこに記憶される。 【0022】次に、減速補間が完了した後は、ステップ
222においてサーボロック状態であることを示すため
にRAM13のフラグ領域におけるサーボロックフラグ
がオンとされる。そして、ステップ224において同一
の目標位置が時々刻々共通RAM17に出力され、その
目標位置はそこに記憶される。その結果、サーボモータ
31はサーボロック状態、即ち、通電状態で同一位置に
保持される。 【0023】移動指令データにより指令された時間だけ
の一旦停止が完了した後は、ステップ200に戻り、次
のブロックの移動指令データが読み込まれ、上述のステ
ップと同様にサーボモータの位置制御が行われる。この
ようにして、サーボモータの位置が指令される。 【0024】一方、CPU11は図2に示すプログラム
の実行に対する微小時間間隔の割り込みによりROM1
2に記憶された図3に示すプログラムを実行する。ステ
ップ300においてRAM13におけるサーボロックフ
ラグがオンか否かが判定される。サーボロックフラグが
オンであれば、ステップ302に移行して共通RAM1
7に比較的小さい値のKpLが比例利得Kp として設
定される。又、ステップ300におけるサーボロックフ
ラグがオフであればステップ304に移行して共通RA
M17に比較的大きい値のKpHが比例利得Kp とし
て設定される。これにより、サーボロック状態では比例
利得が定速状態に比べて減少されるので、バックラッシ
ュ振動が防止されることになる。 【0025】次に、ステップ306においてRAM13
に設定されている加減速フラグがオン状態か否かが判定
される。加減速フラグがオン状態であればステップ30
8に移行して共通RAM17に比較的大きい値のTiH
が積分時間Ti として設定される。又、ステップ30
6において加減速フラグがオフ状態であると判定された
場合には、ステップ310において共通RAM17に比
較的小さい値のTiLが積分時間Ti として設定され
る。これにより、加減速状態では定速状態に比べて積分
時間が長く設定されるのでダンピング係数が大きくなり
、加速状態から定速状態へ移行する場合や減速状態から
停止状態へ移行する場合の追従特性にオーバーシュート
やアンダーシュートが発生するのが防止される。 【0026】このようにして、その時のサーボモータ3
1の指令制御状態、即ち、サーボロック状態、加減速状
態、定速状態に応じて、共通RAM17にそれぞれの状
態に最適な比例利得Kp 及び積分時間Ti が設定さ
れる。これらの比例利得Kp 及び積分時間Ti は後
述するDSP14によりアクセスされ速度フィードバッ
クループにおいて目標電流の演算に使用される。 【0027】次に、DSP14はROM20に記憶され
た図4及び図5に示すプログラムを実行して、サーボモ
ータ31の位置、速度、トルク制御を行う。図4及び図
5のプログラムは、DSP14によって、所定の最小周
期毎に繰り返し実行される。ステップ100では、現実
行サイクルが位置偏差演算タイミングか否かが判定され
、位置偏差演算タンミングであればステップ102に移
行し、共通RAMからCPU11によりその時刻で指令
された目標位置θ(i)(補間目標位置) が入力され
記憶される。又、過去一定時間内の目標位置は共通RA
M17に保存されている。 【0028】次に、ステップ104において現在値カウ
ンタ16に保持された現在位置(電気角)θa(i)が
読み込まれる。次に、ステップ106において、現時刻
(i) の目標位置θ(i) と現在位置θa(i)と
の位置偏差Δθ(i) が演算される。次に、ステップ
108において目標速度V(i) が位置偏差ΔP(i
) に比例した値、即ち、次式により演算される。 【数1】V(i) =k・ΔP(i) この位置のフィードバック制御は、図7の信号S1で示
したタイミングで実行される。 【0029】次に、ステップ110において、現実行サ
イクルが速度偏差演算タイミングか否かが判定される。 速度偏差演算タンミングであればステップ112に移行
し、現在値カウンタ16に保持された現在位置θa(n
)が読み込まれる。次にステップ114に移行して、現
時刻(n) における現在速度Va(n)が演算される
。現在速度Va(n)は、前回の速度偏差演算タイミン
グ時に読み込まれた現在位置θa(n−1)と、今回入
力された現在位置θa(n)と、速度制御周期Dとに基
づいて次式によって演算される。 【数2】Va(n)=(θa(n)− θa(n−1)
) /D【0030】次に、ステップ116において、
ステップ108で演算された目標速度V(i)と現在速
度Va(n)との偏差、即ち、速度偏差ΔV(n) が
演算される。又、速度偏差ΔV(n) の累積値(積分
)SがS=S+ΔV(n) により演算される。次に、
ステップ118においてステップ116で演算された速
度偏差ΔV(n)及び速度偏差の積分Sと、共通RAM
17に設定されているその時の制御状態に対応した比例
利得Kp 及び積分時間Ti とを用いて、目標電流の
q軸成分(有効電流でサーボモータのトクルに比例する
)Iq(n)が次式により演算される。 尚、目標電流のd軸成分(無効電流)は0である。この
速度フィードバック制御は、図7の信号S2で示したタ
イミングで実行される。 【数3】Iq(n)=Kp(ΔV(i)+S/Ti )
【0031】次に、ステップ120において、現実行サ
イクルが電流偏差演算タイミングか否かが判定される。 電流偏差演算タイミングであれば、ステップ122に移
行する。ステップ122以下は電流フィードバック制御
であり、この制御は、図7の信号S3に示したタイミン
グで実行される。ステップ122では、電流制御期間の
先頭から測定した電流検出時刻Δt1 、電流制御期間
の先頭から測定した負荷電流の制御時刻Δt2 と現在
速度Va(n)とを用いて、その時刻に対応した電気角
である電流検出時電気角θ1 と制御時電気角θ2 が
補間演算される。 【0032】 【数4】θ1 =θa(n)+Va(n)・Δt1 【
数5】θ2 =θa(n)+Va(n)・Δt2 【0
033】この時刻Δt1 ,Δt2 と電気角θ1 ,
 θ2 とは図7に示したように対応している。次にス
テップ124に移行して、u相、v相の負荷電流の現在
値、即ち、現在電流Iu,Iv がA/D変換器15a
,15bから読み込まれる。次に、ステップ126にお
いて、その現在電流Iu,Iv はdq変換されて、d
軸成分Iadとq軸成分Iaqとが次式によって演算さ
れる。 【数6】Iad=21/2 {lusin(θ1+2π
/3)−Ivsinθ1}【数7】Iaq=21/2 
{Iucos(θ1+2π/3)−Ivcosθ1}【
0034】尚、dq座標系は、良く知られたように、d
軸は励磁磁場と同相にとられ、q軸は励磁磁場と電気角
で90°の位相差にとられた座標系である。d軸成分は
無効成分をq軸成分は有効成分を表す。次に、ステップ
128において、ステップ118で求められた目標電流
のd軸成分Id(n)とq軸成分Iq(n)  とステ
ップ126で求められた現在電流のd軸成分Iadとq
軸成分Iaqとの偏差、即ち、d軸成分偏差、q軸成分
偏差が求められる。そして、そのd軸成分偏差、q軸成
分偏差に基づいて、比例・積分演算により指令電流のd
軸成分Id* 、q軸成分Iq*が演算される。 【0035】次に、ステップ130において、次式によ
り、指令電流のd軸成分、q軸成分Id*,Iq* を
逆dq変換して、各相電流指令値Iu*,Iv*,Iw
* が演算される。 【数8】Iu* =(2/3)1/2 ・{Id* c
osθ2 −Iq*sinθ2}【数9】 Iv* =(2/3)1/2 ・{Id* cos(θ
2 +2π/3) −Iq*sin(θ2+2π/3)
} 尚、Iw*は、Iw*=−(Iu*+Iv*) によっ
て演算される。 【0036】次に、ステップ132,134において、
各相電流指令値Iu* ,Iv* ,Iw* と高周波
数の三角波とのレベル関係を利用して、即ち、平均電圧
法を用いて、1つの制御周期内における一連のPWM信
号が生成される。一連のPWM信号は、図8に示したよ
うに、各相の電圧印加状態を示した電圧ベクトルで表す
ことができる。回転磁界ベクトルは、この電圧ベクトル
の積分として表される。従って、図9に示したように、
各電圧ベクトル×継続時間の和によって回転磁界ベクト
ルの先端の軌跡が描かれる。回転磁界を角度2π/n毎
に円周上の点に最短経路で位置決めするためには、1制
御周期毎に、図8に示した隣接する2つの電圧ベクトル
と零ベクトルV0 の3つのベクトルでインバータ25
が制御される必要がある。この3つの電圧ベクトルの組
合せと回転磁界の位相とは一意的に対応する。回転磁界
の位相と電圧ベクトルの組合せの対応表(零ベクトルV
0 は必ず組合せの1要素となるので、2つの電圧ベク
トルの組だけで良い)が、図10に示したように、予め
ROM12に記憶されている。 【0037】ステップ132では、制御時電気角θ2 
(回転磁界の位相) から、ROM12における上記の
テーブルを検索してその時の電圧ベクトルの組合せを求
める。ステップ134では、各電圧ベクトルの継続時間
t1,t2,t3 が演算される。例えば、その電圧ベ
クトルの組合せが、図11に示したように、Vn =(
1,1,0), V1 =(1,0,0), V2 =
(0,0,0)となったとして、各電圧ベクトルの継続
時間t1,t2,t3 が演算される。その演算方法は
、本実施例では、良く知られた平均電圧法が用いられて
いる。 【0038】即ち、各相電流指令値Iu* ,Iv* 
,Iw* のうち、絶対値の大きい2つを大きい順にI
1, I2とするとき、継続時間t1,t2,t3 は
次式で求められる。 【数10】t1 =|2I2*+I1*|・T/Vdc
【数11】t2 =|I1*−I2*|・T/Vdc【
数12】t3 =T−(t1+t2 )但し、Tは周期
、Vdcは印加直流電圧である。 【0039】次に、ステップ136において、1組の電
圧ベクトルによるPWM信号が、継続時間t1,t2,
t3 だけ出力される。例えば、図11に示したように
、V6 =(1,1,0),V1 =(1,0,0),
V0 =(0,0,0)の順に、継続時間t1,t2,
t3 だけ出力される。又、換言すれば、U 相はt1
 +t2 だけ電圧が印加され、V 相はt1 だけ電
圧が印加され、W 相にはその制御期間、電圧は印加さ
れない。 【0040】このようにして、1つの実行サイクルの処
理が完了する。この実行サイクルは、最小の制御周期で
実行されており、その整数倍n1 で電流フィードバッ
クループが制御され、その整数倍n2 で速度フィード
バックループが制御され、その整数倍n3 で位置フィ
ードバックループが制御されるように、ステップ100
,114,124で判定の基準となる回数が設定されて
いる。 但し、n1 <n2 ≦n3 である。上記のサイクル
が繰り返し実行されることで、図7に示したタイミング
で、位置、速度、電流のフィードバック制御が行われる
。但し、図7に示したタイミングはCPU11によるプ
ログラム実行時からの計時によって検出される。 【0041】上記のようなサーボ制御により、図6に示
すような速度の移動指令が与えられた時に、サーボモー
タ31は正確に目標速度に追従する。加速領域及び減速
領域では、速度フィードバックループの積分時間Ti 
が定速度領域のその値よりも長く設定されるためにダン
ピング係数が大きくなり、定速度又は停止に至る時にオ
ーバーシュート及びアンダーシュートや振動が生じない
。 又、サーボロック状態では、速度フィードバックループ
の比例利得Kpが定速度領域のその値よりも小さく設定
されるので、バックラッシュ振動の発生が防止される。 【0042】尚、上記実施例では、図6に示すように、
加速領域又は減速領域の全区間で積分時間を長く設定し
ているが、加速領域から定速領域に至る少し前又は減速
領域から停止に至る少し前において積分時間を定速領域
の積分時間に設定しても良い。このようにすれば、オー
バーシュート、アンダーシュートを生じることなくしか
も定速度領域の追従性を初期の段階から向上させること
ができる。 【0043】 【発明の効果】本発明は、目標位置によって指令された
制御軸のサーボロック状態、加減速状態又は定速状態に
応じて、速度フィードバックループにおける比例・積分
演算の比例利得と積分時間を設定する比例積分係数設定
手段と、目標速度と現在速度との速度偏差及びその速度
偏差の時間に関する積分に対して、比例積分係数設定手
段により設定された比例利得及び積分時間を作用させて
、比例・積分演算により電流フィードバックループに対
する目標負荷電流を演算する目標負荷電流演算手段とを
有している。従って、制御軸の制御状態、即ち、サーボ
ロック状態、加減速状態又は定速状態に応じて速度フィ
ードバックループの比例利得、積分定数が適正に設定さ
れることになり、サーボロック状態におけるバックラッ
シュ振動、加速後定速に移行する時のオーバーシュート
及びアンダーシュートが防止されて、適正なサーボ制御
が達成される。
Detailed Description of the Invention [0001] [Industrial Application Field] The present invention relates to a digital servo motor that obtains optimal control characteristics according to operating conditions such as servo lock, acceleration/deceleration, and constant speed of a servo motor. Regarding a control device. 2. Description of the Related Art In recent years, digital servo control devices have come into use to overcome the drawbacks of analog control systems. This digital servo control device provides a target value and a feedback value as digital values, calculates the deviation between the two using a digital computer, provides a command value corresponding to the deviation as a digital value, and controls the control amount according to that value. It is digitally controlled. Such servo controllers generally include position, velocity, and current feedback loops. In the speed feedback loop, in order to calculate the target current, the q-axis component of the target current for the current feedback loop is obtained by proportional/integral calculations regarding the speed deviation. [0003]Problems to be Solved by the Invention In the proportional/integral calculations in the speed feedback loop described above, how to determine the proportional gain and integral time is an important issue in terms of control performance. . For example, the optimum proportional gain and integration time are determined from the transfer function of the velocity feedback loop. However, these values are determined assuming a steady state in which the servo motor is rotating at a constant speed under a predetermined load state. That is, since the proportional gain is set large so that the control characteristics are optimal at steady speed, backlash vibration occurs when the servo motor is in a servo-locked state with a reduced load. In addition, since the integration time is set small so that the control characteristics are optimal at steady speed, there is no overshoot or overshoot in the tracking characteristics when transitioning from an acceleration state to a constant speed state or from a deceleration state to a stop state. There were problems such as undershoot. The present invention has been made to solve the above problems, and its purpose is to improve the control performance of a servo motor. Means for Solving the Problems As shown in FIG. 12, the configuration of the invention for solving the above problems has a position feedback loop, a speed feedback loop, and a current feedback loop, and has a command value and a feedback loop. In a digital servo control device that servo-controls a control axis by giving a value in a digital quantity, there is a target position output means that outputs the target position that the control axis should be in every moment, and a servo lock state of the control axis commanded by the target position. , a proportional integral coefficient setting means for setting a proportional gain and an integral time of proportional/integral calculations in the speed feedback loop according to an acceleration/deceleration state or a constant speed state; a current position detecting means for detecting the current position of the control axis; A target speed calculating means for calculating a target speed according to a positional deviation between the target position and the current position, a current speed detecting means for detecting the current speed of the control axis, and a speed deviation between the target speed and the current speed and the speed deviation thereof. A target current calculation means is provided which calculates a target current by proportional/integral calculation by applying a set proportional gain and integration time to the integral with respect to time. [0006] The target position output means outputs the target position of the control shaft from time to time, and the current position detection means detects the current position of the control shaft from time to time. Next, the target speed calculation means calculates the position deviation of the control axis from this target position and the current position of the control axis detected by the current position detection means, and the target speed of the control axis is calculated according to the position deviation. Ru. On the other hand, the proportional integral coefficient setting means controls the proportional integral coefficient in the speed feedback loop according to the servo lock state, acceleration/deceleration state, and constant speed state of the control axis commanded by the target position outputted every moment by the target position output means. - The proportional gain and integration time of the integral operation are determined. Next, the target current calculation means applies a set proportional gain and integral time to the speed deviation between the target speed and the current speed detected by the current speed detection means and the integral of the speed deviation with respect to time, The target current is calculated by proportional/integral calculations. The actual load current is controlled in a current feedback loop so that it follows this target current. [Examples] The present invention will be explained below based on specific examples. FIG. 1 is a block diagram showing the configuration of a digital servo control device according to the present invention. The digital servo control device 10 mainly includes a CPU 11, a ROM
12, RAM 13, digital signal processor (hereinafter referred to as "DSP") 14, common RAM 17, ROM 2
0, A/D converters 15a, 15b and current value counter 1
It consists of 6. A keyboard 21 and a CRT display device 22 are connected to the CPU 11 via an interface 19. [0009] The ROM 12 stores a processing program executed by the CPU 11. Also, RAM13
includes a flag area for storing the operation command state of the servo motor 31 (servo lock state, acceleration/deceleration state, constant speed state) and a command data area for storing movement command data for giving positioning, rotation commands, etc. of the servo motor 31. It is provided. Further, the common RAM 17 is set with a target position output from the CPU 11 every moment, and a proportional gain and integral time in a speed feedback loop determined by the CPU 11 according to the operating state of the servo motor 31 are set. The output of the DSP 14 is input to an inverter 25, and the inverter 25 drives the servo motor 31 in accordance with the output signal of the DSP 14. A synchronous motor is used as the servo motor 31, and the load current of the servo motor 31 is controlled by PWM voltage control of the inverter 25, and as a result, the output torque is controlled. U-phase and v-phase load currents of the servo motor 31 are detected by CTs 32a and 32b, and amplified by amplifiers 18a and 18b. The outputs of the amplifiers 18a and 18b are connected to the A/D converters 15a and 18b.
15b, sampled at a predetermined period, and converted into a digital value. The sampled value is input to the DSP 14 as a feedback value of the instantaneous load current, ie, current current. A pulse encoder 33 is also connected to the servo motor 31 to detect its current position. The output of the pulse encoder 33 is connected to the current value counter 16 via a waveform shaping/direction determining circuit 34. The output signal from the pulse encoder 33, which is input to the current value counter 16 via the waveform shape/direction discrimination circuit 34, increases or decreases the value of the current value counter 16. The value of the current value counter 16 is read by the DSP 14 as the feedback value of the position feedback loop, that is, the current position. Then, the DSP 14 compares the current position with the target position output from the CPU 11 and calculates a positional deviation. Then, the DSP 14 calculates a target speed based on the positional deviation. Furthermore, the current position input to the DSP 14 is differentiated with respect to time, and the feedback value of the speed feedback loop, ie, the current speed, is calculated. DSP1
4, the target speed determined according to the positional deviation and the current speed are compared to calculate the speed deviation. and,
The q-axis component (effective current) of the target current for control in the current feedback loop is calculated by proportional/integral calculation using the speed deviation and the time integral (accumulation) of the speed deviation. Further, the d-axis component (reactive current) of the target current is set to zero. The DSP 14 converts the q-axis and d-axis components of the target current into feedback values of a current feedback loop detected by the CTs 32a and 32b via amplifiers 18a and 18b and A/D converters 15a and 15b. That is, compared with the q-axis component and d-axis component of the current current,
The current deviation of each component is calculated. Then, the proportional equation using this current deviation and the time integral (cumulation) of the current deviation
Through the integral calculation, the q-axis component and d-axis component of the command current at that time are calculated. The q-axis component and d-axis component of the command current are inversely converted into command currents for each phase. The command current for each phase is compared with a high-frequency triangular wave, and a voltage control PWM signal that controls the on/off of transistors for each phase of the inverter 25 is generated. The voltage control PWM signal is inverter 2
5, and the transistors of each phase of the inverter 25 are respectively driven. By switching the inverter 25, the load current is controlled to the target current. Note that the positioning of the servo motor 31 is performed using the CP
The process is completed when it is determined by U11 that the output value of the current value counter 16 has become equal to the target position value. Also, A
The u-phase and v-phase load currents sampled by the /D converters 15a and 15b are subjected to dq conversion by the DSP 14. The digital servo control device of this embodiment is as follows:
As mentioned above, it is composed of three feedback loops: position, velocity, and current. The lower the feedback loop is, the higher the response is required, for example, the lowest current feedback loop is 100 μs.
, the velocity feedback loop is synchronized with a time interval several times that amount, and the position feedback loop is synchronized with a time interval several times that amount, and the processing of each feedback loop is executed. Next, the operation of the apparatus of this embodiment will be explained. FIG. 2 is a flowchart showing a program stored in the ROM 12 and executed by the CPU 11. Before this program is executed, the servo motor 31 is in a stopped state. In step 200, one block of movement command data is read from the RAM 13, and in step 2
At 02, the acceleration/deceleration flag in the flag area of the RAM 13 is turned on. Next, in step 204, an interpolation target position in an acceleration region for accelerating the servo motor 31 from a stopped state to a commanded constant speed is calculated, and the interpolation target position is momentarily output to the common RAM 17 and stored there. Ru. Next, when the acceleration is finished, step 206
At step 20, the acceleration/deceleration flag is turned off, and the next step 20
At step 8, the constant speed flag in the flag area of the RAM 13 is turned on. Next, in step 210, an interpolation target position in the constant speed region is calculated, and the interpolation target position is momentarily outputted to the common RAM 17 and stored therein. Next, in step 212, it is determined whether one block of movement command data includes a command to temporarily stop at the command target position. If a stop command has not been given, move command data for the next block is input in step 214, and an interpolation target position in the constant speed region is calculated in step 210. Step 21
By repeating 0 and 214, the target position can be sequentially updated at a constant speed, and the interpolated target position can be sequentially output. If it is determined in step 212 that the movement command data includes a stop command, the acceleration/deceleration flag is turned on in step 216, and the constant speed flag is turned off in the next step 218. Then, in step 220, interpolation target positions of the deceleration area are sequentially calculated, and the interpolation target positions are stored in the common RAM 1 every moment.
7 and stored there. Next, after the deceleration interpolation is completed, the servo lock flag in the flag area of the RAM 13 is turned on in step 222 to indicate the servo lock state. Then, in step 224, the same target position is outputted to the common RAM 17 from time to time, and the target position is stored there. As a result, the servo motor 31 is held at the same position in a servo-locked state, that is, in an energized state. After the temporary stop for the time specified by the movement command data is completed, the process returns to step 200, the movement command data of the next block is read, and the position control of the servo motor is performed in the same manner as in the above step. be exposed. In this way, the position of the servo motor is commanded. On the other hand, the CPU 11 interrupts the execution of the program shown in FIG.
The program shown in FIG. 3 stored in 2 is executed. In step 300, it is determined whether the servo lock flag in the RAM 13 is on. If the servo lock flag is on, the process moves to step 302 and the common RAM1
7, a relatively small value KpL is set as the proportional gain Kp. Further, if the servo lock flag in step 300 is off, the process moves to step 304 and the common RA
A relatively large value of KpH is set in M17 as a proportional gain Kp. As a result, the proportional gain is reduced in the servo lock state compared to the constant speed state, so backlash vibrations are prevented. Next, in step 306, the RAM 13
It is determined whether the acceleration/deceleration flag set in is on. If the acceleration/deceleration flag is on, step 30
8, a relatively large value of TiH is stored in the common RAM 17.
is set as the integration time Ti. Also, step 30
If it is determined in step 6 that the acceleration/deceleration flag is off, a relatively small value TiL is set in the common RAM 17 as the integral time Ti in step 310. As a result, the integration time is set longer in the acceleration/deceleration state than in the constant speed state, so the damping coefficient becomes larger, and the tracking characteristics when transitioning from the acceleration state to the constant speed state or from the deceleration state to the stop state This prevents overshoot and undershoot from occurring. In this way, the servo motor 3 at that time
According to one command control state, that is, a servo lock state, an acceleration/deceleration state, and a constant speed state, the optimal proportional gain Kp and integral time Ti are set in the common RAM 17 for each state. These proportional gain Kp and integration time Ti are accessed by the DSP 14, which will be described later, and used to calculate the target current in the speed feedback loop. Next, the DSP 14 executes the programs shown in FIGS. 4 and 5 stored in the ROM 20 to control the position, speed, and torque of the servo motor 31. The programs shown in FIGS. 4 and 5 are repeatedly executed by the DSP 14 at predetermined minimum cycles. In step 100, it is determined whether or not the actual execution cycle is the position deviation calculation timing, and if it is the position deviation calculation timing, the process moves to step 102, and the target position θ(i)( interpolation target position) is input and stored. Also, the target position within a certain amount of time in the past is a common RA.
It is stored in M17. Next, in step 104, the current position (electrical angle) θa(i) held in the current value counter 16 is read. Next, in step 106, the positional deviation Δθ(i) between the target position θ(i) at the current time (i) and the current position θa(i) is calculated. Next, in step 108, the target speed V(i) is changed to the position deviation ΔP(i
), that is, calculated using the following formula. [Formula 1] V(i) =k·ΔP(i) This position feedback control is executed at the timing shown by the signal S1 in FIG. Next, in step 110, it is determined whether the actual running cycle is the speed deviation calculation timing. If it is speed deviation calculation tuning, the process moves to step 112 and the current position θa(n
) is loaded. Next, the process moves to step 114, where the current speed Va(n) at the current time (n) is calculated. The current speed Va(n) is calculated using the following formula based on the current position θa(n-1) read at the previous speed deviation calculation timing, the current position θa(n) input this time, and the speed control cycle D. It is calculated by [Formula 2] Va(n) = (θa(n) - θa(n-1)
) /D Next, in step 116,
The deviation between the target speed V(i) calculated in step 108 and the current speed Va(n), that is, the speed deviation ΔV(n) is calculated. Further, the cumulative value (integral) S of the speed deviation ΔV(n) is calculated by S=S+ΔV(n). next,
In step 118, the speed deviation ΔV(n) calculated in step 116 and the integral S of the speed deviation, and the common RAM
Using the proportional gain Kp and integration time Ti corresponding to the control state at that time, which are set to It is calculated by Note that the d-axis component (reactive current) of the target current is zero. This speed feedback control is executed at the timing shown by signal S2 in FIG. [Equation 3] Iq(n)=Kp(ΔV(i)+S/Ti)
Next, in step 120, it is determined whether the actual cycle is the current deviation calculation timing. If it is the current deviation calculation timing, the process moves to step 122. Step 122 and subsequent steps are current feedback control, and this control is executed at the timing shown by signal S3 in FIG. In step 122, the current detection time Δt1 measured from the beginning of the current control period, the load current control time Δt2 measured from the beginning of the current control period, and the current speed Va(n) are used to determine the electrical angle corresponding to that time. The electrical angle θ1 during current detection and the electrical angle θ2 during control are calculated by interpolation. [Equation 4] θ1 = θa(n)+Va(n)・Δt1
Equation 5] θ2 = θa(n)+Va(n)・Δt2 0
[033] These times Δt1, Δt2 and the electrical angle θ1,
They correspond to θ2 as shown in FIG. Next, the process moves to step 124, and the current values of the u-phase and v-phase load currents, that is, the current currents Iu and Iv are input to the A/D converter 15a.
, 15b. Then, in step 126, the current current Iu,Iv is dq transformed to d
The axis component Iad and the q-axis component Iaq are calculated by the following equation. [Formula 6] Iad=21/2 {lusin(θ1+2π
/3)-Ivsinθ1} [Formula 7] Iaq=21/2
{Iucos(θ1+2π/3)−Ivcosθ1}[
[0034] As is well known, the dq coordinate system is d
This is a coordinate system in which the axis is in phase with the excitation magnetic field, and the q-axis is at a phase difference of 90 degrees in electrical angle from the excitation magnetic field. The d-axis component represents an invalid component, and the q-axis component represents an active component. Next, in step 128, the d-axis component Id(n) and q-axis component Iq(n) of the target current obtained in step 118 and the d-axis component Iad and q of the current current obtained in step 126 are calculated.
The deviation from the axis component Iaq, that is, the d-axis component deviation and the q-axis component deviation are determined. Then, based on the d-axis component deviation and q-axis component deviation, the d of the command current is calculated by proportional and integral calculations.
Axis component Id* and q-axis component Iq* are calculated. Next, in step 130, the d-axis component and q-axis component Id*, Iq* of the command current are inversely dq-transformed using the following equation to obtain each phase current command value Iu*, Iv*, Iw.
* is calculated. [Formula 8] Iu* = (2/3)1/2 ・{Id* c
osθ2 −Iq*sinθ2} [Formula 9] Iv* = (2/3)1/2 ・{Id* cos(θ
2 +2π/3) −Iq*sin(θ2+2π/3)
} Note that Iw* is calculated by Iw*=-(Iu*+Iv*). Next, in steps 132 and 134,
A series of PWM signals within one control period are generated using the level relationship between each phase current command value Iu*, Iv*, Iw* and a high-frequency triangular wave, that is, using the average voltage method. . A series of PWM signals can be represented by a voltage vector indicating the voltage application state of each phase, as shown in FIG. The rotating magnetic field vector is expressed as an integral of this voltage vector. Therefore, as shown in FIG.
The locus of the tip of the rotating magnetic field vector is drawn by the sum of each voltage vector x duration time. In order to position the rotating magnetic field to a point on the circumference at every angle of 2π/n by the shortest path, three vectors, two adjacent voltage vectors and a zero vector V0 shown in Fig. 8, are used for each control period. Inverter 25
needs to be controlled. The combination of these three voltage vectors and the phase of the rotating magnetic field uniquely correspond. Correspondence table of combinations of rotating magnetic field phase and voltage vector (zero vector V
0 is always one element of the combination, so only a set of two voltage vectors is required) is stored in advance in the ROM 12, as shown in FIG. In step 132, the electrical angle θ2 during control is
(phase of rotating magnetic field) The above table in the ROM 12 is searched to find the combination of voltage vectors at that time. At step 134, the durations t1, t2, and t3 of each voltage vector are calculated. For example, as shown in FIG. 11, the combination of voltage vectors is Vn = (
1,1,0), V1 = (1,0,0), V2 =
(0, 0, 0), the duration times t1, t2, t3 of each voltage vector are calculated. In this embodiment, the well-known average voltage method is used as the calculation method. That is, each phase current command value Iu*, Iv*
, Iw*, the two with the largest absolute values are I
1, I2, the durations t1, t2, t3 are determined by the following equations. [Formula 10] t1 = |2I2*+I1*|・T/Vdc
[Formula 11] t2 = |I1*-I2*|・T/Vdc[
Equation 12: t3 = T - (t1 + t2) where T is the period and Vdc is the applied DC voltage. Next, in step 136, a PWM signal based on a set of voltage vectors is generated for durations t1, t2,
Only t3 is output. For example, as shown in FIG. 11, V6 = (1, 1, 0), V1 = (1, 0, 0),
In the order of V0 = (0, 0, 0), the duration t1, t2,
Only t3 is output. In other words, the U phase is t1
A voltage is applied for +t2, a voltage is applied for t1 to the V phase, and no voltage is applied to the W phase during the control period. In this way, the processing of one execution cycle is completed. This execution cycle is executed with the minimum control period, and the current feedback loop is controlled at an integral multiple n1 of the minimum control period, the velocity feedback loop is controlled at an integral multiple n2 of the minimum control period, and the position feedback loop is controlled at an integral multiple n3 of the minimum control period. Step 100
, 114, and 124 set the number of times that serves as a criterion for determination. However, n1<n2≦n3. By repeating the above cycle, feedback control of position, speed, and current is performed at the timing shown in FIG. 7. However, the timing shown in FIG. 7 is detected by timing from the time when the CPU 11 executes the program. By the servo control as described above, when a movement command with a speed as shown in FIG. 6 is given, the servo motor 31 accurately follows the target speed. In the acceleration region and deceleration region, the integral time Ti of the velocity feedback loop
Since the damping coefficient is set longer than the value in the constant speed region, the damping coefficient becomes large, and overshoot, undershoot, and vibration do not occur when reaching constant speed or stopping. Furthermore, in the servo lock state, the proportional gain Kp of the speed feedback loop is set smaller than its value in the constant speed region, so that backlash vibrations are prevented from occurring. In the above embodiment, as shown in FIG.
The integration time is set long in the entire section of the acceleration region or deceleration region, but the integration time is set to the integration time of the constant speed region a little before going from the acceleration region to the constant speed region or a little before reaching the stop from the deceleration region. You may do so. In this way, it is possible to improve the followability in the constant speed region from the initial stage without causing overshoot or undershoot. Effects of the Invention [0043] The present invention adjusts the proportional gain and integral time of proportional/integral calculations in the speed feedback loop according to the servo lock state, acceleration/deceleration state, or constant speed state of the control axis commanded by the target position. a proportional integral coefficient setting means for setting, and a proportional gain and an integral time set by the proportional integral coefficient setting means to act on the speed deviation between the target speed and the current speed and the integral regarding the time of the speed deviation, and target load current calculation means for calculating a target load current for the current feedback loop by proportional/integral calculations. Therefore, the proportional gain and integral constant of the speed feedback loop are appropriately set depending on the control state of the control axis, that is, the servo lock state, acceleration/deceleration state, or constant speed state, and the backlash vibration in the servo lock state , overshoot and undershoot when shifting to constant speed after acceleration are prevented, and appropriate servo control is achieved.

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

【図1】本発明の具体的な一実施例に係るディジタルサ
ーボ制御装置の構成を示したブロックダイヤグラム。
FIG. 1 is a block diagram showing the configuration of a digital servo control device according to a specific embodiment of the present invention.

【図2】同実施例装置のCPU11によって処理される
目標位置の指令手順を示したフローチャート。
FIG. 2 is a flowchart showing a procedure for commanding a target position processed by the CPU 11 of the apparatus of the embodiment.

【図3】同実施例装置のCPU11によって処理される
指令された制御状態に応じて比例利得及び積分時間の設
定手順を示すフローチャート。
FIG. 3 is a flowchart showing a procedure for setting a proportional gain and an integral time according to a commanded control state processed by the CPU 11 of the device of the embodiment.

【図4】同実施例装置で使用されているDSPによる処
理手順を示したフローチャート。
FIG. 4 is a flowchart showing a processing procedure by the DSP used in the device of the embodiment.

【図5】同実施例装置で使用されているDSPによる処
理手順を示したフローチャート。
FIG. 5 is a flowchart showing a processing procedure by the DSP used in the device of the embodiment.

【図6】CPU11によって指令される目標速度と本実
施例の制御装置による追従速度との関係を示した説明図
FIG. 6 is an explanatory diagram showing the relationship between the target speed commanded by the CPU 11 and the follow-up speed by the control device of the present embodiment.

【図7】位置、速度、電流フィードバック制御のタイミ
ングを示したタイミングチャート。
FIG. 7 is a timing chart showing the timing of position, speed, and current feedback control.

【図8】PWM信号に対応した電圧ベクトルを示したベ
クトル図。
FIG. 8 is a vector diagram showing voltage vectors corresponding to PWM signals.

【図9】電圧ベクトルと回転磁界との関係を示したベク
トル図。
FIG. 9 is a vector diagram showing the relationship between a voltage vector and a rotating magnetic field.

【図10】回転磁界の位相と電圧ベクトルとの組の対応
関係を示した説明図。
FIG. 10 is an explanatory diagram showing the correspondence between pairs of rotating magnetic field phases and voltage vectors.

【図11】PWM信号を示したタイミングチャート。FIG. 11 is a timing chart showing a PWM signal.

【図12】本発明の全体の構成を示したブロック図。FIG. 12 is a block diagram showing the overall configuration of the present invention.

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

10…ディジタルサーボ制御装置 11…CPU  12…ROM  13…RAM14…
DSP(ディジタルシグナルプロセッサ)15a,15
b…A/D変換器 16…現在値カウンタ 25…インバータ  31…サーボモータ32a,32
b…カレントトランスフォーマ(CT)33…パルスエ
ンコーダ
10...Digital servo control device 11...CPU 12...ROM 13...RAM14...
DSP (digital signal processor) 15a, 15
b...A/D converter 16...Current value counter 25...Inverter 31...Servo motor 32a, 32
b...Current transformer (CT) 33...Pulse encoder

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  位置フィードバックループ、速度フィ
ードバックループ、電流フィードバックループを有し、
指令値及び帰還値をディジタル量で与えて、制御軸をサ
ーボ制御するディジタルサーボ制御装置において、前記
制御軸が時々刻々とるべき目標位置を出力する目標位置
出力手段と、前記目標位置によって指令された前記制御
軸のサーボロック状態、加減速状態又は定速状態に応じ
て、前記速度フィードバックループにおける比例・積分
演算の比例利得と積分時間を設定する比例積分係数設定
手段と、前記制御軸の現在位置を検出する現在位置検出
手段と、前記目標位置出力手段の出力する前記目標位置
と前記現在位置検出手段の出力する現在位置との位置偏
差に応じて目標速度を演算する目標速度演算手段と、前
記制御軸の現在速度を検出する現在速度検出手段と、前
記目標速度演算手段により演算された前記目標速度と前
記現在速度検出手段により検出された現在速度との速度
偏差及びその速度偏差の時間に関する積分に対して、前
記比例積分係数設定手段により設定された前記比例利得
及び前記積分時間を作用させて、比例・積分演算により
前記電流フィードバックループに対する目標電流を演算
する目標電流演算手段とを有するディジタルサーボ制御
装置。
Claim 1: Comprising a position feedback loop, a velocity feedback loop, and a current feedback loop,
A digital servo control device that servo-controls a control axis by giving a command value and a feedback value in digital quantities, comprising: target position output means for outputting a target position that the control axis should be at every moment; proportional-integral coefficient setting means for setting a proportional gain and integral time of proportional/integral calculations in the speed feedback loop according to a servo lock state, an acceleration/deceleration state, or a constant speed state of the control axis; and a current position of the control axis. current position detection means for detecting the current position; target speed calculation means for calculating a target speed according to a positional deviation between the target position output by the target position output means and the current position output from the current position detection means; a current speed detection means for detecting the current speed of a control axis; a speed deviation between the target speed calculated by the target speed calculation means and the current speed detected by the current speed detection means; and an integral of the speed deviation over time. target current calculation means for calculating a target current for the current feedback loop through proportional and integral calculations by applying the proportional gain set by the proportional integral coefficient setting means and the integral time to Control device.
JP3089693A 1991-03-27 1991-03-27 Digital servo controller Pending JPH04299087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3089693A JPH04299087A (en) 1991-03-27 1991-03-27 Digital servo controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3089693A JPH04299087A (en) 1991-03-27 1991-03-27 Digital servo controller

Publications (1)

Publication Number Publication Date
JPH04299087A true JPH04299087A (en) 1992-10-22

Family

ID=13977848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3089693A Pending JPH04299087A (en) 1991-03-27 1991-03-27 Digital servo controller

Country Status (1)

Country Link
JP (1) JPH04299087A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5886491A (en) * 1995-09-29 1999-03-23 Mitsubishi Denki Kabushiki Kaisha Position control unit for electric motor
US9881115B2 (en) 2016-04-27 2018-01-30 International Business Machines Corporation Signal via positioning in a multi-layer circuit board using a genetic via placement solver
US9916410B2 (en) 2015-06-22 2018-03-13 International Business Machines Corporation Signal via positioning in a multi-layer circuit board
CN109995286A (en) * 2018-12-06 2019-07-09 中冶南方(武汉)自动化有限公司 A kind of asynchronous machine speed ring PI method for optimally designing parameters

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5886491A (en) * 1995-09-29 1999-03-23 Mitsubishi Denki Kabushiki Kaisha Position control unit for electric motor
US9916410B2 (en) 2015-06-22 2018-03-13 International Business Machines Corporation Signal via positioning in a multi-layer circuit board
US9881115B2 (en) 2016-04-27 2018-01-30 International Business Machines Corporation Signal via positioning in a multi-layer circuit board using a genetic via placement solver
CN109995286A (en) * 2018-12-06 2019-07-09 中冶南方(武汉)自动化有限公司 A kind of asynchronous machine speed ring PI method for optimally designing parameters

Similar Documents

Publication Publication Date Title
JP3164580B2 (en) Digital servo controller
US5309075A (en) Digital servo-control apparatus for preventing torque variations
US20010028236A1 (en) Speed control apparatus for synchronous reluctance motor
US10199972B2 (en) Control device for an electric motor
JP6726390B2 (en) Controller for permanent magnet type synchronous motor
JPH0993999A (en) Current control method for servomotor
JPH0923700A (en) Servo motor current control
JPH04299087A (en) Digital servo controller
US10594242B2 (en) Motor controller
JPH0691482A (en) Feed control device
JP3527069B2 (en) Digital current controller for motor
JP3700540B2 (en) Electric motor drive control device
JPH09271200A (en) Digital servo control equipment
JP3343986B2 (en) Digital servo controller
JP3236607B2 (en) Digital servo controller
JPH0798606A (en) Detection device for abnormality of position detection device
JPH06289938A (en) Obstacle detection device in servo feeding
JPH06282334A (en) Digital servo control device
JPH07104857A (en) Digital servo controller
JPH05204461A (en) Digital servo control device
JPH06289935A (en) Digital servo controller
JPH04271412A (en) Digital servo controller
JP3203816B2 (en) Servo control device
JPH03277194A (en) Digital servo controller
JPH06292381A (en) Digital servo controller