JPH056938U - Error correction code generation circuit - Google Patents

Error correction code generation circuit

Info

Publication number
JPH056938U
JPH056938U JP5848091U JP5848091U JPH056938U JP H056938 U JPH056938 U JP H056938U JP 5848091 U JP5848091 U JP 5848091U JP 5848091 U JP5848091 U JP 5848091U JP H056938 U JPH056938 U JP H056938U
Authority
JP
Japan
Prior art keywords
circuit
data
output
error correction
correction code
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
JP5848091U
Other languages
Japanese (ja)
Inventor
仁 中島
Original Assignee
河村電器産業株式会社
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 河村電器産業株式会社 filed Critical 河村電器産業株式会社
Priority to JP5848091U priority Critical patent/JPH056938U/en
Publication of JPH056938U publication Critical patent/JPH056938U/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Detection And Correction Of Errors (AREA)

Abstract

(57)【要約】 【目的】誤生成のない誤り訂正符号を高速にシリアル出
力すること。 【構成】データの入出力間をデータサンプリング用のD
型フリップフロップ回路とデータメモリー用のフリップ
フロップ回路とを交互に複数個接続した回路で接続する
と共に、この回路の所定箇所にEXOR回路を接続し、
各EXOR回路の入力側とAND回路の出力側とを接続
し、更に前記各D型フリップフロップ回路のクロック信
号入力端子にNOT回路を介してクロック信号出力線を
接続する。 【効果】呼出信号をシリアル入力するだけで、誤り訂正
符号を高速でシリアル出力することができ、ICの動作
遅延時間等によるデータ誤りがなくなる。
(57) [Summary] [Purpose] High-speed serial output of error-correcting codes without erroneous generation. [Configuration] D for data sampling between data input and output
Type flip-flop circuits and flip-flop circuits for data memory are alternately connected by a circuit, and an EXOR circuit is connected to a predetermined portion of this circuit.
The input side of each EXOR circuit is connected to the output side of an AND circuit, and the clock signal output line is further connected to the clock signal input terminal of each D-type flip-flop circuit via a NOT circuit. [Effect] The error correction code can be serially output at high speed only by serially inputting the calling signal, and the data error due to the operation delay time of the IC is eliminated.

Description

【考案の詳細な説明】[Detailed description of the device]

【0001】[0001]

【産業上の利用分野】[Industrial applications]

2進数のビット群で構成されたデジタル送信信号が、チャネル等の通信媒体を 通過する時に雑音等の影響を受けて誤りが生じた場合、即ちビットが本来とは逆 の値になった場合に、正しいビットに訂正するための誤り訂正符号を生成する回 路に関する。 When an error occurs due to the influence of noise, etc. when a digital transmission signal composed of a binary bit group passes through a communication medium such as a channel, that is, when the bit has a value opposite to the original value. , A circuit for generating an error correction code for correcting to a correct bit.

【0002】[0002]

【従来の技術】[Prior Art]

デジタル送信信号の構成は、電波法で定められており、表1に示すようにビッ ト同期信号、フレーム同期信号、呼出信号で構成され、呼出信号はa62〜a0 の 63ビットで構成される。この63ビットの内、a62〜a12までの51ビットが 呼出名称で、a11〜a0 までの12ビットが誤り訂正符号である。ビットa62〜 a12は、数1に示す生成多項式及び数2に示す式によって算出され、位数が2の 有限体上の多項式の第62次から第12次までの項の係数で表わされる。Configuration of the digital transmission signal is prescribed by the Radio Law, bit synchronization signal, as shown in Table 1, the frame sync signal is composed of a call signal, the call signal is composed of 63 bits of a 62 ~a 0 It Of the 63 bits, 51 bits are calling name until a 62 ~a 12, 12 bits from a 11 ~a 0 is an error correcting code. Bits a 62 to a 12 are calculated by the generator polynomial shown in Formula 1 and the formula shown in Formula 2, and are represented by the coefficients of terms from the 62nd order to the 12th order of the polynomial on the finite field of order 2. .

【数1】 [Equation 1]

【数2】 但し、b47〜b0 (a59〜a12)までは10進数12桁の数字で表わされる呼 出名称を表2により2進数に変換したときの1桁から48桁までの各桁の数とし 、b50〜b48(a60〜a62)までは0とするように法定されている。 例えば呼出名称が「123456789012」であるとすると、b47〜b0 (a59〜a12)は表2によって2進数に変換することによって求められ、また、 b50〜b48(a60〜a62)は前記のように「0」であるから、表3に示すビット 構成になる。そして、誤り訂正符号であるa11〜a0 は、数3に示す式で得られ る乗除多項式をコンピューターでプログラミングして求め(表4)、そのデータ をROMに書込んでいた。[Equation 2] However, b 47 ~b 0 number of each digit of the (a 59 ~a 12) until the call out the name represented by the decimal number 12 digits from 1 digit when converted to binary by Table 2 to 48 digits and then, b 50 ~b until 48 (a 60 ~a 62) is legal to zero. For example, when calling name is "123456789012", b 47 ~b 0 (a 59 ~a 12) is obtained by converting the binary number by Table 2, also, b 50 ~b 48 (a 60 ~a Since 62 ) is "0" as described above, it has the bit configuration shown in Table 3. The error-correcting codes a 11 to a 0 were obtained by programming the multiplication / division polynomial obtained by the equation (3) with a computer (Table 4), and the data was written in the ROM.

【0003】[0003]

【考案が解決しようとする課題】[Problems to be solved by the device]

無線機毎に呼出名称が異なることに伴い、誤り訂正符号もそれに対応したもの を記憶させなければならないから、従来のようなソフトウエアー的な手段では誤 り訂正符号の生成に多大な時間を要し、無線機の製造コストを増大させる一因と なっていた。 Since the calling name is different for each radio, it is necessary to store the corresponding error correction code, so it takes a lot of time to generate the error correction code by the conventional software means. However, this has been one of the causes of increasing the manufacturing cost of the wireless device.

【0004】[0004]

【課題を解決するための手段】[Means for Solving the Problems]

本考案は、前記従来の各課題を解決するために開発されたものであり、誤生成 のない誤り訂正符号を高速に生成する回路を提供するものである。即ち、その構 成とは、デジタル無線通信において2進数で構成される呼出名称のデータを入力 して誤り訂正符号を生成する回路であって、前記データを入力するデータ入力端 子と誤り訂正符号を出力するデータ出力端子とをデータサンプリング用のD型フ リップフロップ回路とデータメモリー用のD型フリップフロップ回路とを交互に 複数個接続した回路で接続し、所定のEXOR回路を前記所定箇所のデータサン プリング用のD型フリップフロップ回路とデータメモリー用のD型フリップフロ ップ回路との入出力間に接続すると共に、外部入力端子と接続されるAND回路 の出力側を前記各EXOR回路の入力側に接続し、前記各D型フリップフロップ 回路のクロック信号入力端子にNOT回路を介してクロック信号出力線を接続し たことにある。 The present invention was developed to solve the above-mentioned conventional problems, and provides a circuit for generating an error correction code at high speed without error generation. That is, the configuration is a circuit for inputting call name data composed of a binary number in digital wireless communication to generate an error correction code, and a data input terminal for inputting the data and an error correction code. Is connected to the data output terminal for outputting a data sampling D-type flip-flop circuit and a data memory D-type flip-flop circuit alternately, and a predetermined EXOR circuit is connected to the predetermined location. The output side of the AND circuit connected to the external input terminal is connected to the input / output of the D type flip-flop circuit for data sampling and the D type flip-flop circuit for data memory, and the output side of the AND circuit is connected to the input of each EXOR circuit. The clock signal output line through the NOT circuit to the clock signal input terminal of each D-type flip-flop circuit. There is something.

【0005】[0005]

【作用】[Action]

図4に示すようにサンプリング用D型フリップフロップ回路(以下、サンプリ ング用DFFと略称する)S0は、クロック信号より半サイクル遅れで呼出名称 の最初のビットをデータ入力端子DATA INから入力し、次にメモリー用D FFのD1は、それより更に半サイクル遅れでS0から出力されるデータを読込 む。このようにS0は、クロック信号に同期しながら逐次データを入力し、以下 、このデータはS1,D2・・・S11,D12を経てDATA OUTから出 力されると共に、S12から出力され、AND回路を介してEX0〜EX10に 帰還される。そして、呼出名称分のステップ数の動作が終了した時点、即ち誤り 訂正符号分に相当する残り12ビットになった時に、D1〜D12には誤り訂正 符号に相当する12ビットがメモリーされていることになる。ここで、EXC端 子から出力される信号をAND回路を介させることによって“H”レベルから“ L”レベルに変化させることができ、正しい誤り訂正符号がDATA OUTか らシリアル出力される。 As shown in FIG. 4, the sampling D-type flip-flop circuit (hereinafter abbreviated as sampling DFF) S0 inputs the first bit of the call name from the data input terminal DATA IN with a half cycle delay from the clock signal. Next, D1 of the memory DFF reads the data output from S0 with a half cycle delay from that. Thus, S0 successively inputs data in synchronism with the clock signal. Below, this data is output from DATA OUT via S1, D2 ... It is returned to EX0 to EX10 via. Then, when the operation of the number of steps corresponding to the call name is completed, that is, when the remaining 12 bits corresponding to the error correction code are reached, 12 bits corresponding to the error correction code are stored in D1 to D12. become. Here, the signal output from the EXC terminal can be changed from the "H" level to the "L" level through an AND circuit, and the correct error correction code is serially output from DATA OUT.

【0006】[0006]

【実施例】【Example】

図1は本考案に係る誤り訂正符号生成回路の一実施例、図4はその動作フロー チャート、図5はタイミングチャートをそれぞれ示す。以下、これらの図面に基 づいて本考案を詳細に説明する。 本実施例の誤り訂正符号生成回路は、求める誤り訂正符号が12ビット用のも のであり、図1に示すように12個のデータメモリー用DFF(以下、メモリー 用DFFと略称する)、D1〜D12と13個のデータサンプリング用DFF( 以下、サンプリング用DFFと略称する)S0〜S12、6個のEXOR回路E X0,EX3〜EX5,EX8,EX10、1個のAND回路等から構成され、 各DFFのクロック信号入力端子CKにはクロック信号出力端子CLKからNO T回路を介してクロック信号出力線が接続されている。S0のD入力はデータ入 力端子DATA INと接続されているように、各サンプリング用DFFと各メ モリー用DFFとは交互に直列接続されている。またS0のQ出力とD1のD入 力間にはEX0が、S3とD4間にはEX3が、S4とD5間にはEX4が、S 5とD6間にはEX5が、S8とD9間にはEX8が、S10とD11間にはE X10がそれぞれ接続されている。即ち、EX0,EX3,EX4,EX5,E X8,EX10は、数3に示す12次の多項式のX0 ,X3 ,X4 ,X5 ,X8 ,X10にそれぞれ対応する位置に接続されている。そして、各EXOR回路の入 力側はAND回路の出力側と共通接続されている。ANDの入力側はS12のQ 出力と外部入力端子であるEXC端子に、D12のQ出力はデータ出力端子DA TA OUTにそれぞれ接続されている。FIG. 1 shows an embodiment of an error correction code generation circuit according to the present invention, FIG. 4 shows its operation flow chart, and FIG. 5 shows a timing chart. Hereinafter, the present invention will be described in detail with reference to these drawings. The error correction code generation circuit according to the present embodiment has a 12-bit error correction code to be obtained. As shown in FIG. 1, 12 data memory DFFs (hereinafter referred to as memory DFFs), D1 to D1. D12 and 13 data sampling DFFs (hereinafter abbreviated as sampling DFFs) S0 to S12, six EXOR circuits EX0, EX3 to EX5, EX8, EX10, one AND circuit, and the like. A clock signal output line is connected to the clock signal input terminal CK of the DFF from the clock signal output terminal CLK via a NOT circuit. As the D input of S0 is connected to the data input terminal DATA IN, the sampling DFFs and the memory DFFs are alternately connected in series. EX0 is between the Q output of S0 and D input of D1, EX3 is between S3 and D4, EX4 is between S4 and D5, EX5 is between S5 and D6, and between S8 and D9. Is connected to EX8, and EX10 is connected between S10 and D11. That is, EX0, EX3, EX4, EX5, EX8, and EX10 are connected to positions corresponding to X 0 , X 3 , X 4 , X 5 , X 8 , and X 10 of the polynomial of the 12th order shown in Equation 3, respectively. ing. The input side of each EXOR circuit is commonly connected to the output side of the AND circuit. The input side of the AND is connected to the Q output of S12 and the EXC terminal which is an external input terminal, and the Q output of D12 is connected to the data output terminal DATA OUT.

【0007】 次にこの回路の動作を図2のフローチャートと図4,図5のタイミングチャー トを参照しながら説明する。 EXC端子からは“H”レベルの信号が出力されており、CLK端子からは所 定周波数のクロック信号が出力されている。そして、各DFFはCLK端子から 出力されるクロック信号に同期して作動し、クロック信号が“L”の時は総ての DFFがクリアーされる。先ず最初に、クロック信号の半サイクル遅れでS0が 呼出信号の最初のビットデータを入力する。そしてこのデータはS0のQ出力か らEX0へ入力される。この時、AND回路及びEXOを構成するICの動作遅 延時間により、図4に示すようにEX0 OUTから出力されたデータの波形に 歪みが生じる。しかし、このデータは次段のD1のD入力にクロック信号の半サ イクル遅れで読込まれるため、D1からは整形された波形で出力される。本回路 は、全段がこのサンプリング構成となっているため、DATA OUTから誤差 のないデータを出力することができるのである。 以下、S0はクロック信号に同期してデータを入力し、このデータはS1,D 2・・・S11,D12を経てS12のQ出力からAND回路に入力されると共 に、D12のQ出力からDATA OUT端子へ出力される。以下、同様にこの ステップが繰返され、ステップ数が63となった時、D1〜D12にメモリーさ れているデータが最後の12ビット、即ち誤り訂正符号である。ここで、EXC 端子から出力されている信号を“H”レベルに保ち続けると(図7でEXCの 場合)、正しい誤り訂正符号が得られない(図7のDATA OUTの場合) 。そこで、ステップ数が63、即ち被除次数が0となった時にAND回路を作動 させ、EXC端子から出力されている“H”レベルの信号を“L”レベルに変化 させる。これによって、正しい誤り訂正符号が、DATA OUT端子から、シ リアル出力される(図7のDATA OUT)。 本実施例では誤り訂正符号が2進数12桁で、それを求めるための乗除多項式 が数3に示す式で表わされる場合を説明したが、求める誤り訂正符号の桁数や除 式の各項の次数に応じてDFFやEXOR回路の数、またはEXOR回路を接続 する位置等を変更できることは勿論である。Next, the operation of this circuit will be described with reference to the flowchart of FIG. 2 and the timing charts of FIGS. An "H" level signal is output from the EXC terminal, and a clock signal of a predetermined frequency is output from the CLK terminal. Each DFF operates in synchronization with the clock signal output from the CLK terminal, and when the clock signal is "L", all DFFs are cleared. First, S0 inputs the first bit data of the calling signal with a delay of half a cycle of the clock signal. Then, this data is input to EX0 from the Q output of S0. At this time, the waveform of the data output from EX0 OUT is distorted as shown in FIG. 4 due to the operation delay time of the ICs forming the AND circuit and EXO. However, since this data is read into the D input of D1 in the next stage with a half cycle delay of the clock signal, it is output from D1 in a shaped waveform. Since all stages of this circuit have this sampling configuration, data without error can be output from DATA OUT. Hereinafter, S0 inputs data in synchronization with the clock signal, and this data is input to the AND circuit from the Q output of S12 via S1, D 2 ... S11, D12, and from the Q output of D12. It is output to the DATA OUT terminal. Thereafter, this step is similarly repeated, and when the number of steps reaches 63, the data stored in D1 to D12 is the last 12 bits, that is, the error correction code. Here, if the signal output from the EXC terminal is kept at the "H" level (in the case of EXC in FIG. 7), a correct error correction code cannot be obtained (in the case of DATA OUT in FIG. 7). Therefore, when the number of steps is 63, that is, when the dividend order becomes 0, the AND circuit is activated to change the "H" level signal output from the EXC terminal to "L" level. As a result, a correct error correction code is serially output from the DATA OUT terminal (DATA OUT in FIG. 7). In the present embodiment, the case where the error correction code is a binary number of 12 digits and the multiplication / division polynomial for obtaining it is expressed by the formula shown in Formula 3 has been described. However, the number of digits of the error correction code to be obtained and each term of the division are It goes without saying that the number of DFFs and EXOR circuits or the position where EXOR circuits are connected can be changed according to the order.

【0008】[0008]

【考案の効果】[Effect of the device]

本考案の誤り訂正符号生成回路を用いれば、呼出名称をシリアル入力するだけ で、誤り訂正符号を高速でシリアル出力することができる。而も、回路の全段に サンプリング構成を用いているため、ICの動作遅延時間等によるデータ誤りが なくなる。 By using the error correction code generation circuit of the present invention, the error correction code can be serially output at high speed simply by inputting the calling name serially. Moreover, since the sampling configuration is used in all stages of the circuit, data error due to the operation delay time of the IC is eliminated.

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

【図1】本考案に係る誤り訂正符号生成回路の一実施例
である。
FIG. 1 is an embodiment of an error correction code generation circuit according to the present invention.

【図2】本考案に係る誤り訂正符号生成回路の動作を示
すフローチャートである。
FIG. 2 is a flowchart showing the operation of the error correction code generation circuit according to the present invention.

【図3】本考案に係る誤り訂正符号生成回路の原理図で
ある。
FIG. 3 is a principle diagram of an error correction code generation circuit according to the present invention.

【図4】本考案に係る誤り訂正符号生成回路のタイミン
グチャートである。
FIG. 4 is a timing chart of the error correction code generation circuit according to the present invention.

【図5】本考案に係る誤り訂正符号生成回路のタイミン
グチャートである。
FIG. 5 is a timing chart of the error correction code generation circuit according to the present invention.

【図6】呼出名称をROMに書込むシステムに含まれる
誤り訂正符号生成回路を示す。
FIG. 6 shows an error correction code generation circuit included in a system for writing a call name in a ROM.

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

S0〜S12・・サンプリング用D型フリップフロップ
回路、D1〜D12・・メモリー用D型フリップフロッ
プ回路、EX0〜EX10・・EXOR回路、DATA
IN・・データ入力端子、DATA OUT・・データ
出力端子、CLK・・クロック信号入力端子。
S0-S12 ... D-type flip-flop circuit for sampling, D1-D12 ... D-type flip-flop circuit for memory, EX0-EX10 ... EXOR circuit, DATA
IN ··· data input terminal, DATA OUT ··· data output terminal, CLK · · clock signal input terminal.

【数3】 [Equation 3]

【表1】 [Table 1]

【表2】 [Table 2]

【表3】 [Table 3]

【表4】 [Table 4]

Claims (1)

【実用新案登録請求の範囲】 【請求項1】デジタル無線通信において2進数で構成さ
れる呼出名称のデータを入力して誤り訂正符号を生成す
る回路であって、前記データを入力するデータ入力端子
と誤り訂正符号を出力するデータ出力端子とをデータサ
ンプリング用のD型フリップフロップ回路とデータメモ
リー用のD型フリップフロップ回路とを交互に複数個接
続した回路で接続し、所定のEXOR回路を前記所定箇
所のデータサンプリング用のD型フリップフロップ回路
とデータメモリー用のD型フリップフロップ回路との入
出力間に接続すると共に、外部入力端子と接続されるA
ND回路の出力側を前記各EXOR回路の入力側に接続
し、前記各D型フリップフロップ回路のクロック信号入
力端子にNOT回路を介してクロック信号出力線を接続
したことを特徴とする誤り訂正符号生成回路。
Claims for utility model registration 1. A circuit for generating error correction code by inputting data of a call name composed of a binary number in digital wireless communication, and a data input terminal for inputting the data. And a data output terminal for outputting an error correction code are connected by a circuit in which a plurality of D-type flip-flop circuits for data sampling and D-type flip-flop circuits for data memory are alternately connected, and a predetermined EXOR circuit is connected. A is connected between the input and output of a D-type flip-flop circuit for data sampling and a D-type flip-flop circuit for data memory at a predetermined location, and is also connected to an external input terminal.
An error correction code in which an output side of the ND circuit is connected to an input side of each of the EXOR circuits, and a clock signal output line is connected to a clock signal input terminal of each of the D-type flip-flop circuits via a NOT circuit. Generation circuit.
JP5848091U 1991-06-28 1991-06-28 Error correction code generation circuit Pending JPH056938U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5848091U JPH056938U (en) 1991-06-28 1991-06-28 Error correction code generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5848091U JPH056938U (en) 1991-06-28 1991-06-28 Error correction code generation circuit

Publications (1)

Publication Number Publication Date
JPH056938U true JPH056938U (en) 1993-01-29

Family

ID=13085600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5848091U Pending JPH056938U (en) 1991-06-28 1991-06-28 Error correction code generation circuit

Country Status (1)

Country Link
JP (1) JPH056938U (en)

Similar Documents

Publication Publication Date Title
JP5118234B2 (en) ROM-based finite-length impulse response filter used in mobile phones
EP0204576A2 (en) Apparatus for and methods of decoding a BCH code
JPH10107646A (en) Crc code generating circuit, code error detection circuit and crc circuit
US6370667B1 (en) CRC operating calculating method and CRC operational calculation circuit
JP3502583B2 (en) Error correction method and error correction device
US5408476A (en) One bit error correction method having actual data reproduction function
JPH056938U (en) Error correction code generation circuit
JP2662472B2 (en) Syndrome operation circuit for error correction processing
EP0240921B1 (en) BCH code signal correcting system
JPS5853217A (en) Digital filter circuit
JPS6362151B2 (en)
JPH0918354A (en) Error detection code generator and error detector for cyclic redundancy checking system
JPH09305572A (en) Method and device for dividing galois field
US5200961A (en) Error detection and/or correction device
JP2541938B2 (en) Syndrome generation circuit
JP2003037504A (en) Device for generating gray code
SU1106014A1 (en) Device for majority decoding of pulse sequences
RU42143U1 (en) DECODING DEVICE OF INTERFERENCE-RESISTANT CODE
JPH03236633A (en) Viterbi decoding circuit
JP2914813B2 (en) Error correction decoding device
JPS607815B2 (en) Overflow detection and correction circuit
SU1545329A1 (en) Code form converter
KR100241749B1 (en) Data transmission apparatus
JP3539077B2 (en) Division method by parallel operation method
JP2000232378A (en) Interleaving device and interleaving method