JPH0730435A - Error correcting circuit - Google Patents
Error correcting circuitInfo
- Publication number
- JPH0730435A JPH0730435A JP19780893A JP19780893A JPH0730435A JP H0730435 A JPH0730435 A JP H0730435A JP 19780893 A JP19780893 A JP 19780893A JP 19780893 A JP19780893 A JP 19780893A JP H0730435 A JPH0730435 A JP H0730435A
- Authority
- JP
- Japan
- Prior art keywords
- data
- circuit
- phase
- frame conversion
- error
- 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
Links
Landscapes
- Error Detection And Correction (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は誤り訂正回路に関し、特
にディジタル伝送システムにおけるフレーム変換用のメ
モリ回路の誤り訂正回路に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error correction circuit, and more particularly to an error correction circuit of a memory circuit for frame conversion in a digital transmission system.
【0002】[0002]
【従来の技術】ディジタル伝送システムにおける伝送デ
ータのフレーム変換装置の構成は図3に示すようになっ
ている。伝送すべき入力データ10は、フレーム変換回
路(メモリ回路)101へ書込み用メモリ制御回路15
1の制御の下に、当該入力データ速度61と同期したタ
イミング71で順次書込まれる。2. Description of the Related Art The structure of a frame converter for transmitting data in a digital transmission system is shown in FIG. The input data 10 to be transmitted is written to the frame conversion circuit (memory circuit) 101 in the memory control circuit 15 for writing.
Under the control of 1, the data is sequentially written at the timing 71 synchronized with the input data rate 61.
【0003】メモリ回路101からのデータ読出しは、
読出し用メモリ制御回路152の制御の下に、読出し要
求信号62のタイミング72に同期して行われ、フレー
ム変換されたデータ31とし導出される。Reading data from the memory circuit 101 is
Under the control of the read memory control circuit 152, it is carried out in synchronization with the timing 72 of the read request signal 62, and is derived as frame-converted data 31.
【0004】ここで、メモリ回路101へ書込まれたデ
ータがメモリ内で誤って書換えられたり、メモリ回路1
01へのデータの書込み制御信号あるいは読出し制御信
号のタイミングの誤りによって誤データを出力してしま
う場合がある。Here, the data written in the memory circuit 101 is erroneously rewritten in the memory, or the memory circuit 1
In some cases, erroneous data may be output due to an error in the timing of the data write control signal or the read control signal for 01.
【0005】この場合、正常にデータが出力されている
ことを知る手段として、フレーム変換回路101の入力
と出力とのデータで、夫々“1”のビット数が偶数か奇
数かを判断し、一致していなければエラーを検出すると
いうパリティ方式の手段がある。図3はこのパリティ方
式を用いた例であり、メモリによって構成されるフレー
ム変換回路101にエラー検出用のパリティ回路13
1,132及び比較回路141が接続されている。In this case, as means for knowing that the data is normally output, it is judged whether the number of bits of "1" is an even number or an odd number in the data of the input and the output of the frame conversion circuit 101. If not, there is a parity method that detects an error. FIG. 3 shows an example of using this parity method, in which the frame conversion circuit 101 composed of a memory has a parity circuit 13 for error detection.
1, 132 and the comparison circuit 141 are connected.
【0006】入力データ信号10はフレーム変換回路1
01に入力されると共に、パリティ回路131にも入力
される。パリティ回路131では、入力信号のある一定
区間、例えば、1フレームの間のうちに“1”のビット
が偶数か奇数かを判断される。フレーム変換回路101
の出力データ信号31はパリティ回路132に入力さ
れ、パリティ回路132で、パリティ回路131と同様
の区間における“1”のビットの数が偶数か奇数かを判
断される。The input data signal 10 is a frame conversion circuit 1
01, and also to the parity circuit 131. The parity circuit 131 determines whether the "1" bit is an even number or an odd number in a certain section of the input signal, for example, in one frame. Frame conversion circuit 101
The output data signal 31 is input to the parity circuit 132, and the parity circuit 132 determines whether the number of “1” bits in the same section as the parity circuit 131 is an even number or an odd number.
【0007】この2つのパリティ回路131及び132
の出力信号41,42を比較回路141により比較し、
同じであればエラー無し、異なっていればエラー有りと
判断しエラー判定信号51が出力されるようになってい
る。The two parity circuits 131 and 132
The output signals 41 and 42 of are compared by the comparison circuit 141,
If they are the same, it is determined that there is no error, and if they are different, it is determined that there is an error, and the error determination signal 51 is output.
【0008】また、このパリティ方式を用いた場合、パ
リティ回路131,132では夫々“1”のビットの数
が偶数個か奇数個かしか判断していないために、偶数個
の誤りが発生した場合エラーを検出できなくなってしま
う。そこで、特開平03−049321の様にパリティ
回路を3列にして偶数個のエラーの検出を行う方法が考
えられる。When this parity method is used, even if an even number of errors occur, the parity circuits 131 and 132 respectively judge whether the number of "1" bits is an even number or an odd number. The error cannot be detected. Therefore, a method in which the parity circuit is arranged in three columns and an even number of errors are detected as in Japanese Patent Laid-Open No. 03-049321 can be considered.
【0009】[0009]
【発明が解決しようとする課題】この様な従来のパリテ
ィを用いたフレーム変換エラー検出回路では、パリティ
回路である特定区間の“1”のビットの数が偶数か奇数
かを判断しエラー検出するので、特定区間内のエラーを
起こしたビットそのものを特定できないためにエラーの
訂正ができないという欠点がある。In such a conventional frame conversion error detection circuit using parity, an error is detected by determining whether the number of "1" bits in a specific section of the parity circuit is an even number or an odd number. Therefore, there is a drawback that the error cannot be corrected because the bit itself in which the error occurred within the specific section cannot be specified.
【0010】更に、メモリ制御回路がノイズ等によりメ
モリへの書込みあるいは読出しタイミングが瞬間的に誤
ってしまっただけでもエラーを起こしてしまうという欠
点がある。Further, there is a drawback that the memory control circuit causes an error even if the timing of writing or reading to the memory is momentarily erroneous due to noise or the like.
【0011】本発明の目的は、ディジタルデータのフレ
ーム変換時におけるフレーム変換用メモリ回路内で生ず
るエラーの検出及び訂正をパリティ方式を用いることな
く簡単に行い得る様にした誤り訂正回路を提供すること
である。It is an object of the present invention to provide an error correction circuit which can easily detect and correct an error occurring in a frame conversion memory circuit at the time of converting a frame of digital data without using a parity method. Is.
【0012】[0012]
【課題を解決するための手段】本発明による誤り訂正回
路は、入力データを夫々順次位相をずらして3個以上の
位相ずれデータを出力する手段と、これ等各位相ずれデ
ータを夫々同一書込みタイミングで書込みかつ夫々同一
読出しタイミングで読出すメモリ手段と、このメモリ手
段の各読出しデータを位相合わせする手段と、この位相
合わせ後の各データの値の多数決を判定してこの多数決
の値を出力データとする多数決手段とを含むことを特徴
とする。An error correction circuit according to the present invention comprises means for sequentially shifting the phase of input data and outputting three or more pieces of phase shift data, and each of these phase shift data at the same write timing. Memory means for writing and reading at the same read timing respectively, means for phase-matching each read data of this memory means, and a majority decision of the values of each data after this phase-matching to determine the majority decision value as output data. And a majority decision means that
【0013】[0013]
【実施例】以下、図面を用いて本発明の実施例を説明す
る。Embodiments of the present invention will be described below with reference to the drawings.
【0014】図1は本発明の一実施例の構成図であり、
図3と同等部分は同一符号にて示す。図1の実施例で
は、同一種類の3つのフレーム変換回路101,10
2,103と、これ等各フレーム変換回路の入力及び出
力に遅延を夫々持たせる遅延回路111,112,11
3,114と、遅延補正されたフレーム変換回路101
〜103の出力信号20〜22の多数決をとる多数決回
路121とから構成される。FIG. 1 is a block diagram of an embodiment of the present invention.
The same parts as those in FIG. 3 are denoted by the same reference numerals. In the embodiment of FIG. 1, three frame conversion circuits 101, 10 of the same type are used.
2, 103, and delay circuits 111, 112, 11 for delaying the input and output of each frame conversion circuit.
3, 114 and the delay-corrected frame conversion circuit 101
10 to 103, and a majority decision circuit 121 for majority decision of the output signals 20 to 22.
【0015】次に本実施例の動作を図2のタイムチャー
トを参照しつつ説明する。入力信号10は、書込み用メ
モリ制御回路151及び読出し用メモリ制御回路152
によって、メモリの書込み読出しが制御されている3つ
のフレーム変換回路101〜103へ、遅延回路11
1,112に遅延回路により夫々異なる遅延(位相差)
で入力される。Next, the operation of this embodiment will be described with reference to the time chart of FIG. The input signal 10 is the write memory control circuit 151 and the read memory control circuit 152.
To the three frame conversion circuits 101 to 103 whose writing and reading of the memory are controlled by the delay circuit 11
1 and 112 have different delays (phase difference) depending on the delay circuit
Entered in.
【0016】よって、各フレーム変換回路からは夫々フ
レーム変換された変換信号が出力されるが、この出力信
号は夫々異なる位相を有しているため、遅延回路11
3,114によりこれを補正し遅延量が等しい(位相が
合致した)3つのフレーム変換出力20,21,22が
生成され多数決回路121へ入力される。多数決回路1
21では、1ビット毎に3つの入力信号20〜22のう
ち“0”と“1”でどちらが多いかを判断し多い方を伝
送用フレーム変換出力31として出力する。Therefore, each frame conversion circuit outputs a converted signal that has undergone frame conversion. Since the output signals have different phases, the delay circuit 11 is provided.
This is corrected by 3, 114, and three frame conversion outputs 20, 21, 22 having the same delay amount (phase matched) are generated and input to the majority circuit 121. Majority circuit 1
In 21, it is determined which of the three input signals 20 to 22 is “0” or “1” for each bit, and the larger one is output as the transmission frame conversion output 31.
【0017】ここで、フレーム変換回路がエラーを起こ
す要因の一つとして、メモリを制御している制御回路の
誤動作が考えられる。この場合、3つのフレーム変換回
路が同時にエラーを起こしてしまうことになる。Here, as one of the factors causing the error in the frame conversion circuit, malfunction of the control circuit controlling the memory is considered. In this case, the three frame conversion circuits simultaneously cause an error.
【0018】そこで、本実施例では、入力信号10を遅
延回路111,112により互いに順次位相をずらしつ
つ3つのフレーム変換回路に入力している。図2(A)
では、各列を1ビットずつ遅延させたときの例として示
している。Therefore, in this embodiment, the input signal 10 is input to the three frame conversion circuits while sequentially shifting the phases by the delay circuits 111 and 112. Figure 2 (A)
Then, each column is shown as an example when it is delayed by one bit.
【0019】このとき図2(A)の斜線部のアドレス処
理中に3つのフレーム変換回路が同時に障害を受けてし
まうが、3つのフレーム変換回路の同一アドレスでは、
夫々異なるデータを処理しているため、データの位相を
補正した後の多数決回路121の入力では、エラーのあ
るビットは図2(B)のように分散され、多数決回路1
21により障害を受けなかったデータが選択される。At this time, the three frame conversion circuits are simultaneously damaged during the address processing of the shaded area in FIG. 2A, but at the same address of the three frame conversion circuits,
Since different data are processed respectively, at the input of the majority circuit 121 after the phase of the data has been corrected, the erroneous bits are dispersed as shown in FIG.
The data not damaged by 21 is selected.
【0020】これにより2つ以上のフレーム変換回路の
ビットが同時に誤る確率は極めて少ないので、ほぼエラ
ー無しにフレーム変換できる。As a result, the probability that bits of two or more frame conversion circuits will be erroneous at the same time is extremely small, and frame conversion can be performed with almost no error.
【0021】尚、上記においては、入力データを3つに
分岐しているが、5つに分岐しても良いことは明白であ
る。Although the input data is branched into three in the above, it is obvious that the input data may be branched into five.
【0022】[0022]
【発明の効果】以上説明したように本発明によれば、3
以上のフレーム変換回路と多数決回路とを備えているの
で、多数決回路で3以上の出力信号を選択することによ
り、エラーの補正を直接行うことができる。また、本発
明は遅延回路により3以上のフレーム変換に異なる遅延
を持たせることにより、3以上のフレーム変換回路が同
時に誤りを起こすようなメモリ制御回路の誤動作があっ
た場合でも、エラーの補正を行うことができるという効
果もある。As described above, according to the present invention, 3
Since the frame conversion circuit and the majority decision circuit are provided, the error can be directly corrected by selecting three or more output signals by the majority decision circuit. Further, according to the present invention, the delay circuits are provided with different delays for three or more frame conversions, so that even if there is a malfunction of the memory control circuit that causes an error in three or more frame conversion circuits at the same time, the error can be corrected. There is also the effect that it can be done.
【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.
【図2】図1のブロックの動作を示すもので、(A)は
フレーム変換回路の各入力側のデータ位相関係を示し、
(B)はフレーム変換回路の各出力側のデータ位相関係
を示すタイムチャートである。2 shows the operation of the block of FIG. 1, (A) shows the data phase relationship of each input side of the frame conversion circuit,
(B) is a time chart showing a data phase relationship on each output side of the frame conversion circuit.
【図3】従来のフレーム変換回路の誤り検出方式を示す
ブロック図である。FIG. 3 is a block diagram showing an error detection method of a conventional frame conversion circuit.
10 入力データ 11,12 位相ずれ入力データ 20〜22 位相合せ後の出力データ 31 フレーム変換データ 71 書込みタイミング信号 72 読出しタイミング信号 101〜103 フレーム変換回路 111〜114 遅延回路 121 多数決回路 151 書込み用メモリ制御回路 152 読出し用メモリ制御回路 10 Input data 11, 12 Phase shift input data 20-22 Output data after phase matching 31 Frame conversion data 71 Write timing signal 72 Read timing signal 101-103 Frame conversion circuit 111-114 Delay circuit 121 Majority decision circuit 151 Write memory control Circuit 152 Read-out memory control circuit
─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───
【手続補正書】[Procedure amendment]
【提出日】平成6年1月10日[Submission date] January 10, 1994
【手続補正1】[Procedure Amendment 1]
【補正対象書類名】明細書[Document name to be amended] Statement
【補正対象項目名】特許請求の範囲[Name of item to be amended] Claims
【補正方法】変更[Correction method] Change
【補正内容】[Correction content]
【特許請求の範囲】[Claims]
Claims (1)
個以上の位相ずれデータを出力する手段と、これ等各位
相ずれデータを夫々同一書込みタイミングで書込みかつ
夫々同一読出しタイミングで読出すメモリ手段と、この
メモリ手段の各読出しデータを位相合わせする手段と、
この位相合わせ後の各データの値の多数決を判定してこ
の多数決の値を出力データとする多数決手段とを含むこ
とを特徴とする誤り訂正回路。1. The phase of input data is sequentially shifted to 3
Means for outputting more than one phase shift data, memory means for writing each phase shift data at the same write timing and reading at the same read timing, and means for matching the phase of each read data of this memory means ,
An error correction circuit comprising a majority decision means for judging the majority decision of the value of each data after the phase adjustment and using the value of the majority decision as output data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19780893A JPH0730435A (en) | 1993-07-14 | 1993-07-14 | Error correcting circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19780893A JPH0730435A (en) | 1993-07-14 | 1993-07-14 | Error correcting circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0730435A true JPH0730435A (en) | 1995-01-31 |
Family
ID=16380696
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19780893A Pending JPH0730435A (en) | 1993-07-14 | 1993-07-14 | Error correcting circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0730435A (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5549073A (en) * | 1978-10-04 | 1980-04-08 | Sony Corp | Memory unit |
| JPS5552600A (en) * | 1978-10-13 | 1980-04-17 | Nec Corp | Main memory unit |
| JPS589292A (en) * | 1981-07-10 | 1983-01-19 | Fujitsu Ltd | Reading system for read only memory device |
| JPS5817600A (en) * | 1981-07-24 | 1983-02-01 | Toshiba Corp | semiconductor storage device |
| JPH02143993A (en) * | 1988-11-25 | 1990-06-01 | Hitachi Ltd | Semiconductor memory |
| JPH05300117A (en) * | 1992-04-06 | 1993-11-12 | Nec Corp | Frame conversion error detecting circuit |
| JPH06132938A (en) * | 1992-10-14 | 1994-05-13 | Nec Corp | Frame conversion error correcting circuit |
-
1993
- 1993-07-14 JP JP19780893A patent/JPH0730435A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5549073A (en) * | 1978-10-04 | 1980-04-08 | Sony Corp | Memory unit |
| JPS5552600A (en) * | 1978-10-13 | 1980-04-17 | Nec Corp | Main memory unit |
| JPS589292A (en) * | 1981-07-10 | 1983-01-19 | Fujitsu Ltd | Reading system for read only memory device |
| JPS5817600A (en) * | 1981-07-24 | 1983-02-01 | Toshiba Corp | semiconductor storage device |
| JPH02143993A (en) * | 1988-11-25 | 1990-06-01 | Hitachi Ltd | Semiconductor memory |
| JPH05300117A (en) * | 1992-04-06 | 1993-11-12 | Nec Corp | Frame conversion error detecting circuit |
| JPH06132938A (en) * | 1992-10-14 | 1994-05-13 | Nec Corp | Frame conversion error correcting circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2659436B2 (en) | Semiconductor storage device | |
| US6999127B2 (en) | Apparatus and method for image conversion and automatic error correction for digital television receiver | |
| US5408476A (en) | One bit error correction method having actual data reproduction function | |
| US5031181A (en) | Error correction processing apparatus | |
| JPH0730435A (en) | Error correcting circuit | |
| US5588010A (en) | Parallel architecture error correction and conversion system | |
| US5463714A (en) | Sound data interpolating circuit | |
| US4949343A (en) | Error detecting circuit for a decoder | |
| JPH1083356A (en) | Method and device for hiding error in stored digital data | |
| JP2644112B2 (en) | FIFO test diagnostic circuit | |
| US5375231A (en) | Control memory error correcting apparatus | |
| JPH04115340A (en) | Duplex storage circuit | |
| JPH0638239B2 (en) | Error correction mechanism | |
| JPH06132938A (en) | Frame conversion error correcting circuit | |
| JP2611722B2 (en) | Error flag output circuit | |
| JP2594563B2 (en) | Error correction circuit | |
| US6260153B1 (en) | Automatic compensation circuit for no margin input data | |
| KR200202060Y1 (en) | Error Correction Circular | |
| JP3521558B2 (en) | Transmission equipment | |
| JPH0669773A (en) | Logic circuit | |
| JPH0760391B2 (en) | Error correction mechanism | |
| JPH04264647A (en) | Fault information storage circuit | |
| JPH03212026A (en) | error correction device | |
| JPH04929A (en) | Data receiving circuit | |
| JPH06139153A (en) | Memory control system |