Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0685139B2 - Lead angle compensation method in position control - Google Patents
[go: Go Back, main page]

JPH0685139B2 - Lead angle compensation method in position control - Google Patents

Lead angle compensation method in position control

Info

Publication number
JPH0685139B2
JPH0685139B2 JP60220963A JP22096385A JPH0685139B2 JP H0685139 B2 JPH0685139 B2 JP H0685139B2 JP 60220963 A JP60220963 A JP 60220963A JP 22096385 A JP22096385 A JP 22096385A JP H0685139 B2 JPH0685139 B2 JP H0685139B2
Authority
JP
Japan
Prior art keywords
position data
time
data
angle compensation
lead angle
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
JP60220963A
Other languages
Japanese (ja)
Other versions
JPS6279508A (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.)
SG KK
Original Assignee
SG 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 SG KK filed Critical SG KK
Priority to JP60220963A priority Critical patent/JPH0685139B2/en
Publication of JPS6279508A publication Critical patent/JPS6279508A/en
Publication of JPH0685139B2 publication Critical patent/JPH0685139B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control Of Position Or Direction (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、位置制御における進み角補償方式に関す
る。
The present invention relates to a lead angle compensation system in position control.

〔従来の技術〕[Conventional technology]

諸機械を制御するに際して、該機械に取付けられたカム
スイッチ、リミットスイッチ等により機械位置を検出し
てこの位置検出出力に基づき種々の制御を行うようにす
る場合、この位置検出出力タイミングとそれに基づく制
御が機械に及ぼされる時点との間には種々の要因による
時間遅れが存在する。このような時間遅れにより、スイ
ッチ等が作動する位置が見かけ上ずれることになり、正
確な制御を阻害する原因となる。そこで、このような不
都合を除去するために、時間遅れあるいは動作遅れに見
合った量だけリミットスイッチ等の作動位置あるいは位
置検出データあるいは位置決め目標設定値などを見かけ
上ずらす補償を行うことが従来より行われており、これ
を一般に進み角補償という。
When controlling various machines, when the machine position is detected by a cam switch, limit switch, etc. attached to the machine and various controls are performed based on this position detection output, this position detection output timing and it There are time delays between when control is applied to the machine and due to various factors. Due to such a time delay, the position at which the switch or the like operates is apparently deviated, which causes a hindrance to accurate control. Therefore, in order to eliminate such inconvenience, it has been conventionally performed to perform compensation by apparently shifting the operating position of the limit switch or the like, the position detection data, or the positioning target set value by an amount commensurate with the time delay or operation delay. This is generally called lead angle compensation.

進み角補償の最も単純な例としては、リミットスイッチ
等の取付け位置を所望の位置よりも進み角補償量だけず
れた位置に取付けるやり方がある。しかし、上述のよう
な時間遅れ量は、一様ではなく、特に機械の速度に応じ
て種々異なるものとなるので、速度に応じて進み角補償
量も異なるものとなり、その都度スイッチ取付け位置を
変更しなければならないという問題が生じる。
The simplest example of the lead angle compensation is to attach the limit switch or the like at a position displaced from the desired position by the amount of lead angle compensation. However, the amount of time delay as described above is not uniform, and varies in particular depending on the speed of the machine, so the amount of advance angle compensation also varies depending on the speed, and the switch mounting position is changed each time. The problem arises of having to do it.

そこで、リミットスイッチ等を実際に用いることに代え
て、機械の位置を連続的に検出し得る位置検出器を設
け、その位置検出器データと目標位置設定値とを比較す
ることにより、目標位置検出出力を得るようにすること
が行われている。その場合、従来の進み角補償は、機械
の速度を検出し、その速度に応じて進み角補償量を求
め、この進み角補償量に応じて位置検出データ又は目標
位置データを修正することにより行われている。これを
図示すると第5図のようであり、進み角量演算回路1で
は速度検出器2で求めた機械の速度vと該機械の動作条
件に応じて設定する進み角補償パラメータaとに応じて
進み角量θを求め、これと位置検出器3で検出した位
置データXとを加算して機械の現在位置データを進み角
量θだけ見かけ上進めることにより進み角補償を行
う。この場合、演算回路1は、所定の関数f(v)の演
算を実際を実時間で実行することにより進み角量θ
求める構成、あるいは各速度に対応する進み角量θ
予め記憶したメモリを用いてこれを速度vに応じて読み
出す構成のどちらでもよい。
Therefore, instead of actually using limit switches, etc., a position detector that can continuously detect the position of the machine is provided, and the target position detection is performed by comparing the position detector data with the target position set value. Getting the output done is done. In that case, the conventional lead angle compensation is performed by detecting the speed of the machine, obtaining the lead angle compensation amount according to the speed, and correcting the position detection data or the target position data according to the lead angle compensation amount. It is being appreciated. This is illustrated in FIG. 5, and in the lead angle amount calculation circuit 1, according to the machine speed v obtained by the speed detector 2 and the lead angle compensation parameter a set according to the operating condition of the machine. The lead angle amount θ A is obtained, and this is added to the position data X detected by the position detector 3 to apparently advance the current position data of the machine by the lead angle amount θ A to perform lead angle compensation. In this case, the arithmetic circuit 1 is configured to calculate the advance angle amount θ A by executing the operation of a predetermined function f (v) in real time, or to store the advance angle amount θ A corresponding to each speed in advance. Either of the configurations may be used in which the above memory is used to read it according to the speed v.

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

上述のような従来の方式では、速度検出器が必要であ
り、その分コスト高になるという問題点と、進み角量を
求めるための関数f(v)の演算を実時間で行う場合演
算時間がかかるためそれにより時間遅れが生じてしまう
という問題点と、位置検出データを演算することにより
速度を求める場合はその演算時間分だけ時間遅れが生じ
てしまうという問題点とがあった。
In the conventional method as described above, a speed detector is required, and the cost is increased accordingly, and the calculation time of the function f (v) for obtaining the advance angle amount is calculated in real time. Therefore, there is a problem that a time delay occurs due to this, and when a speed is calculated by calculating position detection data, a time delay occurs by the calculation time.

この発明は上述の種々の問題点を解決した進み角補償方
式を提供しようとするものである。
The present invention seeks to provide a lead angle compensation method that solves the various problems described above.

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

この発明に係る位置制御における進み角補償方式は、移
動する対象物の現在位置データを検出する位置検出手段
と、位置制御における目標位置データを設定する位置設
定手段と、前記目標位置データと前記現在位置データを
比較し、両者が一致した時点で制御信号を出力する比較
手段と、前記位置検出手段で検出された現在位置データ
を時系列的に順次記憶する記憶手段と、進み角補償パラ
メータとして所定の時間データを設定する時間設定手段
と、前記時間設定手段で設定された時間データに対応す
る時間だけ前の時点における位置データを前記記憶手段
から取り出して前回位置データとして出力する取り出し
手段と、前記前回位置データと前記現在位置データとの
差分値を演算する演算手段と、この演算手段からの差分
値を進み角補償量とし、この進み角補償量に基づいて前
記現在位置データ及び前記目標位置データの少なくとも
一方に補正を加え、補正されたものを前記比較手段に供
給する位置データ補正手段と、を具えたことを特徴とす
るものである。
A lead angle compensation method in position control according to the present invention includes position detection means for detecting current position data of a moving object, position setting means for setting target position data in position control, the target position data and the current position. Comparing means for comparing the position data and outputting a control signal when they coincide with each other, storage means for sequentially storing the current position data detected by the position detecting means in time series, and a predetermined advance angle compensation parameter. A time setting means for setting the time data of the above, and a take-out means for taking out the position data at a time point before the time corresponding to the time data set by the time setting means from the storage means and outputting it as the previous position data, A calculation means for calculating the difference value between the previous position data and the current position data, and the difference value from this calculation means is used as the advance angle compensation amount. The present invention further includes position data correction means for correcting at least one of the current position data and the target position data based on the lead angle compensation amount and supplying the corrected data to the comparison means. It is what

〔作用及び発明の効果〕[Operation and effect of the invention]

位置検出手段によって検出された位置データの時間経過
に伴う軌跡を例示すると第1図のようであり、これが記
憶手段に時系列的に順次記憶される。進み角補償パラメ
ータとして設定された時間データに対応する時間Δtと
すると、取り出し手段では、現時点からΔtだけ前の時
点における前回位置データX(−Δt)を記憶手段から
取り出す。取り出した前回位置データX(−Δt)と現
在位置データとの差分値ΔXが進み角補償量として位置
データ補正手段で使用される。
An example of the locus of the position data detected by the position detecting means over time is as shown in FIG. 1, which is sequentially stored in the storage means in time series. Assuming that the time Δt corresponds to the time data set as the lead angle compensation parameter, the take-out means takes out the previous position data X (−Δt) at the time point Δt before the present time point from the storage means. The difference value ΔX between the retrieved previous position data X (−Δt) and the current position data is used by the position data correction means as the advance angle compensation amount.

位置データ補正手段では、例えば、現在位置データにΔ
Xを加算して、見かけ上の現在位置データを進み角補償
量ΔXの分だけ進ませることによって、進み角補償され
た見かけ上の現在位置データを現時点からΔt時間経過
後の対象物の位置としている。つまり、Δt時間経過前
の位置の差分値ΔXを現在位置データに加算することに
よりΔt時間経過後の位置を予測することができる。
In the position data correction means, for example, Δ
By adding X and advancing the apparent current position data by the advance angle compensation amount ΔX, the apparent current position data with the advanced angle compensation is used as the position of the object after Δt time has elapsed from the present time. There is. That is, the position after the lapse of Δt time can be predicted by adding the difference value ΔX of the position before the lapse of Δt time to the current position data.

また、目標位置データからΔXを減算して、見かけ上の
目標位置データを進み角補償量ΔXの分だけ早めること
によって、現在位置データを現時点からΔt時間経過後
の対象物の位置としている。つまり、Δt時間経過前の
位置の差分値ΔXを目標位置データから減算することに
より間接的にΔt時間経過後の位置を予測することがで
きる。
Further, by subtracting ΔX from the target position data and advancing the apparent target position data by the advance angle compensation amount ΔX, the current position data is set as the position of the object after Δt time has elapsed from the current time. That is, by subtracting the difference value ΔX of the position before the Δt time has elapsed from the target position data, the position after the Δt time has elapsed can be indirectly predicted.

さらに、現在位置データにΔX/2を加算して見かけ上の
現在位置データを進み角補償量ΔX/2の分だけ進ませ、
かつ、目標位置データからΔX/2を減算して見かけ上の
目標位置データを進み角補償量ΔX/2の分だけ早めて
も、同様にΔt時間経過後の位置を予測することができ
る。
Furthermore, add ΔX / 2 to the current position data to advance the apparent current position data by the amount of advance angle compensation amount ΔX / 2.
Further, even if ΔX / 2 is subtracted from the target position data and the apparent target position data is advanced by the advance angle compensation amount ΔX / 2, the position after Δt time can be similarly predicted.

従って、この発明によれば、速度検出手段が全く不要で
あり、また、進み角補償量を求めるための関数f(v)
の演算も全く不要であるため、コスト高になるという問
題点及び演算による時間遅れが生ずるという問題点を解
決することができる。また、進み角補償パラメータを時
間単位で細かく設定することができるので、機械系の様
々な遅れ条件に即座に対応させた進み角補償を行うこと
ができる。
Therefore, according to the present invention, no speed detecting means is required, and the function f (v) for obtaining the advance angle compensation amount is obtained.
Since the calculation of is also completely unnecessary, it is possible to solve the problem that the cost is high and the problem that a time delay occurs due to the calculation. Further, since the lead angle compensation parameter can be finely set on a time unit basis, it is possible to perform lead angle compensation that immediately corresponds to various delay conditions of the mechanical system.

時間設定手段で進み角補償パラメータとして設定された
時間Δtが過大になった場合に、Δt時間経過前の前回
位置データX(−Δt)と現在位置データとの差分値Δ
Xが現時点における速度に正確に対応していないおそれ
がある。すなわち、時間Δtの間に速度が変動する可能
が大きくなる。そのため、記憶手段から取り出す位置デ
ータはなるべく現時点に近いものの方がよい。
When the time Δt set as the lead angle compensation parameter by the time setting means becomes excessive, the difference value Δ between the previous position data X (−Δt) and the current position data before the time Δt has elapsed.
It is possible that X does not correspond exactly to the current speed. That is, the possibility that the speed changes during the time Δt increases. Therefore, the position data taken out from the storage means should be as close to the present time as possible.

そこで、この発明の推奨される実施の態様では、設定さ
れた時間Δtが比較的大きい場合に備えて、取り出し手
段で、進み角補償パラメータとして設定された時間Δt
の1/N倍に相当する時間Δt/Nだけ前の時点における位置
データを記憶手段から取り出して前回位置データX(−
Δt/N)とし、位置データ補正手段で、前回位置データ
X(−Δt/N)と現在位置データとの差分値を実質的に
N倍したものを進み角補償量とし、この進み角補償量に
基づいて現在位置データ及び目標位置データの少なくと
も一方に補正を加え、補正されたものを比較手段に供給
している。この様子は図2に示されている。
Therefore, in the preferred embodiment of the present invention, in case the set time Δt is relatively large, the time Δt set as the lead angle compensation parameter by the take-out means is prepared.
The position data at a point in time preceding by a time Δt / N corresponding to 1 / N times the previous position data X (-
Δt / N), and the position data correction means substantially multiplies the difference value between the previous position data X (−Δt / N) and the current position data by N to obtain the advance angle compensation amount. Based on the above, at least one of the current position data and the target position data is corrected, and the corrected one is supplied to the comparison means. This situation is shown in FIG.

これによって、進み角補償パラメータとして設定された
時間Δtが比較的大きな場合でも、現時点での速度をで
きるだけ反映したデータを進み角補償量とすることがで
きる。また、一データを記憶する記憶手段もそれほど古
い位置データまで記憶する必要がなくなるので記憶容量
を節約することができる。
As a result, even when the time Δt set as the lead angle compensation parameter is relatively large, the data that reflects the current speed as much as possible can be used as the lead angle compensation amount. Further, the storage means for storing one data does not have to store such old position data, so that the storage capacity can be saved.

〔実施例〕〔Example〕

以下添付図面を参照してこの発明の実施例を詳細に説明
しよう。
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第3図において、位置検出器10は制御対象物の位置を検
出し、ディジタル位置データDXを出力するものであり、
対象物がモータ等の回転体である場合は回転型の位置検
出器を用い、シリンダ等の直線移動体の場合はリニア型
の位置検出器を用いる。記憶回路11は、検出された位置
データDXを書き込みクロックCKに従って逐次記憶するも
のであり、例えばシフトレジスタあるいはRAM(ランダ
ムアクセスメモリ)から成る。進角設定器12は、進み角
補償パラメータとして所望の時間データを設定するもの
である。ここで設定された時間を進角設定時間△tとい
うことにする。論理回路13は、進角設定時間△tの大き
さに応じて予め定められた基準に従って比率Nを確定
し、 を示すデータを出力すると共にNを示すデータを出力す
る。なお、このような論理回路13は進角設定器12の中に
含めることができる。
In FIG. 3, the position detector 10 detects the position of the controlled object and outputs digital position data D X.
When the object is a rotating body such as a motor, a rotary type position detector is used, and when the target is a linear moving body such as a cylinder, a linear type position detector is used. The memory circuit 11 sequentially stores the detected position data D X according to the write clock CK, and is composed of, for example, a shift register or a RAM (random access memory). The lead angle setter 12 sets desired time data as a lead angle compensation parameter. The time set here is referred to as an advance angle setting time Δt. The logic circuit 13 determines the ratio N according to a predetermined standard according to the magnitude of the advance angle setting time Δt, And the data indicating N are output. Note that such a logic circuit 13 can be included in the advance angle setting device 12.

取り出し回路14は、論理回路13から与えられた時間デー
タ△t又は に応じて現時点よりも△t又は だけ前の時点の位置データDX(−△t)を記憶回路から
取り出す。この取り出し回路14は、例えば、記憶回路11
がシフトレジスタの場合はその任意のステージの出力を
選択する選択回路から成り、また、記憶回路11がRAMの
場合は任意のアドレスを指定してその記憶データを読み
出す読み出し回路から成る。
The take-out circuit 14 receives the time data Δt given from the logic circuit 13 or Depending on the The position data D X (-Δt) at the previous time point is retrieved from the memory circuit. This take-out circuit 14 is, for example, a storage circuit 11
Is a shift register for selecting the output of the arbitrary stage, and is a read circuit for reading the stored data by designating an arbitrary address when the memory circuit 11 is a RAM.

引算器15は、取り出し回路14によって取り出された前の
位置データDX(−△t)を現在位置のデータDXから引算
してその差分△X=DX−DX(−△t)を求める。こうし
て求めた差分△Xは最新の時間間隔△t又は の間における対象物の移動量に対応しており、移動速度
が速いほど移動量つまり差分△Xは大きい。乗算器16は
論理回路13から与えられたデータNを倍数として、上記
差分△XをN倍する演算を行う。N倍された差分データ
N・△X又は△X(N=1のとき)は加算器17において
現在の位置データDXに加算され、進角設定時間△t後の
予測される位置を示すデータDX(+△t)=DX+N・△
Xが求められる。こうして位置データの進み角補償が行
われる。
The subtracter 15 subtracts the previous position data D X (-Δt) extracted by the extraction circuit 14 from the current position data D X , and the difference ΔX = D X −D X (−Δt). ). The difference ΔX thus obtained is the latest time interval Δt or Corresponding to the movement amount of the target object during the period, and the moving amount, that is, the difference ΔX is larger as the moving speed is higher. The multiplier 16 uses the data N supplied from the logic circuit 13 as a multiple and performs an operation for multiplying the difference ΔX by N. N times the difference data N.ΔX or ΔX (when N = 1) is added to the current position data D X in the adder 17 and data indicating the predicted position after the advance angle setting time Δt. D X (+ △ t) = D X + N ・ △
X is required. In this way, the lead angle compensation of the position data is performed.

目標位置設定器18は、停止制御あるいはその他適宜の動
作制御のための目標位置を指示するデータを設定するも
のである。比較器19は、設定された目標位置データSX
進み角補償された位置データDX(+△t)とを比較し、
両者が一致したとき、停止制御あるいはその他適宜の動
作制御のための制御信号を出力する。この制御信号は、
通常の位置制御で知られているリミットスイッチやカム
スイッチの出力信号と同等の信号として利用される。こ
うして、進み角補償した状態で位置制御がなされる。な
お、この明細書で、位置制御とは、停止制御のみなら
ず、任意の特定位置で適宜の動作制御を行う場合をも含
むものとする。
The target position setter 18 sets data indicating a target position for stop control or other appropriate operation control. The comparator 19 compares the set target position data S X with the lead angle compensated position data D X (+ Δt),
When both match, a control signal for stop control or other appropriate operation control is output. This control signal is
It is used as a signal equivalent to the output signal of the limit switch or cam switch that is known in normal position control. In this way, the position control is performed in the state where the lead angle is compensated. In this specification, position control includes not only stop control but also appropriate operation control at any specific position.

例えば、対象とする位置決め制御系において△tの時間
遅れがある場合、進み角補償をしない場合は実際の位置
DXが目標位置SXに到達したときから△t時間後に制御が
実行されてしまい、そのときは現在の位置は目標位置を
通り過ぎてしまっている。しかし、上述の実施例のよう
に進み角補償を行えば、現在位置が目標位置に到達する
前に、進み角補償された見かけ上の現在位置データD
X(+△t)と目標位置データSXが一致し、それから△
t時間後に制御が実行されたとき真の現在値DX目標位置
SXに丁度到達するようになるはずである。従って、正確
な位置制御が行われる。
For example, if there is a time delay of Δt in the target positioning control system and the lead angle compensation is not performed, the actual position
The control is executed after Δt time from the time when D X reaches the target position S X , and at that time, the current position has passed the target position. However, if the lead angle compensation is performed as in the above-described embodiment, the lead angle compensated apparent current position data D before the current position reaches the target position is obtained.
X (+ △ t) and target position data S X match, and then △
True current value when control is executed after t time D X Target position
It should just reach S X. Therefore, accurate position control is performed.

なお、差分△Xを直接的に求めるための引算器15と、こ
の差分△Xを直接にN倍する乗算器16は必須ではなく、
実質的に差分△Xが求められる、あるいは実質的にN倍
した差分△Xが求められるようになってもよい。例え
ば、進み角補償した位置データDX(+△t)は、結局、 DX(+△t)=DX+N(DX−DX(−△t)) =(N+1)DX−N・DX(−△t) であるので、N=1のときは2DX−DX(−△t)の演算
を直接的に行うことにより差分△Xを求める演算を省略
してDX(+△t)を求めることができ、Nが2以上のと
きもDXを(N+1)倍する乗算とDX(−△t)をN倍す
る乗算を先に行い、その積同士を引算することにより差
分△Xを求めることができる。勿論、このような迂回は
演算回路(特に乗算器)を複雑にするので、好ましいと
はいえないが、実質的には差分△Xを求めかつそれをN
倍していることと等価なので、本発明の範囲に含まれ
る。
The subtracter 15 for directly obtaining the difference ΔX and the multiplier 16 for directly multiplying the difference ΔX by N are not essential.
The difference ΔX may be substantially obtained, or the difference ΔX substantially multiplied by N may be obtained. For example, the lead angle compensated position data D X (+ Δt) is, after all, D X (+ Δt) = D X + N (D X −D X (−Δt)) = (N + 1) D X −N Since it is D X (−Δt), when N = 1, the calculation of 2D X −D X (−Δt) is directly performed to omit the calculation of the difference ΔX, and D X ( + △ t) can be determined, N is 2 or more even D X when (N + 1) multiplied multiplier and D X (- performs △ t) before the multiplication multiplying N, subtracting the product between By doing so, the difference ΔX can be obtained. Of course, such a detour complicates the arithmetic circuit (especially the multiplier) and is not preferable, but in practice, the difference ΔX is obtained and N is calculated.
Since it is equivalent to doubling, it is included in the scope of the present invention.

また、進み角補償は、第3図のように位置データDXを進
めることに限らず、第4図のように目標位置データSX
早めることによっても達成できる。第4図において省略
されている部分は第3図と同じであり、変更箇所だけが
示されている。引算器20は設定器18から与えられる目標
位置データSXから乗算器16から与えられる差分データN
・△X又は△Xを引算し、目標位置を見かけ上早めるも
のである。こうして進み角補償された目標位置データ
SX′=SX−N・△Xが比較器19に入力され、真の現在位
置を示すデータDXと比較され、両者が一致したとき制御
信号が発生される。すなわち、見かけ上の目標位置SX
が真の目標位置SXよりもN・△X又は△Xだけ手前の位
置に設定され、真の現在位置DXが真の目標位置SXに到達
するN・△X又は△Xだけ手前の位置で比較器19の一致
が成立し、△t時間後に制御が実行されるとき真の現在
位置DXは丁度真の目標位置SXに到達するはずである。
Further, the advance angle compensation can be achieved not only by advancing the position data D X as shown in FIG. 3, but also by advancing the target position data S X as shown in FIG. The parts omitted in FIG. 4 are the same as those in FIG. 3, and only the changed portions are shown. The subtractor 20 calculates the difference data N given by the multiplier 16 from the target position data S X given by the setter 18.
-Subtracting ΔX or ΔX to apparently accelerate the target position. Target position data with lead angle compensation
S X ′ = S X −N · ΔX is input to the comparator 19 and compared with the data D X indicating the true current position, and when both match, a control signal is generated. That is, the apparent target position S X
There is set just before the position true N · △ X or from the target position S X △ X, the true current position D X is the front only N · △ X or △ X reaches the true target position S X When the coincidence of the comparator 19 is established at the position and the control is executed after the time period Δt, the true current position D X should just reach the true target position S X.

また、進み角補償は、位置データDXと目標位置データSX
の両方を適量修正することによっても実行することがで
きる。例えば、 を加算し、 を引算し、両者を比較する方式であってもよい。
In addition, lead angle compensation is performed using position data D X and target position data S X.
It can also be carried out by modifying both of them by an appropriate amount. For example, And add May be subtracted and the two may be compared.

次に、Nの値とそれが適用される進角設定時間△tとの
関係の一例を示す。
Next, an example of the relationship between the value of N and the advance angle setting time Δt to which it is applied is shown.

記憶回路11における記憶位置数(アドレス数又はステー
ジ数)を199とし、書き込みクロックCKの周期を0.1msと
すると、記憶回路11には19.9ms前までの199サンプル数
の位置データを0.1ms単位で記憶することができる。従
って、N=1に限った場合(この場合は第3図の論理回
路13と乗算器16は不要である)は、設定可能な進角設定
時間△tは0.1ms〜19.9msであり、0.1msきざみで設定す
ることができる。
If the number of storage positions (number of addresses or stages) in the memory circuit 11 is 199, and the cycle of the write clock CK is 0.1 ms, the memory circuit 11 stores position data of 199 samples up to 19.9 ms in units of 0.1 ms. Can be memorized. Therefore, when N is limited to 1 (in this case, the logic circuit 13 and the multiplier 16 in FIG. 3 are unnecessary), the settable advance angle setting time Δt is 0.1 ms to 19.9 ms, and 0.1 It can be set in ms increments.

進角設定時間△t=20ms〜39.8msの範囲では、N=2と
することにより、 前の位置データを記憶回路11から取り出せばよい。この
場合、△tは0.2msきざみで設定することができる。
By setting N = 2 in the range of advance angle setting time Δt = 20ms to 39.8ms, The previous position data may be retrieved from the storage circuit 11. In this case, Δt can be set in steps of 0.2 ms.

進角設定時間△t=40ms〜99.5msの範囲では、N=5と
することにより、 前の位置データを記憶回路11から取り出せばよい。この
場合、△tは0.5msきざみで設定することができる。
By setting N = 5 in the range of advance angle setting time Δt = 40ms to 99.5ms, The previous position data may be retrieved from the storage circuit 11. In this case, Δt can be set in steps of 0.5 ms.

進角設定時間△t=100ms〜199msの範囲では、N=10と
することにより、 前の位置データを記憶回路11から取り出せばよい。この
場合、△tは1msきざみで設定することができる。
By setting N = 10 in the range of lead angle setting time Δt = 100ms to 199ms, The previous position data may be retrieved from the storage circuit 11. In this case, Δt can be set in steps of 1 ms.

以上の例を表によって一覧すると次表のようになる。The above examples are listed in the table below.

位置検出器10としては、対象物の位置を連続的に検出し
て位置データをディジタルで発生し得るものであればど
のような構成のものを用いてもよい。例えば、アブソリ
ュートエンコーダ、インクメンタルエンコーダとその出
力パルスをカウントするカウンタ、レゾルバとその出力
信号に基づきディジタル位置検出データを得る手段、な
どを用いることができる。特に、本出願人に係る特開昭
57−70406号、特開昭58−106691号、特開昭59−79114
号、実開昭58−136718号に示されたような位相シフト方
式を採用した誘導形(可変磁気抵抗型)の回転位置検出
装置あるいは直線位置検出装置を用いるとよい。そのよ
うな位相シフト方式の位置検出装置においては、1次コ
イルを励磁する基準交流信号の0位相毎に2次出力交流
信号の位相ずれを示すディジタルカウント値をサンプリ
ングし、これを位置検出データDXとして出力するように
なっており、記憶回路11の取り込みクロックCKとしてこ
のサンプリングクロック(つまり基準交流信号に同期し
たクロックパルス)を用いるとよい。
As the position detector 10, any structure may be used as long as it can continuously detect the position of the object and digitally generate the position data. For example, it is possible to use an absolute encoder, an incremental encoder and a counter that counts its output pulses, a resolver and a unit that obtains digital position detection data based on its output signal, and the like. In particular, the Japanese Patent
57-70406, JP-A-58-106691, JP-A-59-79114
It is preferable to use an induction type (variable magnetic resistance type) rotary position detecting device or a linear position detecting device adopting a phase shift method as shown in Japanese Utility Model Publication No. 58-136718. In such a phase shift type position detection device, a digital count value indicating the phase shift of the secondary output AC signal is sampled for each 0 phase of the reference AC signal for exciting the primary coil, and this is sampled as position detection data D The sampling clock (that is, the clock pulse synchronized with the reference AC signal) is preferably used as the capture clock CK of the storage circuit 11 for outputting as X.

なお、第3図の実施例はハードワイヤードロジックによ
って回路が構成されているが、これに限らず、マイクロ
コンピュータを用いたソフトウェアプログラムによって
も同様の機能を実施することができ、そのような実施も
本発明の範囲に含まれる。
Although the circuit of the embodiment of FIG. 3 is configured by hard-wired logic, the present invention is not limited to this, and the same function can be implemented by a software program using a microcomputer. Within the scope of the present invention.

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

第1図及び第2図はこの発明の原理を説明するためのグ
ラフ、 第3図はこの発明の一実施例を示すブロック図、 第4図は第3図の変更例を変更箇所につき示すブロック
図、 第5図は従来技術の一例を示すブロック図、である。 10……位置検出器、11……記憶回路、12……進角設定
器、14……取り出し回路、15,20……引算器、16……乗
算器、17……加算器、18……目標位置設定器、19……比
較器。
1 and 2 are graphs for explaining the principle of the present invention, FIG. 3 is a block diagram showing an embodiment of the present invention, and FIG. 4 is a block showing a modification of FIG. FIG. 5 is a block diagram showing an example of a conventional technique. 10 …… Position detector, 11 …… Memory circuit, 12 …… Advance angle setting device, 14 …… Retrieval circuit, 15,20 …… Subtractor, 16 …… Multiplier, 17 …… Adder, 18… … Target position setter, 19 …… Comparator.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】移動する対象物の現在位置データを検出す
る位置検出手段と、 位置制御における目標位置データを設定する位置設定手
段と、 前記目標位置データと前記現在位置データを比較し、両
者が一致した時点で制御信号を出力する比較手段と、 前記位置検出手段で検出された現在位置データを時系列
的に順次記憶する記憶手段と、 進み角補償パラメータとして所定の時間データを設定す
る時間設定手段と、 前記時間設定手段で設定された時間データに対応する時
間だけ前の時点における位置データを前記記憶手段から
取り出して前回位置データとして出力する取り出し手段
と、 前記前回位置データと前記現在位置データとの差分値を
演算する演算手段と、 この演算手段からの差分値を進み角補償量とし、この進
み角補償量に基づいて前記現在位置データ及び前記目標
位置データの少なくとも一方に補正を加え、補正された
ものを前記比較手段に供給する位置データ補正手段と を具えた位置制御における進み角補償方式。
1. A position detecting means for detecting current position data of a moving object, a position setting means for setting target position data in position control, and a comparison of the target position data and the current position data. Comparison means for outputting a control signal at the time of coincidence, storage means for sequentially storing the current position data detected by the position detection means in time series, and time setting for setting predetermined time data as a lead angle compensation parameter Means, a take-out means for taking out the position data at a point in time before the time corresponding to the time data set by the time setting means from the storage means and outputting it as previous position data, the previous position data and the current position data And a difference value from this calculation means is used as a lead angle compensation amount, and based on this lead angle compensation amount, A lead angle compensation method in position control, comprising: position data correction means for correcting at least one of the current position data and the target position data and supplying the corrected data to the comparison means.
【請求項2】前記取り出し手段は、前記時間設定手段で
設定された時間データに対応する時間の1/N倍に相当す
る時間だけ前の時点における位置データを前記記憶手段
から取り出して前回位置データとして出力し、 前記位置データ補正手段は、前記演算手段からの差分値
をN倍したものを進み角補償量とし、この進み角補償量
に基づいて前記現在位置データ及び前記目標位置データ
の少なくとも一方に補正を加え、補正されたものを前記
比較手段に供給することを特徴とする特許請求の範囲第
1項に記載の位置制御における進み角補償方式。
2. The fetching means fetches the position data at a time point before the time corresponding to 1 / N times the time corresponding to the time data set by the time setting means from the storage means and outputs the previous position data. The position data correction means sets a value obtained by multiplying the difference value from the calculation means by N as a lead angle compensation amount, and based on the lead angle compensation amount, at least one of the current position data and the target position data. The lead angle compensation method in position control according to claim 1, wherein the corrected value is supplied to the comparison means.
JP60220963A 1985-10-03 1985-10-03 Lead angle compensation method in position control Expired - Lifetime JPH0685139B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60220963A JPH0685139B2 (en) 1985-10-03 1985-10-03 Lead angle compensation method in position control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60220963A JPH0685139B2 (en) 1985-10-03 1985-10-03 Lead angle compensation method in position control

Publications (2)

Publication Number Publication Date
JPS6279508A JPS6279508A (en) 1987-04-11
JPH0685139B2 true JPH0685139B2 (en) 1994-10-26

Family

ID=16759297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60220963A Expired - Lifetime JPH0685139B2 (en) 1985-10-03 1985-10-03 Lead angle compensation method in position control

Country Status (1)

Country Link
JP (1) JPH0685139B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5045186A (en) * 1973-08-27 1975-04-23
JPS5232507A (en) * 1975-09-09 1977-03-11 Ina Sankyo Kk Rotor of coreless motor
JPS5451076A (en) * 1977-09-30 1979-04-21 Hitachi Ltd Controlling system for positioning machine tool

Also Published As

Publication number Publication date
JPS6279508A (en) 1987-04-11

Similar Documents

Publication Publication Date Title
JP3367260B2 (en) Encoder device and servo motor control device
EP0135754A2 (en) Positioning control device for an electric motor
EP0262624B1 (en) Positioning control system
JP3236449B2 (en) Control method of AC servomotor
KR920002760B1 (en) Speed controller
JP3207533B2 (en) Control device and control method for spot welding
JPH02309401A (en) Numerical controller
JPH0685139B2 (en) Lead angle compensation method in position control
JP3171770B2 (en) NC machine tool moving position error correction method and moving position error correction confirmation method
US4914366A (en) Positioning control system
JPH06138949A (en) Motor drive device
EP0134029B1 (en) Speed control arrangement and motor control system
JP2703096B2 (en) Teaching method of robot system with conveyor
WO1991013388A1 (en) Improvements in or relating to actuator control
GB2273176A (en) Actuator position control.
JP2957216B2 (en) Motor control device
JPS6375807A (en) Deviation correcting device for servo mechanism
JPS63605A (en) Periodic operation control method for electric motor
JP2000187510A (en) Numerical control unit
JP3199132B2 (en) Absolute position management device
JPH04100116A (en) Learning control device with speed command correction
JPH05188066A (en) Servo motor speed detecting device
JPS61286664A (en) Driving controller for mover
JPS62131310A (en) Driving control device for movable body
JPH04282710A (en) Speed control system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term