JP4872439B2 - Data interpolation method and data interpolation apparatus - Google Patents

Data interpolation method and data interpolation apparatus Download PDF

Info

Publication number
JP4872439B2
JP4872439B2 JP2006117583A JP2006117583A JP4872439B2 JP 4872439 B2 JP4872439 B2 JP 4872439B2 JP 2006117583 A JP2006117583 A JP 2006117583A JP 2006117583 A JP2006117583 A JP 2006117583A JP 4872439 B2 JP4872439 B2 JP 4872439B2
Authority
JP
Japan
Prior art keywords
data
smoothed
interpolation
original data
transfer function
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 - Fee Related
Application number
JP2006117583A
Other languages
Japanese (ja)
Other versions
JP2007295063A (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.)
IHI Corp
Original Assignee
IHI 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 IHI Corp filed Critical IHI Corp
Priority to JP2006117583A priority Critical patent/JP4872439B2/en
Publication of JP2007295063A publication Critical patent/JP2007295063A/en
Application granted granted Critical
Publication of JP4872439B2 publication Critical patent/JP4872439B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Complex Calculations (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for interpolating data in which interpolation data satisfactorily converges to actual original data, impact of noise included in the original data is suppressed, and a processor is simplified. <P>SOLUTION: In the method for obtaining the difference value between original data 1 and smoothed data 5 obtained by interpolating the original data 1 and estimating next smoothed data from the difference value; an interpolation error 6 is acquired from a difference value obtained by subtracting the smoothed data 5 from the original data 1 to be smoothed, and then the original data 1 to be smoothed is interpolated based on the interpolation error 6 thus estimating the smoothed data 5. Preferably, estimation is performed using a transfer function G(s) where a closed loop transfer function [G(s)/(1+G(s))] is stabilized. For example, [G(s)=(as+b)/s<SP>2</SP>] can be used (wherein, s is Laplace transformer, (a) and (b) are positive parameters for adjusting the speed of estimation and followability). <P>COPYRIGHT: (C)2008,JPO&amp;INPIT

Description

本発明は、データ発生周期よりも遅い周期での通信などにより粗くなったデータを補間して平滑化されたデータを得るためのデータ補間方法及びデータ補間装置に関する。   The present invention relates to a data interpolation method and a data interpolation apparatus for obtaining smoothed data by interpolating data coarsened by communication in a cycle slower than a data generation cycle.

当初のデータが、データ発生周期が短いデータ、例えば、アナログ信号である場合には、このデータをデジタル化したり、1/100秒周期など有限時間の周期による通信を行なったりすると、データが離散化され、滑らかだったデータが階段状のデータになってしまう。図5に示すように、通信間隔が短ければ、あるいは、デジタル化の際のビット数が多い場合には、離散化の影響は小さいが、通信間隔が長かったり、デジタル化の際のビット数が少ない場合には、粗いデータとなる。   If the initial data is data with a short data generation cycle, for example, an analog signal, the data is discretized when the data is digitized or communication is performed with a period of a finite time such as a 1/100 second period. As a result, the smooth data becomes stepped data. As shown in FIG. 5, if the communication interval is short or the number of bits at the time of digitization is large, the influence of discretization is small, but the communication interval is long or the number of bits at the time of digitization is small. When there are few, it becomes coarse data.

例えば、何らかの装置に位置指令などの動作指令データを与えて動作させる場合において、通信時のデータの離散化の影響により、元データである動作指令データが粗いデータとなりうる。このような粗いデータからなる動作指令をそのまま使用して装置を動作させると、装置の動作も不連続的な粗い動作となってしまい、好ましくない。このような場合には、粗いデータを補間した滑らかなデータを用いることによって解決できることが知られている。   For example, when an operation command data such as a position command is given to some device to operate it, the operation command data which is the original data can be coarse data due to the influence of discretization of data during communication. If the apparatus is operated using the operation command including such rough data as it is, the operation of the apparatus also becomes a discontinuous rough operation, which is not preferable. It is known that such a case can be solved by using smooth data obtained by interpolating coarse data.

そこで、従来、このような元データの補間方法として、様々な方法が提案されている。例えば、図6中の(a)に示すように、直線補間法が提案されている。この直線補間法は、粗いデータにおける2つのデータを結ぶ直線を求め、次の粗いデータを得るまではこの直線上にデータがあるとするものである。   Therefore, conventionally, various methods have been proposed as such an original data interpolation method. For example, as shown in FIG. 6A, a linear interpolation method has been proposed. In this linear interpolation method, a straight line connecting two pieces of data in coarse data is obtained, and there is data on this straight line until the next coarse data is obtained.

また、図6中の(b)に示すように、内挿(カーブフィッティング)法が提案されている。この内挿法は、過去の粗いデータ点列からのずれが最小となるような曲線(スプライン曲線、5次多項式など)を求め、次の粗いデータを得るまでは、この曲線上にデータがあるとするものである。   Further, as shown in FIG. 6B, an interpolation (curve fitting) method has been proposed. In this interpolation method, a curve (spline curve, fifth order polynomial, etc.) that minimizes the deviation from the past coarse data point sequence is obtained, and there is data on this curve until the next coarse data is obtained. It is what.

さらに、図6中の(c)に示すように、重み付け加算法が提案されている。この重み付け加算法は、前述の方法のように明示的に直線や曲線を求めるのではなく、過去のデータに重み付けをして足し合わせ、それらしいデータを得るものである。   Furthermore, as shown in (c) of FIG. 6, a weighted addition method has been proposed. This weighted addition method does not explicitly obtain a straight line or curve as in the above-described method, but weights and adds past data to obtain such data.

また、特許文献1には、少なくとも1つのデータが異なる複数のデータの値に基いて対象点における複数の補間値を各々求め、複数の補間値に各々異なる重みを乗じて加算することにより、対象点の出力補間値とするデータ補間方法が記載されている。   Further, Patent Document 1 obtains each of a plurality of interpolation values at a target point based on a plurality of data values having at least one different data, and multiplies each of the plurality of interpolation values by different weights and adds them. A data interpolation method is described in which point output interpolation values are used.

さらに、特許文献2には、デジタルデータ列から、データ補間により、そのデジタルデータ列の隣接する標本点(サンプリング点)どうしの途中の時点のデータ等、任意の時刻のデータを高精度に求めるために、取得したデジタルデータ列に基づいて、データfp(t)を求めるにあたり、取得したデジタルデータ列から窓関数によりN個の標本化データからなるデジタルデータ列を切り出し、切り出したデジタルデータ列に基づいて、内挿関数あるいは内挿関数と実質的に同等な内挿関数を採用し、窓関数の窓内の任意の時刻tのデータfp(t)を求めるデータ補間方法が記載されている。   Furthermore, in Patent Document 2, data at an arbitrary time, such as data at a point in time between adjacent sampling points (sampling points) of the digital data sequence, is obtained with high accuracy from the digital data sequence by data interpolation. Further, when obtaining the data fp (t) based on the acquired digital data sequence, a digital data sequence composed of N sampled data is extracted from the acquired digital data sequence by a window function, and based on the extracted digital data sequence. Thus, there is described a data interpolation method that employs an interpolation function or an interpolation function substantially equivalent to the interpolation function to obtain data fp (t) at an arbitrary time t within the window of the window function.

特開2002−290240公報JP 2002-290240 A 特開2002−278948公報JP 2002-278948 A

ところで、前述した種々のデータ補間方法においては、補間データが実際の元データに必ず収束するという保証はなく、また、元データにノイズが含まれる場合などでは、補間により得た直線や曲線が真値、すなわち、ノイズを含まず、離散化もされていないデータに対して、大きくずれてしまうことがある。すなわち、これらのデータ補間方法は、元データにノイズが含まれることによる影響が大きいといえる。   By the way, in the various data interpolation methods described above, there is no guarantee that the interpolation data will always converge to the actual original data, and when the original data includes noise, the straight lines and curves obtained by the interpolation are true. Values, that is, data that does not include noise and that are not discretized may be greatly shifted. That is, it can be said that these data interpolation methods are greatly influenced by the fact that the original data contains noise.

また、元データに重み付けをして足し合わせる方法においては、処理すべきデータ量が膨大なものとなり、迅速な信号処理が困難となり、装置の簡素化を図ることができない。   In addition, in the method of adding and weighting the original data, the amount of data to be processed becomes enormous, making it difficult to perform rapid signal processing and simplifying the apparatus.

そこで、本発明は、前記の実情に鑑みてなされたもので、その目的は、補間データが実際の元データに良好に収束し、また、元データに含まれるノイズの影響が抑えられ、かつ、処理装置の簡素化を図ることができるデータ補間方法及びデータ補間装置を提供することにある。   Therefore, the present invention has been made in view of the above circumstances, and the purpose thereof is that the interpolation data converges well on the actual original data, the influence of noise contained in the original data is suppressed, and It is an object of the present invention to provide a data interpolation method and a data interpolation device that can simplify the processing device.

前述の課題を解決し、前記目的を達成するため、本発明は、以下の構成のいずれか一を有するものである。   In order to solve the above-described problems and achieve the object, the present invention has any one of the following configurations.

〔構成1〕
本発明に係るデータ補間方法は、データ発生周期が短いアナログ信号である滑らかな当初データがデジタル化され、または、有限時間の周期による通信を行なったことにより離散化され、デジタル化の際のビット数が少ないため、または、通信間隔が長いことによって階段状の粗いデータとなっている元データ(x〔k〕)とこの元データ(x〔k〕)を補間して得た平滑化データ(xe〔k〕)との差分値(e〔k〕=x〔k〕−xe〔k〕)を得てこの差分値(e〔k〕)から次の平滑化データ(xe〔k+1〕)を推定するデータ補間方法であって、平滑化したい元データ(x〔k〕)から平滑化データ(xe〔k〕)を減じた差分値(e〔k〕=x〔k〕−xe〔k〕)を補間誤差として取得し、この補間誤差(e〔k〕)に基づいて平滑化したい元データ(x〔k〕)を補間して、閉ループ伝達関数〔G(s)/(1+G(s))〕が安定となる伝達関数〔G(s)=(as+b)/s 〕(ただし、sは、ラプラス変換子、a,bは、推定の速さ及び追従度を調整する正のパラメータ)を用いて、〔xe〔k+1〕=((as+b)/s )×e〕により次の平滑化したデータ(xe〔k+1〕)を推定し(ただし、〔k〕はk回目の演算で使われる値、〔k+1〕はその次の演算周期で使われる値である)、これらを演算周期Δtで繰り返し計算をすることで、伝達関数の演算が行われることを特徴とするものである。
[Configuration 1]
Data interpolation method according to the present invention, smooth initial data data generation period is short analog signal is digitized or discretized by conducted communication by period of finite time, bit during digitization Smooth data (x [k]) obtained by interpolating the original data (x [k]) and the original data (x [k]), which is coarse data due to a small number or a long communication interval, xe [k]) and a difference value (e [k] = x [k] −xe [k]) is obtained, and the next smoothed data (xe [k + 1]) is obtained from the difference value (e [k]). A data interpolation method for estimation, wherein a difference value (e [k] = x [k] −xe [k]) obtained by subtracting smoothed data (xe [k]) from original data (x [k]) to be smoothed ) As an interpolation error, and based on this interpolation error (e [k]) By interpolating the original data to be smoothed (x [k]), the closed-loop transfer function [G (s) / (1 + G (s)) ] is a transfer function which results in a stable [G (s) = (as + b) / s 2 ] (Where s is a Laplace transformer, a and b are positive parameters for adjusting the speed of estimation and the degree of tracking), and [xe [k + 1] = ((as + b) / s 2 ) × e ] To estimate the next smoothed data (xe [k + 1]) (where [k] is the value used in the kth calculation, [k + 1] is the value used in the next calculation cycle), The transfer function is calculated by repeatedly calculating these at the calculation cycle Δt .

〔構成
本発明に係るデータ補間装置は、データ発生周期が短いアナログ信号である滑らかな当初データがデジタル化され、または、有限時間の周期による通信を行なったことにより有限周期で離散化され、デジタル化の際のビット数が少ないため、または、通信間隔が長いことによって階段状の粗いデータとなっている元データ(x〔k〕)とこの元データ(x〔k〕)を補間して得た平滑化データ(xe〔k〕)との差分値(e〔k〕=x〔k〕−xe〔k〕)を得る差分計算機構と、差分計算機構により得られた差分値(e〔k〕)から次の平滑化データ(xe〔k+1〕)を推定する推定器とを備え、差分計算機構は、平滑化したい元データ(x〔k〕)から推定器が出力する平滑化データ(xe〔k+1〕)を減じた差分値(e〔k〕=x〔k〕−xe〔k〕)を補間誤差として取得して出力し、推定器は、差分計算機構により取得した補間誤差(e〔k〕)に基づいて平滑化したい元データ(x〔k〕)を補間して、閉ループ伝達関数〔G(s)/(1+G(s))〕が安定となる伝達関数〔G(s)=(as+b)/s 〕(ただし、sは、ラプラス変換子、a,bは、推定の速さ及び追従度を調整する正のパラメータ)を用いて、〔xe〔k+1〕=((as+b)/s )×e〕により次の平滑化したデータ(xe〔k+1〕)を出力し(ただし、〔k〕はk回目の演算で使われる値、〔k+1〕はその次の演算周期で使われる値である)、これらを演算周期Δtで繰り返し計算をすることで、伝達関数の演算を行うことを特徴とするものである。
[Configuration 2 ]
The data interpolating device according to the present invention digitizes smooth initial data which is an analog signal having a short data generation cycle , or is discretized by a finite cycle by performing communication in a finite time cycle . Smoothness obtained by interpolating the original data (x [k]) and the original data (x [k]), which are coarse data due to a small number of bits or a long communication interval Difference calculation mechanism for obtaining a difference value (e [k] = x [k] −xe [k]) from the digitized data (xe [k]), and a difference value (e [k]) obtained by the difference calculation mechanism And the estimator for estimating the next smoothed data (xe [k + 1]) from the data, and the difference calculation mechanism outputs the smoothed data (xe [k + 1] output from the estimator from the original data (x [k]) to be smoothed. ]) Minus the difference value (e [k] = x k] −xe [k]) is acquired and output as an interpolation error, and the estimator uses the original data (x [k]) to be smoothed based on the interpolation error (e [k]) acquired by the difference calculation mechanism. And the transfer function [G (s) = (as + b) / s 2 ] in which the closed-loop transfer function [G (s) / (1 + G (s))] is stable (where s is a Laplace transformer, a and b are the following smoothed data (xe [ x ] [x + 1] = ((as + b) / s 2 ) × e] using positive parameters for adjusting the speed of estimation and the degree of tracking ). k + 1]) (where [k] is the value used in the kth calculation, [k + 1] is the value used in the next calculation cycle), and these are repeatedly calculated in the calculation cycle Δt. Thus, the transfer function is calculated .

本発明においては、平滑化したい元データから平滑化データを減じた差分値から補間誤差を取得し、この補間誤差に基づいて平滑化したい元データを補間して平滑化したデータを推定するので、ノイズを含み離散化された粗いデータからも、真値を滑らかに推定することができる。   In the present invention, an interpolation error is acquired from the difference value obtained by subtracting the smoothed data from the original data to be smoothed, and the smoothed data is estimated by interpolating the original data to be smoothed based on this interpolation error. The true value can be estimated smoothly from coarse data including noise and discretized.

すなわち、本発明は、補間データが実際の元データに良好に収束し、また、元データに含まれるノイズの影響が抑えられ、かつ、処理装置の簡素化を図ることができるデータ補間方法及びデータ補間装置を提供することができるものである。   That is, the present invention provides a data interpolation method and data in which the interpolation data converges well on the actual original data, the influence of noise included in the original data is suppressed, and the processing apparatus can be simplified. An interpolation apparatus can be provided.

以下、本発明を実施するための最良の形態について図面を参照して説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

本発明に係るデータ補間方法は、元データとこの元データを補間して得た平滑化データとの差分値を得て、この差分値から次の平滑化データを推定するデータ補間方法であって、以下に述べる本発明に係るデータ補間装置によって実行される。   A data interpolation method according to the present invention is a data interpolation method for obtaining a difference value between original data and smoothed data obtained by interpolating the original data, and estimating next smoothed data from the difference value. This is executed by the data interpolation apparatus according to the present invention described below.

図1は、本発明に係るデータ補間装置の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of a data interpolation apparatus according to the present invention.

本発明に係るデータ補間装置は、図1に示すように、元データとこの元データを補間して得た平滑化データとの差分値を得る差分計算機構3と、差分計算機構3により得られた差分値から次の平滑化データを推定する推定器4とを備えている。   As shown in FIG. 1, the data interpolation apparatus according to the present invention is obtained by a difference calculation mechanism 3 that obtains a difference value between original data and smoothed data obtained by interpolating the original data, and a difference calculation mechanism 3. And an estimator 4 for estimating the next smoothed data from the difference value.

このデータ補間装置においては、元データ1は、伝送路2を経て、差分計算機構3に入力される。この差分計算機構3の出力は、推定器4に送られる。この元データ1は、当初のデータをデジタル化したり、例えば、1/100秒周期など有限時間の周期による通信を行なったりしたことにより、データが離散化され、階段状の粗いデータとなっているものである。   In this data interpolation apparatus, the original data 1 is input to the difference calculation mechanism 3 through the transmission path 2. The output of the difference calculation mechanism 3 is sent to the estimator 4. The original data 1 is digitized from the original data, or, for example, communication is performed with a period of a finite time such as a 1/100 second period, so that the data is discretized and becomes stepwise coarse data. Is.

推定器4は、補間データ(平滑化データ)5を出力し、このデータ補間装置の出力データとして外部に出力するとともに、差分計算機構3に戻す。差分計算機構3は、平滑化したい元データ1から推定器4が出力した補間データ5を減じた差分値から、補間誤差6を取得し、推定器4に出力する。推定器4は、差分計算機構3により取得された補間誤差6に基づいて、平滑化したい元データを補間して、補間データ(平滑化データ)5を出力する。   The estimator 4 outputs interpolated data (smoothed data) 5 and outputs it to the outside as output data of this data interpolator, and returns it to the difference calculation mechanism 3. The difference calculation mechanism 3 acquires an interpolation error 6 from the difference value obtained by subtracting the interpolation data 5 output from the estimator 4 from the original data 1 to be smoothed, and outputs the interpolation error 6 to the estimator 4. The estimator 4 interpolates original data to be smoothed based on the interpolation error 6 acquired by the difference calculation mechanism 3 and outputs interpolation data (smoothed data) 5.

推定器4においては、粗いデータが滑らかなデータ(真値)に追従するように、つまり、2つのデータの偏差がゼロに収束することを保証するため、真値の推定器として偏差補償器を用いて滑らかなデータの推定値を計算する。この推定器4の出力が短い時間間隔で細かい値を出力できるようにすれば、結果的に真値を推定した値を、長い通信間隔やデジタル化により生じる離散化誤差よりも細かく(滑らかに)得ることができる。   In the estimator 4, a deviation compensator is used as a true value estimator so that the coarse data follows the smooth data (true value), that is, to guarantee that the deviation between the two data converges to zero. Use to calculate smooth data estimates. If the output of the estimator 4 can output a fine value at a short time interval, the value obtained by estimating the true value is finer (smoothly) than a discretization error caused by a long communication interval or digitization. Obtainable.

この推定器4においては、閉ループ系が安定となる、すなわち、以下に示す閉ループ伝達関数が安定となるように、実部が負の極を持つような伝達関数G(s)に基づく推定を行うことが望ましい。
G(s)/(1+G(s))(∵sは、ラプラス変換子である。)
The estimator 4 performs estimation based on a transfer function G (s) whose real part has a negative pole so that the closed-loop system is stable, that is, the closed-loop transfer function shown below is stable. It is desirable.
G (s) / (1 + G (s)) (∵s is a Laplace transformer)

このような伝達関数G(s)としては、例えば、以下のものが考えられる。
G(s)=a/s ・・・・(実施例1)
G(s)=(as+b)/s ・・・・(実施例2)
G(s)=(as+bs+c)/s ・・・・(実施例3)
(∵a,b,cは、推定の速さ、追従度を調整する正のパラメータである。)
As such a transfer function G (s), for example, the following can be considered.
G (s) = a / s (Example 1)
G (s) = (as + b) / s 2 ... (Example 2)
G (s) = (as 2 + bs + c) / s 3 ... (Example 3)
(∵a, b, c are positive parameters for adjusting the speed of estimation and the degree of tracking.)

推定器4における伝達関数G(s)を〔(as+b)/s〕とした場合、a,bは、収束の速さを調整するパラメータとなる。これらa,bは、閉ループ伝達関数の極に影響し、伝達関数の極は、収束の速さに影響を与えるからである。 When the transfer function G (s) in the estimator 4 is [(as + b) / s 2 ], a and b are parameters for adjusting the convergence speed. This is because these a and b affect the pole of the closed-loop transfer function, and the pole of the transfer function affects the speed of convergence.

図2は、本発明に係るデータ補間装置の動作を示すフローチャートである。   FIG. 2 is a flowchart showing the operation of the data interpolation apparatus according to the present invention.

すなわち、データ補間装置においては、図2に示すように、ステップst1で元データ(通信データ)が入力されると、ステップst2に進み、推定値と、通信された元データとの差分を求める。次に、ステップst3に進み、推定器4により推定値を求める。推定器4による推定は、ステップst5において開始し、ステップst6に進み、前述の伝達関数〔G(s)=a/s〕、〔G(s)=(as+b)/s〕、または、〔G(s)=(as+bs+c)/s〕のいずれかを用いて推定を行い、ステップst7で推定を終了する。 That is, in the data interpolating apparatus, as shown in FIG. 2, when the original data (communication data) is input in step st1, the process proceeds to step st2, and the difference between the estimated value and the communicated original data is obtained. Next, it progresses to step st3 and an estimated value is calculated | required by the estimator 4. FIG. The estimation by the estimator 4 starts at step st5 and proceeds to step st6, where the transfer function [G (s) = a / s], [G (s) = (as + b) / s 2 ], or [ G (s) = (as 2 + bs + c) / s 3 ] is used for the estimation, and the estimation ends at step st7.

なお、伝達関数G(s)として〔G(s)=a/s〕を用いる場合(実施例1)においては、位置のみに対応して推定が行われるため、反応が鈍くなる傾向がある。また、伝達関数G(s)として〔G(s)=(as+bs+c)/s〕を用いる場合(実施例3)においては、逆に加速度まで対応して推定が行われるため、反応が敏感になり過ぎる傾向がある。そのため、伝達関数G(s)としては、〔G(s)=(as+b)/s〕を用いること(実施例2)が最も好ましい。 In the case where [G (s) = a / s] is used as the transfer function G (s) (Example 1), since the estimation is performed corresponding to only the position, the reaction tends to become dull. In addition, in the case of using [G (s) = (as 2 + bs + c) / s 3 ] as the transfer function G (s) (Example 3), since the estimation is performed corresponding to the acceleration, the reaction is performed. Tends to be too sensitive. Therefore, it is most preferable to use [G (s) = (as + b) / s 2 ] as the transfer function G (s) (Example 2).

推定が完了すると、ステップst4に進み、推定値を出力するとともに、この推定値を用いて、ステップst2に戻る。   When the estimation is completed, the process proceeds to step st4, where an estimated value is output, and the estimated value is used to return to step st2.

このデータ補間装置においては、推定値を求める演算として、例えば、以下の推定演算を行う。   In this data interpolation apparatus, for example, the following estimation calculation is performed as the calculation for obtaining the estimated value.

ある瞬間の推定結果をxe〔k〕、そのときの元データ(通信データ)をx〔k〕とする。〔k〕はk回目の演算で使われる値、〔k+1〕はその次の演算周期で使われる値である。推定値と元データとの偏差を、以下のように定義する。
e〔k〕=x〔k〕−xe〔k〕
Assume that the estimation result at a certain moment is xe [k], and the original data (communication data) at that time is x [k]. [K] is a value used in the k-th calculation, and [k + 1] is a value used in the next calculation cycle. The deviation between the estimated value and the original data is defined as follows.
e [k] = x [k] -xe [k]

このとき、推定計算は、以下のように示すことができる。
xe〔k+1〕=((as+b)/s)×e
At this time, the estimation calculation can be shown as follows.
xe [k + 1] = ((as + b) / s 2 ) × e

ここで、aとbは制御ゲイン、sはラプラス変換子である。この式の意味は、eを1回積分してaをかけた値とeを2回積分してbをかけた値とを足し合わせた値を出力するという意味である。   Here, a and b are control gains, and s is a Laplace transformer. The meaning of this expression is to output a value obtained by adding a value obtained by integrating e once and multiplying a by a value obtained by integrating e twice and multiplying b.

これをコンビュータ上で扱う離散化された式として表すと、例えば、以下の式となる。
w1〔k+1〕=w1〔k〕+e×Δt
w2〔k+1〕=w2〔k〕+w1〔k〕×Δt
x〔k+1〕=a×w1〔k+1〕+b×w2〔k+1〕
When this is expressed as a discretized expression handled on the computer, for example, the following expression is obtained.
w1 [k + 1] = w1 [k] + e × Δt
w2 [k + 1] = w2 [k] + w1 [k] × Δt
x [k + 1] = a * w1 [k + 1] + b * w2 [k + 1]

ここで、w1及びw2は、内部メモリにより保持された値であり、〔k〕はk回目の演算で使われる値であり、〔k+1〕はその次の演算周期で使われる値である。Δtは演算周期である。これらを演算周期Δtで繰り返し計算をすることで、前述した伝達関数の演算が行われることとなる。   Here, w1 and w2 are values held by the internal memory, [k] is a value used in the k-th calculation, and [k + 1] is a value used in the next calculation cycle. Δt is a calculation cycle. By repeating these calculations at the calculation cycle Δt, the above-described transfer function is calculated.

以下に、シミュレーションにおける検証例を示す。ある装置の位置を計測し、これを他の装置に送信して同じ動作をさせること(マスタ・スレーブ動作)を考える。   An example of verification in the simulation is shown below. Suppose that the position of a certain device is measured and transmitted to another device to perform the same operation (master / slave operation).

図3は、マスタ装置の真の位置と、マスタ装置の位置を計測してノイズが付加されたデータ、このデータを1秒周期で通信し粗くなった通信データ(元データ)と、本発明に係るデータ補間装置により補間した補間データとを示すグラフである。   FIG. 3 shows the true position of the master device, the data to which noise is added by measuring the position of the master device, the communication data (original data) that is roughened by communicating this data in a cycle of 1 second, and the present invention. It is a graph which shows the interpolation data interpolated by the data interpolation apparatus which concerns.

マスタ装置の真の位置と、計測によりノイズが付加されたデータと、これを1秒周期で通信し粗くなった通信データ(元データ)と、本発明に係るデータ補間装置により補間した補間データとを比較すると、図3に示すように、階段状となっている元データが補間されて、ある程度の傾きを持った補間データとなっており、補間が良好になされているといえる。   The true position of the master device, the data to which noise is added by measurement, the communication data (original data) that has been coarsened by communicating this with a cycle of 1 second, and the interpolation data interpolated by the data interpolation device according to the present invention 3, as shown in FIG. 3, the original data having a staircase shape is interpolated into interpolation data having a certain degree of inclination, and it can be said that the interpolation is performed well.

図4は、補間データと補間していない元データとでスレーブ装置を動作させた場合のスレーブ装置の動作を示すグラフである。   FIG. 4 is a graph showing the operation of the slave device when the slave device is operated with the interpolation data and the original data not interpolated.

補間データと補間していない元データとでそれぞれスレーブ装置を動作させた場合の動作結果においては、図4に示すように、明らかに、補間データを用いたほうが滑らかな動作となっていることがわかる。   In the operation result when the slave device is operated with the interpolation data and the original data which has not been interpolated, as shown in FIG. 4, it is apparent that the operation using the interpolation data is smoother. Recognize.

このシミュレーションでは、0.001秒周期のデータが1秒周期まで粗くなったものとして、推定器により、0.001秒周期のデータに補間している。よって、補間により、1000倍までデータ量を増やしていることになる。   In this simulation, it is assumed that the data having a period of 0.001 second has become coarse until the period of 1 second, and is interpolated into data having a period of 0.001 second by an estimator. Therefore, the amount of data is increased up to 1000 times by interpolation.

本発明に係るデータ補間装置の構成を示すブロック図である。It is a block diagram which shows the structure of the data interpolation apparatus which concerns on this invention. 本発明に係るデータ補間装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the data interpolation apparatus which concerns on this invention. 真の位置データと、位置を計測して得られたデータ、このデータを通信して粗くなった元データと、本発明に係るデータ補間装置により補間した補間データとを示すグラフである。It is a graph which shows the true position data, the data obtained by measuring the position, the original data roughened by communicating this data, and the interpolation data interpolated by the data interpolation apparatus according to the present invention. 本発明に係るデータ補間装置による補間データと補間していない元データとでスレーブ装置を動作させた場合のスレーブ装置の動作を示すグラフである。It is a graph which shows operation | movement of a slave apparatus at the time of operating a slave apparatus by the interpolation data by the data interpolation apparatus based on this invention, and the original data which are not interpolated. データが離散化され、滑らかだったデータが階段状のデータになる様子を示すグラフである。It is a graph which shows a mode that data are discretized and the smooth data turn into stepped data. 従来のデータ補間方法を示すグラフである。It is a graph which shows the conventional data interpolation method.

符号の説明Explanation of symbols

1 元データ
2 伝送路
3 差分計算機構
4 推定器
5 補間データ
6 補間誤差
1 Original data 2 Transmission path 3 Difference calculation mechanism 4 Estimator 5 Interpolation data 6 Interpolation error

Claims (2)

データ発生周期が短いアナログ信号である滑らかな当初データがデジタル化され、または、有限時間の周期による通信を行なったことにより離散化され、デジタル化の際のビット数が少ないため、または、通信間隔が長いことによって階段状の粗いデータとなっている元データ(x〔k〕)とこの元データ(x〔k〕)を補間して得た平滑化データ(xe〔k〕)との差分値(e〔k〕=x〔k〕−xe〔k〕)を得てこの差分値(e〔k〕)から次の平滑化データ(xe〔k+1〕)を推定するデータ補間方法であって
平滑化したい元データ(x〔k〕)から平滑化データ(xe〔k〕)を減じた差分値(e〔k〕=x〔k〕−xe〔k〕)を補間誤差として取得し、この補間誤差(e〔k〕)に基づいて平滑化したい元データ(x〔k〕)を補間して、閉ループ伝達関数〔G(s)/(1+G(s))〕が安定となる伝達関数〔G(s)=(as+b)/s 〕(ただし、sは、ラプラス変換子、a,bは、推定の速さ及び追従度を調整する正のパラメータ)を用いて、〔xe〔k+1〕=((as+b)/s )×e〕により次の平滑化したデータ(xe〔k+1〕)を推定し(ただし、〔k〕はk回目の演算で使われる値、〔k+1〕はその次の演算周期で使われる値である)、これらを演算周期Δtで繰り返し計算をすることで、伝達関数の演算が行われる
ことを特徴とするデータ補間方法。
Smooth initial data, which is an analog signal with a short data generation cycle, is digitized or discretized by communication in a finite time cycle , and the number of bits in digitization is small, or the communication interval The difference value between the original data (x [k]), which is stepwise coarse data due to a long time, and the smoothed data (xe [k]) obtained by interpolating the original data (x [k]) A data interpolation method for obtaining (e [k] = x [k] −xe [k]) and estimating next smoothed data (xe [k + 1]) from the difference value (e [k]) ,
A difference value (e [k] = x [k] −xe [k]) obtained by subtracting the smoothed data (xe [k]) from the original data (x [k]) to be smoothed is obtained as an interpolation error. Based on the interpolation error (e [k]), the original data (x [k]) to be smoothed is interpolated to make the closed loop transfer function [G (s) / (1 + G (s))] stable. G (s) = (as + b) / s 2 ] (where s is a Laplace transformer, a and b are positive parameters for adjusting the speed of estimation and the degree of tracking), and [xe [k + 1] = ((As + b) / s 2 ) × e] to estimate the next smoothed data (xe [k + 1]) (where [k] is the value used in the kth operation, and [k + 1] is the next By repeating these calculations at the calculation cycle Δt, the transfer function can be calculated. Data interpolation wherein the dividing.
データ発生周期が短いアナログ信号である滑らかな当初データがデジタル化され、または、有限時間の周期による通信を行なったことにより有限周期で離散化され、デジタル化の際のビット数が少ないため、または、通信間隔が長いことによって階段状の粗いデータとなっている元データ(x〔k〕)とこの元データ(x〔k〕)を補間して得た平滑化データ(xe〔k〕)との差分値(e〔k〕=x〔k〕−xe〔k〕)を得る差分計算機構と、差分計算機構により得られた差分値(e〔k〕)から次の平滑化データ(xe〔k+1〕)を推定する推定器とを備え
差分計算機構は、平滑化したい元データ(x〔k〕)から推定器が出力する平滑化データ(xe〔k+1〕)を減じた差分値(e〔k〕=x〔k〕−xe〔k〕)を補間誤差として取得して出力し
推定器は、差分計算機構により取得した補間誤差(e〔k〕)に基づいて平滑化したい元データ(x〔k〕)を補間して、閉ループ伝達関数〔G(s)/(1+G(s))〕が安定となる伝達関数〔G(s)=(as+b)/s 〕(ただし、sは、ラプラス変換子、a,bは、推定の速さ及び追従度を調整する正のパラメータ)を用いて、〔xe〔k+1〕=((as+b)/s )×e〕により次の平滑化したデータ(xe〔k+1〕)を出力し(ただし、〔k〕はk回目の演算で使われる値、〔k+1〕はその次の演算周期で使われる値である)、これらを演算周期Δtで繰り返し計算をすることで、伝達関数の演算を行う
ことを特徴とするデータ補間装置。
Smooth initial data, which is an analog signal with a short data generation period, is digitized, or it is discretized with a finite period by performing communication in a finite time period , and the number of bits at the time of digitization is small, or The original data (x [k]), which is stepwise coarse data due to a long communication interval, and the smoothed data (xe [k]) obtained by interpolating the original data (x [k]) Difference value (e [k] = x [k] −xe [k]) and the next smoothed data (xe [x] from the difference value (e [k]) obtained by the difference calculation mechanism. k + 1]) .
The difference calculation mechanism is a difference value (e [k] = x [k] −xe [k] obtained by subtracting the smoothed data (xe [k + 1]) output from the estimator from the original data (x [k]) to be smoothed. ]) As an interpolation error and output ,
The estimator interpolates the original data (x [k]) to be smoothed based on the interpolation error (e [k]) acquired by the difference calculation mechanism , and closes the closed loop transfer function [G (s) / (1 + G (s ))] Is a stable transfer function [G (s) = (as + b) / s 2 ] (where s is a Laplace transformer, a and b are positive parameters for adjusting the speed of estimation and the degree of tracking) ) To output the next smoothed data (xe [k + 1]) by [xe [k + 1] = ((as + b) / s 2 ) × e] (where [k] is the kth operation) (K + 1) is a value used in the next calculation cycle), and a transfer function is calculated by repeatedly calculating these values in the calculation cycle Δt .
JP2006117583A 2006-04-21 2006-04-21 Data interpolation method and data interpolation apparatus Expired - Fee Related JP4872439B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006117583A JP4872439B2 (en) 2006-04-21 2006-04-21 Data interpolation method and data interpolation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006117583A JP4872439B2 (en) 2006-04-21 2006-04-21 Data interpolation method and data interpolation apparatus

Publications (2)

Publication Number Publication Date
JP2007295063A JP2007295063A (en) 2007-11-08
JP4872439B2 true JP4872439B2 (en) 2012-02-08

Family

ID=38765268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006117583A Expired - Fee Related JP4872439B2 (en) 2006-04-21 2006-04-21 Data interpolation method and data interpolation apparatus

Country Status (1)

Country Link
JP (1) JP4872439B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6164457B2 (en) * 2013-03-28 2017-07-19 株式会社ジェイテクト Test system using network

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09266463A (en) * 1996-03-28 1997-10-07 Mitsubishi Electric Corp Data interpolation circuit ant data signal application circuit
JP3705098B2 (en) * 2000-09-01 2005-10-12 日本電気株式会社 Multi-bit delta-sigma AD converter
US6724332B1 (en) * 2002-08-13 2004-04-20 Cirrus Logic, Inc. Noise shaping circuits and methods with feedback steering overload compensation and systems using the same
JP2004139531A (en) * 2002-10-21 2004-05-13 Yaskawa Electric Corp Method for interpolating position command of servo device
US6888484B2 (en) * 2003-05-22 2005-05-03 Agere Systems Inc. Stable high-order delta-sigma error feedback modulators, and noise transfer functions for use in such modulators
US7190288B2 (en) * 2003-06-27 2007-03-13 Northrop Grumman Corp. Look-up table delta-sigma conversion
JP4270998B2 (en) * 2003-10-08 2009-06-03 Necエレクトロニクス株式会社 Analog signal output circuit and multilevel ΔΣ modulator using the analog signal output circuit

Also Published As

Publication number Publication date
JP2007295063A (en) 2007-11-08

Similar Documents

Publication Publication Date Title
CN107590317B (en) Generator dynamic estimation method considering model parameter uncertainty
CN108153259B (en) Multi-controller optimal state estimation control strategy design method based on Kalman filtering
JP5490151B2 (en) Method, apparatus and computer program for determining position information of rotor axis of rotor of electric machine
JP4998039B2 (en) Observation data assimilation method
JP2009300380A (en) Target tracking device
CN109269497A (en) Based on AUV cutting method to the multiple dimensioned Unscented kalman filtering estimation method of rate pattern
CN114124033A (en) Kalman filter implementation method, device, storage medium and equipment
CN110635858B (en) Autoregressive model channel prediction method based on quantum computation
CN116595897B (en) Nonlinear dynamic system state estimation method and device based on message passing
CN108313330B (en) Satellite interference torque estimation method based on augmented Kalman filtering
JP4872439B2 (en) Data interpolation method and data interpolation apparatus
JP2008107963A (en) Method for estimating three-dimensional data, and program
WO2004090782A1 (en) Accurate linear parameter estimation with noisy inputs
JP2018116511A (en) State estimator, and program
CN114139109A (en) Target tracking method, system, equipment, medium and data processing terminal
JP4882544B2 (en) TRACKING PROCESSING DEVICE, ITS METHOD, AND PROGRAM
JP2018146351A (en) Multisensor system, sensor bias estimation device, sensor bias estimation method, and sensor bias estimation program
CN109270455B (en) Induction motor state monitoring method based on weak-sensitivity ensemble Kalman filtering
CN107065537B (en) A kind of horizontal low speed that pushes away of AUV is without the motion control method in the case of output
JP4257743B2 (en) Data receiving apparatus, bit rate estimating method, program, and recording medium for estimating bit rate
JP4977492B2 (en) Target tracking device and target tracking method
CN111121827B (en) TMR magnetic encoder system based on Kalman filtering
US11801850B2 (en) Method for synchronizing signals
CN109582915B (en) Improved nonlinear observability self-adaptive filtering method applied to pure azimuth tracking
JP2003014462A (en) Attitude detection device of artificial satellite

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110105

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110125

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110607

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110805

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111025

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111107

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141202

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4872439

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141202

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees