JPS61126670A - Digital code error correcting device - Google Patents

Digital code error correcting device

Info

Publication number
JPS61126670A
JPS61126670A JP24441284A JP24441284A JPS61126670A JP S61126670 A JPS61126670 A JP S61126670A JP 24441284 A JP24441284 A JP 24441284A JP 24441284 A JP24441284 A JP 24441284A JP S61126670 A JPS61126670 A JP S61126670A
Authority
JP
Japan
Prior art keywords
data
shift register
circuit
output
register circuit
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
JP24441284A
Other languages
Japanese (ja)
Inventor
Toshifumi Shibuya
渋谷 敏文
Hiroshi Endo
浩 遠藤
Yasuyuki Inoue
井上 靖行
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP24441284A priority Critical patent/JPS61126670A/en
Publication of JPS61126670A publication Critical patent/JPS61126670A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1876Interpolating methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Noise Elimination (AREA)

Abstract

PURPOSE:To suppress a circuit increase necessary to interpolate an average value and to obtain serial data from the upper-most digit bit by adding alternately the data of two channels to a digital code error correcting device, storing successively the data to a serial type shift register and converting error data to pre-holding data. CONSTITUTION:When the data of two right and left channels are added to an input terminal 42, a PS shift register circuit 1 fetches the data alternately successively, adds successively from the lower-most digit bit of respective data to a 4A side of a data selecter 4, and adds an output 3Q of a shift register 3 to a 4B side. When the data are correct, the data flow in the order of the circuit 1, the data selector 4, a shift register 2 and a data selector 6. When the data are an error, the selector 4 selects the 4B side, fetches previous sample data stored at the circuit 3 into the circuit 2, converts to the holding data, and adds the data from the circuit 1 at the serial adder circuit through the circuit 3 and the summed-up average data through the selector 6 to the data selector 8.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はPCMオーディオ再生装置に係り、特に誤シデ
ータを平均値補間及び前値保持するに好適なディジタル
符号誤り補正装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to a PCM audio playback device, and more particularly to a digital code error correction device suitable for average value interpolation and previous value retention of erroneous data.

〔発明の背景〕[Background of the invention]

PCMオーデスオ機器は、アナログ信号をディジタル信
号に変換し、それに誤り検出訂正符号を付加し記録媒体
に記録再生する。再生時に発生するデータの誤りは、上
記誤り検出訂正符号により検出、訂正処理が施されるが
、訂正不可能なデータについては、一般的に、平均値補
間及び前値保持と言った手段により補正を加える。
PCM audio equipment converts an analog signal into a digital signal, adds an error detection and correction code to the signal, and records and reproduces the signal on a recording medium. Data errors that occur during playback are detected and corrected using the above-mentioned error detection and correction code, but uncorrectable data is generally corrected by means such as average value interpolation and previous value retention. Add.

従来このディジタル符号誤り補正装置は、特開昭58−
104540号に記載のように、回路規模の低減を狙い
直列演算処理を行なう構成となっていた。しかし、2チ
ヤンネルによるステレオ再生tl−実現するには、上記
従来回路構成t−2系統設けなければならず、ステレオ
再生について配慮されていなかった。またディジタル・
アナログ変換器に、前記従来回路構成を接続することに
関し、ディジタル・アナログ変換器の入力フォーマット
が最上位ビットから入力する直列形の場合、出力用に並
列入力直列出力のシフトレジスタを付加する必要があり
、この点に関し配慮されていなかった。
Conventionally, this digital code error correction device was disclosed in Japanese Patent Application Laid-Open No. 1983-
As described in No. 104540, the configuration was such that serial arithmetic processing was performed with the aim of reducing the circuit scale. However, in order to realize stereo reproduction tl- with two channels, it is necessary to provide two systems of the conventional circuit configuration t-1, and no consideration has been given to stereo reproduction. Also, digital
Regarding connecting the conventional circuit configuration to an analog converter, if the input format of the digital-to-analog converter is a serial type in which input starts from the most significant bit, it is necessary to add a shift register with parallel input and serial output for output. However, no consideration was given to this point.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、2チヤンネルステレオ再生においても
、誤りデータ補正機能を変えることなく回路規模の増加
を最小限に押さえると共に、最上位ピットから直列に入
力する。ディジタル・アナログ変換器の入カフオーマv
トに対応したディジタル符号誤り補正装置を提供するこ
とにある。
An object of the present invention is to minimize the increase in circuit scale without changing the error data correction function even in two-channel stereo reproduction, and to input data in series from the highest pit. Digital-to-analog converter input camera v
The object of the present invention is to provide a digital code error correction device that is compatible with

〔発明の概要〕[Summary of the invention]

2チヤンネルのデータL、Rを交互にディジタル符号誤
り補正装置に加え、゛ディジタル符号誤υ補正装置にお
いては、これらのデータを直列形シフトレジスタに順次
格納し、誤りデータに関しては、最初に前値保持データ
に変換することにより、平均値補間に必要な回路増加を
押さえ友ものである。
The data L and R of the two channels are alternately applied to the digital code error correction device. In the digital code error correction device, these data are sequentially stored in a serial shift register, and for error data, the previous value is first stored. By converting to retained data, the increase in circuitry required for average value interpolation can be reduced.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図により説明する。第1
図において、取り扱う1ワードのデータはオ7セヅトバ
イナリ表示で量子化数は16ビツトであり、左右2チャ
ンネルのデータは交互に標本化周波数の繰シ返し周期で
加わる。又各ワードのデータが誤りであるかは、データ
に付加された誤シ検出符号の地理により、分かつている
ものとする。第1図において、1は16ビツト並列デー
タを入力とし最下位ビット(以下LSBト記す)からシ
リアルでデータを出力するパラレル人カシリアル出力形
シフトレジスタ回路(以下PSシフトレジスタ回路と記
す)である。
An embodiment of the present invention will be described below with reference to FIG. 1st
In the figure, one word of data to be handled is expressed in binary format with a quantization number of 16 bits, and the data of the two left and right channels are added alternately at the repetition period of the sampling frequency. Also, it is assumed that it is known whether the data of each word is erroneous or not based on the geography of the error detection code added to the data. In FIG. 1, reference numeral 1 denotes a parallel output type shift register circuit (hereinafter referred to as PS shift register circuit) which receives 16-bit parallel data and outputs data serially from the least significant bit (hereinafter referred to as LSB).

2.3は1ワード16ビツトのシフトレジスタ回路であ
る。4.6及び8〜23はデータセレクタ回路、7は直
列形加算回路、24〜41はう、子回路、42はPSシ
フトレジスタ回路1にデータを供給する入力端子、43
は出力端子である。
2.3 is a shift register circuit of 1 word and 16 bits. 4. 6 and 8 to 23 are data selector circuits, 7 is a serial adder circuit, 24 to 41 are child circuits, 42 is an input terminal that supplies data to the PS shift register circuit 1, 43
is the output terminal.

次に本実施例についての動作を第2図〜第4図のタイミ
ング図を用いて説明する。該タイミング図の左側に記し
た符号は、第1図中の各部の信号に対応するものである
。第2図はデータに誤シがない状態におけるタイミング
図で、入力端子42にり。+RO+LI NR1・・・
の順に各ワードのデータが加わる。第1図のPSシフト
レジスタ回路1では、まずLoのデータを取り込み、出
力抱子IQに最下位ビットのり。LSIから出力し最後
に最上位ピットt。MSB t−出力する。次にRO+
 Ll #R1のデータが加わるごとに、同様の動作を
繰り返し行ない、第2図IQで示す信号を得る。データ
セレクタ4には、4A側にPSシフトレジスタ回路1の
出力IQt加え、4B側にシフトレジスタ回路3の出力
5Qk加える。psシフトレジスタ回路1に取り込んだ
データが正しいデータの時、このデータセレクタ4は、
4Aflllf選択しシフトレジスタ回路2にデータを
加え、第2図4Yの信号となる。シフトレジスタ回路2
及び3は、データを第2図20.5Qで示すように遅延
させる。シフトレジスタ回路3の出力はラッチ回路41
で1ピ9ト遅延した後データセレクタロの6A側に接続
すると共に、直列形加算回路7の7A側に接続する。直
列形加算回路7の他方の入カフBには、PSシフトレジ
スタ回路1の出力1Qが加わり、シフトレジスタ回路3
の出力と最下位ビ・yl’から加算し、第2図75で示
すように、その結果をデータセレクタ6の6Bに加える
。データセレクタ6は、シフトレジスタ回路3のデータ
が正しい場合、b A litを選択し、データセレク
タ8のB側にデータを加える。以上のように、データが
正しい場合、そのデータはPSシフトレジスタ回路1、
シフトレジスタ回路2.3及びデータセレクタ6の順に
流れる。
Next, the operation of this embodiment will be explained using timing charts shown in FIGS. 2 to 4. The symbols written on the left side of the timing diagram correspond to the signals of each part in FIG. FIG. 2 is a timing diagram in a state where there are no errors in the data, and the timing is shown at the input terminal 42. +RO+LI NR1...
The data of each word is added in this order. In the PS shift register circuit 1 shown in FIG. 1, the Lo data is first taken in and the least significant bit is added to the output carrier IQ. Output from the LSI and finally the top pit t. MSB t-Output. Next, RO+
Each time the data of Ll #R1 is added, the same operation is repeated to obtain the signal shown by IQ in FIG. To the data selector 4, the output IQt of the PS shift register circuit 1 is added to the 4A side, and the output 5Qk of the shift register circuit 3 is added to the 4B side. When the data taken into the ps shift register circuit 1 is correct data, this data selector 4
4Aflllf is selected and data is added to the shift register circuit 2, resulting in the signal 4Y in FIG. Shift register circuit 2
and 3 delays the data as shown in FIG. 20.5Q. The output of the shift register circuit 3 is sent to the latch circuit 41
After delaying by 1 pin and 9 pins, it is connected to the 6A side of the data selector and also connected to the 7A side of the serial adder circuit 7. The output 1Q of the PS shift register circuit 1 is added to the other input cuff B of the serial adder circuit 7, and the shift register circuit 3
, and the result is added to 6B of the data selector 6, as shown in FIG. 2 75. If the data in the shift register circuit 3 is correct, the data selector 6 selects b A lit and adds the data to the B side of the data selector 8 . As described above, if the data is correct, the data is transferred to the PS shift register circuit 1,
The signal flows through the shift register circuit 2.3 and the data selector 6 in this order.

データセレクタ8〜25、ラッチ回路24〜39は、双
方向にデータがシフト可能なシフトレジスタを構成して
いるもので、第1図でデータセレクタ8〜23のA側を
選択すると、データは左から右へ移動し、B@を選択し
た時、右から左へデータが移動する。このA側、B個選
択を制御することにより、第2図59Qで示すように、
データセレクタ6から送られてくる最下位ビットからの
データ全最上位ビットからのデータに変換することがで
きる。ラッチ回路40では、ラッチ回路39の出力39
Qで表れる最下位から最上位へのデータ出力を出力端子
43に出力しないようにするためのものであり、出力端
子43には、第2図43の出力が得られる。
Data selectors 8 to 25 and latch circuits 24 to 39 constitute a shift register in which data can be shifted in both directions, and when the A side of data selectors 8 to 23 is selected in FIG. When you move from to the right and select B@, the data moves from right to left. By controlling this A side and B selection, as shown in FIG. 2 59Q,
All data sent from the data selector 6 starting from the least significant bit can be converted into data starting from the most significant bit. In the latch circuit 40, the output 39 of the latch circuit 39
This is to prevent the data output from the lowest to the highest expressed by Q from being output to the output terminal 43, and the output shown in FIG. 2 is obtained at the output terminal 43.

次にデータが誤シの場合の第1図の動作を、$5図及び
第4図のタイミング図に示す。第3図でLoのデータが
誤っていることから、データセレクタ4は、4B@f選
択し、シフトレジスタ回路6に保持されている前のサン
プルデータL−+ ’に第3図4Yに示すように、シフ
トレジスタ回路2の入力2Dに加える。これによJlの
データを取り込み、シフトするタイミングでは、シフト
レジスタ回路2の出力21ニアにはt。LSE〜tQM
sBの替りにt−t LSE −L−1MSEのデータ
が出力され、シフトレジスタ回路5に加えられる。この
変換したデータは、その後、第4図で示すように、L、
のデータを取り込みシフトするタイミングで、シフトレ
ジスタ回路3の出力3Qに表れる。この時取り込んだL
lのデータが正しい場合、データセレクタ6は6B側を
選択し、第4図6Yで示すように、直列形加算回路7で
加算した( L、 +t−s>72のデータをデータセ
レクタ8のB側に加える。以上の動作により、誤ったデ
ータLoは、前後の正しいデータL−1+Llの平均値
(L −++Lt )/2に変換され出力される。
Next, the operation of FIG. 1 when the data is erroneous is shown in the timing diagrams of FIG. 5 and FIG. Since the data at Lo in FIG. is applied to the input 2D of the shift register circuit 2. As a result, at the timing when the data of Jl is taken in and shifted, the output 21 of the shift register circuit 2 receives t. LSE~tQM
Data of t-t LSE -L-1MSE is output instead of sB and added to the shift register circuit 5. This converted data is then converted into L,
appears on the output 3Q of the shift register circuit 3 at the timing of taking in and shifting the data. L taken in at this time
If the data of L is correct, the data selector 6 selects the 6B side, and as shown in FIG. By the above operation, the incorrect data Lo is converted to the average value (L -++Lt )/2 of the preceding and succeeding correct data L-1+Ll and is output.

前記動作説明では、Loが単独で誤った場合について説
明したが、Rチャンネルのデータに関しても、同一の動
作となシ平均値出力が得られることは明らがである。ま
たLチャンネルのデータが連続して誤っている場合、下
表で示すようなデータセレクタ4,6の選択を行なう。
In the above description of the operation, the case where Lo is erroneous alone has been explained, but it is clear that the same operation can be performed and an average value output can be obtained with respect to the data of the R channel. If the L channel data is continuously incorrect, the data selectors 4 and 6 are selected as shown in the table below.

これにより、例えば、第4図の例で、Llのサンプルが
誤っている場合、データセレクタ6は6A@を選択し、
Loの替りに前のサンプルデータL−1’に出力するよ
うに動作し、L、のサンプルの替シに(Lt+L−t)
/2の平均値を出力するように動作する。
As a result, for example, in the example of FIG. 4, if the sample of Ll is incorrect, the data selector 6 selects 6A@,
It operates to output the previous sample data L-1' instead of Lo, and replaces the sample of L (Lt+L-t).
It operates to output an average value of /2.

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

従来、1チャネル当T)3ワ一ド分のシフトレジスタ回
路が必要で、ステレオ再生時に同一回路t−2系統設け
る必要があったものが、本発明によれば2チヤンネルス
テレオ再生において、4ワ一ド分のシフトレジスタ回路
で同一の機能を実現できると共に、最上位ビットがらの
シリアルデータを得ることができるという効果がある。
Conventionally, one channel required a shift register circuit for 3 watts per channel, and it was necessary to provide t-2 systems of the same circuit during stereo playback, but according to the present invention, 4 watts are required for 2 channel stereo playback. This has the effect that the same function can be realized with a shift register circuit for one register, and that serial data starting from the most significant bit can be obtained.

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

第1図は本発明の一実施例を示す構成図、第2図、第3
図及び第4図は各々第1図の動作を説明するタイミング
図である。 4.6.8〜23  ・・・データセレクタ回路1・・
・パラレル人力シリアル出力形シフトレジスタ回路 2.3・・・シフトレジスタ回路 24〜41・・・ラッチ回路 /−一\
Fig. 1 is a configuration diagram showing one embodiment of the present invention, Fig. 2, Fig. 3
4 and 4 are timing diagrams each illustrating the operation of FIG. 1. 4.6.8~23 ...Data selector circuit 1...
・Parallel manual serial output type shift register circuit 2.3...Shift register circuit 24-41...Latch circuit/-1\

Claims (1)

【特許請求の範囲】[Claims] 1、2チャネルのデータが交互に加わるディジタル符号
誤り補正装置において、オフセットバイナリ表示の2進
数データ1ワードを取り込み、最下位ビットからシリア
ルに出力する第1のシフトレジスタ回路と、該第1のシ
フトレジスタ回路の出力を一方の入力とする第1のデー
タ選択手段と、第1のデータ選択手段の出力を入力とし
2ワードのデータが取り込める第2のシフトレジスタ回
路と、該第1及び第2のシフトレジスタ回路の出力を入
力とする直列形の加算回路と、該加算回路の出力と第2
のシフトレジスタ回路の出力を入力としデータを選択す
る第2のデータ選択手段を具備し、該第1のデータ選択
手段の他方の入力として該第2のシフトレジスタ回路を
加え、データの正誤により該第1、第2のデータ選択手
段を制御し、誤ったデータに対し該第2のデータ選択手
段の出力に前値又は平均値のデータに補正したデータを
得ることを特徴とするディジタル符号誤り補正装置。
A digital code error correction device in which data of 1 and 2 channels are added alternately includes a first shift register circuit that takes in one word of binary data in offset binary representation and outputs it serially from the least significant bit; a first data selection means whose one input is the output of the register circuit; a second shift register circuit whose input is the output of the first data selection means and which can take in two words of data; A serial adder circuit that receives the output of the shift register circuit as an input;
The second data selection means receives the output of the shift register circuit as an input and selects data, and the second shift register circuit is added as the other input of the first data selection means, and the data is selected depending on whether the data is correct or incorrect. Digital code error correction characterized in that the first and second data selection means are controlled, and data corrected to the previous value or average value data is obtained as the output of the second data selection means for erroneous data. Device.
JP24441284A 1984-11-21 1984-11-21 Digital code error correcting device Pending JPS61126670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24441284A JPS61126670A (en) 1984-11-21 1984-11-21 Digital code error correcting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24441284A JPS61126670A (en) 1984-11-21 1984-11-21 Digital code error correcting device

Publications (1)

Publication Number Publication Date
JPS61126670A true JPS61126670A (en) 1986-06-14

Family

ID=17118276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24441284A Pending JPS61126670A (en) 1984-11-21 1984-11-21 Digital code error correcting device

Country Status (1)

Country Link
JP (1) JPS61126670A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6390224A (en) * 1986-10-02 1988-04-21 Mitsubishi Electric Corp Interpolating circuit
JPS63125022A (en) * 1986-11-14 1988-05-28 Mitsubishi Electric Corp Interpolation circuit
DE19824855C2 (en) * 1998-06-04 2000-07-13 Joerns Klaus Peter Optical monitoring and recording device for vehicles

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6390224A (en) * 1986-10-02 1988-04-21 Mitsubishi Electric Corp Interpolating circuit
JPS63125022A (en) * 1986-11-14 1988-05-28 Mitsubishi Electric Corp Interpolation circuit
DE19824855C2 (en) * 1998-06-04 2000-07-13 Joerns Klaus Peter Optical monitoring and recording device for vehicles

Similar Documents

Publication Publication Date Title
KR860000821B1 (en) Digital signal processing system
JPS5818026B2 (en) Shingodensouhoushiki
US4593392A (en) Error correction circuit for digital audio signal
US4394762A (en) Pulse-code modulation signal processing circuit
GB2082426A (en) Digital signal processing circuits
US4179659A (en) Signal transmission system
JPS61126670A (en) Digital code error correcting device
JPS5851322B2 (en) PCM recording/playback device
EP0394491B1 (en) Voice signal demodulation circuit
JPH0578104B2 (en)
JP2762941B2 (en) Background noise generator
JPH0250548B2 (en)
KR880002411Y1 (en) Interflation circuit of digital-audio tape recorder
JPS62216557A (en) Phase ambiguity removing circuit
US5325240A (en) Data compression and expansion apparatus for audio recorders
JPS63254829A (en) Error correction device
KR930009103B1 (en) Device for interpolating a digital audio signal
JP2614846B2 (en) Error correction method
JP4511063B2 (en) Transmission device, reception device, data transfer system, reproduction or recording device, transmission method, reception method, and data transfer method
JPH08106736A (en) Digital code-error correction device
JPS62173900A (en) Digital audio signal reproducing device
JPS58104540A (en) Code error corrector
JPS62271264A (en) Digital audio reproducing device
JPS61131271A (en) Error correcting device
JPH0412654B2 (en)