JPH0550171B2 - - Google Patents

Info

Publication number
JPH0550171B2
JPH0550171B2 JP59039289A JP3928984A JPH0550171B2 JP H0550171 B2 JPH0550171 B2 JP H0550171B2 JP 59039289 A JP59039289 A JP 59039289A JP 3928984 A JP3928984 A JP 3928984A JP H0550171 B2 JPH0550171 B2 JP H0550171B2
Authority
JP
Japan
Prior art keywords
data
output
error
circuit
convex
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
JP59039289A
Other languages
Japanese (ja)
Other versions
JPS60182831A (en
Inventor
Susumu Kozuki
Masahiro Takei
Toshuki Masui
Katahide Hirasawa
Motoichi Kashida
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP3928984A priority Critical patent/JPS60182831A/en
Priority to US06/705,562 priority patent/US4763293A/en
Publication of JPS60182831A publication Critical patent/JPS60182831A/en
Publication of JPH0550171B2 publication Critical patent/JPH0550171B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Description

【発明の詳細な説明】 <技術分野> 本発明はデータ処理装置、特にオーデイオ信号
やビデオ信号等の時間的に連続なアナログ信号を
標本化したデータを記録再生系等の伝送系を介し
た後処理する装置に関するものである。
[Detailed Description of the Invention] <Technical Field> The present invention relates to a data processing device, particularly to a data processing device that processes data obtained by sampling a temporally continuous analog signal such as an audio signal or a video signal, after passing it through a transmission system such as a recording/reproducing system. It relates to a processing device.

<従来の技術の説明> 伝送系を介したデータ中には、例えば記録再生
時に発生するドロツプアウト等によるデータエラ
ーやデータ欠如に伴い低信頼度のデータが発生す
ることがある。この様な低信頼度データ(エラー
データ)が検出された場合、その検出されたエラ
ーデータを新たに発生したデータが置換するのが
一般的である。例えばオーデイオ信号を標本化し
たサンプルデータ列中にエラーデータが生じた場
合には、その前後のデータを用いて得た補間デー
タにより置換する方法が用いられてきた。その方
法としては、エラーデータの直前のデータをその
まま補間データとする前置ホールド法、エラーデ
ータの直前直後のデータの平均値のデータを補間
データとする平均値補間法、、エラーデータの近
傍のデータ(少なくとも4つ)より得た補間デー
タを用いる3次補間法が知られている。
<Description of Prior Art> In data transmitted through a transmission system, data with low reliability may occur due to data errors or lack of data due to, for example, dropouts that occur during recording and reproduction. When such low reliability data (error data) is detected, it is common to replace the detected error data with newly generated data. For example, when error data occurs in a sample data string obtained by sampling an audio signal, a method has been used in which the error data is replaced with interpolated data obtained using data before and after the error data. The methods include the pre-hold method, in which the data immediately before the error data is used as interpolation data, the average value interpolation method, in which the average value of the data immediately before and after the error data is used as the interpolation data, and the A cubic interpolation method using interpolated data obtained from (at least four) data is known.

この様な補間データの原信号データに対する近
似の程度としては前値ホールド法が最も悪く、以
下平均値補間法、3次補間法という順で良くなる
が、これに従つてハードウエアの規模も大きくな
つてしまう。特に3次補間法に於いては、エラー
データの前後に少なくとも2つずつ高信頼度のデ
ータ(非エラーデータ)が存在せねばならず、か
つ時間的に大きな隔たりのある4つのデータを構
成の大規模な演算回路で演算して補間データを得
ているので、ハードウエア的な構成が極めて複雑
となる。そのため余程精度の良い補間を行う場合
以外、特に民生用機器等には用いられない。
In terms of the degree of approximation of such interpolated data to the original signal data, the previous value hold method is the worst, followed by the average value interpolation method and the cubic interpolation method, which are better in that order, but the scale of the hardware also increases accordingly. I get used to it. In particular, in the cubic interpolation method, there must be at least two pieces of highly reliable data (non-error data) before and after the error data, and four pieces of data that are separated by a large time interval must be present. Since the interpolated data is obtained by calculation using a large-scale calculation circuit, the hardware configuration becomes extremely complicated. Therefore, it is not used particularly in consumer equipment, etc., except when interpolating with very high precision.

これに対して前値ホールド法は構成が極めて簡
単であるという利点があるが、第1図に示す如く
補間データがアナログ原信号に対してそれ程近似
されない。尚、第1図に於いて点線はアナログ原
信号、○は非エラーデータ、×は理想的な補間デ
ータ、△は現実の補間データである。
On the other hand, the prior value hold method has the advantage of an extremely simple configuration, but as shown in FIG. 1, the interpolated data is not very close to the analog original signal. In FIG. 1, the dotted line is the analog original signal, ◯ indicates non-error data, × indicates ideal interpolated data, and △ indicates actual interpolated data.

また、平均値補間法については後述する用な簡
単な回路構成をもつて実現することがでぎるが、
これでも第2図に示す如く補間データのアナログ
原信号に対する近似は十分でない。尚第2図に於
ける点線、○、×、△は夫々第1図のそれと同様
である。
In addition, the average value interpolation method can be implemented using a simple circuit configuration as described below.
Even with this, as shown in FIG. 2, the approximation of the interpolated data to the analog original signal is not sufficient. Note that the dotted lines, ○, x, and △ in FIG. 2 are the same as those in FIG. 1, respectively.

<発明の目的> 本発明は上述の如き欠点に鑑みてなされたもの
であつて、ハードウエア構成が簡単であり、かつ
精度の良い補間データでエラーデータを置換する
ことを可能としたデータ処理装置を提供すること
を目的とする。
<Object of the Invention> The present invention has been made in view of the above-mentioned drawbacks, and provides a data processing device that has a simple hardware configuration and is capable of replacing error data with highly accurate interpolation data. The purpose is to provide

<実施例による説明> 以下、本発明をその実施例を用いて詳細に説明
する。
<Explanation based on Examples> The present invention will be described in detail below using Examples.

第3図は本発明の一実施例としてのデータ処理
装置を示す図である。第3図に於いてDATA−
INは入力データ、DATA−OUTは出力データを
夫々示す。2はタイミングクロツクの入力端子、
4はタイミングクロツクに同期した周知の誤り検
出信号の入力端子である。誤り検出信号について
は周知の如くパリテイワードやCRCCのチエツク
により得たものであつて、DATA−INがエラー
データである時は“1”非エラーデータである時
は“0”が端子4より入力されるものとする。
FIG. 3 is a diagram showing a data processing device as an embodiment of the present invention. In Figure 3, DATA−
IN indicates input data, and DATA-OUT indicates output data. 2 is the timing clock input terminal,
4 is an input terminal for a well-known error detection signal synchronized with a timing clock. As is well known, the error detection signal is obtained by checking the parity word and CRCC, and when DATA-IN is error data, it is "1", and when it is non-error data, it is "0" from terminal 4. shall be entered.

6,8,10は夫々クロツクパルスによつて動
作し、入力されたデータを1サンプリング期間遅
延して出力するデータラツチ回路、12,14は
夫々全加算回路、16,18は夫々2つの入力デ
ータの一方を選択して出力するデータセレクタ、
20,22,24は夫々減算回路、26はデータ
の値を2倍にして出力する2倍回路、28,3
0,32,34は夫々インバータ、36は誤り検
出信号を1サンプリング期間遅延するラツチ回
路、38は排他的論理和回路(EXOR)である。
6, 8, and 10 are data latch circuits that are each operated by a clock pulse and output the input data with a delay of one sampling period; 12 and 14 are full adder circuits; and 16 and 18 are each one of the two input data. data selector to select and output,
20, 22, 24 are subtraction circuits, 26 is a doubling circuit that doubles the data value and outputs it, 28, 3
0, 32, and 34 are inverters, 36 is a latch circuit that delays the error detection signal by one sampling period, and 38 is an exclusive OR circuit (EXOR).

本例ではDATA−IN及びDATA−OUTは
夫々2′Sコンプリメントによる2値化データを扱
うものとする。第3図に於いて全加算回路12,
14は夫々2つの入力データより1ビツト多いデ
ータ(キヤリーを含む)を出力すると共に平均値
演算回路の構成要素となる。つまり、2つのデー
タA、Bの平均値を得る場合、各データA、Bを
2′Sコンプリメントからオフセツトバイナリによ
る2値化データとする。そしてこれらを全加算し
てその最下位ビツト(LSB)を除き、他の上位
ビツトを1ビツトシフトしてやればオフセツトバ
イナリによる2値化データとして平均値データが
得られる。尚オフセツトバイナリと2′Sコンプリ
メントとの変換は各データの最上位ビツト
(MSB)を反転することによつて行う。これは
各々インバータ28,30,32及び34にて行
われている。
In this example, DATA-IN and DATA-OUT each handle binary data using 2'S complement. In FIG. 3, the full adder circuit 12,
14 outputs data (including carry) that is 1 bit more than the two input data, and serves as a component of an average value calculation circuit. In other words, when obtaining the average value of two data A and B, each data A and B are
Binarized data is generated using offset binary from 2'S complement. Then, by adding all of these bits, removing the least significant bit (LSB), and shifting the other high-order bits by 1 bit, average value data can be obtained as binarized data using offset binary. Conversion between offset binary and 2'S complement is performed by inverting the most significant bit (MSB) of each data. This is done by inverters 28, 30, 32 and 34, respectively.

第4図は第3図a〜e各部の波形を示すタイミ
ングチヤートであり、以下第4図を用いて第3図
各部の動作について具体的に説明する。第4図e
に於いて、○は非エラーデータ、×は平均値補間
法による補間データ、△は第3図の構成による補
間データ、点線は原アナログ信号を夫々示す。
FIG. 4 is a timing chart showing the waveforms of each part of FIG. 3 a to e, and the operation of each part of FIG. 3 will be specifically explained below using FIG. 4. Figure 4 e
In the figure, ◯ indicates non-error data, × indicates interpolated data by the average value interpolation method, △ indicates interpolated data according to the configuration shown in FIG. 3, and dotted lines indicate original analog signals.

まず図中D3に示す非エラーデータとD5に示す
非エラーデータ間の補間データF4を求める時の
動作について説明する。ラツチ回路6より出力さ
れているデータはエラーデータであり、これに対
応してラツチ回路36の出力は“1”となる。セ
レクタ18からはラツチ回路36の出力が“1”
のときは全加算回路14の出力データのうち
MSBを反転し、LSBを除いたものが出力され、
“0”のときはラツチ回路6の出力データが出力
される用に構成されている。従つてこの場合には
前者が出力されることになる。
First, the operation when obtaining interpolated data F4 between the non-error data shown at D3 and the non-error data shown at D5 in the figure will be explained. The data output from the latch circuit 6 is error data, and correspondingly, the output of the latch circuit 36 becomes "1". The output of the latch circuit 36 from the selector 18 is “1”
When , among the output data of the full adder circuit 14
The MSB is inverted and the LSB removed is output,
When it is "0", the output data of the latch circuit 6 is output. Therefore, in this case, the former will be output.

全加算回路12はこの時DATA−INとして入
力されているデータD5とラツチ回路8により出
力されているデータD3の平均値データ(オフセ
ツトバイナリ)を出力する。一方セレクタ16よ
りはD3もしくはD5が出力され、オフセツトバイ
ナリによるデータとされた後D3とD5の平均値デ
ータと共に全加算回路14に供給される。従つ
て、セレクタ18のH側端子に供給されるデータ
は、セレクタ16がD3を出力する時(3D3
D5)/4、D5を出力する時(D3+3D5)/4と
いうことになる。つまり全加算回路14はあるデ
ータ(この場合エラーデータ)の直前のデータと
直後のデータとを1:3で混合したデータと、
3:1で混合したデータを出力可能であり、セレ
クタ16にてこれらの2つのデータの一方を出力
している。
The full adder circuit 12 outputs the average value data (offset binary) of the data D5 inputted as DATA-IN at this time and the data D3 outputted by the latch circuit 8. On the other hand, D 3 or D 5 is output from the selector 16, converted into offset binary data, and then supplied to the full adder circuit 14 together with the average value data of D 3 and D 5 . Therefore, the data supplied to the H side terminal of the selector 18 is 3D 3 + when the selector 16 outputs D3 .
D 5 )/4, and when outputting D 5 it becomes (D 3 +3D 5 )/4. In other words, the full adder circuit 14 mixes data immediately before and after certain data (in this case error data) at a ratio of 1:3, and
It is possible to output data mixed at a ratio of 3:1, and the selector 16 outputs one of these two data.

次にセレクタ16によるデータの選択動作につ
いて説明する。ラツチ回路10よりはデータD3
の更に前のデータD2が出力されているが、減算
器20では(D2−D3)が得られ、減算器22で
は(D3−D5)が得られる。またこれに伴い、2
倍回路26よりは2(D2−D3)が出力され、減算
回路24よりは{2(D2−D3)−(D3−D5)}が得
られる。この減算回路24の出力はアナログ原信
号のデータD2〜データD5間の2次微分的特徴を
示すものであり、減算回路24の出力データが正
のときは下に凸、負のときは上に凸ということに
なる。また、これはデータが2′Sコンプリメント
によるので減算回路24の出力データのMSB(第
4図bに示す)によつて示され、これが“1”で
ある時には上に凸、“0”である時は下に凸とな
る。一方減算回路22の出力データのMSB(第4
図cに示す)はデータD3がデータD5より大きい
とき“0”、小さいとき“1”となる。
Next, the data selection operation by the selector 16 will be explained. Data D 3 from latch circuit 10
The subtracter 20 obtains (D 2 -D 3 ), and the subtracter 22 obtains (D 3 -D 5 ). In addition, along with this, 2
The multiplier circuit 26 outputs 2(D 2 −D 3 ), and the subtraction circuit 24 outputs {2(D 2 −D 3 )−(D 3 −D 5 )}. The output of the subtraction circuit 24 shows a second-order differential characteristic between data D 2 to data D 5 of the analog original signal, and when the output data of the subtraction circuit 24 is positive, it is convex downward, and when it is negative, it is convex. This means that it is convex upward. Also, this is indicated by the MSB (shown in Figure 4b) of the output data of the subtraction circuit 24 since the data is based on 2'S complement; when this is "1" it is convex upward, and when it is "0" Sometimes it becomes convex downward. On the other hand, the MSB (4th
(shown in Figure c) becomes "0" when data D3 is larger than data D5 , and becomes "1" when it is smaller.

今、一般に時間的に連続した3つのデータA、
B、Cがあり、Bがエラーデータであるとする。
この時Bのサンプリングタイミングに於けるアナ
ログ原信号の値、即ち理想的補間データFは、ア
ナログ原信号が下に凸の時AとCの平均値(A+
C)/2より小さく、上に凸の時は(A+C)/
2より大きい。
Now, there are generally three pieces of temporally continuous data A,
Assume that there are B and C, and B is error data.
At this time, the value of the analog original signal at sampling timing B, that is, the ideal interpolated data F, is the average value of A and C (A+
When it is smaller than C)/2 and convex upward, it is (A+C)/
Greater than 2.

第4図のF4を求める場合の例ではこの考え方
に基き、アナログ原信号が上に凸(減算回路24
の出力データのMSBが“1”)のときにはD3
D5のうち大きい方のデータをセレクタ16が出
力する。つまり減算回路22の出力データの
MSBが“0”のときD3を、“1”のときD5を出
力する。また減算回路24の出力データのMSB
が“0”のときは、減算回路22の出力データの
MSBが“0”のときD5を、“1”のときD3を出
力する。
In the example of finding F 4 in Figure 4, based on this idea, the analog original signal is convex upward (the subtraction circuit 24
When the MSB of the output data is “1”), D 3 and
The selector 16 outputs the larger data among D5 . In other words, the output data of the subtraction circuit 22
When the MSB is "0", D3 is output, and when it is "1", D5 is output. Also, the MSB of the output data of the subtraction circuit 24
is “0”, the output data of the subtraction circuit 22
When the MSB is "0", D5 is output, and when it is "1", D3 is output.

従つて減算回路24の出力データのMSBと、
減算回路22の出力データのMSBの排他的論理
和が“1”のときD3を、“0”のときD5を出力し
てやればよいことになる。第4図eに示すアナロ
グ原信号の場合、減算回路24の出力データは正
であるため、そのMSBは“0”、減算回路22の
出力データは負であるためそのMSBは“1”と
なり、EXOR38の出力は“1”であり、セレ
クタ16はD3を出力する。このためセレクタ1
8の出力は(3D3+D5)/4となる。この値が補
間データとして原アナログ信号に近似されている
ことは第4図eにより明らかであろう。
Therefore, the MSB of the output data of the subtraction circuit 24,
It is sufficient to output D 3 when the exclusive OR of the MSB of the output data of the subtraction circuit 22 is "1", and output D 5 when it is "0". In the case of the analog original signal shown in FIG. 4e, the output data of the subtraction circuit 24 is positive, so its MSB is "0", and the output data of the subtraction circuit 22 is negative, so its MSB is "1". The output of EXOR 38 is "1", and selector 16 outputs D3 . For this reason, selector 1
The output of 8 is (3D 3 +D 5 )/4. It will be clear from FIG. 4e that this value is approximated to the original analog signal as interpolated data.

また第4図eに於けるF8、F11、F15についても
同様に2つの演算データのうちの1つを選択し、
F8=(D7+3D9)/4、F11=(3D10+D12)/4、
F15=(D14+3D16)/4を得る。
Similarly, one of the two calculation data is selected for F 8 , F 11 , and F 15 in FIG. 4e,
F 8 = (D 7 + 3D 9 )/4, F 11 = (3D 10 + D 12 )/4,
We get F 15 = (D 14 +3D 16 )/4.

上述の如き構成のデータ処理装置によればエラ
ーデータの前後のデータより2つの演算データを
得、かつそれらの1つを用いて補間を行うので、
比較的簡単なハードウエア構成で平均値補間に比
べてはるかにアナログ原信号に近似した補間用デ
ータを得ることができた。
According to the data processing device configured as described above, two calculation data are obtained from the data before and after the error data, and one of them is used to perform interpolation.
With a relatively simple hardware configuration, we were able to obtain interpolation data that was much closer to the analog original signal than average value interpolation.

第5図は本発明の他の実施例としてのデータ処
理装置を示す。第5図の例は特にアナログ原信号
が0レベルを中心とした波形である場合に有効な
もので、更にハードウエアの簡略化を図つたもの
である。尚第5図にて第3図と同様の構成要素に
は同一番号を付し、具体的な説明は略す。
FIG. 5 shows a data processing device as another embodiment of the present invention. The example shown in FIG. 5 is particularly effective when the analog original signal has a waveform centered around the 0 level, and further simplifies the hardware. In FIG. 5, the same components as in FIG. 3 are given the same numbers, and detailed explanations are omitted.

0レベルを中心としたアナログ信号は一般的に
0レベル以上で上に凸、0レベル以下で下に凸と
なる。そこで前出第3図の減算回路24の出力デ
ータのMSBの代わりに、全加算回路12の出力
データのMSBを用いた。
An analog signal centered around the 0 level generally has an upward convex above the 0 level, and a downward convex below the 0 level. Therefore, instead of the MSB of the output data of the subtraction circuit 24 shown in FIG. 3, the MSB of the output data of the full addition circuit 12 is used.

以下具体的に第4図のタイミングチヤートに於
ける補間データF4を得る場合について説明する。
全加算回路12の出力データは(D3+D5)/2
であり、アナログ原信号が補間データを得るタイ
ミングで正であるか負であるかをかなりの高い確
率で判別することができる。これは0レベルを中
心としたアナログ原信号の2次微分的な特徴を示
すものである。即ち全加算回路12の出力データ
が正のときはアナログ原信号が上に凸、負のとき
は下に凸となる。但し、全加算回路12の出力デ
ータはオフセツトバイナリによるもので、その
MSBが“1”のとき上に凸、“0”のとき下に凸
となる。これは0レベルを中心としたアナログ原
信号に限つて前出第3図の減算回路24の出力デ
ータのMSBと一致する。従つて、この全加算回
路12の出力データのMSBと減算回路22の出
力データの排他的論理和でセレクタ16を制御し
てやることにより同様の効果が期待できる。
A case in which the interpolated data F4 in the timing chart of FIG. 4 is obtained will be specifically described below.
The output data of the full adder circuit 12 is (D 3 +D 5 )/2
Therefore, it is possible to determine with a fairly high probability whether the analog original signal is positive or negative at the timing when interpolated data is obtained. This shows the second-order differential characteristics of the analog original signal centered around the 0 level. That is, when the output data of the full adder circuit 12 is positive, the analog original signal is convex upward, and when it is negative, it is convex downward. However, the output data of the full adder circuit 12 is based on offset binary;
When the MSB is "1", it is convex upward, and when it is "0", it is convex downward. This corresponds to the MSB of the output data of the subtraction circuit 24 shown in FIG. 3 above, only for the analog original signal centered around the 0 level. Therefore, a similar effect can be expected by controlling the selector 16 using the exclusive OR of the MSB of the output data of the full addition circuit 12 and the output data of the subtraction circuit 22.

第5図に示す構成のデータ処理回路によれば極
めて簡単なハードウエア構成により、近似精度の
高い補間データを得ることができる。
According to the data processing circuit having the configuration shown in FIG. 5, interpolated data with high approximation accuracy can be obtained with an extremely simple hardware configuration.

第3図及び第5図に示す実施例は選択する演算
データの種類が2種類の場合のみ説明したが、種
類を増やせばハードウエア構成がやや複雑となる
が、更に精度の高い近似のされた補間データを得
ることが可能となる。
The embodiments shown in FIGS. 3 and 5 have been explained only in the case where two types of calculation data are selected, but if the number of types is increased, the hardware configuration becomes slightly complicated, but it is possible to achieve even more accurate approximation. It becomes possible to obtain interpolated data.

第6図は3種類の演算データを選択する場合の
実施例を示す図である。第6図に於いて第5図と
同様の構成要素には同一番号を付す。尚、本例も
0レベルを中心レベルとしたアナログ原信号を標
本化したデータを対象として有効なものである。
本例は前述の2次微分的な特徴を用いて行つた演
算データの選択に加え、アナログ原信号に凹凸が
ほとんどない部分では、低信頼度データの直前直
後のデータの平均値のデータを補間データとしよ
うとするものである。
FIG. 6 is a diagram showing an embodiment in which three types of calculation data are selected. Components in FIG. 6 that are similar to those in FIG. 5 are given the same numbers. Note that this example is also effective for data obtained by sampling an analog original signal with the 0 level as the center level.
In this example, in addition to selecting the calculation data using the above-mentioned quadratic differential feature, in areas where the analog original signal has almost no unevenness, the average value of the data immediately before and after the low reliability data is interpolated. It is intended to be used as data.

第6図に於いてはこの凹凸のほとんどない部分
が、0レベル付近であることに注目して、低信頼
度データの直前直後のデータの平均値データが0
レベル付近であればその平均値データを補間デー
タとする。40はオフセツトバイナリによるデー
タから2′Sコンプリメントによるデータに変換す
るためのインバータ、42は所定の比較データ(X)
を発生する回路、43は減算回路、44は加算回
路、45はノア回路、46はデータセレクタであ
る。
In Figure 6, it is noted that the part with almost no unevenness is near the 0 level, and the average value data of the data immediately before and after the low reliability data is 0.
If it is near the level, the average value data is used as interpolation data. 40 is an inverter for converting data based on offset binary into data based on 2'S complement; 42 is predetermined comparison data (X);
43 is a subtraction circuit, 44 is an addition circuit, 45 is a NOR circuit, and 46 is a data selector.

以下、動作の説明を行う。EXOR38からは
前述した2次微分的特徴に応じて“1”または
“0”が出力され、これに応じて全加算回路14
からはエラーデータの直前のデータと直後のデー
タとを1:3または3:1で混合したデータ(オ
フセツトバイナリによる)が出力され、セレクタ
46の2入力の一方となる。これに対し全加算回
路12の出力データのLSBを除いたものはそれ
らの平均値データであり、この平均値データはセ
レクタ46の2入力の他方となる。今、この平均
値データの値をyとするときyの絶対値がxより
小さい、即ちyが0レベル付近である条件は−x
<y<xである。つまりx−y>0でかつ、y+
x>0であれば良く、これをハードウエア的に構
成したものが減算回路43及び加算回路44であ
る。つまり減算回路43及び加算回路44の出力
データが共に正、即ちそれらの出力データの
MSBが共に“0”のとき、アナログ原信号の凹
凸が少ないと判断できる。この時ノアゲート45
は“1”を出力し、セレクタ46は上述の平均値
データを出力する。
The operation will be explained below. The EXOR 38 outputs "1" or "0" according to the above-mentioned second-order differential characteristics, and the full adder circuit 14
outputs data that is a 1:3 or 3:1 mix of the data immediately before and the data immediately following the error data (based on offset binary), and becomes one of the two inputs of the selector 46. On the other hand, the output data of the full adder circuit 12 excluding the LSB is their average value data, and this average value data becomes the other of the two inputs of the selector 46. Now, when the value of this average value data is y, the condition that the absolute value of y is smaller than x, that is, y is around 0 level is -x
<y<x. In other words, x-y>0 and y+
It is sufficient if x>0, and the subtraction circuit 43 and addition circuit 44 are hardware configurations of this. In other words, the output data of the subtraction circuit 43 and the addition circuit 44 are both positive, that is, their output data
When both MSBs are "0", it can be determined that the analog original signal has little unevenness. At this time Noah Gate 45
outputs "1", and the selector 46 outputs the above-mentioned average value data.

上述の如き構成によれば、エラーデータの直前
のデータと直後のデータとを3:1、1:1及び
1:3で混合した3種類の演算データを適宜選択
的に補間データとしてエラーデータと置換してや
ることによつて、比較的簡単なハードウエア構成
で、原アナログ信号に対する近似精度を大きく高
めることにができる。
According to the configuration described above, three types of calculation data obtained by mixing the data immediately before and the data immediately after the error data at a ratio of 3:1, 1:1, and 1:3 are selectively used as interpolation data as the error data. By performing this substitution, the accuracy of approximation to the original analog signal can be greatly improved with a relatively simple hardware configuration.

もちろん第3図に示す装置の減算回路24の出
力が0付近の時、平均値データを用いる様に構成
し、いかなるアナログ原信号を標本化したデータ
に対しても適用可能に構成することができる。
Of course, when the output of the subtraction circuit 24 of the device shown in FIG. 3 is near 0, the average value data can be used, and the configuration can be applied to data obtained by sampling any analog original signal. .

尚、前出の各実施例の装置に於いて3:1や
1:3等の比率でエラーデータの直前直後のデー
タを混合しているのは、各実施例より明らかな様
にこれらは2つの平均値演算回路の組合せにて容
易に構成でき、かつ平均値演算回路はハードウエ
ア構成が極めて簡単な為である。つまり複数の演
算データを得るためのハードウエア構成が複数の
平均値演算回路を用いることによつて、簡単に構
成できている。
In addition, in the apparatus of each of the above-mentioned embodiments, the data immediately before and after the error data are mixed at a ratio of 3:1 or 1:3, as is clear from each embodiment. This is because it can be easily configured by a combination of two average value calculation circuits, and the average value calculation circuit has an extremely simple hardware configuration. In other words, the hardware configuration for obtaining a plurality of calculation data can be easily configured by using a plurality of average value calculation circuits.

<発明の効果> 以上説明した様に本発明によれば、エラーデー
タの直前の第1のデータと直後の第2のデータと
の値を比較し、前記エラーデータの近傍のアナロ
グ信号波形が上に凸か、下に凸かを判別し、その
比較結果と判別結果とを用いて、前記アナログ信
号波形が上に凸な場合には前記第1のデータと前
記第2のデータのうち値が大きなデータに値が小
さなデータよりも大きな重み付けを行い、アナロ
グ信号波形が下に凸な場合には前記第1のデータ
と前記第2のデータのうち値が小さなデータに値
が大きなデータよりも大きな重み付けを行い、そ
の重み付けされた前記第1のデータと前記第2の
データとを加算して得られたデータで前記エラー
データを置換することによつて、簡単なハードウ
エア構成で極めてアナログ原信号に近似したデー
タを得ることができる。
<Effects of the Invention> As explained above, according to the present invention, the values of the first data immediately before the error data and the second data immediately after the error data are compared, and the analog signal waveform near the error data is determined to be higher. It is determined whether the analog signal waveform is upwardly convex or downwardly convex, and using the comparison result and the discrimination result, if the analog signal waveform is upwardly convex, the value of the first data and the second data is determined. Large data is weighted more than data with small values, and when the analog signal waveform is convex downward, data with small values of the first data and second data is weighted more than data with large values. By performing weighting and replacing the error data with data obtained by adding the weighted first data and the second data, an extremely analog original signal can be obtained with a simple hardware configuration. It is possible to obtain data that approximates .

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

第1図は従来の前置ホールド法におけるデータ
置換の様子を示す図、第2図は従来の平均値補間
法におけるデータ置換の様子を示す図、第3図は
本発明の一実施例としてのデータ処理装置を示す
図、第4図は第3図各部の波形を示すタイミング
チヤート、第5図は本発明の他の実施例としての
データ処理装置を示す図、第6図は本発明の更に
他の実施例としてのデータ処理装置を示す図であ
る。 6,8,10は夫々ラツチ回路、12,14は
夫々演算手段に含まれる全加算回路、16は選択
手段に含まれるデータセレクタ、18は置換手段
に含まれるデータセレクタである。
FIG. 1 is a diagram showing how data is replaced in the conventional pre-hold method, FIG. 2 is a diagram showing how data is replaced in the conventional average value interpolation method, and FIG. 3 is a diagram showing how data is replaced in the conventional mean value interpolation method. FIG. 4 is a timing chart showing waveforms of each part of FIG. 3, FIG. 5 is a diagram showing a data processing device as another embodiment of the present invention, and FIG. FIG. 7 is a diagram showing a data processing device as another example. Numerals 6, 8, and 10 are latch circuits, 12 and 14 are full adder circuits included in the arithmetic means, 16 is a data selector included in the selection means, and 18 is a data selector included in the replacement means.

Claims (1)

【特許請求の範囲】 1 時間的に連続なアナログ信号を標本化したサ
ンプルデータ列を処理する装置であつて、 エラーデータの直前の第1のデータと直後の第
2のデータとの値を比較する比較手段と、 前記エラーデータの近傍の前記アナログ信号波
形が上に凸か、下に凸かを判別する判別手段と、 前記比較手段と前記判別手段との検出結果を用
いて、前記アナログ信号波形が上に凸な場合には
前記第1のデータと前記第2のデータのうち値が
大きなデータに値が小さなデータよりも大きな重
み付けを行い、前記アナログ信号波形が下に凸な
場合には前記第1のデータと前記第2のデータの
うち値が小さなデータに値が大きなデータよりも
大きな重み付けを行い、その重み付けされた前記
第1のデータと前記第2のデータとを加算する演
算手段と、 前記演算手段で得られたデータで前記エラーデ
ータを置換する置換手段とを具えることを特徴と
するデータ処理装置。
[Claims] 1. A device for processing a sample data sequence obtained by sampling a temporally continuous analog signal, which compares the values of first data immediately before error data and second data immediately after error data. a comparing means for determining whether the analog signal waveform in the vicinity of the error data is convex upward or convex downward; When the waveform is upwardly convex, the data with a larger value of the first data and the second data is weighted more than the data with a smaller value, and when the analog signal waveform is downwardly convex, Arithmetic means for weighting data with a smaller value greater than data with a larger value among the first data and the second data, and adding the weighted first data and the second data. and replacement means for replacing the error data with the data obtained by the calculation means.
JP3928984A 1984-02-27 1984-03-01 data processing equipment Granted JPS60182831A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3928984A JPS60182831A (en) 1984-03-01 1984-03-01 data processing equipment
US06/705,562 US4763293A (en) 1984-02-27 1985-02-26 Data processing device for interpolation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3928984A JPS60182831A (en) 1984-03-01 1984-03-01 data processing equipment

Publications (2)

Publication Number Publication Date
JPS60182831A JPS60182831A (en) 1985-09-18
JPH0550171B2 true JPH0550171B2 (en) 1993-07-28

Family

ID=12548993

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3928984A Granted JPS60182831A (en) 1984-02-27 1984-03-01 data processing equipment

Country Status (1)

Country Link
JP (1) JPS60182831A (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS598887B2 (en) * 1973-10-29 1984-02-28 株式会社日立製作所 Code error compensation circuit device in digital recording device
JPS5494310A (en) * 1978-01-10 1979-07-26 Toshiba Corp Error correcting system

Also Published As

Publication number Publication date
JPS60182831A (en) 1985-09-18

Similar Documents

Publication Publication Date Title
JPH0631989B2 (en) Waveform generator for electronic musical instruments
US4763293A (en) Data processing device for interpolation
US4774686A (en) Serial digital signal processing circuitry
JPS62258530A (en) Decoder for digital signal
JPH05198098A (en) Digital-type peak detector and peak-position estimating method
US3720875A (en) Differential encoding with lookahead feature
JPH0550171B2 (en)
JPS63108566A (en) Digital muting circuit
EP0196034A2 (en) Apparatus for recording and reproducing digital signal
EP0180971A2 (en) Wave shaping circuit
JPH0546728B2 (en)
JPH0778970B2 (en) Data processing device
JPS60182830A (en) data processing equipment
JPH0227647Y2 (en)
JPS6141241A (en) Pcm voice transmission method
JP2912402B2 (en) Signal detection circuit in magnetic recording / reproducing device
JPH08195037A (en) Evaluation device for optical disk and recorded information reproducing device
JPH0773187B2 (en) Bit length expansion device
JPS6367267B2 (en)
JPH03102265A (en) Maximum value detecting circuit
JP2635616B2 (en) Digital sample rate converter
JPS6147451B2 (en)
JPH0766632B2 (en) Digital audio player
JP2553795B2 (en) Velocity error detector
JPS60165135A (en) Data processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term