KR970002963B1 - Code detecting circuit of digital signal transmission system - Google Patents

Code detecting circuit of digital signal transmission system Download PDF

Info

Publication number
KR970002963B1
KR970002963B1 KR1019930012110A KR930012110A KR970002963B1 KR 970002963 B1 KR970002963 B1 KR 970002963B1 KR 1019930012110 A KR1019930012110 A KR 1019930012110A KR 930012110 A KR930012110 A KR 930012110A KR 970002963 B1 KR970002963 B1 KR 970002963B1
Authority
KR
South Korea
Prior art keywords
output
counter
bit counter
gate
code
Prior art date
Application number
KR1019930012110A
Other languages
Korean (ko)
Other versions
KR950002465A (en
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 KR1019930012110A priority Critical patent/KR970002963B1/en
Publication of KR950002465A publication Critical patent/KR950002465A/en
Application granted granted Critical
Publication of KR970002963B1 publication Critical patent/KR970002963B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/12Systems in which the television signal is transmitted via one channel or a plurality of parallel channels, the bandwidth of each channel being less than the bandwidth of the television signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Dc Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

A code detection circuit of a digital signal transmission system is disclosed. The code detection circuit of the digital signal transmission comprises: a counter control means(10) for generating enable and count reset signals and detecting a specific code by controlling a counting operation in response to a carry signal; a first counting means(20) for counting the number of same level values of first bits in the specific code; and a second counting means(40) for the number of same level values of second bits in the specific code. Thereby, the code detection circuit may appropriately detect a code of a digital signal using a couter.

Description

디지탈신호 전송 시스템에서의 코드 검출회로Code Detection Circuit in Digital Signal Transmission System

본 발명은 디지탈신호 전송 시스템에서의 코드 검출회로에 관한 것으로, 특히 카운터를 이용하여 디지탈신호의 코드를 검출하는데 적합한 코드 검출회로에 관한 것이다.The present invention relates to a code detection circuit in a digital signal transmission system, and more particularly, to a code detection circuit suitable for detecting a code of a digital signal using a counter.

일반적으로, 디지탈신호를 송수신하는 시스템, 예를들면 HDTV나 다른 디지탈영상 전송기기에 있어서는 송수신하고자 하는 신호의 일정구간을 표시하기 위하여, 즉 소정구간의 시작을 표시하기 위하여 그 구간의 시작부분에 특정한 코드(이하 특정코드라 함)를 전송한다. 이러한 경우에 부여되는 특정코드는 신호 데이타중 극히 일부분에 지나지 않으므로 일반적으로 코드의 길이가 긴 고정길이를 갖는다. 예를들어 구간의 시작 인식을 위해 사용되는 이러한 코드는 0(또는 1)이 계속되다가 1개의 1(또는 0)을 갖고 다시 0(또는 1)이 계속되는 형태를 갖게 된다.Generally, in a system for transmitting / receiving a digital signal, for example, an HDTV or another digital video transmission device, a specific portion of the beginning of a section is used to indicate a certain section of a signal to be transmitted or received, i.e., to indicate the start of a predetermined section. Send a code (hereinafter referred to as a specific code). In this case, the specific code given is only a small part of the signal data, so that the code has a long fixed length. For example, such a code used for the start recognition of a section has a form of 0 (or 1) followed by 1 (or 0) followed by 0 (or 1).

상기와 같이 데이타의 소정구간의 시작 인식을 위해 특정코드를 전송하는 시스템에서 MPEG(Motion Picture Expert Group) 방식의 경우에는 이러한 헤더중에 속하는 것으로 PSC(Picture Start Code) 및 SSC(Slice Start Code) 등이 있다. 이러한 코드를 16진수로 나타낸다면, PSC는 00000100(32비트)이 되고, SSC는 000001(24비트)로 된다. 따라서, 소정구간의 시작 인식을 위해 이와 같이 긴 길이를 갖는 특정 코드를 전송하는 경우에, 이 긴 길이의 특정코드를 검출하기 위해서는 각 코드 길이에 해당하는 만큼의 입력을 받을 수 있는 게이트 로직이 필요하게 된다. 더욱이 이와 같이 많은 입력을 갖는 게이트 로직을 구성하는데 있어서는 한단으로 구성한다는 것이 어려우므로 여러단으로 구성할 수 밖에 없다.As described above, the MPEG (Motion Picture Expert Group) method belongs to these headers in a system that transmits a specific code to start recognition of a predetermined period of data. PSC (Picture Start Code) and SSC (Slice Start Code) have. If such a code is represented in hexadecimal, the PSC is 00000100 (32 bits), and the SSC is 000001 (24 bits). Therefore, in the case of transmitting a specific code having such a long length to recognize the start of a predetermined period, gate logic capable of receiving an input corresponding to each code length is needed to detect the specific code having such a long length. Done. In addition, when configuring the gate logic having many inputs as described above, it is difficult to configure in one stage, and thus, it is necessary to configure in multiple stages.

상기와 같이 코드길이가 길어 많은 입력을 갖는 게이트 로직의 전형적인 일예가 도3에 도시되어 있다.As shown above, a typical example of gate logic having a long code length and having many inputs is shown in FIG. 3.

동 도면에서 참조번호 40은 비트수에 상응하는 수의 인버터로 구성된 인버터부, 50은 인버터부(40)의 출력측에 접속되며 4개의 NAND 게이트(52, 54, 56, 58)로 구성된 NAND 게이트부 60은 NAND 게이트부(50)의 출력측에 접속되며 2개의 OR 게이트로 구성된 OR 게이트부, 70은 OR 게이트부(60)의 출력측에 접속된 NOR 게이트를 각각 나타낸다.In the figure, reference numeral 40 denotes an inverter portion composed of an inverter corresponding to the number of bits, and 50 is connected to an output side of the inverter portion 40 and a NAND gate portion composed of four NAND gates 52, 54, 56, and 58. 60 denotes an OR gate portion connected to the output side of the NAND gate portion 50 and composed of two OR gates, and 70 denotes a NOR gate connected to the output side of the OR gate portion 60.

따라서 이와 같은 구성을 가지고 데이타의 소정구간의 시작 인식을 위해 전송되어 오는 특정코드를 검출하는 종래의 코드 검출회로는 상술한 바와같이 신호의 병렬처리를 위해 게이트 로직이 다단연결되므로 회로구성이 복잡할 뿐만 아니라 입력된 신호 데이타가 다단으로 형성된 로직을 통과하게 되므로서 시간지연이 발생되는 문제점을 갖는다.Therefore, the conventional code detection circuit for detecting a specific code transmitted for the start recognition of a predetermined period of data with such a configuration has a complicated circuit configuration since the gate logic is connected in multiple stages for parallel processing of signals as described above. In addition, since the input signal data passes through logic formed in multiple stages, a time delay occurs.

본 발명은 상기한 종래 기술의 문제점에 착안하여 안출한 것으로, 설계가 용이하고 시간지연을 억제할수 있는 디지탈신호 전송 시스템에서의 코드 검출회로를 제공하는데 그 목적이 있다.SUMMARY OF THE INVENTION The present invention has been made in view of the above problems of the prior art, and an object thereof is to provide a code detection circuit in a digital signal transmission system that is easy to design and can suppress time delay.

상기 목적을 달성하기 위하여 본 발명은, 디지탈신호의 송수신시에 데이타의 소정구간의 시작 인식을 위해 전송되는 특정코드를 검출하는 디지탈신호 전송 시스템에서의 코드 검출회로에 있어서, 2진 코드로 된 입력 데이타에 의거하여 카운트 동작을 위한 인에이블 신호 및 카운트 리세트 신호를 발생하며, 캐리신호에 의거하여 교번적인 카운트 동작을 제어함으로써 상기 특정코드를 검출하는 카운터 제어수단; 상기 특정 코드가 상기 입력 데이타로서 입력될 때, 상기 카운터 제어수단으로 부터의 인에이블 신호에 응답하여 상기 특정코드의 연속하는 상위비트의 동일 레벨값의 개수를 카운트하며, 상기 카운터 제어수단으로 부터의 리세트 신호에 의거하여 리세트되어 캐리신호를 발생하는 상위비트 카운터; 및 상기 입력 데이타 및 상기 상위비트 카운터에서 발생되는 상기 캐리신호에 근거하는 상기 카운터 제어수단으로 부터의 인에이블 신호에 응답하여 상기 특정코드의 연속하는 하위비트의 동일 레벨값의 개수를 카운트하며, 상기 카운터 제어수단으로 부터의 리세트 신호에 의거하여 리세트되는 하위비트 카운터로 이루어진 디지탈신호 전송 시스템에서의 코드 검출회로를 제공한다.In order to achieve the above object, the present invention is a code detection circuit in a digital signal transmission system for detecting a specific code transmitted for the start recognition of a predetermined period of data when transmitting and receiving a digital signal, the input of the binary code Counter control means for generating an enable signal and a count reset signal for a count operation based on data, and detecting said specific code by controlling an alternating count operation based on a carry signal; When the specific code is input as the input data, the number of the same level values of successive higher bits of the specific code is counted in response to the enable signal from the counter control means, and from the counter control means. An upper bit counter that is reset based on the reset signal to generate a carry signal; And counting the number of equal level values of successive lower bits of the specific code in response to an enable signal from the counter control means based on the input data and the carry signal generated in the higher bit counter. Provided is a code detection circuit in a digital signal transmission system comprising a lower bit counter that is reset based on a reset signal from a counter control means.

도1은 본 발명의 바람직한 실시예에 따른 디지탈신호 전송 시스템에서의 코드 검출회로의 블록구성도1 is a block diagram of a code detection circuit in a digital signal transmission system according to a preferred embodiment of the present invention.

도2는 도1에 도시된 카운터 제어부의 세부적인 구성의 일예를 도시한 상세 블록구성도FIG. 2 is a detailed block diagram showing an example of a detailed configuration of the counter controller shown in FIG.

도3은 종래의 디지탈신호 전송 시스템에서의 코드 검출회로의 블록구성도3 is a block diagram of a code detection circuit in a conventional digital signal transmission system.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

10 : 카운터 제어부 20, 30 : 카운터10: counter control unit 20, 30: counter

40 : 인버터부 50 : NAND 게이트부40: inverter section 50: NAND gate section

52, 54, 56, 58 : NAND 게이트 60 : OR 게이트부52, 54, 56, 58: NAND gate 60: OR gate portion

62, 64 : OR 게이트 70 : NOR 게이트62, 64: OR gate 70: NOR gate

본 발명의 상기 및 기타 목적과 여러가지 장점은 이 기술분야에 숙련된 사람들에 의해 첨부된 도면을 참조하여 하기에 기술되는 본 발명의 바람직한 실시예로부터 더욱 명확하게 될 것이다.The above and other objects and various advantages of the present invention will become more apparent from the preferred embodiments of the present invention described below with reference to the accompanying drawings by those skilled in the art.

이하 첨부된 도면을 참조하여 본 발명에 따른 디지탈신호 전송 시스템에서의 코드 검출회로의 바람직한 실시예에 대하여 설명한다.Hereinafter, a preferred embodiment of a code detection circuit in a digital signal transmission system according to the present invention will be described with reference to the accompanying drawings.

도1은 본 발명의 바람직한 실시예에 따른 디지탈신호 전송 시스템에서의 코드 검출회로에 대한 블록구성도이다.1 is a block diagram of a code detection circuit in a digital signal transmission system according to a preferred embodiment of the present invention.

동 도면에 있어서 참조번호 20과 30은 전송되어 온 데이타의 입력시에 검출하고자 하는 특정코드에서 상위비트와 하위비트를 각각 카운팅하여 이 카운팅값이 소정값이 되면 캐리를 발생하는 상위비트 및 하위비트 카운터를 각각 나타내고, 참조번호 10은 입력 데이타에 의거하여 상위비트 및 하위비트 카운터(20, 30)를 제어하고 이 상위비트 및 하위비트 카운터(20, 30)로 부터의 캐리신호에 의거하여 특정코드를 검출하는 카운터 제어부이며, 이들 구성부, 즉 상위비트 및 하위비트 카운터(20, 30)와 카운터 제어부(10)는 실질적인 본 발명의 구성을 이룬다.In the figure, reference numerals 20 and 30 refer to the upper and lower bits of the specific code to be detected at the time of input of the transmitted data, and if the counting value reaches a predetermined value, the upper and lower bits for generating a carry are counted. Each counter represents a counter, and reference numeral 10 controls the high and low bit counters 20 and 30 based on the input data, and specifies a specific code based on a carry signal from the high and low bit counters 20 and 30. Is a counter control unit, and these components, that is, the upper and lower bit counters 20 and 30 and the counter control unit 10, constitute a substantial configuration of the present invention.

또한 동 도면에서의 상세한 도시는 생략되었으나 상위비트 및 하위비트 카운터(20, 30)는 검출하고자 하는 코드의 0(또는 l)의 연속된 수에 따라 내부의 플립플롭의 수가 결정될 수 있다.In addition, although the detailed illustration of the same figure is omitted, the upper and lower bit counters 20 and 30 may determine the number of internal flip-flops according to the consecutive number of zeros (or l) of codes to be detected.

다음에, 상기한 바와같은 구성을 갖는 본 발명에 따른 디지탈신호 전송 시스템에서의 코드 검출회로의 동작과정을 설명한다.Next, an operation process of the code detection circuit in the digital signal transmission system according to the present invention having the configuration as described above will be described.

먼저, 전체 시스템이 작동되어 데이타가 카운터 제어부(10)에 입력되면, 카운터 제어부(10)는 입력 데이타가 1(또는 0)일 경우에 상위비트 및 하위비트 카운터(20, 30)를 모두 리세트시키고, 입력 데이타가 0(또는 1)일 경우에 상위비트 카운터(20)를 인에이블시켜 연속된 0(또는 1)의 수를 카운팅하게 한다.First, when the entire system is operated and data is input to the counter control unit 10, the counter control unit 10 resets both the upper bit and lower bit counters 20 and 30 when the input data is 1 (or 0). When the input data is 0 (or 1), the upper bit counter 20 is enabled to count the number of consecutive 0s (or 1s).

또한, 카운터 제어부(10)는 검출하고자 하는 코드에서의 상위비트의 연속된 0의 수보다 더 적은 카운터값에서 l(또는 0)의 데이타가 입력되면 상위비트 카운터(20)에 리세트신호를 보내어 카운터값을 클리어시키며, 그 후 0(또는 1)의 데이타가 입력되면 다시 상위비트 카운터(20)를 인에이블시킨다. 만약 상위비트 카운터(20)가 검출하고자 하는 0(또는 l)의 수 이상을 카운팅하게 되면, 상위비트 카운터(20)로부터 1(또는 0)의 데이타가 입력될 때까지 캐리가 발생되어 카운터 제어부(10)에 입력되고, 다시 1(또는 0)의 데이타가 입력되면 카운터 제어부(10)는 상위비트 카운터(20)와 하위비트 카운터(30)를 인에이블시킨다. 또한 하위비트 카운터(30)에서 연속된 0(또는 1)의 수를 카운팅하여 검출하고자 하는 0(또는 1)의 수가 되면 하위비트 카운터(30)는 캐리를 발생하여 카운터 제어부(10)로 출력한다.In addition, the counter control unit 10 sends a reset signal to the upper bit counter 20 when l (or 0) data is input at a counter value smaller than the number of consecutive zeros of the upper bits in the code to be detected. The counter value is cleared, and then the high bit counter 20 is enabled again when 0 (or 1) data is input. If the upper bit counter 20 counts more than the number of zeros (or ls) to be detected, a carry is generated until one (or zero) data is input from the upper bit counter 20 and the counter controller ( 10, and when 1 (or 0) data is input again, the counter control unit 10 enables the upper bit counter 20 and the lower bit counter 30. FIG. In addition, when the number of consecutive 0s (or 1s) is counted in the lower bit counter 30 and the number of 0s (or 1s) to be detected is reached, the lower bit counter 30 generates a carry and outputs it to the counter controller 10. .

이상과 같이, 카운터 제어부(l0)에서는 데이타가 입력되면 상술한 바와같이 상위비트 및 하위비트 카운터(20, 30)를 입력 데이타에 상응하게 각각 인에이블시켜 캐리를 생성함으로서, 입력 데이타에서 데이타의 소정구간의 시작 인식을 위해 전송된 특정코드를 검출하며, 특정코드가 검출되면 다시 모든 카운터를 클리어시킨 다음 상술한 과정을 반복하여 연속적으로 특정코드를 검출하게 된다.As described above, when the data is input, the counter controller 10 generates the carry by enabling the upper and lower bit counters 20 and 30 corresponding to the input data, respectively, as described above, thereby generating a carry. The specific code transmitted for the start recognition of the section is detected. When the specific code is detected, all counters are cleared again, and the above-described process is repeated to continuously detect the specific code.

한편, 상술한 바와같이 본 발명에 따라 각 카운터(20, 30)의 동작을 제어하여 특정코드를 검출하는 카운터 제어부(10)는, 예를들면 도2에 도시된 바와같이 구성할 수 있다.On the other hand, as described above, according to the present invention, the counter control unit 10 for detecting the specific code by controlling the operations of the counters 20 and 30 can be configured as shown in FIG.

도2를 참조하면, 본 발명의 카운터 제어부(10)는 하나의 플립플롭(F/F)(110), 4개의 앤드 게이트(120, 130, 140, 150) 및 하나의 오아 게이트(l60)를 포함한다.Referring to FIG. 2, the counter controller 10 of the present invention may include one flip-flop (F / F) 110, four end gates 120, 130, 140, and 150, and one ora gate l60. Include.

여기에서, 설명의 편의와 이해의 증진을 위해, 이하의 실시예에서는 카운터 제어부(10), 즉 플립플롭(110)에 입력되는 시작코드가 "00000000 10000000 00000000 00000000"의 값을 갖는다고 가정한다.Here, for the convenience of explanation and improvement of understanding, it is assumed in the following embodiment that the start code input to the counter control unit 10, that is, the flip-flop 110, has a value of "00000000 10000000 00000000 00000000".

먼저, 카운터 제어부(10)에 데이타가 입력, 즉 시작코드가 입력되면 입력된 시작코드는 플립플롭(110)을 통해 지연출력되는 데, 이때 플립플롭(110)의 출력이 "0"인 경우 이 플립플롭(110)의 출력에 일측 입력단자가 각각 연결된 앤드 게이트(120) 및 앤드 게이트(150)의 각 출력은 모두 "0"레벨이 된다. 따라서, 앤드 게이트(120)의 출력에 일측 입력단자가 연결되고 앤드 게이트(150)의 출력에 타측 입력단자가 연결된 오아 게이트(160)의 출력 또한 "0"레벨이 된다.First, when data is input to the counter controller 10, that is, a start code is input, the input start code is delayed through the flip-flop 110. In this case, when the output of the flip-flop 110 is "0", Each output of the AND gate 120 and the AND gate 150 having one input terminal connected to the output of the flip-flop 110 has a level of "0". Therefore, the output of the OR gate 160 having one input terminal connected to the output of the AND gate 120 and the other input terminal connected to the output of the AND gate 150 also becomes "0" level.

따라서, 오아 게이트(160)의 출력에 그의 리세트단자(rst)가 연결된 상위비트 카운터(20) 및 앤드 게이트(120)의 출력에 그의 리세트단자(rst)가 연결된 하위비트 카운트(30)는 각 리세트단자에 모두 "0" 레벨이 인가되므로, 각 카운터(20, 30)는 리세트된다.Therefore, the upper bit counter 20 having its reset terminal rst connected to the output of the OR gate 160 and the lower bit count 30 having its reset terminal rst connected to the output of the AND gate 120 are Since all "0" levels are applied to each reset terminal, the counters 20 and 30 are reset.

이때, 일측 입력단자가 플립플롭(110)의 출력에 연결되고 타측 입력단자가 상위비트 카운터(20)의 출력에 연결된 앤드 게이트(140)의 "1" 레벨 출력이 상위비트 카운터(20)의 인에이블 단자(ena)에 인가되므로써 상위비트 카운터(20)는 인에이블 상태로 되고, 반면에 일측 입력단자가 플립플롭(110)의 출력에 연결되고 타측 입력단자가 상위비트 카운터(20)의 출력에 연결되며 또다른 타측 입력단자가 하위비트 카운터(30)의 출력에 연결된 앤드 게이트(130)의 "0" 레벨 출력이 하위비트 카운터(30)의 인에이블 단자(ena)에 인가되므로써 하위비트 카운터(30)는 디스에이블 상태로 유지된다.At this time, the "1" level output of the AND gate 140 whose one input terminal is connected to the output of the flip-flop 110 and the other input terminal is connected to the output of the upper bit counter 20 is the upper bit counter 20. The upper bit counter 20 is enabled by being applied to the enable terminal ena, while one input terminal is connected to the output of the flip-flop 110 and the other input terminal is connected to the output of the upper bit counter 20. Connected to the other input terminal and connected to the output of the lower bit counter 30, the "0" level output of the AND gate 130 is applied to the enable terminal ena of the lower bit counter 30 so that the lower bit counter ( 30) remains disabled.

따라서, 상위비트 카운터(20)만이 카운트 동작을 수행하게 되며, 이러한 상위 비트 카운터(20)의 동작에 따라 입력 데이타의 연속된 "0"의 값을 카운트하게 된다. 이때, 상위비트 카운터(20)는, 일예로서 시작코드가 상술한 바와 같은 경우, "0"을 8개 카운트하도록 설정되어 있어야 할 것이다.Therefore, only the upper bit counter 20 performs a count operation, and according to the operation of the upper bit counter 20, the value of consecutive "0" of the input data is counted. At this time, the upper bit counter 20 should be set to count eight "0" s, for example, when the start code is as described above.

한편, 입력 데이타 "0"이 8개 입력되기 이전에 입력 데이타 "1"이 입력되는 경우, 앤드 게이트(120)의 출력 및 오아 게이트(160)의 출력은 모두 "1" 레벨로 된다. 그 결과, 각 카운터(20, 30)의 각 리세트단자(rst)에 각각 "1" 레벨이 인가되고, 앤드 게이트(140)의 "0" 레벨 출력이 상위비트 카운터(20)의 인에이블 단자(ena)에 입력되므로써 상위비트 카운터(20)가 디스에이블 상태로 되는 반면에, 앤드 게이트(130)의 "0" 레벨 출력이 하위비트 카운터(30)의 인에이블 단자(ena)에 입력되므로써 하위비트 카운터(30)가 디스에이블 상태로 유지된다.On the other hand, when input data "1" is input before eight input data "0" is input, both the output of the AND gate 120 and the output of the OR gate 160 become "1" level. As a result, " 1 " level is applied to each reset terminal rst of each counter 20 and 30, and the " 0 " level output of the AND gate 140 is enabled terminal of the upper bit counter 20. As shown in FIG. While the upper bit counter 20 is disabled by being input to (ena), the "0" level output of the AND gate 130 is lowered by being input to the enable terminal ena of the lower bit counter 30. Bit counter 30 remains disabled.

그런다음, 입력 데이타값으로 "0"이 입력되는 경우, 상기한 바와같이 상위비트 카운터(20)가 리세트되므로써, 카운트 동작을 다시 수행하게 된다. 이때, 상위비트 카운터(20)에서의 이전 카운트값은 클리어된다.Then, when " 0 " is input as the input data value, the high order counter 20 is reset as described above, so that the count operation is performed again. At this time, the previous count value in the upper bit counter 20 is cleared.

다음에, 입력 데이타의 연속된 "0"의 값을 8개 카운트한 다음에 입력 데이타 "1" 입력되는 경우에 상위비트 카운터(20)에서는 캐리신호를 발생하게 되는데, 이러한 캐리신호는 이후에 입력 데이타 "0"이 입력될때까지 지속된다.Next, when the input data " 1 " is input after counting eight consecutive " 0 " values of the input data, the upper bit counter 20 generates a carry signal, which is then inputted. It continues until data "0" is entered.

즉, 입력 데이타 "1"이 입력되는 경우에 상위비트 카운터(20)는 디스에이블 상태로 되며, 그의 출력단자를 통해 "1" 레벨의 캐리신호를 출력한다. 이때, 하위비트 카운터(30)는 디스에이블 상태를 유지하고 있으며, 상위비트 카운터(20)의 리세트 단자(rst)는 "0" 레벨에서 "0" 레벨로 변화된다.That is, when the input data "1" is input, the upper bit counter 20 is in a disabled state, and outputs a "1" level carry signal through its output terminal. At this time, the lower bit counter 30 maintains the disabled state, and the reset terminal rst of the upper bit counter 20 is changed from the "0" level to the "0" level.

그런다음, 입력 데이타 "0"이 입력되면, 앤드 게이트(150)의 출력이 "1" 레벨로 되므로 상위비트 카운터(20)의 리세트단자(rst)에는 "1" 레벨이 그대로 인가되고, 또한 앤드 게이트(140)의 출력이 "0" 레벨을 그대로 유지하므로 상위비트 카운터(20)의 인에이블 단자(ena)에는 "0" 레벨의 신호가 그대로 유지된다. 이와동시에 앤드 게이트(120)의 출력이 "1" 레벨에서 "0" 레벨로 변동되므로 하위비트 카운터(30)가 리세트되고, 또한 앤드 게이트(130)의 출력도 "1" 레벨로 되므로 하위비트 카운터(30)가 인에이블 상태로 된다. 따라서, 하위비트 카운터(30)는 이와같은 상태에서 입력 데이타 "0"을 카운트하며, 일예로서 시작코드가 전술한 바와같은 경우, 하위비트 카운터(30)는 "0"을 23개 카운트하도록 설정되어 있어야 할 것이다.Then, when the input data "0" is input, the output of the AND gate 150 is at the "1" level, so that the "1" level is applied to the reset terminal rst of the higher bit counter 20 as it is. Since the output of the AND gate 140 maintains the "0" level, the "0" level signal is maintained at the enable terminal ena of the upper bit counter 20. At the same time, since the output of the AND gate 120 varies from the "1" level to the "0" level, the lower bit counter 30 is reset, and since the output of the AND gate 130 also becomes the "1" level, the lower bit The counter 30 is enabled. Accordingly, the lower bit counter 30 counts input data "0" in this state, and as an example, when the start code is as described above, the lower bit counter 30 is set to count 23 "0". Should be.

한편, 상기한 바와같은 상황에서 입력 데이타 "0"이 23개 입력되기 이전에 입력 데이타 "1"이 입력되는 경우, 앤드 게이트(120)의 출력이 "1" 레벨로 되어 각 카운터(20, 30)의 리세트 단자(rst)에 "1" 레벨이 인가되고, 또한 두 앤드 게이트(130, 140)의 "0" 레벨 출력이 각 카운터(20, 30)의 인에이블 단자(ena)에 각각 입력되므로써, 두 카운터(20, 30)는 모두 디스에이블 상태로 된다. 그후, 입력 데이타 "0"이 입력되는 경우에는, 상기한 바와같이 두 카운터(20, 30)가 모두 리세트(이때, 이전 카운트값은 클리어됨)되어 카운트 동작을 다시 시작하게 된다. 이때, 현재까지 입력된 모든 데이타값이 본 발명에 따라 검출하고자 하는 시작코드와는 무관한 것이므로, 전술한 바와같이 상위비트 카운터(20)에 의한 입력 데이타 "0"의 카운트부터 다시 시작하게 된다.On the other hand, when the input data "1" is input before 23 input data "0" is input in the above-described situation, the output of the AND gate 120 becomes the "1" level, so that each counter 20, 30 Is applied to the reset terminal rst of the " 1 " level, and the " 0 " level outputs of the two AND gates 130 and 140 are respectively input to the enable terminals ena of the respective counters 20 and 30, respectively. As a result, both counters 20 and 30 are disabled. Then, when the input data "0" is input, as described above, both counters 20 and 30 are reset (at this time, the previous count value is cleared) to start the counting operation again. At this time, since all data values inputted so far are not related to the start code to be detected according to the present invention, as described above, the data starts from the count of the input data " 0 "

다른한편, 입력 데이타 "0"이 23개 입력되는 경우, 하위비트 카운터(30)에는 "1" 레벨의 캐리신호를 발생하게 되는 데, 여기에서 발생된 "1" 레벨의 캐리신호는 앤드 게이트(120) 및 앤드 게이트(130)에 입력된다. 따라서, 하위비트 카운터(30)의 인에이블 단자(ena)에 "0" 레벨의 신호가 입력되므로써 하위비트 카운터(30)는 디스에이블 상태로 되어 카운트 동작을 종료하고 "1" 레벨의 검출신호를 출력한다.On the other hand, when 23 input data "0" are input, the low bit counter 30 generates a "1" level carry signal, and the "1" level carry signal generated from the AND gate ( 120 and the AND gate 130. Therefore, by inputting the signal of level "0" to the enable terminal ena of the lower bit counter 30, the lower bit counter 30 is in a disabled state to end the counting operation and to detect the detection signal of the level "1". Output

그런다음에 입력 데이타 "0"이 입력되는 경우, 앤드 게이트(120)이 출력이 "0" 레벨로 되고, 앤드 게이트(150)의 출력도 "0" 레벨의 되므로써, 하위비트 카운터(30)는 리세트된다.Then, when input data " 0 " is inputted, the AND gate 120 has an output of " 0 " level, and the output of the AND gate 150 also has a " 0 " level, so that the lower bit counter 30 Reset.

즉, 상술한 바와같은 과정을 통해 입력 데이타에서 데이타의 소정구간의 시작 인식을 위해 전송된 특정코드를 검출하게 되며, 특정코드가 검출되면 다시 모든 카운터를 클리어시킨 다음 상술한 과정을 반복하여 연속적으로 특정코드를 검출하게 된다.That is, the specific code transmitted for the start recognition of the predetermined section of the data is detected from the input data through the above-described process, and when the specific code is detected, all counters are cleared again, and the above-described process is repeated continuously. The specific code is detected.

이상 설명한 바와 같이 본 발명에 따르면, 디지탈신호 송수신시에 소정구간의 시작 인식을 위해 전송된 특정코드를 검출하는데 있어서, 0(또는 1)의 데이타가 연속적으로 많고, 많은 비트를 갖는 특정코드를 검출하는데 카운터수단을 이용함으로서, 종래장치에 비해 설계가 간단하게 될 뿐만 아니라 종래장치에서 다단의 게이트 로직으로 인해 야기되었던 시간지연의 문제도 완전히 해결할 수가 있다.As described above, according to the present invention, in detecting a specific code transmitted for the start recognition of a predetermined period during transmission and reception of a digital signal, a specific code having a large number of 0 (or 1) data in a row and having many bits is detected. By using the counter means, not only the design is simpler than the conventional device but also the time delay problem caused by the multi-stage gate logic in the conventional device can be completely solved.

Claims (2)

디지탈신호의 송수신시에 데이타의 소정구간의 시작 인식을 위해 전송되는 특정코드를 검출하는 디지탈신호 전송 시스템에서의 코드 검출회로에 있어서, 2진 코드로 된 입력 데이타에 의거하여 카운트 동작을 위한 인에이블 신호 및 카운트 리세트 신호를 발생하며, 캐리신호에 의거하여 교번적인 카운트 동작을 제어함으로써 상기 특정코드를 검출하는 카운터 제어수단; 상기 특정코드가 상기 입력 데이타로서 입력될 때, 상기 카운터 제어수단으로 부터의 인에이블 신호에 응답하여 상기 특정코드의 연속하는 상위비트의 동일 레벨값의 개수를 카운트하며, 상기 카운터 제어수단으로 부터의 리세트 신호에 의거하여 리세트되어 캐리신호를 발생하는 상위비트 카운터; 및 상기 입력 데이타 및 상기 상위비트 카운터에서 발생되는 상기 캐리신호에 근거하는 상기 카운터 제어수단으로 부터의 인에이블 신호에 응답하여 상기 특정코드의 연속하는 하위비트의 동일 레벨값의 개수를 카운트하며, 상기 카운터 제어수단으로 부터의 리세트 신호에 의거하여 리세트되는 하위비트 카운터로 이루어진 디지탈신호 전송 시스템에서의 코드 검출회로.A code detection circuit in a digital signal transmission system that detects a specific code transmitted for the start recognition of a predetermined period of data when transmitting and receiving a digital signal, the code detection circuit being enabled for a count operation based on input data of a binary code. Counter control means for generating a signal and a count reset signal and detecting the specific code by controlling an alternating count operation based on a carry signal; When the specific code is input as the input data, the number of the same level values of successive higher bits of the specific code is counted in response to the enable signal from the counter control means, and from the counter control means. An upper bit counter that is reset based on the reset signal to generate a carry signal; And counting the number of equal level values of successive lower bits of the specific code in response to an enable signal from the counter control means based on the input data and the carry signal generated in the higher bit counter. A code detection circuit in a digital signal transmission system comprising a lower bit counter that is reset based on a reset signal from a counter control means. 제1항에 있어서, 상기 카운터 제어수단은 외부로 부터의 클럭에 따라 상기 입력 데이타를 래치하는 플립플롭, 일측 입력단자가 상기 플립플롭의 출력에 연결되고 타측 입력단자가 상기 하위비트 카운터의 출력에 연결되어 상기 하위비트 카운터용 리세트 신호를 제공하는 제1 앤드 게이트; 일측 입력단자가 상기 플립플롭의 출력에 연결되고 타측 입력단자가 상기 상위비트 카운터의 출력에 연결된 제2 앤드 게이트; 일측 입력단자가 상기 제1 앤드 게이트의 출력에 연결되고 타측 입력단자가 상기 제2 앤드 게이트의 출력에 연결되어 상기 상위비트 카운트용 리세트 신호를 제공하는 오아 게이트; 일측 입력단자가 상기 플립플롭의 출력에 연결되고 타측 입력단자가 상기 상위비트 카운터의 출력에 연결되어 상기 상위비트 카운터용 인에이블 신호를 제공하는 제3 앤드 게이트; 및 일측 입력단자가 상기 플립플롭의 출력에 연결되고 타측 입력단자가 상기 상위비트 카운터의 출력에 연결되며 또다른 타측 입력단자가 상기 하위비트 카운터의 출력에 연결되어 상기 하위비트 카운터용 인에이블 신호를 제공하는 제4 앤드 게이트로 구성된 것을 특징으로 하는 디지탈신호 전송 시스템에서의 코드 검출회로.2. The apparatus of claim 1, wherein the counter control means comprises: a flip-flop for latching the input data according to a clock from the outside; one input terminal is connected to an output of the flip flop, and the other input terminal is connected to an output of the lower bit counter. A first AND gate coupled to provide a reset signal for the lower bit counter; A second AND gate having one input terminal connected to an output of the flip flop and the other input terminal connected to an output of the upper bit counter; An oar gate having one input terminal connected to an output of the first AND gate and the other input terminal connected to an output of the second AND gate to provide a reset signal for the higher bit count; A third AND gate having one input terminal connected to an output of the flip-flop and the other input terminal connected to an output of the upper bit counter to provide an enable signal for the upper bit counter; And one input terminal is connected to the output of the flip-flop, the other input terminal is connected to the output of the upper bit counter, and the other input terminal is connected to the output of the lower bit counter to provide the enable signal for the lower bit counter. A code detection circuit in a digital signal transmission system comprising: a fourth end gate provided.
KR1019930012110A 1993-06-30 1993-06-30 Code detecting circuit of digital signal transmission system KR970002963B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930012110A KR970002963B1 (en) 1993-06-30 1993-06-30 Code detecting circuit of digital signal transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930012110A KR970002963B1 (en) 1993-06-30 1993-06-30 Code detecting circuit of digital signal transmission system

Publications (2)

Publication Number Publication Date
KR950002465A KR950002465A (en) 1995-01-04
KR970002963B1 true KR970002963B1 (en) 1997-03-13

Family

ID=19358343

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930012110A KR970002963B1 (en) 1993-06-30 1993-06-30 Code detecting circuit of digital signal transmission system

Country Status (1)

Country Link
KR (1) KR970002963B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102615070B1 (en) 2016-10-12 2023-12-19 삼성전자주식회사 Display apparatus and method of controlling thereof

Also Published As

Publication number Publication date
KR950002465A (en) 1995-01-04

Similar Documents

Publication Publication Date Title
US5424709A (en) Circuit for providing isolation between components of a power control system and for communicating power and data through the isolation media
US4185273A (en) Data rate adaptive control device for Manchester code decoders
US5134632A (en) Decoding binary-coded transmissions
KR100318031B1 (en) Transition-controlled digital signal transmission system
US4851710A (en) Metastable prevent circuit
US5526391A (en) N+1 frequency divider counter and method therefor
US4667338A (en) Noise elimination circuit for eliminating noise signals from binary data
JPH1028091A (en) Circuit and method for encoding/decoding digital data transmitted through optical fiber
KR970002963B1 (en) Code detecting circuit of digital signal transmission system
JPH0738445A (en) Variable-length sign decoder
EP0389697A2 (en) Serial data receiver
US6205192B1 (en) Clock input control circuit
US5996081A (en) System having series controllers for controlling suspending of power to associate core blocks based on suspending signal and signal indicators that the converted data is invalid
KR100244745B1 (en) Sync. word detecting circuit
KR0137088Y1 (en) Communication equipment Line signal conversion device between NS, CI, DS
US6091348A (en) Circuit and method for on-the-fly bit detection and substitution
US5463631A (en) Error pulse width expanding circuit
JPS58123247A (en) Circuit monitoring device of optical transmission system
EP0416644A2 (en) Communication control device
US6320881B1 (en) Method, architecture and circuit for locking a data transmission frame
US4651329A (en) Digital decode logic for converting successive binary zero pulses having opposite polarity to a stream of data pulses
WO1985004297A1 (en) Counting apparatus having independent subcounters
US7240133B1 (en) Reduced-area architecture for padded-protocol interface
JPH0595566A (en) Digital signal transmitter
KR930008947B1 (en) Frame detected circuit of digital transmitted apparatus

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
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: 20100302

Year of fee payment: 14

LAPS Lapse due to unpaid annual fee