JPS63158915A - Decoding circuit - Google Patents

Decoding circuit

Info

Publication number
JPS63158915A
JPS63158915A JP30715786A JP30715786A JPS63158915A JP S63158915 A JPS63158915 A JP S63158915A JP 30715786 A JP30715786 A JP 30715786A JP 30715786 A JP30715786 A JP 30715786A JP S63158915 A JPS63158915 A JP S63158915A
Authority
JP
Japan
Prior art keywords
code
pulse train
phase
output
signal
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
JP30715786A
Other languages
Japanese (ja)
Inventor
Chikamichi Shibao
新路 柴尾
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP30715786A priority Critical patent/JPS63158915A/en
Publication of JPS63158915A publication Critical patent/JPS63158915A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

PURPOSE:To correct a code detecting error in probability of 3/4, by inputting a bi-phase code series and a clock with a cycle of T/2 by the sum of two pulse strings, and providing a feedback circuit to a code error detection circuit and a phase switcher. CONSTITUTION:The bi-phase code series (a), when generating an error, is inputted to the shift register 11 of a detection circuit 12. The output pulse strings (b) and (c) of a frequency 1/2-demultiplier 1 are inputted to a code detector 3 and an AND gate 4. The output of the gate 4 is set as the clock input of the register 11 with the cycle of T/2. The circuit 12 outputs a phase switching signal (e) via gates 6-9 when three bits of the same logic are continued to appear on the code series (a), and no signal is outputted at a fourth bit. Meanwhile, the decision output (f) of a code detecting part 3 is inputted to an exclusive OR gate 10 with the signal (e), and no switching 2 is performed due to an output (g)=0, and erroneous judgement 3 is corrected. Code errors of 12 events out of all of 16 events generated by the bi-phase signal can be detected by such constitution, and the probability of 3/4 can be obtained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はバイ7工−ズ符号の復号化回路に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a decoding circuit for a bi7 code.

〔従来の技術〕[Conventional technology]

原符号がビット周期Tで論理人(但しAは論理「1」又
は論理rOJのいずれか)の1ビツトの符号であるとき
、この原符号をビット周期T/2で論理AA(又1jA
A)の2ビツトの符号に変換したものをバイフェーズ符
号という。このようなバイフェーズ符号から原符号に復
号する復号化回路としては、従来第5図に示すものがあ
った。第5図において(1)は172分周器、(21は
位相切換器。
When the original code is a 1-bit code with a bit period T and a logical person (where A is either logical ``1'' or logical rOJ), this original code is converted into a logical AA (or 1jA) with a bit period T/2.
A) converted into a 2-bit code is called a biphase code. As a decoding circuit for decoding such a biphase code to an original code, there is a conventional decoding circuit shown in FIG. In FIG. 5, (1) is a 172 frequency divider, and (21 is a phase switcher).

(3)は符号検出器である6また第6図は第5図の回路
の各部の波形を示す波形図で第6図(a)、 (bl、
 ((:)。
(3) is a code detector 6 Also, FIG. 6 is a waveform diagram showing the waveforms of each part of the circuit in FIG. 5.
((:).

(d)は!5図のa * b +  C*  dで示す
各信号の波形を示す。第6図の最上部の数字1.0は原
符号の各ビットの論理rIJ、  rOJを示し、第6
図の縦の点線間の時間間隔がTでこの間に1ビツトの原
符号が入るものとする。第6図に示す例ではビット周期
T、論理Aの1ビツトの原符号がビット周期T/2論理
AAの2ビツトのバイフェーズ符号に変換されこれが伝
送され信号aとして符号検出器(3:に入力される。信
号aからT/2のパルスを抽出しこれを信号Pとして1
/2分周器+11に入力し、1/2分周器(IIの出力
として周期T、相互の位相差T/2のパルス列す、cを
得る。パルス列すを仮に第1のパルス列、パルス列Cを
仮に第2のパルス列と称することにする。パルス列す、
  cが位相切換器121に入力され位相切換器(21
の出力のパルス列によって符号検出器(3)における符
号検出が行なわれる。ところでパルス列す、cal/2
分周器(1)によって発生するためどちらのパルス列が
周期Tの前半に来るかが定まらない。第6図ではパルス
列すが周期Tの前半に来てパルス列Cが後半に来る場合
で、この時第6図(dlに示すような出力を符号検出器
(3)の出力dとして得ることができる。もし1周期T
の後半にパルス列すが来て。
(d) Ha! The waveforms of each signal indicated by a*b+C*d in Fig. 5 are shown. The number 1.0 at the top of FIG. 6 indicates the logic rIJ, rOJ of each bit of the original code;
It is assumed that the time interval between the vertical dotted lines in the figure is T, and a 1-bit original code is inserted between them. In the example shown in FIG. 6, a 1-bit original code with bit period T and logic A is converted into a 2-bit biphase code with bit period T/2 and logic AA, and this is transmitted as signal a to the code detector (3: Extract the pulse of T/2 from the signal a and use it as the signal P.
/2 frequency divider +11, and as the output of the 1/2 frequency divider (II), a pulse train C with a period T and a mutual phase difference T/2 is obtained. will be temporarily referred to as the second pulse train.Pulse train S,
c is input to the phase switch 121 and the phase switch (21
A code detector (3) performs code detection using the pulse train output from the code detector (3). By the way, the pulse train is cal/2
Since the pulse train is generated by the frequency divider (1), it is not determined which pulse train comes in the first half of the period T. In Fig. 6, the pulse train C comes in the first half of the period T and the pulse train C comes in the second half, and in this case, an output as shown in Fig. 6 (dl) can be obtained as the output d of the sign detector (3). .If one period T
The pulse train comes in the second half.

パルス列Cが周期Tの前半に来る場合には、原符号の論
理が「1」から「0」へ又は「0」から「1」へ変化す
る時点において、パルス列すとパルス列Cの信号論理が
一致する。このような一致が検出されると符号検出器(
3)からの切換信号によって位相切換器(2)において
パルス列す、cの出力を入れかえる。これよシ符号検出
器(3)からは正しい符号dが出力される。
When the pulse train C comes in the first half of the period T, the signal logic of the pulse train and the pulse train C match at the time when the logic of the original code changes from "1" to "0" or from "0" to "1". do. When such a match is detected, the sign detector (
3) switches the outputs of the pulse trains i and c in the phase switch (2). The correct code d is output from the code detector (3).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

第1のパルス列すと第2のパルス列Cの位相順序が正常
であっても、符号誤りが発生するとこれをパルス列す、
cの位相順序の誤シによるものであると誤判断してパル
ス列b+  cの順序を逆転することがあるという欠点
があった。
Even if the phase order of the first pulse train and the second pulse train C is normal, if a code error occurs, this pulse train is
There is a drawback that the order of the pulse train b+c may be reversed by erroneously determining that this is due to an error in the phase order of pulse train c.

この発明はかかる問題点を解決するためになされたもの
であシ符号誤りが発生した場合の符号検出器の誤判断を
374の確率で訂正することができる復号化回路を得る
ことを目的とする。
The present invention was made to solve such problems, and an object of the present invention is to obtain a decoding circuit that can correct a code detector's erroneous judgment when a code error occurs with a probability of 374. .

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係る復号化回路は、バイフェーズ符号系列を
入力するとともに第1のパルス列と第2のパルス列の和
より生成される周期T/2のパルス列をクロック入力し
、符号誤りが生じている場合に位相切換信号を送出する
符号誤シ検出回路と。
The decoding circuit according to the present invention inputs a biphase code sequence and clocks a pulse train with a period T/2 generated from the sum of the first pulse train and the second pulse train, and when a code error occurs, and a code error detection circuit that sends out a phase switching signal.

この符号誤り検出回路および符号検出器から送出される
位相切換信号を位相切換器へ入力させるフィードバック
回路とを具備したものである。
This code error detection circuit and a feedback circuit for inputting the phase switching signal sent from the code detector to the phase switching device are provided.

〔作用〕[Effect]

この発明においてはバイフェーズ符号系列に符号誤りが
発生した時、符号検出器はパルス列すとパルス列Cの位
相順序の誤りが発生したと誤判断し位相切換信号を送出
するが、それとは独立に上記符号誤り検出回路が位相切
換信号を送出することによシ、上記符号検出器の誤判断
を3/4の確率で訂正することができる。
In this invention, when a code error occurs in the biphase code sequence, the code detector erroneously determines that an error has occurred in the phase order of the pulse train C and sends out a phase switching signal. By sending out the phase switching signal from the code error detection circuit, it is possible to correct the erroneous judgment of the code detector with a probability of 3/4.

〔実施例〕〔Example〕

以下、この発明の実施例を図について説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例を示すブロック図であって
2図において(!1.(2)+ (3L  az  b
e  Cld及びPは第5図の同一符号と同一部分又は
同一信号を示し、 (41,(51はANDゲート、 
+61. (71,(81はF、XCLUSIVE  
NORゲート、  !91.  QllIHEXCLU
SIVE ORゲート、α1lijシフトレジスタ。
FIG. 1 is a block diagram showing one embodiment of the present invention, and in FIG. 2, (!1.(2)+(3L az b
e Cld and P indicate the same parts or signals as the same symbols in FIG. 5, (41, (51 is an AND gate,
+61. (71, (81 is F, XCLUSIVE
NOR gate! 91. QllIHEXCLU
SIVE OR gate, α1lij shift register.

azは符号誤り検出回路である。またeは符号誤り検出
回路03の出力信号、fは符号検出器(3)の出力信号
9gは位相切換器(2)へ入力する位相切換信号である
。第2図は第1図の回路の各部の波形を示す波形図で第
2図(a)〜(glは第1図に6−gで示す各信号の波
形を示す。第3図は第2図と波形のパターンが異なる他
の一例を示したもので第3図(a)。
az is a code error detection circuit. Also, e is the output signal of the code error detection circuit 03, and f is the output signal 9g of the code detector (3), which is a phase switching signal input to the phase switching device (2). FIG. 2 is a waveform diagram showing the waveforms of each part of the circuit in FIG. 1, and FIG. FIG. 3(a) shows another example in which the waveform pattern is different from that shown in the figure.

tel、 (fl、 (glti第1図にa +  6
 +  f +  gで示す各信号の波形を示す。
tel, (fl, (glti a + 6 in Figure 1)
The waveform of each signal is shown as +f+g.

次に第1図、第2図、第3図を用いて回路動作を説明す
る。第2図において点線で示した波形はバイフェーズ符
号系列(a)が符号誤りを発生した場合の波形である。
Next, the circuit operation will be explained using FIG. 1, FIG. 2, and FIG. 3. The waveform shown by the dotted line in FIG. 2 is the waveform when a code error occurs in the biphase code sequence (a).

この波形は符号検出器(31と、符号誤シ検出回路fi
2の中のシフトレジスタαυへ入力される。1/2分周
器の出力である第1のパルス列す及び第2のパルス列C
は符号検出器13+と。
This waveform is transmitted to the code detector (31) and the code error detection circuit fi.
It is input to the shift register αυ in 2. The first pulse train C and the second pulse train C which are the outputs of the 1/2 frequency divider
is the sign detector 13+.

ANDゲート(4:に入力される。ANDゲート(4)
の出力は周期T/2のパルス列で、シフトレジスタaυ
のクロック入力となる。符号誤シ検出回路@の内部は、
上記シフトレジスタと、(6)〜(9)のゲート回路に
よ多構成され、バイ7工−ズ符号系列に同−論理が3ビ
ツト連続すると出力eに位相切換信号が送出される。ま
た4ビット同−論理が連続した場合は3ビツト目で位相
切換信号を送出し、4ビツト目では位相切換信号は送出
されない。第2図1elで点線で示した波形は、バイフ
ェーズ符号系列が第2図1alのように符号誤シを発生
した為に送出される位相切換信号である。一方符号検出
部(3)では符号誤シによる符号則の違反を、パルス列
す。
AND gate (4: input to AND gate (4)
The output of is a pulse train with period T/2, and the shift register aυ
This is the clock input. The inside of the code error detection circuit @ is as follows.
It is composed of the above-mentioned shift register and gate circuits (6) to (9), and when three consecutive bits of the same logic are present in the bi-7 code series, a phase switching signal is sent to the output e. If 4 bits have the same logic in succession, a phase switching signal is sent out at the 3rd bit, and no phase switching signal is sent out at the 4th bit. The waveform indicated by the dotted line in FIG. 2 1el is a phase switching signal that is sent out when the biphase code sequence generates a code error as shown in FIG. 2 1al. On the other hand, the code detection section (3) detects a violation of the code rule due to a code error in a pulse train.

Cの位相順序が誤っていると誤判断するため第2図(f
)で点線で示した波形が出力fに送出される。
Figure 2 (f
), the waveform shown by the dotted line is sent to the output f.

eefはエクスクル−ジグオアゲート顛に入力されるた
め出力gdOとなシ位相切換器(2)へは位相切換信号
は入力されず、符号検出器(37での誤判断が訂正され
たこととなる。第3図の場合は符号誤シ検出回路aZの
出力eが、符号検出器(31の出力fに比べ1ビット遅
れ石ため1位相切換器(21への位相切換信号は第3図
gに示す波形となシ、1ビット分パルス列す、  cの
位相順序を誤まった後、再び位相順序訂正することとな
る。なお第4図はバイフェーズ符号系列が符号誤りを発
生した時に考えられる事象である。
Since eef is input to the exclude-jig-or gate, the output gdO is not input, and no phase switching signal is input to the phase switch (2), which means that the erroneous judgment at the sign detector (37) has been corrected. In the case of Fig. 3, the output e of the code error detection circuit aZ is delayed by 1 bit compared to the output f of the code detector (31), so the phase switching signal to the 1 phase switch (21) has the waveform shown in Fig. 3g. After making a mistake in the phase order of the 1-bit pulse train c, the phase order must be corrected again. Figure 4 shows possible events when a biphase code sequence generates a code error. .

第4図で、事象A〜事象りはバイフェーズ符号1、 O
がO20あるいは1.1に誤った場合で、事象Aは前符
号が0,1.後続符号が0.1゜事象Bは前符号が0.
1.後続符号が1.O0事象Cは前符号が1.O1後続
符号が0.1゜事象りは前符号が1、O1後続符号が1
.0の場合である。また事象E〜事象Hにバイ7エーズ
符号0.1がO20あるいは1.I K誤った場合で、
事象Eは前符号が0.1.後続符号が0.1゜事象Fは
前符号が0.1゜後続符号が1.00事象Gは前符号が
1.0.後続符号が0.1゜事象Hは前符号が1.0.
後続符号が1.0の場合である。第4図中舛印を付した
事象は、符号wAbを発生したことによシ同論理が3ビ
ット以上続いた場合であシ12通シある。またHH印を
付したような符号誤シの可能性は0と仮定する。また、
各事象のQo=Qs  ビットは、第1図のシフトレジ
スタ(lυより4ビット毎、パラレル出力される。以上
の考案よシ1本実施例で、符号誤シを検出できるのは、
全事象が16 通シであるのに対し12 通シであるの
で、確率は3/4である。
In Fig. 4, events A to 1 have biphase codes 1 and O.
is incorrectly O20 or 1.1, and event A has a leading sign of 0, 1 . Event B has a trailing sign of 0.1° and a leading sign of 0.1°.
1. The trailing code is 1. O0 event C has a leading code of 1. If the O1 trailing code is 0.1°, the leading code is 1 and the O1 trailing code is 1.
.. This is the case of 0. Also, the bi7Aze code 0.1 is O20 or 1. In case of IK mistake,
Event E has a leading sign of 0.1. The succeeding sign is 0.1°, the preceding sign of event F is 0.1°, the succeeding sign is 1.00, and the preceding sign of event G is 1.0. Event H has a trailing sign of 0.1° and a leading sign of 1.0.
This is the case where the subsequent code is 1.0. There are 12 events marked with a circle in FIG. 4 when the same logic continues for three or more bits after the code wAb is generated. It is also assumed that the possibility of a code error such as the one marked with HH is zero. Also,
The Qo=Qs bits of each event are output in parallel every 4 bits from the shift register (lυ) shown in FIG.
Since the total number of events is 16 times and 12 times, the probability is 3/4.

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

上記のように、この発明によれば符号誤シにょシ符号検
出部が誤判断してパルス列の位相順序を切り換えるのを
訂正することができる。
As described above, according to the present invention, it is possible to correct a code error when the code detecting section makes an erroneous judgment and switches the phase order of the pulse train.

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

第1図はこの発明の一実施例を示す復号化回路のブロッ
ク図、第2図は第1図の回路の各部の波形例を示す図、
第3図は第1図の回路の各部の波形の他の例を示す図、
第4図は符号誤りが発生した場合の波形図、第5図は従
来の復号化回路を示すブロック図、第6図は第5図の回
路の各部の波形の一例を示す図である。 図中(口は172分周器、(2Iは位相切換器、(31
は符号検出器、 (4)、 (5)はANDゲート、 
(61,(7)、 (8)dEXCLUSIVE NO
Rグー)、(9)、(let!EXCLU8IVEOR
ゲート、aυはシフトレジスタ、(L3は符号誤り検出
回路である。 なお図中同一あるいは相当部分には同一符号を付して示
しである。
FIG. 1 is a block diagram of a decoding circuit showing an embodiment of the present invention, FIG. 2 is a diagram showing waveform examples of various parts of the circuit of FIG. 1,
FIG. 3 is a diagram showing another example of waveforms of each part of the circuit in FIG. 1,
FIG. 4 is a waveform diagram when a code error occurs, FIG. 5 is a block diagram showing a conventional decoding circuit, and FIG. 6 is a diagram showing an example of waveforms of each part of the circuit of FIG. In the figure (gate is 172 frequency divider, (2I is phase switch, (31
is a sign detector, (4) and (5) are AND gates,
(61, (7), (8)dEXCLUSIVE NO
R goo), (9), (let! EXCLU8IVEOR
The gate, aυ is a shift register, and (L3 is a code error detection circuit. In the drawings, the same or corresponding parts are denoted by the same reference numerals.

Claims (1)

【特許請求の範囲】[Claims] 送信データをバイフェーズ符号化して伝送する場合の復
号化回路において、伝送されたバイフェーズ符号系列か
ら周期Tの第1のパルス列とこの第1のパルス列との間
にT/2の位相差を有する周期Tの第2のパルス列を発
生する手段と、上記第1のパルス列と上記第2のパルス
列を入力とし、この第1のパルス列と第2のパルス列の
出力を入れ変える位相切換器と、上記バイフェーズ符号
系列を信号入力とし上記位相切換器から出力される上記
第1のパルス列と上記第2のパルス列をクロック入力と
しこの2つのパルス列の位相選択が誤つている場合に位
相切換信号を発生する手段を有する符号検出器と、上記
バイフェーズ符号系列を信号入力とするとともに上記第
1のパルス列と上記第2のパルス列の和より生成される
周期T/2のパルス列をクロック入力とし、符号誤りが
生じている場合に位相切換信号を送出する符号誤り検出
回路と、上記符号検出器及び上記符号誤り検出回路から
送出される位相切換信号を上記位相切換器へ入力するフ
ィードバック回路とを備えたことを特徴とする復号化回
路。
In a decoding circuit when transmission data is bi-phase encoded and transmitted, there is a phase difference of T/2 between a first pulse train of period T from the transmitted bi-phase code sequence and this first pulse train. means for generating a second pulse train with a period T; a phase switch which receives the first pulse train and the second pulse train and switches outputs of the first pulse train and the second pulse train; Means for generating a phase switching signal when the phase code sequence is a signal input, the first pulse train and the second pulse train outputted from the phase switch are clock inputs, and the phases of the two pulse trains are incorrectly selected. a code detector having the above-mentioned biphase code sequence as a signal input, and a pulse train with a period T/2 generated from the sum of the above-mentioned first pulse train and the above-mentioned second pulse train as a clock input, and a code error occurs. and a feedback circuit that inputs the phase switching signal sent from the code detector and the code error detection circuit to the phase switching device. decoding circuit.
JP30715786A 1986-12-23 1986-12-23 Decoding circuit Pending JPS63158915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30715786A JPS63158915A (en) 1986-12-23 1986-12-23 Decoding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30715786A JPS63158915A (en) 1986-12-23 1986-12-23 Decoding circuit

Publications (1)

Publication Number Publication Date
JPS63158915A true JPS63158915A (en) 1988-07-01

Family

ID=17965712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30715786A Pending JPS63158915A (en) 1986-12-23 1986-12-23 Decoding circuit

Country Status (1)

Country Link
JP (1) JPS63158915A (en)

Similar Documents

Publication Publication Date Title
CA1191962A (en) Parallel cyclic redundancy checking circuit
US3529290A (en) Nonredundant error detection and correction system
EP0237238B1 (en) Decoder
JPS6231440A (en) Self-inspection type double tracked front edge synchronization method and apparatus
JPS63296425A (en) Communication system
JPS63158915A (en) Decoding circuit
JPS63502949A (en) Synchronous signal generator and method
JPH088561B2 (en) CMI block synchronization method
US5510786A (en) CMI encoder circuit
JPS642306B2 (en)
JPS61239740A (en) Synchronous signal detecting device
JPH0124386B2 (en)
JPS63312754A (en) Error generation circuit
JPS5842668B2 (en) Pulse Densou Houshiki
JPH0644756B2 (en) Synchronous clock generation circuit
KR100230419B1 (en) Sector sync. protection circuit
JPS5853257A (en) Digital data receiving circuit
SU966694A1 (en) Microprogramme control device with transition
SU1582356A1 (en) Device for correcting errors in redundant code
SU1732464A1 (en) Counter of pulses in code
SU1615769A1 (en) Device for receiving data
SU1005336A1 (en) Device for selecting the average number
SU1676104A1 (en) Linear codes latent errors detector
SU1166065A1 (en) Device for monitoring parameters
SU1005059A1 (en) Majority decoding device