JPH0236616A - Prediction device - Google Patents

Prediction device

Info

Publication number
JPH0236616A
JPH0236616A JP18555588A JP18555588A JPH0236616A JP H0236616 A JPH0236616 A JP H0236616A JP 18555588 A JP18555588 A JP 18555588A JP 18555588 A JP18555588 A JP 18555588A JP H0236616 A JPH0236616 A JP H0236616A
Authority
JP
Japan
Prior art keywords
time
signal
correlation coefficient
prediction
amplitude ratio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP18555588A
Other languages
Japanese (ja)
Inventor
Masahiro Iwadare
正宏 岩垂
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP18555588A priority Critical patent/JPH0236616A/en
Publication of JPH0236616A publication Critical patent/JPH0236616A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To attain the prediction with high accuracy when an input signal has a periodicity by finding out past input signals whose waveform is similar by means of a correlation coefficient, and using the past signal so as to obtain a prediction value. CONSTITUTION:Signals stored in a storage circuit 2 among signals before a one sample time of a present sampling time or over are X(j-k+1)-X(j-1), a correlation coefficient calculation section 3 calculates (k-L) sets of correlation coefficients P from (j+L-k) to P(j-1) and a mean amplitude ratio AC and outputs the result to a maximum value detection circuit 4. The maximum value detection circuit 4 obtains a time M when the absolute value of the (k-L) sets of correlation coefficients P is maximized and outputs the time M, the correlation coefficient P(M) and the mean amplitude ratio AC(M). Then a multiplier 5 obtains a product among codes of the signal X(M+1), the mean amplitude ratio AC(M) and the correlation coefficient P(M) stored in the storage circuit 2 and the result is outputted from an output terminal 6 as a prediction value XP(j+1) of the input signal at the next sampling time j+1. Thus, the prediction with high accuracy is attained simply.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は音声・音楽・画像などのディジタル信号の予測
技術に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a technology for predicting digital signals such as voice, music, and images.

〔従来の技術〕[Conventional technology]

現標本時刻までの入力信号より、次標本時刻の入力信号
を予測する従来の予測器として適応予測器がある。この
方式の概説としては、株式会社コロナ社発行の「ディジ
タル信号処理の理論」のill定・適応信号処理理論に
詳しい。以下、適応予測器の一例として、線形予測法の
一種である勾配を利用した確率近似法による予測原理を
簡単に述べる。
An adaptive predictor is a conventional predictor that predicts the input signal at the next sample time from the input signal up to the current sample time. A detailed overview of this method can be found in the theory of ill-defined/adaptive signal processing in ``Theory of Digital Signal Processing'' published by Corona Co., Ltd. Hereinafter, as an example of an adaptive predictor, a prediction principle based on a probability approximation method using a gradient, which is a type of linear prediction method, will be briefly described.

第3図は確率近似法による従来の適応予測器のブロック
図である。11は入力端子、12は記憶回路、13は減
算器、14は予測係数更新部、15は予測値計算部、1
6は遅延器である。
FIG. 3 is a block diagram of a conventional adaptive predictor based on the probability approximation method. 11 is an input terminal, 12 is a storage circuit, 13 is a subtracter, 14 is a prediction coefficient update section, 15 is a prediction value calculation section, 1
6 is a delay device.

予測器は現標本化時刻j以前のに個の信号、即ち、X 
(j−に+1)からX (j)までの信号により次標本
時刻の入力信号X (j+1)を予測するもので、予測
値をXP (j+1)とおくと、であり、時刻jにおけ
る予測誤差信号E(j)を次式のようにおくと、 E  (j)  −X  (j)−XP  (j)  
   ・ ・ ・(2)予測誤差信号の電力E” (j
)を最小とするように各係数を変化させる。予測誤差信
号の電力Et(j)は、 E2(j)  −(X  (j)−XP  (j)l 
 2・X(j−i))”     ・ ・ ・(3)で
あるので、予測誤差信号電力E2(j)の各予測係数に
対する勾配Δi  (j)は、=−2E  (j)  
・X(j−i)    (4)である。従って、予測誤
差信号電力E” (j)を最小とするには、各予測係数
Ai(j)は、以下に示すように変化させる。
The predictor uses the signals before the current sampling time j, i.e.
The input signal X (j+1) at the next sampling time is predicted using the signal from (+1 to j−) to X (j).If the predicted value is set as When the signal E(j) is set as the following equation, E (j) −X (j) −XP (j)
・ ・ ・(2) Power E” (j
) is changed to minimize each coefficient. The power Et(j) of the prediction error signal is E2(j) −(X (j)−XP (j)l
2.
・X(ji-i) (4). Therefore, in order to minimize the prediction error signal power E'' (j), each prediction coefficient Ai (j) is changed as shown below.

A□(j+1)=Ar (j)+g−E (j)・X(
j−4)      ・・・(5)gは修正係数であり
、入力信号の特性に応じて決定される定数であり、通常
1より充分小さい正の値を用いる。
A□(j+1)=Ar (j)+g−E (j)・X(
j-4) ... (5) g is a correction coefficient, which is a constant determined according to the characteristics of the input signal, and usually uses a positive value sufficiently smaller than 1.

以下に標本時刻jのときの信号の流れを説明する。記憶
回路12は、入力端子11から入力された信号X (j
)を予測係数の個数分に個保存する。減算器13は、入
力信号X (j)から予測信号XP(j)を減じて現標
本時間の入力信号に対する予測誤差E(j)を計算する
。予測係数更新部14は、式(5)に従って予測誤差E
(j)と記憶回路12内の入力信号X(j−に+1)か
らX(j)の信号を用いて予測係数A+(j)からAk
(j)を更新して、新しい予測係数AI(J+1)から
Ak(j+1)を求める。予測値計算部15は、式(5
)に従って更新された予測係数A+(j+1)からAh
(j+1)と、記憶回路12内の入力信号X (j−に
+1)からX(j)とより、火種本時刻の入力信号の予
測値XP (j+1)を求める。遅延器16は、火種本
時刻j+1に減算器13で予測誤差信号を計算するとき
に用いる予測値XP (j+1)を保存する。
The signal flow at sample time j will be explained below. The memory circuit 12 receives the signal X (j
) are saved for the number of prediction coefficients. The subtracter 13 subtracts the prediction signal XP(j) from the input signal X(j) to calculate the prediction error E(j) for the input signal at the current sample time. The prediction coefficient update unit 14 calculates the prediction error E according to equation (5).
(j) and the input signal X (+1 to j-) in the memory circuit 12 to the signal from X(j) to predict the prediction coefficient A+(j) to Ak.
(j) is updated and Ak(j+1) is obtained from the new prediction coefficient AI(J+1). The predicted value calculation unit 15 calculates the equation (5
) updated according to prediction coefficient A+(j+1) to Ah
(j+1) and the input signal X (+1 to j-) in the storage circuit 12, the predicted value XP (j+1) of the input signal at the main time of the fire is determined from X(j). The delay device 16 stores the predicted value XP (j+1) used when the subtracter 13 calculates the prediction error signal at the starting time j+1.

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

従来の適応予測器では、複雑な周波数特性をもった入力
信号に対しては高次の予測係数が必要となり、予測係数
の収束にかかる時間が増加するという欠点がある。
Conventional adaptive predictors have the disadvantage that high-order prediction coefficients are required for input signals with complex frequency characteristics, which increases the time required for the prediction coefficients to converge.

本発明の目的はこのような従来の欠点を除去し、入力信
号に周期性があれば、複雑な周波数特性の信号に対して
も予測精度が高精度になるまでの収束時間を必要とせず
に高精度の予測を行う予測器を提供することにある。
The purpose of the present invention is to eliminate such conventional drawbacks, and to eliminate the need for convergence time to achieve high prediction accuracy even for signals with complex frequency characteristics as long as the input signal has periodicity. The object of the present invention is to provide a predictor that makes highly accurate predictions.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の予測器は、 入力信号を保存する記憶回路と、 この記憶回路内の最新の整数個の入力信号と前記記憶回
路内の前標本時刻以前の入力信号間の相関係数と平均振
幅比を求める相関係数計算部と、前記相関係数の絶対値
が最大となるときの平均振幅比と時刻を選択する最大値
検出回路と、前記時刻の平均振幅比と前記時刻の相関係
数の符号と前記時刻の1標本時刻後の入力信号との積を
火種本時刻の入力信号の予測値として出力する乗算器と
から構成されることを特徴としている。
The predictor of the present invention includes a storage circuit for storing input signals, and a correlation coefficient and average amplitude ratio between the latest integer number of input signals in the storage circuit and input signals before a previous sample time in the storage circuit. a maximum value detection circuit that selects the average amplitude ratio and time when the absolute value of the correlation coefficient is maximum; It is characterized by comprising a multiplier that outputs the product of the code and an input signal one sample time after the above-mentioned time as a predicted value of the input signal at the main time.

〔作用〕[Effect]

過去の入力信号を保存しておき、現標本時刻近傍の信号
と波形が相似の部分を過去の信号列から選ぶ。入力信号
に周期性があるとき、火種本時刻の信号部分も前記の過
去の相似部分の信号列に相似になると予測されるので、
前記の過去の相似部分の次の信号値に平均振幅比を乗じ
た値を予測値として用いることができる。この予測器を
用いると、入力信号の周波数特性によらず、精度良い予
測を行うことができる。
Past input signals are saved, and a portion whose waveform is similar to the signal near the current sample time is selected from the past signal string. When the input signal has periodicity, it is predicted that the signal part of the main time of the flash will be similar to the signal sequence of the similar part in the past.
A value obtained by multiplying the next signal value of the past similar portion by the average amplitude ratio can be used as the predicted value. By using this predictor, accurate prediction can be made regardless of the frequency characteristics of the input signal.

〔実施例〕〔Example〕

第1図は本発明による予測器の一実施例である。 FIG. 1 is an embodiment of a predictor according to the present invention.

1は入力端子、2は記憶回路、3は相関係数計算部、4
は最大値検出回路、5は乗算器、6は出力端子である。
1 is an input terminal, 2 is a memory circuit, 3 is a correlation coefficient calculation unit, 4
5 is a maximum value detection circuit, 5 is a multiplier, and 6 is an output terminal.

現標本時刻をjとおくと、信号X(j)が入力端子1か
ら入力される。記憶回路2は過去に個の信号を保存する
。つまり、信号X (j−k)は破棄され、X(j−に
+1)からX (j)の信号が記憶回路2に蓄えられる
。相関係数計算部3は、記憶回路2に保存されている現
標本時刻jからL個の信号と現標本時刻jの1標本時刻
以前の信号との相関の評価、および、平均振幅比を計算
する。
Letting the current sample time be j, a signal X(j) is input from the input terminal 1. The memory circuit 2 stores past signals. That is, the signal X (j-k) is discarded, and the signals from X (+1 to j-) to X (j) are stored in the storage circuit 2. The correlation coefficient calculation unit 3 evaluates the correlation between the L signals from the current sample time j stored in the storage circuit 2 and the signals one sample time before the current sample time j, and calculates the average amplitude ratio. do.

本実施例では相関の評価として、相関係数P (t)を
次式のように計算する。
In this embodiment, as a correlation evaluation, a correlation coefficient P (t) is calculated as shown in the following equation.

P (t) = ・(6) 相関係数P (t)は−lから1の間の値をとり、その
絶対値が1に近いほど2つの波形が相似となる。また、
P (t)が正のときは2つの波形が同位相であり、負
のときは逆位相であることを示している。
P (t) = (6) The correlation coefficient P (t) takes a value between -l and 1, and the closer the absolute value is to 1, the more similar the two waveforms are. Also,
When P (t) is positive, the two waveforms are in phase, and when P (t) is negative, they are in opposite phases.

平均振幅比AC(t)は、記憶回路2に保存されている
現標本時刻jからL個の信号と現標本時刻jの1標本時
刻以前の信号との振幅の比の平均値であり、次式のよう
に電力の比の平方根を用いる。
The average amplitude ratio AC(t) is the average value of the amplitude ratios between L signals from the current sample time j stored in the memory circuit 2 and signals one sample time before the current sample time j, and is Use the square root of the power ratio as shown in the formula.

(Σ X2(t−i+1))  ”” AC(t)  = 現標本時刻の1標本時刻以前の信号のうち記憶回路2に
保存されている信号はX (j−に+l)からX(j−
1)であるので、相関係数計算部3はP (j+L−k
)からP(j−1)までの(kL)個の相関係数Pおよ
び平均振幅比ACを計算し、最大値検出回路4に出力す
る。最大値検出回路4は前記の(k−L)個の相関係数
Pの中からPの絶対値が最大となる時刻Mを求め、時刻
M。

1), the correlation coefficient calculation unit 3 calculates P (j+L−k
) to P(j-1), (kL) correlation coefficients P and average amplitude ratios AC are calculated and output to the maximum value detection circuit 4. The maximum value detection circuit 4 determines the time M at which the absolute value of P is maximum from among the (k-L) correlation coefficients P, and determines the time M.

相関係数P (M)および平均振幅比AC(M)を出力
する。これは第2図に示すように標本時刻j−L+1か
ら現標本時刻jまでの信号値、即ち、区間CIの入力信
号の標本比値系列は、標本時刻M−L+1からMまでの
信号値、即ち、区間C2の入力信号の標本比値系列と最
も相似となることを示している。入力信号に周期性があ
る場合、火種本時刻の信号X (j+1)も過去の標本
時刻M+1の信号X(M+1)に相似になると予測され
るので、信号X(M+1)に平均振幅比AC(M)と相
関係数P (M)の符号を乗じた値を信号X(j+1)
の予測値信号XP (j+1)として用いることができ
る。従って、乗算器5は記憶回路2に保存されている信
号X(M+1)と平均振幅比AC(M)と相関係数P 
(M)の符号の積を求め、火種本時刻j+1の入力信号
の予測値XP(j+1)として出力端子6から出力する
The correlation coefficient P (M) and the average amplitude ratio AC (M) are output. As shown in FIG. 2, the signal values from sample time j-L+1 to current sample time j, that is, the sample ratio value series of the input signal in interval CI, are the signal values from sample time M-L+1 to M, That is, it shows that it is most similar to the sampling ratio value series of the input signal in section C2. If the input signal has periodicity, it is predicted that the signal X (j+1) at the current time of the flash will be similar to the signal X (M+1) at the past sample time M+1, so the average amplitude ratio AC ( The signal X(j+1) is the value obtained by multiplying the sign of the correlation coefficient P (M) by the sign of the correlation coefficient P (M)
can be used as the predicted value signal XP (j+1). Therefore, the multiplier 5 uses the signal X(M+1) stored in the storage circuit 2, the average amplitude ratio AC(M), and the correlation coefficient P.
The product of the signs of (M) is calculated and outputted from the output terminal 6 as the predicted value XP(j+1) of the input signal at the actual spark time j+1.

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

本発明によれば、過去の入力信号から波形が相似の部分
を相関係数により見つけ出し、過去の信号を用いて予測
値を求めるので、入力信号に周期性がある場合、入力信
号の周波数特性によらず、予測精度が高精度になるまで
の収束時間を必要とせずに精度良い予測を行うことがで
きる。
According to the present invention, parts with similar waveforms are found from past input signals using a correlation coefficient, and a predicted value is obtained using the past signals. Therefore, when the input signal has periodicity, the frequency characteristics of the input signal Therefore, accurate prediction can be performed without requiring convergence time until the prediction accuracy becomes highly accurate.

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

第1図は本発明の一実施例を示す図、 第2図は記憶回路に保存されている信号Xを示す図、 第3図は従来の適用予測器を示す図である。 1・・・・・入力端子 2・・・・・記憶回路 3・・・・・相関係数計算部 4・・・・・最大値検出回路 5・・・・・乗算器 6・・・・・出力端子 FIG. 1 is a diagram showing an embodiment of the present invention; FIG. 2 is a diagram showing the signal X stored in the memory circuit, FIG. 3 is a diagram showing a conventional adaptive predictor. 1...Input terminal 2...Memory circuit 3... Correlation coefficient calculation section 4...Maximum value detection circuit 5... Multiplier 6...Output terminal

Claims (1)

【特許請求の範囲】[Claims] (1)入力信号を保存する記憶回路と、 この記憶回路内の最新の整数個の入力信号と前記記憶回
路内の前標本時刻以前の入力信号間の相関係数と平均振
幅比を求める相関係数計算部と、前記相関係数の絶対値
が最大となるときの平均振幅比と時刻を選択する最大値
検出回路と、前記時刻の平均振幅比と前記時刻の相関係
数の符号と前記時刻の1標本時刻後の入力信号との積を
次標本時刻の入力信号の予測値として出力する乗算器と
から構成されることを特徴とする予測器。
(1) A memory circuit for storing input signals, and a correlation for determining the correlation coefficient and average amplitude ratio between the latest integer number of input signals in this memory circuit and input signals before the previous sample time in the memory circuit. a maximum value detection circuit that selects the average amplitude ratio and time when the absolute value of the correlation coefficient is maximum; and the average amplitude ratio at the time, the sign of the correlation coefficient at the time, and the time. and a multiplier that outputs the product of the input signal after one sample time as a predicted value of the input signal at the next sample time.
JP18555588A 1988-07-27 1988-07-27 Prediction device Pending JPH0236616A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18555588A JPH0236616A (en) 1988-07-27 1988-07-27 Prediction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18555588A JPH0236616A (en) 1988-07-27 1988-07-27 Prediction device

Publications (1)

Publication Number Publication Date
JPH0236616A true JPH0236616A (en) 1990-02-06

Family

ID=16172856

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18555588A Pending JPH0236616A (en) 1988-07-27 1988-07-27 Prediction device

Country Status (1)

Country Link
JP (1) JPH0236616A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7210884B2 (en) 2004-06-28 2007-05-01 Sharp Kabushiki Kaisha Fastening component and appliance
JP2008205750A (en) * 2007-02-20 2008-09-04 Meidensha Corp Signal estimating device
US7699568B2 (en) 2003-06-04 2010-04-20 Union Seimitsu Co. Ltd Screw attachment, fastening assembly having screw attachment, and process of releasing fastening assembly

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7699568B2 (en) 2003-06-04 2010-04-20 Union Seimitsu Co. Ltd Screw attachment, fastening assembly having screw attachment, and process of releasing fastening assembly
US7210884B2 (en) 2004-06-28 2007-05-01 Sharp Kabushiki Kaisha Fastening component and appliance
JP2008205750A (en) * 2007-02-20 2008-09-04 Meidensha Corp Signal estimating device

Similar Documents

Publication Publication Date Title
RU2183034C2 (en) Vocoder integrated circuit of applied orientation
EP0577809B1 (en) Double mode long term prediction in speech coding
CA2132006C (en) Method for generating a spectral noise weighting filter for use in a speech coder
US5819209A (en) Pitch period extracting apparatus of speech signal
US4073009A (en) Apparatus for calculating amplitude values of sinusoidal waves
JPH0236616A (en) Prediction device
US4839842A (en) Digital tone detection and generation
JPH0350910A (en) Prediction device
WO1998037636A1 (en) Voice encoding method
JPH0350912A (en) Prediction device
JPS5917839B2 (en) Adaptive linear prediction device
JPH0350909A (en) Prediction device
JPS62203199A (en) Pitch cycle extraction system
JPH021661A (en) Packet interpolation system
JPH0350911A (en) Prediction device
Jain et al. Time-domain measurement of vented-box loudspeaker system parameters
JP2661140B2 (en) Digital type frequency relay
Mei et al. An efficient method to compute LSFs from LPC coefficients
KR940018766A (en) Error average calculation method of digital adaptive filter
SU1403196A1 (en) Remote measurement member
JP2005115592A (en) Simulation device and simulation method for switching circuit
JPH0798336A (en) Sampling type measuring device
JPS59158124A (en) Voice data quantization system
JPH04298800A (en) Quantizer and inverse quantizer
JP2020134639A (en) Acoustic signal processing method and acoustic signal processing device