JPH1117744A - Error correction circuit - Google Patents

Error correction circuit

Info

Publication number
JPH1117744A
JPH1117744A JP17035497A JP17035497A JPH1117744A JP H1117744 A JPH1117744 A JP H1117744A JP 17035497 A JP17035497 A JP 17035497A JP 17035497 A JP17035497 A JP 17035497A JP H1117744 A JPH1117744 A JP H1117744A
Authority
JP
Japan
Prior art keywords
data
pwm
error correction
pattern
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
JP17035497A
Other languages
Japanese (ja)
Inventor
Toshiyuki Uchimura
敏幸 内村
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 JP17035497A priority Critical patent/JPH1117744A/en
Publication of JPH1117744A publication Critical patent/JPH1117744A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce errors by detecting an impossible pattern continuing '1', and correcting the pattern into correct pattern not continuing '1' when pulse wide modulation(PWM) demodulation is performed to the PWM modulated data string of code string not continuing '1'. SOLUTION: The output of a conventional PWM demodulation circuit 12 is inputted to a D-F/F 4 and during delay for four clocks, the pattern of '0110' is detected from the outputs of D-F/F 4, 5, 6 and 7. Then, data latched by the D-F/F 6 and 7 are forcedly turned on '0' by the next detected clock so that the error pattern of '0110' is error-corrected into correct pattern of '0000' and outputted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、エラー訂正回路に
関し、特にPWM(Pulse Width Modul
ation)データから復調する際のエラー訂正回路に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error correction circuit, and more particularly to a PWM (Pulse Width Modul).
an error correction circuit for demodulating data.

【0002】[0002]

【従来の技術】PWM(Pulse Width Mod
ulation)データ列とは、PWM変調方式を説明
するための図5に示すように、元のデジタルデータ列に
対してそのデータ列中の”1”の部分で値を反転するよ
うに変調したデータ列である。
2. Description of the Related Art PWM (Pulse Width Mod)
As shown in FIG. 5 for explaining the PWM modulation method, the data string is data obtained by modulating the original digital data string so that the value is inverted at "1" in the data string. Column.

【0003】このようなPWMデータを元のデジタルデ
ータ列に復調する場合、図3に示すようなXOR(排他
的論理和)ゲート33とDーF/F(D−フリップフロ
ップ)31,32によって構成される回路を使用するこ
とで復調することができる。
When demodulating such PWM data into an original digital data string, an XOR (exclusive OR) gate 33 and DF / F (D-flip-flop) 31, 32 as shown in FIG. Demodulation can be performed by using a circuit configured.

【0004】図3は従来のPWM復調回路の構成を示す
電気回路図、図4は従来のPWM復調回路による動作例
を示すタイミング図である。
FIG. 3 is an electric circuit diagram showing a configuration of a conventional PWM demodulation circuit, and FIG. 4 is a timing chart showing an operation example of the conventional PWM demodulation circuit.

【0005】従来のPWM復調回路について動作を説明
する。
The operation of the conventional PWM demodulation circuit will be described.

【0006】PWM波形の入力信号は、クロック信号に
よって同期化されD−F/F31より出力される。D−
F/F32は同期化された信号aと更にクロツク信号に
よって1クロツク遅延した信号bを出力する。さらに信
号aと信号bとのXOR論理をとったものがXOR論理
ゲート33より元の変調される前の信号として出力され
る。
The input signal of the PWM waveform is synchronized by a clock signal and output from the DF / F 31. D-
The F / F 32 outputs a synchronized signal a and a signal b delayed by one clock by the clock signal. Further, an XOR logic of the signal a and the signal b is output from the XOR logic gate 33 as a signal before the original modulation.

【0007】ところで、PWMに変調する前の元のデー
タは、通常”1”が連続しない符号列で構成されてい
る。CD(コンパクトディスク)はEFM(Eight
toFourteen Modulation*:8−
14変調)と呼ばれる符号に符号化したデータ列がPW
Mに変調されて記録されている。EFM符号はランレン
グス(1から1までの0のビット長)が2から10、つ
まりRLL(2,lO)の符号であり、1が連続するこ
とはない。 (参考文献:「光ディスク技術ハンドブック」第4章
信号の記録方式光産業技術振興協会 監修 日経マグロ
ウヒル社出版) 従って、PWMに変調された信号上に図4のようなパル
ス状のノイズが乗った状態で復調した場合、得られる出
力データ列には”1”が連続する部分が含まれる可能性
がある。
[0007] By the way, the original data before being modulated into PWM is usually constituted by a code string in which "1" is not continuous. CD (Compact Disc) is EFM (Eight
toFourteen Modulation *: 8-
14 modulation) is a PW encoded data string.
M and recorded. The EFM code has a run length (bit length of 0 from 1 to 1) of 2 to 10, that is, a code of RLL (2, 10), and 1 does not continue. (Reference: "Optical Disk Technology Handbook" Chapter 4
Signal recording method Optoelectronic Industry and Technology Promotion Association, supervised by Nikkei McGraw-Hill, Inc.) Therefore, if the signal modulated by PWM is demodulated with pulsed noise as shown in FIG. There is a possibility that a portion where “1” continues is included.

【0008】この”1”が連続した部分”0110”と
いうパタンは明らかにエラーであり、本来”0000”
になるべきパタンである。
The pattern of the portion "0110" in which "1" is continuous is obviously an error, and is originally "0000".
It is a pattern to become.

【0009】しかし、図3の回路ではこのようなノイズ
によるエラーパタンはそのまま次段のブロックに送られ
てしまう。
However, in the circuit of FIG. 3, such an error pattern due to noise is sent to the next block as it is.

【0010】CDの場合であれば、EFM符号の復号回
路に送られることになり、復号化されたデータは当然誤
ったデータとなる。
In the case of a CD, the data is sent to the EFM code decoding circuit, and the decoded data naturally becomes erroneous data.

【0011】[0011]

【発明が解決しようとする課題】PWMに変調される元
のデータ列が従来例で記述したように、”1”の連続し
ない符号列である場合、従来例のPWM復調回路は、前
述した通り、明らかにエラーと確認できるデータ列”0
110”に対して、そのまま次段の復号回路に転送して
しまい、結果的に誤ったデータを得ることになる。
If the original data sequence to be modulated by PWM is a discontinuous code sequence of "1", as described in the conventional example, the conventional PWM demodulation circuit will operate as described above. , A data string "0" that can be clearly identified as an error
110 "is transferred to the next decoding circuit as it is, resulting in erroneous data.

【0012】その結果、得られるデータに含まれるエラ
ー数が増加する。
As a result, the number of errors included in the obtained data increases.

【0013】この”0110”というエラーパタンは、
PWMの状態において、0レベル、または1レベルの信
号上にパルス状のノイズが発生する時に起こりやすいパ
タンである。なぜなら、パルス状のノイズには2つの変
化点があり、PWMでは、変化点が1を表すものである
から、それを復調すると”11”となるからである。
The error pattern “0110” is
This pattern is likely to occur when pulse-like noise is generated on a 0-level or 1-level signal in the PWM state. This is because the pulse-like noise has two transition points, and in PWM, the transition point represents 1, and when demodulated, it becomes "11".

【0014】また、元のデータ列では”1”が連続しな
いため、このパタンを含む”0110”というパタンは
明らかにエラーであり、かつ”0000”であるべきパ
タンである。
Since "1" is not continuous in the original data string, the pattern "0110" including this pattern is clearly an error and should be "0000".

【0015】この明らかにエラーであると判別でき、か
つ訂正のできるパタンを訂正せずに復号回路に送ること
は、データの信頼牲を低下させるものである。
Sending a pattern that can be clearly determined to be an error and that can be corrected to the decoding circuit without correction reduces the reliability of data.

【0016】本発明の目的は、元のデータが”1”の連
続しない符号である場合、その符号をPWM変調された
データを元のデータに復調する際、”1”が連続すると
いうあり得ないデ−タ列を検出し、そのデータ列を正し
い”1”が連続しないというデータ列に変換することに
よってエラーの少ないデータを生成するエラー訂正回路
を提供することである。
It is an object of the present invention that, when the original data is a discontinuous code of "1", when the code is demodulated into the original data of the PWM-modulated data, "1" may be continuous. An object of the present invention is to provide an error correction circuit which generates data with few errors by detecting a data string which is not present and converting the data string into a data string in which correct "1" is not continuous.

【0017】[0017]

【課題を解決するための手段】上記の課題を解決するた
め、本発明のエラー訂正回路は、PWM変調されたデー
タを元のデータに復調する際、期待されるデータ列が”
1”が連続しない1ビット幅の符号によって構成される
符号列であるデータ列に対して”1”が連続するビット
列を検出し、検出された場合に前記”1”が連続するビ
ット列を”1”が連続しないビット列に変換する手段を
有する。
In order to solve the above-mentioned problems, an error correction circuit according to the present invention, when demodulating PWM-modulated data to original data, sets an expected data sequence to "".
A bit string in which "1" is continuous is detected for a data string which is a code string constituted by a 1-bit width code in which "1" is not continuous. Means for converting into a bit string that is not continuous.

【0018】また、具体的には、PWM復調回路の出力
端に接続される多段のD−フリップフロップと、各段の
D−フリップフロップの出力を検出する論理演算部と、
論理演算部の論理結果に基づいて前記各段のD−フリッ
プフロップの出力を制御するエラー訂正制御部とを有す
ることを特徴とするエラー訂正回路である。
More specifically, a multi-stage D-flip-flop connected to the output terminal of the PWM demodulation circuit, a logic operation unit for detecting the output of the D-flip-flop of each stage,
An error correction control unit that controls an output of the D-flip-flop of each stage based on a logical result of the logical operation unit.

【0019】本発明によって、PWMで変調されたシリ
アルデータを元のデータ列に復調した時、その復調され
たデータ列が”1”が連続しない符号で構成されている
場合、”0110”は明らかにエラーを含む符号であ
り、かつ期待される符号としては”0000”になるべ
き符号である。従って、”0110”なる符号列を検出
し、その符号列を”0000”に変換する回路を復調回
路の後段に配置することでエラーの少ないデータ列を得
ることができる。
According to the present invention, when serial data modulated by PWM is demodulated into an original data sequence, if the demodulated data sequence is composed of a code in which "1" is not continuous, "0110" is apparent. Is a code that includes an error, and the expected code is a code that should be “0000”. Therefore, by detecting a code string "0110" and arranging a circuit for converting the code string into "0000" at the subsequent stage of the demodulation circuit, a data string with few errors can be obtained.

【0020】[0020]

【発明の実施の形態】本発明の実施の形態について図を
参照して詳細に説明する。
Embodiments of the present invention will be described in detail with reference to the drawings.

【0021】図1は本発明の実施の形態であるエラー訂
正回路の構成を示す電気回路図であり、図2は本実施の
形態であるエラー訂正回路による動作例を示すタイミン
グ図である。
FIG. 1 is an electric circuit diagram showing a configuration of an error correction circuit according to an embodiment of the present invention, and FIG. 2 is a timing chart showing an operation example of the error correction circuit according to the embodiment.

【0022】点線部分で囲まれたPWM復調回路12
と、同じく点線部分で囲まれたエラー訂正回路11より
構成される。
PWM demodulation circuit 12 surrounded by a dotted line
And an error correction circuit 11 also surrounded by a dotted line.

【0023】PWM復調回路12はD−F/F(Dフリ
ップフロップ)1,2およびD−F/Flの出力である
信号aとD−F/F2の出力である信号bを入力とする
XORゲート3より構成され、XORゲート3の出力で
ある信号cがエラー訂正回路11の入力データとなる。
The PWM demodulation circuit 12 is an XOR circuit which receives as input signals a which is an output of DF / F (D flip-flops) 1 and 2 and DF / F1 and a signal b which is an output of DF / F2. The signal c, which is composed of the gate 3 and is the output of the XOR gate 3, becomes the input data of the error correction circuit 11.

【0024】この信号cは、従来のPWM復調回路で得
られる復調データでもある。
This signal c is also demodulated data obtained by a conventional PWM demodulation circuit.

【0025】次に、エラー訂正回路11の構成を示す。Next, the configuration of the error correction circuit 11 will be described.

【0026】エラー訂正回路11は、D−F/F4,
5,6,7とANDゲート8,9、それとNANDゲー
ト10より構成される。そして、NANDゲートが論理
演算部、またANDゲートがエラー訂正制御部としてそ
れぞれ機能するといえる。
The error correction circuit 11 has DF / F4,
5, 6, 7 and AND gates 8, 9 and a NAND gate 10. Then, it can be said that the NAND gate functions as a logical operation unit and the AND gate functions as an error correction control unit.

【0027】また、D−F/Fl,2,4〜7は全て同
じクロツク信号によって動作する。
DF / F1, 2, 4 to 7 all operate by the same clock signal.

【0028】PWM復調回路12からの出力データであ
る信号cは、D−F/F4に入力される。以後、順にD
−F/F5,6,7へと伝わり、4クロック分の遅延の
後、D−F/F7から出力データとして出力される。
The signal c, which is output data from the PWM demodulation circuit 12, is input to the DF / F4. Hereafter, D
The data is transmitted to -F / Fs 5, 6, and 7 and is output as output data from the DF / F 7 after a delay of 4 clocks.

【0029】この4クロックの遅延の間に、あり得ない
データ列”0110”を検出する。”0110”の検出
は、各D−F/Fの出力信号がD−F/F4から順に”
0”、”1”、”1”、”0”となったことによって行
う。
During the four clock delay, an impossible data string "0110" is detected. The detection of “0110” is based on the fact that the output signals of each DF / F are in order from DF / F4.
This is performed when 0, “1”, “1”, or “0” is reached.

【0030】この検出を行うのがNANDゲート10で
あり、検出された場合、その出力である信号gが”0”
になる。この信号gは、D−F/F6,7の入力の手前
にあるANDゲート8,9の一方の入力となってお
り、”0”の場合にこのANDゲートによりD−F/F
5,6の出力を次の段の入力としてラツチされる時に強
制的に”0”にしている。
It is the NAND gate 10 that performs this detection, and when it is detected, the output signal g is "0".
become. This signal g is one of the inputs of AND gates 8 and 9 located before the inputs of DF / Fs 6 and 7. When the signal g is "0", the DF / F is output by this AND gate.
When the outputs 5 and 6 are latched as inputs of the next stage, they are forcibly set to "0".

【0031】この結果、”0110”なるパタンがD−
F/F4〜7内で検出されると、1クロック後には”0
000”に変換される。
As a result, the pattern “0110” becomes D-
If detected within F / Fs 4 to 7, after one clock, "0"
000 ".

【0032】図2はその様子を示した例であり、従来技
術の説明時に用いた図4の入力データを本実施例に用い
た場合に得られる出力データのエラー訂正について示し
ている。
FIG. 2 shows an example of such a situation, and shows error correction of output data obtained when the input data of FIG. 4 used in the description of the prior art is used in this embodiment.

【0033】この図2からも明らかなように、入力信号
上に乗ったパルス状のノイズによって、いったんは信号
c上にエラーが発生するが、D−F/F7から出力され
る信号(出力データ)上では、そのエラーは訂正されて
いる。
As is apparent from FIG. 2, an error occurs once on the signal c due to the pulse noise on the input signal, but the signal output from the DF / F 7 (output data) In the above, the error has been corrected.

【0034】[0034]

【発明の効果】本発明の効果は、元のデータ列が1が連
続しない符号列である場合、PWM変調されたデータ列
を復調する際に、もともと存在しえないデータ列の1つ
である”1”が連続するというデータ列を検出し、その
データ列を正しい”1”が連続しないというデータ列に
変換して送り出すことにより、復調前に含まれているデ
ータエラーの削減をすることができる点である。
The effect of the present invention is that when the original data sequence is a code sequence in which 1s are not continuous, it is one of the data sequences that cannot originally exist when demodulating the PWM-modulated data sequence. By detecting a data string indicating that “1” is continuous, converting the data string to a data string indicating that “1” is not continuous, and sending it out, it is possible to reduce data errors included before demodulation. It is possible.

【0035】これにより、復元されるデータの信頼性を
向上させることができる。
Thus, the reliability of the restored data can be improved.

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

【図1】本発明の実施の形態であるエラー訂正回路の構
成を示す電気回路図
FIG. 1 is an electric circuit diagram showing a configuration of an error correction circuit according to an embodiment of the present invention.

【図2】本実施の形態であるエラー訂正回路による動作
例を示すタイミング図
FIG. 2 is a timing chart showing an operation example of the error correction circuit according to the embodiment;

【図3】従来のPWM復調回路の構成を示す電気回路図FIG. 3 is an electric circuit diagram showing a configuration of a conventional PWM demodulation circuit.

【図4】従来のPWM復調回路による動作例を示すタイ
ミング図
FIG. 4 is a timing chart showing an operation example of a conventional PWM demodulation circuit.

【図5】PWM変調方式を説明するための図FIG. 5 is a diagram for explaining a PWM modulation method;

【符号の説明】[Explanation of symbols]

1,2 D−F/F(Dフリップフロップ) 3 XOR論理ゲート 4,5,6,7 D−F/F(Dフリップフロップ) 8,9 AND論理ゲート 10 NAND論理ゲート 11 PWM復調回路 12 エラー訂正回路 31,32 D−F/F(Dフリップフロップ) 33 XOR論理ゲート 1, 2 DF / F (D flip-flop) 3 XOR logic gate 4, 5, 6, 7 DF / F (D flip-flop) 8, 9 AND logic gate 10 NAND logic gate 11 PWM demodulation circuit 12 Error Correction circuits 31, 32 DF / F (D flip-flop) 33 XOR logic gate

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 PWM変調されたデータを元のデータに
復調する際、期待されるデータ列が”1”が連続しない
1ビット幅の符号によって構成される符号列であるデー
タ列に対して”1”が連続するビット列を検出し、検出
された場合に前記”1”が連続するビット列を”1”が
連続しないビット列に変換する手段を具備することを特
徴とするエラー訂正回路。
When demodulating PWM-modulated data into original data, an expected data sequence is a code sequence composed of a 1-bit width code in which “1” is not continuous. An error correction circuit comprising: means for detecting a bit string in which "1" is continuous, and converting the bit string in which "1" is continuous to a bit string in which "1" is not continuous when detected.
【請求項2】 PWM復調回路の出力端に接続される多
段のD−フリップフロップと、各段のD−フリップフロ
ップの出力を検出する論理演算部と、論理演算部の論理
結果に基づいて前記各段のD−フリップフロップの出力
を制御するエラー訂正制御部とを有することを特徴とす
るエラー訂正回路。
2. A multi-stage D-flip-flop connected to an output terminal of a PWM demodulation circuit, a logic operation unit for detecting an output of the D-flip-flop of each stage, and a logic operation unit based on a logic result of the logic operation unit. An error correction control unit for controlling an output of the D-flip-flop of each stage.
【請求項3】 論理演算部が否定積論理回路であり、エ
ラー訂正制御部がAND回路であることを特徴とする請
求項2記載のエラー訂正回路。
3. The error correction circuit according to claim 2, wherein the logical operation unit is a NOT product logic circuit, and the error correction control unit is an AND circuit.
JP17035497A 1997-06-26 1997-06-26 Error correction circuit Pending JPH1117744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17035497A JPH1117744A (en) 1997-06-26 1997-06-26 Error correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17035497A JPH1117744A (en) 1997-06-26 1997-06-26 Error correction circuit

Publications (1)

Publication Number Publication Date
JPH1117744A true JPH1117744A (en) 1999-01-22

Family

ID=15903387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17035497A Pending JPH1117744A (en) 1997-06-26 1997-06-26 Error correction circuit

Country Status (1)

Country Link
JP (1) JPH1117744A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100491654B1 (en) * 1998-07-22 2005-05-27 산요덴키가부시키가이샤 Code error correcting apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100491654B1 (en) * 1998-07-22 2005-05-27 산요덴키가부시키가이샤 Code error correcting apparatus

Similar Documents

Publication Publication Date Title
US5451943A (en) Data recording method and data recording apparatus using a digital sum value of a coded signal
JP3457093B2 (en) Recording medium, digital modulation / demodulation method and device therefor
WO2007027054A1 (en) Soft decoding method and apparatus, error correction method and apparatus, and soft output method and apparatus
JP2006148852A (en) Error correction and demodulation method for run length limited codes
US7339500B2 (en) Encoding method and decoding method
JPS58501561A (en) Communication error detection circuit encoded with multi-source clock
JP2004507018A (en) Apparatus and method for adding secondary information signal to RLL code sequence and extracting secondary information signal from RLL code sequence
US6950042B2 (en) Modulating apparatus and method, and DSV control bit producing method
JP2002094383A (en) Read channel circuit and its error correction method
JPH1117744A (en) Error correction circuit
JPH07326139A (en) Recorded and coded digital-signal reproducing apparatus
KR100491654B1 (en) Code error correcting apparatus
JP2000209096A (en) Decoder, data reproducing device and decoding method
JPH11177433A (en) Demodulator, demodulation method and serving medium
JPS60109358A (en) Coding device of binary data
JP3697809B2 (en) Signal detection circuit
US5557481A (en) NRZ to RLL encoder circuit in disk drive read/write channel
JP2572969B2 (en) Split-phase coding circuit
JP2606194B2 (en) Digital signal transmission equipment
JP2004112100A (en) Read channel circuit and method for demodulating the same
JP3135567B2 (en) NRZ binary input signal evaluation circuit and method
JP2614206B2 (en) Data processing device
JPH01293738A (en) Demodulating circuit
JP2003273742A (en) Method and apparatus for demodulation
JPS6320774A (en) Transmitting device for digital signal