JPS62271111A - Velocity controller - Google Patents

Velocity controller

Info

Publication number
JPS62271111A
JPS62271111A JP11550386A JP11550386A JPS62271111A JP S62271111 A JPS62271111 A JP S62271111A JP 11550386 A JP11550386 A JP 11550386A JP 11550386 A JP11550386 A JP 11550386A JP S62271111 A JPS62271111 A JP S62271111A
Authority
JP
Japan
Prior art keywords
speed command
command value
calculation means
speed
velocity command
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
JP11550386A
Other languages
Japanese (ja)
Inventor
Shoko Yamamoto
山本 勝公
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP11550386A priority Critical patent/JPS62271111A/en
Publication of JPS62271111A publication Critical patent/JPS62271111A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Velocity Or Acceleration (AREA)

Abstract

PURPOSE:To faithfully follow up the change of velocity command and to control by actual velocity command value high in resolution by making sampling time short when there is variation in velocity command voltage and making sampling time long when there is no variation in velocity command voltage. CONSTITUTION:A microcomputer 5 reads count value of a counter 3 and calculates finite difference a from the preceding count value and calculates a velocity command value A by multiplying the finite difference an by an integer N. Further, a velocity command value B is calculated by summing up finite difference for the newest N times. Command values A, B are substituted in the expression, and examined whether this condition is satisfied or not. When the condition is not satisfied, it is judged that velocity command voltage is changed, and the velocity command value A is selected as a actual velocity command value. When the condition is satisfied, the velocity command value B is selected as an actual velocity command value.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 この発明は産業機械や工作機械等のモータの速度を制御
する速度制御装置に係り、特に、速度指令入力回路の改
良に関するものである。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a speed control device for controlling the speed of a motor of an industrial machine or a machine tool, and particularly relates to a speed control device for controlling the speed of a motor of an industrial machine or a machine tool. It is about improvement.

〔従来の技術〕[Conventional technology]

第3図はこの種の従来の速度制御装置の概略構成を示す
ブロック図であり、可変抵抗器を調整して速度指令電圧
を出力する速度設定器(1)と、この速度指令電圧をパ
ルス周波数に変換する電圧−周波数変換器(以下V/’
F変換器と言う)(2)と、変換されたパルスを計数す
るカウンタ(8ンと、このカウンタの計数値を、データ
バス(4)を介して取込み、実速度指令値を演算すると
共に、速度演算および速度補償処理を行うマイクロコン
ピュータ(5) トラ備えている。
FIG. 3 is a block diagram showing the schematic configuration of this type of conventional speed control device, which includes a speed setter (1) that adjusts a variable resistor and outputs a speed command voltage, and a speed setter (1) that adjusts a variable resistor to output a speed command voltage, and A voltage-frequency converter (hereinafter referred to as V/'
F converter) (2), a counter (8) that counts the converted pulses, and the counted value of this counter are taken in via the data bus (4), and the actual speed command value is calculated. It is equipped with a microcomputer (5) that performs speed calculations and speed compensation processing.

かかる構成において、速度設定器(1)で所望の速度を
設定すると、速度に見合ったアナログの速度指令電圧が
V/F変換器(2)に加えらn、とこでパルス周波数に
変換される。変換されたパルスはカウンタ(8)で計数
さ几、その計数値がマイクロコンピュータ(5)に取込
まnる。
In this configuration, when a desired speed is set with the speed setter (1), an analog speed command voltage corresponding to the speed is applied to the V/F converter (2), where it is converted into a pulse frequency. The converted pulses are counted by a counter (8), and the counted value is taken into the microcomputer (5).

マイクロコンピュータ(5)では、その処理部層を第4
図のフローチャートで示すように、先ず、ステ、) 7
’ (101)で一定時間毎にカウンタ(8)の今回の
計数値と前回の計数値との差分 anを演算し、ステッ
プ(102)でこの差分 anをN(Nは2以上の整数
)倍して実速度指令値A=anxN を演算し、続いて
、ステップ(103)にてこの実速度指令値Aを用いて
速度演算および速度補償処理を行っているO なお、この処理例はサンプリング時間を短くして位相の
遅几をできるだけ少なくしようとするものであるが、分
解能を高めるために、マイクロコンピュータ(5)では
第5図のフローチャートに示す処理を行うものも多い。
In the microcomputer (5), the processing section layer is the fourth
As shown in the flowchart in the figure, first, Step 7)
' In (101), the difference an between the current count value of the counter (8) and the previous count value is calculated at regular intervals, and in step (102), this difference an is multiplied by N (N is an integer of 2 or more). Then, in step (103), this actual speed command value A is used to perform speed calculation and speed compensation processing. In order to improve the resolution, many microcomputers (5) perform the processing shown in the flowchart of FIG. 5.

すなわち、ステップ(111)にて一定時間毎にカウン
タ(8)の今回の計数値前回の計数値との差分anを演
算し、ステップ(112)にて最新のN回分の差分の和
B:’n+1−M ” ’n+2−N ””” an 
 を求め1ステツプ(113)にてこの和Bを実速度指
令値REFとして決定し、さらに、ステップ(N4)に
て実速度指令値Bを用いて速度演算および速度補償処理
を行っている。
That is, in step (111), the difference an between the current count value and the previous count value of the counter (8) is calculated at fixed time intervals, and in step (112), the sum of the latest N differences B:' n+1-M ” 'n+2-N ””” an
is determined, and in step (113), this sum B is determined as the actual speed command value REF, and further, in step (N4), speed calculation and speed compensation processing are performed using the actual speed command value B.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の速度制御装置は以上のように構成されており、ハ
ードウェアが同じでも、演算方法の異る2通りの実速度
指令値に基いて速度演算及び速度補償処理を行っている
The conventional speed control device is configured as described above, and even though the hardware is the same, speed calculation and speed compensation processing are performed based on two types of actual speed command values using different calculation methods.

しかし、カウンタ(8)における最新の差分をN倍して
実速度指令A=NX   を求めると士N/2のan 量子化誤差を含むため分解能力が悪く、マた、カウンタ
(8)における最新のN回分の差分値を合計して実速度
指令値B” an−1−1−N ” aH+2−N+・
・・+anを求めた場合・分解能は高いが速度指令値B
を算出するまでN回すンプリングしなければならず、そ
のための時間が必要になることから反応が遅く、速度指
令が絶えず変動するような場合には使用できないという
ような問題点があった。
However, if the latest difference in the counter (8) is multiplied by N to obtain the actual speed command A=NX, the result is an The actual speed command value B" an-1-1-N " aH+2-N+・
・When calculating +an ・The resolution is high, but the speed command value B
It is necessary to perform sampling N times until it calculates , and this requires time, so the reaction is slow and there are problems in that it cannot be used in cases where the speed command constantly fluctuates.

この発明は上記の問題点を解決するためになされたもの
で、速度指令の変化によく追従し、且つ、高分解能の実
速度指令値による制御を可能にする速度制御装置を得る
ことを目的とする。
This invention was made in order to solve the above problems, and its purpose is to obtain a speed control device that can closely follow changes in speed commands and can perform control using high-resolution actual speed command values. do.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る速度制御装置は、一定時間毎にカウンタ
の計数値の差分を演算する差分値演算手段と、この差分
値演算手段の最新の差分をN倍する第1の速度指令値演
算手段と、差分値演算手段の最新のN回分の差分を合計
する第2の速度指令値演算手段と、速度指令電圧の変化
の有無を判断し、変化があるとき第1の速度指令値演算
手段の出力を、変化がないとき第2の速度指令値演算手
段の出力をそnぞれ実速度指令値として選択する選択手
段とを備えたものである。
The speed control device according to the present invention includes: a difference value calculation means that calculates a difference between count values of a counter at fixed time intervals; and a first speed command value calculation means that multiplies the latest difference of the difference value calculation means by N. , a second speed command value calculation means for summing the latest N differences of the difference value calculation means; and a second speed command value calculation means for determining whether or not there is a change in the speed command voltage, and outputting from the first speed command value calculation means when there is a change. and selecting means for selecting the output of the second speed command value calculation means as the actual speed command value when there is no change.

〔作用〕[Effect]

この発明においては、第1および第2の演算手段によっ
てカウンタの最新の差分をN倍した第1の速度指令値と
、カウンタの最新のN回分の差分を合計した第2の速度
指令値とを演算し、選択手段が速度指令電圧の変化の有
無を判定すると共に。
In this invention, the first and second calculation means calculate a first speed command value obtained by multiplying the latest difference of the counter by N, and a second speed command value obtained by summing the difference of the latest N times of the counter. The selection means determines whether or not there is a change in the speed command voltage.

変化があるとき第1の速度指令値を、変化がないとき第
2の速度指令値をそnぞ几実速度指令値として選択する
ことにより、速度設定値の変化に追従し、且つ、高分解
能の実速度指令値による制御を可能にする。
By selecting the first speed command value when there is a change and the second speed command value when there is no change as the actual speed command value, it is possible to follow changes in the speed set value and achieve high resolution. This enables control using actual speed command values.

〔実施例〕〔Example〕

第1図はこの発明の一実施例の構成を示すブロック図で
あシ、第3図に示した従来装置と同一の符号を付したも
のはそ九ぞn同一の要素を示している。そして、第3図
に示した以外のα刀は一定時間毎にカランタフ8)の計
数値の差分を演算する差分値演算手段、(埒はこの差分
値演算手段(2)によって演算さnた最新の差分をN倍
して速度指令値を演算する第1の速度指令値演算手段、
αB)は差分値演算手段(6)によって演算さnた差分
のうち、最新のN回分の差分を合計する第2の速度指令
値演算手段、−はこれらの速度指令値演算手段の出力に
基いて速度設定器(1)の速度指令電圧の変化の有m若
しくは大小)を判定し、変化があるとき第1の速度指令
値演算手段の出力を、変化がないとき第2の速度指令値
演算手段の出力をそれぞれ選択し。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and the same reference numerals as in the conventional device shown in FIG. 3 indicate the same elements. For α swords other than those shown in Fig. 3, a difference value calculation means (2) is used to calculate the difference between the count values of Calantuff 8) at regular intervals. first speed command value calculation means for calculating a speed command value by multiplying the difference by N;
αB) is a second speed command value calculation means that totals the latest N differences among the n differences calculated by the difference value calculation means (6), and - is based on the output of these speed command value calculation means. The presence or magnitude of a change in the speed command voltage of the speed setter (1) is determined based on the change, and when there is a change, the output of the first speed command value calculation means is calculated, and when there is no change, the output of the first speed command value calculation means is calculated, and when there is no change, the second speed command value calculation means is Select the output of each means.

実速度指令値として出力する選択手段、邸)はこの実速
度指令値を用いて速度演算及び速度補償処理を行なう速
度演算手段である。
The selection means for outputting the actual speed command value is a speed calculation means that performs speed calculation and speed compensation processing using this actual speed command value.

なお、上述した差分値演算手段(9)から速度演算手段
邸)までは、上述し九マイクロコンピュータ(5)にそ
の機能を持たせたものである。以下、この実施例の動作
を第2図のフローチャートに従って説明する。
It should be noted that the functions from the difference value calculation means (9) to the speed calculation means described above are provided with the functions of the above-mentioned nine microcomputer (5). The operation of this embodiment will be explained below according to the flowchart of FIG.

先ス、マイクロコンピュータ(5)はステップ(121
)にてカウンタ(8)の計数値を読み込み、前回の計数
値との差分 anを演算し、続いて、ステップ(1n)
にてこの差分 anに整数Nを乗じて下式に示す速度指
令値Aを演算する。
First, the microcomputer (5) runs step (121)
) reads the counted value of the counter (8), calculates the difference an from the previous counted value, and then in step (1n)
This difference an is multiplied by an integer N to calculate a speed command value A shown in the following formula.

A = N X an また、次のステップ(123)では最新のN回分の差分
を合計して次式に示す速度指令値Bを演算する。
A=N

B :an44−N  H+2−u””+anそして、
次のステップ(124)では速度指令電圧に変化がある
か否かを調べるために、上述し念速度指令値A、Bを、
下記の条件式に代入し、この条件を満足するか否かを調
べる。
B: an44-N H+2-u””+an and,
In the next step (124), in order to check whether there is a change in the speed command voltage, the above-mentioned psychospeed command values A and B are
Substitute into the conditional expression below and check whether this condition is satisfied.

ここで、もしこの条件を満足していなけnば速度指令電
圧が変化しているものと判定し、次のステップ(125
)で速度指令値Aを実速度指令値として選択する。また
、上記条件を満足してお几ば、速度指令電圧は変化して
いないと判定し、ステップ(126)で速度指令値Bを
実速度指令値として選択する0また、次のステップ(1
26)では、選択された実速度指令値に基いて速度演算
および速度補償処理をする。
Here, if this condition is not satisfied, it is determined that the speed command voltage has changed, and the next step (125
) to select the speed command value A as the actual speed command value. If the above conditions are satisfied, it is determined that the speed command voltage has not changed, and the speed command value B is selected as the actual speed command value in step (126).
In step 26), speed calculation and speed compensation processing are performed based on the selected actual speed command value.

かくして、この実施例によれば、速度指令電圧に変化が
あるとき、サンプリング時間を短くして応答を早め得、
逆に速度指令電圧に変化がないときサンプリング時間を
長くして速度指令電圧の分解能を向上させることができ
る。
Thus, according to this embodiment, when there is a change in the speed command voltage, the sampling time can be shortened to speed up the response.
Conversely, when there is no change in the speed command voltage, the resolution of the speed command voltage can be improved by lengthening the sampling time.

なお、上記実施例では等号付不等号の条件式を用いたが
この代わシに不等号だけの条件式を用いても上述したと
略同様な動作を行なわせることができる。
In the above embodiment, a conditional expression with an equality sign and an inequality sign is used, but substantially the same operation as described above can be performed by using a conditional expression with only an inequality sign instead.

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

以上の説明によって明らかなように、この発明によれば
、速度指令電圧に変化があるときサンプリング時間を短
くし、速度指令電圧に変化がないときサンプリング時間
を長くして実速度指令値を演算しているので、速度指令
の変化によく追従し、且つ、高分解能の実速度指令値に
よる制御が可能になるという効果がある。
As is clear from the above explanation, according to the present invention, when there is a change in the speed command voltage, the sampling time is shortened, and when there is no change in the speed command voltage, the sampling time is lengthened to calculate the actual speed command value. Therefore, it is possible to closely follow changes in the speed command and to perform control using a high-resolution actual speed command value.

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

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は同実施例の動作を説明するためのフローチャー
ト、第3図は従来の速度制御装置の概略構成を示すブロ
ック図、第4図および第5図は同装置の動作を説明する
ためのフローチャートである。 (1):速度設定器   (2):電圧−周波数変換器
(8):カウンタ (5)二マイクロコンピュータ (2):差分値演算手段 (2):第1の速度指令値演算手段 α■:第2の速度指令値演算手段 CI御:選択手段 ■):速度演算手段 なお、各図中同一符号は同一または相当部分を示す。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is a flowchart for explaining the operation of the same embodiment, FIG. 3 is a block diagram showing a schematic configuration of a conventional speed control device, and FIGS. 4 and 5 are flowcharts for explaining the operation of the same device. It is a flowchart. (1): Speed setter (2): Voltage-frequency converter (8): Counter (5) Two microcomputers (2): Difference value calculation means (2): First speed command value calculation means α■: Second speed command value calculation means CI control: Selection means ■): Speed calculation means Note that the same reference numerals in each figure indicate the same or equivalent parts.

Claims (2)

【特許請求の範囲】[Claims] (1)速度指令電圧をパルス周波数に変換すると共に、
変換されたパルスをカウンタで計数し、その計数値に基
いて実速度指令値を演算する速度制御装置において、一
定時間毎に前記カウンタの計数値の差分を演算する差分
値演算手段と、2以上の整数をNとし、前記差分値演算
手段の最新の差分をN倍する第1の速度指令値演算手段
と、前記差分値演算手段の最新のN回分の差分を合計す
る第2の速度指令値演算手段と、前記速度指令電圧の変
化の有無を判断し、変化があるとき前記第1の速度指令
値演算手段の出力を、変化がないとき前記第2の速度指
令値演算手段の出力をそれぞれ実速度指令値として選択
する選択手段とを備えたことを特徴とする速度制御装置
(1) Convert speed command voltage to pulse frequency and
A speed control device that counts converted pulses with a counter and calculates an actual speed command value based on the counted value, comprising: a difference value calculating means that calculates a difference between the counted values of the counter at regular intervals; where N is an integer, a first speed command value calculation means that multiplies the latest difference of the difference value calculation means by N, and a second speed command value that totals the latest N differences of the difference value calculation means. and a calculation means, which determines whether or not there is a change in the speed command voltage, and outputs an output from the first speed command value calculation means when there is a change, and outputs an output from the second speed command value calculation means when there is no change. A speed control device comprising: selection means for selecting an actual speed command value.
(2)前記第1の速度指令値演算手段の出力をA、前記
第2の速度指令値演算手段の出力をBとし、前記選択手
段は次式 A−N/2≦B≦A+N/2 の条件を満足するとき実速度指令値としてBを選択し、
この条件を満足しないとき実速度指令値としてAを選択
することを特徴とする特許請求の範囲第1項記載の速度
制御装置。
(2) The output of the first speed command value calculation means is A, the output of the second speed command value calculation means is B, and the selection means satisfies the following equation A-N/2≦B≦A+N/2. When the conditions are satisfied, select B as the actual speed command value,
The speed control device according to claim 1, wherein when this condition is not satisfied, A is selected as the actual speed command value.
JP11550386A 1986-05-20 1986-05-20 Velocity controller Pending JPS62271111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11550386A JPS62271111A (en) 1986-05-20 1986-05-20 Velocity controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11550386A JPS62271111A (en) 1986-05-20 1986-05-20 Velocity controller

Publications (1)

Publication Number Publication Date
JPS62271111A true JPS62271111A (en) 1987-11-25

Family

ID=14664130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11550386A Pending JPS62271111A (en) 1986-05-20 1986-05-20 Velocity controller

Country Status (1)

Country Link
JP (1) JPS62271111A (en)

Similar Documents

Publication Publication Date Title
JPH04323706A (en) Foreknowledge repeat control system
JP2001352773A (en) Online autotuning servo controller
JPS63123107A (en) Position control system
JPS62271111A (en) Velocity controller
KR0129596B1 (en) Speed estimating observer
JPH01292405A (en) Digital position servo device
JP3234109B2 (en) Process control equipment
JPH02307384A (en) Motor speed controller
JPH03122701A (en) Self-tuning method
JP3213796B2 (en) Servo motor controller
JPS59117479A (en) Speed detecting system for servo motor
JP2844636B2 (en) Program control unit
JP3236607B2 (en) Digital servo controller
JPH0527802A (en) Controller
JPH03113378A (en) Driving method for indicating instrument
JPH07191707A (en) Controller
JPH01248986A (en) Speed controller for motor
JP3078273B2 (en) Ultrasonic motor speed control method and apparatus
JP2902233B2 (en) Flow compensation device
JP3259614B2 (en) Motor control device and control method thereof
JPH06276774A (en) Positioning control method for motor
JPH01129309A (en) Servo control device
JPH037095A (en) Controlling method for induction motor
SU826282A1 (en) Programme-control device
JPH01113809A (en) Servo controller