KR950002303B1 - Decoder with duel coding mode - Google Patents
Decoder with duel coding mode Download PDFInfo
- Publication number
- KR950002303B1 KR950002303B1 KR1019920020708A KR920020708A KR950002303B1 KR 950002303 B1 KR950002303 B1 KR 950002303B1 KR 1019920020708 A KR1019920020708 A KR 1019920020708A KR 920020708 A KR920020708 A KR 920020708A KR 950002303 B1 KR950002303 B1 KR 950002303B1
- Authority
- KR
- South Korea
- Prior art keywords
- mode
- coding
- output
- signal
- outputting
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/14—Conversion to or from non-weighted codes
- H03M7/20—Conversion to or from n-out-of-m codes
- H03M7/22—Conversion to or from n-out-of-m codes to or from one-out-of-m codes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Dc Digital Transmission (AREA)
Abstract
Description
제 1 도는 본 발명에 따른 듀얼코딩 모드를 갖는 부호기의 회로도.1 is a circuit diagram of an encoder having a dual coding mode according to the present invention.
제 2 도는 제 1 모드에 따른 제 1 도의 동작 파형도.2 is an operational waveform diagram of FIG. 1 according to a first mode.
제 3 도는 제 2 모드에 따른 제 1 도의 동작 파형도이다.3 is an operational waveform diagram of FIG. 1 according to a second mode.
본 발명은 데이터 전송 코더(CODER)에 관한 것으로, 특히 모드(MODE) 선택에 의해 2진 데이터를 BnZS(Bipolar with "n"Zero Substitution)의 부호와 HDBn(Hish Density Bipolar Codes)의 부호로 코딩할 수 있는 듀얼 코딩 모드를 갖는 부호기에 관한 것이다.TECHNICAL FIELD The present invention relates to a data transmission coder (CODER), and in particular, binary data can be coded with a code of Bipolar with "n" Zero Substitution (BnZS) and a code of Hish Density Bipolar Codes (HDBn) by mode selection. And an encoder having a dual coding mode.
통상적으로 BnZS코딩과 HDBn 코딩은 PCM 변조된 2진 데이터 정보를 전송시 사용하는 코딩방식으로, B3ZS코딩은 24채널 방식의 교환 방식을 사용하는 북미방식에 널리쓰이고, HDB3 코딩은 32채널 교환 방식을 사용하는 유럽에서 널리 사용된다.In general, BnZS coding and HDBn coding are coding schemes used for transmitting PCM modulated binary data information. B3ZS coding is widely used in North America, which uses a 24-channel switching scheme, and HDB3 coding uses a 32-channel switching scheme. Widely used in Europe.
상기와 같은 B3ZS코딩과 HDB3코딩은 "O"의 진 정보가 특정 비트수 이상 지속시 데이터의 전송 에러를 방지하기 위하여 "O"의 정보가 특정수 이상일때 바이올레션(Violation) 비트 "V"를 삽입 전송토록 되어 있다.The B3ZS coding and HDB3 coding described above have a bit of a vibration bit "V" when the information of "O" is greater than or equal to a certain number in order to prevent data transmission error when the "O" binary information is more than a certain number of bits. Insertion transfer is allowed.
B3ZS코딩은 연속되는 'O'의 수가 '3'개 일 경우 이를 "OOV" 또는 "BOV"로 변환시키는 방식이고, HDB3코딩은 연속되는 'O'의 수가 '4'개 일경우 이를 "OOV" 또는 "BOOV"로 변환시키는 방식이다.B3ZS coding converts "OV" or "BOV" when the number of consecutive 'O's is' 3 ', and HDB3 coding converts it to "OOV" when the number of consecutive' O's is '4'. Or "BOOV".
즉 B3ZS 및 HDB3코딩은In other words, B3ZS and HDB3 coding
위에서 보인 바와같이 "V"와 "V"사이의 바이폴라 비트 "B"의 수가 홀드이면 "OOO 또는 OOOO"은 OOV(BVS) 또는 OOOV(HDB)로 변환되고, 짝수이면 "BOV" 또는 "BOOV"로 변환된다.As shown above, if the number of bipolar bits "B" between "V" and "V" is held, "OOO or OOOO" is converted to OOV (BVS) or OOOV (HDB), and even if "BOV" or "BOOV" Is converted to.
따라서 상기 표중 *1과 *2는 앞데이터의 V와 V사이의 B의 갯수에 따라 "O" 또는 "B"가 될 수 있다.Thus, * 1 and * 2 in the table may be "O" or "B" depending on the number of Bs between V and V of the preceding data.
상기와 같은 코딩을 행하는 B3ZS코딩 회로와 HDB3코딩 회로는 각각의 코딩회로로 제작되어 생산되어 있으며, 원칩의 형태로 되어 있다.The B3ZS coding circuit and the HDB3 coding circuit which perform the above coding are manufactured and produced by the respective coding circuits, and are in the form of one chip.
상기와 같이 B3ZS코딩 회로와 HDB3코딩회로가 각각 별도로 제작되어 있어 1.54Mbps 전송속도를 갖는 24채널 통신방식과 2.048Mbps 전송속도를 갖는 32채널 통신 방식을 겸용하는 통신시스템에서 상기 두 코딩방식의 회로를 사용하고자 하는 경우에는 많은 부품이 소요되는 문제가 있어왔다.As described above, the B3ZS coding circuit and the HDB3 coding circuit are separately manufactured so that the two coding schemes can be used in a communication system that uses a 24 channel communication method having a 1.54 Mbps transmission rate and a 32 channel communication method having a 2.048 Mbps transmission rate. If you want to use has been a problem that takes many parts.
따라서 본 발명의 목적은, 코딩모드 선택에 의하여 2진 정보를 BnZS코드와 HDBn코드로 코딩할 수 있는 듀얼모드를 갖는 부호기(coder)를 제공함에 있다.Accordingly, an object of the present invention is to provide a coder having a dual mode capable of coding binary information into a BnZS code and an HDBn code by selecting a coding mode.
본 발명의 다른 목적은 코딩 모드의 선택에 따라 연속되는 "O"비트의 수를 계수하여 해당 모드에 따란 바이올레이션 비트를 발생하는 회로를 제공함에 있다.Another object of the present invention is to provide a circuit that counts the number of consecutive " O " bits in accordance with the selection of a coding mode and generates a bit of violinization according to the mode.
이하 본 발명을 첨부한 도면을 참조하여 설명한다.Hereinafter, the present invention will be described with reference to the accompanying drawings.
제 1 도는 본 발명의 따른 듀얼코딩 코드를 갖는 부호기의 호로도로서, 코딩모드 선택신호에 의해 입력되는 2진 정보를 제1, 제 2 모드로 시프트하여 직렬 스트림 데이터를 병렬 데이터로 변환하여 출력함과 동시에 모드 시프트 데이터(QD)를 출력하는 코딩모드 시프터(102)와, 상기 모드 시스트 데이터(QD)의 바이폴라 비트를 계수하여 제1, 제 2 코딩 제어신호(Y1)(Y2)를 출력하는 바이폴라 계수상태 디코더(104)와, 상기 코딩 모드 시프터(102)로 부터 출력되는 제1, 제 2 모드 시프트 병렬 데이터를 디코딩하여 코딩모드에 대응한 바이올레이션 검출신호(X)를 출력하는 바이올레이션 검출기(106)와, 상기 검출된 바이올레이션 신호(X)와 모드 시프트 데이터(QD), 상기 제1, 제 2 코딩 제어신호를 논리조합하여 상기 2진 정보를 상기 코딩 모드로 코딩 출력하는 부호 데이터 발생기(108)로 구성된다.1 is an arc diagram of an encoder having a dual coding code according to the present invention, which converts binary information input by a coding mode selection signal into first and second modes, converts serial stream data into parallel data, and outputs the parallel data. At the same time mode and the shift data coding mode shifter 102 to output a (Q D), the mode cyst data by counting the bipolar bits of the (Q D), the first and second outputs a coding control signal (Y1) (Y2) Violation for decoding the bipolar coefficient state decoder 104 and the first and second mode shift parallel data output from the coding mode shifter 102 and outputting a vibration detection signal X corresponding to the coding mode. A code for logically combining the detector 106, the detected vibration signal X, the mode shift data Q D , and the first and second coding control signals to code the binary information in the coding mode. It consists of a data generator 108.
상기 제 1 도의 구성중 코딩모드 시프터(102)는 입력되는 2진정보(DiN)를 제 1 지연 출력하는 래치회로(10)와, 상기 제 1 지연된 정보와 상기 바이올레이션검출 신호(X)를 논리조합 출력하는 논리합 게이트(12)와, 상기 논리합 게이트(12)의 출력을 제 2 지연 출력하는 래치회로(14)와, 제 2 코딩모드 신호에 응답하여 상기 제 2 지연된 정보를 선택하고, 상기 선택된 신호를 제 3 지연 출력하는 셀렉트에이블 래치회로(16)와, 제 1 코딩모드 신호에 응답하여 상기 제 2 지연된 정보를 선택하여 제 4 지연 출력하고, 제 2 코딩모드 신호에 응답하여 상기 제 3 지연된 정보를 제 4 지연하여 모드 시프트 데이터를 출력하는 셀렉트에이블 래치회로(18)로 구성된다.The coding mode shifter 102 of FIG. 1 configures a latch circuit 10 for firstly delaying input binary information DiN, and logics the first delayed information and the vibration detection signal X. Selects the second delayed information in response to a logical sum gate 12 for combining output, a latch circuit 14 for outputting a second delay of the output of the logical sum gate 12, and a second coding mode signal, A selectable latch circuit 16 for outputting a third delayed signal, a fourth delayed output after selecting the second delayed information in response to a first coding mode signal, and outputting a fourth delayed signal in response to a second coding mode signal; And a select enable latch circuit 18 for outputting mode shift data with a fourth delay of information.
그리고 바이폴라 계수상태 디코더(104)는 상기 코딩모드 시프터(102)내의 셀렉트에이블 래치회로(18)로부터 출력되는 모드시프트 데이터(QD)에 의해 초기 예정된 제 1 상태신호를 선택하여 지연 출력하는 셀렉트에이블 래치(20)와, 상기 셀렉트에이블 래치(20)의 출력과 상기 바이올레이션 검출 신호(X)를 논리곱하여 제 1 코딩 신호(Y1)를 출력하는 앤드게이트(22) 및 상기 앤드게이트(22)의 출력과 상기 제 4 지연정보(QD)를 부논리합하여 제 2 코딩신호(Y2)을 출력하는 노아게이트(24)로 구성된다.The bipolar count state decoder 104 selects and delays the first predetermined state signal by the mode shift data Q D output from the select enable latch circuit 18 in the coding mode shifter 102. The AND gate 22 and the AND gate 22 outputting the first coded signal Y1 by ANDing the latch 20, the output of the select enable latch 20, and the vibration detection signal X, respectively. And a NOR gate 24 for outputting a second coded signal Y2 by performing negative logic on an output and the fourth delay information Q D.
바이올레이션 검출기(106)는 상기 코딩모드 시프터(102)로 부터 각각 지연 출력되는 제1, 제2, 제3, 제4 지연정보를 부논리합하여 바이올레이션 상태를 검출하는 노아게이트(26)와, 상기 노아게이트(26)의 출력을 지연하여 출력하는 래치회로(28)로 구성된다.The violation detector 106 comprises a noar gate 26 which negatively combines the first, second, third, and fourth delay information which are respectively delayed and output from the coding mode shifter 102, and detects the violation state. And a latch circuit 28 for delaying and outputting the output of the NOA gate 26.
그리고, 부호 데이터 발생기(108)는 오아게이트(30), (34), (36)와, 셀렉트에이블 래치회로(32), 2개의 래치회로(38)(40)로 구성되어 있다.The code data generator 108 is composed of an oragate 30, 34, 36, a selectable latch circuit 32, and two latch circuits 38, 40. As shown in FIG.
제 2 도는 B3ZS코딩모드로 동작시 제 1 도의 각부 파형을 도시한 것이다.FIG. 2 shows the waveforms of each part of FIG. 1 when operating in the B3ZS coding mode.
제 3 도는 제 1 코딩모드 예로서, HDB3코딩 모드로 동작시 제 1 도의 각부 파형을 도시한 것이다.FIG. 3 illustrates the waveforms of the parts of FIG. 1 when operating in the HDB3 coding mode as an example of the first coding mode.
이하 본 발명에 따른 제 1 도의 동작을 제2, 제 3 도를 참조하여 설명한다.Hereinafter, the operation of FIG. 1 according to the present invention will be described with reference to FIGS. 2 and 3.
[B3ZS코딩의 동작의 예][Example of operation of B3ZS coding]
제 2 도에 도시한 바와같이 코딩모드 신호(code select)(CS)를 "1"(B3ZS 코딩모드)로 세팅하면, 셀렉트 에이블 래치회로(16)(18)들 각각은 단자(DA)로 입력되는 신호를 선택하고, 상기 선택된 신호를 클럭단자로 입력되는 클럭(CLK)에 의해 지연하여 출력된다.As shown in FIG. 2, when the code mode signal select (CS) is set to " 1 " (B3ZS coding mode), each of the select enable latch circuits 16 and 18 is connected to the terminal D A. The input signal is selected, and the selected signal is delayed and output by the clock CLK input to the clock terminal.
따라서 상기 B3ZS코딩모드가 선택된 상태에서 연속적으로 "O"인 2진 데이터(DiN)가 제 2 도와 같이 연속적으로 3비트 입력되면, 직렬 접속된 래치회로(10)(14)(16)(18)들의 출력은 제 2 도와 같이 모두 "O"으로 된다. 이때 노아게이트(26)는 "O"의 신호가 3비트 연속적으로 입력되는 위치에 바이올레이션 비트를 제 2 도(X)와 같이 출력한다. 상기 검출된 바이올레이션 비트는 오아게이트(12)를 통해 래치회로(28)로 입력된다.Therefore, when the binary data DiN having a continuous " O " is continuously input 3 bits as shown in the second diagram while the B3ZS coding mode is selected, the latch circuits 10, 14, 16 and 18 connected in series are connected. Their outputs are all "O" as in the second diagram. At this time, the NOA gate 26 outputs the vibration bit as shown in FIG. 2 at the position where the signal of " O " is continuously input for three bits. The detected vibration bit is input to the latch circuit 28 through the oragate 12.
상기의 동작에 의해 셀렉트에이블 래치회로(20)는 상기 셀렉트에이블(18)로 부터 출력하는 신호에 의해 제 2 도 Y와 같은 제 1 상태 신호를 출력하며, 앤드게이트(22)는 상기 검출된 바이올레이션 비트 "V"(X)와 제 1 상태 신호를 논리곱하여된 제 1 코딩 제어신호(Y)을 출력한다.By the above operation, the select enable latch circuit 20 outputs the first state signal as shown in FIG. 2 by the signal output from the select enable 18, and the AND gate 22 detects the detected bio. And outputs the first coding control signal Y obtained by logically multiplying the conversion bit " V " (X) with the first state signal.
즉, 바이폴라 계수상태 디코더(104)는 바이올레이션 비트 "V"와 바이올레이션 비트 "V"사이의 바이폴라 비트 "B"(bipolar)수를 세어 바이폴라비트 "B"의 수가 홀수이면 입력된 2진 정보를 'OOV'로 변환시키고 짝수이면 'BOV'로 변환토록 하는 제1, 제2 코딩 제어신호(Y1)(Y2)를 제 2 도와 같이 발생한다.That is, the bipolar count state decoder 104 counts the number of bipolar bits "B" (bipolar) between the vibration bits "V" and the vibration bits "V", and inputs binary information if the number of bipolar bits "B" is odd. The first and second coding control signals Y1 and Y2 are generated together with the second degree to convert OOV to 'OOV' and to convert to 'BOV'.
상기 제 1 코딩 제어신호(Y1)가 "1"이면 바이올레이션 비트 "V"와 바이올레이션 비트 "V"사이의 비트B(bipolar)수가 짝수임을 나타내어 'BOV'로 변환하고 "O"이면 'OOV'로 변환하는 제어신호를 출력한다.When the first coding control signal Y1 is "1", it indicates that the number of bipolar bits between the vibration bit "V" and the vibration bit "V" is even. Output a control signal to convert to '.
따라서, 입력된 2진정보의 B3ZS 코딩된 데이터(cod DT)는 제 2 도에 나타난 바와같이 Dout+, Dout-로 발란스(Balance)로 출력된다.Accordingly, the B3ZS coded data (cod DT) of the input binary information is output in balance with Dout + and Dout - as shown in FIG.
[B3ZS 코딩][B3ZS Coding]
제 2 도에 도시한 바와같이 코딩모드 신호(code select)(CS)를 "O"(HDB3 코딩모드)로 세팅하면, 셀렉트 에이블 래치회로(16)(18)들 각각은 단자 DB로 입력되는 신호를 선택하고, 상기 선택된 신호를 클럭단자로 입력되는 클럭(CLK)에 의해 제 3 도와 같이 지연하여 출력한다.As shown in FIG. 2, when the coding mode signal (code select) CS is set to " O " (HDB3 coding mode), each of the select enable latch circuits 16 and 18 is input to the terminal D B. The signal is selected, and the selected signal is delayed and outputted by the third clock by the clock CLK input to the clock terminal.
따라서 HDB3코딩 모드로 제 1 도를 동작 시키면 직렬 접속된 4개의 래치회로(10)(14)(16)(18)는 제 3 도와 같이 4비트 시프트 레지스터로 동작된다.Therefore, when FIG. 1 is operated in the HDB3 coding mode, the four latch circuits 10, 14, 16 and 18 connected in series are operated by a 4-bit shift register as shown in FIG.
그러므로 입력되는 2진정보(DiN)가 제 3 도와 같이 연속적으로 'O'이면 노아게이트(26)의 출력(X)이 '1'로 되어 이를 래치회로(14) 입력에 인가한다.Therefore, when the input binary information DiN is continuously 'O' as in the third degree, the output X of the NOA gate 26 becomes '1' and applies it to the latch circuit 14 input.
이때 바이폴라계수 상태 디코더(104)는 B3ZS 코딩모드와 동일하게 "V" 비트와 "V" 비트 사이의 "B"의 수를 세어 B(bipolar)의 수가 홀수이면 OOOV로 변환시키고 짝수이면 'BOOV' 변호도록 제1, 제 2 코딩 제어신호(Y1, Y2)를 발생한다.At this time, the bipolar coefficient state decoder 104 counts the number of " B " between the " V " The first and second coding control signals Y1 and Y2 are generated to be defended.
즉, 출력 Y1이 '1'이면 'V'사이의 B의 수가 짝수임을 나타내어 'BOOV'로 변환하고 'O'이면 'OOOV'로 변환하는 제어 신호를 출력한다.That is, if the output Y1 is '1', it indicates that the number of Bs between 'V' is even and converts to 'BOOV' and if it is 'O', it outputs a control signal to convert to 'OOOV'.
따라서, 제 3 도와 같이 입력된 2진정보에 대응한 HDB3 코드 데이터(code DT)는 제 3 도의 파형도에 나타난 바와 같이 Dout+, Dout-로 출력된다.Accordingly, the HDB3 code data code DT corresponding to the binary information input as shown in FIG. 3 is output as Dout + and Dout - as shown in the waveform diagram of FIG.
상술한 바와같이 본 발명은 간단한 하드웨어의 구성으로 B3ZS, HDB3코더를 겸용할 수 있어 북미, 유럽 방식을 겸용할 수 있는 회로에 유용하게 사용될 수 있다.As described above, the present invention can be used as a B3ZS, HDB3 coder with a simple hardware configuration can be usefully used in a circuit that can be used in both North American and European methods.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019920020708A KR950002303B1 (en) | 1992-11-05 | 1992-11-05 | Decoder with duel coding mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019920020708A KR950002303B1 (en) | 1992-11-05 | 1992-11-05 | Decoder with duel coding mode |
Publications (2)
Publication Number | Publication Date |
---|---|
KR940012861A KR940012861A (en) | 1994-06-24 |
KR950002303B1 true KR950002303B1 (en) | 1995-03-16 |
Family
ID=19342552
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019920020708A KR950002303B1 (en) | 1992-11-05 | 1992-11-05 | Decoder with duel coding mode |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR950002303B1 (en) |
-
1992
- 1992-11-05 KR KR1019920020708A patent/KR950002303B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR940012861A (en) | 1994-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5781129A (en) | Adaptive encoder circuit for multiple data channels and method of encoding | |
US6184808B1 (en) | Parallel-to-parallel converter including common multiple register | |
US20060061494A1 (en) | Encoder apparatus and decoder apparatus | |
KR100605827B1 (en) | Encoder and decoder | |
GB2098432A (en) | Consecutive identical digit suppression system | |
US4639681A (en) | Waveform reshaping circuit | |
JPS63191442A (en) | Data modulation interface | |
US4558445A (en) | Applique rate converter | |
CN1172386A (en) | Method of and apparatus for generating pseudorandom noise sequence | |
EP1897307B1 (en) | Method and apparatus for increasing data transfer rates through a communication channel | |
US6594308B1 (en) | Conversion of a numeric command value in a constant frequency PWM drive signal for an electromagnetic load | |
US5655078A (en) | Apparatus and method for encoding data in a fiber data distributed interface (FDDI) | |
KR950002303B1 (en) | Decoder with duel coding mode | |
US5278902A (en) | Method and apparatus for transition direction coding | |
JPH0578104B2 (en) | ||
US5113187A (en) | CMI encoder circuit | |
GB2174577A (en) | Digital communication system | |
US5510786A (en) | CMI encoder circuit | |
EP1254543B1 (en) | Information processing system | |
KR950013803B1 (en) | Decoder with multdecoded mode | |
US6127959A (en) | Flash analog-to-digital converter with reduced number of resistors and comparators | |
KR100260795B1 (en) | An interface system for on-chip or off-chip interconnection | |
US6049571A (en) | Encoding circuit with a function of zero continuous-suppression in a data transmission system | |
RU2169431C1 (en) | Device for adaptive coding and decoding | |
RU2206181C1 (en) | Data coding/decoding device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20040220 Year of fee payment: 10 |
|
LAPS | Lapse due to unpaid annual fee |