JP2546346B2 - Position sensor compensation method - Google Patents
Position sensor compensation methodInfo
- Publication number
- JP2546346B2 JP2546346B2 JP63192397A JP19239788A JP2546346B2 JP 2546346 B2 JP2546346 B2 JP 2546346B2 JP 63192397 A JP63192397 A JP 63192397A JP 19239788 A JP19239788 A JP 19239788A JP 2546346 B2 JP2546346 B2 JP 2546346B2
- Authority
- JP
- Japan
- Prior art keywords
- sudden change
- circuit
- detection signal
- compensation
- position sensor
- 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
Links
Landscapes
- Length Measuring Devices With Unspecified Measuring Means (AREA)
- Transmission And Conversion Of Sensor Element Output (AREA)
Description
【発明の詳細な説明】 A.産業上の利用分野 本発明は、モータの回転角度を検出するセンサ等で検
出信号値が突然変位した場合の位置センサの突変補償処
理方法に関し、特に、突変後の検出信号値を連続的な線
形に保つ突変補償処理方法に関する。DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application The present invention relates to a method for compensating a sudden change in a position sensor when a detection signal value is suddenly displaced by a sensor or the like for detecting a rotation angle of a motor. The present invention relates to a sudden change compensation processing method for keeping a detected signal value after change continuous and linear.
B.発明の概要 本発明は、モータの回転角度を検出するセンサ等で検
出信号値が突然変位した場合の位置センサの突変補償処
理方法において、検出信号の変動率が所定のレベルを越
えたことを判定する突変検出回路と、突変量により突変
後の検出信号を補正する補償演算回路とを備え、検出信
号値を連続的な線形に保つことにより、測定範囲を限定
せず、精度を落とさず、多回転形にすることもギヤを多
段に使う必要もなく、誤差発生が少なく、スペースもと
らなくてすみ、信号の連続性が保たれ、安定した制御が
得られる技術を提供するものである。B. SUMMARY OF THE INVENTION In the present invention, in the sudden displacement compensation processing method for a position sensor when a detection signal value is suddenly displaced by a sensor or the like for detecting a rotation angle of a motor, the fluctuation rate of the detection signal exceeds a predetermined level. It is equipped with a sudden change detection circuit that determines that the detection signal and a compensation calculation circuit that corrects the detection signal after the sudden change by the amount of the sudden change, and keeps the detection signal value continuous and linear, thereby not limiting the measurement range and improving accuracy. It provides a technology that does not reduce the number of rotations, does not have to be multi-rotation type, does not need to use gears in multiple stages, has few errors, saves space, maintains signal continuity, and provides stable control. It is a thing.
C.従来の技術 モータの回転角度を検出するセンサは、ポテンショメ
ータ,レゾルバ,エンコーダ等各種があるが、いずれも
モータが無限回転した場合まで線形に検出できるわけで
はなく、ある有限回転に達すると検出信号が突変する。C. Conventional technology There are various types of sensors that detect the rotation angle of a motor, such as potentiometers, resolvers, and encoders, but all of them cannot detect linearly until the motor rotates indefinitely, and detect when a certain finite rotation is reached. The signal changes suddenly.
第8図は一般的な検出角度の突変を示す説明図で、横
軸に時間経過tを示し、縦軸に検出信号値xを示してい
る。図中、P1,P2…が突変点であり、Δx1,Δx2…が各突
変量である。この突変が発生すると、当該検出信号によ
り位置制御を行ってする制御系は、その設定値又は追従
値が突変することと同じであり、制御不能になってしま
う。そこで、従来は、突変が起こらない範囲で使用する
が、多回転形のセンサ又はギヤを用いることにより測定
範囲を拡大するかなどで対処していた。FIG. 8 is an explanatory diagram showing a general sudden change in the detected angle, in which the abscissa indicates the elapsed time t and the ordinate indicates the detected signal value x. In the figure, P1, P2 ... Are sudden change points, and Δx1, Δx2 ... Are respective sudden change amounts. When this sudden change occurs, the control system that performs the position control by the detection signal is the same as the sudden change in the set value or the follow-up value, and the control becomes uncontrollable. Therefore, conventionally, the device is used in a range where no sudden change occurs, but it has been dealt with by expanding the measuring range by using a multi-rotation type sensor or gear.
D.発明が解決しようとする課題 しかしながら、上記従来の対処方法は、下記の難点が
ある。D. Problems to be Solved by the Invention However, the above conventional coping methods have the following drawbacks.
(ア)測定範囲を限定すると、その範囲が信号の0〜10
0%であるとすることになり、相対的に信号の精度が低
下する。(A) When the measurement range is limited, the range is 0-10 of the signal.
This means 0%, and the accuracy of the signal is relatively reduced.
(イ)多回転形センサは大型であり、組込みスペースを
多大に必要とする。(A) The multi-rotation type sensor is large and requires a lot of space for installation.
(ウ)ギヤを用いると、ガタや遊び等による誤差が大き
くなり、組込みスペースも大きくなる。(C) If a gear is used, an error due to backlash, play, etc. becomes large, and an assembling space also becomes large.
本発明は、このような課題に鑑みて創案されたもの
で、測定範囲を限定せず、精度を保ち、多回転形にする
こともギヤを多段に使う必要もなく、誤差発生が少な
く、スペースもとらなくてすみ、信号の連続性が保た
れ、安定した制御が得られる位置センサの突変補償処理
方法を提供することを目的としている。The present invention was conceived in view of such a problem, does not limit the measurement range, maintains accuracy, does not need to use multiple gears in multiple rotations, does not need to use gears in multiple stages, has little error, and is space-saving. It is an object of the present invention to provide a sudden change compensation processing method for a position sensor, which does not need to be originally provided, maintains signal continuity, and enables stable control.
E.課題を解決するための手段 本発明において、上記の課題を解決するための手段
は、モータの回転角度位置を検出する位置センサの検出
信号を連続的な線形に補償する突変補償処理方法におい
て、検出信号の変動率が所定のレベルを越えたことを判
定する突変検出回路と、突変量により突変後の検出信号
値を補償する補償演算回路とを備え、検出信号値を連続
的な線形に保つ位置センサの突変補償処理方法によるも
のとする。E. Means for Solving the Problems In the present invention, a means for solving the above problems is a sudden change compensation processing method for linearly compensating a detection signal of a position sensor for detecting a rotation angle position of a motor. In the above, a sudden change detection circuit for determining that the variation rate of the detected signal exceeds a predetermined level and a compensation calculation circuit for compensating the detected signal value after the sudden change by the sudden change amount are provided, and the detected signal value is continuously measured. It is based on the sudden change compensation processing method of the position sensor that keeps the linearity.
F.作用 本発明は、第1図に本発明の基本的原理を示す如く、
検出信号が突変したことを検出すると共にその突変量
(変化分)をも求め、この値を変化後の検出値より減算
することにより検出値の連続性を保つものである。F. Action The present invention, as shown in FIG. 1 shows the basic principle of the present invention,
The continuity of the detected values is maintained by detecting the sudden change of the detection signal and also obtaining the amount of change (change amount) and subtracting this value from the detected value after the change.
信号の突変は、突変検出回路が検出する。突変検出回
路に対しては、予め正負両方向それぞれに所定の閾値が
設定されていて、検出信号の変動率即ち一定時間内の変
動量がそのレベルを越えたか否かを判定する。「突変」
と判定された場合は、その変動量を突変量とし、該突変
量に基づいて、補償演算回路が突変後の検出信号値を補
正する。例えば第1図に示す1回目の突変後の検出信号
値Haに対しては、1回目の突変量Δx1だけ修正すること
によりそれまでと連続する信号値Hnが得られ、2回目突
変後の検出信号値Hbに対しては2回目の突変量Δx2を更
に修正し、連続する信号値Hnを得る。このように突変毎
に各突変量を加算し、全修正量をΔx1+Δx2+…とする
ことにより、常に連続的な信号値Hnを得る。これは、逆
向きの方向(−t側)についても同様である。The sudden change in the signal is detected by the sudden change detection circuit. For the sudden change detection circuit, predetermined threshold values are set in advance in both the positive and negative directions, and it is determined whether or not the variation rate of the detection signal, that is, the variation amount within a fixed time exceeds the level. "Sudden"
If it is determined that the fluctuation amount is a sudden change amount, the compensation calculation circuit corrects the detection signal value after the sudden change based on the sudden change amount. For example, with respect to the detection signal value Ha after the first sudden change shown in FIG. 1, by correcting only the first sudden change amount Δx1, a signal value Hn that continues to that time is obtained, and after the second sudden change. With respect to the detection signal value Hb of, the second sudden variation Δx2 is further modified to obtain continuous signal values Hn. In this way, by adding each sudden change amount for each sudden change and setting the total correction amount as Δx1 + Δx2 +, a continuous signal value Hn is always obtained. This also applies to the opposite direction (-t side).
G.実施例 以下、図面を参照して、本発明の実施例を詳細に説明
する。G. Example Hereinafter, an example of the present invention will be described in detail with reference to the drawings.
第2図は、本発明の突変補償回路の一実施例を示す構
成図である。同図において、突変補償回路は、複数のレ
ジスタ1a〜1dと、突変検出回路2と、補償演算回路3と
で構成されている。FIG. 2 is a block diagram showing an embodiment of the sudden change compensation circuit of the present invention. In the figure, the sudden change compensation circuit is composed of a plurality of registers 1a to 1d, a sudden change detection circuit 2, and a compensation calculation circuit 3.
レジスタ1aは、センサ4から検出信号が入力される都
度、その信号を保留し、それまで保留していた信号を次
のレジスタ1bに移す。従って、常にレジスタ1aには今回
の信号値が保留され、レジスタ1bには前回の信号値が保
留される。レジスタ1cには単位時間当たり突変量のブラ
ス側の閾値が設定され、レジスタ1dにはマイナス側の閾
値が設定される。Each time the detection signal is input from the sensor 4, the register 1a holds the signal, and moves the signal held until then to the next register 1b. Therefore, the current signal value is always held in the register 1a, and the previous signal value is held in the register 1b. The brass threshold of the sudden variation per unit time is set in the register 1c, and the negative threshold is set in the register 1d.
突変検出回路2は2つの比較回路21及び22で成り、補
償演算回路3は変動量演算回路31,補償量設定回路32,補
償量演算回路33,信号値演算回路34で成る。これらの作
用は後記する。The sudden change detection circuit 2 includes two comparison circuits 21 and 22, and the compensation calculation circuit 3 includes a variation amount calculation circuit 31, a compensation amount setting circuit 32, a compensation amount calculation circuit 33, and a signal value calculation circuit 34. These actions will be described later.
第3図は、上記突変補償回路で処理される突変補償の
説明図である。同図に示すように、実際の突変は瞬間に
起きるのではなく、有限な時間Tを経過しつつ発生す
る。従って、突変に要する時間Tよりも微小な時間Δt
をセンサからの入力周期として検出信号を前記レジスタ
1aに取込めば、今回信号値xn,前回信号値xn−1及び前
々回信号値xn−2によって、連続的な信号値Hnを算出す
ることができる。FIG. 3 is an explanatory diagram of the sudden change compensation processed by the sudden change compensation circuit. As shown in the figure, the actual sudden change does not occur instantaneously but occurs while a finite time T elapses. Therefore, a time Δt that is smaller than the time T required for the sudden change
The detection signal as the input cycle from the sensor
If it is taken into 1a, it is possible to calculate a continuous signal value Hn from the current signal value xn, the previous signal value xn-1 and the two-previous signal value xn-2.
第4図は、第2図の突変補償回路により第3図の突変
を補償する演算処理を示すフローチャードである。FIG. 4 is a flow chart showing a calculation process for compensating the sudden change of FIG. 3 by the sudden change compensating circuit of FIG.
検出信号は、前記所定のタイミングΔt毎に、第2図
のセンサ4からレジスタ1aに入力され、その結果、常に
レジスタ1aには今回信号値xnが保留され、レジスタ1bに
は前回信号値xn−1が保留される。変動量演算回路31
は、フローの第1段に示すように、今回信号値xnから前
回信号値xn−1を減算して、変動量Fを出力する。この
変動量Fは突変検出回路2に入力されて、それがプラス
の場合には、第1の比較回路21でレジスタ1cの閾値D1と
比較され、それがマイナスの場合には、第2の比較回路
22でレジスタ1dの閾値D2と比較される。比較の結果、変
動量Fの絶対値がそれぞれのレベルを越えていた場合、
その変動は「突変」と判定され、以後、変動量Fは突変
量Gとして処理される。一方、前記変動量演算回路31の
演算結果は、補償量設定回路32へ入力され、前回の変動
量Iとして保存される。この補償量設定回路32は保留回
路でよいが、前々回信号値xn−2のレジスタを設け、I
=xn−1−xn−2を算出する演算回路としてもよい。The detection signal is input to the register 1a from the sensor 4 of FIG. 2 at each predetermined timing Δt, and as a result, the current signal value xn is always held in the register 1a and the previous signal value xn− is stored in the register 1b. 1 is reserved. Fluctuation calculation circuit 31
Outputs the fluctuation amount F by subtracting the previous signal value xn-1 from the current signal value xn, as shown in the first stage of the flow. This fluctuation amount F is input to the sudden change detection circuit 2, and when it is positive, it is compared with the threshold value D1 of the register 1c by the first comparison circuit 21, and when it is negative, the second value is detected. Comparison circuit
At 22 it is compared with the threshold D2 of register 1d. As a result of comparison, when the absolute value of the fluctuation amount F exceeds each level,
The fluctuation is determined to be a “sudden change”, and thereafter, the fluctuation amount F is processed as a sudden change amount G. On the other hand, the calculation result of the fluctuation amount calculation circuit 31 is input to the compensation amount setting circuit 32 and stored as the previous fluctuation amount I. The compensation amount setting circuit 32 may be a holding circuit, but a register for the signal value xn-2 before the second is provided, and
It may be an arithmetic circuit for calculating = xn-1−xn-2.
さて、前記突変検出回路2が「突変」と判定した場
合、補償量演算回路33は、変動量演算回路31の出力と補
償量設定回路32の出力とを合算する演算J=G−Iによ
り補償量Jを算出する。算出された補償量Jは信号値演
算回路34に入力され、信号値演算回路34は、該補償量J
と今回信号値xnを合算する演算Hn=xn−Jにより補償後
の信号値Hnを出力する。Now, when the sudden change detection circuit 2 determines that "a sudden change", the compensation amount calculation circuit 33 adds the output of the variation amount calculation circuit 31 and the output of the compensation amount setting circuit 32 to the calculation J = GI. The compensation amount J is calculated by. The calculated compensation amount J is input to the signal value calculation circuit 34, and the signal value calculation circuit 34 calculates the compensation amount J.
And the signal value Hn after compensation is output by the calculation Hn = xn-J for adding the current signal value xn.
「突変」と判定されない場合は、これらの演算をパス
してもよく、J=0として処理するものとしてもよい。If it is not determined to be “abrupt change”, these calculations may be passed or J = 0 may be processed.
第5図から第7図までの各図は、サーポモータによる
位置制御の1つであるバンプレスに本発明の上記突変補
償回路を応用した一例を示す説明図である。まず、第5
図は通常のバンプレス制御を示す構成図で、同中51はポ
テンショメータ等の位置設定手段、52はドライバ、53は
モータ、54は該モータ53に付設された位置センサであ
る。このようなサーボ系において、モータ53が位置設定
手段51に追従しているとき位置センサ54の検出信号が突
変すると、検出信号の連続性は不確実になり、位置制御
の範囲が不正確になるので、バンプレス制御にならなく
なる。そこで、第6図に示すように、位置設定出力に位
置センサよりの突変量Δxを足し込むようにしておけ
ば、バンプレス制御を行うことができる。第7図は本発
明の一応用例を示す構成図で、同図71は位置設定手段、
72はドライバ、73はモータ、74は該モータ73に付設され
た位置センサである。本発明による突変補償回路75は、
該位置センサ74よりの検出信号PVをドライバ72の前段に
フィードバックする際、その検出信号PVを取込み、突変
量Δx(前記補償量J)を更にその前段の位置設定手段
71側に足し込むように接続されている。これにより、位
置センサ74よりの検出信号PVと位置設定手段71よりの位
置設定信号SPとが同時に突変したと同様になり、突変時
もPV=SPの関係が保持され、バンプレス制御が可能にな
る。Each of FIGS. 5 to 7 is an explanatory diagram showing an example in which the above-mentioned sudden change compensation circuit of the present invention is applied to bumpless, which is one of position control by a servo motor. First, the fifth
The figure is a block diagram showing normal bumpless control, in which 51 is position setting means such as a potentiometer, 52 is a driver, 53 is a motor, and 54 is a position sensor attached to the motor 53. In such a servo system, if the detection signal of the position sensor 54 suddenly changes while the motor 53 follows the position setting means 51, the continuity of the detection signal becomes uncertain and the range of position control becomes inaccurate. Therefore, bumpless control will not be achieved. Therefore, as shown in FIG. 6, bumpless control can be performed by adding the amount of sudden change Δx from the position sensor to the position setting output. FIG. 7 is a block diagram showing an application example of the present invention. FIG. 71 shows position setting means.
72 is a driver, 73 is a motor, and 74 is a position sensor attached to the motor 73. The sudden change compensation circuit 75 according to the present invention is
When the detection signal PV from the position sensor 74 is fed back to the front stage of the driver 72, the detection signal PV is taken in and the sudden variation Δx (the compensation amount J) is further set to the position setting means in the front stage.
It is connected so that it can be added to the 71 side. This is the same as if the detection signal PV from the position sensor 74 and the position setting signal SP from the position setting means 71 were suddenly changed at the same time, and the relationship of PV = SP is maintained even during the sudden change and bumpless control is performed. It will be possible.
上記実施例の突変補償処理方法によれば、下記の利点
がある。The sudden change compensation processing method of the above embodiment has the following advantages.
(ア)測定範囲が限定されないので、精度が低下しな
い。(A) Since the measuring range is not limited, the accuracy does not decrease.
(イ)多回転形にしなくてすむので、スペースをとらな
くてすむ。(B) Since it does not need to be a multi-rotation type, it does not take up space.
(ウ)ギヤを多段に使う必要がないので、ガタや遊び等
による誤差の発生が少なく、スペースもとらなくてす
む。(C) Since it is not necessary to use gears in multiple stages, there is little error due to play or play, and space is not required.
(エ)信号の連続性が保たれるので、制御が安定する。(D) Since the signal continuity is maintained, the control is stable.
H.発明の効果 以上、説明したとおり、本発明によれば、測定範囲を
限定せず、精度を保ち、多回転形にすることもギヤを多
段に使う必要もなく、誤差発生が少なく、スペースもと
らなくてすみ、信号の連続性が保たれ、安定した制御が
得られる位置センサの突変補償処理方法を提供すること
ができる。H. Effects of the Invention As described above, according to the present invention, the measurement range is not limited, the accuracy is maintained, the multi-rotation type is not required, and the gears do not have to be used in multiple stages. It is possible to provide a position sensor sudden change compensation processing method that does not need to be originally provided, maintains signal continuity, and obtains stable control.
第1図は本発明の基本的原理の説明図、第2図は本発明
の一実施例の構成図、第3図は実施例の説明図、第4図
は実施例の突変補償処理のフローチャート、第5図〜第
7図は本発明の一応用例の説明図、第8図は一般的な検
出角度突変の説明図である。 1a〜1d……レジスタ、2……突変検出回路、3……補償
演算回路、4……位置センサ、21,22……比較回路、31
……変動量演算回路、33……補償量演算回路、34……信
号値演算回路。FIG. 1 is an explanatory diagram of the basic principle of the present invention, FIG. 2 is a configuration diagram of an embodiment of the present invention, FIG. 3 is an explanatory diagram of the embodiment, and FIG. 4 is a sudden change compensation process of the embodiment. A flow chart, FIGS. 5 to 7 are explanatory views of an application example of the present invention, and FIG. 8 is an explanatory view of a general detection angle sudden change. 1a to 1d ... Register, 2 ... Temporary change detection circuit, 3 ... Compensation calculation circuit, 4 ... Position sensor, 21,22 ... Comparison circuit, 31
...... Variation amount calculation circuit, 33 …… Compensation amount calculation circuit, 34 …… Signal value calculation circuit.
Claims (1)
サの検出信号を連続的な線形に補償する突変補償処理方
法において、検出信号の変動率が所定のレベルを越えた
ことを判定する突変検出回路と、突変量により突変後の
検出信号を補正する補償演算回路とを備え、検出信号値
を連続的な線形に保つとことを特徴とする位置センサの
突変補償処理方法。1. A sudden change compensation processing method for continuously and linearly compensating a detection signal of a position sensor for detecting a rotational angle position of a motor, wherein a judgment is made that a variation rate of the detection signal exceeds a predetermined level. A position sensor sudden change compensation processing method, comprising: a change detection circuit; and a compensation calculation circuit that corrects a detection signal after a sudden change according to a sudden change amount, and keeps the detection signal value linear.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63192397A JP2546346B2 (en) | 1988-08-01 | 1988-08-01 | Position sensor compensation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63192397A JP2546346B2 (en) | 1988-08-01 | 1988-08-01 | Position sensor compensation method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0240508A JPH0240508A (en) | 1990-02-09 |
JP2546346B2 true JP2546346B2 (en) | 1996-10-23 |
Family
ID=16290631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63192397A Expired - Lifetime JP2546346B2 (en) | 1988-08-01 | 1988-08-01 | Position sensor compensation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2546346B2 (en) |
-
1988
- 1988-08-01 JP JP63192397A patent/JP2546346B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH0240508A (en) | 1990-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0291513A (en) | Method and device for correcting zero point of gyro | |
EP0514847B1 (en) | System and method for controlling speed of electric motor in extremely low speed range using rotary pulse encoder | |
JPWO2005105550A1 (en) | Control device for electric power steering device | |
JP2546346B2 (en) | Position sensor compensation method | |
JP3115307B2 (en) | Coordinate input device and coordinate detection method | |
CN111976832B (en) | Method and device for calculating steering wheel angle data and electronic equipment | |
US6697680B2 (en) | Method for compensating signals from an absolute angular position sensor assembly | |
JP3365063B2 (en) | Rotation angle detection method | |
KR970011356B1 (en) | Method and apparatus for correcting thezero pressure value of a hydraulic power steering pressure sensor | |
JP2801124B2 (en) | Correction method for zero error of torque sensor | |
JP2572878B2 (en) | Sensor abnormality detection device | |
JPH0671863B2 (en) | Vehicle steering angle detection device | |
JP3054753B2 (en) | Absolute value type multi-turn encoder | |
JP3860324B2 (en) | Motor speed control device | |
JP2806730B2 (en) | Correction method for zero error of torque sensor | |
JPH06190687A (en) | Thermal displacement correcting device for machine tool | |
JP3349575B2 (en) | Displacement speed detection method and device | |
JP3341345B2 (en) | Steering neutral arithmetic unit | |
JP2547395B2 (en) | Absolute position detection method | |
JPH08128850A (en) | Method for detecting position of track line | |
RU2232980C2 (en) | Vehicle steering wheel play measuring method | |
KR100245042B1 (en) | The system of computerized numerical control | |
JPS62169213A (en) | Positioning device | |
JPH102705A (en) | Detection sensor for angle of rotation | |
JP3116669B2 (en) | Differential value calculation device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070808 Year of fee payment: 11 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080808 Year of fee payment: 12 |
|
EXPY | Cancellation because of completion of term |