KR20010036732A - apparatus for interfacing channel in digital broadcasting receiver - Google Patents

apparatus for interfacing channel in digital broadcasting receiver Download PDF

Info

Publication number
KR20010036732A
KR20010036732A KR1019990043857A KR19990043857A KR20010036732A KR 20010036732 A KR20010036732 A KR 20010036732A KR 1019990043857 A KR1019990043857 A KR 1019990043857A KR 19990043857 A KR19990043857 A KR 19990043857A KR 20010036732 A KR20010036732 A KR 20010036732A
Authority
KR
South Korea
Prior art keywords
signal
channel
data
unit
packet
Prior art date
Application number
KR1019990043857A
Other languages
Korean (ko)
Other versions
KR100606690B1 (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 KR1019990043857A priority Critical patent/KR100606690B1/en
Publication of KR20010036732A publication Critical patent/KR20010036732A/en
Application granted granted Critical
Publication of KR100606690B1 publication Critical patent/KR100606690B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/50Tuning indicators; Automatic tuning control

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

PURPOSE: A channel interface device for a digital broadcasting receiver is provided to detect a sync byte before writing decoded data from a channel decoding unit in a storing unit and writes data by a packet. CONSTITUTION: A tuner(100) tunes a signal received from an antenna as a certain band. A channel decoding unit(200) decodes a channel from the signal tuned in the tuner(100). A channel interfacing unit(300) detects a sync byte from the signal decoded in the channel decoding unit(200) and writes data from a certain position of a storing unit(400). A transport demultiplexing unit(500) reads a signal stored in the storing unit(400) from the certain position and demultiplexes the read signal.

Description

디지털 방송 수신기의 채널 인터페이스장치{apparatus for interfacing channel in digital broadcasting receiver}Channel interface device of digital broadcasting receiver {apparatus for interfacing channel in digital broadcasting receiver}

본 발명은 디지털 방송 수신기에 관한 것으로, 특히 디지털 방송 수신기의 채널 인터페이스장치에 관한 것이다.The present invention relates to a digital broadcast receiver, and more particularly, to a channel interface device of a digital broadcast receiver.

디지털 TV용 트랜스포트 디멀티플렉서(이하 TP라 약칭함)는 채널 디코더로부터 채널 클럭(chclk), 채널 데이터(chdata), 채널 스타트 오브 패킷(chsop(start of packet))신호, 에러(error)신호, 채널 유효(chvalid)신호를 입력받는다.The transport demultiplexer (hereinafter abbreviated as TP) for digital TVs uses a channel clock (chclk), channel data (chdata), channel start of packet (chsop) signals, error signals, and channels from a channel decoder. A valid signal is received.

이때 채널데이터인 트랜스포트 스트림에는 패킷의 시작을 나타내는 싱크 필드(sync field)가 있으므로 채널 스타트 오프 패킷(chsop)신호를 없어도 무방하다.In this case, the transport stream, which is channel data, has a sync field indicating the start of a packet, and thus a channel start-off packet (chsop) signal may be omitted.

상기 신호들은 모두 채널 클럭의 라이징(rising)에서 안정적인 값을 가지며, 따라서 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)으로 채서 쓰려면 chclk와 tpclk사이의 발생되는 어싱크(async)를 해결해야 한다.All of these signals have a stable value at the rising of the channel clock, and therefore, to be used as the operation clock tpclk of the transport demultiplexer, it is necessary to solve the async generated between chclk and tpclk.

이하, 종래 기술에 따른 디지털 방송 수신기의 채널 인터페이스장치에 대하여 첨부한 도면을 참조하여 설명하면 다음과 같다.Hereinafter, a channel interface apparatus of a digital broadcast receiver according to the prior art will be described with reference to the accompanying drawings.

도 1 은 종래 기술에 따른 디지털 방송 수신기의 채널 인터페이스장치의 일예를 나타낸 도면으로, 채널 디코더(미도시)로부터 출력된 신호를 인터페이스하여 출력하는 채널 인터페이스부(1)와, 상기 채널 인터페이스부(1)에서 출력된 신호를 저장하는 입력 버퍼(2)로 구성된다.1 is a diagram illustrating an example of a channel interface apparatus of a digital broadcast receiver according to the prior art, and includes a channel interface unit 1 for interfacing and outputting a signal output from a channel decoder (not shown), and the channel interface unit 1. It consists of an input buffer (2) for storing the signal output from the ().

상기 채널 인터페이스부(1)는 상기 채널 디코더로부터 출력된 채널 데이터(chdata)를 채널 클럭(chclk)에 따라 소정 시간 지연시키는 제 1 플립플롭(1a)과, 상기 입력 버퍼의 라이트 어드레스(write_addr)를 발생하는 어드레스 발생부(1b)와, 상기 채널 디코더로부터 출력된 채널 데이터(chdata)를 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시키는 제 2 플립플롭(1c)과, 상기 제 2 플립플롭(1c)으로부터 출력된 채널 클럭 1딜레이(chclk_1d)신호를 트랜스포트 클럭에 따라 소정 시간 지연시키는 제 3 플립플롭(1d)과, 상기 제 3 플립플롭(1d)으로부터 출력된 채널 클럭 2딜레이(chclk_2d)신호를 트랜스포트 클럭에 따라 소정 시간 지연시키는 제 4 플립플롭(1e)과, 상기 제 3 플립플롭(1d)에서 출력된 채널 클럭 2딜레이(chclk_2d)신호와 상기 제 4 플립플롭(1e)에서 출력된 채널클럭 3딜레이(chclk_3d)신호를 논리곱하는 제 1 앤드 게이트(1f)와, 상기 채널 디코더로부터 출력된 채널 채널 유효(chvalid)신호를 채널 클럭(chclk)에 따라 소정 시간 지연시키는 제 5 플립플롭(1g)과, 상기 채널 디코더로부터 출력된 채널 에러(cherror)신호를 채널 클럭에 따라 소정 시간 지연시키는 제 6 플립플롭(1h)과, 상기 채널 디코더로부터 출력된 채널 스타트 오브 패킷(chsop)신호를 채널 클럭(chclk)에 따라 소정 시간 지연시키는 제 7 플립플롭(1i)과, 상기 제 1 앤드 게이트(1f)에서 출력된 채널 클럭 래치(chclk_latch)신호, 상기 제 5 플립플롭(1g)에서 출력된 채널 유효 딜레이(chvalud_d)신호 및 제 6 플립플롭(1h)에서 출력된 채널 에러(cherror)신호를 논리곱하는 제 2 앤드 게이트(1j)로 구성된다.The channel interface unit 1 includes a first flip-flop 1a for delaying the channel data chdata output from the channel decoder by a predetermined time according to a channel clock chclk, and a write address write_addr of the input buffer. A second flip-flop 1c for delaying the generated address generator 1b, the channel data chdata output from the channel decoder, by a predetermined time according to the operation clock tpclk of the transport demultiplexer, and the second flip A third flip-flop 1d for delaying the channel clock 1 delay (chclk_1d) signal output from the flop 1c for a predetermined time according to the transport clock, and a channel clock 2 delay output from the third flip-flop 1d ( a fourth flip-flop 1e for delaying the chclk_2d signal by a predetermined time according to the transport clock, a channel clock 2-delay (chclk_2d) signal output from the third flip-flop 1d, and the fourth flip-flop 1e The first AND gate 1f for ANDing the channel clock 3-delay (chclk_3d) signal output from the < RTI ID = 0.0 > 1) < / RTI > and the channel channel valid signal output from the channel decoder is delayed for a predetermined time in accordance with the channel clock chclk. A fifth flip-flop 1g, a sixth flip-flop 1h for delaying a channel error signal output from the channel decoder for a predetermined time according to a channel clock, and a channel start of packet chsop output from the channel decoder. ) A seventh flip-flop 1i for delaying a predetermined time according to the channel clock chclk, a channel clock latch (chclk_latch) signal output from the first and gate 1f, and the fifth flip-flop 1g. And a second AND gate 1j that logically multiplies the channel valid delay (chvalud_d) signal outputted from the channel error signal and the channel error signal outputted from the sixth flip-flop 1h.

이와 같이 구성된 종래 기술에 따른 디지털 방송 수신기의 채널 인터페이스장치의 동작을 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.The operation of the channel interface apparatus of the conventional digital broadcast receiver configured as described above will be described in detail with reference to the accompanying drawings.

먼저, 채널 인터페이스부(1)는 채널 디코더(미도시)로부터 출력된 신호를 인터페이스하여 출력한다.First, the channel interface unit 1 interfaces and outputs a signal output from a channel decoder (not shown).

즉 채널 인터페이스부(1)내 제 1 플립플롭(1a)은 상기 채널 디코더로부터 출력된 채널 데이터(chdata)를 채널 클럭(chclk)에 따라 소정 시간 지연시킨 후 그 결과신호를 출력한다.That is, the first flip-flop 1a in the channel interface unit 1 delays the channel data chdata output from the channel decoder according to the channel clock chclk for a predetermined time and then outputs the resultant signal.

또한 어드레스 발생부(1b)는 입력 버퍼(2)의 라이트 어드레스(write_addr)를 발생한다.The address generator 1b also generates a write address write_addr of the input buffer 2.

여기서 어드레스 발생부(1b)는 '0'에서 시작해 라이트 인에이블(write_enable)이 '1'일 때마다 라이트 어드레스(write_addr)를 하나씩 증가시킨다.Here, the address generator 1b increases the write address write_addr by one each time the write enable is '1' starting from '0'.

그리고 제 2 플립플롭(1c)은 상기 채널 디코더로부터 출력된 채널 데이터(chdata)를 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시킨 후 채널 클럭 1딜레이(chclk_1d)신호를 출력한다.The second flip-flop 1c delays the channel data chdata output from the channel decoder according to the operation clock tpclk of the transport demultiplexer for a predetermined time and then outputs a channel clock 1 delay chclk_1d signal.

이에 따라 제 3 플립플롭(1d)은 상기 제 2 플립플롭(1c)으로부터 출력된 채널 클럭 1딜레이(chclk_1d)신호를 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시킨 후 채널 클럭 2딜레이(chclk_2d)신호를 출력한다.Accordingly, the third flip-flop 1d delays the channel clock 1 delay (chclk_1d) signal output from the second flip-flop 1c by a predetermined time according to the operation clock tpclk of the transport demultiplexer. A delay (chclk_2d) signal is output.

그러면 제 4 플립플롭(1e)은 상기 제 3 플립플롭(1d)으로부터 출력된 채널 클럭 2딜레이(chclk_2d)신호를 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시킨 후 채널 클럭 3딜레이(chclk_3d)신호를 출력한다.Then, the fourth flip-flop 1e delays the channel clock 2-delay (chclk_2d) signal output from the third flip-flop 1d according to the operation clock tpclk of the transport demultiplexer and then delays the channel clock by 3 delays. Outputs the (chclk_3d) signal.

이에 따라 제 1 앤드 게이트(1f)는 상기 제 3 플립플롭(1d)에서 출력된 채널 클럭 2딜레이(chclk_2d)신호와 상기 제 4 플립플롭(1e)에서 출력된 채널 클럭 3들레이(chclk_3d)신호를 논리곱한 후 채널 클럭 래치chclk_latch)신호를 출력한다.Accordingly, the first AND gate 1f outputs the channel clock 2-delay (chclk_2d) signal output from the third flip-flop 1d and the channel clock 3-delay (chclk_3d) signal output from the fourth flip-flop 1e. Multiply by and outputs the channel clock latch chclk_latch) signal.

상기 채널 클럭 래치(chclk_latch)신호는 상기 채널 데이터 딜레이(chdata_d)신호가 안정적인 구간 중에서 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)과 싱크(sync)가 되는 구간을 찾아 그 구간동안만 하이(high)로 유지하는 신호이다.The channel clock latch (chclk_latch) signal finds a section in which the channel data delay (chdata_d) signal is synchronized with the operation clock (tpclk) of the transport demultiplexer in a stable section and goes high only during the section. It is a signal to keep.

아울러 제 5 플립플롭(1g)은 상기 채널 디코더로부터 출력된 채널 유효(chvalid)신호를 상기 채널 클럭(chclk)에 따라 소정 시간 지연시킨 후 채널 유효 딜레이(chvalid_d)신호를 출력한다.In addition, the fifth flip-flop 1g delays a channel valid signal output from the channel decoder by a predetermined time according to the channel clock chclk, and then outputs a channel valid delay signal.

그리고 제 6 플립플롭(1h)은 상기 채널 디코더로부터 출력된 채널 에러(cherror)신호를 상기 채널 클럭(chclk)에 따라 소정 시간 지연시킨 후 채널 에러 딜레이(cherror_d)신호를 출력한다.The sixth flip-flop 1h delays a channel error signal output from the channel decoder by a predetermined time according to the channel clock chclk and then outputs a channel error delay signal cherror_d.

아울러 제 7 플립플롭(1i)은 상기 채널 디코더로부터 출력된 스타트 오브 패킷(chsop)신호를 상기 채널 클럭(chclk)에 따라 소정 시간 지연시킨 후 채널 스타트 오브 패킷 딜레이(chsop_d)신호를 출력한다.In addition, the seventh flip-flop 1i delays a start of packet (chsop) signal output from the channel decoder according to the channel clock (chclk) for a predetermined time and then outputs a channel start of packet delay (chsop_d) signal.

이에 따라 제 2 앤드 게이트(1j)는 상기 제 1 앤드 게이트(1f)에서 출력된 채널 클럭 래치(chclk_latch)신호, 상기 제 5 플립플롭(1g)에서 출력된 채널 유효 딜레이(chvalid_d)신호 및 제 6 플립플롭(1h)에서 출력된 채널 에러cherror)신호를 논리곱한 후 그 라이트 인에이블(write_en)신호를 출력한다.Accordingly, the second AND gate 1j includes the channel clock latch (chclk_latch) signal output from the first and gate 1f, the channel valid delay signal output from the fifth flip-flop 1g, and the sixth The channel error cherror signal output from the flip-flop 1h is ANDed and the write enable signal is output.

그러면 입력 버퍼(2)는 상기 채널 인터페이스부(1)에서 출력된 신호를 저장하게 되며 저장된 신호는 TP로 인출된다.The input buffer 2 then stores the signal output from the channel interface unit 1 and the stored signal is drawn out to the TP.

상기 채널 스타트 오브 패킷(chsop)신호가 존재할 경우에는 채널 스타트 오브 패킷(chsop)신호가 뜬 순간 들어온 채널 데이터(chdata), 즉 싱크 바이트(sync byte)가 저장되는 라이트 어드레스(write_addr)를 저장했다가 TP에서 그 어드레스의 데이터를 읽어 갈 때 인터널 스타트 오브 패킷(internal sop)신호를 띄운다.When the channel start of packet (chsop) signal is present, the channel data (chdata), that is, the write address (write_addr) in which the sync byte is stored, is stored when the channel start of packet (chsop) signal occurs. When the TP reads data at that address, it emits an internal start of packet (internal sop) signal.

상기 채널 스타트 오브 패킷(chsop)신호가 존재하지 않을 경우에는 TP에서 싱크 디텍션(sync detection) 알고리즘에 의해 싱크 바이트(sync byte)를 찾아서 인터널 스타트 오브 패킷(internal sop)신호를 띄운다.When the channel start of packet (chsop) signal does not exist, the internal start of packet (internal sop) signal is displayed by searching for the sync byte (sync byte) by the sync detection (sync detection) algorithm in the TP.

그러나 종래 기술에 따른 디지털 방송 수신기의 채널 인터페이스장치는 채널 디코더에서 디코드된 신호를 순차적으로 입력 버퍼에 라이트(write)한 후 TP에서 라이트(write)된 신호를 인출할 때 패킷의 싱크 필드를 검출하기 때문에 입력 버퍼의 라이트(write) 클럭과 TP의 인출 클럭 사이의 어싱크(async)가 발생하는 문제점이 있다.However, the channel interface apparatus of the digital broadcasting receiver according to the prior art detects the sync field of the packet when the decoded signal is sequentially written to the input buffer by the channel decoder and then the signal written to the TP is fetched. Therefore, there is a problem in that async occurs between the write clock of the input buffer and the draw clock of the TP.

또한, 채널 스타트 오브 패킷(chsop)신호가 존재할 경우 채널 에러(cherror)신호에 올바르게 대응하기 어렵다.In addition, when a channel start of packet (chsop) signal is present, it is difficult to correctly respond to the channel error (cherror) signal.

즉 채널 스타트 오브 패킷(chsop)신호가 존재할 경우 채널 에러(cherror)신호는 다음의 두가지 방식으로 올 수 있다.That is, when a channel start of packet signal exists, the channel error signal may come in two ways.

첫 번째는 패킷이 깨진 경우 채널 스타트 오브 패킷(chsop)신호가 뜨는 동안 동시에 떠서 그 패킷을 버리라는 의미를 갖는 것이고, 두 번째는 깨진 패킷의 데이터가 들어오는 동안 계속해서 떠있으면서 그 패킷을 버리라고 알려주는 것이다.The first means that if a packet is broken, the channel start of packet (chsop) signal will float at the same time while discarding the packet, and the second will tell you to drop the packet while continuing to float while data from the broken packet comes in. Will be.

종래의 방법을 적용할 경우 후자와 같은 채널 에러(cherror)신호에는 올바르게 대응하지만 전자의 경우에는 싱크 바이트(sync byte)는 버리고 인터널 스타트 오브 패킷(internal sop)신호가 싱크 다음 바이트에 맞춰 뜨게 되는 문제점도 있다.When the conventional method is applied, the latter responds correctly to the channel error signal such as the latter, but in the former case, the sync byte is discarded and the internal sop signal is floated to the next byte of the sink. There is also a problem.

따라서 본 발명은 상기와 같은 문제점을 해결하기 위해 안출한 것으로서, 채널 디코드부로부터 디코드된 데이터를 저장부에 라이트(write)하기 전에 싱크 바이트를 검출한 후 데이터를 패킷 단위로 라이트(write)하도록 하기 위한 디지털 방송 수신기의 채널 인터페이스장치를 제공하는데 그 목적이 있다.Accordingly, the present invention has been made to solve the above problems, and to write the data in packet units after detecting the sync byte before writing the decoded data from the channel decode unit to the storage unit. It is an object of the present invention to provide a channel interface device of a digital broadcast receiver.

도 1 은 종래 기술에 따른 디지털 방송 수신기의 채널 인터페이스장치의 일예를 나타낸 도면1 is a diagram illustrating an example of a channel interface apparatus of a digital broadcast receiver according to the prior art.

도 2 는 본 발명에 따른 디지털 방송 수신기의 채널 인터페이스장치의 일실시예를 나타낸 도면2 is a view showing an embodiment of a channel interface apparatus of a digital broadcast receiver according to the present invention.

도 3 은 도 2 의 채널 인터페이스부의 상세 구성을 나타낸 도면3 is a diagram illustrating a detailed configuration of a channel interface unit of FIG. 2.

도 4 는 도 2 의 타이밍 조절부의 상세 구성을 나타낸 도면4 is a diagram illustrating a detailed configuration of a timing adjusting unit of FIG. 2;

도 5 는 도 3 의 싱크 디텍트/라이트 어드레스 발생부의 동작 상태를 나타낸 도면5 is a diagram illustrating an operating state of the sink detect / write address generator of FIG. 3;

도 6 는 도 3 의 라이트 인에이블 제어부의 상세 구성을 나타내 도면FIG. 6 is a diagram illustrating a detailed configuration of the write enable controller of FIG. 3. FIG.

도 7 은 도 6 의 유효(valid)신호 발생부의 상세 구성을 나타낸 도면FIG. 7 is a diagram illustrating a detailed configuration of a valid signal generator of FIG. 6. FIG.

도 8 은 도 6 의 에러신호 발생부의 상세 구성을 나타낸 도면8 is a diagram illustrating a detailed configuration of an error signal generator of FIG. 6;

도 9 은 도 6 의 채널 클럭(chclk) 안정화부의 상세 구성을 나타낸 도면FIG. 9 is a diagram illustrating a detailed configuration of a channel clock stabilizer of FIG. 6.

도 10 은 도 6 의 라이트 인에이블 발생부의 상세 구성을 나타낸 도면10 is a diagram illustrating a detailed configuration of a light enable generation unit of FIG. 6;

도 11 은 본 발명에 따른 각 부의 파형을 나타낸 도면11 is a view showing the waveform of each part according to the present invention

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

100 : 튜너 200 : 채널 디코드부100: tuner 200: channel decode unit

300 : 채널 인터페이스부 310 : 타이밍 조절부300: channel interface unit 310: timing adjustment unit

320 : 싱크 디텍트/라이트 어드레스 발생부320: Sink detect / write address generator

330 : 라이트 인에이블 제어부 400 : 저장부330: light enable control unit 400: storage unit

500 : 트랜스포트 디멀티플렉스부(TP)500: Transport demultiplex unit (TP)

상기와 같은 목적을 달성하기 위한 본 발명에 따른 디지털 방송 수신기의 채널 인터페이스장치의 특징은, 채널 디코드부와 저장부를 구비한 디지털 방송 수신기의 채널 인터페이스장치에 있어서, 상기 채널 디코드부에서 디코드된 신호로부터 싱크 바이트를 검출한 후 상기 저장부의 소정 위치로부터 데이터를 라이트(write)하도록 제어하는 채널 인터페이스부와, 상기 저장부에 저장된 신호를 소정 위치로부터 인출하여 디멀티플렉스하는 트랜스포트 디멀티플렉스부를 포함하여 구성되는데 있다.A channel interface apparatus of a digital broadcast receiver according to the present invention for achieving the above object is characterized in that, in a channel interface apparatus of a digital broadcast receiver having a channel decode unit and a storage unit, the signal is decoded by the channel decode unit. And a channel interface unit controlling to write data from a predetermined position of the storage unit after detecting the sync byte, and a transport demultiplex unit which demultiplexes a signal stored in the storage unit from a predetermined position. It is composed.

상기 채널 인터페이스부는 상기 채널 디코드부에서 디코드된 채널 데이터(chdata)의 타이밍을 채널 데이터 오케이(chdata_ok)에 따라 조절하여 데이터(data)를 출력하는 타이밍 조절부와, 상기 채널 디코드부에서 디코드된 채널 데이터(chdata), 채널 스타트 오브 패킷(chsop)신호 및 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)신호를 채널 데이터 오케이(chdata_ok)신호, 에러(error)신호 및 채널 데이터 스테이블(chdata_stable)신호에 따라 싱크를 검출한 후 패킷 단위로 데이터를 저장하기 위한 라이트 어드레스(write_addr)와 라이트 인에이블 템프(wen_temp)신호를 출력하는 싱크 디텍트/라이트 어드레스 발생부와, 상기 싱크 디텍트/라이트 어드레스 발생부로부터 출력된 라이트 인에이블 템프(wen_temp)신호와 채널 에러(cherror)신호, 채널 유효(chvalid)신호, 채널 클럭(chclk), 유효 액티브(valid_active)신호 및 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)에 따라 라이드 인에이블(write_en)신호를 출력하는 라이트 인에이블 제어부를 포함하여 구성되는데 다른 특징이 있다.The channel interface unit may adjust a timing of the channel data chdata decoded by the channel decode unit according to a channel data chdata_ok, and output a data. The channel interface decoded by the channel decode unit. (chdata), the channel start of packet (chsop) signal and the start of packet type (sop_type) signal set by the user to the channel data chdata_ok signal, error (error) and channel data table (chdata_stable) signal The sync detect / write address generator for outputting a write address (write_addr) and a write enable temp (wen_temp) signal for storing data in units of packets after detecting the sync, and the sync detect / write address generator Enable enable temp (wen_temp) signal, channel error (cherror) signal, channel valid signal (chvalid) and channel clock (chclk) And a write enable control unit for outputting a ride enable signal write_en according to a valid_active signal and a start of packet type set by the user.

본 발명은 채널 디코드부에서 디코드된 데이터를 저장부에 라이트(write)하기 전에 싱크 바이트를 검색한 후 데이터를 패킷 단위로 라이트(write)하도록 하여 스타트 오브 패킷(sop) 여부에 따라 에러신호를 대응할 수 있다.According to an embodiment of the present invention, before the data decoded in the channel decoder is written to the storage, the sync byte is searched and the data is written in packet units so that the error signal can be responded to according to whether a start of packet is performed. Can be.

본 발명의 다른 목적, 특징 및 잇점들은 첨부한 도면을 참조한 실시예들의 상세한 설명을 통해 명백해질 것이다.Other objects, features and advantages of the present invention will become apparent from the following detailed description of embodiments taken in conjunction with the accompanying drawings.

이하, 본 발명에 따른 디지털 방송 수신기의 채널 인터페이스장치의 바람직한 실시예에 대하여 첨부한 도면을 참조하여 설명하면 다음과 같다.Hereinafter, a preferred embodiment of a channel interface apparatus of a digital broadcast receiver according to the present invention will be described with reference to the accompanying drawings.

도 2 는 본 발명에 따른 디지털 방송 수신기의 채널 인터페이스장치의 일실시예를 나타낸 도면으로, 안테나로부터 수신된 신호를 소정 대역으로 튜닝하는 튜너(100)와, 상기 튜너(100)에서 튜닝된 신호로부터 채널을 디코드하는 채널 디코드부(200)와, 상기 채널 디코드부(200)에서 디코드된 신호로부터 싱크 바이트를 검출한 후 저장부(400)의 소정 위치로부터 데이터를 라이트(write)하도록 제어하는 채널 인터페이스부(300)와, 상기 저장부(400)에 저장된 신호를 소정 위치로부터 인출하여 디멀티플렉스하는 트랜스포트 디멀티플렉스부(TP)(500)로 구성된다.2 is a diagram illustrating an embodiment of a channel interface apparatus of a digital broadcast receiver according to the present invention, and includes a tuner 100 for tuning a signal received from an antenna to a predetermined band and a signal tuned from the tuner 100. A channel decode unit 200 for decoding a channel, and a channel interface controlling to write data from a predetermined position of the storage unit 400 after detecting a sync byte from a signal decoded by the channel decode unit 200. A unit 300 and a transport demultiplex unit (TP) 500 for demultiplexing a signal stored in the storage unit 400 from a predetermined position.

상기 저장부(400)는 2패킷 단위를 저장할 수 있는 크기를 갖는다.The storage unit 400 has a size capable of storing two packet units.

도 3 은 도 2 의 채널 인터페이스부의 상세 구성을 나타낸 도면으로, 상기 채널 디코드부(200)에서 디코드된 채널 데이터(chdata)의 타이밍을 채널 데이터 오케이(chdata_ok)신호에 따라 조절하여 data를 출력하는 타이밍 조절부(310)와, 상기 채널 디코드부(200)에서 디코드된 채널 데이터(chdata), 채널 스타트 오브 패킷(chsop)신호 및 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)신호를 채널 데이터 오케이(chdata_ok), 에러(error)신호 및 채널 데이터 스테이블(chdata_stable)신호에 따라 싱크를 검출한 후 패킷 단위로 데이터를 저장하기 위한 라이트 어드레스(write_addr)와 라이트 인에이블 템프(wen_temp)신호를 출력하는 싱크 디텍트/라이트 어드레스 발생부(320)와, 상기 싱크 디텍트/라이트 어드레스 발생부(320)로부터 출력된 라이트 인에이블 템프(wen_temp)신호와 채널 에러(cherror)신호, 채널 유효(chvalid)신호, 채널 클럭(chclk), 유효 액티브(valid_active)신호 및 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)신호에 따라 라이트 인에이블(write_en)신호를 출력하는 라이트 인에이블 제어부(330)로 구성된다.3 is a diagram illustrating a detailed configuration of the channel interface of FIG. 2. The timing of outputting data by adjusting the timing of the channel data chdata decoded by the channel decoding unit 200 according to the channel data ok data chch_ok signal. The control unit 310 and the channel data decoded by the channel decoder 200, the channel start of packet (chsop) signal, and the start of packet type (sop_type) signal set by the user are converted into channel data ok ( Sink that detects sync according to chdata_ok, error signal, and chdata_stable signal, and then outputs write address (write_addr) and write enable temp (wen_temp) signal for storing data in packet units. The detect / write address generator 320 and the write enable temp (wen_temp) signal and channel output from the sync detect / write address generator 320 are output to the channel. Outputs a write enable signal according to a cherror signal, a channel valid signal, a channel clock chclk, a valid_active signal, and a start of packet type set by a user. The light enable control unit 330 is configured.

도 4 는 도 2 의 타이밍 조절부의 상세 구성을 나타낸 도면으로, 상기 채널 디코드부(200)에서 디코드된 채널 데이터(chdata)를 채널 클럭(chclk)에 따라 소정 시간 지연시키는 제 1 플립플롭(311)과, 상기 제 1 플립플롭(311)에서 출력된 채널 데이터 딜레이(chdata_d)신호를 채널 데이터 오케이(chdata_ok)신호에 따라 먹스하는 먹스(312)와, 상기 먹스(312)에서 먹스된 신호를 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시키는 제 2 플립플롭(313)으로 구성된다.FIG. 4 is a diagram illustrating a detailed configuration of the timing controller of FIG. 2. The first flip-flop 311 delays a decoded channel data chdata in the channel decoder 200 by a predetermined time according to a channel clock chclk. And a mux 312 for muxing the channel data delay (chdata_d) signal output from the first flip-flop 311 according to the channel data ok data (chdata_ok) signal, and transporting the mux signal from the mux 312. It consists of a second flip-flop 313 delaying a predetermined time according to the operation clock tpclk of the demultiplexer.

도 5 는 도 3 의 싱크 디텍트/라이트 어드레스 발생부의 동작 상태를 나타낸 도면이고, 도 6 는 도 3 의 라이트 인에이블 제어부의 상세 구성을 나타내 도면으로, 유저에 의해 세팅된 유효 액티브(valid_active)신호 및 유효 워치(valid_watch)신호에 따라 채널 유효(chvalid)신호로부터 유효(valid)신호를 발생하는 유효(valid)신호 발생부(331)와, 유저에 의해 세팅된 에러 액티브(error_active)신호 및 에러 워치(error_watch)신호에 따라 채널 에러(cherror)신호로부터 에러(error)신호를 출력하는 에러신호 발생부(332)와, 상기 채널 디코드부(200)에서 디코드된 채널 클럭(chclk)을 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 안정화시켜 출력하는 채널 클럭(chclk) 안정화부(333)와, 상기 유효(valid)신호 발생부(331)에서 발생된 유효(valid)신호, 에러신호 발생부(332)에서 출력된 에러(error)신호, 채널 클럭(chclk) 안정화부(333)에서 출력된 채널 클럭 래치(chclk_latch)신호 및 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)신호를 라이트 인에이블 템프(wen_temp)신호에 따라 채널 데이터 오케이(chdata_ok)신호, 채널 데이터 스테이블(chdata_stable)신호 및 라이트 인에이블(write_en)신호를 출력하는 라이트 인에이블 발생부(334)로 구성된다.FIG. 5 is a diagram illustrating an operation state of the sink detect / write address generator of FIG. 3, and FIG. 6 is a diagram illustrating a detailed configuration of the write enable controller of FIG. 3. The valid_active signal set by a user is illustrated. And a valid signal generator 331 for generating a valid signal from the channel valid signal according to the valid watch signal, an error active signal and an error watch set by the user. The transport demultiplexer includes an error signal generator 332 for outputting an error signal from a channel error signal according to an error_watch signal, and a channel clock chclk decoded by the channel decoder 200. The channel clock chclk stabilizer 333 stabilizes and outputs the stabilized signal according to the operation clock tpclk, and the valid signal and error signal generator 332 generated by the valid signal generator 331. From) An error signal, a channel clock latch (chclk_latch) signal output from the channel clock (chclk) stabilizer 333, and a start of packet type (sop_type) signal set by the user are written to the write enable temp (wen_temp) signal. The write enable generator 334 outputs a channel data ok data, a chdata_stable signal, and a write enable signal write_en.

도 7 은 도 6 의 유효(valid)신호 발생부의 상세 구성을 나타낸 도면으로, 상기 채널 디코드부(200)에서 디코드된 채널 유효(chvalid)신호를 소정 시간 지연시킨 채널 유효 딜레이(chvalid_d)신호와 유저에 의해 세팅된 유효 액티브(valid_active)신호를 배타적 부정 논리합하는 제 1 익스클루시브 오어 게이트(331a)와, 상기 제 1 익스클루시브 오어 게이트(331a)에서 출력된 신호와 유저에 의해 세팅된 유효 워치(valid_watch)신호를 부정 논리곱하는 낸드 게이트(331b)로 구성된다.FIG. 7 is a diagram illustrating a detailed configuration of a valid signal generator of FIG. 6, wherein a channel valid delay signal and a user whose channel decoded signal is decoded by the channel decoder 200 are delayed by a predetermined time. The first exclusive or gate 331a which exclusively ORs the valid_active signal set by the second signal, the signal output from the first exclusive or gate 331a and the valid watch set by the user. and a NAND gate 331b that negatively multiplies the (valid_watch) signal.

도 8 은 도 6 의 에러신호 발생부의 상세 구성을 나타낸 도면으로, 상기 채널 디코드부(200)에서 디코드된 채널 에러(cherror)신호를 소정 시간 지연시킨 채널 에러 딜레이(cherror_d)신호와 유저에 의해 세팅된 에러 액티브(error_active)신호를 배타적 부정 논리합하는 제 2 익스클루시브 오어 게이트(332a)와, 상기 제 2 익스클루시브 오어 게이트(332a)에서 출력된 신호와 유저에 의해 세팅된 에러 워치(error_watch)신호를 논리합하는 제 1 오어 게이트(332b)로 구성된다.FIG. 8 is a diagram illustrating a detailed configuration of the error signal generator of FIG. 6. The channel error delay (cherror_d) signal obtained by delaying a channel error signal decoded by the channel decoder 200 by a predetermined time and set by a user is shown in FIG. A second exclusive or gate 332a which exclusively ORs the received error active signal and an error watch set by the user and a signal output from the second exclusive or gate 332a And a first or gate 332b for ORing the signals.

도 9 은 도 6 의 채널 클럭(chclk) 안정화부의 상세 구성을 나타낸 도면으로, 상기 채널 디코드부(200)에서 디코드된 채널 클럭(chclk)을 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시키는 제 3 플립플롭(333a)과, 상기 제 3 플립플롭(333a)에서 출력된 채널 클럭 1딜레이(chclk_1d)신호를 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시키는 제 4 플립플롭(333b)과, 상기 제 4 플립플롭(333b)에서 출력된 채널 클럭 2딜레이(chclk_2d)신호를 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시키는 제 5 플립플롭(333c)과, 상기 제 5 플립플롭(333c)에서 출력된 채널 클럭 3딜레이(chclk_3d)신호의 부정된 신호와 상기 제 4 플립플롭(333b)에서 출력된 채널 클럭 2딜레이(chclk_2d)신호를 논리곱하는 제 1 앤드 게이트(333d)로 구성된다.FIG. 9 is a diagram illustrating a detailed configuration of a channel clock chclk stabilizer of FIG. 6, wherein a channel clock chclk decoded by the channel decoder 200 is predetermined according to an operation clock tpclk of the transport demultiplexer. A third flip-flop 333a for delaying and a fourth flip-up delay for a predetermined time from the channel clock one delay chclk_1d signal output from the third flip-flop 333a according to the operation clock tpclk of the transport demultiplexer. A fifth flip-flop 333c for delaying the flop 333b and the channel clock 2-delay chchk_2d signal output from the fourth flip-flop 333b according to the operation clock tpclk of the transport demultiplexer; And a logic signal of the channel clock 3-delay (chclk_3d) signal output from the fifth flip-flop 333c and the channel clock 2-delay (chclk_2d) signal output from the fourth flip-flop 333b. The first consists of the AND gate (333d) to.

도 10 은 도 6 의 라이트 인에이블 발생부의 상세 구성을 나타낸 도면으로, 상기 채널 클럭(chclk) 안정화부(330)에서 출력된 채널 클럭 래치(chclk_latch)와 상기 채널 디코더부(200)에서 출력된 유효(valid)신호를 논리곱하는 제 2 앤드 게이트(334a)와, 상기 채널 디코드부(200)에서 출력된 에러(error)신호와 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)신호를 논리합하는 제 2 오어 게이트(334b)와, 상기 제 2 앤드 게이트(334a)에서 출력된 채널 데이터 스테이블(chdata_stable)신호와 상기 제 2 오어 게이트(334b)에서 출력된 신호를 논리곱하는 제 3 앤드 게이트(334c)와, 상기 제 3 앤드 게이트(334c)에서 출력된 채널 데이터 오케이(chdata_ok)신호를 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시키는 제 6 플립플롭(334d)과, 상기 싱크 디텍트/라이트 어드레스 발생부(320)에서 출력된 라이트 인에이블 템프(wen_temp)신호와 제 6 플립플롭(334d)에 출력된 채널 데이터 오케이 딜레이(chdata_ok_d)신호를 논리곱하여 출력하는 제 4 앤드 게이트(334e)로 구성된다.FIG. 10 is a diagram illustrating a detailed configuration of the write enable generation unit of FIG. 6, wherein the channel clock latch chclk_latch output from the channel clock chclk stabilizer 330 and the validity output from the channel decoder 200 are valid. a second AND gate 334a for ANDing the signal, and a second OR for ANDing the error signal outputted from the channel decoder 200 and the start of packet type signal set by the user. Or gate 334b, a third AND gate 334c that logically multiplies the channel data chdata_stable signal output from the second and gate 334a, and the signal output from the second or gate 334b; And a sixth flip-flop 334d for delaying the channel data chdata_ok signal output from the third and gate 334c by a predetermined time according to the operation clock tpclk of the transport demultiplexer, and the sink detect / To the fourth AND gate 334e that logically multiplies the write enable temp signal wen_temp signal output from the write address generator 320 and the channel data ok delay chdata_ok_d signal output to the sixth flip-flop 334d. It is composed.

도 11 은 본 발명에 따른 각 부의 파형을 나타낸 도면11 is a view showing the waveform of each part according to the present invention

이와 같이 구성된 본 발명에 따른 디지털 방송 수신기의 채널 인터페이스장치의 동작을 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.The operation of the channel interface apparatus of the digital broadcast receiver according to the present invention configured as described above will be described in detail with reference to the accompanying drawings.

먼저, 튜너(100)는 안테나로부터 수신된 신호를 소정 대역으로 튜닝한다.First, the tuner 100 tunes the signal received from the antenna to a predetermined band.

그러면 채널 디코드부(200)는 상기 튜너(100)에서 튜닝된 신호로부터 채널을 디코드하여 채널 클럭(chclk), 채널 데이터(chdata), 채널 스타트 오브 패킷(chsop(Start Of Packet))신호, 도 11 에 도시된 바와 같은 에러(error)신호 및 유효(valid)신호를 출력한다.Then, the channel decode unit 200 decodes a channel from the signal tuned by the tuner 100, thereby channel clock (chclk), channel data (chdata), and channel start of packet (chsop) signal, FIG. 11. An error signal and a valid signal are output as shown in FIG.

이어 채널 인터페이스부(300)는 상기 채널 디코드부(200)에서 디코드된 신호로부터 싱크 바이트를 검출한 후 저장부(400)의 소정 위치로부터 데이터를 라이트(write)하도록 제어한다.Subsequently, the channel interface unit 300 detects the sync byte from the signal decoded by the channel decoder 200 and then controls to write data from a predetermined position of the storage unit 400.

즉 채널 인터페이스부(300)내 타이밍 조절부(310)는 도 3 에 도시된 바와 같이, 채널 디코드부(200)에서 디코드된 채널 데이터(chdata)의 타이밍을 도 11 에 도시된 바와 같은 채널 데이터 오케이(chdata_ok)신호에 따라 조절하여 도 11 에 도시된 바와 같은 채널 데이터 2딜레이(chdata-2d)를 출력한다.That is, as shown in FIG. 3, the timing adjusting unit 310 in the channel interface unit 300 determines the timing of the channel data chdata decoded in the channel decoding unit 200 as shown in FIG. 11. The channel data 2 delay (chdata-2d) as shown in FIG. 11 is output by adjusting according to the (chdata_ok) signal.

상기 채널 데이터 오케이(chdata_ok)신호는 데이터 트랜스포트 스트림(TS)이고, 스타트 오브 패킷(sop)신호가 없을 경우가 같은 안정적인 구간중에서 스타트 오브 패킷 타입(sop_type)에 상관없이 에러(error)신호가 뜨지 않는 구선을 선별한 값이다.The channel data ok data is a data transport stream TS, and an error signal does not occur regardless of the start of packet type during a stable period, such as when there is no start of packet signal. It is the value which selected the notation line.

즉 타이밍 조절부(310)내 제 1 플립플롭(311)은 도 4 에 도시된 바와 같이, 상기 채널 디코드부(200)에서 디코드된 채널 데이터(chdata)를 도 11 에 도시된 바와 같은 채널 클럭(chclk)에 따라 소정 시간 지연시켜 그 결과신호를 출력한다. 그러면 먹스(312)는 도 11 에 도시된 바와 같은 상기 제 1 플립플롭(311)에서 출력된 채널 데이터 딜레이(chdata_d)신호를 채널 데이터 오케이(chdata_ok)신호에 따라 먹스하여 그 결과신호를 출력한다. 이어 제 2 플립플롭(313)은 상기 먹스(312)에서 먹스된 신호를 도 11 에 도시된 바와 같은 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시켜 그 결과신호(data)를 출력한다.That is, as shown in FIG. 4, the first flip-flop 311 in the timing adjusting unit 310 stores the channel data chdata decoded in the channel decoding unit 200 as shown in FIG. 11. According to chclk, a predetermined time delay is outputted as a result signal. The mux 312 muxes the channel data delay chdata_d signal output from the first flip-flop 311 according to the channel data chdata_ok signal as shown in FIG. 11 and outputs the result signal. Subsequently, the second flip-flop 313 delays the mux signal from the mux 312 by a predetermined time according to the operation clock tpclk of the transport demultiplexer as shown in FIG. 11 and outputs the resultant signal data. .

그리고 채널 인터페이스부(300)내 싱크 디텍트/라이트 어드레스 발생부(320)는 상기 채널 디코드부(200)에서 디코드된 채널 데이터(chdata)신호, 채널 스타트 오브 패킷(chsop)신호 및 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)신호를 채널 데이터 오케이(chdata_ok)신호, 에러(error)신호 및 채널 데이터 스테이블(chdata_stable)신호에 따라 싱크를 검출한 후 패킷 단위로 데이터를 저장하기 위한 라이트 어드레스(addr)와 라이트 인에이블 템프(wen_temp)신호를 출력한다.The sink detect / write address generator 320 in the channel interface 300 is set by the channel data (chdata) signal, the channel start of packet (chsop) signal, and the user decoded by the channel decoder 200. A write address for storing data in packet units after detecting a sync according to the start_pack type (sop_type) signal according to the channel data chdata_ok signal, the error signal and the channel data table data chdata_stable signal. addr) and a write enable temp (wen_temp) signal.

상기 스타트 오브 패킷 타입(sop_type)신호는 스타트 오프 패킷(sop)신호가 유효(valid)('1')한지 아닌지('0')를 결정한다.The start of packet type (sop_type) signal determines whether the start off packet (sop) signal is valid ('1') or not ('0').

여기서 싱크 디텍트/라이트 어드레스 발생부(320)는 리셋상태에서 상기 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)신호를 검색한 후 상기 검색결과 상기 스타트 오프 패킷 타입(sop_type)신호가 '0'이라면 유효(valid)신호가 아니라고 판단하여 싱크 바이트를 검색하기 위한 상태로 천이한다(S1, S2).Here, the sink detect / write address generator 320 searches for the start of packet type signal set by the user in the reset state, and then the start off packet type signal set_so_type signal is '0'. If not, it determines that the signal is not a valid signal and transitions to a state for searching for sync bytes (S1, S2).

상기 S2상태에서의 검색결과 채널 데이터 오케이(chdata_ok)신호를 '1', 그리고 채널 데이터 딜레이(chdata_d)신호가 'Ox47'이라면 라이트 어드레스를 '0' 또는 '188'로, 라이트 인에이블 템프(wen_temp)신호를 '1'로 설정하여 싱크(sync)를 락(lock)시키기 위한 상태로 천이한다(S3).If the channel data chdata_ok signal is '1' and the channel data delay (chdata_d) signal is 'Ox47', the write address is set to '0' or '188' and the write enable temp is wen_temp. The signal is set to '1' to transition to a state for locking sync (S3).

상기 S3상태에서 상기 저장부(400)에 채널 데이터 2딜레이(chdata_2d)신호를 싱크를 락시킨 후 채널 데이터 오케이(chdata_ok)신호가 '1', 라이트 어드레스(write_addr)가 '187' 또는 '375', 그리고 채널 데이터 딜레이(chdata_d)신호가 Ox47이라면 라이트 인에이블 템프(wen_temp)신호가 '0'이라면 상기 S2상태로 천이하고, 채널 데이터 오케이(chdata_ok)신호가 '1'이라면 이전 라이트 어드레스(write_addr)에 '1'을 더한 값으로 라이트 어드레스(write_addr)를 설정한다.The channel data chdata_ok signal is '1' and the write address (write_addr) is '187' or '375' after the channel data 2 delay (chdata_2d) signal is locked to the storage unit 400 in the S3 state. If the channel data delay (chdata_d) signal is Ox47 and the write enable temp signal (wen_temp) is '0', the state transitions to the S2 state. If the channel data delay (data_ok) signal is '1', the previous write address (write_addr) is performed. Set the write address (write_addr) to the value of '1'.

또한, 상기 검색 결과 스타트 오브 패킷 타입(sop_type)신호가 '1'이라면 유효(valid)신호라고 판단한 후 스타트 오브 패킷(SOP)을 검색하기 위한 상태로 천이한다(S4).In addition, if the start_of_pack type (sop_type) signal is '1', it is determined to be a valid signal and then transitions to a state for searching for the start of packet SOP (S4).

상기 S4상태에서의 검색결과 채널 데이터 스테이블(chdata_stable)신호가 '1', 채널 스타트 오브 패킷 딜레이(chdata_d)신호가 '1', 그리고 에러(error)신호가 '1'이라면 스타트 오브 패킷 노멀(SOP_normal)상태로 천이한 후(S5), 채널 데이터 스테이블(chdata_stable)신호가 '1', 채널 스타트 오브 패킷 딜레이(chdata_d)신호가 '1', 그리고 에러(error)신호가 '0'이라면 스타트 오브 패킷 에러(SOP_error)상태로 천이한다.In the S4 state, if the channel data table data chch_stable signal is '1', the channel start of packet delay signal chdata_d is '1', and the error signal is '1', the start of packet normal ( After the transition to the SOP_normal state (S5), if the channel data table (chdata_stable) signal is '1', the channel start of packet delay (chdata_d) signal is '1', and the error signal is '0', the start is performed. Transition to the SOP_error state.

상기 S4상태에서의 검새결과 채널 데이터 스테이블(chdata_stable)신호가 '1', 채널 스타트 오브 패킷 딜레이(chdata_d)신호가 '1', 그리고 에러(error)신호가 '0'이라면 스타트 오브 패킷 에러(SOP_error)상태로 천이한 후(S6) 채널 데이터 스테이블(chdata_stable)신호가 '1', 채널 스타트 오브 패킷 딜레이(chdata_d)신호가 '1', 그리고 에러(error)신호가 '1'이라면 스타트 오브 패킷 노멀(SOP_normal)상태로 천이한다(S6).In the S4 state, if the channel data table data (chdata_stable) signal is '1', the channel start of packet delay (chdata_d) signal is '1', and the error signal is '0', the start of packet error ( After the transition to the SOP_error state (S6), if the channel data chdata_stable signal is '1', the channel start of packet delay (chdata_d) signal is '1', and the error signal is '1', the start of Transition to the packet normal state (SOP_normal) (S6).

이에 따라 라이트 인에이블 제어부(330)는 상기 싱크 디텍트/라이트 어드레스 발생부(320)로부터 출력된 라이트 인에이블 템프(wen_temp)신호와 채널 에러(cherror)신호, 채널 유효(chvalid)신호, 채널 클럭(chclk), 유효 액티브(valid_active)신호 및 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)신호에 따라 라이트 인에이블(write_en)신호를 출력한다.Accordingly, the write enable controller 330 may write a write enable temp signal wen_temp signal, a channel error signal, a channel valid signal, and a channel clock output from the sync detect / write address generator 320. The write enable signal write_en is output according to a chclk, a valid_active signal, and a start of packet type signal set by the user.

즉 상기 라이트 인에이블 제어부(330)내 유효(valid)신호 발생부(331)는 도 6 에 도시된 바와 같이, 유저에 의해 세팅된 유효 액티브(valid_active)신호 및 유효 워치(valid_watch)신호에 따라 채널 유효(chvalid)신호로부터 유효(valid)신호를 발생한다.That is, the valid signal generator 331 in the write enable control unit 330 has a channel according to a valid_active signal and a valid watch signal set by a user as shown in FIG. 6. A valid signal is generated from the valid signal.

상기 유효(valid)신호는 액티브(active)와 워치(watch)라는 레지스터를 두어 유저가 세팅하는 되로 처리되로록 하며, 액티브(active)는 로우 액티브(low active)인지('0') 하이 액티브(high active)인지('1')를 결정하는 레지스터이고, 워치(watch)는 유효(valid)신호와 에러(error)신호를 볼 것인지('1') 무시할 것인지('0')를 결정하는 레지스터이다.The valid signal is processed by the user by setting a register called active and a watch, and the active is low active ('0') or high active. register that determines whether it is high active ('1'), and the watch determines whether to view valid and error signals ('1') or ignore it ('0'). Is a register.

즉 유효(valid)신호 발생부(331)내 제 1 익스클루시브 오어 게이트(331a)는 도 7 에 도시된 바와 같이, 상기 채널 디코드부(200)에서 디코드된 채널 유효(chvalid)신호를 소정 시간 지연시킨 채널 데이터 딜레이(chvalid_d)신호와 유저에 의해 세팅된 유효 액티브(valid_active)신호를 배타적 부정 논리합하여 그 결과신호를 출력한다. 그러면 낸드 게이트(331b)는 상기 제 1 익스클루시브 오어 게이트(331a)에서 출력된 신호와 유저에 의해 세팅된 유효 워치(valid_watch)신호를 부정 논리곱하여 그 결과신호를 출력한다.That is, as shown in FIG. 7, the first exclusive or gate 331a in the valid signal generator 331 receives the channel valid signal decoded by the channel decoder 200 for a predetermined time. An exclusive negative OR is performed on the delayed channel data delay (chvalid_d) signal and a valid_active signal set by the user, and the resultant signal is output. Then, the NAND gate 331b negatively multiplies the signal output from the first exclusive or gate 331a and the valid watch_set signal set by the user and outputs the resultant signal.

아울러 라이트 인에이블 제어부(330)내 에러신호 발생부(332)는 유저에 의해 세팅된 에러 액티브(error_active)신호 및 에러 워치(error_watch)신호에 따라 채널 에러(cherror)신호로부터 에러(error)신호를 출력한다.In addition, the error signal generator 332 in the write enable controller 330 may receive an error signal from a channel error signal according to an error active signal and an error watch signal set by a user. Output

상기 에러(error)신호는 액티브(active)와 워치(watch)라는 레지스터를 두어 유저가 세팅하는 되로 처리되로록 하며, 액티브(active)는 로우 액티브(low active)인지('0') 하이 액티브(high active)인지('1')를 결정하는 레지스터이고, 워치(watch)는 유효(valid)신호와 에러(error)신호를 볼 것인지('1') 무시할 것인지('0')를 결정하는 레지스터이다.The error signal is processed by the user by setting registers called active and watch, and active is low active ('0') or high active. register that determines whether it is high active ('1'), and the watch determines whether to view valid and error signals ('1') or ignore it ('0'). Is a register.

즉 에러 신호 발생부(332)내 제 2 익스클루시브 오어 게이트(332a)는 도 8 에 도시된 바와 같이, 상기 채널 디코드부(200)에서 디코드된 cherror를 소정 시간 지연시킨 채널 에러 딜레이(cherror_d)신호와 유저에 의해 세팅된 에러 액티브(error_active)신호를 배타적 부정 논리합하여 그 결과신호를 출력한다. 그러면 제 1 오어 게이트(332b)는 상기 제 2 익스클루시브 오어 게이트(332a)에서 출력된 신호와 유저에 의해 세팅된 에러 워치(error_watch)를 논리합하여 그 결과신호를 출력한다.That is, as shown in FIG. 8, the second exclusive or gate 332a in the error signal generator 332 delays the cherror decoded by the channel decoder 200 by a predetermined time (cherror_d). The signal and the error active (error_active) set by the user are exclusively negated and output the resultant signal. Then, the first or gate 332b logically combines the signal output from the second exclusive or gate 332a with the error watch (error_watch) set by the user and outputs the resultant signal.

그리고 라이트 인에이블 제어부(330)내 채널 클럭(chclk) 안정화부(333)는 상기 채널 디코드부(200)에서 디코드된 채널 클럭(chclk)을 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 안정화시켜 출력한다.The channel clock chclk stabilizer 333 in the write enable controller 330 stabilizes the channel clock chclk decoded by the channel decoder 200 according to the operation clock tpclk of the transport demultiplexer. Output

즉 채널 클럭(chclk) 안정화부(333)내 제 3 플립플롭(333a)은 도 9 에 도시된 바와 같이, 상기 채널 디코드부(200)에서 디코드된 채널 클럭(chclk)을 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시켜 그 결과신호를 출력한다. 그러면 제 4 플립플롭(333b)은 상기 제 3 플립플롭(333a)에서 출력된 채널 클럭 1딜레이(chclk_1d)신호를 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시켜 그 결과신호를 출력한다. 이어 제 5 플립플롭(333c)은 도 11 에 도시된 바와 같이 상기 제 4 플립플롭(333b)에서 출력된 채널 클럭 2딜레이(chclk_2d)신호를 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시켜 그 결과신호를 출력한다. 그러면 제 1 앤드 게이트(333d)는 도 11 에 도시된 바와 같은 상기 제 5 플립플롭(333c)에서 출력된 채널 클럭 3딜레이(chclk_3d)신호의 부정된 신호와 상기 제 4 플립플롭(333b)에서 출력된 채널 클럭 2딜레이(chclk_2d)신호를 논리곱하여 그 결과신호를 출력한다.That is, as illustrated in FIG. 9, the third flip-flop 333a in the channel clock chclk stabilization unit 333 performs operation of the transport demultiplexer on the channel clock chclk decoded by the channel decode unit 200. The predetermined time is delayed according to the clock tpclk, and the resultant signal is output. Then, the fourth flip-flop 333b delays the channel clock 1 delay (chclk_1d) signal output from the third flip-flop 333a by a predetermined time according to the operation clock tpclk of the transport demultiplexer and outputs the resultant signal. do. Next, as shown in FIG. 11, the fifth flip-flop 333c receives a channel clock 2-delay chchk_2d signal outputted from the fourth flip-flop 333b according to the operation clock tpclk of the transport demultiplexer. Delay and output the result signal. Then, the first AND gate 333d is output from the negated signal of the channel clock 3-delay chchk_3d signal output from the fifth flip-flop 333c and the fourth flip-flop 333b as shown in FIG. 11. The resultant signal is multiplied by the channel clock 2-delay (chclk_2d) signal.

그러면 라이트 인에이블 발생부(334)는 상기 유효(valid)신호 발생부(331)에서 발생된 유효(valid)신호, 에러신호 발생부(332)에서 출력된 에러(error)신호, 도 11 에 도시된 바와 같이 채널 클럭(chclk) 안정화부(333)에서 출력된 채널 클럭 래치(chclk_latch)신호 및 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)신호를 라이트 인에이블 템프(wen_temp)신호에 따라 채널 데이터 오케이(chdata_ok)신호, 채널 데이터 스테이블(chdata_stable)신호 및 라이트 인에이블(write_en)신호를 출력한다.Then, the write enable generator 334 may include a valid signal generated by the valid signal generator 331, an error signal output from the error signal generator 332, and a signal of FIG. 11. As described above, the channel clock latch (chclk_latch) signal output from the channel clock (chclk) stabilization unit 333 and the start of packet type (sop_type) signal set by the user according to the write enable temp (wen_temp) signal channel data. A ok data (chdata_ok) signal, a channel data table (chdata_stable) signal, and a write enable signal (write_en) signal are output.

상기 채널 데이터 스테이블(chdata_stable)신호는 채널 클럭 래치(chclk_latch)신호에 유효(valid)값을 고려한 것이다.The channel data chtable_stable signal considers a valid value for the channel clock latch chclk_latch signal.

즉 상기 라이트 인에이블 발생부(334)내 제 2 앤드 게이트(334a)는 도 10 에 도시된 바와 같이, 상기 채널 클럭(chclk) 안정화부(330)에서 출력된 채널 클럭 래치(chclk_latch)신호와 상기 채널 디코더부(200)에서 출력된 유효(valid)신호를 논리곱하여 그 결과신호를 출력한다. 그러면 제 2 오어 게이트(334b)는 상기 채널 디코드부(200)에서 출력된 신호(error)와 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)신호를 논리합하여 그 결과신호를 출력한다. 이어 제 3 앤드 게이트(334c)는 상기 제 2 앤드 게이트(334a)에서 출력된 채널 데이터 스테이블(chdata_stable)신호와 상기 제 2 오어 게이트(334b)에서 출력된 신호를 논리곱하여 그 결과신호를 출력한다. 그러면 제 6 플립플롭(334d)은 상기 제 3 앤드 게이트(334c)에서 출력된 채널 데이터 오케이(chdata_ok)신호를 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(tpclk)에 따라 소정 시간 지연시켜 그 결과신호를 출력한다. 이에 따라 제 4 앤드 게이트(334e)는 상기 싱크 디텍트/라이트 어드레스 발생부(320)에서 출력된 라이트 인에이블 템프(wen_temp)신호와 도 11 에 도시된 바와 같이 제 6 플립플롭(334d)에 출력된 채널 데이터 오케이 딜레이(chdata_ok_d)신호를 논리곱하여 출력한다.That is, as shown in FIG. 10, the second AND gate 334a in the write enable generation unit 334 is the channel clock latch (chclk_latch) signal output from the channel clock chclk stabilizer 330 and the channel clock latch (chclk_latch) signal. The valid signal output from the channel decoder 200 is ANDed and the resultant signal is output. Then, the second or gate 334b logically combines the signal (error) output from the channel decoder 200 with the start of packet type (sop_type) signal set by the user and outputs the resultant signal. Subsequently, the third AND gate 334c multiplies the channel data chdata_stable signal output from the second and gate 334a and the signal output from the second or gate 334b and outputs the resultant signal. . Then, the sixth flip-flop 334d delays the channel data ok data output from the third and gate 334c by a predetermined time according to the operation clock tpclk of the transport demultiplexer and outputs the resultant signal. . Accordingly, the fourth AND gate 334e is output to the write enable temp signal wen_temp signal output from the sink detect / write address generator 320 and to the sixth flip-flop 334d as shown in FIG. 11. The received channel data ok delay (chdata_ok_d) signal is ANDed and output.

상기 채널 데이터 오케이(chdata_ok)신호는 상기 채널 데이터 스테이블(chdata_stable)신호에 에러(error)를 고려한 것이다.The channel data ok data (chdata_ok) is an error in consideration of the channel data chdata_stable signal.

그러면 트랜스포트 디멀티플렉스부(TP)(500)는 상기 저장부(400)에 저장된 신호를 소정 위치로부터 인출하여 디멀티플렉스하여 오디오/비디오 디코드부(미도시)로 출력한다.Then, the transport demultiplexer (TP) 500 extracts a signal stored in the storage unit 400 from a predetermined position, demultiplexes the signal, and outputs the demultiplexed signal to an audio / video decode unit (not shown).

이상에서 설명한 바와 같이 본 발명에 따른 디지털 방송 수신기의 채널 인터페이스장치는 채널 디코드부에서 디코드된 데이터를 저장부에 라이트(write)하기 전에 싱크 바이트를 검색한 후 데이터를 패킷 단위로 라이트(write)하도록 하여 스타트 오브 패킷(sop) 여부에 따라 에러신호를 대응할 수 있는 효과가 있다.As described above, the channel interface apparatus of the digital broadcast receiver according to the present invention may write the data in packet units after searching for the sync byte before writing the decoded data in the channel decoder to the storage unit. Therefore, there is an effect that the error signal can be responded to according to whether the start of packet (sop).

이상 설명한 내용을 통해 당업자라면 본 발명의 기술 사상을 일탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다.Those skilled in the art will appreciate that various changes and modifications can be made without departing from the spirit of the present invention.

따라서, 본 발명의 기술적 범위는 실시예에 기재된 내용으로 한정되는 것이 아니라 특허 청구의 범위에 의하여 정해져야 한다.Therefore, the technical scope of the present invention should not be limited to the contents described in the embodiments, but should be defined by the claims.

Claims (2)

채널 디코드부와 저장부를 구비한 디지털 방송 수신기의 채널 인터페이스장치에 있어서,A channel interface apparatus of a digital broadcast receiver having a channel decode unit and a storage unit, 상기 채널 디코드부에서 디코드된 신호로부터 싱크 바이트를 검출한 후 상기 저장부의 소정 위치로부터 데이터를 라이트(write)하도록 제어하는 채널 인터페이스부와;A channel interface unit controlling to write data from a predetermined position of the storage unit after detecting the sync byte from the signal decoded by the channel decoder; 상기 저장부에 저장된 신호를 소정 위치로부터 인출하여 디멀티플렉스하는 트랜스포트 디멀티플렉스부를 포함하여 구성된 것을 특징으로 하는 디지털 방송 수신기의 채널 인터페이스장치.And a transport demultiplex unit configured to extract and demultiplex the signal stored in the storage unit from a predetermined position. 제 1 항에 있어서,The method of claim 1, 상기 채널 인터페이스부는The channel interface unit 상기 채널 디코드부에서 디코드된 채널 데이터(chdata)의 타이밍을 채널 데이터 오케이(chdata_ok)신호에 따라 조절하여 데이터(data)를 출력하는 타이밍 조절부와;A timing adjusting unit for adjusting the timing of the channel data chdata decoded by the channel decoding unit according to a channel data ok data and outputting data; 상기 채널 디코드부에서 디코드된 채널 데이터(chdata)신호, 채널 스타트 오브 패킷(chsop)신호 및 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)신호Channel data (chdata) signal, channel start of packet (chsop) signal decoded by the channel decoder, and start of packet type (sop_type) signal set by the user. 상기 싱크 디텍트/라이트 어드레스 발생부로부터 출력된 라이트 인에이블 템프(wen_temp)신호와 채널 에러(cherror)신호, 채널 유효(chvalid)신호, 상기 트랜스포트 디멀티플렉서의 오퍼레이션 클럭(chclk), 유효 액티브(valid_active)신호 및 유저에 의해 세팅된 스타트 오브 패킷 타입(sop_type)신호에 따라 라이트 인에이블(write_en)신호를 출력하는 라이트 인에이블 제어부를 포함하여 구성된 것을 특징으로 하는 디지털 방송 수신기의 채널 인터페이스장치.A write enable temp signal wen_temp signal, a channel error signal, a channel valid signal, an operation clock of the transport demultiplexer, and a valid_active signal output from the sink detect / write address generator. And a write enable control unit for outputting a write enable signal according to a signal and a start of packet type (sop_type) signal set by the user.
KR1019990043857A 1999-10-11 1999-10-11 apparatus for interfacing channel in digital broadcasting receiver KR100606690B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990043857A KR100606690B1 (en) 1999-10-11 1999-10-11 apparatus for interfacing channel in digital broadcasting receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990043857A KR100606690B1 (en) 1999-10-11 1999-10-11 apparatus for interfacing channel in digital broadcasting receiver

Publications (2)

Publication Number Publication Date
KR20010036732A true KR20010036732A (en) 2001-05-07
KR100606690B1 KR100606690B1 (en) 2006-07-31

Family

ID=19614826

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990043857A KR100606690B1 (en) 1999-10-11 1999-10-11 apparatus for interfacing channel in digital broadcasting receiver

Country Status (1)

Country Link
KR (1) KR100606690B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030080350A (en) * 2002-04-08 2003-10-17 주식회사 에어코드 A system for verifying authorial products for data broadcast
KR100890817B1 (en) * 2007-11-14 2009-03-30 지씨티 세미컨덕터 인코포레이티드 Packet processing apparatus for dmb receiver and dmb receiving apparatus using the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030080350A (en) * 2002-04-08 2003-10-17 주식회사 에어코드 A system for verifying authorial products for data broadcast
KR100890817B1 (en) * 2007-11-14 2009-03-30 지씨티 세미컨덕터 인코포레이티드 Packet processing apparatus for dmb receiver and dmb receiving apparatus using the same

Also Published As

Publication number Publication date
KR100606690B1 (en) 2006-07-31

Similar Documents

Publication Publication Date Title
US7656947B2 (en) Synchronization device and synchronization method in digital broadcast receiver
KR100707641B1 (en) Decoder apparatus
KR100468776B1 (en) Synchronous semiconductor memory device capable of reducing the influence of clock jitter
US20060215741A1 (en) Timing synchronization module and method for synchronously playing a media signal
US7260149B2 (en) Digital data transmission apparatus, digital data reception apparatus, digital broadcast reception apparatus, digital data transmission method, digital data reception method, digital broadcast reception method, and computer program
KR100606690B1 (en) apparatus for interfacing channel in digital broadcasting receiver
US7039114B2 (en) Data separation and decoding device
KR100384553B1 (en) Data multiplexer with a single external memory
JP2008136026A (en) Digital demodulation ic
US6621817B1 (en) Transport packet parser
KR100588180B1 (en) Digital television broadcasting receiver
US7706490B2 (en) Analog to digital converter clock synchronizer
JP4084646B2 (en) Communication terminal with digital broadcast reception / playback function
KR20080007014A (en) The method for transmitting and receiving software related to tv system, the apparatus for controlling the same
KR100484249B1 (en) Pipe latch Circuit for output data with high speed in Sychronous Memory device and Synchronous Memory device using the same
JP2006330541A (en) Audio-receiving and reproducing device
US20100058096A1 (en) Signal processing apparatus and method thereof
US8863203B2 (en) Video server apparatus
KR100388469B1 (en) Method for control of presentation time stamp in decoder
JP2004094239A (en) Clock converter, clock conversion method, video display and its memory address setting method
US6917387B2 (en) Arrangement for time-correct combination of two data streams
JP4227870B2 (en) Functional module card and host device
JP2001285798A (en) Video signal recording and reproducing device
KR100507881B1 (en) A bit stream decoder in digital broadcasting receiver system
JP2001156757A (en) Decoder

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20090619

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee