KR0157547B1 - Device for restoring the sync. signal of transprot demultiplexer - Google Patents

Device for restoring the sync. signal of transprot demultiplexer

Info

Publication number
KR0157547B1
KR0157547B1 KR1019950008865A KR19950008865A KR0157547B1 KR 0157547 B1 KR0157547 B1 KR 0157547B1 KR 1019950008865 A KR1019950008865 A KR 1019950008865A KR 19950008865 A KR19950008865 A KR 19950008865A KR 0157547 B1 KR0157547 B1 KR 0157547B1
Authority
KR
South Korea
Prior art keywords
data
counter
pulse width
stc
error
Prior art date
Application number
KR1019950008865A
Other languages
Korean (ko)
Other versions
KR960039845A (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 KR1019950008865A priority Critical patent/KR0157547B1/en
Publication of KR960039845A publication Critical patent/KR960039845A/en
Application granted granted Critical
Publication of KR0157547B1 publication Critical patent/KR0157547B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4305Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4341Demultiplexing of audio and video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

본 발명은 MPEG2의 표준안에 따른 트랜스포트 비트열을 영상과 음성으로 분리하는 트랜스포트 디멀티플렉서에서 비트열에 내재된 PCR데이타에 동기시킬 수 있도록 한 트랜스포트 디멀티플렉서의 동기복구장치에 관한 것으로, 송신측에서 부가된 PCR데이타와 수신측에서 생성하는 STC데이타를 비교하고 그 차이만큼의 에러데이타를 펄스폭변조한다. 이에 따라 발진주파수가 가변됨에 따라 STC데이타가 재생성되어 수시로 변하는 PCR데이타에 동기를 맞출 수 있는 효과가 있다.The present invention relates to a synchronous recovery apparatus of a transport demultiplexer which is capable of synchronizing a PCR data embedded in a bit string in a transport demultiplexer for separating a transport bit string according to the MPEG2 standard into video and audio. The PCR data is compared with the STC data generated at the receiving side, and the pulse width modulation is performed by the error data corresponding to the difference. Accordingly, as the oscillation frequency is variable, the STC data is regenerated, thereby synchronizing with the PCR data that changes frequently.

Description

트랜스포트 디멀티플렉서(Transport Demutipxer)의 동기복구장치Synchronous Recovery Unit for Transport Demutipxer

제1도는 트랜스포트 패킷의 구조를 보여주는 데이타포맷도.1 is a data format diagram showing the structure of a transport packet.

제2도는 본 발명의 동기복구장치가 적용된 트랜스포트 디멀티플렉서의 블록구성도.2 is a block diagram of a transport demultiplexer to which the synchronous recovery device of the present invention is applied.

제3도는 (a)와 (b)는 본 발명에 따른 동기복구장치의 상세구성도.3 is a detailed configuration diagram of a synchronous recovery device according to the present invention.

제4도는 본 발명에 따른 송신측의 PCR데이타와 수신측의 STC데이타의 시간적인 전후관계를 나타내는 개념도.4 is a conceptual diagram showing the temporal relationship between the PCR data of the transmitting side and the STC data of the receiving side according to the present invention.

제5도는 본 발명에 따른 동작범위를 나타내는 그래프.5 is a graph showing an operating range according to the present invention.

제6도는 (a)와 (b)는 본 발명의 펄스폭변조부에서 펄스폭변조신호를 생성하기 위한 인덱스펄스와 비트펄스에 대한 파형도.6A and 6B are waveform diagrams for index pulses and bit pulses for generating pulse width modulated signals in the pulse width modulator of the present invention.

제7도는 본 발명에 따라 비교부의 에러데이타와 펄스폭변조부의 펄스폭변조데이타의 상관관계를 나타내는 파형도.7 is a waveform diagram showing the correlation between the error data of the comparison unit and the pulse width modulation data of the pulse width modulation unit according to the present invention.

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

10 : 비교부 20 : 펄스폭변조부10: comparison unit 20: pulse width modulator

30 : 루프필터 40 : VCO30: loop filter 40: VCO

50 : STC발생부 51 : 제1비교기50: STC generator 51: the first comparator

52 : 제2비교기 53 : 제1D플립플롭52: second comparator 53: 1D flip flop

54 : 재2D플립플롭 55 : 에러발생부54: 2D flip-flop 55: Error generating unit

56 : 제1카운터 57 : 검출부56: first counter 57: detection unit

58 : 제2카운터 61 : 제2펄스폭변조기58: second counter 61: second pulse width modulator

62 : 제1펄스폭변조기 63 : 제5카운터62: first pulse width modulator 63: fifth counter

64 : 제4카운터 65 : 제4비교기64: fourth counter 65: fourth comparator

66 : 제3비교기 67 : 제3카운터66: third comparator 67: third counter

본 발명은 MPEG2의 권고안에 따라 송신측에서 전송되는 트랜스포트비트열에 부가된 PCR(Program Clock Reference) 데이타와 수신측에서 시스템클럭으로부터 얻어지는 STC데이타를 비교하여 그 차이에 상응하는 에러 데이타만큼 시스템클럭을 가변시킴으로써 동기를 맞출 수 있도록 한 트랜스포트 디멀티플렉서(Transfort Demutiflexer)의 동기복구장치에 관한 것이다.The present invention compares the PCR (Program Clock Reference) data added to the transport bit string transmitted from the transmitting side with the STC data obtained from the system clock at the receiving side according to the recommendation of MPEG2, and compares the system clock by the error data corresponding to the difference. The present invention relates to a synchronization recovery device of a Transport Demutiflexer that allows synchronization by varying.

근래들어 서로 다른 기기간의 원활한 정보전송 및 공유를 위하여 디지탈데이타의 국제적 전송규격 표준화의 필요성이 대두되었는 바, H.261은 주로 화상전화 및 회의시스템을 표준화대상으로하여 멀티미디어 통신단말기 등에 이용되며, 컴퓨터그래픽스와같은 정지화처리를 표준화대상으로 하는 JPEG은 정지화의 저장 전송뿐만 아니라 동화의 방송국내 저장 및 편집 또는 전자카메라 등에 활발히 사용되고 있다. 또, 1993년 표준화가 완료된 MPEG1은 동영상 및 오디오신호를 압축복원하기 위한 규격으로서 최근 각광을 받고 있는 CD-ROM 등에 이용되고 있으며, 이를 확장한 MPEG2는 최근 전세계적으로 관심이 고조되고 있는 디지털위성방송, 디지털케이블TV, 고화질TV 등의 압축알고리즘으로 채택되는 추세이다.Recently, the necessity of standardization of international data transmission standard of digital data has emerged for the smooth transmission and sharing of information between different devices. H.261 is mainly used for multimedia communication terminals for video telephony and conference system. JPEG, which targets still image processing such as graphics, is actively used not only for storing and transmitting still images but also for storing and editing moving images in broadcasting stations or for electronic cameras. In addition, MPEG1 standardized in 1993 is used to compress and restore video and audio signals, and is used in CD-ROM, which is recently gaining popularity, and the expanded MPEG2 is a digital satellite broadcast that has recently gained worldwide attention. The trend is to adopt compression algorithms such as digital cable TV and high definition TV.

MPEG2의 영상과 음성 압축알고리즘에 따른 다중화방식을 간략히 설명한다. 일단 비트열형태로 부호화된 오디오와 영상데이타 그리고 그외의 보조데이타를 디지털 매체에 저장하거나 케이블, 네트워크 또는 위성을 통하여 전송하기 위해서는 이 비트열들을 패킷화하고 다중화하여야 하는데, 이를 위해 MPEG2에서는 시스템규격을 상세히 정의하여, 각각의 단위 비트열(elementary stream; 오디오, 영상, 데이타)들을 PES(Packetized Elementary Stream)패킷화하고 이를 프로그램 비트열(Program stream) 또는 트랜스포트 비트열(Transport stream) 중에서 한 가지를 선택하여 사용하도록 규정하고 있다. 프로그램 비트열은 기본적으로 데이타의 저장과 같이, 전송시 에러가 거의 없는 환경에서 사용하기 위한 규격이며, MPEG1에 근거한 비트열의 형태와 매우 유사하다. 반면에 트랜스포트 비트열은 에러가 자주 발생하는 환경, 즉 네트워크나 위성을 통한 전송 또는 잡음이 많은 경우에 사용된다.The multiplexing method according to MPEG2 video and audio compression algorithm is briefly described. To store audio and video data and other auxiliary data encoded in the form of bit strings in digital media or to transmit them through cable, network, or satellite, these bit strings must be packetized and multiplexed. In detail, each elementary stream (elementary stream (audio, video, data)) is packetized packetized elementary stream (PES) and one of the program bit stream (Program stream) or transport bit stream (Transport stream) It is selected to use. The program bit string is basically a standard for use in an environment where there is little error in transmission, such as data storage, and is very similar to the form of a bit string based on MPEG1. On the other hand, the transport bit string is used in an error-prone environment, that is, a transmission or a noisy over a network or satellite.

따라서, 트랜스포트 비트열에 패리티 비트를 부가하여 전송할 수 있도록 되어 있다. 즉, 트랜스포트 비트열은 에러가 발생할 가능성이 많은 매체를 통하여 비트열을 전송하고자 할 때 주로 사용되는 것으로서 에러정정을 위하여 패리티정보를 부가할 수 있도록 패킷의 크기를 고정시켜 사용한다. 이 패킷크기는 188byte로 정해졌는데, 이는 다음의 두 가지 요소를 고려하여 결정되었다. 첫째, 현재 많이 사용되고 있는 에러정정기법인 RS코딩기법을 사용하기 쉽도록 255byte이하의 크기를 갖는 패킷으로 하였으며, 둘째 이 트랜스포트 패킷을 ATM망에 쉽게 적용할 수 있도록 하기 위한 것이다. 즉, ATM셀의 크기가 53byte이고, 그중 헤더 다섯 바이트를 제외한 48byte에 삽입하기 좋도록 하기 위한 것이다. 이때 부가되는 adaptation 필드용으로 1바이트가 소요되므로 나머지인 47바이트의 정수배가 되는 숫자중에서 선택한 188바이트가 가장 적당한 것으로 결정되었다.Therefore, it is possible to transmit by adding a parity bit to the transport bit string. That is, the transport bit string is used when a bit string is transmitted through a medium that is likely to cause an error. The transport bit string is used by fixing a packet size so that parity information can be added for error correction. This packet size is set to 188 bytes, which is determined by considering the following two factors. First, to make it easier to use the RS coding technique, which is currently used error correction technique, the packet has a size of 255 bytes or less. Second, this transport packet can be easily applied to ATM networks. That is, the size of the ATM cell is 53 bytes, which is to be inserted into 48 bytes except for the header five bytes. At this time, 1 byte is required for the additional adaptation field, so 188 bytes selected from the remaining integer number of 47 bytes are determined to be the most appropriate.

제1도는 트랜스포트 패킷의 구조를 보여주는 데이타포맷도이다. 도시한 바와 같이, 계층구조를 이루고 있으며, 패킷헤더에는 우선 한 바이트의 Sync워드가 정해져 있고, 패킷에 에러발생여부를 표시하는 transprot_error_indicator, 패킷의 우선순위를 정하기 위한 transport_priority, 패이로드(payload)가 스크램블링이 되어 있는지를 나타내는 transport_scrambling_control, 패킷로스(packet loss)가 생겼는지를 알 수 있도록 0에서 15까지 증가되는 continuity_counter등 압축 및 다중을 위한 다수의 파라메타가 삽입된다. 그중 필요에 따라 헤더 다음에 존재하는 adaptation 필드는 주로 stuffing byte를 삽입하거나 PCR(Program Clock Reference)을 전송하고자 할 때 사용된다. 여기서 PCR은 프로그램 비트열의 SCR(System Clock Reference)과 같은 용도로 사용되며, 연속적으로 전송되는 두 PCR간의 시간간격이 0.1초를 초과하지 않도록 규정하고 있다.1 is a data format diagram showing the structure of a transport packet. As shown in the figure, a packet header has a sync word of one byte defined first, a transprot_error_indicator indicating whether an error has occurred in the packet, a transport_priority for determining the priority of the packet, and a payload scrambling. A number of parameters for compression and multiplexing are inserted, such as transport_scrambling_control, which indicates whether this is done, and continuity_counter, which is incremented from 0 to 15 to see if a packet loss has occurred. Among them, adaptation field existing after header is mainly used when inserting stuffing byte or transmitting PCR (Program Clock Reference). In this case, the PCR is used for the same purpose as the SCR (System Clock Reference) of the program bit string, and the time interval between two consecutive PCRs is defined so as not to exceed 0.1 second.

이 PCR데이타는 제1도에서 알 수 있듯이, 42비트로 이루어지며 송신측의 시스템클럭을 카운팅하여 그 카운팅값을 비트열에 부가하여 보낸다.As shown in FIG. 1, this PCR data is composed of 42 bits. The system clock on the transmitting side is counted and the counting value is added to the bit string and sent.

따라서, 수신측에서 다중화된 비트열을 영상과 음성으로 분리하는 트랜스포트 디멀티플렉서는 송신측에서 부가된 PCR데이타와 시스템클럭(27㎒)에 의해 발생되는 STC(System Time Clock)데이타를 서로 비교하여 그 차이정도에 따라 시스템클럭(27㎒)을 가변시킴으로써 동기를 복구한다.Therefore, the transport demultiplexer that separates the multiplexed bit streams into video and audio at the receiving side compares the PCR data added at the transmitting side with the STC (System Time Clock) data generated by the system clock (27MHz). Synchronization is restored by varying the system clock (27 MHz) according to the degree of difference.

본 발명의 목적은 전송매체를 통해 전송되는 다중화된 비트열을 영상과 음성으로 분리하는 트랜스포트 디멀티플렉서에서 비트열에 내재된 PCR데이타에 동기시킬 수 있도록 한 트랜스포트 디멀티플렉서의 동기복구장치를 제공함에 있다.An object of the present invention is to provide a synchronous recovery apparatus of a transport demultiplexer which is capable of synchronizing with PCR data embedded in a bit string in a transport demultiplexer for separating a multiplexed bit string transmitted through a transmission medium into an image and an audio signal.

상기와 같은 목적을 달성하기 위한 본 발명은 MPEG2의 표준안에 따른 트랜스포트 비트열을 입력받아 원하는 영상과 음성비트열을 분리검출하기 위해 그 비트열에 부가된 소정 비트의 PCR데이타에 따라 동일비트수의 STC데이타를 가변시켜 동기를 복구하는 트랜스포트 디멀티플렉서의 동기복구장치에 있어서, 상기 PCR데이타와 STC데이타를 각각 입력받아 동일한 데이타값을 가지는 지를 비교한 다음 두 데이타의 차이에 상응하는 에러데이타를 출력하는 비교부와, 상기 비교부의 출력단에 연결되며, 상기 에러데이타를 입력받아 에러데이타의 펄스유형에 따라 펄스폭변조하는 펄스폭변조부와, 상기 펄스폭변조부의 출력단에 연결되며, 펄스폭변조된 에러데이타를 입력받아 소정 대역을 필터링 하는 루프필터와, 상기 루프필터의 출력단에 연결되며, 시스템클럭으로 사용하기 위해 루프필터에 의해 필터링된 신호에 따라 발진주파수를 가변하여 출력하여 VCO 및 상기 VCO의 출력단에 연결되며, 상기 VCO로부터 인가되는 발진주파수를 시스템클럭으로하여 그 시스템클럭을 카운트함과 아울러 카운팅된 STC데이타를 상기 비교부로 궤환시키는 STC발생부에 의하여 달성된다.In order to achieve the above object, the present invention receives a transport bit string according to the MPEG2 standard, and separates the same number of bits according to PCR data of a predetermined bit added to the bit string to separate and detect a desired video and audio bit string. In the synchronous recovery apparatus of a transport demultiplexer for varying the STC data to restore synchronization, the PCR data and the STC data are respectively input and compared with each other to compare whether they have the same data value, and then output error data corresponding to the difference between the two data. A pulse width modulator coupled to a comparator and an output terminal of the comparator, and connected to an output terminal of the pulse width modulator for receiving a pulse width modulated according to a pulse type of the error data and receiving the error data; A loop filter for receiving data and filtering a predetermined band, and connected to an output terminal of the loop filter, The oscillation frequency is varied according to the signal filtered by the loop filter to be used as a clock and is connected to the output terminal of the VCO and the VCO. The system clock is counted using the oscillation frequency applied from the VCO as the system clock. In addition, the counted STC data is achieved by the STC generation unit for feeding back to the comparison unit.

이하, 본 발명의 바람직한 일실시예를 첨부도면을 참조하여 상세히 설명한다.Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

제2도는 본 발명의 동기복구장치가 적용된 트랜스포트 디멀티플렉서의 블록구성도이다. 수신측의 트랜스포트 디멀티프렉서는 다중화된 트랜스포트 비트열을 입력받아 영상비트열과 음성비트열로 분할하여 출력하며, 트랜스포트 비트열에 부가된 PCR데이타는 비교부(10)에 인가된다. 비교부(10)는 PCR데이타와 궤환입력되는 STC데이타를 비교하여 그 차이만큼에 대응하는 에러데이타를 후단의 펄스폭변조부(20)로 출력한다. 이 에러데이타는 펄스폭변조부(20)에서 에러데이타의 펄스상태 즉, 에러값에 따라 펄스 폭변조된 다음 루프필터(30)에 인가된다. 변조된 에러데이타는 루프필터(30)에 의해 유효대역이상이 필터링된 다음 VCO(40)의 발진주파수를 가변시키기 위한 조정신호로서 VCO(40)에 인가된다. 이에 따라 VCO(40)는 조정신호에 따라 발진주파수를 가변시킨다. 즉, 에러데이타는 VCO(40)가 출력하는 발진주파수를 가변시키는 조정신호의 역할을 하는 것으로, 에러데이타의 펄스상태에 따라 VCO(40)의 발진주파수는 높아지거나 낮아진다. 이는 송신측의 PCR데이타에 수신측에 STC데이타를 동기시키기 위한 것으로, 발진주파수는 STC발생부(50)에 시스템클럭으로 인가됨에 따라 재생성된 STC데이타는 비교부(10)로 궤환입력된다.2 is a block diagram of a transport demultiplexer to which the synchronous recovery device of the present invention is applied. The transport demultiplexer on the receiving side receives the multiplexed transport bit stream, divides it into an image bit stream and an audio bit stream, and outputs the PCR data. The PCR data added to the transport bit stream is applied to the comparator 10. The comparison unit 10 compares the PCR data with the feedback input STC data and outputs error data corresponding to the difference to the pulse width modulator 20 at the rear stage. The error data is pulse width modulated by the pulse width modulator 20 according to the pulse state of the error data, that is, the error value, and then applied to the loop filter 30. The modulated error data is filtered over the effective band by the loop filter 30 and then applied to the VCO 40 as an adjustment signal for varying the oscillation frequency of the VCO 40. Accordingly, the VCO 40 varies the oscillation frequency according to the adjustment signal. That is, the error data serves as an adjustment signal for varying the oscillation frequency output from the VCO 40, and the oscillation frequency of the VCO 40 is increased or decreased according to the pulse state of the error data. This is for synchronizing the STC data with the PCR data of the transmitting side. The oscillation frequency is applied to the STC generating unit 50 as a system clock, and the regenerated STC data is fed back into the comparator 10.

이러한 트랜스포트 디멀티플렉서의 동기복구동작을 순차적으로 설명한다. 먼저, 상기 비교부(10)가 PCR데이타와 STC데이타를 비교하여 에러데이타를 출력하는 동작을 제3도에 따라 설명한다. 제3도(a)가 본 발명의 동기복구장치의 상세구성도이다. 도시한 바와 같이, 본 발명은 비교부(10)와 STC발생부(50)를 구비한다.The synchronous recovery operation of such a transport demultiplexer will be described sequentially. First, an operation in which the comparison unit 10 compares PCR data and STC data and outputs error data will be described with reference to FIG. 3. 3A is a detailed configuration diagram of the synchronous recovery device of the present invention. As shown, the present invention includes a comparator 10 and an STC generator 50.

먼저, STC발생부(50)는 VCO(40)로부터 인가되는 발진주파수 즉, 시스템클럭(27㎒)을 공급받아 카운팅하는 제1 및 제2카운터(56)(58)와 검출부(57)로 이루어진다. 제2카운터(58)는 9비트카운터로서 단자(CT1)에 하이상태의 인에이블신호가 인가되면 시스템클럭을 단자(CK1)를 통해 인가받아 카운팅을 시작하며, 단자(Qout)를 통해 카운팅값을 출력한다. 한편, 제2카운터(58)의 출력데이타의 일단을 입력받는 검출부(57)는 제2카운터(58)의 카운팅값이 299에 도달하면 제2카운터(56)의 단자(R1)로 리셋신호를 인가함과 동시에 제1카운터(56)의 단자(CK2)로 캐리발생신호를 출력한다. 물론, 제2카운터(58)의 출력데이타 즉, 하위STC데이타는 제1비교기(51)에 인가된다. 또, 제2카운터(58)는 단자(L1)에 로우상태의 제1로드신호가 인가되면 단자(Qin)를 통해 마이컴(미도시)에서 출력하는 제1초기값을 인가받는다. 이는 기기구동시와 같이 송신측의 PCR데이타와 수신측의 STC데이타 간에 오차의 간격이 크므로 마이컴의 제어에 의해 이전 PCR데이타 중 하위PCR데이타를 초기치로 설정하기 위한 것이다.First, the STC generator 50 is composed of first and second counters 56 and 58 and a detector 57 that receive and count an oscillation frequency applied from the VCO 40, that is, a system clock (27 MHz). . The second counter 58 is a 9-bit counter and when the enable signal of the high state is applied to the terminal CT1, the system clock is applied through the terminal CK1 to start counting, and the counting value is input through the terminal Qout. Output Meanwhile, when the counting value of the second counter 58 reaches 299, the detector 57 receiving one end of the output data of the second counter 58 sends a reset signal to the terminal R1 of the second counter 56. At the same time, a carry generation signal is output to the terminal CK2 of the first counter 56. Of course, the output data of the second counter 58, that is, the lower STC data, is applied to the first comparator 51. In addition, when a first load signal having a low state is applied to the terminal L1, the second counter 58 receives a first initial value output from a microcomputer (not shown) through the terminal Qin. This is to set the lower PCR data among the previous PCR data to the initial value under the control of the microcomputer since the error interval between the PCR data of the transmitting side and the STC data of the receiving side is large.

또, 제1카운터(56)는 33비트카운터로서 단자(CT2)를 통해 하이상태의 인에이블신호가 인가되는 동안 카운팅동작을 수행한다. 즉, 단자(CK2)를 통해 검출부(57)에서 캐리발생신호가 인가될때마다 캐리발생수를 카운팅하며, 단자(Qout)를 통해 그 카운팅값(상위STC데이타)을 제2비교기(52)로 출력한다. 물론, 제1카운터(56)도 마이컴(미도시)에서 공급되는 리셋신호가 단자(R2)에 인가되면, 카운팅값을 0으로 세트(set)하며, 단자(L2)에 로우상태의 제2로드신호가 인가되면 단자(Qin)를 통해 제2초기값을 인가받으며, 이는 제2카운터(58)의 경우와 같은 의미로 이전 PCR데이타중 상위 PCR데이타를 초기치로 설정하기 위한 것이다.In addition, the first counter 56 is a 33-bit counter and performs a counting operation while an enable signal in a high state is applied through the terminal CT2. That is, whenever the carry generation signal is applied from the detector 57 through the terminal CK2, the carry generation count is counted, and the counting value (upper STC data) is output to the second comparator 52 through the terminal Qout. do. Of course, when the reset signal supplied from the microcomputer (not shown) is applied to the terminal R2, the first counter 56 also sets the counting value to 0, and the second load of the low state in the terminal L2 is set. When the signal is applied, the second initial value is applied through the terminal Qin, which is the same as that of the second counter 58 to set the upper PCR data among the previous PCR data as the initial value.

한편, 비교부(10)는 PCR데이타와 STC데이타를 각각 입력받아 그 차이에 대응하는 감산데이타를 출력하는 제1 및 제2비교기(51)(52)와 그 출력단에 연결된 제1 및 제2D플립플롭(53)(54) 및 그 후단에 연결되는 에러발생부(55)로 이루어진다. 일단, 트랜스포트 멀티플렉서에서 검출된 42비트의 PCR데이타는 제1 및 제2비교기(51)(52)에 분리되여 인가되는데, 상기 제1비교기(51)에 최하위비트(LSB)를 포함한 9비트의 하위PCR데이타가 입력되는 반면에 최고위비트(MSB) 등의 나머지 33비트의 상위PCR데이타는 제2비교기(52)에 인가된다. 또, 제1비교기(51)는 하위PCR데이타에서 STC발생부(50)의 제2카운터(58)로부터 입력받아 하위STC데이타를 뺄셈연산한후 그 결과치를 후단의 제1D플립플롭(53)으로 출력한다. 한편, 제2비교기(52)도 상위PCR데이타에서 제1카운터(56)로부터 입력받는 상위STC데이타를 뺄셈연산한후 그 결과치를 후단의 제2D플립플롭(54)으로 출력한다. 한편, 제1 및 제2비교기(51)(52)로부터 출력데이타를 각각 인가받는 제1 및 제2D플립플롭(53)(54)은 외부로부터 인가되는 비교신호에 따라 사인비트(signbit)를 부여한 다음 에러발생부(55)로 각각 출력한다. 일예로, 제1D플립플롭(53)은 사인비트가 추가된 10비트의 제1차데이타를 출력하는데, 이는 다음의 관계식에서 알 수 있는 바와 같이 뺄셈연산의 결과가 2의 보수가 됨에 따라 음/양을 표시하기 위한 것이다.Meanwhile, the comparison unit 10 receives the PCR data and the STC data, respectively, and outputs first and second comparators 51 and 52 for outputting subtraction data corresponding to the difference, and first and second D flips connected to the output terminals. It consists of a flop 53, 54 and an error generating unit 55 connected to the rear end thereof. First, the 42-bit PCR data detected by the transport multiplexer is separately applied to the first and second comparators 51 and 52. The 9-bit PCR data including the least significant bit (LSB) in the first comparator 51 is applied. While the lower PCR data is input, the remaining 33 bits of the upper PCR data such as the most significant bit (MSB) are applied to the second comparator 52. In addition, the first comparator 51 receives the input from the second counter 58 of the STC generator 50 in the lower PCR data, subtracts the lower STC data, and then returns the result to the first 1D flip-flop 53. Output On the other hand, the second comparator 52 also subtracts the upper STC data received from the first counter 56 in the upper PCR data and outputs the result value to the second 2D flip-flop 54. Meanwhile, the first and second D flip-flops 53 and 54, which receive output data from the first and second comparators 51 and 52, respectively, are assigned a sign bit according to a comparison signal applied from the outside. Then output to the error generating unit 55, respectively. For example, the 1D flip-flop 53 outputs the first order data of 10 bits to which a sine bit is added, which is negative as the result of the subtraction operation becomes 2's complement as shown in the following relation. It is to indicate the quantity.

제1차데이타[9:0] = 하위PCR데이타[8:0] - 하위STC데이타[8:0]Primary data [9: 0] = Lower PCR data [8: 0]-Lower SCC data [8: 0]

상기 제1차 데이타가 갖는 범위는 -300∼+300이며, 제1차데이타의 최고위비트(MSB)는 사인비트가 된다. 마찬가지로, 제2D플립플롭(54)도 사인비트가 부여된 34비트의 제2차 데이타를 에러발생부(55)로 출력하는데, 그 제2차데이타의 범위는 -(233-300)∼(233-300)이며, 제2차데이타의 최고위비트(MSB)는 사인비트가 된다. 대개, 제1 및 제2D플립플롭(53)(54)의 출력하는 차데이타는 적은 값으로 나타나게 되는데, 이는 비교적 짧은 간격(0.1초 이내)으로 PCR데이타가 비트열에 부가됨에 따라 마이컴(미도시)이 이전 PCR데이타를 근거로 전술한 제1 및 제2카운터(56)(58)에 초기값을 인가시키기 때문에 차이값이 크게 되는 경우는 드물다.The range of the primary data is -300 to +300, and the most significant bit (MSB) of the primary data is a sine bit. Similarly, the 2D flip-flop 54 also outputs the 34-bit secondary data having a sine bit to the error generating unit 55, and the secondary data ranges from-(2 33 -300) to ( 2 33 -300), and the least significant bit (MSB) of the secondary data becomes a sine bit. Usually, the difference data output of the first and second D flip-flops 53 and 54 is represented by a small value, which is a microcomputer (not shown) as PCR data is added to the bit string at relatively short intervals (within 0.1 seconds). Since the initial values are applied to the first and second counters 56 and 58 described above based on the previous PCR data, the difference is rarely large.

한편, 에러발생부(55)는 제1 및 제2차 데이타를 각각 인가받아 차이정도에 따라 8비트의 에러데이타로 환산하여 출력하며, 제4도를 참조하여 에러데이타에 대해 더욱 구체적으로 설명한다. 제4도는 PCR데이타와 STC데이타의 전후관계를 나타내는 설명도로서, 제4도의 (a)는 PCR데이타가 STC데이타보다 시간적으로 앞서는 경우인 반면에, (b)는 STC데이타가 PCR데이타보다 앞서는 경우이다. 제4도(a)에서 0을 기점으로 PCR데이타가 STC데이타 보다 앞서면 차데이타(PCR데이타-STC데이타)는 음의 값을 가지며, 그외의 경우 차데이타는 양의 값을 가지게 됨은 주지하는 바와 같다. 또한, 제4도(a)에서 0을 기점으로 STC데이타가 PCR데이타 보다 앞서면 차데이타(PCR데이타-STC데이타)는 양의 값을 가지며, 그외의 경우 차데이타는 음의 값을 가진다. 앞서 설명한 바와 같이, 본 발명에 따른 동기복구장치는 제1차데이타의 발생범위가 -300∼+300이고, 제2차데이타의 발생범위가 -(233-300)∼(233-300)이라고 밝혔다. 그러나, 에러발생부(55)는 제1 및 제2차데이타의 발생범위를 벗어나는 부분에 대해서도 고려해야 한다. 다시 말해, 제1차데이타가 발생범위에 있는 경우(-300∼+300) 또는 제2차데이타가 -(233-300)보다 작거나 (233-300)을 초과하는 경우 에러발생부(55)는 PCR데이타와 STC데이타의 불일치정도가 미소한 것으로 인식하여 0의 에러데이타를 출력하는 반면에, 제1차데이타가 발생범위를 벗어나는 경우(-300보다 작거나 300보다 큰 경우) 또는 제2차데이타가 발생범위에 있는 경우[-(233-300)∼(233-300)]에는 PCR데이타와 STC데이타의 불일치정도가 큰 것으로 인식하여 -(PCR데이타-STC데이타)/4로 환산하여 에러데이타를 출력한다.On the other hand, the error generating unit 55 receives the first and second data, respectively, and converts the data into 8 bits of error data according to the degree of difference, and the error data will be described in more detail with reference to FIG. . 4 is an explanatory diagram showing the relationship between PCR data and STC data. FIG. 4 (a) shows the case where PCR data is ahead of STC data in time, while (b) is where STC data is ahead of PCR data. to be. As shown in FIG. 4 (a), when PCR data is earlier than STC data, the char data (PCR data-STC data) has a negative value, and otherwise the tea data has a positive value. . In addition, in FIG. 4A, when the STC data is earlier than the PCR data, the char data (PCR data-STC data) has a positive value. Otherwise, the tea data has a negative value. As described above, in the synchronous recovery device according to the present invention, the generation range of the primary data is -300 to +300, and the generation range of the secondary data is-(2 33 -300) to (2 33 -300). Said. However, the error generating unit 55 should also consider the portion outside the generation range of the first and second secondary data. In other words, when the primary data is in the generation range (-300 to +300) or when the secondary data is smaller than-(2 33 -300) or exceeds (2 33 -300), an error generator ( 55) recognizes that the mismatch between the PCR data and the STC data is small and outputs zero error data, while the primary data is out of the occurrence range (less than -300 or greater than 300) or If the secondary data is in the range of occurrence [-(2 33 -300) to (2 33 -300)], the discrepancy between the PCR data and the STC data is recognized as large and-(PCR data-STC data) / 4 Convert the error data.

따라서, 본 발명에 따른 동작범위는 제5도에 같이 나타난다.Therefore, the operating range according to the present invention is shown in FIG.

제3도(b)는 상기 에러발생부(55)에 의해 출력되는 에러데이타[7:0]를 펄스폭변조하는 펄스폭변조부(20)의 상세구성도이다. 먼저, 제3카운터(67)는 5비트카운터로서 단자(CT3)에 하이상태의 인에이블신호가 인가되면 단자(CK3)에 인가되는 시스템클럭을 카운팅하며, 단자(Qout)를 통해 카운팅값을 제3비교기(66)로 출력한다. 제3비교기(66)는 단자(E)에 인가되는 제3카운터(67)의 출력데이타와 단자(B)에 인가되는 '11010'신호를 비교한다. 비교결과 일치하면 제3카운터(67)의 단자(R3)로 리셋신호를 출력함과 아울러 제4카운터(64)의 단자(CT4)로 인에이블신호를 출력한다. 이때, 제3카운터(67)는 리셋신호에 의해 카운팅값이 '0'으로 세트되며, 제4카운터(64)는 7비트카운터로서 제3비교기(66)의 인에이블신호가 인가될때마다 단자(CK4)에 공급되는 시스템클럭을 카운트하며, 단자(Qout)를 통해 카운팅값을 제4비교기(65)로 출력한다. 제4비교기(65)는 단자(G)에 인가되는 제4카운터(64)의 출력데이타와 단자(H)에 인가되는 '펄스폭신호'를 비교한다. 비교결과 일치하면 제4카운터(64)의 단자(R4)로 리셋신호를 출력함과 아울러 제5카운터(63)의 단자(CT5)로 인에이블신호를 출력한다. 이때, 제4카운터(64)는 리셋신호에 의해 카운팅값이 '0'으로 세트되며, 제5카운터(63)는 8비트카운터로서 제4비교기(65)의 인에이블신호가 인가될 때마다 단자(CK5)에 공급되는 시스템클럭을 카운트하며, 단자(Qout)를 통해 카운팅값을 제1펄스폭 변조기(62)와 자신의 단자(R5)로 각각 출력한다. 상기 제5카운터(63)의 출력하는 인덱스신호(PWM_Index)의 유형은 제6도(a)에 도시한 바와 같이 7가지 형태로 구분할 수 있다. 상기 제1펄스폭변조기(62)는 인가되는 인덱스신호(PWM_Index)에 대응하는 소정 주기의 비트신호(PWM_Bit)를 제2펄스폭변조기(61)로 출력한다. 즉, 다음의 대응관계에 의해 대응하는 인덱스신호(PWM_Index)에 대응하는 비트신호(PWM_Bit)를 출력한다.3B is a detailed configuration diagram of the pulse width modulator 20 for pulse width modulating the error data [7: 0] output by the error generating unit 55. As shown in FIG. First, when the enable signal of the high state is applied to the terminal CT3 as the 5-bit counter, the third counter 67 counts the system clock applied to the terminal CK3, and counts the count value through the terminal Qout. 3 is output to the comparator 66. The third comparator 66 compares the output data of the third counter 67 applied to the terminal E with the '11010' signal applied to the terminal B. FIG. If the comparison result is matched, the reset signal is output to the terminal R3 of the third counter 67 and the enable signal is output to the terminal CT4 of the fourth counter 64. At this time, the counting value is set to '0' by the reset signal of the third counter 67, and the fourth counter 64 is a 7-bit counter, and the terminal (whenever the enable signal of the third comparator 66 is applied to the third counter 67. The system clock supplied to CK4 is counted, and the counting value is output to the fourth comparator 65 through the terminal Qout. The fourth comparator 65 compares the output data of the fourth counter 64 applied to the terminal G with the 'pulse width signal' applied to the terminal H. If the result of the comparison matches, the reset signal is output to the terminal R4 of the fourth counter 64 and the enable signal is output to the terminal CT5 of the fifth counter 63. At this time, the counting value of the fourth counter 64 is set to '0' according to the reset signal, and the fifth counter 63 is an 8-bit counter, and the terminal is applied whenever the enable signal of the fourth comparator 65 is applied. The system clock supplied to the CK5 is counted, and the counting value is output to the first pulse width modulator 62 and its own terminal R5 through the terminal Qout. Types of the index signal PWM_Index output by the fifth counter 63 may be classified into seven types as shown in FIG. The first pulse width modulator 62 outputs the bit signal PWM_Bit of a predetermined period corresponding to the applied index signal PWM_Index to the second pulse width modulator 61. That is, the bit signal PWM_Bit corresponding to the corresponding index signal PWM_Index is output by the following correspondence.

상기 제2펄스폭변조기(61)는 에러발생부(55)로부터 에러데이타[7:0]에 따라 상응하는 비트신호(PWM_Bit)를 선택하여 펄스폭변조를 행하는데, 에러데이타의 유효펄스의 갯수에 따라 이미 맵핑하여둔 7가지 유형의 비트신호(PWM_Bit)를 선택취합한다. 즉, 해당 비트신호(PWM_Bit)를 비교신호로 이용하여 펄스폭변조를 하게된다. 이는 펄스폭변조된 신호는 외부의 루프필터(Loop filter; 30)에서 그 에러데이타[7:0]에 비례하는 DC전압을 얻기 위한 것이다. 루프필터(30)의 콘덴서의 정전용량(Q)은 Q=CV이다. 따라서, 충전시 △V=t(1/C), 방전시 △V=t(1/C)이므로 에러데이타[7:0]에 비례하여 충전시간과 방전시간으로 환산하여 출력하게 되면 에러데이타[7:0]에 비례하는 캐패시터전압을 얻을 수 있다. 상기 제2펄스폭변조기(61)가 출력하는 펄스폭변조신호는 256T기간을 주기로하며, 여기서, T=(26×펄스폭신호)×1/(27×106)이다. 256T기간에서의 하이펄스의 총구간이 충전기간이 되고 로우펄스의 총구간이 방전구간이 된다. 따라서, 256T기간에서의 전체하이펄스구간을 에러데이타에 비레하여 펄스폭변조할 수 있다.The second pulse width modulator 61 selects a corresponding bit signal PWM_Bit from the error generating unit 55 according to the error data [7: 0] to perform pulse width modulation, and the number of valid pulses of the error data. Select and collect the seven types of bit signals PWM_Bit that are already mapped. That is, pulse width modulation is performed using the corresponding bit signal PWM_Bit as a comparison signal. This is for the pulse width modulated signal to obtain a DC voltage proportional to the error data [7: 0] in an external loop filter 30. The capacitance Q of the capacitor of the loop filter 30 is Q = CV. Therefore, ΔV = t (1 / C) during charging and ΔV = t (1 / C) during discharge, so that the error data [is converted to charge time and discharge time in proportion to the error data [7: 0]. 7: 0] capacitor voltage proportional to. The pulse width modulated signal output by the second pulse width modulator 61 has a period of 256T, where T = (26 × pulse width signal) × 1 / (27 × 10 6 ). The total section of the high pulse becomes the charger section and the total section of the low pulse becomes the discharge section in the 256T period. Therefore, the pulse width modulation can be performed in the entire high pulse section in 256T period in proportion to the error data.

상기 에러데이타에 대응하는 펄스폭변조신호의 일예가 제7도에 도시되어 있다. 제7도는 에러데이타에 따라 펄스폭변조된 데이타를 나타내는 파형도이다. 제7도에서 좌측의 숫자는 에러발생부(55)가 출력하는 에러데이타의 펄스상태를 표시하는 숫자이며, 각 숫자의 우측에 펄스폭변조(PWM)된 파형이 도시되어 있다. 상기 숫자가 양의 값을 가지면 로우펄스의 갯수보다 하이펄스의 갯수가 많음을 나타내는 것이며, 음의 숫자를 가지면 하이펄스의 갯수보다 로우펄스의 갯수가 많은 것이다. 일예로, 에러데이타의 펄스상태가 +127이면 로우펄스가 없는 상태로 PCR데이타가 STC데이타보다 빠르다는 것을 의미하는 반면에, 에러데이타의 펄스상태가 -127 또는 -128이면 하이펄스가 없는 상태 즉, PCR데이타가 STC데이타보다 느리다는 것을 의미한다. 또한, 에러데이타가 0이면 로우펄스와 하이펄스의 갯수가 동일하며, 이때 PCR데이타와 STC데이타의 차이는 없다는 것을 의미한다.An example of the pulse width modulated signal corresponding to the error data is shown in FIG. 7 is a waveform diagram showing pulse width modulated data according to error data. 7 is a number indicating the pulse state of the error data output by the error generating unit 55, and a pulse width modulated (PWM) waveform is shown on the right side of each number. A positive value indicates that the number of high pulses is greater than the number of low pulses. A negative number indicates that the number of low pulses is larger than the number of high pulses. For example, if the pulse state of the error data is +127, the PCR data is faster than the STC data with no low pulses, whereas if the pulse state of the error data is -127 or -128, there is no high pulse. This means that PCR data is slower than STC data. In addition, if the error data is 0, the number of low pulses and high pulses is the same, and this means that there is no difference between the PCR data and the STC data.

제2펄스폭변조기(61)는 에러발생부(55)의 에러데이타[7:0]를 입력받아 하이상태의 펄스갯수에 따라 비트신호(PWM_Bit)를 선택하는데 이를 나타내면 [표 1]과 같다.The second pulse width modulator 61 receives the error data [7: 0] of the error generating unit 55 and selects the bit signal PWM_Bit according to the number of pulses in the high state.

[표 1]에서 알 수 있는 바와 같이, 에러데이타에 따라 펄스발생빈도는 상관관계를 가진다. 즉, 에러데이타가 큰 값(양의 값)을 가짐에 따라 펄스폭변조된 데이타는 하이펄스가 많아지며 반면에 에러데이타가 작은 값(음의 값)을 가짐에 따라 로우펄스가 많아짐을 알 수 있다. 일예로, 에러데이타가 +64일 때 하이펄스는 192개이고 로우펄스는 64개이어서 그 비율은 3:1로 나타난다. 그러나, 에러데이타가 -64일 때 하이펄스는 64개이고 로우펄스는 192개이어서 그 비율은 1:3로 나타남을 알 수 있다. 이러한 펄스상태를 파형으로 나타내면 제7도와 같다. [표 1]에서 N은 루프필터(30)가 충전 또는 방전하는 것을 수치화한 것으로 양의 값을 가지면 충전상태를 나타내며, 음의 값을 가지면 방전상태를 나타내며, 수치는 충전 또는 방전기간을 정량적으로 환산한 수치이다. 따라서, 루프필터(30)에 의해 상이하게 충전 및 방전됨에 따라 VCO(40)가 출력하는 발진주파수도 가변된다.As can be seen from Table 1, the frequency of pulse generation is correlated according to the error data. That is, as the error data has a large value (positive value), the pulse width modulated data has a high pulse, while the error data has a small value (negative value), so the low pulse increases. have. For example, when the error data is +64, 192 high pulses and 64 low pulses have a ratio of 3: 1. However, when the error data is -64, the high pulses are 64 and the low pulses are 192, so the ratio is 1: 3. This pulse state is shown in FIG. 7 as a waveform. In [Table 1], N denotes the charging or discharging of the loop filter 30, and the positive value indicates the state of charge, and the negative value indicates the state of discharge, and the numerical value indicates the charge or discharge period quantitatively. It is the converted number. Therefore, as the charging and discharging is differently performed by the loop filter 30, the oscillation frequency output by the VCO 40 is also varied.

이상과 같은 본 발명의 동기클럭 복구장치는 송신측에서 부가된 PCR데이타와 수신측에서 생성하는 STC데이타를 비교하고 그 차이에 따라 발진주파수를 가변시켜 STC데이타를 재생성함으로써 PCR데이타에 동기를 맞출 수 있는 효과가 있다.The synchronous clock recovery apparatus of the present invention can synchronize the PCR data by comparing the PCR data added at the transmitting side and the STC data generated at the receiving side and regenerating the STC data by varying the oscillation frequency according to the difference. It has an effect.

Claims (14)

MPEG2의 표준안에 따른 트랜스포트 비트열을 입력받아 원하는 영상과 음성비트열을 분리검출하기 위해 그 비트열에 부가된 소정 비트의 PCT데이타에 따라 동일비트수의 STC데이타를 가변시켜 동기를 복구하는 트랜스포트 디멀티플렉서의 동기복구장치에 있어서, 상기 PCT데이타와 STC데이타를 각각 입력받아 동일한 데이타값을 가지는 지를 비교한 다음 두 데이타의 차이에 상응하는 에러데이타를 출력하는 비교부; 상기 비교부의 출력단에 연결되며, 상기 에러데이타를 입력받아 에러데이타의 펄스유형에 따라 펄스폭변조하는 펄스폭변조부; 상기 펄스폭변조부의 출력단에 연결되며, 펄스폭변조된 에러데이타를 입력받아 소정 대역을 필터링 하는 루프필터; 상기 루프필터의 출력단에 연결되며, 시스템클럭으로 사용하기 위해 루프필터에 의해 필터링된 신호에 따라 발진주파수를 가변하여 출력하는 VCO; 및 상기 VCO의 출력단에 연결되며, 상기 VCO로부터 인가되는 발진주파수를 시스템클럭으로하여 그 시스템클럭을 카운트함과 아울러 카운팅된 STC데이타를 상기 비교부로 궤환시키는 STC발생부를 포함하는 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.Transport that recovers synchronization by varying STC data of the same number of bits according to PCT data of predetermined bits added to the bit stream to receive the transport bit stream according to the MPEG2 standard and to separately detect desired video and audio bit streams. A synchronous recovery apparatus of a demultiplexer, comprising: a comparison unit which receives the PCT data and the STC data, compares each other to have the same data value, and outputs error data corresponding to the difference between the two data; A pulse width modulator connected to an output terminal of the comparator and configured to receive the error data and modulate a pulse width according to a pulse type of the error data; A loop filter connected to an output terminal of the pulse width modulator and receiving a pulse width modulated error data to filter a predetermined band; A VCO connected to an output terminal of the loop filter and varying an oscillation frequency according to a signal filtered by the loop filter for use as a system clock; And an STC generation unit connected to an output terminal of the VCO and counting the system clock using the oscillation frequency applied from the VCO as a system clock and returning the counted STC data to the comparison unit. Synchronous recovery device of demultiplexer. 제1항에 있어서, 상기 비교부는 PCR데이타의 최상위비트(MSB)를 포함하는 상위PCR데이타와 그의 대응하는 상위STC데이타를 각각 입력받아 뺄셈연산하는 제1비교기와, PCR데이타의 최하위비트(LSB)를 포함하는 하위PCR데이타와 그에 대응하는 하위STC데이타를 각각 입력받아 뺄셈연산하는 제2비교기와, 상기 제1 및 제2비교기의 출력단에 각각 접속되며 뺄셈연산된 결과치에 사인비트를 부가하는 제1 및 제2차 데이타를 각각 출력하는 제1 및 제2D플립플롭과, 상기 제1 및 제2D플립플롭의 출력단에 공통접속되며 상기 제1 및 제2차데이타를 입력받아 현재의 PCR데이타와 STC데이타의 차이에 상응하는 에러데이타를 출력하는 에러발생부로 이루어진 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.2. The apparatus of claim 1, wherein the comparing unit comprises: a first comparator configured to receive and subtract the upper PCR data including the most significant bit (MSB) of the PCR data and its corresponding upper STC data, and the least significant bit (LSB) of the PCR data; A second comparator configured to receive and subtract the lower PCR data and the corresponding lower STC data, respectively; And first and second D flip-flops for outputting secondary data, and commonly connected to output terminals of the first and second D flip-flops, and receiving the first and second secondary data to receive current PCR data and STC data. An error recovery unit for outputting error data corresponding to the difference of the synchronous recovery device of the transport demultiplexer. 제1항에 있어서, 상기 STC발생부는 제1인에이블신호가 인가되면 시스템클럭의 일단을 인가받아 카운팅하여 소정의 하위STC데이타를 비교부의 제2비교기로 출력하는 제1카운터와, 제1카운터의 출력단에 연결되며 그 하위STC데이타가 299에 도달하면 제1카운터로 리셋신호를 출력함과 동시에 제2카운터로 캐리발생신호를 출력하는 검출부와, 상기 검출부로부터 캐리발생신호가 인가될때마다 캐리발생수를 카운팅하여 소정의 상위STC데이타를 비교부의 제2비교기로 출력하는 제2카운터로 이루어진 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.The first and second counters of claim 1, wherein the STC generation unit receives and counts one end of the system clock when the first enable signal is applied, and outputs a predetermined lower STC data to the second comparator. A detector for outputting a reset signal to the first counter and a carry signal to the second counter when the lower STC data reaches 299, and a carry count every time a carry generation signal is applied from the detector. And a second counter outputting the predetermined upper STC data to the comparator's second comparator, wherein the synchronous recovery device of the transport demultiplexer is counted. 제1항에 있어서, 상기 펄스폭변조부는 제2인에이블신호가 인가되면 Clk단자에 인가되는 시스템클럭을 카운트하는 제3카운터와, 상기 제3카운터의 출력데이타와 외부로부터 인가되는 '11010'의 비교에 의해 일치하면 제3카운터로 리셋신호를 출력함과 아울러 제4카운터로 제3인에이블신호를 출력하는 제1비교기와, 상기 제3인에이블신호가 인가될 때 마다 외부로부터 공급되는 시스템클럭을 카운트하는 제4카운터와, 상기 제4카운터의 출력데이타와 외부의 '펄스폭신호'의 비교에 의해 일치하면 제4카운터로 리셋신호를 출력함과 아울러 제5카운터로 제4인이에블신호를 출력하는 제2비교기와, 상기 제4인이에블신호가 인가될때마다 외부로부터 공급되는 시스템클럭을 카운트하는 제5카운터오, 상기 제5카운터가 출력하는 인덱스신호(PWM_Inex)에 대응하는 소정 주기의 비트신호(PWM_Bit)를 출력하는 제1펄스폭변조기와, 상기 비트신호(PWM_Bit)를 선택적으로 취합하여 상기 에러발생부로부터 인가되는 소정의 에러데이타를 펄스폭변조하는 제2펄스폭변조기를 포함하는 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.The method of claim 1, wherein the pulse width modulator of the third counter to count the system clock applied to the Clk terminal when the second enable signal is applied, the output data of the third counter and '11010' is applied from the outside If a comparison is made, the first comparator outputs a reset signal to the third counter and outputs a third enable signal to the fourth counter, and a system clock supplied from the outside whenever the third enable signal is applied. Outputs the reset signal to the fourth counter and matches the fourth enable signal to the fifth counter when the fourth counter counting the number and the output data of the fourth counter match with the external pulse width signal. A second comparator for outputting a signal, a fifth counter for counting a system clock supplied from the outside whenever the fourth enable signal is applied, and a small counter corresponding to the index signal PWM_Inex outputted by the fifth counter. A first pulse width modulator for outputting a period bit signal PWM_Bit and a second pulse width modulator for selectively collecting the bit signal PWM_Bit and pulse-width modulating predetermined error data applied from the error generating unit; A synchronous recovery device for a transport demultiplexer, comprising: 제3항에 있어서, 상기 제1카운터는 PCR데이타와 수신측의 STC데이타 간에 오차의 간격이 클때 외부로부터 인가되는 제1초기값을 하위STC데이타로 대치하여 제1비교기로 출력하는 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.The method of claim 3, wherein the first counter outputs to the first comparator by replacing the first initial value applied from the outside with the lower STC data when the error interval between the PCR data and the STC data on the receiving side is large. Synchronous Recovery Unit for Transport Demultiplexer. 제3항에 있어서, 상기 제2카운터는 PCR데이타와 수신측의 STC데이타 간에 오차의 간격이 클때 외부로부터 인가되는 제2초기값을 상위 STC데이타로 대치하여 제2비교기로 출력하는 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.The method of claim 3, wherein the second counter outputs to the second comparator by replacing the second initial value applied from the outside with the upper STC data when the error interval between the PCR data and the STC data on the receiving side is large. Synchronous Recovery Unit for Transport Demultiplexer. 제2항에 있어서, 상기 제1 및 제2비교기는 뺄셈연산한 결과가 2의 보수값을 갖도록 하는 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.3. The synchronous recovery apparatus of a transport demultiplexer according to claim 2, wherein the first and second comparators allow the result of the subtraction operation to have a two's complement value. 제2항에 있어서, 상기 제1 및 제2D플립플롭은 제1 및 제2차데이타의 최상위비트를 음/양을 표시하는 사인비트로 부여하는 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.3. The synchronous recovery apparatus of the transport demultiplexer according to claim 2, wherein the first and second D flip-flops are provided with the most significant bit of the first and second order data as a sine bit representing a negative / positive value. 제8항에 있어서, 상기 제1차데이타는 10진수로 환산시 -300 내지 +300의 값을 갖는 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.The synchronous recovery apparatus of the transport demultiplexer according to claim 8, wherein the first order data has a value of -300 to +300 when converted to a decimal number. 제8항에 있어서, 상기 제2차데이타는 10진수로 환산시 -(233-300)∼(233-300)의 값을 갖는 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.The synchronous recovery apparatus of a transport demultiplexer according to claim 8, wherein the second secondary data has a value of-(2 33 -300) to (2 33 -300) when converted to a decimal number. 제2항에 있어서, 상기 에러발생부는 제1차데이타가 설정범위(-300∼+300)에 존재하거나 제2차데이타가 설정범위[-(233-300)보다 작거나 (233-300)을 초과한 경우] 0의 에러데이타를 출력하며, 제1차데이타가 설정범위를 벗어나거나(-300보다 작거나 300을 초과한 경우) 제2차데이타가 설정범위[-(233-300)∼(233-300)에 존재하면 -(PCR데이타-STC데이타)/4에 따라 출력하는 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.The method of claim 2, wherein the error generator comprises: first data are present in the set range (-300~ + 300) or the second data is set in the range [- less than (233-300) or (233-300 Exceeding)] Outputs error data of 0, and if the 1st primary data is out of the setting range (less than -300 or exceeds 300), the 2nd secondary data is within the setting range [-(2 33 -300 ) - (2 If present in the 33 -300) - (PCR data -STC data) / 4 sync recovery device of a transport demultiplexer characterized in that the output in accordance with the. 제4항에 있어서, 상기 제2펄스폭변조기는 에러데이타의 하이펄스 또는 로우펄스의 갯수에 따라 펄스폭이 다른 비트신호(PWM_Bit)를 맵핑하여 설정해두고 입력되는 비트신호에 따라 에러데이타를 펄스폭변조하는 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.The pulse width modulator of claim 4, wherein the second pulse width modulator maps and sets a bit signal PWM_Bit having a different pulse width according to the number of high or low pulses of the error data, and sets the error data according to the input bit signal. A synchronous recovery device for a transport demultiplexer, characterized in that for modulating. 제12항에 있어서, 상기 제2펄스폭변조기는 에러데이타의 펄스상태에 따라 펄스폭변조하여 출력하는 펄스폭변조신호의 주기를 256T로 설정하는 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.13. The synchronous recovery apparatus of the transport demultiplexer according to claim 12, wherein the second pulse width modulator sets a period of the pulse width modulated signal outputted by modulating the pulse width according to the pulse state of the error data to 256T. 여기서, T=(26×펄스폭)×1/(27×106)이다.Here, T = (26 × pulse width) × 1 / (27 × 10 6 ). 제13항에 있어서, 상기 제2펄스폭변조기는 에러데이타가 갖는 전체하이펄스구간에 비례하여 펄스폭변조하는 것을 특징으로 하는 트랜스포트 디멀티플렉서의 동기복구장치.The synchronous recovery apparatus of the transport demultiplexer according to claim 13, wherein the second pulse width modulator modulates the pulse width in proportion to the entire high pulse section of the error data.
KR1019950008865A 1995-04-15 1995-04-15 Device for restoring the sync. signal of transprot demultiplexer KR0157547B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950008865A KR0157547B1 (en) 1995-04-15 1995-04-15 Device for restoring the sync. signal of transprot demultiplexer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950008865A KR0157547B1 (en) 1995-04-15 1995-04-15 Device for restoring the sync. signal of transprot demultiplexer

Publications (2)

Publication Number Publication Date
KR960039845A KR960039845A (en) 1996-11-25
KR0157547B1 true KR0157547B1 (en) 1998-11-16

Family

ID=19412251

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950008865A KR0157547B1 (en) 1995-04-15 1995-04-15 Device for restoring the sync. signal of transprot demultiplexer

Country Status (1)

Country Link
KR (1) KR0157547B1 (en)

Also Published As

Publication number Publication date
KR960039845A (en) 1996-11-25

Similar Documents

Publication Publication Date Title
CA2192913C (en) Reformatting of variable rate data for fixed rate communication
US5602595A (en) ATV/MPEG sync system
KR100230646B1 (en) Apparatus for synchronizing main and auxiliary video signals
US7436456B2 (en) Video device and method for synchronising time bases of video devices
US8149883B2 (en) Data receiving device, data receiving method, and computer product
US5497205A (en) Apparatus for processing BPSK signal transmitted with NTSC TV on quadrature-phase video
JP4176844B2 (en) System time clock error detection circuit
US20070242678A1 (en) Method for reconstructing system time clock (STC) without carrying PCR
JPH08204666A (en) Transmission system with control circuit and control circuitwith comparator
US5768326A (en) PLL circuit and method
CN1155219A (en) System clock recovering device in MPEG decording system
KR0157547B1 (en) Device for restoring the sync. signal of transprot demultiplexer
JP5461222B2 (en) Client clock reproducing apparatus and client clock reproducing method
US20030018983A1 (en) Data broadcasting service system of storage type
JPH09168150A (en) Fixed length cell processing type image communication method, fixed length cell processing type image communication transmitter and fixed length cell processing type image communication receiver
JP3612465B2 (en) Image coding / decoding device
JP2723819B2 (en) Sampling clock recovery device
JP3121493B2 (en) Horizontal sync signal generator
KR100199960B1 (en) Apparatus for generating and reproducing sync. clock
JP2001103502A (en) Phase information detection circuit and phase synchronization sampling clock recovery circuit
JPH11191759A (en) Sampling clock regeneration circuit
JP3631628B2 (en) Phase-synchronized sampling clock recovery circuit
JP3388331B2 (en) Television signal transmitting device and receiving device
JP3421711B2 (en) Sampling clock recovery system and device
GB2229890A (en) Teletext broadcasting signal generating and receiving apparatus

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20080627

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee