KR100917202B1 - Digital broadcasting system and method of processing data in digital broadcasting system - Google Patents

Digital broadcasting system and method of processing data in digital broadcasting system Download PDF

Info

Publication number
KR100917202B1
KR100917202B1 KR1020080133730A KR20080133730A KR100917202B1 KR 100917202 B1 KR100917202 B1 KR 100917202B1 KR 1020080133730 A KR1020080133730 A KR 1020080133730A KR 20080133730 A KR20080133730 A KR 20080133730A KR 100917202 B1 KR100917202 B1 KR 100917202B1
Authority
KR
South Korea
Prior art keywords
data
mobile service
known data
frame
output
Prior art date
Application number
KR1020080133730A
Other languages
Korean (ko)
Other versions
KR20090009179A (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 엘지전자 주식회사
Publication of KR20090009179A publication Critical patent/KR20090009179A/en
Application granted granted Critical
Publication of KR100917202B1 publication Critical patent/KR100917202B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/35Unequal or adaptive error protection, e.g. by providing a different level of protection according to significance of source information or by adapting the coding according to the change of transmission channel characteristics
    • H03M13/353Adaptation to the channel
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit
    • H03M13/095Error detection codes other than CRC and single parity bit codes
    • H03M13/096Checksums
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/13Linear codes
    • H03M13/15Cyclic codes, i.e. cyclic shifts of codewords produce other codewords, e.g. codes defined by a generator polynomial, Bose-Chaudhuri-Hocquenghem [BCH] codes
    • H03M13/151Cyclic codes, i.e. cyclic shifts of codewords produce other codewords, e.g. codes defined by a generator polynomial, Bose-Chaudhuri-Hocquenghem [BCH] codes using error location or error correction polynomials
    • H03M13/1515Reed-Solomon codes
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/37Decoding methods or techniques, not specific to the particular type of coding provided for in groups H03M13/03 - H03M13/35
    • H03M13/39Sequence estimation, i.e. using statistical methods for the reconstruction of the original codes
    • H03M13/3994Sequence estimation, i.e. using statistical methods for the reconstruction of the original codes using state pinning or decision forcing, i.e. the decoded sequence is forced through a particular trellis state or a particular set of trellis states or a particular decoded symbol
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/01Equalisers

Abstract

본 발명은 모바일 서비스 데이터를 송신할 때 에러에 강한 디지털 전송 시스템 및 데이터 처리 방법에 관한 것이다. 이를 위해 본 발명은 모바일 서비스 데이터에 대해 추가의 부호화를 수행하여 전송한다. 이렇게 함으로써, 상기 모바일 서비스 데이터에 강건성을 부여하면서 빠른 채널 변화에 강력하게 대응할 수 있게 한다.

Figure R1020080133730

모바일, 부호화, 에러

The present invention relates to a digital transmission system and a data processing method that are resistant to errors when transmitting mobile service data. To this end, the present invention performs additional encoding on the mobile service data and transmits it. By doing so, it is possible to robustly cope with fast channel changes while giving robustness to the mobile service data.

Figure R1020080133730

Mobile, encoding, error

Description

디지털 방송 시스템 및 데이터 처리 방법{Digital broadcasting system and method of processing data in digital broadcasting system}Digital broadcasting system and method of processing data in digital broadcasting system

본 발명은 디지털 방송을 송신하고 수신하기 위한 디지털 방송 시스템 및 데이터 처리 방법에 관한 것이다.The present invention relates to a digital broadcasting system and a data processing method for transmitting and receiving digital broadcasting.

디지털 방송 중 북미 및 국내에서 디지털 방송 표준으로 채택된 VSB(Vestigial Sideband) 전송 방식은 싱글 캐리어 방식이므로 열악한 채널 환경에서는 수신 시스템의 수신 성능이 떨어질 수 있다. 특히 휴대용이나 이동형 방송 수신기의 경우에는 채널 변화 및 노이즈에 대한 강건성이 더욱 요구되므로, 상기 VSB 전송 방식으로 모바일 서비스 데이터를 전송하는 경우 수신 성능이 더욱 떨어지게 된다.In the digital broadcasting, VSB (Vestigial Sideband) transmission method adopted as a digital broadcasting standard in North America and Korea is a single carrier method, so the reception performance of the receiving system may be degraded in a poor channel environment. In particular, in the case of a portable or mobile broadcast receiver, since the robustness against channel change and noise is further required, when the mobile service data is transmitted through the VSB transmission method, the reception performance is further deteriorated.

따라서 본 발명은 채널 변화 및 노이즈에 강한 디지털 방송 시스템 및 데이터 처리 방법을 제공함에 있다.Accordingly, an aspect of the present invention is to provide a digital broadcasting system and a data processing method that are resistant to channel variation and noise.

본 발명은 모바일 서비스 데이터에 대해 추가의 부호화를 수행하여 수신 시스템으로 전송함으로써, 수신 시스템의 수신 성능을 향상시키도록 하는 디지털 방송 시스템 및 데이터 처리 방법을 제공함에 있다.The present invention provides a digital broadcasting system and a data processing method for improving the reception performance of a reception system by performing additional encoding on mobile service data and transmitting the same to a reception system.

본 발명은 송/수신측의 약속에 의해 알고 있는 기지 데이터를 데이터 영역의 소정 영역에 삽입하여 전송함으로써, 수신 시스템의 수신 성능을 향상시키도록 하는 디지털 방송 시스템 및 데이터 처리 방법을 제공함에 있다.The present invention provides a digital broadcasting system and a data processing method for improving the reception performance of a reception system by inserting and transmitting known data known by a promise of a transmission / reception side into a predetermined area of a data area.

상기 목적을 달성하기 위하여, 본 발명의 일 실시예에 따른 전송 시스템은 서비스 다중화기와 송신기를 포함할 수 있다. 상기 서비스 다중화기는 모바일 서비스 데이터와 메인 서비스 데이터를 기 설정된 데이터 율로 다중화하여 송신기로 전송할 수 있다. 상기 송신기는 서비스 다중화기에서 전송되는 모바일 서비스 데이터에 대해 추가의 부호화를 수행하고, 부호화가 수행된 다수개의 모바일 서비스 데이터 패킷을 모아 데이터 그룹을 형성할 수 있다. 상기 송신기는 모바일 서비스 데이터를 포함하는 모바일 서비스 데이터 패킷과 메인 서비스 데이터를 포함하는 메인 서비스 데이터 패킷을 패킷 단위로 다중화하여 수신 시스템으로 전송할 수 있다. 이때 상기 송신기는 데이터 그룹과 메인 서비스 데이터 패킷을 버스트 구조로 다중 화할 수 있으며, 상기 버스트는 데이터 그룹이 포함되는 버스트 온 구간과 데이터 그룹이 포함되지 않는 버스트 오프 구간으로 구분할 수 있다.In order to achieve the above object, a transmission system according to an embodiment of the present invention may include a service multiplexer and a transmitter. The service multiplexer may multiplex the mobile service data and the main service data at a preset data rate and transmit them to the transmitter. The transmitter may perform additional encoding on mobile service data transmitted from the service multiplexer, and collect a plurality of mobile service data packets on which encoding is performed to form a data group. The transmitter may multiplex a mobile service data packet including mobile service data and a main service data packet including main service data in packet units and transmit the packet to a receiving system. In this case, the transmitter may multiplex the data group and the main service data packet into a burst structure, and the burst may be divided into a burst on period including a data group and a burst off period without a data group.

상기 데이터 그룹은 메인 서비스 데이터의 간섭 정도에 따라 다수개의 영역으로 구분할 수 있다. 상기 메인 서비스 데이터의 간섭이 없는 영역에는 주기적으로 긴 기지 데이터 열을 삽입할 수 있다. The data group may be divided into a plurality of areas according to the degree of interference of the main service data. Long known data streams may be inserted periodically in an area free of interference of the main service data.

본 발명의 일 실시예에 따른 수신 시스템은 상기 기지 데이터 열을 복조 및 채널 등화에 이용할 수 있다. A receiving system according to an embodiment of the present invention may use the known data stream for demodulation and channel equalization.

상기 수신 시스템은 모바일 서비스 데이터만을 수신하는 경우, 버스트 온 구간에서만 전원을 온하여 모바일 서비스 데이터를 처리할 수 있다.When the reception system receives only mobile service data, the reception system may power on only in the burst on period to process mobile service data.

본 발명의 다른 실시예에 따른 수신 시스템은 신호 수신부, 기지 데이터 검출부, 및 채널 등화기를 포함할 수 있다.A receiving system according to another embodiment of the present invention may include a signal receiver, a known data detector, and a channel equalizer.

상기 신호 수신부는 모바일 서비스 데이터와 메인 서비스 데이터가 포함된 방송 신호를 수신한다. 상기 모바일 서비스 데이터는 데이터 그룹을 구성할 수 있고, 상기 데이터 그룹은 복수개의 영역으로 구분되고, 상기 복수개의 영역 중 일부 영역 내에는 기지 데이터 열이 선형적으로 삽입되며, 상기 기지 데이터 열의 시작 부분에는 송신기의 트렐리스 인코더 내 메모리를 초기화하는데 이용된 초기화 데이터가 위치한다. 상기 기지 데이터 검출부는 데이터 그룹 내 선형적으로 삽입된 기지 데이터를 검출한다. 상기 채널 등화기는 상기 검출된 기지 데이터를 이용하여 상기 모바일 서비스 데이터를 채널 등화한다.The signal receiver receives a broadcast signal including mobile service data and main service data. The mobile service data may constitute a data group, and the data group may be divided into a plurality of areas, and a known data string may be linearly inserted into a portion of the plurality of areas, and at the beginning of the known data column. Initialization data used to initialize the memory in the transmitter's trellis encoder is located. The known data detector detects known data linearly inserted into the data group. The channel equalizer channel equalizes the mobile service data using the detected known data.

상기 데이터 그룹 내 복수개의 영역 중 일부 영역 내에는 N개의 기지 데이터 열이 삽입되며, 상기 N개의 기지 데이터열 중 첫 번째 기지 데이터 열 및 두 번째 기지데이터 열 사이에는 전송 파라미터가 삽입될 수 있다. N known data strings may be inserted in some regions of the plurality of regions in the data group, and a transmission parameter may be inserted between a first known data string and a second known data string among the N known data strings.

상기 수신 시스템은 상기 전송 파라미터를 검출하는 전송 파라미터 검출기와 상기 검출된 전송 파라미터를 기초로 상기 모바일 서비스 데이터를 블록 단위로 심볼 디코딩하는 블록 디코더를 더 포함할 수 있다. The receiving system may further include a transmission parameter detector for detecting the transmission parameter and a block decoder for symbol decoding the mobile service data on a block basis based on the detected transmission parameter.

상기 수신 시스템은 상기 검출된 전송 파라미터를 이용하여, 수신을 원하는 모바일 서비스 데이터를 포함하는 데이터 그룹을 수신할 수 있도록 전원을 제어하는 전원 제어부를 더 포함할 수 있다. The receiving system may further include a power control unit for controlling a power to receive a data group including mobile service data to be received by using the detected transmission parameter.

상기 데이터 그룹은 RS 프레임을 구성할 수 있고, 상기 RS 프레임은 상기 모바일 서비스 데이터에 대한 적어도 하나의 데이터 패킷, 상기 적어도 하나의 데이터 패킷을 기초로 생성된 RS 패리티, 및 상기 적어도 하나의 데이터 패킷 및 상기 RS 패리티를 기초로 생성된 CRC 체크섬(checksum)을 포함할 수 있다.The data group may constitute an RS frame, wherein the RS frame includes at least one data packet for the mobile service data, an RS parity generated based on the at least one data packet, and the at least one data packet; It may include a CRC checksum generated based on the RS parity.

상기 수신 시스템은 상기 모바일 서비스 데이터에 대해 RS 프레임 단위로 CRC 복호 및 RS 복호를 수행하여 상기 RS 프레임 내 모바일 서비스 데이터에 발생된 에러를 정정하는 RS 프레임 복호기를 더 포함할 수 있다.The receiving system may further include an RS frame decoder that performs CRC decoding and RS decoding on the basis of RS frames on the mobile service data to correct an error generated in the mobile service data in the RS frame.

상기 수신 시스템은 상기 RS 복호된 모바일 서비스 데이터를 디랜덤마이징(Derandomizing)하는 디랜덤마이저(DeRandomizer)를 더 포함할 수 있다. The receiving system may further include a derandomizer for derandomizing the RS decoded mobile service data.

본 발명의 일 실시예에 따른 수신 시스템의 데이터 처리 방법은, 모바일 서비스 데이터와 메인 서비스 데이터가 포함된 방송 신호를 수신하며, 상기 모바일 서비스 데이터는 데이터 그룹을 구성할 수 있고, 상기 데이터 그룹은 복수개의 영 역으로 구분되고, 상기 복수개의 영역 중 일부 영역 내에는 기지 데이터 열이 선형적으로 삽입되며, 상기 기지 데이터 열의 시작 부분에는 송신기의 트렐리스 인코더 내 메모리를 초기화하는데 이용된 초기화 데이터가 위치하는 단계, 상기 데이터 그룹 내 선형적으로 삽입된 기지 데이터를 검출하는 단계, 및 상기 검출된 기지 데이터를 이용하여 상기 모바일 서비스 데이터를 채널 등화하는 단계를 포함할 수 있다. In a data processing method of a reception system according to an embodiment of the present invention, a broadcast signal including mobile service data and main service data may be received, and the mobile service data may constitute a data group, and the data group may include a plurality of data groups. The data stream is linearly inserted into a portion of the plurality of regions, and the initialization data used to initialize the memory in the trellis encoder of the transmitter is located at the beginning of the known data string. And detecting known data linearly inserted in the data group, and channel equalizing the mobile service data using the detected known data.

본 발명의 다른 목적, 특징 및 잇점들은 첨부한 도면을 참조한 실시예들의 상세한 설명을 통해 명백해질 것이다.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.

본 발명에 따른 디지털 방송 시스템, 및 데이터 처리 방법은 채널을 통하여 모바일 서비스 데이터를 송신할 때 에러에 강하고 또한 기존의 수신기와도 호환성이 가능한 이점이 있다. The digital broadcasting system and the data processing method according to the present invention are advantageous in that they are resistant to errors and compatible with existing receivers when transmitting mobile service data through a channel.

본 발명은 고스트와 잡음이 심한 채널에서도 모바일 서비스 데이터를 에러없이 수신할 수 있는 이점이 있다. The present invention has the advantage that the mobile service data can be received without error even in a ghost and noisy channel.

본 발명은 데이터 영역의 특정 위치에 기지 데이터를 삽입하여 전송함으로써, 채널 변화가 심한 환경에서 수신 시스템의 수신 성능을 향상시킬 수 있다. The present invention can improve the reception performance of the reception system in an environment with a high channel change by inserting and transmitting known data in a specific position of the data area.

본 발명은 모바일 서비스 데이터를 메인 서비스 데이터와 다중화할 때 버스트 구조로 다중화함으로써, 수신 시스템의 전력을 절감할 수 있다.The present invention can reduce the power of the reception system by multiplexing the mobile service data into a burst structure when multiplexing the mobile service data with the main service data.

특히 본 발명은 채널 변화가 심하고 노이즈에 대한 강건성이 요구되는 휴대용 및 이동 수신기에 적용하면 더욱 효과적이다. In particular, the present invention is more effective when applied to portable and mobile receivers in which channel variation is severe and robustness to noise is required.

이하 상기의 목적을 구체적으로 실현할 수 있는 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 설명한다. 이때 도면에 도시되고 또 이것에 의해서 설명되는 본 발명의 구성과 작용은 적어도 하나의 실시예로서 설명되는 것이며, 이것에 의해서 본 발명의 기술적 사상과 그 핵심 구성 및 작용이 제한되지는 않는다.Hereinafter, with reference to the accompanying drawings, preferred embodiments of the present invention that can specifically realize the above object will be described. At this time, the configuration and operation of the present invention shown in the drawings and described by it will be described as at least one embodiment, by which the technical spirit of the present invention and its core configuration and operation is not limited.

본 발명에서 사용되는 용어의 정의Definition of terms used in the present invention

본 발명에서 사용되는 용어는 본 발명에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어를 선택하였으나, 이는 당분야에 종사하는 기술자의 의도 또는 관례 또는 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서 본 발명에서 사용되는 용어는 단순한 용어의 명칭이 아닌 그 용어가 가지는 의미와 본 발명의 전반에 걸친 내용을 토대로 정의되어야 함을 밝혀두고자 한다. The terms used in the present invention were selected as widely used general terms as possible in consideration of the functions in the present invention, but may vary according to the intention or custom of the person skilled in the art or the emergence of new technologies. In addition, in certain cases, there is a term arbitrarily selected by the applicant, and in this case, the meaning will be described in detail in the corresponding description of the invention. Therefore, it is intended that the terms used in the present invention should be defined based on the meanings of the terms and the general contents of the present invention rather than the names of the simple terms.

본 발명에서 사용되는 용어 중 메인 서비스 데이터는 고정형 수신 시스템에서 수신할 수 있는 데이터로서, 오디오/비디오(A/V) 데이터를 포함할 수 있다. 즉, 상기 메인 서비스 데이터에는 HD(High Definition) 또는 SD(Standard Definition)급의 A/V 데이터가 포함될 수 있으며, 데이터 방송을 위한 각종 데이터가 포함될 수도 있다. 그리고 기지(Known) 데이터는 송/수신측의 약속에 의해 미리 알고 있는 데이터이다. Among the terms used in the present invention, the main service data is data that can be received by the fixed receiving system and may include audio / video (A / V) data. That is, the main service data may include A / V data of a high definition (HD) or standard definition (SD) level, and may include various data for data broadcasting. Known data is data known in advance by an appointment of the transmitting / receiving side.

또한 본 발명에서 모바일(mobile) 서비스 데이터는 모바일(Mobile) 서비스 데이터, 퍼데스트리언(Pedestrian) 서비스 데이터, 핸드헬드(Handheld) 서비스 데이터 중 적어도 하나를 포함하며, 설명의 편의를 위해 본 발명에서는 모바일 서비스 데이터라 한다. 이때 상기 모바일 서비스 데이터는 M/P/H(Mobile/Pedestrian/Handheld) 서비스 데이터뿐만 아니라, 이동이나 휴대를 의미하는 서비스 데이터는 어느 것이나 포함될 수 있으며, 따라서 상기 모바일 서비스 데이터는 상기 M/P/H 서비스 데이터로 제한되지 않을 것이다. In addition, the mobile service data in the present invention includes at least one of the mobile (Mobile) data, the service data (Pedestrian), handheld (Handheld) service data, in the present invention for convenience of description This is called service data. In this case, the mobile service data may include not only M / P / H (Mobile / Pedestrian / Handheld) service data, but also any service data indicating movement or portability. Accordingly, the mobile service data may include the M / P / H. It will not be limited to service data.

상기와 같이 정의된 모바일 서비스 데이터는 프로그램 실행 파일, 주식 정보 등과 같이 정보를 갖는 데이터일 수도 있고, A/V 데이터일 수도 있다. 특히 상기 모바일 서비스 데이터는 휴대용이나 이동형 단말기(또는 방송 수신기)를 위한 서비스 데이터로서 메인 서비스 데이터에 비해서 작은 해상도와 작은 데이터 율을 가지는 A/V 데이터가 될 수도 있다. 예를 들어, 기존 메인 서비스를 위해 사용하는 A/V 코덱(Codec)이 MPEG-2 코덱(Codec)이라면, 모바일 서비스를 위한 A/V 코덱(Codec)으로는 보다 영상 압축 효율이 좋은 MPEG-4 AVC(Advanced Video Coding), SVC(Scalable Video Coding) 등의 방식이 사용될 수 있다. 또한 상기 모바일 서비스 데이터로는 어떠한 종류의 데이터라도 전송될 수 있다. 일례로 실시간으로 교통 정보를 방송하기 위한 TPEG(Transport Protocol Expert Group) 데이터가 서비스 될 수도 있다. The mobile service data defined as described above may be data having information such as a program execution file, stock information, or the like, or may be A / V data. In particular, the mobile service data may be A / V data having a smaller resolution and a smaller data rate than the main service data as service data for a portable or mobile terminal (or broadcast receiver). For example, if the A / V codec used for the existing main service is an MPEG-2 codec, the MPEG-4 codec that has better image compression efficiency as the A / V codec for mobile services. AVC (Advanced Video Coding), SVC (Scalable Video Coding), etc. may be used. In addition, any kind of data may be transmitted as the mobile service data. For example, TPEG (Transport Protocol Expert Group) data for broadcasting traffic information in real time may be serviced.

또한 상기 모바일 서비스 데이터를 이용한 데이터 서비스로는 날씨 서비스, 교통 서비스, 증권 서비스, 시청자 참여 퀴즈 프로그램, 실시간 여론 조사, 대화형 교육 방송, 게임 서비스, 드라마의 줄거리, 등장인물, 배경음악, 촬영장소 등에 대한 정보 제공 서비스, 스포츠의 과거 경기 전적, 선수의 프로필 및 성적에 대한 정보 제공 서비스, 상품 정보 및 이에 대한 주문 등이 가능하도록 하는 서비스별, 매체별, 시간별, 또는 주제별로 프로그램에 대한 정보 제공 서비스 등이 될 수 있으며, 본 발명은 이에 한정하지는 않는다.In addition, data services using the mobile service data include weather services, transportation services, securities services, viewer participation quiz program, real-time polls, interactive educational broadcasting, game services, drama plot, characters, background music, shooting location, etc. Informational services, information on past sports history, profile and performance of athletes, and information on programs by media, time, or subject that enables product information and ordering. Etc., but the present invention is not limited thereto.

본 발명의 전송 시스템은 기존 수신 시스템에서 메인 서비스 데이터를 수신하는데 전혀 영향을 주지 않으면서(backward compatible), 동일한 물리적 채널에 메인 서비스 데이터와 모바일 서비스 데이터를 다중화하여 전송할 수 있도록 한다. The transmission system of the present invention enables multiplexing of main service data and mobile service data on the same physical channel without backward affecting the reception of main service data in an existing receiving system.

본 발명의 전송 시스템은 모바일 서비스 데이터에 대해 추가적인 부호화를 수행하고, 송/수신측 모두가 미리 알고 있는 데이터 즉, 기지(known) 데이터를 삽입하여 전송할 수 있도록 한다. The transmission system of the present invention performs additional encoding on mobile service data and inserts and transmits data that is known in advance to both the transmitting and receiving sides, that is, known data.

이러한 본 발명에 따른 전송 시스템을 사용하면 수신 시스템에서는 모바일 서비스 데이터의 이동 수신이 가능하며, 또한 채널에서 발생하는 각종 왜곡과 노이즈에도 모바일 서비스 데이터의 안정적인 수신이 가능하다.When the transmission system according to the present invention is used, the reception system enables mobile reception of mobile service data, and also enables stable reception of mobile service data against various distortions and noises generated in a channel.

전송 시스템의 개략적인 설명Schematic description of the transmission system

도 1은 이러한 본 발명을 적용하기 위한 전송 시스템의 일 실시예를 보인 개략도로서, 서비스 다중화기(Service Multiplexer)(100)와 송신기(Transmitter)(200)를 포함할 수 있다.1 is a schematic diagram showing an embodiment of a transmission system for applying the present invention, and may include a service multiplexer 100 and a transmitter 200.

여기서 상기 서비스 다중화기(100)는 각 방송국의 스튜디오에 위치하고, 송 신기(200)는 스튜디오로부터 거리가 떨어진 지역(site)에 위치한다. 이때 상기 송신기(200)는 복수개의 서로 다른 지역에 위치할 수도 있다. 그리고 일 실시예로 상기 복수개의 송신기는 동일한 주파수를 공유할 수 있으며, 이 경우 복수개의 송신기는 모두 동일한 신호를 송신한다. 그러면 수신 시스템에서는 채널 등화기가 반사파로 인한 신호 왜곡을 보상하여 원 신호를 복원할 수가 있다. 다른 실시예로, 상기 복수개의 송신기는 동일 채널에 대해 서로 다른 주파수를 가질 수도 있다.The service multiplexer 100 is located in a studio of each broadcasting station, and the transmitter 200 is located in a site away from the studio. In this case, the transmitter 200 may be located in a plurality of different areas. In one embodiment, the plurality of transmitters may share the same frequency, in which case the plurality of transmitters all transmit the same signal. In the receiving system, the channel equalizer can then recover the original signal by compensating for the signal distortion caused by the reflected wave. In another embodiment, the plurality of transmitters may have different frequencies for the same channel.

상기 서비스 다중화기와 원격지에 위치한 각 송신기간의 데이터 통신은 여러 가지 방법이 이용될 수 있으며, 일 실시예로 SMPTE-310M(Synchronous Serial Interface for transport of MPEG-2 data)과 같은 인터페이스 규격이 사용될 수도 있다. 상기 SMPTE-310M 인터페이스 규격에서는 서비스 다중화기의 출력 데이터 율이 일정한 데이터 율로 정해져 있다. 예를 들어, 8VSB의 경우 19.39 Mbps로 정해져 있고, 16VSB의 경우 38.78 Mbps로 정해져 있다. 또한 기존 8VSB 방식의 전송 시스템에서는 한 개의 물리적인 채널에 데이터 율이 약 19.39 Mbps인 트랜스포트 스트림(Transport Stream ; TS) 패킷을 전송할 수 있다. 기존 전송 시스템과 역방향 호환성을 가지는 본 발명에 따른 송신기에서도, 상기 모바일 서비스 데이터에 대하여 추가의 부호화를 수행한 후 이를 메인 서비스 데이터와 TS 패킷 형태로 다중화하여 전송하는데, 이때에도 다중화된 TS 패킷의 데이터 율은 약 19.39 Mbps가 된다. Various methods may be used for data communication between the service multiplexer and each transmitter located at a remote location, and as an example, an interface standard such as Synchronous Serial Interface for transport of MPEG-2 data (SMPTE-310M) may be used. . In the SMPTE-310M interface standard, the output data rate of the service multiplexer is determined to be a constant data rate. For example, it is set at 19.39 Mbps for 8VSB, and 38.78 Mbps for 16VSB. In addition, the conventional 8VSB type transmission system can transmit a transport stream (TS) packet having a data rate of about 19.39 Mbps on one physical channel. In the transmitter according to the present invention having backward compatibility with the existing transmission system, the mobile service data is further encoded and then multiplexed in the form of the main service data and the TS packet, and the data of the multiplexed TS packet is transmitted. The rate is about 19.39 Mbps.

이때 상기 서비스 다중화기(100)는 적어도 한 종류의 모바일 서비스 데이터와 각 모바일 서비스를 위한 PSI(Program Specific Information)/PSIP(Program and System Information Protocol) 테이블 데이터를 입력받아 각각 트랜스포트 스트 림(TS) 패킷으로 인캡슐레이션(encapsulation)한다. 또한 상기 서비스 다중화기(100)는 적어도 한 종류의 메인 서비스 데이터와 각 메인 서비스를 위한 PSI/PSIP 테이블 데이터를 입력받아 TS 패킷으로 인캡슐레이션(encapsulation)한다. 이어 상기 TS 패킷들을 기 설정된 다중화 규칙에 따라 다중화하여 송신기(200)로 출력한다. In this case, the service multiplexer 100 receives at least one type of mobile service data and program specific information (PSI) / program and system information protocol (PSIP) table data for each mobile service, respectively, and transmits a transport stream (TS). Encapsulate into packets. In addition, the service multiplexer 100 receives at least one kind of main service data and PSI / PSIP table data for each main service and encapsulates them into TS packets. Subsequently, the TS packets are multiplexed according to a preset multiplexing rule and output to the transmitter 200.

서비스 다중화기Service multiplexer

도 2는 상기 서비스 다중화기의 일 실시예를 보인 상세 블록도로서, 상기 서비스 다중화기의 전반적인 동작을 제어하는 제어기(Controller)(110), 메인 서비스를 위한 PSI/PSIP 발생기(120), 모바일 서비스를 위한 PSI/PSIP 발생기(130), 널 패킷 발생기(140), 모바일 서비스 다중화기(150), 및 트랜스포트 다중화기(160)를 포함할 수 있다. FIG. 2 is a detailed block diagram illustrating an embodiment of the service multiplexer. The controller 110 controls overall operation of the service multiplexer, a PSI / PSIP generator 120 for a main service, and a mobile service. The PSI / PSIP generator 130 may include a null packet generator 140, a mobile service multiplexer 150, and a transport multiplexer 160.

상기 트랜스포트 다중화기(160)는 메인 서비스 다중화기(161), 및 트랜스포트 스트림(Transport Stream ; TS) 패킷 다중화기(162)를 포함할 수 있다.The transport multiplexer 160 may include a main service multiplexer 161 and a transport stream (TS) packet multiplexer 162.

도 2를 보면, 적어도 한 종류의 압축 부호화된 메인 서비스 데이터와 상기 메인 서비스를 위해 PSI/PSIP 발생기(120)에서 발생된 PSI/PSIP 테이블 데이터는 트랜스포트 다중화기(160)의 메인 서비스 다중화기(161)로 입력된다. 상기 메인 서비스 다중화기(161)는 입력되는 메인 서비스 데이터와 PSI/PSIP 테이블 데이터를 각각 MPEG-2 TS 패킷 형태로 인캡슐레이션(encapsulation)하고, 이러한 TS 패킷들을 다중화하여 TS 패킷 다중화기(162)로 출력한다. 상기 메인 서비스 다중화 기(161)에서 출력되는 데이터 패킷을 설명의 편의를 위해 메인 서비스 데이터 패킷이라 하기로 한다.Referring to FIG. 2, at least one kind of compressed coded main service data and PSI / PSIP table data generated by the PSI / PSIP generator 120 for the main service are included in the main service multiplexer of the transport multiplexer 160. 161). The main service multiplexer 161 encapsulates input main service data and PSI / PSIP table data in the form of MPEG-2 TS packets, respectively, and multiplexes these TS packets to form a TS packet multiplexer 162. Will output The data packet output from the main service multiplexer 161 will be referred to as a main service data packet for convenience of description.

또한 적어도 한 종류의 압축 부호화된 모바일 서비스 데이터와 상기 모바일 서비스를 위해 PSI/PSIP 발생기(130)에서 발생된 PSI/PSIP 테이블 데이터는 모바일 서비스 다중화기(150)로 입력된다. In addition, at least one type of compressed-coded mobile service data and PSI / PSIP table data generated by the PSI / PSIP generator 130 for the mobile service are input to the mobile service multiplexer 150.

상기 모바일 서비스 다중화기(150)는 입력되는 모바일 서비스 데이터와 PSI/PSIP 테이블 데이터를 각각 MPEG-2 TS 패킷 형태로 인캡슐레이션(encapsulation)하고, 이러한 TS 패킷들을 다중화하여 TS 패킷 다중화기(162)로 출력한다. 상기 모바일 서비스 다중화기(150)에서 출력되는 데이터 패킷을 설명의 편의를 위해 모바일 서비스 데이터 패킷이라 하기로 한다.The mobile service multiplexer 150 encapsulates input mobile service data and PSI / PSIP table data in the form of MPEG-2 TS packets, respectively, and multiplexes these TS packets to form a TS packet multiplexer 162. Will output The data packet output from the mobile service multiplexer 150 will be referred to as a mobile service data packet for convenience of description.

이때, 상기 송신기(200)에서 상기 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷을 구분하여 처리하기 위해서는 식별 정보가 필요하다. 상기 식별 정보는 송/수신측의 약속에 의해 미리 정해진 값을 이용할 수도 있고, 별도의 데이터로 구성할 수도 있으며, 해당 데이터 패킷 내 기 설정된 위치의 값을 변형시켜 이용할 수도 있다.In this case, identification information is required for the transmitter 200 to process the main service data packet and the mobile service data packet separately. The identification information may use a predetermined value by an appointment of a transmitting / receiving side, may be configured as separate data, or may be used by modifying a value of a predetermined position in the data packet.

본 발명에서는 일 실시예로, 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷에 각기 서로 다른 PID(Packet Identifier)를 할당하여 구분할 수 있다.According to an embodiment of the present invention, different PIDs (Packet Identifiers) may be allocated to the main service data packet and the mobile service data packet.

다른 실시예로, 모바일 서비스 데이터 패킷의 헤더 내 동기 바이트를 변형함에 의해, 해당 서비스 데이터 패킷의 동기 바이트 값을 이용하여 구분할 수도 있다. 예를 들어, 메인 서비스 데이터 패킷의 동기 바이트는 ISO/IEC13818-1에서 규 정한 값(예를 들어, 0x47)을 변형없이 그대로 출력하고, 모바일 서비스 데이터 패킷의 동기 바이트는 변형시켜 출력함에 의해 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷을 구분할 수 있다. 반대로 메인 서비스 데이터 패킷의 동기 바이트를 변형하고, 모바일 서비스 데이터 패킷의 동기 바이트를 변형없이 그대로 출력함에 의해 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷을 구분할 수 있다. In another embodiment, by modifying the sync byte in the header of the mobile service data packet, the sync byte value of the corresponding service data packet may be used to distinguish. For example, the sync byte of the main service data packet outputs the value specified in ISO / IEC13818-1 (for example, 0x47) without modification, and the sync byte of the mobile service data packet is modified and outputted. The data packet and the mobile service data packet can be distinguished. On the contrary, by modifying the sync byte of the main service data packet and outputting the sync byte of the mobile service data packet as it is, the main service data packet and the mobile service data packet can be distinguished.

상기 동기 바이트를 변형하는 방법은 여러 가지가 있을 수 있다. 예를 들어, 동기 바이트를 비트별로 반전시키거나, 일부 비트만을 반전시킬 수도 있다. There may be various ways to modify the sync byte. For example, the sync byte may be inverted bit by bit or only some bits may be inverted.

이와 같이 상기 메인 서비스 데이터 패킷과 모바일 서비스 데이터 패킷을 구분할 수 있는 식별 정보는 어느 것이나 가능하므로, 본 발명은 상기된 실시예들로 한정되지 않을 것이다.As such, any identification information capable of distinguishing the main service data packet from the mobile service data packet may be used. Thus, the present invention will not be limited to the above-described embodiments.

한편 상기 트랜스포트 다중화기(160)는 기존 디지털 방송 시스템에서 사용하는 트랜스포트 다중화기를 그대로 사용할 수 있다. 즉, 모바일 서비스 데이터를 메인 서비스 데이터와 다중화하여 전송하기 위하여 메인 서비스의 데이터 율을 (19.39-K) Mbps의 데이터 율로 제한하고, 나머지 데이터 율에 해당하는 K Mbps를 모바일 서비스에 할당하는 것이다. 이렇게 하면, 이미 사용되고 있는 트랜스포트 다중화기를 변경하지 않고 그대로 사용할 수 있다. Meanwhile, the transport multiplexer 160 may use the transport multiplexer used in the existing digital broadcasting system. That is, in order to transmit the mobile service data multiplexed with the main service data, the data rate of the main service is limited to a data rate of (19.39-K) Mbps, and the K Mbps corresponding to the remaining data rate is allocated to the mobile service. This allows you to use the transport multiplexer that is already in use without changing it.

상기 트랜스포트 다중화기(160)는 메인 서비스 다중화기(161)에서 출력되는 메인 서비스 데이터 패킷과 모바일 서비스 다중화기(150)에서 출력되는 모바일 서비스 데이터 패킷을 다중화하여 송신기(200)로 전송한다. The transport multiplexer 160 multiplexes the main service data packet output from the main service multiplexer 161 and the mobile service data packet output from the mobile service multiplexer 150 to transmit to the transmitter 200.

그런데 상기 모바일 서비스 다중화기(150)의 출력 데이터 율이 K Mbps가 안되는 경우가 발생할 수 있다. 이 경우 상기 모바일 서비스 다중화기(150)는 출력 데이터 율이 K Mbps가 되도록 널 패킷 발생기(140)에서 발생된 널 데이터 패킷을 다중화하여 출력한다. 즉, 상기 널 패킷 발생기(140)는 모바일 서비스 다중화기(150)의 출력 데이터 율을 일정하게 맞추기 위하여 널 데이터 패킷을 발생하여 모바일 서비스 다중화기(150)로 출력한다.However, there may occur a case where the output data rate of the mobile service multiplexer 150 is not K Mbps. In this case, the mobile service multiplexer 150 multiplexes and outputs null data packets generated by the null packet generator 140 such that the output data rate is K Mbps. That is, the null packet generator 140 generates a null data packet and outputs it to the mobile service multiplexer 150 in order to constantly adjust the output data rate of the mobile service multiplexer 150.

예를 들어, 상기 서비스 다중화기(100)에서 19.39 Mbps 중 K Mbps를 모바일 서비스 데이터에 할당하고, 그 나머지인 (19.39-K) Mbps를 메인 서비스 데이터에 할당한다고 하면, 실제로 상기 서비스 다중화기(100)에서 다중화되는 모바일 서비스 데이터의 데이터 율은 K Mbps보다 작아진다. 이는 상기 모바일 서비스 데이터의 경우, 송신기의 전 처리기(pre-processor)에서 추가의 부호화를 수행하여 데이터 량이 늘리기 때문이다. 이로 인해 서비스 다중화기(100)에서 전송할 수 있는 모바일 서비스 데이터의 데이터 율(data rate)이 K Mbps보다 작아지게 된다.For example, if the service multiplexer 100 allocates K Mbps of 19.39 Mbps to mobile service data and allocates the remaining (19.39-K) Mbps to main service data, the service multiplexer 100 is actually assigned. The data rate of the mobile service data multiplexed at < RTI ID = 0.0 > This is because, in the case of the mobile service data, the amount of data is increased by performing additional encoding in a pre-processor of the transmitter. As a result, the data rate of mobile service data that can be transmitted by the service multiplexer 100 becomes smaller than K Mbps.

일 예로, 상기 송신기의 전처리기에서는 모바일 서비스 데이터에 대해 적어도 1/2 부호율 이하의 부호화를 수행하므로, 전처리기의 출력 데이터의 양은 입력 데이터의 양보다 2배 이상 많게 된다. 따라서 서비스 다중화기(100)에서 다중화되는 메인 서비스 데이터의 데이터 율과 모바일 서비스 데이터의 데이터 율의 합은 항상 19.39 Mbps 보다 작거나 같게 된다.For example, the preprocessor of the transmitter performs encoding at least 1/2 code rate on the mobile service data, so that the amount of output data of the preprocessor is more than twice the amount of input data. Therefore, the sum of the data rate of the main service data multiplexed in the service multiplexer 100 and the data rate of the mobile service data is always less than or equal to 19.39 Mbps.

따라서 상기 서비스 다중화기(100)에서 출력되는 최종 출력 데이터 율을 일정한 데이터 율(예를 들어, 19.39 Mbps)로 맞추기 위해, 상기 널 패킷 발생기(140)에 서는 모자라는 데이터 율만큼 널 데이터 패킷을 생성하여 모바일 서비스 다중화기(150)로 출력한다. Therefore, in order to adjust the final output data rate output from the service multiplexer 100 to a constant data rate (for example, 19.39 Mbps), the null packet generator 140 generates a null data packet by a data rate that is short. To the mobile service multiplexer 150.

그러면 상기 모바일 서비스 다중화기(150)에서는 입력되는 모바일 서비스 데이터와 PSI/PSIP 테이블 데이터를 각각 MPEG-2 TS 패킷 형태로 인캡슐레이션(encapsulation)하고, 이러한 TS 패킷들과 널 데이터 패킷을 다중화하여 TS 패킷 다중화기(162)로 출력한다.Then, the mobile service multiplexer 150 encapsulates the input mobile service data and PSI / PSIP table data in the form of MPEG-2 TS packets, respectively, and multiplexes the TS packets and null data packets. Output to the packet multiplexer 162.

상기 TS 패킷 다중화기(162)는 메인 서비스 다중화기(161)에서 출력되는 메인 서비스 데이터 패킷과 모바일 서비스 다중화기(150)에서 출력되는 모바일 서비스 데이터 패킷을 다중화하여 19.39 Mbps 데이터 율로 송신기(200)로 전송한다. The TS packet multiplexer 162 multiplexes the main service data packet output from the main service multiplexer 161 and the mobile service data packet output from the mobile service multiplexer 150 to the transmitter 200 at a 19.39 Mbps data rate. send.

본 발명에서는 상기 모바일 서비스 다중화기(150)에서 널 데이터 패킷을 입력받는 것을 일 실시예로 한다. 이는 일 실시예일 뿐이며, 다른 실시예로 상기 TS 패킷 다중화기(162)에서 널 데이터 패킷을 입력받아 최종 데이터 율을 일정한 데이터 율로 맞출 수도 있다. 상기 널 데이터 패킷의 출력 경로 및 다중화 규칙은 제어부(110)의 제어에 의해 이루어진다. 상기 제어부(110)는 상기 모바일 서비스 다중화기(150), 트랜스포트 다중화기(160)의 메인 서비스 다중화기(161), TS 패킷 다중화기(162)에서의 다중화 및 널 패킷 발생기(140)에서의 널 데이터 패킷의 발생을 제어한다. According to an embodiment of the present invention, the mobile service multiplexer 150 receives a null data packet. This is only one embodiment. In another embodiment, the TS packet multiplexer 162 receives a null data packet and adjusts the final data rate to a constant data rate. The output path and the multiplexing rule of the null data packet are controlled by the controller 110. The controller 110 controls the multiplexing and null packet generators 140 in the mobile service multiplexer 150, the main service multiplexer 161 of the transport multiplexer 160, and the TS packet multiplexer 162. Control the generation of null data packets.

이때 상기 송신기(200)에서는 상기 서비스 다중화기(100)에서 전송하는 널 데이터 패킷을 수신 시스템으로 전송하지 않고 버린다. At this time, the transmitter 200 discards the null data packet transmitted from the service multiplexer 100 without transmitting it to the receiving system.

그리고 상기 송신기(200)에서 상기 널 데이터 패킷을 전송하지 않고 버리기 위 해서는 상기 널 데이터 패킷을 구분할 수 있는 식별 정보가 필요하다. 상기 널 데이터 패킷을 구분하기 위한 식별 정보는 송/수신측의 약속에 의해 미리 정해진 값을 이용할 수도 있고, 별도의 데이터로 구성할 수도 있다. 예를 들어, 상기 널 데이터 패킷의 헤더 내 동기 바이트 값을 변형시켜 식별 정보로 이용할 수도 있고, transport_error_indicator 플래그(flag)를 식별 정보로 이용할 수도 있다. In order to discard the null data packet without transmitting the transmitter 200, identification information for distinguishing the null data packet is required. The identification information for distinguishing the null data packet may use a value predetermined by an appointment of the transmitting / receiving side or may be configured as separate data. For example, the sync byte value in the header of the null data packet may be modified to be used as identification information, or a transport_error_indicator flag may be used as identification information.

본 발명에서는 널 데이터 패킷 내 헤더의 transport_error_indicator 플래그를 널 데이터 패킷을 구분할 수 있는 식별 정보로 이용하는 것을 일 실시예로 설명한다. 이 경우, 상기 널 데이터 패킷의 transport_error_indicator 플래그는 1로 셋팅하고, 상기 널 데이터 패킷 이외의 모든 데이터 패킷들의 transport_error_indicator 플래그는 0으로 리셋시켜 상기 널 데이터 패킷을 구분하는 것을 일 실시예로 한다. 즉, 상기 널 패킷 발생기(140)에서 널 데이터 패킷을 발생시킬 때 널 데이터 패킷의 헤더의 필드 중에서 transport_error_indicator 플래그를 '1'로 세팅하여 전송한다면 송신기(200)에서 이를 구분하여 버릴 수 있다.According to an embodiment of the present invention, the transport_error_indicator flag of a header in a null data packet is used as identification information for distinguishing a null data packet. In this case, the transport_error_indicator flag of the null data packet is set to 1, and the transport_error_indicator flag of all data packets other than the null data packet is reset to 0 to distinguish the null data packet. That is, when the null packet generator 140 generates a null data packet, if the transport_error_indicator flag is set to '1' in the field of the header of the null data packet and transmitted, the transmitter 200 may separate the discard packet.

상기 널 데이터 패킷을 구분하기 위한 식별 정보는 널 데이터 패킷을 구분할 수 있는 것은 어느 것이나 가능하므로 본 발명은 상기된 실시예들로 한정되지 않을 것이다. The identification information for distinguishing the null data packet may be any one capable of distinguishing the null data packet, and thus the present invention will not be limited to the above-described embodiments.

또한 본 발명은 다른 실시예로서, 상기 널 데이터 패킷의 적어도 일부, 또는 모바일 서비스를 위한 PSI/PSIP 테이블 중 적어도 하나의 테이블 또는 OM(Operations and Maintenance) 패킷(또는 OMP라 하기도 함.)에 전송 파라미터가 포함되어 있을 수 있다. 이 경우 송신기(200)에서는 상기 전송 파라미터를 추출하 여 해당 블록으로 출력하며, 필요한 경우 수신 시스템으로도 전송한다. In another embodiment, the present invention provides a transmission parameter in at least a portion of the null data packet, or at least one table of a PSI / PSIP table for a mobile service, or an Operations and Maintenance (OM) packet (or OMP). May be included. In this case, the transmitter 200 extracts the transmission parameter and outputs the transmission parameter to the corresponding block, and transmits the transmission parameter to the receiving system if necessary.

즉, 전송 시스템의 동작 및 관리를 위한 목적으로 OMP(Operations and Maintenance Packet) 라는 패킷이 정의되어 있다. 일 예로, 상기 OMP는 MPEG-2 TS 패킷의 형식을 따르며 해당 PID는 0x1FFA의 값을 가진다. 상기 OMP은 4바이트의 헤더와 184바이트의 페이로드로 구성된다. 상기 184 바이트 중 첫번째 바이트는 OM_type 필드로서 OM 패킷의 유형을 의미한다. That is, a packet called OMP (Operations and Maintenance Packet) is defined for the purpose of operation and management of the transmission system. As an example, the OMP follows the format of an MPEG-2 TS packet and its PID has a value of 0x1FFA. The OMP consists of a header of 4 bytes and a payload of 184 bytes. The first byte of the 184 bytes indicates the type of the OM packet as the OM_type field.

본 발명에서는 상기 전송 파라미터를 OMP의 형식으로 전송할 수 있으며, 이 경우 OM_type 필드의 미사용 필드 값들 중에서 미리 약속된 값을 사용하여, 송신기(200)에 전송 파라미터가 OMP으로 전송됨을 알릴 수 있다. 즉, 송신기(200)에서는 PID를 보고 OMP를 찾을 수 있으며, 상기 OMP 내 OM_type 필드를 파싱하여 해당 패킷의 OM_type 필드 다음에 전송 파라미터가 포함되어 있는지 여부를 알 수 있다.In the present invention, the transmission parameter may be transmitted in an OMP format. In this case, the transmitter 200 may inform the transmitter 200 that the transmission parameter is transmitted to the OMP using a predetermined value among unused field values of the OM_type field. That is, the transmitter 200 may find the OMP by looking at the PID, and parse the OM_type field in the OMP to determine whether the transmission parameter is included after the OM_type field of the corresponding packet.

상기 전송 파라미터는 송/수신 시스템에서 모바일 서비스 데이터를 처리하는데 필요한 부가 정보들로서, 예를 들면 상기 전송 파라미터에는 데이터 그룹 정보, 데이터 그룹 내 영역(region) 정보, RS 프레임 정보, 수퍼 프레임 정보, 버스트 정보, 터보 코드 정보, RS 코드 정보 등이 포함될 수 있다. 또한 상기 버스트 정보에는 버스트 사이즈(size) 정보, 버스트 주기 정보, 다음 버스트까지의 시간 등이 포함될 수 있다. 상기 버스트 주기(period)는 동일한 종류의 모바일 서비스를 전송하는 버스트가 반복되는 주기(period)를 의미하고, 버스트 사이즈(size)는 하나의 버스트에 포함되는 데이터 그룹의 개수를 의미한다. 상기 데이터 그룹은 다수개의 모바일 서비스 데이터 패킷들을 포함하며, 이러한 데이터 그룹이 다수개 모여서 하나 의 버스트를 형성한다. 그리고 버스트 구간(section)은 현재 버스트의 시작에서 다음 버스트의 시작까지를 의미하며, 데이터 그룹이 포함되는 구간(또는 버스트 온 구간이라 하기도 함)과 데이터 그룹이 포함되지 않는 구간(또는 버스트 오프 구간이라 하기도 함)으로 구분된다. 하나의 버스트 온 구간은 다수개의 필드들로 구성되는데, 하나의 필드는 하나의 데이터 그룹을 포함한다.The transmission parameter is additional information necessary for processing mobile service data in a transmission / reception system. For example, the transmission parameter includes data group information, region information in a data group, RS frame information, super frame information, and burst information. , Turbo code information, RS code information, and the like. The burst information may include burst size information, burst period information, time to the next burst, and the like. The burst period means a period in which bursts transmitting the same type of mobile service are repeated, and the burst size means the number of data groups included in one burst. The data group includes a plurality of mobile service data packets, and these data groups are gathered to form a burst. The burst section refers to the start of the current burst to the start of the next burst, and includes a section including a data group (also called a burst on section) and a section without a data group (or a burst off section). (Also referred to as below). One burst on interval consists of a plurality of fields, one field includes one data group.

또한 상기 전송 파라미터에는 모바일 서비스 데이터를 전송하기 위해서 심볼 영역의 신호들이 어떤 방법으로 부호화되는지에 대한 정보, 메인 서비스 데이터와 모바일 서비스 데이터 또는 여러 종류의 모바일 서비스 데이터 간에 어떻게 다중화되는지에 대한 다중화 정보 등이 포함될 수도 있다.In addition, the transmission parameter includes information on how signals in a symbol region are encoded to transmit mobile service data, and multiplexing information on how to be multiplexed between main service data and mobile service data or various types of mobile service data. May be included.

상기 전송 파라미터에 포함되는 정보들은 본 발명의 이해를 돕기 위한 일 실시예일 뿐이며, 상기 전송 파라미터에 포함되는 정보들의 추가 및 삭제는 당업자에 의해 용이하게 변경될 수 있으므로 본 발명은 상기 실시예로 한정되지 않을 것이다. The information included in the transmission parameter is only one embodiment for better understanding of the present invention, and the present invention is not limited to the above embodiment because addition and deletion of information included in the transmission parameter can be easily changed by those skilled in the art. Will not.

또한 상기 전송 파라미터들은 서비스 다중화기(100)에서 송신기(200)로 제공할 수도 있고, 송신기(200) 자체적으로 제어부(도시되지 않음)에서 설정하거나 외부에서 입력받을 수 있다. In addition, the transmission parameters may be provided from the service multiplexer 100 to the transmitter 200, or the transmitter 200 itself may be set by a controller (not shown) or received externally.

송신기transmitter

도 3은 본 발명의 일 실시예에 따른 송신기(200)의 구성 블록도로서, 역다중화기(210), 패킷 지터 경감기(Packet jitter mitigator)(220), 전 처리기(Pre- Processor)(230), 패킷 다중화기(240), 후처리기(Post-Processor)(250), 동기(Sync) 다중화기(260), 및 송신부(transmission unit)(270)를 포함할 수 있다. 3 is a block diagram illustrating a transmitter 200 according to an embodiment of the present invention, a demultiplexer 210, a packet jitter mitigator 220, and a pre-processor 230. , A packet multiplexer 240, a post-processor 250, a sync multiplexer 260, and a transmission unit 270.

상기 역다중화기(210)는 서비스 다중화기(100)로부터 데이터 패킷이 수신되면, 수신된 데이터 패킷이 메인 서비스 데이터 패킷인지, 모바일 서비스 데이터 패킷인지, 아니면 널 데이터 패킷인지를 구분하여야 한다. When the data packet is received from the service multiplexer 100, the demultiplexer 210 must distinguish whether the received data packet is a main service data packet, a mobile service data packet, or a null data packet.

일 실시예로, 상기 역다중화기(210)는 수신된 데이터 패킷 내 PID를 이용하여 모바일 서비스 데이터 패킷과 메인 서비스 데이터 패킷을 구분하고, transport_error_indicator 필드를 이용하여 널 데이터 패킷을 구분할 수 있다.In one embodiment, the demultiplexer 210 may distinguish between the mobile service data packet and the main service data packet using a PID in the received data packet, and may distinguish a null data packet using a transport_error_indicator field.

상기 역다중화기(210)에서 분리된 메인 서비스 데이터 패킷은 패킷 지터 경감기(220)로 출력되고, 모바일 서비스 데이터 패킷은 전처리기(230)로 출력되며, 널 데이터 패킷은 버려진다. 만일 상기 널 데이터 패킷에 전송 파라미터가 포함되어 있다면 전송 파라미터가 추출되어 해당 블록으로 출력된 후 널 데이터 패킷은 버려진다.The main service data packet separated by the demultiplexer 210 is output to the packet jitter reducer 220, the mobile service data packet is output to the preprocessor 230, and the null data packet is discarded. If the null data packet includes a transmission parameter, the null data packet is discarded after the transmission parameter is extracted and output to the corresponding block.

상기 전처리기(230)는 역다중화기(210)에서 역다중화되어 출력되는 모바일 서비스 데이터 패킷 내 모바일 서비스 데이터에 대해 추가의 부호화 및 전송 프레임 상에 전송하고자 하는 데이터들의 용도에 따라 어느 특정 위치에 위치할 수 있도록 하는 데이터 그룹 형성 과정을 수행한다. 이는 상기 모바일 서비스 데이터가 노이즈 및 채널 변화에 빠르고 강력하게 대응하도록 하기 위해서이다. 상기 전처리기(230)는 추가의 부호화시에 상기 전송 파라미터를 참조할 수도 있다. 또한 상기 전처리기(230)는 모바일 서비스 데이터 패킷을 다수개 모아 데이터 그룹을 형성하 고, 상기 데이터 그룹 내 기 설정된 영역에 기지 데이터, 모바일 서비스 데이터, RS 패리티 데이터, MPEG 헤더 등을 할당한다. The preprocessor 230 may be located at any specific location according to the purpose of data to be transmitted on the additional encoding and transmission frame for the mobile service data in the mobile service data packet which is demultiplexed and output from the demultiplexer 210. Perform the data group formation process to make it possible. This is to allow the mobile service data to respond quickly and strongly to noise and channel changes. The preprocessor 230 may refer to the transmission parameter in further encoding. In addition, the preprocessor 230 collects a plurality of mobile service data packets to form a data group, and allocates known data, mobile service data, RS parity data, MPEG header, and the like to a predetermined area within the data group.

송신기 내의 전처리기Preprocessor in the transmitter

도 4는 본 발명에 따른 전처리기(230)의 일 실시예를 보인 구성 블록도로서, 데이터 랜더마이저(301), RS 프레임 부호기(302), 블록 처리기(303), 그룹 포맷터(304), 데이터 디인터리버(305), 및 패킷 포맷터(306)를 포함할 수 있다. 4 is a block diagram illustrating an embodiment of a preprocessor 230 according to the present invention, which includes a data randomizer 301, an RS frame encoder 302, a block processor 303, a group formatter 304, and data. A deinterleaver 305, and a packet formatter 306.

이와 같이 구성된 전처리기(230) 내 데이터 랜더마이저(301)는 역다중화기(210)를 통해 입력되는 모바일 서비스 데이터를 포함하는 모바일 서비스 데이터 패킷을 랜더마이징시켜 RS 프레임 부호기(302)로 출력한다. 이때 상기 데이터 랜더마이저(301)에서 모바일 서비스 데이터에 대해 랜더마이징을 수행함으로써, 후처리기(250)의 데이터 랜더마이저(251)에서는 모바일 서비스 데이터에 대한 랜더마이징 과정을 생략할 수 있다. 상기 데이터 랜더마이저(301)는 모바일 서비스 데이터 패킷 내 동기 바이트를 버리고 랜더마이징을 수행할 수도 있다. 또는 상기 동기 바이트를 버리지 않고 랜더마이징을 수행할 수도 있으며, 이는 설계자의 선택 사항이다. 본 발명에서는 해당 모바일 서비스 데이터 패킷 내 동기 바이트를 버리지 않고 랜더마이징을 수행하는 것을 일 실시예로 한다.The data randomizer 301 in the preprocessor 230 configured as described above renders the mobile service data packet including the mobile service data input through the demultiplexer 210 and outputs it to the RS frame encoder 302. In this case, by performing the randomization on the mobile service data in the data randomizer 301, the data randomizer 251 of the postprocessor 250 may omit the randomizing process on the mobile service data. The data randomizer 301 may perform randomizing by discarding sync bytes in the mobile service data packet. Alternatively, rendering may be performed without discarding the sync byte, which is a designer's option. According to an embodiment of the present invention, the rendering is performed without discarding the sync byte in the corresponding mobile service data packet.

상기 RS 프레임 부호기(302)는 랜더마이즈되어 입력되는 모바일 서비스 데이터 패킷을 복수개 모아 RS 프레임을 구성하고, RS 프레임 단위로 에러 정정 부호화(encoding) 과정, 에러 검출 부호화 과정 중 적어도 하나의 과정을 수행한다. 이 렇게 하면 모바일 서비스 데이터에 강건성을 부여하면서 전파 환경 변화에 의해서 발생할 수 있는 군집 에러를 흐트림으로써 극심하게 열악하고 빠르게 변하는 전파 환경에도 대응할 수 있게 된다. The RS frame encoder 302 configures an RS frame by collecting a plurality of randomized and input mobile service data packets and performs at least one of an error correction encoding process and an error detection encoding process in units of RS frames. . This makes it possible to cope with extremely poor and rapidly changing propagation environment by giving robustness to mobile service data and obstructing clustering errors that can be caused by changes in radio environment.

또한 상기 RS 프레임 부호기(302)는 복수개의 RS 프레임을 모아 수퍼 프레임(Super Frame)을 구성하고, 수퍼 프레임 단위로 로우(row) 섞음(permutation)을 수행할 수도 있다. 상기 로우 섞음(permutation)은 로우 인터리빙(interleaving)이라고도 하며, 본 발명에서는 설명의 편의를 위해 로우 섞음이라 하기로 한다. In addition, the RS frame encoder 302 may configure a super frame by collecting a plurality of RS frames, and perform row permutation in units of super frames. The row permutation is also referred to as row interleaving, and in the present invention, it is referred to as row mixing for convenience of description.

즉, 상기 RS 프레임 부호기(302)에서 수퍼 프레임의 각 로우를 기 설정된 규칙으로 섞는 과정을 수행하면, 수퍼 프레임 내에서 로우 섞음 전후의 로우의 위치가 달라진다. 상기 수퍼 프레임 단위의 로우 섞음을 수행하면, 다량의 에러가 발생한 구간이 매우 길어 복호하려는 한 개의 RS 프레임 내에 정정 불가능할 만큼의 에러가 포함되더라도 수퍼 프레임 전체에서는 이 에러들이 분산되므로 단일 RS 프레임과 비교하여 복호 능력이 향상된다.That is, when the RS frame encoder 302 mixes each row of the super frame with a predetermined rule, the positions of the rows before and after row mixing in the super frame are changed. When the row mixing is performed in the unit of the super frame, even if a large amount of error occurs in a single RS frame to be decoded, the errors are distributed in the entire super frame, so that these errors are distributed throughout the super frame. The decryption ability is improved.

상기 RS 프레임 부호기(302)에서 에러 정정 부호화는 RS 부호화를 적용하고, 에러 검출 부호화는 CRC(Cyclic Redundancy Check) 부호화를 적용하는 것을 일 실시예로 한다. 상기 RS 부호화를 수행하면 에러 정정을 위해 사용될 패리티 데이터가 생성되고, CRC 부호화를 수행하면 에러 검출을 위해 사용될 CRC 데이터가 생성된다. According to an embodiment of the present invention, the RS frame encoder 302 uses RS coding for error correction coding and cyclic redundancy check (CRC) coding for error detection coding. Parity data to be used for error correction is generated when the RS encoding is performed, and CRC data to be used for error detection is generated when CRC encoding is performed.

상기 RS 부호화는 FEC(Forward Error Correction) 중 하나이다. 상기 FEC는 전송 과정에서 발생하는 에러를 보정하기 위한 기술을 말한다. 상기 CRC 부호화에 의해 생성된 CRC 데이터는 모바일 서비스 데이터가 채널을 통해 전송되면서 에러에 의해서 손상되었는지 여부를 알려주기 위해 사용될 수 있다. 본 발명은 CRC 부호화 이외에 다른 에러 검출 부호화 방법들을 사용할 수도 있고, 또는 에러 정정 부호화 방법을 사용하여 수신측에서의 전체적인 에러 정정 능력을 높일 수도 있다.The RS coding is one of forward error correction (FEC). The FEC refers to a technique for correcting an error occurring in a transmission process. The CRC data generated by the CRC encoding may be used to indicate whether mobile service data is damaged by an error while being transmitted through a channel. The present invention may use other error detection encoding methods in addition to CRC encoding, or may increase the overall error correction capability at the receiving end by using an error correction encoding method.

여기서, 상기 RS 프레임 부호기(302)는 미리 설정된 전송 파라미터 및/또는 상기 서비스 다중화기(100)에서 제공하는 전송 파라미터를 참조하여 RS 프레임 구성, RS 부호화, CRC 부호화, 수퍼 프레임 구성, 수퍼 프레임 단위의 로우 섞음 등을 수행할 수 있다.In this case, the RS frame encoder 302 refers to a transmission parameter set in advance and / or a transmission parameter provided by the service multiplexer 100 in order of RS frame configuration, RS encoding, CRC encoding, super frame configuration, and super frame unit. Raw mixing and the like.

전처리기 내 In the preprocessor RSRS 프레임 부호기 Frame encoder

도 5의 (a) 내지 (e)는 본 발명에 따른 RS 프레임 부호기(302)의 부호화 과정의 일 실시예를 보인 도면이다. 5A to 5E illustrate an embodiment of an encoding process of an RS frame encoder 302 according to the present invention.

즉, 상기 RS 프레임 부호기(302)는 먼저, 입력되는 모바일 서비스 데이터 바이트를 일정 길이 단위로 구분한다. 상기 일정 길이는 시스템 설계자에 의해 결정되는 값으로서, 본 발명에서는 187 바이트를 일 실시예로 설명하며, 설명의 편의를 위해 상기 187 바이트 단위를 패킷이라 하기로 한다. That is, the RS frame encoder 302 first divides the input mobile service data byte into predetermined length units. The predetermined length is a value determined by a system designer. In the present invention, 187 bytes is described as an embodiment, and for convenience of description, the 187 byte unit will be referred to as a packet.

예를 들어, 도 5의 (a)와 같이 입력되는 모바일 서비스 데이터가 188바이트 단위로 구성된 MPEG 트랜스포트 스트림(TS) 패킷이라면 도 5의 (b)와 같이 첫 번째 동기 바이트를 제거하여 187바이트로 하나의 패킷을 구성한다. 여기서 동기 바이트를 제거하는 이유는 모든 모바일 서비스 데이터 패킷이 동일한 값을 갖기 때문이 다. 여기서 상기 동기 바이트 제거는 전단의 데이터 랜더마이저(301)에서 랜더마이징시 수행할 수도 있다. 이 경우 RS 프레임 부호기(302)에서 동기 바이트 제거 과정은 생략되며, 수신 시스템에서 동기 바이트를 부가할 때에도 RS 프레임 복호기 대신 데이터 디랜더마이저에서 부가할 수 있다.For example, if the mobile service data input as shown in (a) of FIG. 5 is an MPEG transport stream (TS) packet configured in units of 188 bytes, the first sync byte is removed to 187 bytes as shown in FIG. Configure one packet. The reason for removing the sync byte is that all mobile service data packets have the same value. In this case, the synchronization byte removal may be performed when the data randomizer 301 at the front end is rendered. In this case, the process of removing the sync byte from the RS frame encoder 302 is omitted, and when the sync byte is added by the receiving system, the sync byte may be added by the data de-randomizer instead of the RS frame decoder.

따라서 상기 RS 프레임 부호기(302)로 입력되는 모바일 서비스 데이터 패킷에 제거 가능한 고정된 한 바이트(예, 동기 바이트)가 존재하지 않거나, 입력된 모바일 서비스 데이터가 패킷 형태가 아닌 경우, 입력되는 모바일 서비스 데이터를 187 바이트 단위로 나누고, 나누어진 187 바이트 단위로 하나의 패킷을 구성한다. Therefore, if there is no fixed one byte (eg, a sync byte) in the mobile service data packet input to the RS frame encoder 302 or the input mobile service data is not in the form of a packet, the input mobile service data is inputted. Is divided by 187 bytes, and a packet is composed of divided 187 bytes.

이어, 도 5의 (c)와 같이 187바이트로 구성된 패킷을 N개 모아서 하나의 RS 프레임을 구성한다. 이때 하나의 RS 프레임의 구성은 N(row) * 187(column) 바이트의 크기를 갖는 RS 프레임에 187 바이트의 패킷을 로우 방향으로 차례대로 넣음으로써 이루어진다. Subsequently, as shown in (c) of FIG. 5, N packets of 187 bytes are collected to form one RS frame. In this case, the configuration of one RS frame is achieved by sequentially inserting a packet of 187 bytes in a row direction into an RS frame having a size of N (row) * 187 (column) bytes.

본 발명에서는 설명의 편의를 위해 이렇게 생성된 RS 프레임을 제1 RS 프레임이라 하기도 한다. 즉, 제1 RS 프레임에는 순수한 모바일 서비스 데이터만 포함되어 있으며, 이것은 N 바이트로 된 로우가 187개 구성된 것과 같다.In the present invention, the RS frame thus generated is referred to as a first RS frame for convenience of description. That is, only the pure mobile service data is included in the first RS frame, which is equivalent to 187 rows of N bytes.

그리고 상기 RS 프레임 내 모바일 서비스 데이터를 일정 크기로 나눈 후, RS 프레임을 구성하기 위해 입력되는 순서와 동일한 순서로 전송을 하게 되면, 송/수신간에 특정 시점에서 에러가 발생했을 경우 RS 프레임 상에서도 에러가 모여있게 된다. 이러한 경우 수신 시스템에서 에러 정정 디코딩시에 RS 이레이저(erasure) 디코딩을 사용함으로써, 에러 정정 능력을 향상시킬 수 있게 된다. When the mobile service data in the RS frame is divided into a predetermined size and then transmitted in the same order as the input order for composing the RS frame, if an error occurs at a specific point in time between transmission and reception, the error occurs on the RS frame. To be gathered. In this case, by using RS erasure decoding in error correction decoding in the receiving system, the error correction capability can be improved.

이때 상기 RS 프레임의 N개의 모든 컬럼(column)은 도 5의 (c)와 같이 187바이트를 포함하고 있다. At this time, all N columns of the RS frame include 187 bytes as shown in FIG.

이 경우 각 컬럼에 대해서 (Nc,Kc)-RS 부호화를 수행하여 Nc-Kc(=P)개의 패리티 바이트를 생성하고, 생성된 P개의 패리티 바이트를 해당 컬럼의 맨 마지막 바이트 다음에 추가하여 (187+P) 바이트의 한 컬럼을 만들 수가 있다. 여기서, Kc는 도 5의 (c)에서와 같이 187이며, Nc는 187+P이다. 예를 들어, P가 48이라면 (235,187)-RS 부호화가 수행되어 235 바이트의 한 컬럼을 만들 수 있다. In this case, Nc-Kc (= P) parity bytes are generated by performing (Nc, Kc) -RS encoding on each column, and the generated P parity bytes are added after the last byte of the column (187). + P) You can create a column of bytes. Here, Kc is 187 as in FIG. 5C, and Nc is 187 + P. For example, if P is 48, (235,187) -RS encoding may be performed to create a column of 235 bytes.

이러한 RS 부호화 과정을 도 5의 (c)의 N개의 모든 컬럼에 대해서 수행하면, 도 5의 (d) 와 같이 N(row) * (187+P)(column) 바이트의 크기를 갖는 RS 프레임을 만들 수가 있다. 본 발명에서는 설명의 편의를 위해 RS 패리티가 부가된 RS 프레임을 제2 RS 프레임이라 하기도 한다. 즉, 제2 RS 프레임은 N 바이트로 된 로우가 187+P개 구성된 것과 같다.When the RS encoding process is performed on all N columns of FIG. 5C, an RS frame having a size of N (row) * (187 + P) (column) bytes as shown in FIG. 5D is obtained. I can make it. In the present invention, for convenience of description, an RS frame to which RS parity is added is also referred to as a second RS frame. That is, the second RS frame is equivalent to 187 + P rows of N bytes.

도 5의 (c) 또는 (d)에서와 같이 RS 프레임의 각 로우(row)는 N 바이트로 이루어져 있다. 그런데 송/수신간의 채널 상황에 따라서 상기 RS 프레임에 에러가 포함될 수가 있다. 이렇게 에러가 발생하는 경우에 각 로우 단위로 에러 여부를 검사하기 위하여 CRC 데이터(또는 CRC 코드 또는 CRC 체크섬이라고도 함)를 사용하는 것이 가능하다. As shown in (c) or (d) of FIG. 5, each row of the RS frame includes N bytes. However, an error may be included in the RS frame according to the channel condition between the transmission and reception. When an error occurs in this way, it is possible to use CRC data (or CRC code or CRC checksum) to check an error for each row.

상기 RS 프레임 부호기(302)는 상기 CRC 데이터를 생성하기 위하여 RS 부호화된 모바일 서비스 데이터에 대해 CRC 부호화를 수행할 수 있다. 상기 CRC 부호화에 의해 생성된 CRC 데이터는 모바일 서비스 데이터가 채널을 통해 전송되면서 에 러에 의해서 손상되었는지 여부를 알려주기 위해 사용될 수 있다. The RS frame encoder 302 may perform CRC encoding on the RS coded mobile service data to generate the CRC data. The CRC data generated by the CRC encoding may be used to indicate whether the mobile service data is damaged by an error while being transmitted through a channel.

본 발명은 CRC 부호화 이외에 다른 에러 검출 부호화 방법들을 사용할 수도 있고, 또는 에러 정정 부호화 방법을 사용하여 수신측에서의 전체적인 에러 정정 능력을 높일 수도 있다.The present invention may use other error detection encoding methods in addition to CRC encoding, or may increase the overall error correction capability at the receiving end by using an error correction encoding method.

도 5의 (e)는 CRC 데이터로 2 바이트(즉, 16비트) CRC 체크섬(checksum)을 사용하는 예를 보인 것으로서, 각 로우의 N 바이트에 대한 2바이트 CRC 체크섬을 생성한 후 N 바이트 후단에 부가하고 있다. 이렇게 함으로써, 각 로우는 N+2 바이트로 확장이 된다. 5 (e) shows an example of using a 2-byte (i.e. 16-bit) CRC checksum as CRC data, and after generating a 2-byte CRC checksum for N bytes of each row, an N-byte rear end is generated. It is adding. By doing this, each row is expanded to N + 2 bytes.

하기의 수학식 1은 N 바이트로 된 각 로우에 대해 2바이트 CRC 체크섬을 생성하는 다항식의 예를 보이고 있다.Equation 1 below shows an example of a polynomial that generates a 2-byte CRC checksum for each row of N bytes.

g(x) = x16 + x12 + x5 + 1g (x) = x 16 + x 12 + x 5 + 1

상기 각 로우마다 2바이트 CRC 체크섬을 부가하는 것은 하나의 실시예이므로, 본 발명은 상기된 예로 제한되지 않을 것이다. Since adding a 2-byte CRC checksum to each row is an embodiment, the present invention will not be limited to the example described above.

본 발명에서는 설명의 편의를 위해 RS 패리티 및 CRC 체크섬이 부가된 RS 프레임을 제3 RS 프레임이라 하기도 한다. 즉, 제3 RS 프레임은 N+2 바이트로 된 로우가 187+P개 구성된 것과 같다.In the present invention, for convenience of description, an RS frame to which an RS parity and a CRC checksum are added may be referred to as a third RS frame. That is, the third RS frame is equivalent to 187 + P rows of N + 2 bytes.

지금까지 설명한 RS 부호화 및 CRC 부호화 과정을 모두 거치게 되면, N * 187 바이트의 RS 프레임은 (N+2) * (187+P) 바이트의 RS 프레임으로 확장하게 된 다. After all the RS coding and CRC coding described above, an RS frame of N * 187 bytes is extended to an RS frame of (N + 2) * (187 + P) bytes.

이렇게 확장된 한 개의 RS 프레임의 에러 정정 시나리오를 살펴보면, RS 프레임 내의 바이트들은 로우 방향으로 채널 상에 전송된다. 이때 한정된 전송 시간에 다량의 에러가 발생하면 수신 시스템의 복호 과정의 RS 프레임에 로우 방향으로 에러가 발생하게 된다. 하지만 컬럼 방향으로 수행된 RS 부호 관점에서는 에러가 분산된 효과가 나타나므로 효과적인 에러 정정 수행이 가능하다. 이때 보다 강력한 에러 정정을 위한 방법으로 패리티 바이트(P)를 증가시키는 것이 있지만 전송 효율을 떨어뜨리므로 적당한 타협점이 필요하다. 이밖에도 복호시에 이레이저(Erasure) 복호(decoding)을 사용하여 에러 보정 능력을 향상시킬 수 있다. Looking at the error correction scenario of this extended RS frame, the bytes in the RS frame is transmitted on the channel in the row direction. At this time, if a large amount of error occurs in the limited transmission time, the error occurs in the row direction in the RS frame of the decoding process of the receiving system. However, in view of the RS code performed in the column direction, an error is distributed, and thus an effective error correction can be performed. In this case, although a parity byte (P) is increased as a method for more robust error correction, an appropriate compromise is required because it decreases the transmission efficiency. In addition, erasure decoding can be used to improve the error correction capability.

또한, 본 발명의 RS 프레임 부호기(302)에서는 RS 프레임의 에러 보정능력을 보다 향상시키기 위하여 수퍼 프레임 단위의 로우 섞음(permutation)을 수행한다. In addition, the RS frame encoder 302 of the present invention performs a row permutation (super frame) in order to further improve the error correction capability of the RS frame.

도 6은 수퍼 프레임 단위의 로우 섞음 과정의 일 실시예를 보이고 있다.6 illustrates an embodiment of a row mixing process in units of super frames.

즉, 도 5와 같이 부호화된 RS 프레임들을 도 6의 (a)와 같이 G개 모아 수퍼 프레임을 구성한다. 이때 각각의 RS 프레임은 (N+2)*(187+P)바이트로 이루어져 있으므로, 하나의 수퍼 프레임은 (N+2)*(187+P)*G 바이트 크기로 이루어진다. That is, G frames encoded as shown in FIG. 5 are collected as shown in FIG. 6A to form a super frame. At this time, since each RS frame is composed of (N + 2) * (187 + P) bytes, one super frame is (N + 2) * (187 + P) * G bytes size.

이렇게 구성된 수퍼 프레임의 각 로우를 기 설정된 규칙으로 섞는 과정을 수행하면, 수퍼 프레임 내에서 로우 섞음 전후의 로우의 위치가 달라진다. 즉, 도 6의 (b)와 같이 로우 섞음 전 수퍼 프레임의 i번째 로우는 로우 섞음이 수행되고 나면 도 6의 (c)와 같이 동일한 수퍼 프레임의 j번째 로우에 위치하게 된다. 이러한 i와 j의 관계는 하기의 수학식 2와 같은 로우 섞음 규칙을 통해서 알 수 있다. When the rows of the super frame configured as described above are mixed according to a predetermined rule, the positions of the rows before and after row mixing in the super frame are changed. That is, as shown in (b) of FIG. 6, the i-th row of the super frame before row mixing is positioned in the j-th row of the same super frame as shown in (c) of FIG. 6 after row mixing is performed. This relationship between i and j can be known through a row mixing rule as shown in Equation 2 below.

Figure 112008088968393-pat00001
Figure 112008088968393-pat00001

상기 수퍼 프레임 단위의 로우 섞음이 수행된 후에도 수퍼 프레임의 각 로우는 N+2 바이트로 구성된다.Even after row mixing in the super frame unit is performed, each row of the super frame is composed of N + 2 bytes.

그리고 상기 수퍼 프레임 단위의 로우 섞음이 모두 수행되고 나면, 다시 도 6의 (d)와 같이 G개의 로우 섞음된 RS 프레임으로 나누어 블록 처리기(303)로 제공한다.After all the row mixing in the super frame unit is performed, it is divided into G row mixed RS frames and provided to the block processor 303 as shown in FIG.

여기에서 주의할 점은 한 개의 수퍼 프레임을 구성하는 각각의 RS 프레임의 RS 패리티와 컬럼 수는 동일해야 한다는 것이다.Note that the RS parity and the number of columns of each RS frame constituting one super frame must be the same.

전술한 RS 프레임의 에러 정정 시나리오와 유사하게 수퍼 프레임의 경우는 다량의 에러가 발생한 구간이 매우 길어 복호하려는 한 개의 RS 프레임 내에 정정 불가능할 만큼의 에러가 포함되더라도 수퍼 프레임 전체에서는 이 에러들이 분산되므로 단일 RS 프레임과 비교하여 복호 능력이 더욱 향상된다.Similar to the error correction scenario of the RS frame described above, in the case of a super frame, since a large amount of error occurs, the error frame is distributed throughout the super frame even though an error that cannot be corrected is included in one RS frame to be decoded. The decoding capability is further improved compared to the RS frame.

이와 같이 상기 RS 프레임 부호기(302)에서 RS 프레임 단위의 부호화와 수퍼 프레임 단위의 로우 섞음이 수행된 모바일 서비스 데이터는 블록 처리기(303)로 출력된다. As such, the mobile service data in which the RS frame encoder 302 encodes the RS frame unit and the row mixing in the super frame unit is output to the block processor 303.

상기 블록 처리기(303)는 입력되는 모바일 서비스 데이터를 다시 D/E(여기서 D<E 임) 부호율로 부호화하여 그룹 포맷터(304)로 출력한다. The block processor 303 encodes the input mobile service data at a D / E (where D <E) code rate and outputs the encoded data to the group formatter 304.

즉, 상기 블록 처리기(303)는 바이트 단위로 입력되는 모바일 서비스 데이터를 비트로 구분하고, 구분된 D 비트를 E 비트로 부호화한 후 바이트 단위로 변환하여 출력한다. 일 예로 입력 데이터 1비트를 2비트로 부호화하여 출력한다면 D=1, E=2가 되고, 입력 데이터 1비트를 4비트로 부호화하여 출력한다면 D=1, E=4가 된다. 본 발명에서는 설명의 편의를 위해 전자를 1/2 부호율의 부호화(또는 1/2 부호화라 하기도 함)라 하고, 후자를 1/4 부호율의 부호화(또는 1/4 부호화라 하기도 함)라 한다. That is, the block processor 303 divides the mobile service data input in byte units into bits, encodes the divided D bits into E bits, and converts them into byte units and outputs them. For example, if one bit of input data is encoded into two bits and outputted, D = 1 and E = 2. If one bit of input data is encoded into four bits and outputted, D = 1 and E = 4. In the present invention, for convenience of description, the former is referred to as encoding at 1/2 code rate (or sometimes referred to as 1/2 encoding), and the latter is referred to as encoding at 1/4 code rate (or referred to as 1/4 encoding). do.

여기서 1/4 부호화를 사용하는 경우는 1/2 부호화에 비해서 높은 부호율 때문에 높은 에러 정정 능력을 가질 수가 있다. 이런 이유 때문에 후단의 그룹 포맷터(304)에서 1/4 부호율로 부호화된 데이터는 수신 성능이 떨어질 수 있는 영역에 할당하고, 1/2 부호율로 부호화된 데이터는 더 우수한 성능을 가질 수 있는 영역에 할당한다고 가정하면, 그 성능의 차이를 줄이는 효과를 얻을 수가 있게 된다. In the case of using the 1/4 encoding, it is possible to have a high error correction capability because of the higher code rate than the 1/2 encoding. For this reason, the data encoded at the 1/4 code rate in the later group formatter 304 is allocated to an area where reception performance may be deteriorated, and the data encoded at 1/2 code rate may have better performance. If we assign to, we can get the effect of reducing the difference in performance.

이때, 상기 블록 처리기(303)는 전송 파라미터를 담고 있는 시그널링(signaling) 정보도 입력받을 수 있는데, 이 시그널링 정보도 모바일 서비스 데이터 처리 과정과 동일하게 1/2 부호화 또는 1/4 부호화를 수행한다. 이후 상기 시그널링 정보도 모바일 서비스 데이터로 간주되어 처리된다. In this case, the block processor 303 may also receive signaling information including a transmission parameter, and the signaling information also performs 1/2 encoding or 1/4 encoding as in the mobile service data processing process. The signaling information is also regarded as mobile service data and processed.

한편 상기 그룹 포맷터(304)는 상기 블록 처리기(303)에서 출력되는 모바일 서비스 데이터를 기 정의된 규칙에 따라 형성되는 데이터 그룹 내 해당 영역에 삽입하고, 또한 데이터 디인터리빙과 관련하여 각종 위치 홀더나 기지 데이터(또는 기지 데이터 위치 홀더)도 상기 데이터 그룹 내 해당 영역에 삽입한다.Meanwhile, the group formatter 304 inserts the mobile service data output from the block processor 303 into a corresponding region in the data group formed according to a predefined rule, and also provides various position holders or bases in relation to data deinterleaving. Data (or known data position holders) is also inserted into the corresponding area in the data group.

이때 상기 데이터 그룹은 적어도 하나 이상의 계층화된 영역으로 구분할 수 있고, 계층화된 각 영역의 특성에 따라 각 영역에 삽입되는 모바일 서비스 데이터 종류가 달라질 수 있다. 그리고 각 영역은 일 예로 데이터 그룹 내에서 수신 성능을 기준으로 분류할 수 있다. 또한 하나의 데이터 그룹은 필드 동기를 포함하도록 구성할 수 있다.In this case, the data group may be divided into at least one layered area, and the type of mobile service data inserted into each area may vary according to characteristics of each layered area. For example, each region may be classified based on reception performance in a data group. In addition, one data group may be configured to include field synchronization.

본 발명에서는 데이터 디인터리빙 전의 데이터 구성에서 하나의 데이터 그룹을 A,B,C 영역(Region)으로 구분하는 것을 일 실시예로 한다. 이때 상기 그룹 포맷터(304)는 RS 부호화 및 블록 부호화되어 입력되는 모바일 서비스 데이터를 상기 전송 파라미터를 참조하여 해당 영역에 할당할 수 있다.According to an embodiment of the present invention, one data group is divided into A, B, and C regions in the data configuration before data deinterleaving. In this case, the group formatter 304 may allocate the mobile service data input by RS coding and block coding to the corresponding region with reference to the transmission parameter.

도 7a는 데이터 인터리빙 후의 데이터들이 구분되어 나열된 형태이고, 도 7b는 데이터 인터리빙 전의 데이터들이 구분되어 나열된 형태를 보여준다. 즉, 도 7a와 같은 데이터 구조가 수신 시스템으로 전송된다. 다시 말해, 한 개의 트랜스포트 패킷이 데이터 인터리버에 의해서 인터리빙되어 여러개의 데이터 세그먼트에 의해 분산되어 수신 시스템으로 전송된다. 이때 207 바이트의 한 패킷이 한 개의 데이터 세그먼트와 동일한 데이터 양을 가지므로 데이터 인터리빙되기 전의 패킷이 세그먼트의 개념으로 사용되기도 한다.FIG. 7A illustrates a form in which data after data interleaving is divided and listed, and FIG. 7B illustrates a form in which data before data interleaving is classified and listed. That is, the data structure as shown in FIG. 7A is transmitted to the receiving system. In other words, one transport packet is interleaved by the data interleaver, distributed by several data segments, and transmitted to the receiving system. In this case, since a packet of 207 bytes has the same amount of data as one data segment, the packet before data interleaving may be used as a concept of a segment.

그리고 도 7a와 같은 구조로 형성된 데이터 그룹이 데이터 디인터리버(305)로 입력된다. The data group formed in the structure shown in FIG. 7A is input to the data deinterleaver 305.

도 7a는 데이터 디인터리빙 전의 데이터 구성에서 데이터 그룹을 크게 세 개 의 영역(region) 예를 들어, A 영역(Region A), B 영역(Region B), C 영역(Region C)으로 구분하는 예를 보이고 있다. FIG. 7A illustrates an example in which a data group is largely divided into three regions, for example, region A, region B, and region C in the data configuration before data deinterleaving. It is showing.

또한 본 발명은 상기 A 내지 C 영역을 각각 복수개의 하위 영역으로 다시 구분하는 것을 일 실시예로 한다.In addition, according to an embodiment of the present invention, the A to C regions are divided into a plurality of sub-regions, respectively.

도 7a는 상기 A 영역이 5개의 하위 영역(A1~A5)으로 구분되고, B 영역이 2개의 하위 영역(B1,B2)으로 구분되며, C 영역이 3개의 하위 영역(C1~C3)으로 구분되는 예를 보이고 있다.In FIG. 7A, the A region is divided into five subregions A1 to A5, the B region is divided into two subregions B1 and B2, and the C region is divided into three subregions C1 to C3. An example is shown.

상기 A 내지 C 영역은 데이터 그룹 내에서 비슷한 수신 성능을 갖는 영역을 기준으로 분류하고 있다. 이때 각 영역의 특성에 따라 삽입되는 모바일 서비스 데이터 종류가 달라질 수 있다.The areas A to C are classified based on areas having similar reception performance in the data group. In this case, the type of mobile service data to be inserted may vary according to characteristics of each region.

본 발명에서는 메인 서비스 데이터의 간섭 정도를 기준으로 A 내지 C 영역을 나누는 것을 일 실시예로 설명한다. In the present invention, dividing the A to C region based on the degree of interference of the main service data will be described as an embodiment.

여기서, 상기 데이터 그룹을 다수개의 영역으로 구분하여 사용하는 이유는 각각의 용도를 달리하기 위해서이다. 즉, 메인 서비스 데이터의 간섭이 없거나 적은 영역은 그렇지 않은 영역보다 강인한 수신 성능을 보일 수 있기 때문이다. 또한, 기지 데이터를 데이터 그룹에 삽입하여 전송하는 시스템을 적용하는 경우, 모바일 서비스 데이터에 연속적으로 긴 기지 데이터를 주기적으로 삽입하고자 할 때, 메인 서비스 데이터의 간섭이 없는 영역(예를 들어, A 영역)에는 일정 길이의 기지 데이터를 주기적으로 삽입하는 것이 가능하다. 그러나 메인 서비스 데이터의 간섭이 있는 영역(예를 들어, B,C 영역)에는 서비스 메인 서비스 데이터의 간섭으로 기 지 데이터를 주기적으로 삽입하는 것이 곤란하고 연속적으로 긴 기지 데이터를 삽입하는 것도 곤란하다. Here, the reason why the data group is divided into a plurality of areas is used for different purposes. That is, an area where there is no or little interference of the main service data may exhibit stronger reception performance than an area that is not. In addition, in the case of applying a system for inserting and transmitting known data into a data group, an area where there is no interference of main service data (for example, A area) when periodically inserting long known data into a mobile service data periodically It is possible to periodically insert known data of a certain length into the. However, it is difficult to periodically insert base data in the area where the main service data interferes (for example, B and C areas) due to the interference of the service main service data, and also to insert long known data continuously.

이때 데이터 그룹은 필드 동기가 삽입될 위치를 포함하여 형성되는데, 상기그룹 포맷터(304)는 필드 동기의 삽입 위치와 무관하게 동작하며, 실제 필드 동기는 뒷단의 동기 다중화기(260)에서 기 정의된 필드 동기 삽입 위치에 삽입한다. 도 7b는 데이터 인터리빙 전의 데이터 구조로서, 118 세그먼트가 하나의 데이터 그룹으로 할당된 예를 보이고 있다. 도 7b의 데이터 그룹은 필드 동기가 삽입될 위치를 기준으로 앞쪽으로 38 세그먼트를 포함하고, 뒤쪽으로 80 세그먼트를 포함하여 118 세그먼트를 구성하는 일 실시예를 보이고 있다. At this time, the data group is formed including the position where the field sync is to be inserted. The group formatter 304 operates regardless of the insert position of the field sync, and the actual field sync is previously defined by the sync multiplexer 260 at the rear stage. Insert at field sync insertion position. 7B shows a data structure before data interleaving, in which 118 segments are allocated to one data group. The data group of FIG. 7B shows an embodiment of configuring 118 segments including 38 segments forward and 80 segments backward based on the position at which the field sync is to be inserted.

다음은 도 7a를 참조하여 데이터 그룹 내에서 A(A1~A5), B(B1,B2), C(C1~C3) 영역이 할당되는 구체적인 예를 설명한다. 도 7a의 데이터 그룹의 크기, 데이터 그룹 내 계층화된 영역의 수와 각 영역의 크기, 계층화된 각 영역에 삽입 가능한 모바일 서비스 데이터 바이트 수 등은 본 발명을 기술하기 위한 하나의 실시예이다. Next, a specific example in which the areas A (A1 to A5), B (B1 and B2) and C (C1 to C3) are allocated in the data group will be described with reference to FIG. 7A. The size of the data group of FIG. 7A, the number of layered areas and the size of each area in the data group, the number of mobile service data bytes that can be inserted into each layered area, and the like are one embodiment for describing the present invention.

즉, 상기 A 영역은 상기 데이터 그룹 내 긴 기지 데이터 열(sequence)이 주기적으로 삽입될 수 있는 영역이면서, 메인 서비스 데이터가 섞이지 않는 A2~A5 영역을 포함한다. 또한 상기 A 영역은 상기 데이터 그룹에 삽입될 필드 동기 영역과 첫 기지 데이터 열이 삽입될 영역 사이에 있는 A1 영역을 포함한다. That is, the area A includes areas A2 to A5 in which long known data sequences in the data group can be periodically inserted and main service data are not mixed. The area A also includes an area A1 between the field synchronization area to be inserted into the data group and the area to which the first known data string is to be inserted.

일 실시예로 도 7a에서 A1 영역에는 2428 바이트, A2 영역에는 2580 바이트, A3 영역에는 2772 바이트, A4 영역에는 2472 바이트, A5 영역에는 2772 바이트의 모바일 서비스 데이터를 삽입할 수 있다. 상기 모바일 서비스 데이터에서 트렐리스 초기화나 기지 데이터, MPEG 헤더, RS 패리티 등은 제외된다. As an example, in FIG. 7A, mobile service data of 2428 bytes in an A1 area, 2580 bytes in an A2 area, 2772 bytes in an A3 area, 2472 bytes in an A4 area, and 2772 bytes in an A5 area may be inserted. The trellis initialization, known data, MPEG header, RS parity, etc. are excluded from the mobile service data.

상기와 같이 앞뒤로 기지 데이터 열을 갖는 A 영역의 경우, 수신 시스템에서는 기지 데이터나 필드 동기로부터 얻을 수 있는 채널 정보를 이용하여 등화를 수행할 수 있으므로, 강인한 등화 성능을 얻을 수가 있다. As described above, in the area A having known data streams back and forth, since the equalization can be performed using the channel information obtained from the known data and the field synchronization, a robust equalization performance can be obtained.

상기 B 영역은 상기 데이터 그룹 내 필드 동기 영역의 앞쪽 8 세그먼트 이내에 위치하는 B1 영역(시간적으로 A1 영역의 앞에 위치함)과, 상기 데이터 그룹에 삽입되는 가장 마지막 기지 데이터 열 다음 8 세그먼트 내에 위치하는 B2 영역(시간적으로 A 영역의 뒤에 위치함)을 포함한다. 예를 들어, 상기 B1 영역에는 930 바이트, B2 영역에는 1350 바이트의 모바일 서비스 데이터를 삽입할 수 있다. 마찬가지로, 상기 모바일 서비스 데이터에서 트렐리스 초기화나 기지 데이터, MPEG 헤더, RS 패리티 등은 제외된다. The B area is a B1 area located in front of the first 8 segments of the field sync area in the data group (temporally located in front of the A1 area), and B2 located within 8 segments after the last known data column inserted into the data group. Region (temporally located behind region A). For example, 930 bytes can be inserted into the B1 region and 1350 bytes of mobile service data can be inserted into the B2 region. Similarly, trellis initialization, known data, MPEG header, RS parity, etc. are excluded from the mobile service data.

상기 B 영역의 경우, 수신 시스템에서는 필드 동기 구간에서 얻어진 채널 정보를 사용하여 등화를 수행할 수 있고, 또한 상기 마지막 기지 데이터 열로부터 얻을 수 있는 채널 정보를 사용하여 등화를 수행할 수 있으므로, 채널의 변화에 대응할 수가 있다. In the case of the B region, the receiving system can perform equalization using the channel information obtained in the field synchronization section, and can also perform equalization using the channel information obtained from the last known data sequence. Can respond to changes.

상기 C 영역은 필드 동기 영역의 앞쪽 9번째 세그먼트를 포함하여 그 앞쪽으로 30 세그먼트 내에 위치하는 C1 영역(시간적으로 A 영역의 앞에 위치함), 상기 데이터 그룹 내 마지막 기지 데이터 열 다음 9번째 세그먼트를 포함한 12 세그먼트 내에 위치하는 C2 영역(시간적으로 A 영역의 뒤에 위치함), 및 상기 C2 영역 다음에 오는 32 세그먼트 내에 위치하는 C3 영역을 포함한다. The C area includes the first ninth segment of the field sync area, and includes a C1 area (temporally located in front of the A area) located within 30 segments in front of it, and a ninth segment after the last known data column in the data group. C2 region located within 12 segments (it is located behind A region in time), and C3 region located within 32 segments following said C2 region.

예를 들어, 상기 C1 영역에는 1272 바이트, C2 영역에는 1560 바이트, C3 영역에는 1312 바이트의 모바일 서비스 데이터를 삽입할 수 있다. 마찬가지로, 상기 모바일 서비스 데이터에서 트렐리스 초기화나 기지 데이터, MPEG 헤더, RS 패리티 등은 제외된다. For example, 1272 bytes in the C1 region, 1560 bytes in the C2 region, and 1312 bytes in the C3 region may be inserted. Similarly, trellis initialization, known data, MPEG header, RS parity, etc. are excluded from the mobile service data.

이때 상기 A 영역보다 시간적으로 앞에 위치한 C1 영역은 제일 가까운 기지 데이터인 필드 동기에서도 꽤 멀리 떨어져 있기 때문에, 수신 시스템에서 채널 등화시에 필드 동기로부터 얻은 채널 정보를 사용할 수도 있고, 또는 이전 데이터 그룹의 가장 최근의 채널 정보를 사용할 수도 있다. 그리고 상기 A 영역보다 시간적으로 뒤에 위치한 C2,C3 영역은 수신 시스템에서 채널 등화시에 상기 마지막 기지 데이터 열에서 얻은 채널 정보를 사용하여 등화를 하더라도 채널이 빠르게 변하는 경우에는 등화가 완벽하게 되지 않을 수가 있다. 그러므로 상기 C 영역은 B 영역보다 등화 성능이 떨어질 수가 있다.In this case, since the C1 region located in front of the A region in time is far from the field synchronization, which is the closest known data, the receiving system may use channel information obtained from the field synchronization at the time of channel equalization in the receiving system, or the most recent data group. Recent channel information can also be used. In the C2 and C3 regions located behind the A region in time, the equalization may not be perfect when the channel is rapidly changed even if the receiving system uses the channel information obtained from the last known data stream when the channel is equalized. . Therefore, the C region may have lower equalization performance than the B region.

상기와 같이 데이터 그룹을 다수개의 계층화된 영역으로 할당한다고 가정하면, 전술한 블록 처리기(303)에서는 계층화된 영역의 특성에 따라 각 영역에 삽입될 모바일 서비스 데이터를 다른 부호율로 부호화할 수도 있다.Assuming that a data group is allocated to a plurality of layered areas as described above, the above-described block processor 303 may encode mobile service data to be inserted into each area at different code rates according to the characteristics of the layered area.

예를 들어, 상기 A 영역 내 A1~A5 영역에 삽입될 모바일 서비스 데이터는 블록 처리기(303)에서 1/2 부호율로 부호화를 수행하도록 하고, 이렇게 부호화된 모바일 서비스 데이터를 상기 그룹 포맷터(304)에서 상기 A1~A5 영역에 삽입하도록 할 수 있다.For example, the mobile service data to be inserted into areas A1 to A5 in the area A is encoded by the block processor 303 at a 1/2 code rate, and the encoded mobile service data is encoded into the group formatter 304. In the A1 ~ A5 region can be inserted.

상기 B 영역 내 B1,B2 영역에 삽입될 모바일 서비스 데이터는 블록 처리 기(303)에서 1/2 부호율보다 에러 정정 능력이 높은 1/4 부호율로 부호화를 수행하도록 하고, 이렇게 부호화된 모바일 서비스 데이터를 상기 그룹 포맷터(304)에서 상기 B1,B2 영역에 삽입하도록 할 수 있다.The mobile service data to be inserted into the B1 and B2 areas in the B area is encoded by the block processor 303 at a 1/4 code rate with higher error correction capability than the 1/2 code rate. Data may be inserted into the B1 and B2 areas by the group formatter 304.

상기 C 영역 내 C1~C3 영역에 삽입될 모바일 서비스 데이터는 블록 처리기(303)에서 1/4 부호율이나 또는 1/4 부호율보다 더 강력한 에러 정정 능력을 갖는 부호율로 부호화를 수행하도록 하고, 이렇게 부호화된 데이터를 상기 그룹 포맷터(304)에서 상기 C1~C3 영역에 삽입하도록 할 수도 있고, 추후의 사용을 위해서 미사용(reserve) 영역으로 남겨둘 수도 있다. The mobile service data to be inserted in the C1 to C3 areas of the C region is encoded by the block processor 303 at a code rate having a 1/4 code rate or a stronger error correction capability than the 1/4 code rate. The coded data may be inserted into the C1 to C3 areas by the group formatter 304, or may be left as a reserved area for later use.

또한 상기 그룹 포맷터(304)에서는 블록 처리기(303)에서 출력된 부호화된 모바일 서비스 데이터들 외에도 도 7a에서 보이는 것과 같이 후단의 데이터 디인터리빙과 관련하여 MPEG 헤더 위치 홀더, 비체계적 RS 패리티 위치 홀더, 메인 서비스 데이터 위치 홀더를 삽입한다. 여기서 메인 서비스 데이터 위치 홀더를 삽입하는 이유는 도 7a와 같이 데이터 디인터리버의 입력을 기준으로 B,C 영역에서는 모바일 서비스 데이터와 메인 서비스 데이터가 사이사이에 섞이게 되기 때문이다. 일 예로 상기 MPEG 헤더를 위한 위치 홀더는 상기 데이터 디인터리빙 후의 출력 데이터를 기준으로 볼 때, 각 패킷의 제일 앞에 할당될 수 있다.In addition to the encoded mobile service data output from the block processor 303, the group formatter 304 also includes an MPEG header position holder, an unstructured RS parity position holder, and a main in relation to data deinterleaving at a later stage as shown in FIG. 7A. Insert the service data location holder. The reason for inserting the main service data location holder is that the mobile service data and the main service data are mixed between B and C regions based on the input of the data deinterleaver as shown in FIG. 7A. As an example, the position holder for the MPEG header may be assigned to the front of each packet based on the output data after the data deinterleaving.

그리고 상기 그룹 포맷터(304)에서는 기 정해진 방법에 의해서 발생된 기지 데이터를 삽입하거나 기지 데이터를 추후에 삽입하기 위한 기지 데이터 위치 홀더를 삽입한다. 더불어서 트렐리스 부호화부(Trellis Encoding Module)(256)의 초기화를 위한 위치 홀더를 해당 영역(즉, 빨간색 영역)에 삽입한다. 일 실시예로, 상 기 초기화 데이터 위치 홀더는 상기 기지 데이터 열의 앞에 삽입할 수 있다.The group formatter 304 then inserts known data generated by a predetermined method or inserts known data position holders for inserting known data later. In addition, a position holder for initializing the Trellis Encoding Module 256 is inserted into a corresponding region (ie, a red region). In one embodiment, the initialization data location holder may be inserted before the known data row.

일 예로, 상기 도 7a와 같은 데이터 구조에서는 기지 데이터 또는 기지 데이터 위치 홀더를 삽입하기 위하여 5개의 기지 데이터 영역(즉, 파란색 영역)이 데이터 그룹 내 A 영역에 할당되어 있다. For example, in the data structure as shown in FIG. 7A, five known data areas (ie, blue areas) are allocated to area A in the data group in order to insert known data or known data position holders.

설명의 편의를 위해 5개의 기지 데이터 영역을 제1 내지 제5 기지 데이터 영역이라 하기로 한다.For convenience of description, five known data areas will be referred to as first to fifth known data areas.

상기 제1 기지 데이터 영역은 필드 동기가 삽입될 위치로부터 약 16 세그먼트 떨어진 위치에 할당되고, 제2 기지 데이터 영역은 제1 기지 데이터 영역으로부터 약 16 세그먼트 떨어진 위치에 할당된다. 또한 제3 기지 데이터 영역은 제2 기지 데이터 영역으로부터 약 16세그먼트 떨어진 위치에 할당되고, 제4 기지 데이터 영역은 제3 기지 데이터 영역으로부터 약 16 세그먼트 떨어진 위치에 할당된다. 마찬가지로, 제5 기지 데이터 영역은 제4 기지 데이터 영역으로부터 약 16 세그먼트 떨어진 위치에 할당된다. 이때 제1 내지 제5 기지 데이터 영역의 길이는 동일할 수도 있고, 서로 다를 수도 있다. 본 발명에서는 제1 내지 제5 기지 데이터 영역 중 적어도 하나의 영역의 길이가 다른 것을 일 실시예로 설명한다.The first known data area is allocated at a position about 16 segments away from the position where the field sync is to be inserted, and the second known data area is allocated at a position about 16 segments away from the first known data area. The third known data area is also allocated at a position about 16 segments away from the second known data area, and the fourth known data area is allocated at a position about 16 segments away from the third known data area. Similarly, the fifth known data area is allocated at a position about 16 segments away from the fourth known data area. In this case, the lengths of the first to fifth known data areas may be the same or may be different from each other. According to the present invention, at least one of the first to fifth known data areas is different from one another in length.

본 발명에서는 상기 그룹 포맷터(304)에서 상기 제1 내지 제5 기지 데이터 영역에 기지 데이터를 삽입하는 것을 일 실시예로 설명한다.In the present invention, inserting known data into the first to fifth known data areas in the group formatter 304 will be described as an embodiment.

이때, 제1 내지 제5 기지 데이터 영역 중 적어도 하나의 영역 예를 들어, 제1 기지 데이터 영역은 기지 데이터 내에 2회 이상 반복되는 동일한 패턴을 포함한다. 설명의 편의를 위해 상기 반복되는 기지 데이터 패턴을 제1 기지 데이터 패턴 이라 하기로 한다. 상기 제1 기지 데이터 패턴은 수신 시스템에서 초기 반송파 주파수 동기 획득을 위해 이용될 수도 있고, 필드 동기 위치나 다른 기지 데이터 영역의 위치를 추정하는데 이용될 수도 있다.In this case, at least one area of the first to fifth known data areas, for example, the first known data area includes the same pattern repeated two or more times in the known data. For convenience of description, the repeated known data pattern will be referred to as a first known data pattern. The first known data pattern may be used for initial carrier frequency synchronization acquisition in a receiving system, or may be used for estimating the field synchronization position or the position of another known data region.

또한 상기 제1 내지 제5 기지 데이터 영역에는 동일한 패턴의 기지 데이터 열이 각각 포함되는데, 상기 제1 기지 데이터 패턴과 구분하기 위하여 제2 기지 데이터 패턴이라 하기로 한다. 상기 제1 기지 데이터 패턴과 제2 기지 데이터 패턴의 길이는 서로 다른 것을 일 실시예로 한다.Each of the first to fifth known data areas includes a known data column having the same pattern, and will be referred to as a second known data pattern to distinguish it from the first known data pattern. According to an embodiment of the present invention, the lengths of the first known data pattern and the second known data pattern are different from each other.

그리고 상기 제2 기지 데이터 패턴의 기지 데이터 열과 해당 기지 데이터 영역의 전체 기지 데이터 열의 길이는 같을 수도 있고, 다를 수도 있다. 다른 경우, 전체 기지 데이터 열은 제2 기지 데이터 패턴의 기지 데이터 열보다 길으며, 전체 기지 데이터 열에 제2 기지 데이터 패턴이 포함된다. The length of the known data string of the second known data pattern and the total known data string of the corresponding known data area may be the same or different. In other cases, the entire known data column is longer than the known data column of the second known data pattern, and the second known data pattern is included in the entire known data column.

본 발명에서는 1424 심볼(즉, 356 바이트)이 제2 기지 데이터 패턴으로 제1 내지 제5 기지 데이터 영역에 각각 삽입되는 예를 보이고 있다. 상기 제1 내지 제5 기지 데이터 영역에 삽입되는 제2 기지 데이터 패턴은 수신 시스템에서 훈련열로 이용될 수도 있고, 채널 임펄스 응답(Channel Impulse Response ; CIR)을 추정하는데 이용할 수도 있다. In the present invention, 1424 symbols (that is, 356 bytes) are inserted into the first through fifth known data areas in the second known data pattern, respectively. The second known data pattern inserted into the first to fifth known data areas may be used as a training sequence in a receiving system or may be used to estimate a channel impulse response (CIR).

또한 상기 그룹 포맷터(304)에서는 모바일 서비스 데이터와는 별도로 전체적인 송신 정보를 알려주는 시그널링(signaling)과 같은 부가 정보 데이터도 상기 데이터 그룹 내에 삽입할 수 있다. 상기 시그널링 정보는 방송 신호의 송수신에 관련된 전송 파라미터가 설정될 수 있다. In addition, the group formatter 304 may insert additional information data such as signaling, which informs the overall transmission information, separately from the mobile service data, into the data group. As the signaling information, transmission parameters related to transmission and reception of broadcast signals may be set.

이때 하나의 데이터 그룹에 삽입 가능한 모바일 서비스 데이터 사이즈는 해당 데이터 그룹에 삽입되는 트렐리스 초기화 위치 홀더나 기지 데이터(또는 기지 데이터 위치 홀더), MPEG 헤더 위치 홀더, RS 패리티 위치 홀더등의 사이즈에 의해 달라질 수 있다.In this case, the mobile service data size that can be inserted into one data group is determined by the size of the trellis initialization position holder, known data (or known data position holder), MPEG header position holder, RS parity position holder, etc. inserted into the data group. Can vary.

도 8은 도 7a와 같은 데이터 구조를 갖는 데이터 프레임에서 데이터 그룹 내 A 영역의 일부를 도시한 것으로서, 특히 필드 동기 세그먼트부터 제3 기지 데이터 영역까지를 확대한 도면이다. 도 8의 데이터 프레임은 각 영역에 삽입되어 전송되는 데이터들을 심볼 단위로 표시하고 있다. 여기서 1 바이트는 4 심볼로 구성되고, 한 심볼은 2 비트로 구성된다. FIG. 8 illustrates a part of the A area in the data group in the data frame having the data structure as shown in FIG. 7A, and is an enlarged view of the field sync segment to the third known data area. The data frame of FIG. 8 represents data inserted and transmitted in each area in symbol units. Here, one byte consists of four symbols and one symbol consists of two bits.

도 8에 도시한 데이터 프레임에서 필드 동기 세그먼트는 832 심볼로 구성된다. 상기 832 심볼 중 일부에 기지 데이터 열이 포함되어 있을 수 있다. In the data frame shown in FIG. 8, the field sync segment consists of 832 symbols. Some of the 832 symbols may include a known data string.

각 기지 데이터 영역은 트렐리스 메모리 초기화 데이터를 전송하는 초기화 데이터 영역(즉, 빨간색 영역)을 포함한다. 일 예로, 상기 초기화 데이터 영역은 48 심볼이 할당될 수 있다. 이때 12개의 트렐리스 부호기 중 하나의 트렐리스 부호기를 초기화하는데 필요한 초기화 데이터는 2 심볼이다. 그러므로 12개의 트렐리스 부호기를 초기화하기 위해서는 24개의 심볼이 필요하다. 따라서 상기 각 기지 데이터 영역의 초기화 데이터 영역 내 나머지 24 심볼은 기지데이터로 사용할 수 있다.Each known data area includes an initialization data area (ie, a red area) for transmitting trellis memory initialization data. For example, 48 symbols may be allocated to the initialization data area. In this case, the initialization data required to initialize one trellis encoder among the 12 trellis encoders is 2 symbols. Therefore, 24 symbols are needed to initialize the 12 trellis encoders. Therefore, the remaining 24 symbols in the initialization data area of each known data area can be used as known data.

그리고, 제1 내지 제5 기지 데이터 영역 중 적어도 하나의 영역(예, 제1 기지 데이터 영역)은 제1 기지 데이터 패턴을 포함하고, 제1 내지 제5 기지 데이터 영역은 각각 제2 기지 데이터 패턴을 포함한다. At least one of the first to fifth known data areas (eg, the first known data area) includes a first known data pattern, and the first to fifth known data areas each include a second known data pattern. Include.

상기 제2 기지 데이터 패턴은 해당 기지 데이터 영역 내에서 트렐리스 메모리 초기화 데이터 바로 다음에 포함될 수도 있고, 또 다른 패턴의 기지 데이터 열 이후에 포함될 수도 있다. 이는 제1 내지 제5 기지 데이터 영역의 시작 위치 및 제1 내지 제5 기지 데이터 영역의 길이가 다른데, 제2 기지 데이터 패턴끼리 일정한 간격을 유지하기 위해서이다.The second known data pattern may be included immediately after the trellis memory initialization data in the corresponding known data area, or may be included after another pattern of known data sequences. This is because the start positions of the first to fifth known data areas and the lengths of the first to fifth known data areas are different, so as to maintain a constant interval between the second known data patterns.

상기 필드 동기 세그먼트로부터 약 16 세그먼트 이후에 위치하는 제1 기지 데이터 영역은 트렐리스 메모리 초기화 데이터 영역(빨간색 영역), 제3 기지 데이터 패턴 영역(파란색 빗금친 영역), 제2 기지 데이터 패턴 영역(CIR TS 영역), 제4 기지 데이터 패턴 영역(reserved TS 영역), 및 제1 기지 데이터 패턴 영역(ACQ TS 영역)을 포함한다. The first known data area located approximately 16 segments after the field sync segment includes a trellis memory initialization data area (red area), a third known data pattern area (blue hatched area), and a second known data pattern area ( CIR TS area), a fourth known data pattern area (reserved TS area), and a first known data pattern area (ACQ TS area).

상기 트렐리스 메모리 초기화 데이터 영역(빨간색 영역)은 일 예로, 24 심볼이 할당되며 송신측에서 트렐리스 메모리 초기화가 수행된 영역이다. 상기 제3 기지 데이터 패턴 영역(파란색 빗금친 영역)은 제2 기지 데이터 패턴이 다른 기지 데이터 영역의 제2 기지 데이터 패턴과 동일한 간격을 유지하도록 하기 위하여 예비적으로 할당된 영역으로서, 상기 제3 기지 데이터 패턴 영역에 포함되는 제3 기지 데이터 패턴은 수신 시스템에서 사용할 수도 있고, 예비적으로 둘 수도 있다.The trellis memory initialization data area (red area) is, for example, an area in which 24 symbols are allocated and trellis memory initialization is performed at the transmitting side. The third known data pattern region (blue shaded region) is a region which is preliminarily allocated so that the second known data pattern maintains the same interval as the second known data pattern of the other known data region. The third known data pattern included in the data pattern region may be used in the receiving system or may be preliminarily placed.

상기 제2 기지 데이터 패턴 영역(CIR TS 영역)은 일 예로, 1424 심볼이 할당되며, 채널 등화를 위해 사용될 수 있는 제2 기지 데이터 패턴이 삽입된다. 상기 제2 기지 데이터 패턴 영역의 세그먼트 내 시작 위치는 모든 기지 데이터 영역에서 동일하다. For example, 1424 symbols are allocated to the second known data pattern region (CIR TS region), and a second known data pattern that can be used for channel equalization is inserted. The starting position in the segment of the second known data pattern area is the same in all known data areas.

상기 제4 기지 데이터 패턴 영역(reserved TS 영역)은 일 예로, 252 심볼이 할당된다. 본 발명에서는 상기 제4 기지 데이터 패턴 영역에 전송 파라미터를 삽입하여 전송하는 것을 일 실시예로 한다. 예를 들어, 데이터 그룹 내 각 영역의 부호율을 지시하는 모드 정보를 삽입할 수 있다. 설명의 편의를 위해 데이터 그룹 내 각 영역의 부호율을 지시하는 모드를 SCCC(Serial Concatenated Convolution Code) 모드라 하기로 한다. 예를 들어, 6개의 다른 패턴을 가지는 SCCC 모드 정보가 전송 파라미터 즉, 시그널링 정보로서 상기 제4 기지 데이터 패턴 영역에 삽입되면, 수신측에서는 SCCC 모드에 따른 복호화를 수행하기 이전에 상기 제4 기지 데이터 패턴 영역으로부터 SCCC 모드에 대한 정보를 얻어 수신 신호를 복호할 수 있다. For example, 252 symbols are allocated to the fourth known data pattern region (reserved TS region). According to the embodiment of the present invention, the transmission parameter is inserted into the fourth known data pattern region and transmitted. For example, mode information indicating a code rate of each region in the data group may be inserted. For convenience of description, a mode indicating a code rate of each region in the data group will be referred to as a serial concatenated convolution code (SCCC) mode. For example, if SCCC mode information having six different patterns is inserted into the fourth known data pattern region as a transmission parameter, that is, signaling information, the receiver receives the fourth known data pattern before performing decoding according to the SCCC mode. The received signal can be decoded by obtaining information on the SCCC mode from the region.

하기의 표 1은 상기 SCCC 모드의 예를 보인 것이다.Table 1 below shows an example of the SCCC mode.

Figure 112008088968393-pat00002
Figure 112008088968393-pat00002

예를 들어, 상기 제4 기지 데이터 패턴 영역에서 추출된 SCCC 모드 값이 2이면, 해당 데이터 그룹 내 A,C 영역은 1/2 부호율로 부호화되어 있고, B 영역은 1/4 부호율로 부호화되었음을 지시한다. 즉, 본 발명의 송신측에서는 상기 표 1의 각 모드 값에 해당하는 6개의 패턴을 송/수신측의 약속에 의해 발생하고, 각 데이터 그룹마다 해당 패턴을 상기 제4 기지 데이터 패턴 영역에 삽입할 수도 있다. For example, if the SCCC mode value extracted from the fourth known data pattern region is 2, the A and C regions in the data group are encoded at 1/2 code rate, and the B region is encoded at 1/4 code rate. Indicates that the That is, the transmitting side of the present invention may generate six patterns corresponding to the respective mode values shown in Table 1 by a promise of the transmitting / receiving side, and insert the corresponding patterns into the fourth known data pattern area for each data group. have.

이 경우, 수신 시스템의 블록 복호기(1005)에서 SCCC 모드에 따른 복호를 수행하기 전에 상기 제4 기지 데이터 패턴 영역으로부터 SCCC 모드 정보를 얻을 수 있게 된다.In this case, the SCCC mode information can be obtained from the fourth known data pattern region before the block decoder 1005 of the receiving system performs decoding according to the SCCC mode.

한편 상기 제1 기지 데이터 영역 중 제1 기지 데이터 패턴 영역(ACQ TS 영역)은 초기 반송파 주파수 동기 획득을 위해 제1 기지 데이터 패턴이 복수개 연속적으로 삽입되어 있다. 일 예로 하나의 제1 기지 데이터 패턴은 576 심볼에 할당된다. 그러므로, 도 8에서는 초기 반송파 주파수 동기 획득에 사용되는 576 심볼의 제1 기지 데이터 패턴이 제1 기지 데이터 패턴 영역에 연속적으로 복수개 삽입된다. In the meantime, a plurality of first known data patterns are inserted in the first known data pattern area (ACQ TS area) in order to obtain initial carrier frequency synchronization. For example, one first known data pattern is allocated to 576 symbols. Therefore, in FIG. 8, a plurality of first known data patterns of 576 symbols used for initial carrier frequency synchronization acquisition are successively inserted into the first known data pattern region.

상기 제1 기지 데이터 영역으로부터 약 16 세그먼트 이후에 위치하는 제2 기지 데이터 영역은 트렐리스 메모리 초기화 데이터 영역(빨간색 영역), 제3 기지 데이터 패턴 영역(파란색 빗금친 영역), 및 제2 기지 데이터 패턴 영역(CIR TS 영역)을 포함한다. The second known data area located about 16 segments after the first known data area includes a trellis memory initialization data area (red area), a third known data pattern area (blue hatched area), and a second known data area. Pattern region (CIR TS region).

상기 제2 기지 데이터 영역 중 트렐리스 메모리 초기화 데이터 영역(빨간색 영역)은 일 예로, 24 심볼이 할당되며 트렐리스 메모리 초기화에 이용된 데이터가 삽입된다. 상기 제3 기지 데이터 패턴 영역(파란색 빗금친 영역)은 제2 기지 데이터 패턴이 다른 기지 데이터 영역의 제2 기지 데이터 패턴과 동일한 간격을 유지하도록 하기 위하여 예비적으로 할당된 영역으로서, 상기 제3 기지 데이터 패턴 영역에 포함되는 제3 기지 데이터 패턴은 수신 시스템에서 사용할 수도 있고, 예비적으로 둘 수도 있다.In the trellis memory initialization data area (red area) of the second known data area, 24 symbols are allocated, for example, and data used for trellis memory initialization is inserted. The third known data pattern region (blue shaded region) is a region which is preliminarily allocated so that the second known data pattern maintains the same interval as the second known data pattern of the other known data region. The third known data pattern included in the data pattern region may be used in the receiving system or may be preliminarily placed.

상기 제2 기지 데이터 패턴 영역(CIR TS 영역)은 일 예로, 1424 심볼이 할당되며, 채널 등화를 위해 사용될 수 있는 제2 기지 데이터 패턴이 삽입된다. 상기 제2 기지 데이터 패턴 영역의 세그먼트 내 시작 위치는 모든 기지 데이터 영역에서 동일하다. For example, 1424 symbols are allocated to the second known data pattern region (CIR TS region), and a second known data pattern that can be used for channel equalization is inserted. The starting position in the segment of the second known data pattern area is the same in all known data areas.

상기 제2 기지 데이터 영역으로부터 약 16 세그먼트 이후에 위치하는 제3 기지 데이터 영역은 트렐리스 메모리 초기화 데이터 영역(빨간색 영역), 및 채널 등화에 이용되는 제2 기지 데이터 패턴 영역(CIR TS 영역)을 포함한다. The third known data area located about 16 segments after the second known data area includes a trellis memory initialization data area (red area) and a second known data pattern area (CIR TS area) used for channel equalization. Include.

상기 제3 기지 데이터 영역 내 초기화 데이터 영역(빨간색 영역)은 12 바이트를 포함하고 있으며, 이때 각 바이트마다 2심볼만 트렐리스 메모리 초기화를 위해 사용된다. 그러므로, 상기 각 바이트 내 나머지 2 심볼 즉, 초기화 데이터 영역의 나머지 24 심볼은 채널 등화에 이용될 수 있다.The initialization data area (red area) in the third known data area includes 12 bytes, in which only two symbols are used to initialize the trellis memory for each byte. Therefore, the remaining two symbols in each byte, that is, the remaining 24 symbols of the initialization data region, can be used for channel equalization.

이러한 데이터 구조에서 필드 동기 영역과 제 1 기지 데이터 영역 사이에는 11892 심볼의 일반 데이터가, 제 1 기지 데이터 영역과 제 2 기지 데이터 영역 사이에는 10480 심볼의 일반 데이터가, 제 2 기지 데이터 영역과 제 3 기지 데이터 영역 사이에는 11888 심볼의 일반 데이터가 삽입되어 전송될 수 있다. 상기 일반 데이터는 필드 동기 및 기지 데이터 영역의 데이터를 제외한 나머지 데이터 예를 들어, 메인 서비스 데이터, 모바일 서비스 데이터, RS 패리티 데이터, MPEG 헤더 데이터 등이 해당된다.In this data structure, there are 11892 symbols of general data between the field sync area and the first known data area, 10480 symbols of general data between the first known data area and the second known data area, and the second known data area and the third known data area. 11888 symbols of general data may be inserted and transmitted between the known data areas. The general data corresponds to the remaining data except for the field sync and the known data area, for example, main service data, mobile service data, RS parity data, MPEG header data, and the like.

도 9는 데이터 그룹 즉, 모바일 서비스 데이터 영역에 시그널링 정보로서 전송 파라미터가 전송될 경우, 전송 파라미터의 신호의 배치를 예시한다. 도 9의 (a)는 4 바이트 크기의 시그널링 정보를 예시하는데, 예시한 시그널링 정보는 프로그램에 따른 서비스 식별자(service id), 도 7a의 신호 프레임 중 A, B 영역의 RS 모드, C 영역의 RS 모드, 수퍼 프레임의 크기(super frame size; SFS), RS 프레임이 수퍼 프레임에서 차지하는 위치 정보(permuted frame index; PFI), 버스트의 크기(burst size; BS), 데이터 그룹의 인덱스(group index; GI) 및 다음 버스트까지의 시간(time to next burst; TNB) 정보를 포함할 수 있다. 도 9의 (a)는 예시한 정보를 포함할 경우 예시한 정보에 대한 크기를 4 바이트 크기로 할당한 예를 보이고, 위의 각각의 정보에 대한 크기는 괄호에 어레이(array) 배열 형태로 표시하였다. 9 illustrates an arrangement of a signal of a transmission parameter when a transmission parameter is transmitted as signaling information in a data group, that is, a mobile service data area. FIG. 9A illustrates signaling information having a size of 4 bytes. The signaling information includes a service ID according to a program, an RS mode of an A and a B region, and an RS of a C region of a signal frame of FIG. 7A. Mode, super frame size (SFS), permuted frame index (PFI) that the RS frame occupies in the super frame, burst size (BS), group index (GI) ) And time to next burst (NBN) information. 9 (a) shows an example in which the size of the illustrated information is allocated to the size of 4 bytes when the illustrated information is included, and the size of each of the above information is indicated in the form of an array in parenthesis. It was.

도 9의 (b)는 도 9의 (a)의 시그널링 정보가 도 7a의 데이터 그룹에 위치할 경우 신호 배치를 예시한다. 데이터 그룹 내 A 영역의 데이터에 대한 에러 정정 모드로서, 1/2 부호율의 SCCC 모드가 사용될 경우, 도 9의 (a)에 예시한 4 바이트의 시그널링 정보 데이터, 그 시그널링 정보가 중복된 4 바이트의 데이터 및 24 바이트의 RS 패리티 데이터가 7a의 데이터 그룹의 A 영역에 포함될 수 있다(이하에서 제 1 에러 정정 모드로 호칭). FIG. 9B illustrates signal arrangement when the signaling information of FIG. 9A is located in the data group of FIG. 7A. As the error correction mode for the data of the A region in the data group, when the SCCC mode of 1/2 code rate is used, 4 bytes of signaling information data illustrated in FIG. 9A and 4 bytes of duplicated signaling information thereof Data and 24 bytes of RS parity data may be included in the area A of the data group of 7a (hereinafter referred to as first error correction mode).

또는 데이터 그룹의 A 영역의 데이터에 대해 1/4 부호율의 SCCC 모드가 사용될 경우, 도 9의 (c)와 같이 4 바이트의 시그널링 정보 데이터, 12 바이트의 RS 패리티 데이터가 도 7a의 데이터 그룹의 A 영역에 포함될 수 있다(이하에서 제 2 에러 정정 모드로 호칭).Alternatively, when the SCCC mode of 1/4 code rate is used for the data in the A area of the data group, 4 bytes of signaling information data and 12 bytes of RS parity data as shown in (c) of FIG. It may be included in the area A (hereinafter referred to as a second error correction mode).

도 10은 도 9에서 예시한 도면이 시그널링 정보가 데이터 그룹 내에 배치된 예를 나타낸 도면이다. 도 9에서 예시한 시그널링 정보는 모바일 서비스 데이터와 다중화되어 A 영역 내에 포함되어 전송될 수 있다. 도 10은 다중화된 모바일 서비스 데이터와 시그널링 정보가 송신 시스템의 데이터 인터리버에서 인터리빙된 경우, 시그널링 정보의 위치를 예시한다. FIG. 10 is a diagram illustrating an example in which signaling information is arranged in a data group. The signaling information illustrated in FIG. 9 may be multiplexed with mobile service data and included in the A area to be transmitted. 10 illustrates the location of signaling information when multiplexed mobile service data and signaling information are interleaved in a data interleaver of a transmission system.

만약 도 9의 (b)에서 예시한 전송 파라미터를 포함하는 모바일 서비스 데이터가 제 1 에러 정정 모드(즉, 1/2 부호율)로 부호화된 후 인터리빙된 경우, 도 9의 (b)의 32 바이트 중 6 바이트는 A1 영역(필드 동기와 제 1 기지 데이터 영역 사이)에, 8 바이트는 A2 영역(제 1 기지 데이터와 제 2 기지 데이터 영역 사이)에 위치할 수 있다. 그리고, 도 9의 (b) 의 32 바이트 중 A3영역, A4영역, A5영역에는 각각 6 바이트의 전송 파라미터(일 예로, 그 전송 파라미터의 RS 패리티 포함)가 위치할 수 있다. 반면에 도 9의 (c)에서 예시한 전송 파라미터를 포함하는 모바일 서비스 데이터가 제 2 에러 정정 모드(즉, 1/4 부호율)로 부호화된 후 인터리빙된 경우, 도 9의 (c)의 16 바이트 중 3 바이트는 A1 영역(필드 동기와 제 1 기지 데이터 영역 사이)에, 4 바이트는 A2 영역(제 1 기지 데이터와 제 2 기지 데이터 영역 사이)에 각각 위치할 수 있다. 그리고, A3영역, A4영역, A5영역에는 도 9의 (c) 의 16 바이트 중 각각 3 바이트씩의 전송 파라미터(예, 그 전송 파라미터의 RS 패리티 포함)가 위치할 수 있다. If the mobile service data including the transmission parameter illustrated in (b) of FIG. 9 is interleaved after being encoded in the first error correction mode (that is, 1/2 code rate), 32 bytes of (b) of FIG. 6 bytes are located in the A1 area (between the field sync and the first known data area), and 8 bytes are located in the A2 area (between the first known data and the second known data area). In the 32 bytes of FIG. 9B, six bytes of transmission parameters (eg, RS parity of the transmission parameters) may be located in the A3 region, the A4 region, and the A5 region. On the other hand, when the mobile service data including the transmission parameter illustrated in (c) of FIG. 9 is interleaved after being encoded in the second error correction mode (that is, 1/4 code rate), 16 of FIG. Three bytes of the bytes may be located in the A1 area (between the field sync and the first known data area), and four bytes may be located in the A2 area (between the first known data and the second known data area). In the A3 region, the A4 region, and the A5 region, transmission parameters (eg, RS parity of the transmission parameters) of 3 bytes of the 16 bytes of FIG. 9C may be located.

방송 시스템 중 수신 시스템은 도 10에서 예시한 전송 파라미터의 위치를 송신 시스템과의 규정한 규칙에 따라 모바일 서비스 데이터 영역으로부터 얻을 수 있다. 그리고 수신 시스템은 SCCC 모드에 따른 복호화 이전에 도 8에서 예시한 기지 데이터 영역 또는 필드 동기 영역에 설정된 시그널링 정보를 획득하여 SCCC 복호화를 수행할 수 있다. 그리고, 수신 시스템은 도 9에서 예시한 시그널링 정보로부터 버스트에 관련된 정보를 획득하여 버스트에 포함된 신호만을 수신할 수도 있다.The receiving system of the broadcasting system can obtain the position of the transmission parameter illustrated in FIG. 10 from the mobile service data area according to a rule defined with the transmitting system. The receiving system may perform SCCC decoding by acquiring signaling information set in the known data area or the field synchronization area illustrated in FIG. 8 before decoding according to the SCCC mode. In addition, the receiving system may receive information related to the burst from the signaling information illustrated in FIG. 9 and receive only a signal included in the burst.

한편 상기 그룹 포맷터(304)의 출력은 데이터 디인터리버(305)로 입력되고, 상기 데이터 디인터리버(305)는 상기 그룹 포맷터(304)에서 출력되는 데이터 그룹 내 데이터 및 위치 홀더를 데이터 인터리빙의 역과정으로 디인터리빙하여 패킷 포맷터(306)로 출력한다. 즉, 도 7a와 같은 형태로 구성된 데이터 그룹 내 데이터 및 위치 홀더가 상기 데이터 디인터리버(305)에서 디인터리빙되면 패킷 포맷터(306)로 출력되는 데이터 그룹은 도 7b와 같은 구조를 갖게 된다. On the other hand, the output of the group formatter 304 is input to the data deinterleaver 305, the data deinterleaver 305 is a reverse process of data interleaving the data and position holder in the data group output from the group formatter 304 Deinterleaving is performed to output to the packet formatter 306. That is, when the data and position holder in the data group configured as shown in FIG. 7A are deinterleaved by the data deinterleaver 305, the data group output to the packet formatter 306 has a structure as shown in FIG. 7B.

상기 패킷 포맷터(306)는 디인터리빙되어 입력된 데이터 중에서 디인터리빙을 위해 할당되었던 메인 서비스 데이터 위치 홀더와 RS 패리티 위치 홀더를 제거하고, 나머지 부분들을 모은 후, 4바이트의 MPEG 헤더 위치 홀더에 널 패킷 PID(또는 메인 서비스 데이터 패킷에서 사용하지 않는 PID)를 갖는 MPEG 헤더를 대체하여 삽입한다. The packet formatter 306 removes the main service data location holder and the RS parity location holder which have been allocated for deinterleaving among the deinterleaved input data, collects the remaining parts, and then collects null packets in the 4-byte MPEG header location holder. Insert and replace the MPEG header with the PID (or PID not used in the main service data packet).

또한 상기 패킷 포맷터(306)는 상기 그룹 포맷터(304)에서 기지 데이터 위치 홀더를 삽입한 경우 상기 기지 데이터 위치 홀더에 실제 기지 데이터를 삽입할 수도 있고, 또는 나중에 대체 삽입하기 위하여 상기 기지 데이터 위치 홀더를 조정없이 그대로 출력할 수도 있다. The packet formatter 306 may also insert the actual known data into the known data position holder when the group formatter 304 inserts the known data position holder, or later inserts the known data position holder for replacement. You can output as is without adjustment.

그리고 나서 상기 패킷 포맷터(306)는 상기와 같이 패킷 포맷팅된 데이터 그룹 내 데이터들을 188바이트 단위의 모바일 서비스 데이터 패킷(즉, MPEG TS 패킷)으로 구분하여 패킷 다중화기(240)에 제공한다.The packet formatter 306 then divides the data in the packet-formatted data group into mobile service data packets (ie, MPEG TS packets) in units of 188 bytes and provides them to the packet multiplexer 240.

상기 패킷 다중화기(240)는 상기 전처리기(230)에서 출력되는 모바일 서비스 데이터 패킷과 패킷 지터 경감기(220)에서 출력되는 메인 서비스 데이터 패킷을 기 정의된 다중화 방법에 따라 다중화하여 후처리기(Post-Processor)(250)의 데이터 랜더마이저(251)로 출력한다. 상기 다중화 방법은 시스템 설계의 여러 변수들에 의해서 조정이 가능하다. The packet multiplexer 240 multiplexes the mobile service data packet output from the preprocessor 230 and the main service data packet output from the packet jitter reducer 220 according to a predefined multiplexing method. Output to the data renderer 251 of the processor 250. The multiplexing method can be adjusted by various variables of the system design.

상기 패킷 다중화기(240)의 다중화 방법 중 하나로서, 시간축 상으로 버스트(burst) 구간을 두고, 버스트 구간 내 버스트 온 구간에서는 다수개의 데이터 그룹을 전송하고 버스트 오프 구간에서는 메인 서비스 데이터만을 전송하도록 할 수 있다. 여기서 버스트 구간은 현재 버스트의 시작에서 다음 버스트의 시작까지를 의미한다. As one of multiplexing methods of the packet multiplexer 240, a burst section is provided on a time axis, and a plurality of data groups are transmitted in a burst on section within a burst section, and only main service data is transmitted in a burst off section. Can be. The burst period here means from the start of the current burst to the start of the next burst.

이때 상기 버스트 온 구간에서는 메인 서비스 데이터를 전송할 수도 있다. 상기 패킷 다중화기(240)는 상기 전송 파라미터 예를 들어, 버스트 사이즈나 버스트 주기 등의 정보를 참조하여 하나의 버스트에 포함되는 데이터 그룹의 개수, 주기 등을 알 수 있다. In this case, the main service data may be transmitted in the burst on period. The packet multiplexer 240 may know the number, period, etc. of data groups included in one burst with reference to the transmission parameter, for example, a burst size or a burst period.

이때 버스트 온 구간에서는 모바일 서비스 데이터 및 메인 서비스 데이터가 혼재할 수 있으며, 버스트 오프 구간에서는 메인 서비스 데이터만 존재한다. 따라서 메인 서비스 데이터를 전송하는 메인 서비스 데이터 구간은 버스트 온 구간과 버스트 오프 구간에 모두 존재할 수 있다. 이때 버스트 온 구간 내 메인 서비스 데이터 구간과 버스트 오프 구간에 포함되는 메인 서비스 데이터 패킷 수는 서로 다를 수도 있고, 같을 수도 있다.In this case, the mobile service data and the main service data may be mixed in the burst on section, and only the main service data exists in the burst off section. Therefore, the main service data section for transmitting the main service data may exist in both the burst on section and the burst off section. In this case, the number of main service data packets included in the main service data section and the burst off section in the burst on section may be different or the same.

상기와 같이 모바일 서비스 데이터를 버스트 구조로 전송하게 되면 모바일 서비스 데이터만을 수신하는 수신 시스템에서는 버스트 구간에서만 전원을 온시켜 데이터를 수신하고 그 외 메인 서비스 데이터만 전송되는 구간에서는 전원을 오프시켜 메인 서비스 데이터를 수신하지 않도록 함으로써, 수신 시스템의 소모 전력을 줄일 수가 있다. 이러한 특성은 전력 소모가 적어야하는 휴대용 수신기에서 특히 유용하다. As described above, when the mobile service data is transmitted in a burst structure, the receiving system receiving only the mobile service data turns on power only in the burst section to receive the data, and turns off the power in the section where only the main service data is transmitted. By not receiving, the power consumption of the receiving system can be reduced. This feature is particularly useful in portable receivers that require low power consumption.

도 11의 (a),(b)는 상기 패킷 다중화기에서 버스트 단위로 다중화하는 방법의 일 실시예를 설명한 것이다. 상기 도 11에서 데이터 그룹(group)은 연속된 다수 개의 모바일 서비스 데이터 패킷들로 구성되며, 다수개의 데이터 그룹이 모여서 하나의 버스트 온 구간을 형성한다. 11 (a) and 11 (b) illustrate an embodiment of a method of multiplexing on a burst basis in the packet multiplexer. In FIG. 11, a data group is composed of a plurality of consecutive mobile service data packets, and a plurality of data groups are gathered to form one burst on period.

설명의 편의를 위해 도 11의 (a),(b)에서 하나의 버스트 온 구간은 하나의 서비스에 따른 프로그램을 포함한다고 가정한다.For convenience of description, it is assumed that one burst-on period in FIGS. 11A and 11B includes a program according to one service.

도 11의 (a),(b)에서 TNB(Time to Next Burst)은 현재 버스트(burst1) 내 각 데이터 그룹에서 다음 버스트(burst2)의 시작 시간까지의 시간을 의미한다. In FIGS. 11A and 11B, TNB (Time to Next Burst) means a time until the start time of the next burst Burst2 in each data group in the current burst Burst1.

본 발명에서는 현재 버스트 내의 각 데이터 그룹마다 다음 버스트 시간(TNB)을 삽입하여 전송하며, 이러한 다음 버스트 시간은 데이터 그룹의 어떤 정해진 영역에 삽입되도록 한다. 일 예로, 상기 다음 버스트 시간(TNB) 정보는 도 8, 도 9에서와 같이 제1 기지 데이터 영역의 제4 기지 데이터 패턴 영역에 시그널링 정보로서 삽입될 수 있다. In the present invention, the next burst time (TNB) is inserted and transmitted for each data group in the current burst, and the next burst time is inserted into a predetermined area of the data group. For example, the next burst time (TNB) information may be inserted as signaling information in a fourth known data pattern region of the first known data region as shown in FIGS. 8 and 9.

상기 도 11의 (a)를 보면 알 수 있듯이 현재 버스트(burst1)의 데이터 그룹 G1에서 G2, G3로 가면서 다음 버스트 시간(TNB)이 계속 감소함을 알 수 있다(TNBG1>TNBG2>TNBG3). 이때 상기 다음 버스트 시간(TNB)을 매 데이터 그룹 내에 반복적으로 삽입하는 이유는 수신 시스템에서 특정 데이터 그룹의 수신에 오류가 발생하더라도 다른 데이터 그룹의 수신을 통하여 다음 버스트 시간을 알아낼 수 있게 하기 위함이다.As can be seen from (a) of FIG. 11, it can be seen that the next burst time TNB continues to decrease from data group G1 of the current burst 1 to G2 and G3 (TNBG1> TNBG2> TNBG3). In this case, the reason why the next burst time TNB is repeatedly inserted into each data group is to allow the receiving system to determine the next burst time through reception of another data group even when an error occurs in the reception of a specific data group.

도 12의 (a) 내지 (c)는 상기 패킷 다중화기에서 버스트 단위로 다중화하는 방법의 다른 실시예를 설명한 것이다. 12 (a) to 12 (c) illustrate another embodiment of a method of multiplexing on a burst basis in the packet multiplexer.

도 12의 (a) 내지 (c)에서는 두 종류의 모바일 서비스 데이터가 메인 데이터 패킷과 다중화되는 실시예를 보여주고 있다.12 (a) to 12 (c) show an embodiment in which two types of mobile service data are multiplexed with a main data packet.

상기 도 12의 (a) 내지 (c)에서 제1 모바일 서비스를 제공하는 모바일 서비스 데이터는 mo1, 제2 모바일 서비스를 제공하는 모바일 서비스 데이터는 mo2로 표시하기로 한다. 즉, mo1, mo2는 각각 제1 모바일 서비스의 데이터 그룹 및 제2 모바일 서비스의 데이터 그룹을 의미한다. 도 12를 보면 알 수 있듯이 제1 모바일 서비스의 데이터(mo1) 및 제2 모바일 서비스의 데이터(mo2)는 각각 데이터 그룹 단위로 다중화되어 전송되고 있으며, 버스트 구간은 각 모바일 서비스 종류마다 독립적으로 적용됨을 알 수 있다. 즉, 데이터 그룹 G1, G2, G3, G4 중에서 G1과 G3는 제1 모바일 서비스의 데이터 그룹이고, G2와 G4는 제2 모바일 서비스의 데이터 그룹이므로, 제1 모바일 서비스의 버스트 구간은 G1의 시작 시점부터 G3의 끝까지의 구간이며 제2 모바일 서비스의 버스트 구간은 G2의 시작 시점부터 G4의 끝까지의 구간이다. 이와 같이 제1 모바일 서비스의 버스트와 제2 모바일 서비스의 버스트 구간이 서로 독립적이므로, 각 데이터 그룹에 삽입되는 다음 버스트 시간(TNB)은 그 데이터 그룹의 모바일 서비스 종류에 따라 각기 다르게 적용된다.In FIGS. 12A to 12C, mobile service data providing a first mobile service is represented by mo1, and mobile service data providing a second mobile service is represented by mo2. That is, mo1 and mo2 denote data groups of the first mobile service and data groups of the second mobile service, respectively. As can be seen from FIG. 12, the data mo1 of the first mobile service and the data mo2 of the second mobile service are each multiplexed and transmitted in data group units, and the burst period is independently applied to each type of mobile service. Able to know. That is, among the data groups G1, G2, G3, and G4, G1 and G3 are data groups of the first mobile service, and G2 and G4 are data groups of the second mobile service, so that the burst period of the first mobile service is the start time of G1. To the end of G3 and the burst period of the second mobile service is a period from the start of G2 to the end of G4. As described above, since the burst of the first mobile service and the burst period of the second mobile service are independent of each other, the next burst time (TNB) inserted into each data group is applied differently according to the mobile service type of the data group.

다시 말해서 제1 모바일 서비스의 데이터 그룹 G1과 G3에 삽입되는 다음 버스트 시간(TNBG1,TNBG3)은 다음 제1 모바일 서비스의 버스트의 시작 시점까지의 시간을 의미하며, 제2 모바일 서비스의 데이터 그룹 G2와 G4에 삽입되는 다음 버스트 시간(TNBG2,TNBG4)은 다음 제2 모바일 서비스의 버스트의 시작 시점까지의 시간을 의미한다.In other words, the next burst times TNBG1 and TNBG3 inserted into the data groups G1 and G3 of the first mobile service mean the time until the start of the burst of the next first mobile service, and the data group G2 of the second mobile service. The next burst times TNBG2 and TNBG4 inserted into G4 mean time until the start of the burst of the next second mobile service.

그리고 상기 다음 버스트 시간(TNB), 각 데이터 그룹의 길이, 버스트 내에서 현재 그룹에서 다음 그룹까지의 시간, 버스트의 길이 등의 각종 전송 파라미터(parameter)는 어떤 정해진 값들을 사용할 수도 있고, 실시간으로 가변인 값을 사용할 수도 있다. 일 예로, 상기 전송 파라미터는 도 8, 도 9에서와 같이 제1 기지 데이터 영역의 제4 기지 데이터 패턴 영역에 시그널링 정보로서 삽입될 수 있다. The various transmission parameters such as the next burst time (TNB), the length of each data group, the time from the current group to the next group in the burst, the length of the burst, etc. may use any predetermined values and vary in real time. You can also use the value of. For example, the transmission parameter may be inserted as signaling information in the fourth known data pattern region of the first known data region as shown in FIGS. 8 and 9.

RSRS 프레임 구성 및 패킷 다중화에 관련된 구체적인  Specific to frame composition and packet multiplexing 실시예Example

다음은 전처리기(230)와 패킷 다중화기(240)의 구체적인 실시예에 대해서 설명한다. Next, specific embodiments of the preprocessor 230 and the packet multiplexer 240 will be described.

본 발명에서는 일 실시예로, RS 프레임 부호기(302)에서 구성되는 RS 프레임의 한 로우의 길이인 N 값을 538로 설정한다. In an embodiment of the present invention, an N value, which is the length of one row of the RS frame configured in the RS frame encoder 302, is set to 538.

그러면 상기 RS 프레임 부호기(302)는 538개의 트랜스포트 스트림(TS) 패킷을 입력받아 538 * 187 바이트 크기의 제1 RS 프레임을 구성할 수 있다. 이후 전술한 바와 같이 (235,187)-RS 부호화를 거쳐 538 * 235 바이트 크기의 제2 RS 프레임을 형성하고, 다시 16-비트 CRC 체크섬 생성 과정을 거쳐서 540 * 235 바이트 크기의 제3 RS 프레임을 형성하게 된다. Then, the RS frame encoder 302 may receive 538 transport stream (TS) packets to configure a first RS frame having a size of 538 * 187 bytes. Then, as described above, a second RS frame having a size of 538 * 235 bytes is formed through (235,187) -RS encoding, and a third RS frame having a size of 540 * 235 bytes is formed again through a 16-bit CRC checksum generation process. do.

예를 들어, 상기 A 영역 내 A1~A5 영역에 삽입될 모바일 서비스 데이터는 블록 처리기(303)에서 1/2 부호율로 부호화를 수행하고, 상기 B 영역 내 B1,B2 영역에 삽입될 모바일 서비스 데이터는 블록 처리기(303)에서 1/4 부호율로 부호화를 수행한다고 가정하자. 또한, 상기 A,B 영역에 삽입되는 모바일 서비스 데이터는 동일한 종류라고 가정한다.For example, the mobile service data to be inserted in the areas A1 to A5 in the area A is encoded by the block processor 303 at a 1/2 code rate, and the mobile service data to be inserted in the areas B1 and B2 in the area B. Suppose that the block processor 303 performs encoding at a 1/4 code rate. In addition, it is assumed that the mobile service data inserted into the A and B areas are the same type.

그러면 도 7a에서와 같이 데이터 그룹 내 다수개의 영역들 중에서 1/2 부호화를 거친 모바일 서비스 데이터를 삽입하게 될 A 영역 내 A1-A5 영역의 바이트 수를 합치면 13024 바이트(=2428+2580+2772+2472+2772 바이트)이다. 이 경우 1/2 부호화 전의 바이트 수는 6512(=13024/2) 바이트이다. Then, as shown in FIG. 7A, when the number of bytes of the area A1-A5 in the area A, into which the 1 / 2-encoded mobile service data is to be inserted, is 13024 bytes (= 2428 + 2580 + 2772 + 2472). +2772 bytes). In this case, the number of bytes before 1/2 encoding is 6512 (= 13024/2) bytes.

그리고 1/4 부호화를 거친 모바일 서비스 데이터를 삽입하게 될 B 영역 내 B1,B2 영역의 바이트 수를 합치면 2280(=930+1350) 바이트가 된다. 이 경우 1/4 부호화 전의 바이트 수는 570(=2280/4) 바이트이다. The number of bytes in the B1 and B2 areas in the B area into which the 1 / 4-coded mobile service data is to be inserted is 2280 (= 930 + 1350) bytes. In this case, the number of bytes before 1/4 encoding is 570 (= 2280/4) bytes.

정리하면, 상기 블록 처리기(303)로 7082 바이트의 모바일 서비스 데이터가 입력되면, 이 중 6512 바이트는 1/2 부호화를 통해서 13024 바이트로 확장되고, 570 바이트는 1/4 부호화를 통해서 2280 바이트로 확장되게 한다. 그리고 상기 그룹 포맷터(304)는 13024 바이트로 확장된 모바일 서비스 데이터는 A 영역 내 A1~A5 영역에 삽입하고, 2280 바이트로 확장된 모바일 서비스 데이터는 B 영역 내 B1,B2 영역에 삽입한다. In summary, when 7082 bytes of mobile service data are input to the block processor 303, 6512 bytes of which are extended to 13024 bytes through 1/2 encoding, and 570 bytes to 2280 bytes through 1/4 encoding. To be. The group formatter 304 inserts the mobile service data extended to 13024 bytes into the areas A1 to A5 in the area A, and the mobile service data extended to 2280 bytes is inserted into the areas B1 and B2 in the B area.

이때 상기 블록 처리기(303)로 입력되는 7082 바이트의 모바일 서비스 데이터는 RS 프레임 부호기(302)의 출력과 시그널링 정보로 구분할 수가 있다. 본 발명에서는 7082 바이트 중 7050 바이트는 RS 프레임 부호기(302)의 출력에서 받아들이고, 나머지 32 바이트는 시그널링 정보 데이터를 입력받아 1/2 부호화 또는 1/4 부호화를 수행하는 것을 일 실시예로 한다. In this case, the 7082 bytes of mobile service data input to the block processor 303 may be classified into an output of the RS frame encoder 302 and signaling information. According to the embodiment of the present invention, 7050 bytes of the 7082 bytes are received at the output of the RS frame encoder 302, and the remaining 32 bytes are inputted with signaling information data to perform 1/2 encoding or 1/4 encoding.

한편 RS 프레임 부호기(302)에서 RS 부호화 및 CRC 부호화를 거친 한 개의 RS 프레임은 540 * 235 바이트 즉, 126900 바이트로 구성이 되어 있다. 이것을 시간축에 대해 7050 바이트 단위로 나누면, 18개의 7050 바이트로 구분된다. On the other hand, one RS frame that has undergone RS coding and CRC coding in the RS frame encoder 302 is composed of 540 * 235 bytes, that is, 126900 bytes. Dividing this by 7050 bytes for the time base divides it into 18 7050 bytes.

그리고 상기 RS 프레임 부호기(302)에서 출력되는 7050 바이트 단위의 모바일 서비스 데이터는 32 바이트 단위의 시그널링 정보 데이터와 합쳐진 후 블록 처리기(303)에서 1/2 부호화 또는 1/4 부호화되어 그룹 포맷터(304)로 출력된다. 상기 그룹 포맷터(304)는 1/2 부호화된 데이터는 A 영역에 삽입하고, 1/4 부호화된 데이터는 B 영역에 삽입한다. The 7050-byte mobile service data output from the RS frame encoder 302 is combined with 32-byte signaling information data and then half-coded or quarter-coded by the block processor 303 to be group-formatter 304. Is output. The group formatter 304 inserts half-coded data into the A region and inserts 1 / 4-coded data into the B region.

다음은 RS 프레임 부호기(302)에서 RS 프레임을 형성하는데 필요한 N 값을 결정하는 과정을 설명한다. Next, a process of determining an N value required to form an RS frame in the RS frame encoder 302 will be described.

즉, 상기 RS 프레임 부호기(302)에서 RS 부호화 및 CRC 부호화된 최종 RS 프레임(즉, 제3 RS 프레임) 크기인 (N+2) * 235 바이트는 정수개의 그룹에 할당이 되어야 한다. 이때 단일 데이터 그룹에는 부호화 전을 기준으로 7050 바이트가 할당이 되기 때문에, (N+2) * 235 바이트를 7050(=30*235)으로 나누어 떨어지도록 하면, RS 프레임 부호기(302)의 출력 데이터를 효율적으로 데이터 그룹에 할당하게 할 수가 있다. 본 발명에서는 N+2가 30의 배수가 되도록 N 값을 결정하는 것을 일 실시예로 한다. 본 발명에서는 N 값으로 538을 결정하고, N+2(=540)를 30으로 나누면 18이 된다. 이것은 하나의 RS 프레임 내 모바일 서비스 데이터는 1/2 부호화 또는 1/4 부호화 과정을 거쳐 18개의 데이터 그룹에 나누어 할당됨을 의미한다. That is, (N + 2) * 235 bytes, which is the size of the last RS frame (that is, the third RS frame) RS-coded and CRC-coded in the RS frame encoder 302, must be allocated to an integer number of groups. At this time, since 7050 bytes are allocated to a single data group before encoding, if (N + 2) * 235 bytes are divided into 7050 (= 30 * 235), the output data of the RS frame encoder 302 is divided. It can be efficiently assigned to a data group. In an embodiment of the present invention, the value of N is determined such that N + 2 is a multiple of 30. In the present invention, 538 is determined by the N value, and N + 2 (= 540) divided by 30 gives 18. This means that mobile service data in one RS frame is divided into 18 data groups through 1/2 encoding or 1/4 encoding.

도 13은 본 발명에 따른 그룹 포맷터(304)에서 RS 프레임을 분할하는 과정을 도시한 것이다. 즉, (N+2) * 235 크기를 갖는 RS 프레임을 30*235 바이트 블록으로 나눈다. 그리고 나누어진 각 블록은 하나의 데이터 그룹에 매핑된다. 즉, 30*235 바이트 크기를 갖는 하나의 블록의 데이터는 1/2 부호화 또는 1/4 부호화 과정을 거쳐 하나의 데이터 그룹에 삽입된다. 13 shows a process of dividing an RS frame in the group formatter 304 according to the present invention. That is, an RS frame having a size of (N + 2) * 235 is divided into 30 * 235 byte blocks. Each divided block is mapped to one data group. That is, data of one block having a size of 30 * 235 bytes is inserted into one data group through 1/2 encoding or 1/4 encoding.

또 다른 예로, 상기 C 영역에 삽입될 모바일 서비스 데이터는 블록 처리기(303)에서 1/2 부호율로 부호화를 수행하고, 상기 C 영역에 삽입될 모바일 서비스 데이터는 상기 A,B 영역에 삽입하는 모바일 서비스와 다른 종류의 데이터라고 가정하자. As another example, the mobile service data to be inserted into the C region is encoded by the block processor 303 at a 1/2 code rate, and the mobile service data to be inserted into the C region is inserted into the A and B regions. Suppose it is a different kind of data than a service.

그러면 도 7a에서와 같이 데이터 그룹 내 다수개의 영역들 중에서 1/2 부호화를 거친 모바일 서비스 데이터를 삽입하게 될 C 영역 내 C1-C3 영역의 바이트 수를 합치면 4144 바이트(=1272+1560+1312 바이트)이다. 이 경우 1/2 부호화 전의 바이트 수는 2072(=4144/2) 바이트이다. Then, as shown in FIG. 7A, when the number of bytes of the C1-C3 region in the C region, into which the 1 / 2-encoded mobile service data is to be inserted, is 4144 bytes (= 1272 + 1560 + 1312 bytes), as shown in FIG. 7A. to be. In this case, the number of bytes before 1/2 encoding is 2072 (= 4144/2) bytes.

이때 18개의 데이터 그룹을 모아 하나의 RS 프레임을 구성하고, 상기 RS 프레임의 모바일 서비스 데이터를 C 영역에 삽입한다고 가정하면, 상기 RS 프레임은 37296 바이트로 구성된다. 여기에서 RS 패리티(P)를 36으로 설정하고 각 로우당 CRC 체크섬을 2 바이트로 할당하면, 한 개의 RS 프레임에서 187 바이트의 모바일 서비스 데이터 패킷을 165개 전송할 수 있게 된다. In this case, assuming that 18 data groups are collected to form one RS frame, and the mobile service data of the RS frame is inserted into the C region, the RS frame is composed of 37296 bytes. Here, if the RS parity (P) is set to 36 and the CRC checksum is allocated to 2 bytes for each row, 165 mobile service data packets of 187 bytes can be transmitted in one RS frame.

이 경우, 데이터 그룹 내 C 영역은 매 RS 프레임당 55 바이트가 남게 된다. 상기와 같이 바이트가 남는 경우는 RS 프레임을 동일한 크기의 다수개의 데이터 그룹으로 구분하면서 발생할 수 있다. 즉, RS 프레임의 크기, 구분되는 데이터 그룹의 크기와 개수, 각 데이터 그룹에 삽입 가능한 모바일 서비스 데이터 바이트 수, 해당 영역의 부호율, RS 패리티의 바이트 수, CRC 체크섬의 할당 여부, 및 할당되는 경우 CRC 체크섬의 바이트 수 등에 따라 매 RS 프레임당 특정 영역에서 남는 바이트가 발생할 수 있다. In this case, 55 bytes remain in each C frame in the C region of the data group. If the byte remains as described above may occur while dividing the RS frame into a plurality of data groups of the same size. That is, the size of the RS frame, the size and number of data groups to be distinguished, the number of mobile service data bytes that can be inserted into each data group, the code rate of the corresponding area, the number of bytes of RS parity, whether CRC checksums are allocated, and Depending on the number of bytes of the CRC checksum, the remaining bytes may occur in a specific area per RS frame.

그리고 상기와 같이 하나의 RS 프레임을 동일한 크기를 갖는 다수개의 데이터 그룹으로 구분할 때 해당 RS 프레임에서 남는 바이트가 발생하는 경우, 해당 RS 프레임에 남는 바이트의 수(K)만큼 더미 바이트를 추가한 후 다수개의 데이터 그룹으로 구분한다.When a single RS frame is divided into a plurality of data groups having the same size as described above, when bytes remaining in the RS frame are generated, a plurality of dummy bytes are added after the number of bytes (K) remaining in the RS frame. Separate into three data groups.

이러한 과정을 도 14에 도시하였다. This process is illustrated in FIG. 14.

도 14는 (N+2) * (187+P) 크기의 RS 프레임을 동일한 크기를 갖는 M개의 데이터 그룹으로 구분하려 할 때, K개의 바이트가 남는 경우의 처리 과정의 일 실시예를 보이고 있다. 14 illustrates an embodiment of a process in which K bytes remain when an RS frame having a size of (N + 2) * (187 + P) is divided into M data groups having the same size.

이러한 경우, 도 14의 (a)와 같이 (N+2) * (187+P) 크기의 RS 프레임에 K개의 더미 바이트를 추가한 후, 로우 단위로 읽어 와 도 14의 (b)와 같이 M개의 데이터 그룹으로 구분한다. 이때 각 데이터 그룹은 모두 NoBytesPerGrp 바이트 크기를 갖는다. In this case, after adding K dummy bytes to the RS frame having a size of (N + 2) * (187 + P) as shown in FIG. 14A, it is read in rows and read as M as shown in FIG. 14B. Separate into three data groups. Each data group has a NoBytesPerGrp byte size.

이를 수식으로 나타내면 하기의 수학식 3과 같다. This is represented by the following equation (3).

M * NoBytesPerGrp = (N+2)*(187+P)+KM * NoBytesPerGrp = (N + 2) * (187 + P) + K

여기서 상기 NoBytesPerGrp는 하나의 데이터 그룹에 할당되는 바이트의 수이다(NoBytesPerGrp means the Number of Bytes per a Group).Here, NoBytesPerGrp is the number of bytes allocated to one data group (NoBytesPerGrp means the Number of Bytes per a Group).

즉, 하나의 RS 프레임의 바이트+K 바이트의 크기와 M개의 데이터 그룹의 바이트 크기가 같음을 의미한다. That is, the size of bytes + K bytes of one RS frame is the same as that of M data groups.

지금까지 설명한 방법 및 모드로 모바일 서비스 데이터를 전송한다면, 상기 전처리기(230)의 데이터 랜더마이저(301)는 데이터 그룹 내 A,B 영역에 할당할 데이터가 입력되는 제1 모바일 서비스 데이터 경로로 538개의 패킷을, 제2 모바일 서비스 데이터 경로로 165개의 패킷을 입력받을 수 있다. If the mobile service data is transmitted in the method and mode described so far, the data randomizer 301 of the preprocessor 230 is a first mobile service data path in which data to be allocated to the A and B areas of the data group is input. Packets, 165 packets may be input to the second mobile service data path.

이를 위해 상기 데이터 랜더마이저와 RS 프레임 부호기는 각각 복수개 구비할 수 있다. 그러면 제1 모바일 서비스 데이터 경로로 입력되는 538개의 패킷과 제 2 모바일 서비스 데이터 경로로 입력되는 165개의 패킷은 복수개의 데이터 랜더마이저에서 각각 랜더마이징되고, 복수개의 RS 프레임 부호기에서 각각 RS 프레임 단위의 부호화와 수퍼 프레임 단위의 로우 섞음이 수행된 후 다시 RS 프레임 단위로 구분되어 블록 처리기(303)로 입력된다.To this end, a plurality of data randomizers and RS frame encoders may be provided. Then, 538 packets inputted to the first mobile service data path and 165 packets inputted to the second mobile service data path are each randomized by the plurality of data renderers, and each RS frame encoder encodes each of the RS frames. After row mixing is performed in units of and super frames, the signals are divided into RS frames and inputted to the block processor 303.

일 예로, 제1 모바일 서비스 데이터 경로를 통해 입력되는 데이터를 부호화하는 RS 프레임 부호기는 해당 RS 프레임에 대해 컬럼 방향으로 48개의 패리티 바이트를 부가하고, 로우 방향으로 2 바이트의 CRC 체크섬을 부가한다. 그리고 제2 모바일 서비스 데이터 경로를 통해 입력되는 데이터를 부호화하는 RS 프레임 부호기는 해당 RS 프레임에 대해 36개의 패리티 바이트를 부가하고, 로우 방향으로 2 바이트의 CRC 체크섬을 부가한다. For example, the RS frame encoder encoding data input through the first mobile service data path adds 48 parity bytes in the column direction and a CRC checksum of 2 bytes in the row direction for the corresponding RS frame. The RS frame encoder for encoding data input through the second mobile service data path adds 36 parity bytes for the corresponding RS frame, and adds a 2-byte CRC checksum in the row direction.

상기 블록 처리기(303)는 일 예로, A,C 영역에 할당할 데이터에 대해서는 1/2 부호화를 수행하고, B 영역에 할당할 데이터에 대해서는 1/4 부호화를 수행하여 그룹 포맷터(304)로 출력한다. For example, the block processor 303 performs 1/2 encoding on data to be allocated to the A and C regions, and performs 1/4 encoding on data to be allocated to the B regions and outputs the data to the group formatter 304. do.

이때 전술한 것처럼 데이터 그룹 내 C 영역은 매 RS 프레임당 55 바이트가 남게 되므로, 상기 블록 처리기(303)는 C 영역에 할당할 RS 프레임의 데이터가 모두 입력되면 55 바이트의 더미 바이트를 추가한 후 1/2 부호화를 수행한다. 상기 더미 바이트의 추가는 블록 처리기(303)에서 수행할 수도 있고, 외부 블록(도시되지 않음)에서 입력받을 수도 있다. In this case, as described above, since the C region in the data group has 55 bytes remaining for every RS frame, the block processor 303 adds a dummy byte of 55 bytes when all data of the RS frame to be allocated to the C region is input. Perform the / 2 encoding. The addition of the dummy byte may be performed by the block processor 303 or may be input from an external block (not shown).

상기 그룹 포맷터(304)에서는 1/2 부호화 또는 1/4 부호화되어 입력된 모바일 서비스 데이터와 기타 데이터들(예를 들어, MPEG 헤더 위치 홀더, 비체계적 RS 패리티 위치 홀더, 메인 서비스 데이터 위치 홀더, 기지 데이터나 기지 데이터 위치 홀더, 초기화 데이터 위치 홀더등)을 도 7a의 데이터 그룹 내 해당 영역에 삽입(또는 배치)한다. 예를 들어, 제1 모바일 서비스 데이터 경로로 입력되어 1/2 부호율 또는 1/4 부호율로 부호화된 모바일 서비스 데이터는 A,B 영역에 삽입하고, 제2 모바일 서비스 데이터 경로로 입력되어 1/2 부호율로 부호화된 모바일 서비스 데이터는 C 영역에 삽입한다.In the group formatter 304, the mobile service data and other data inputted with 1/2 encoding or 1/4 encoding (for example, an MPEG header position holder, an unstructured RS parity position holder, a main service data position holder, a base) Data, known data position holder, initialization data position holder, etc.) are inserted (or arranged) in the corresponding area in the data group of FIG. 7A. For example, mobile service data that is input to the first mobile service data path and encoded at 1/2 code rate or 1/4 code rate is inserted into the A and B areas, and is input to the second mobile service data path to 1 / Mobile service data encoded at two code rates is inserted in the C region.

그리고 상기와 같이 그룹 포맷터(304)에서 계층화된 각 영역에 해당 데이터 및 위치 홀더가 삽입된 데이터 그룹은 데이터 디인터리버(305)와 패킷 포맷터(306)를 거쳐 패킷 다중화기(240)로 입력된다. As described above, the data group in which the corresponding data and the position holder are inserted in each layered area in the group formatter 304 is input to the packet multiplexer 240 through the data deinterleaver 305 and the packet formatter 306.

도 15는 본 발명의 구체적인 실시예에 따른 패킷 다중화기(240)의 동작 예를 보인 것이다. 즉, 상기 패킷 다중화기(240)에서는 데이터 그룹을 포함하는 필드들과 메인 서비스 데이터만 포함하는 필드들을 버스트 구조로 다중화하여 데이터 랜더마이저(251)로 출력한다. 본 발명에서는 데이터 그룹을 포함하는 필드들은 버스트 온 구간에 전송하고, 메인 서비스 데이터만 포함하는 필드들을 버스트 오프 구간에 전송한다. 이때 상기 버스트 온 구간에서는 메인 서비스 데이터를 전송할 수도 있다. 15 illustrates an operation of the packet multiplexer 240 according to a specific embodiment of the present invention. That is, the packet multiplexer 240 multiplexes fields including data groups and fields including only main service data in a burst structure and outputs the data to the data randomizer 251. In the present invention, fields including the data group are transmitted in the burst on period, and fields including only the main service data are transmitted in the burst off period. In this case, the main service data may be transmitted in the burst on period.

이때, 540 * 235 바이트 크기를 갖는 한 개의 RS 프레임을 전송하기 위해서는 18개의 데이터 그룹을 전송해야 한다. 여기서 각 데이터 그룹은 도 7a와 같이 필드 동기를 포함한다. 그러므로 18개의 데이터 그룹은 18 필드 구간 동안 전송되며, 상기 18개의 데이터 그룹이 전송되는 구간이 버스트 온 구간이다.In this case, in order to transmit one RS frame having a size of 540 * 235 bytes, 18 data groups must be transmitted. Here, each data group includes field synchronization as shown in FIG. 7A. Therefore, 18 data groups are transmitted during 18 field periods, and the period in which the 18 data groups are transmitted is a burst on period.

상기 버스트 온 구간 내 각 필드에서는 필드 동기를 포함하는 하나의 데이터 그룹과 메인 서비스 데이터가 다중화되어 출력된다. 일 실시예로 상기 버스트 온 구간 내 각 필드에서는 118 세그먼트 크기의 데이터 그룹과 194 세그먼트 크기의 메인 서비스 데이터가 다중화되어 출력된다.In each field in the burst-on period, one data group including field synchronization and main service data are multiplexed and output. In an embodiment, each field within the burst on period is multiplexed with a data group of 118 segments and main service data of 194 segments.

도 15를 보면, 버스트(burst) 온 구간 동안 즉, 18 필드 구간 동안은 18개의 데이터 그룹이 포함된 필드를 전송하고, 그 다음 버스트 오프 구간 즉, 12 필드 구간 동안은 메인 서비스 데이터만으로 구성된 필드를 전송하게 된다. 이후 다시 버스트 온 구간에서는 18개의 데이터 그룹이 포함된 18 필드를 전송하고, 다음 버스트 오프 구간에서는 메인 서비스 데이터만으로 구성된 12 필드를 전송한다. Referring to FIG. 15, a field including 18 data groups is transmitted during a burst on period, that is, an 18 field period, and then a field including only main service data during a burst off period, that is, a 12 field period. Will be sent. After that, 18 fields including 18 data groups are transmitted in the burst on period, and 12 fields including only main service data are transmitted in the next burst off period.

그리고 본 발명은 첫번째 18개의 데이터 그룹을 포함한 버스트 온 구간과 두 번째 18개의 데이터 그룹을 포함한 버스트 온 구간에서 같은 종류의 데이터 서비스를 제공할 수도 있고, 서로 다른 데이터 서비스를 전송할 수도 있다. In addition, the present invention may provide the same type of data service or may transmit different data services in the burst on period including the first 18 data groups and the burst on period including the second 18 data groups.

예를 들어, 도 15의 첫 번째 버스트 온 구간과 두 번째 버스트 온 구간에서 서로 다른 데이터 서비스를 전송하고, 수신 시스템에서는 하나의 데이터 서비스만 수신하기를 원한다고 가정하자. 이러한 경우 수신 시스템에서는 원하는 데이터 서비스를 포함하는 해당 버스트 온 구간에서만 전원을 온시켜 18개의 필드를 수신하고, 나머지 42개의 필드 구간 동안에는 전원을 오프시켜 수신하지 않도록 함으로써, 수신 시스템의 소모 전력을 줄일 수 있게 된다. 또한 수신 시스템에서는 하나의 버스트 온 구간에서 수신된 18개의 데이터 그룹으로부터 하나의 RS 프레임을 구성할 수 있으므로 디코딩이 용이해지는 잇점이 있다. For example, suppose that the first burst on period and the second burst on period of FIG. 15 transmit different data services, and the receiving system wants to receive only one data service. In this case, the receiving system can reduce the power consumption of the receiving system by turning on the power only in the corresponding burst on period including the desired data service and receiving 18 fields, and turning off the power for the remaining 42 field periods. Will be. In addition, the receiving system can configure one RS frame from 18 data groups received in one burst-on period, so that decoding is easy.

본 발명에서 하나의 버스트 온 구간에 포함되는 데이터 그룹의 수는 RS 프레임의 크기에 따라 달라지며, 상기 RS 프레임의 크기는 N 값에 따라 달라진다. 즉, N 값을 조정하여 버스트 내 데이터 그룹 수를 조정할 수 있다. 이때 (235,187)-RS 부호화는 고정된 상태에서 상기 N 값을 조정하는 것을 일 실시예로 한다. In the present invention, the number of data groups included in one burst on interval depends on the size of the RS frame, and the size of the RS frame depends on the value of N. That is, the number of data groups in the burst can be adjusted by adjusting the N value. In this case, the (235,187) -RS encoding adjusts the N value in a fixed state.

또한 데이터 그룹 내 삽입 가능한 모바일 서비스 데이터 크기는 해당 데이터 그룹에 삽입되는 트렐리스 초기화나 기지 데이터, MPEG 헤더, RS 패리티 등의 크기에 의해 달라질 수 있다.In addition, the size of the mobile service data that can be inserted in the data group may vary depending on the size of trellis initialization, known data, MPEG header, RS parity, etc., inserted into the data group.

한편 상기 패킷 다중화 과정에서 메인 서비스 데이터 사이사이에 모바일 서비스 데이터를 포함하는 데이터 그룹이 다중화되기 때문에 메인 서비스 데이터 패킷의 시간적인 위치가 상대적으로 이동하게 된다. 그리고 수신 시스템의 메인 서비스 데이터 처리를 위한 시스템 목표 디코더(즉, MPEG 디코더)에서는 메인 서비스 데이터만을 수신하여 복호하고 모바일 서비스 데이터 패킷은 널 데이터 패킷으로 인식하여 버리게 된다. Meanwhile, since the data group including the mobile service data is multiplexed between the main service data in the packet multiplexing process, the temporal position of the main service data packet is relatively moved. The system target decoder (i.e., MPEG decoder) for main service data processing of the receiving system receives and decodes only main service data and recognizes the mobile service data packet as a null data packet.

따라서 수신 시스템의 시스템 목표 디코더가 데이터 그룹과 다중화된 메인 서비스 데이터 패킷을 수신할 경우 패킷 지터가 발생하게 된다.Therefore, when the system target decoder of the receiving system receives the main service data packet multiplexed with the data group, packet jitter occurs.

이때 상기 시스템 목표 디코더에서는 비디오 데이터를 위한 여러 단계의 버퍼가 존재하고 그 사이즈가 상당히 크기 때문에 상기 패킷 다중화기(240)에서 발생시키는 패킷 지터는 비디오 데이터의 경우, 큰 문제가 되지 않는다. 그러나 시스템 목표 디코더가 가지는, 오디오 데이터를 위한 버퍼의 사이즈는 작기 때문에 문제가 될 수 있다.In this case, since there are various buffers for the video data in the system target decoder and the size thereof is quite large, the packet jitter generated by the packet multiplexer 240 is not a big problem in the case of video data. However, the size of the buffer for audio data, which the system target decoder has, can be problematic.

즉, 상기 패킷 지터로 인해 수신 시스템의 메인 서비스 데이터를 위한 버퍼, 예를 들면 오디오 데이터를 위한 버퍼에서 오버플로우(overflow)나 언더플로우(underflow)가 발생할 수 있다.That is, the packet jitter may cause overflow or underflow in a buffer for main service data of the receiving system, for example, a buffer for audio data.

따라서 패킷 지터 경감기(220)에서는 상기 시스템 목표 디코더의 버퍼에서 오버플로우 또는 언더플로우가 발생하지 않도록 메인 서비스 데이터 패킷의 상대적인 위치를 재조정한다.Accordingly, the packet jitter reducer 220 readjusts the relative position of the main service data packet so that no overflow or underflow occurs in the buffer of the system target decoder.

본 발명에서는 오디오 버퍼의 동작에 주는 영향을 최소화하기 위하여 메인 서비스 데이터의 오디오 데이터 패킷의 위치를 재배치하는 실시예들을 설명한다. 상기 패킷 지터 경감기(220)는 메인 서비스의 오디오 데이터 패킷이 최대한 균일하게 위치할 수 있도록 메인 서비스 데이터 구간에서 오디오 데이터 패킷을 재배치한다. The present invention describes embodiments of relocating the audio data packet of the main service data in order to minimize the influence on the operation of the audio buffer. The packet jitter reducer 220 rearranges the audio data packets in the main service data section so that the audio data packets of the main service are as uniform as possible.

상기 패킷 지터 경감기(220)에서 메인 서비스의 오디오 데이터 패킷을 재배치하는 기준은 다음과 같다. 이때 상기 패킷 지터 경감기(220)는 후단의 패킷 다중화기(240)의 다중화 정보를 알고 있다고 가정한다.The criterion for relocating the audio data packet of the main service in the packet jitter reducer 220 is as follows. In this case, it is assumed that the packet jitter reducer 220 knows the multiplexing information of the packet multiplexer 240 at a later stage.

첫번째, 버스트 온 구간 내 메인 서비스 데이터 구간, 예를 들어 두개의 데이터 그룹 사이에 위치하는 메인 서비스 데이터 구간에서 오디오 데이터 패킷이 한 개 존재하는 경우에는 오디오 데이터 패킷을 메인 서비스 데이터 구간의 제일 앞에 배치하고, 2개 존재하는 경우에는 제일 앞과 제일 뒤에 배치하며, 3개 이상 존재하는 경우에는 제일 앞과 제일 뒤에 배치하고 나머지를 그 사이에 균등한 간격으로 배치한다.First, if there is one audio data packet in the main service data section in the burst on section, for example, the main service data section between two data groups, the audio data packet is placed in front of the main service data section. If two are present, they are placed at the front and the rear. If there are three or more, they are placed at the front and the rear and the rest are evenly spaced between them.

두번째, 버스트 온 구간 시작 전의 메인 서비스 데이터 구간 즉, 버스트 오프 구간에서는 제일 마지막 위치에 오디오 데이터 패킷을 배치한다.Second, in the main service data section before the start of the burst on section, that is, the burst off section, the audio data packet is arranged at the last position.

세번째, 버스트 온 구간이 끝난 후 버스트 오프 구간의 메인 서비스 데이터 구간에서는 제일 앞에 오디오 데이터 패킷을 배치한다.Third, the audio data packet is placed first in the main service data section of the burst off section after the burst on section ends.

그리고 오디오 데이터가 아닌 패킷들은 입력되는 순서대로 오디오 데이터 패킷의 위치를 제외한 공간에 배치한다.Packets other than audio data are arranged in a space excluding the location of audio data packets in the order of input.

한편 상기와 같이 메인 서비스 데이터 패킷의 위치를 상대적으로 재조정하게 되면 그에 따른 PCR(Program Clock Reference) 값을 수정해 주어야 한다. PCR 값은 MPEG 디코더의 시간을 맞주기 위한 시간 기준값으로 TS 패킷의 특정 영역에 삽입되어 전송되어진다. 상기 패킷 지터 경감기(220)에서 PCR 값 수정의 기능도 수행하는 것을 일 실시예로 한다. On the other hand, when the position of the main service data packet is relatively readjusted as described above, the PCR value must be corrected accordingly. The PCR value is a time reference value to match the time of the MPEG decoder and is inserted into a specific area of the TS packet and transmitted. In an embodiment, the packet jitter reducer 220 performs a function of PCR value correction.

상기 패킷 지터 경감기(220)의 출력은 패킷 다중화기(240)로 입력된다. 상기 패킷 다중화기(240)는 전술한 바와 같이 패킷 지터 경감기(220)에서 출력되는 메인 서비스 데이터 패킷과 전처리기(230)에서 출력되는 모바일 서비스 데이터 패킷을 기 설정된 다중화 규칙에 따라 버스트 구조로 다중화하여 후 처리기(250)의 데이터 랜더마이저(251)로 출력한다. The output of the packet jitter reducer 220 is input to the packet multiplexer 240. The packet multiplexer 240 multiplexes the main service data packet output from the packet jitter reducer 220 and the mobile service data packet output from the preprocessor 230 into a burst structure according to a preset multiplexing rule. And outputs the data to the data renderer 251 of the post processor 250.

상기 데이터 랜더마이저(251)는 입력된 데이터가 메인 서비스 데이터 패킷이면 기존의 랜더마이저와 동일하게 랜더마이징을 수행한다. 즉, 메인 서비스 데이터 패킷 내 동기 바이트를 버리고 나머지 187 바이트를 내부에서 발생시킨 의사랜덤(pseudo random) 바이트를 사용하여 랜덤하게 만든 후 RS 부호기/비체계적 RS 부 호기(252)로 출력한다.If the input data is a main service data packet, the data randomizer 251 performs rendering in the same way as the existing renderer. That is, the sync byte in the main service data packet is discarded and the remaining 187 bytes are randomly generated using a pseudo random byte generated internally, and then output to the RS encoder / unstructured RS encoder 252.

그러나 입력된 데이터가 모바일 서비스 데이터 패킷이면, 패킷의 일부만을 랜더마이징할 수도 있다. 예를 들어, 상기 전처리기(230)에서 모바일 서비스 데이터에 대해 미리 랜더마이징을 수행하였다고 가정하면, 상기 데이터 랜더마이저(251)는 상기 모바일 서비스 데이터 패킷에 포함된 4바이트의 MPEG 헤더 중 동기 바이트를 버리고 나머지 3바이트에 대해서만 랜더마이징을 수행하여 상기 RS 부호기/비체계적 RS 부호기(252)로 출력한다. 즉, 상기 MPEG 헤더를 제외한 나머지 모바일 서비스 데이터에 대해서는 랜더마이징을 수행하지 않고 상기 RS 부호기/비체계적 RS 부호기(252)로 출력한다. 상기 데이터 랜더마이저(251)는 모바일 서비스 데이터 패킷에 포함된 기지 데이터(또는 기지 데이터 위치 홀더)와 초기화 데이터 위치 홀더에 대해서는 랜더마이징을 수행할 수도 있고 수행하지 않을 수도 있다.However, if the input data is a mobile service data packet, only a part of the packet may be rendered. For example, assuming that the preprocessor 230 has previously performed rendering on mobile service data, the data renderer 251 may select a sync byte of a 4-byte MPEG header included in the mobile service data packet. Discard it and perform rendering for only the remaining 3 bytes to output to the RS encoder / unstructured RS encoder 252. That is, the rest of the mobile service data except the MPEG header is output to the RS encoder / unstructured RS encoder 252 without performing rendering. The data randomizer 251 may or may not perform the randomization of the known data (or known data location holder) and the initialization data location holder included in the mobile service data packet.

상기 RS 부호기/비체계적 RS 부호기(252)는 상기 데이터 랜더마이저(251)에서 랜더마이징되는 데이터 또는 바이패스되는 데이터에 대해 RS 부호화를 수행하여 20바이트의 RS 패리티를 부가한 후 데이터 인터리버(253)로 출력한다. 이때 상기 RS 부호기/비체계적 RS 부호기(252)는 입력된 데이터가 메인 서비스 데이터 패킷인 경우 기존 방송 시스템과 동일하게 체계적 RS 부호화를 수행하여 20바이트의 RS 패리티를 187바이트의 데이터 뒤에 부가한다. 그리고 모바일 서비스 데이터 패킷이면 비체계적 RS 부호화를 수행하고, 이때 얻은 20바이트의 RS 패리티를 패킷 내 미리 정해진 패리티 바이트 위치에 삽입한다. The RS encoder / unstructured RS encoder 252 adds 20 bytes of RS parity by performing RS encoding on the data to be rendered or bypassed by the data randomizer 251, and then the data interleaver 253. Will output In this case, the RS encoder / unstructured RS encoder 252 adds 20 bytes of RS parity to 187 bytes of data after performing systematic RS encoding in the same manner as the existing broadcasting system when the input data is a main service data packet. In case of a mobile service data packet, unsystematic RS coding is performed, and the 20-byte RS parity obtained at this time is inserted at a predetermined parity byte position in the packet.

상기 데이터 인터리버(253)는 바이트 단위의 길쌈(convolutional) 인터리버 이다.The data interleaver 253 is a convolutional interleaver in bytes.

상기 데이터 인터리버(253)의 출력은 패리티 치환기(254)와 비체계적 RS 부호기(255)로 입력된다. The output of the data interleaver 253 is input to a parity substituent 254 and an unstructured RS encoder 255.

한편 상기 패리티 치환기(254)의 후단에 위치한 트렐리스 부호화부(256)의 출력 데이터를 송/수신측에서 약속에 의해 정의한 기지 데이터로 하기 위해 먼저 트렐리스 부호화부(256) 내의 메모리의 초기화가 필요하다. 즉 입력되는 기지 데이터 열이 트렐리스 부호화되기 전에 먼저 트렐리스 부호화부(256)의 메모리를 초기화시켜야 한다. On the other hand, in order to make the output data of the trellis encoder 256 located at the rear end of the parity substituter 254 into known data defined by appointment on the transmitting / receiving side, the memory in the trellis encoder 256 is first initialized. Is needed. That is, before the input known data string is trellis encoded, the memory of the trellis encoder 256 must be initialized.

이때 입력되는 기지 데이터 열의 시작 부분은 실제 기지 데이터가 아니라 전처리기(230) 내 그룹 포맷터에서 삽입된 초기화 데이터 위치 홀더이다. 따라서 입력되는 기지 데이터 열이 트렐리스 부호화되기 직전에 초기화 데이터를 생성하여 해당 트렐리스 메모리 초기화 데이터 위치 홀더와 치환하는 과정이 필요하다.At this time, the start of the known data stream is not the actual known data but the initialization data position holder inserted by the group formatter in the preprocessor 230. Therefore, a process of generating initialization data immediately before the input known data string is trellis encoded and replacing the corresponding trellis memory initialization data position holder is required.

그리고 상기 트렐리스 메모리 초기화 데이터는 상기 트렐리스 부호화부(256)의 메모리 상태에 따라 그 값이 결정되어 생성된다. 또한 치환된 초기화 데이터에 의한 영향으로 RS 패리티를 다시 계산하여 상기 데이터 인터리버(253)에서 출력되는 RS 패리티와 치환하는 과정이 필요하다.The trellis memory initialization data is generated by determining a value thereof according to the memory state of the trellis encoder 256. In addition, a process of recalculating RS parity under the influence of the replaced initialization data and replacing the RS parity with the RS parity output from the data interleaver 253 is necessary.

따라서 상기 비체계적 RS 부호기(255)에서는 상기 데이터 인터리버(253)로부터 초기화 데이터로 치환될 초기화 데이터 위치 홀더가 포함된 모바일 서비스 데이터 패킷을 입력받고, 트렐리스 부호화부(256)로부터 초기화 데이터를 입력받는다. 그리고 입력된 모바일 서비스 데이터 패킷 중 초기화 데이터 위치 홀더를 초기화 데이터로 치환하고 상기 모바일 서비스 데이터 패킷에 부가된 RS 패리티 데이터를 제거한 후 비체계적인 RS 부호화를 수행한다. 그리고 상기 비체계적 RS 부호화하여 얻은 RS 패리티를 상기 패리티 치환기(255)로 출력한다. 그러면 상기 패리티 치환기(255)는 모바일 서비스 데이터 패킷 내 데이터는 상기 데이터 인터리버(253)의 출력을 선택하고, RS 패리티는 비체계적 RS 부호기(255)의 출력을 선택하여 트렐리스 부호화부(256)로 출력한다. Accordingly, the unstructured RS encoder 255 receives a mobile service data packet including an initialization data position holder to be replaced with initialization data from the data interleaver 253 and inputs initialization data from the trellis encoder 256. Receive. The initialization data position holder of the input mobile service data packet is replaced with the initialization data, and the RS parity data added to the mobile service data packet is removed, and then unstructured RS encoding is performed. The RS parity obtained by the unsystematic RS coding is output to the parity substituent 255. Then, the parity substituter 255 selects the output of the data interleaver 253 for data in the mobile service data packet, and selects the output of the unstructured RS encoder 255 for the RS parity. Will output

한편 상기 패리티 치환기(254)는 메인 서비스 데이터 패킷이 입력되거나 또는 치환될 초기화 데이터 위치 홀더가 포함되지 않은 모바일 서비스 데이터 패킷이 입력되면 상기 데이터 인터리버(253)에서 출력되는 데이터와 RS 패리티를 선택하여 그대로 트렐리스 부호화부(256)로 출력한다. Meanwhile, when the main service data packet is input or the mobile service data packet including the initialization data location holder to be replaced is input, the parity substituter 254 selects data and RS parity output from the data interleaver 253 as it is. The trellis encoder 256 outputs the trellis encoder.

상기 트렐리스 부호화부(256)는 바이트 단위의 데이터를 심볼 단위로 바꾸고 12-way 인터리빙하여 트렐리스 부호화한 후 동기 다중화기(260)로 출력한다. The trellis encoder 256 converts the data of the byte unit into the symbol unit, performs 12-way interleaving, trellis-encodes, and outputs the trellis to the synchronous multiplexer 260.

상기 동기 다중화기(260)는 트렐리스 부호화부(256)의 출력에 필드 동기와 세그먼트 동기를 삽입하여 송신부(270)의 파일롯 삽입기(271)로 출력한다. The synchronous multiplexer 260 inserts field sync and segment sync into the output of the trellis encoder 256 and outputs the field sync and segment sync to the pilot inserter 271 of the transmitter 270.

상기 파일롯 삽입기(271)에서 파일롯이 삽입된 데이터는 변조기(272)에서 기 설정된 변조 방식 예를 들어, VSB 방식으로 변조된 후 RF 업 컨버터(273)를 통해 각 수신 시스템으로 전송된다. Data in which the pilot is inserted in the pilot inserter 271 is modulated by a modulator 272, for example, a VSB method, and then transmitted to each receiving system through the RF up converter 273.

블록 처리기Block handler

도 16은 본 발명의 일 실시예에 따른 블록 처리기의 상세 블록도로서, 바이 트-비트 변환기(401), 심볼 부호기(402), 심볼 인터리버(403), 및 심볼-바이트 변환기(404)를 포함할 수 있다.16 is a detailed block diagram of a block processor according to an embodiment of the present invention, which includes a byte-bit converter 401, a symbol encoder 402, a symbol interleaver 403, and a symbol-byte converter 404. can do.

상기 바이트-비트 변환기(401)는 상기 RS 프레임 부호기(112)에서 입력되는 모바일 서비스 데이터 바이트를 비트로 구분하여 심볼 부호기(402)로 출력한다.The byte-bit converter 401 divides the mobile service data byte input from the RS frame encoder 112 into bits and outputs the bits to the symbol encoder 402.

상기 바이트-심볼 변환기(401)는 전송 파라미터 등을 담고있는 시그널링(signaling) 정보도 입력받을 수 있으며, 이 시그널링 정보 바이트들도 비트로 구분하여 심볼 부호기(402)로 출력한다. 여기서 상기 전송 파라미터를 담고 있는 시그널링 정보는 모바일 서비스 데이터 처리 과정과 동일하게 데이터 랜더마이저(301)와 RS 프레임 부호기(302)를 거쳐 블록 처리기(303)로 입력될 수도 있고, 또는 상기 데이터 랜더마이저(301)와 RS 프레임 부호기(302)를 거치지 않고 바로 블록 처리기(303)로 입력될 수도 있다.The byte-symbol converter 401 may also receive signaling information including a transmission parameter and the like, and the signaling information bytes are also divided into bits and output to the symbol encoder 402. In this case, the signaling information including the transmission parameter may be input to the block processor 303 via the data renderer 301 and the RS frame encoder 302 in the same manner as the mobile service data processing process, or the data renderer ( It may be input directly to the block processor 303 without passing through the 301 and the RS frame encoder 302.

상기 심볼 부호기(402)는 입력되는 데이터 D비트를 E비트로 부호화하여 출력하는 D/E 부호기이다(여기서 D<E임). 일 예로 입력 데이터 1비트를 2비트로 부호화하여 출력한다면 D=1, E=2가 되고, 입력 데이터 1비트를 4비트로 부호화하여 출력한다면 D=1, E=4가 된다. The symbol encoder 402 is a D / E encoder that encodes the input data D bits into E bits and outputs them (where D <E). For example, if one bit of input data is encoded into two bits and outputted, D = 1 and E = 2. If one bit of input data is encoded into four bits and outputted, D = 1 and E = 4.

상기 심볼 부호기(402)는 1/2 부호율의 부호화(또는 1/2 부호화라 하기도 함) 또는 1/4 부호율의 부호화(또는 1/4 부호화라 하기도 함)를 수행하는 것을 일 실시예로 설명한다. 즉, 상기 심볼 부호기(402)는 입력받은 모바일 서비스 데이터들과 시그널링 정보에 대해 1/2 부호화 또는 1/4 부호화를 수행한다. 이후 상기 심볼 부호기(402)의 부호화시, 상기 시그널링 정보도 모바일 서비스 데이터로 간주하 여 설명한다. According to an embodiment of the present invention, the symbol encoder 402 performs encoding at a 1/2 code rate (or sometimes referred to as 1/2 encoding) or encoding at a quarter code rate (also referred to as 1/4 encoding). Explain. That is, the symbol encoder 402 performs 1/2 encoding or 1/4 encoding on the received mobile service data and signaling information. After the encoding of the symbol encoder 402, the signaling information is also described as mobile service data.

상기 심볼 부호기(402)는 1/2 부호율을 갖는 부호기로 동작할 수도 있고, 1/4 부호율을 갖는 부호기로 동작할 수도 있다. The symbol encoder 402 may operate as an encoder having a 1/2 code rate or may operate as an encoder having a 1/4 code rate.

도 17a 내지 도 17c는 본 발명에 따른 심볼 부호기가 1/4 부호율을 갖는 부호기로 동작하는 실시예들을 보인 구성 블록도이다. 17A to 17C are block diagrams illustrating embodiments in which a symbol encoder according to the present invention operates as an encoder having a quarter code rate.

도 17a의 심볼 부호기는 1/4 외부 부호기(1/2 Outer Encoder)(411), 및 병/직렬 변환기(412)를 포함할 수 있다.The symbol encoder of FIG. 17A may include a quarter outer encoder (411), and a parallel / serial converter (412).

도 17a에서 상기 1/4 외부 부호기(411)는 입력되는 모바일 서비스 데이터 비트 U를 4비트 u0~u3 즉, 두 심볼로 부호화하여 병/직렬 변환기(412)로 출력한다. 상기 병/직렬 변환기(412)는 병렬로 입력되는 두 심볼을 심볼 단위의 직렬로 변환하여 두 심볼을 순차적으로 심볼 인터리버(403)로 출력한다. 즉, 상기 병/직렬 변환기(412)는 u0,u1 비트로 된 한 심볼을 심볼 인터리버(403)로 출력하고, 이어 u2,u3 비트로 된 다른 심볼을 심볼 인터리버(403)로 출력한다. In FIG. 17A, the 1/4 external encoder 411 encodes the input mobile service data bit U into 4 bits u0 to u3, that is, two symbols, and outputs the same to the parallel / serial converter 412. The parallel / serial converter 412 converts two symbols inputted in parallel into a series of symbol units and sequentially outputs the two symbols to the symbol interleaver 403. That is, the parallel / serial converter 412 outputs one symbol of u0, u1 bits to the symbol interleaver 403, and then outputs another symbol of u2, u3 bits to the symbol interleaver 403.

도 17b의 심볼 부호기는 1/2 외부 부호기(421), 및 병/직렬 변환기(422)를 포함할 수 있다.The symbol encoder of FIG. 17B may include a 1/2 external encoder 421, and a parallel / serial converter 422.

도 17b에서 상기 1/2 외부 부호기(421)는 입력되는 모바일 서비스 데이터 비트 U를 2비트 u0,u1 즉, 한 심볼로 부호화하여 반복기(repeater)(422)로 출력한다. 상기 반복기(422)는 1/2 부호율로 부호화된 심볼을 한번 반복하여 심볼 인터리버(403)로 출력한다. 즉, 상기 반복기(422)는 u0,u1 비트로 된 심볼을 심볼 인터리버(403)로 출력하고, 이어 u0,u1 비트로 된 심볼을 다시 심볼 인터리버(403)로 출 력한다. In FIG. 17B, the 1/2 external encoder 421 encodes the input mobile service data bit U into 2 bits u0, u1, that is, one symbol, and outputs the same to the repeater 422. The iterator 422 repeats a symbol encoded at a 1/2 code rate once and outputs the symbol to the symbol interleaver 403. That is, the repeater 422 outputs a symbol of u0, u1 bits to the symbol interleaver 403, and then outputs a symbol of u0, u1 bits to the symbol interleaver 403 again.

도 17c의 심볼 부호기는 반복기(431), 및 1/2 외부 부호기(432)를 포함할 수 있다.The symbol encoder of FIG. 17C may include an iterator 431 and a 1/2 outer encoder 432.

도 17c에서 상기 반복기(431)는 입력되는 모바일 서비스 데이터 비트 U를 한번 반복하여 2비트의 U,U를 1/2 외부 부호기(432)로 출력한다. 상기 1/2 외부 부호기(432)는 상기 반복기(431)에서 출력되는 모바일 서비스 데이터 비트 U를 2비트 u0,u1 즉, 한 심볼로 부호화하여 심볼 인터리버(403)로 출력한다. 이때 동일한 모바일 서비스 데이터 비트 U가 순차적으로 두 번 입력되므로, 결국 상기 1/2 외부 부호기(432)는 상기 반복기(431)로 입력되는 모바일 서비스 데이터 비트 U에 대해 두 번 1/2 부호화를 수행하게 된다. In FIG. 17C, the repeater 431 repeats the input mobile service data bit U once and outputs two bits of U and U to the 1/2 external encoder 432. The 1/2 external encoder 432 encodes the mobile service data bits U output from the iterator 431 into 2 bits u0, u1, that is, one symbol, and outputs the encoded bits to the symbol interleaver 403. In this case, since the same mobile service data bits U are sequentially input twice, the 1/2 outer encoder 432 performs 1/2 encoding twice on the mobile service data bits U input to the repeater 431. do.

즉, 상기 심볼 부호기(402)에서 도 17b와 같이 1/2 부호율로 부호화된 두 심볼을 반복하여 출력하거나, 도 17c와 같이 입력 데이터 비트를 1/2 부호율로 두 번 부호화하여 출력하면 전체적인 부호율은 1/4이 된다. That is, the symbol encoder 402 repeatedly outputs two symbols encoded at a 1/2 code rate as shown in FIG. 17B, or outputs two times encoded input data bits at 1/2 code rate as shown in FIG. 17C. The code rate is 1/4.

이와 같이 상기 심볼 부호기(402)를 1/4 부호율을 갖는 부호기로 동작시킬 경우에는, 입력 데이터 비트를 1/4 부호율로 부호화한 후 한 심볼씩 순차적으로 출력하거나, 1/2 부호율로 부호화된 심볼을 한번 반복하여 한 심볼씩 순차적으로 출력하거나, 입력 데이터 비트를 1/2 부호율로 두 번 부호화하여 한 심볼씩 순차적으로 출력하는 방법 등이 있다. As described above, when the symbol encoder 402 is operated with an encoder having a 1/4 code rate, the input data bits are encoded at a 1/4 code rate and then sequentially output one symbol at a time, or at a 1/2 code rate. The coded symbols may be repeated once and sequentially output one symbol at a time, or the input data bits may be encoded twice at a 1/2 code rate and sequentially output one symbol at a time.

한편, 상기 심볼 부호기(402)를 1/2 부호율을 갖는 부호기로 동작시킬 경우에는, 입력되는 데이터 비트를 1/2 외부 부호기에서 1/2 부호율로 부호화한 후 출 력하면 된다. On the other hand, when the symbol encoder 402 is operated with an encoder having a 1/2 code rate, the input data bits may be encoded after being encoded at a 1/2 code rate by a 1/2 external coder and then output.

또는 1/4 외부 부호기에서 입력되는 데이터 비트를 1/4 부호율로 부호화한 후, 부호화된 두 심볼 중 한 심볼만을 선택하여 출력하면, 상기 심볼 부호기(402)를 1/2 부호율을 갖는 부호기로 동작시킬 수 있다. Alternatively, if the data bits input from the 1/4 external encoder are encoded at a 1/4 code rate and only one symbol of the two encoded symbols is selected and outputted, the symbol encoder 402 may have a 1/2 code rate. Can be operated.

상기 1/2 부호율, 1/4 부호율은 하나의 실시예이며, 부호화된 심볼들의 선택 또는 반복하는 횟수에 따라 부호율이 달라질 수 있으므로, 본 발명은 상기된 실시예로 한정되지 않을 것이다. 이때 부호율이 작을수록 전송할 수 있는 실제 데이터 량이 작아지므로 두 요소를 고려하여 부호율을 결정한다.The 1/2 code rate and the 1/4 code rate are one embodiment, and since the code rate may vary depending on the number of times the coded symbols are selected or repeated, the present invention will not be limited to the above-described embodiment. In this case, the smaller the code rate, the smaller the actual amount of data that can be transmitted, so the code rate is determined in consideration of two factors.

도 18a는 1/2 외부 부호기의 일 실시예를 보인 상세 블록도로서, 2개의 지연기(501,503)와 1개의 가산기(502)로 구성되어, 입력 데이터 비트 U를 부호화하여 2비트(u0,u1)로 출력한다. 이때 입력 데이터 비트 U는 상위 비트 u0로 그대로 출력됨과 동시에 부호화되어 하위 비트 u1로 출력된다. Fig. 18A is a detailed block diagram showing an embodiment of a 1/2 external encoder, which is composed of two delayers 501 and 503 and one adder 502, which encodes an input data bit U and thus two bits (u0, u1). ) At this time, the input data bit U is output as it is as the upper bit u0 and encoded and output as the lower bit u1.

즉, 입력 데이터 비트 U는 그대로 상위 비트 u0로 출력됨과 동시에 가산기(502)로 출력된다. 상기 가산기(502)는 입력 데이터 비트 U와 제1 지연기(501)의 출력을 더하여 제2 지연기(503)로 출력하며, 상기 제2 지연기(503)에서 일정 시간(예를 들어 1 클럭) 지연된 데이터는 하위 비트 u1로 출력됨과 동시에 제1 지연기(501)로 피드백된다. 상기 제1 지연기(501)는 상기 제2 지연기(503)에서 피드백되는 데이터를 일정 시간(예를 들어, 1 클럭) 지연시켜 가산기(502)로 출력한다. That is, the input data bit U is output as it is as the upper bit u0 and to the adder 502 at the same time. The adder 502 adds the input data bit U and the output of the first delayer 501 and outputs the result to the second delayer 503, and a predetermined time (for example, one clock) in the second delayer 503. The delayed data is outputted to the lower bit u1 and fed back to the first delayer 501. The first delayer 501 delays the data fed back from the second delayer 503 by a predetermined time (for example, one clock) and outputs the delayed data to the adder 502.

이때 상기 심볼 부호기(402)로 입력되는 데이터 비트 U가 1/4 부호율로 부호화될 데이터라면 u0u1 비트로 구성된 심볼을 두 번 반복하여 출력하거나, 입력 데 이터 비트 U를 한번 반복하여 상기 도 18a의 1/2 외부 부호기로 입력시키면 된다. At this time, if the data bit U input to the symbol encoder 402 is data to be encoded at a 1/4 code rate, the symbol consisting of u0u1 bits is repeatedly outputted twice, or the input data bit U is repeated once to indicate 1 in FIG. 18A. / 2 can be input with external encoder.

도 18b는 1/4 외부 부호기의 일 실시예를 보인 상세 블록도로서, 2개의 지연기(501,503)와 3개의 가산기(502,504,505)로 구성되어, 입력 데이터 비트 U를 부호화하여 4비트(u0~u3)로 출력한다. 이때 입력 데이터 비트 U는 최상위 비트 u0로 그대로 출력됨과 동시에 부호화되어 하위 비트 u1u2u3로 출력된다. FIG. 18B is a detailed block diagram showing an embodiment of a 1/4 external coder, which is composed of two delayers 501 and 503 and three adders 502, 504 and 505, and encodes the input data bits U to four bits (u0 to u3). ) At this time, the input data bit U is output as it is as the most significant bit u0 and is encoded and output as the lower bit u1u2u3.

즉, 입력 데이터 비트 U는 그대로 최상위 비트 u0로 출력됨과 동시에 제1,제3 가산기(502,505)로 출력된다. 상기 제1 가산기(502)는 입력 데이터 비트 U와 제1 지연기(501)의 출력을 더하여 제2 지연기(503)로 출력하며, 상기 제2 지연기(503)에서 일정 시간(예를 들어 1 클럭) 지연된 데이터는 하위 비트 u1로 출력됨과 동시에 제1 지연기(501)로 피드백된다. 상기 제1 지연기(501)는 상기 제2 지연기(503)에서 피드백되는 데이터를 일정 시간(예를 들어, 1 클럭) 지연시켜 제1 가산기(502)와 제 2 가산기(504)로 출력한다. 상기 제2 가산기(504)는 제1,제2 지연기(501,503)의 출력을 더하여 하위 비트 u2로 출력한다. 상기 제3 가산기(505)는 입력 데이터 비트 U와 제2 가산기(504)의 출력을 더하여 하위 비트 u3으로 출력한다. That is, the input data bits U are output as they are as most significant bits u0 and output to the first and third adders 502 and 505. The first adder 502 adds the input data bit U and the output of the first delayer 501 and outputs the result to the second delayer 503. The delayed data is output to the lower bit u1 and fed back to the first delay unit 501. The first delayer 501 delays the data fed back from the second delayer 503 by a predetermined time (for example, one clock) and outputs the delayed data to the first adder 502 and the second adder 504. . The second adder 504 adds the outputs of the first and second delayers 501 and 503 to output the lower bit u2. The third adder 505 adds the input data bit U and the output of the second adder 504 to output the lower bit u3.

이때 상기 1/4 외부 부호기로 입력된 데이터 비트 U가 1/2 부호율로 부호화될 데이터라면 4개의 출력 비트 u0u1u2u3 중 u0u1 비트로 한 심볼을 구성하여 출력하면 된다. 또한 1/4 부호율로 부호화될 데이터라면 병/직렬 변환기를 통해 u0u1 비트로 구성된 심볼을 출력하고, 이어 u2u3 비트로 된 또 다른 심볼을 출력하면 된다. 다른 실시예로, 입력 데이터 비트 U가 1/4 부호율로 부호화될 데이터라면 u0u1 비트로 구성된 심볼을 두 번 반복하여 출력할 수도 있다.In this case, if the data bit U input to the 1/4 external encoder is data to be encoded at a 1/2 code rate, a symbol composed of u0u1 bits among the four output bits u0u1u2u3 may be configured and output. In addition, if the data is to be encoded at a 1/4 code rate, a symbol composed of u0u1 bits may be output through a parallel / serial converter, and then another symbol of u2u3 bits may be output. In another embodiment, if the input data bit U is data to be encoded at a 1/4 code rate, a symbol composed of u0u1 bits may be repeatedly output.

또 다른 실시예로, 상기 심볼 부호기(402)에서는 4개의 출력 비트 u0u1u2u3을 모두 출력하고, 후단의 심볼 인터리버(403)에서 1/2 부호율인 경우에는 4개의 출력 비트 u0u1u2u3 중 u0u1 비트로 구성된 심볼만을 선택하고, 1/4 부호율인 경우에는 u0u1 비트로 구성된 심볼과 u2u3 비트로 구성된 또 다른 심볼을 모두 선택하도록 설계할 수도 있다. 또 다른 실시예로, 1/4 부호율인 경우에는 u0u1 비트로 구성된 심볼을 반복하여 선택하도록 할 수도 있다.In another embodiment, the symbol encoder 402 outputs all four output bits u0u1u2u3, and when the symbol interleaver 403 at the next stage has a 1/2 code rate, only a symbol consisting of u0u1 bits among the four output bits u0u1u2u3 is used. If the code rate is 1/4, the symbol may be designed to select both a symbol composed of u0u1 bits and another symbol composed of u2u3 bits. In another embodiment, when the code rate is 1/4, a symbol composed of u0u1 bits may be repeatedly selected.

상기 심볼 부호기(402)의 출력은 심볼 인터리버(403)로 입력되고, 상기 심볼 인터리버(403)는 상기 심볼 부호기(402)의 출력 데이터에 대해 심볼 단위로 블록 인터리빙을 수행한다. The output of the symbol encoder 402 is input to the symbol interleaver 403, and the symbol interleaver 403 performs block interleaving on a symbol unit basis for the output data of the symbol encoder 402.

상기 심볼 인터리버(403)는 구조적으로 어떤 순서 재배열을 하는 인터리버이면 어느 인터리버라도 적용될 수 있다. 하지만, 본 발명에서는 순서를 재배열하려는 심볼의 길이가 다양한 경우에도 적용 가능한 가변 길이 심볼 인터리버를 사용하는 것을 일 실시예로 설명한다.The symbol interleaver 403 may be applied to any interleaver as long as it is an interleaver structurally performing any order rearrangement. However, according to an embodiment of the present invention, a variable length symbol interleaver applicable even when the length of symbols to be rearranged is various will be described.

도 19의 (a) 내지 (c)는 본 발명에 따른 심볼 인터리버의 일 실시예를 보인 도면으로서, 순서를 재배열하려는 심볼의 길이가 다양한 경우에도 적용 가능한 가변 길이 심볼 인터리버이다. 19A to 19C illustrate an embodiment of a symbol interleaver according to the present invention, and are variable length symbol interleaver applicable even when the lengths of symbols to rearrange the order vary.

특히 도 19의 (a) 내지 (c)는 BK=6, BL=8인 경우의 심볼 인터리버의 예를 보이고 있다. 상기 BK는 심볼 부호기(402)에서 심볼 인터리빙을 위해 출력되는 심볼들의 개수이고, BL은 심볼 인터리버(403)에서 실제로 인터리빙이 되는 심볼들의 개 수이다. Particularly, FIGS. 19A to 19C show examples of symbol interleaver in the case where BK = 6 and BL = 8. The BK is the number of symbols output for symbol interleaving in the symbol encoder 402, and the BL is the number of symbols actually interleaved in the symbol interleaver 403.

본 발명의 심볼 인터리버(403)는 BL = 2n(여기서 n은 자연수)이면서 BL = BK 조건을 만족하여야 한다. 만일 BK와 BL의 값이 차이가 나게 되면, 차이나는 개수(=BL-BK)만큼 널(null 또는 dummy) 심볼이 추가되어 인터리빙 패턴이 만들어진다.The symbol interleaver 403 of the present invention must satisfy the BL = BK condition while BL = 2 n (where n is a natural number). If the values of BK and BL are different, an interleaving pattern is created by adding null or dummy symbols by the number of differences (= BL-BK).

그러므로 상기 BK는 인터리빙을 위해 상기 심볼 인터리버(403)로 입력되는 실제 심볼들의 블록 크기가 되고, BL은 상기 심볼 인터리버(403)에서 생성된 인터리빙 패턴에 의해 인터리빙이 이루어지는 인터리빙 단위가 된다.Therefore, the BK is a block size of actual symbols input to the symbol interleaver 403 for interleaving, and the BL is an interleaving unit in which interleaving is performed by an interleaving pattern generated by the symbol interleaver 403.

도 19의 (a) 내지 (c)는 그 예를 보인 것으로서, 인터리빙하기 위해 심볼 부호기(402)에서 출력되는 심볼의 수(=BK)는 6 심볼이고, 실제 인터리빙 단위(BL)는 8 심볼이 된다. 따라서 도 19의 (a)와 같이 2 심볼이 널 심볼로 추가되어 인터리빙 패턴이 만들어진다. 19 (a) to (c) show an example, the number of symbols (= BK) output from the symbol encoder 402 for interleaving is 6 symbols, and the actual interleaving unit BL is 8 symbols. do. Therefore, as shown in FIG. 19A, two symbols are added as null symbols to form an interleaving pattern.

하기의 수학식 4는 상기 심볼 인터리버(403)에서 순서를 재배열하고자 하는 심볼 BK개를 순서대로 입력받은 후, BL = 2n이면서 BL

Figure 112008088968393-pat00003
BK 조건을 만족하는 BL을 찾아 인터리빙 패턴을 만들어 재배열하는 과정을 수학식으로 표현한 것이다. Equation 4 below receives BK symbols to be rearranged in the symbol interleaver 403 in order, and then BL = 2 n and BL.
Figure 112008088968393-pat00003
It is a mathematical expression of the process of rearranging an interleaving pattern by finding a BL satisfying the BK condition.

Figure 112008088968393-pat00004
Figure 112008088968393-pat00005
모든 위치 0 i BL-1 에 대해서,
Figure 112008088968393-pat00004
Figure 112008088968393-pat00005
For all positions 0 i BL-1,

P(i) = { S x i x (i+1) / 2 } mod BLP (i) = {S x i x (i + 1) / 2} mod BL

여기서 BL

Figure 112008088968393-pat00006
BK , BL = 2n이고, n, S는 자연수이다. 도 12에서 S는 89, BL은 8로 가정하고, 구현한 인터리빙 패턴 및 인터리빙 예이다.Where BL
Figure 112008088968393-pat00006
BK, BL = 2 n , and n and S are natural numbers. In FIG. 12, S is 89, and BL is 8, which is an example of an interleaving pattern and an interleaving scheme.

상기 수학식 4, 도 19의 (b)와 같이 BL 심볼 단위로 BK개의 입력 심볼과 (BL-BK)개의 널 심볼의 순서를 재배열한 후 하기의 수학식 5, 도 19의 (c)와 같이 널 심볼의 위치를 제거하고 다시 정렬하며, 정렬된 순서대로 인터리빙된 심볼을 심볼-바이트 변환기(404)로 출력된다.After rearranging the order of BK input symbols and (BL-BK) null symbols in BL symbol units as shown in Equation 4 and FIG. 19B, Equation 5 below and FIG. 19C show The positions of the null symbols are removed and rearranged, and the interleaved symbols are output to the symbol-byte converter 404 in the sorted order.

if P(i) > BK-1, then P(i) 위치는 제거하고 정렬if P (i)> BK-1, then P (i) position removed and aligned

상기 심볼-바이트 변환기(404)는 상기 심볼 인터리버(403)에서 순서 재배열이 완료되어 출력되는 모바일 서비스 데이터 심볼들을 바이트로 변환하여 그룹 포맷터(304)로 출력한다.The symbol-byte converter 404 converts the mobile service data symbols outputted after the sequence rearrangement is completed in the symbol interleaver 403 into bytes and outputs them to the group formatter 304.

도 20a는 본 발명의 다른 실시예에 따른 블록 처리기의 상세 블록도로서, 인터리빙부(Interleaving nit)(610), 및 블록 포맷터(block formatter)(620)를 포함할 수 있다.FIG. 20A is a detailed block diagram of a block processor according to another embodiment of the present invention, and may include an interleaving nit 610 and a block formatter 620.

상기 인터리빙부(610)는 바이트-심볼 변환기(converter)(611), 심볼-바이트 변환기(612), 심볼 인터리버(613), 및 심볼-바이트 변환기(614)를 포함할 수 있다. 상기 심볼 인터리버는 블록 인터리버라 하기도 한다. The interleaving unit 610 may include a byte-symbol converter 611, a symbol-byte converter 612, a symbol interleaver 613, and a symbol-byte converter 614. The symbol interleaver is also called a block interleaver.

상기 인터리빙부(610)의 바이트- 심볼 변환기(611)는 상기 RS 프레임 부호기(302)에서 바이트 단위로 출력되는 모바일 서비스 데이터(X)를 심볼 단위로 변환 하여 심볼-바이트 변환기(612)와 심볼 인터리버(613)로 출력한다. 즉, 상기 바이트- 심볼 변환기(611)는 입력되는 모바일 서비스 데이터 바이트(=8비트)의 2비트를 1개의 심볼로 하여 출력한다. 이는 트렐리스 부호화부(256)의 입력이 2비트로 된 심볼 단위이기 때문이다. 상기 블록 처리기(303)와 트렐리스 부호화부(256)와의 관계는 뒤에서 설명한다. Bytes of the interleaving unit 610 The symbol converter 611 converts the mobile service data X output in the unit of byte from the RS frame encoder 302 in the unit of symbol and outputs it to the symbol-byte converter 612 and the symbol interleaver 613. That is, the byte- The symbol converter 611 outputs two bits of the input mobile service data byte (= 8 bits) as one symbol. This is because the input of the trellis encoder 256 is a symbol unit of 2 bits. The relationship between the block processor 303 and the trellis encoder 256 will be described later.

이때 상기 바이트-심볼 변환기(611)는 전송 파라미터 등을 담고 있는 시그널링(signaling) 정보도 입력받을 수 있으며, 이 시그널링 정보 바이트들도 심볼 단위로 구분하여 심볼-바이트 변환기(612)와 심볼 인터리버(613)로 출력한다.In this case, the byte-symbol converter 611 may also receive signaling information including a transmission parameter and the like. The signaling information bytes may also be divided in symbol units so that the symbol-byte converter 612 and the symbol interleaver 613 are received. )

상기 심볼-바이트 변환기(612)는 상기 바이트-심볼 변환기(611)에서 출력되는 4개의 심볼을 모아 바이트를 구성한 후 블록 포맷터(620)로 출력한다. 이때 상기 심볼-바이트 변환기(612)와 상기 바이트-심볼 변환기(611)는 서로 역의 과정이기 때문에 두 블록의 결과는 상쇄되어 도 20b에서와 같이 입력 데이터 X가 그대로 블록 포맷터(620)로 바이패스되는 효과가 있다. 즉, 도 20b의 인터리빙부(610)는 도 20a의 인터리빙부(610)와 등가적인 구조를 가지므로, 동일한 부호를 사용한다.The symbol-byte converter 612 collects four symbols output from the byte-symbol converter 611 to form a byte, and outputs the byte to the block formatter 620. In this case, since the symbol-byte converter 612 and the byte-symbol converter 611 are inverse processes, the results of the two blocks are canceled so that the input data X is bypassed to the block formatter 620 as shown in FIG. 20B. It is effective. That is, since the interleaving unit 610 of FIG. 20B has an equivalent structure to that of the interleaving unit 610 of FIG. 20A, the same reference numerals are used.

상기 심볼 인터리버(613)는 상기 바이트-심볼 변환기(611)에서 출력되는 데이터에 대해 심볼 단위로 블록 인터리빙을 수행하여 심볼-바이트 변환기(614)로 출력한다. The symbol interleaver 613 performs block interleaving on a symbol-by-symbol basis for the data output from the byte-symbol converter 611 and outputs the result to the symbol-byte converter 614.

상기 심볼 인터리버(613)는 구조적으로 순서 재배열을 하는 인터리버이면 어떠한 인터리버라도 적용될 수 있다. 본 발명에서는 순서를 재배열하려는 심볼의 길이가 다양한 경우에도 적용 가능한 가변 길이 인터리버를 사용하는 것을 일 실시예 로 한다. 예를 들면, 도 20a, 도 20b에서도 도 19의 심볼 인터리버를 적용할 수 있다. The symbol interleaver 613 may be applied to any interleaver as long as the interleaver is structurally rearranged. According to an embodiment of the present invention, a variable length interleaver may be used even when the length of symbols to be rearranged is various. For example, the symbol interleaver of FIG. 19 may also be applied to FIGS. 20A and 20B.

상기 심볼-바이트 변환기(614)는 상기 심볼 인터리버(613)에서 순서 재배열이 완료되어 출력되는 모바일 서비스 데이터 심볼들을 모아 바이트를 구성한 후 블록 포맷터(620)로 출력한다. 즉, 상기 심볼-바이트 변환기(614)는 상기 심볼 인터리버(613)에서 출력되는 4개의 심볼을 모아 바이트를 구성한다.The symbol-byte converter 614 collects the mobile service data symbols outputted after the sequence rearrangement is completed in the symbol interleaver 613, forms a byte, and outputs the byte to the block formatter 620. That is, the symbol-byte converter 614 forms four bytes by collecting four symbols output from the symbol interleaver 613.

상기 블록 포맷터(620)는 도 21과 같이 각 심볼-바이트 변환기(612,614)의 출력을 블록 내에서 일정 기준에 따라 배열하는 역할을 수행한다. 이때 상기 블록 포맷터(620)는 트렐리스 부호화부(256)와 관계되어 동작한다.The block formatter 620 arranges the output of each symbol-byte converter 612 and 614 according to a predetermined criterion in the block as shown in FIG. In this case, the block formatter 620 operates in relation to the trellis encoder 256.

즉, 상기 블록 포맷터(620)는 상기 트렐리스 부호화부(256)로 입력되는 메인 서비스 데이터, 기지 데이터, RS 패리티 데이터, MPEG 헤더 데이터 등 모바일 서비스 데이터를 제외한 나머지 데이터들의 위치(또는 순서)를 고려하여 각 심볼-바이트 변환기(612,614)의 모바일 서비스 데이터 출력 순서를 결정한다. That is, the block formatter 620 determines the position (or order) of the remaining data except for mobile service data such as main service data, known data, RS parity data, and MPEG header data input to the trellis encoder 256. Consider the mobile service data output order of each symbol-byte converter 612,614.

상기 트렐리스 부호화부(256)는 일 실시예로서, 내부에 12개의 트렐리스 부호기를 구비하고 있다. The trellis encoder 256 has twelve trellis encoders as an example.

도 22는 본 발명의 일 실시예에 따른 트렐리스 부호화부(256)의 상세 블록도로서, 12개의 동일한 트렐리스 부호기가 노이즈 분산을 위해 인터리버로 결합되는 예를 보이고 있다. 상기 각 트렐리스 부호기는 프리코더(Pre coder)를 포함할 수 있다. FIG. 22 is a detailed block diagram of a trellis encoder 256 according to an embodiment of the present invention, in which 12 identical trellis encoders are combined into an interleaver for noise dispersion. Each trellis encoder may include a pre coder.

도 23a는 상기 블록 처리기(303)와 트렐리스 부호화부(256)가 연 접(concatenation)된 모습을 도시하고 있다. 실제로 송신 시스템에서는 도 3과 같이 블록 처리기(303)를 포함하는 전처리기(230)와 트렐리스 부호화부(256) 사이에 다수의 블록이 존재하지만, 수신 시스템에서는 두 블록이 연접된 것으로 간주하여 복호를 수행하게 된다. FIG. 23A illustrates a state in which the block processor 303 and the trellis encoder 256 are concatenated. In practice, in the transmission system, as shown in FIG. 3, a plurality of blocks exist between the preprocessor 230 including the block processor 303 and the trellis encoder 256, but in the receiving system, the two blocks are considered to be concatenated. Decoding will be performed.

그런데 상기 트렐리스 부호화부(256)로 입력되는 메인 서비스 데이터, 기지 데이터, RS 패리티 데이터, MPEG 헤더 데이터 등 모바일 서비스 데이터를 제외한 데이터들은 상기 블록 처리기(303)와 트렐리스 부호화부(256) 사이에 존재하는 블록들에서 부가되는 데이터들이다. 도 23b는 이러한 상황을 고려하여 상기 블록 처리기(303)와 트렐리스 부호화부(256) 사이에 데이터 처리부(650)가 배치되는 예를 보이고 있다.However, the data except for mobile service data such as main service data, known data, RS parity data, and MPEG header data inputted to the trellis encoder 256 are the block processor 303 and the trellis encoder 256. Data added in blocks existing in between. 23B illustrates an example in which the data processor 650 is disposed between the block processor 303 and the trellis encoder 256 in consideration of such a situation.

여기서 상기 블록 처리기(303)의 인터리빙부(610)는 1/2 부호율로 부호화를 수행하는 경우, 도 20a(또는 도 20b)와 같이 구성할 수 있다. 상기 데이터 처리부(650)는 도 3을 예로 들 경우, 그룹 포맷터(304), 데이터 디인터리버(305), 패킷 포맷터(306), 패킷 다중화기(240), 후 처리기(250)의 데이터 랜더마이저(251), RS 부호기/비체계적 RS 부호기(252), 데이터 인터리버(253), 패리티 치환기(254), 비체계적 RS 부호기(255)를 포함할 수 있다. Here, the interleaving unit 610 of the block processor 303 may be configured as shown in FIG. 20A (or 20B) when encoding is performed at a 1/2 code rate. 3, the data processor 650 includes a group formatter 304, a data deinterleaver 305, a packet formatter 306, a packet multiplexer 240, and a data randomizer of the post processor 250. 251, an RS encoder / unstructured RS encoder 252, a data interleaver 253, a parity substituent 254, and an unstructured RS encoder 255.

이때 상기 트렐리스 부호화부(256)는 입력되는 데이터를 심볼화하여 기 정의된 방식에 따라 각각의 트렐리스 부호기로 나누어 보낸다. 이때, 한 바이트는 2비트로 구성된 4개의 심볼로 변환되고, 하나의 바이트로부터 만들어진 심볼들은 모두 같은 트렐리스 부호기로 전송된다. 그러면 각 트렐리스 부호기는 입력 심볼 중 상 위 비트는 프리코딩시켜 최상위 출력 비트 C2로 출력하고, 하위 비트는 트렐리스 부호화하여 두 개의 출력 비트 C1,C0로 출력한다.At this time, the trellis encoder 256 symbolizes the input data and sends the trellis encoder to each trellis encoder according to a predefined method. At this time, one byte is converted into four symbols consisting of two bits, and symbols made from one byte are all transmitted to the same trellis encoder. Then, each trellis encoder precodes the upper bits of the input symbols and outputs them to the highest output bit C2, and the lower bits are trellis-coded and outputs the two output bits C1 and C0.

상기 블록 포맷터(620)는 각 심볼-바이트 변환기의 출력 바이트가 서로 다른 트렐리스 부호기로 전송될 수 있도록 제어한다.The block formatter 620 controls the output bytes of each symbol-byte converter to be transmitted to different trellis encoders.

다음은 도 16 내지 도 20을 참조하여 상기 블록 포맷터(620)의 상세 동작을 설명하기로 한다.Next, detailed operations of the block formatter 620 will be described with reference to FIGS. 16 to 20.

도 20a를 예로 들 경우, 심볼-바이트 변환기(612)의 출력 바이트와 심볼-바이트 변환기(614)의 출력 바이트는 상기 블록 포맷터(620)의 제어에 의해 트렐리스 부호화부(256)의 서로 다른 트렐리스 부호기로 입력된다.Referring to FIG. 20A, the output byte of the symbol-byte converter 612 and the output byte of the symbol-byte converter 614 are different from each other of the trellis encoder 256 under the control of the block formatter 620. It is input to the trellis encoder.

본 발명에서는 설명의 편의를 위해, 상기 심볼-바이트 변환기(612)의 출력 바이트를 X라 하고, 상기 심볼-바이트 변환기(614)의 출력 바이트를 Y라 하기로 한다. 도 21의 (a)에서 각 숫자(0~11)는 트렐리스 부호화부(256)의 1번째부터 12번째까지의 트렐리스 부호기를 각각 지시한다. In the present invention, for convenience of explanation, the output byte of the symbol-byte converter 612 is referred to as X, and the output byte of the symbol-byte converter 614 is referred to as Y. In (a) of FIG. 21, each number 0-11 indicates a trellis coder from 1st to 12th of the trellis encoder 256, respectively.

그리고 상기 블록 포맷터(620)는 상기 심볼-바이트 변환기(612)의 출력 바이트들이 트렐리스 부호화부(256)의 0번부터 5번까지의 트렐리스 부호기(0~5)로 입력되고, 상기 심볼-바이트 변환기(614)의 출력 바이트들이 6번부터 11번까지의 트렐리스 부호기(6~11)로 입력되도록, 각 심볼-바이트 변환기(612,614)의 출력 순서를 배열하는 것을 일 실시예로 한다. 여기서 상기 심볼-바이트 변환기(612)의 출력 바이트들이 할당되는 트렐리스 부호기들 및 상기 심볼-바이트 변환기(614)의 출력 바이트들이 할당되는 트렐리스 부호기들은 본 발명의 이해를 돕기 위한 일 실시예일 뿐이다. The block formatter 620 inputs output bytes of the symbol-byte converter 612 to trellis encoders 0 to 5 of the trellis encoder 256. In one embodiment, the output order of each symbol-byte converter 612, 614 is arranged such that the output bytes of the symbol-byte converter 614 are inputted to the trellis encoders 6-11 of numbers 6-11. do. Here, the trellis encoders to which the output bytes of the symbol-byte converter 612 are allocated and the trellis encoders to which the output bytes of the symbol-byte converter 614 are assigned are one embodiment for understanding the present invention. It is only.

또한 상기 블록 처리기(303)의 입력이 12바이트로 구성된 블록이라고 가정할 때, 상기 심볼-바이트 변환기(612)에서는 X0~X11까지 12바이트가 출력되고, 상기 심볼-바이트 변환기(614)에서도 Y0~Y11까지 12바이트가 출력되는 것을 일 실시예로 한다. In addition, assuming that the input of the block processor 303 is a block composed of 12 bytes, the symbol-byte converter 612 outputs 12 bytes from X0 to X11, and the symbol-byte converter 614 also outputs Y0 to According to an embodiment, 12 bytes are output to Y11.

도 21의 (b)는 트렐리스 부호화부(256)로 입력되는 데이터의 일 실시예를 보인 것으로서, 모바일 서비스 데이터뿐만 아니라 메인 서비스 데이터 및 RS 패리티 데이터가 트렐리스 부호화부(256)로 입력되어 각 트렐리스 부호기로 분배되는 예를 보이고 있다. 즉, 상기 블록 처리기(303)로부터 출력된 모바일 서비스 데이터가 그룹 포맷터(304)를 거치면서, 상기 모바일 서비스 데이터에 도 21의 (a)와 같이 메인 서비스 데이터, 그리고 RS 패리티 데이터가 섞인 형태로 출력된다고 할 때, 각 바이트들은 데이터 인터리빙 후의 데이터 그룹 내 위치에 따라 12개의 트렐리스 부호기로 입력된다. 21 (b) shows an embodiment of data input to the trellis encoder 256, in which main service data and RS parity data as well as mobile service data are input to the trellis encoder 256. The example is distributed to each trellis encoder. That is, while the mobile service data output from the block processor 303 passes through the group formatter 304, the mobile service data is output in a form in which main service data and RS parity data are mixed with the mobile service data as shown in FIG. Each byte is input to 12 trellis encoders according to their position in the data group after data interleaving.

여기에 앞서 언급한 원칙에 따라 심볼-바이트 변환기(612,614)의 출력 바이트들(X,Y)을 해당 트렐리스 부호기에 할당하면, 각 트렐리스 부호기의 입력은 도 21의 (b)와 같은 형태가 될 수 있다. If the output bytes (X, Y) of the symbol-byte converter 612, 614 are allocated to the corresponding trellis encoder according to the aforementioned principle, the input of each trellis encoder is as shown in FIG. It can be in form.

즉, 도 21의 (b)를 보면, 상기 심볼-바이트 변환기(612)에서 출력되는 6개의 모바일 서비스 데이터 바이트(X0~X5)는 상기 트렐리스 부호화부(256)의 1번째부터 6번째 트렐리스 부호기(0~5)에 순차적으로 할당(또는 분배)되고, 상기 심볼-바이트 변환기(614)에서 출력되는 2개의 모바일 서비스 데이터 바이트(Y0,Y1)는 7번째,8번 째 트렐리스 부호기(6,7)에 순차적으로 할당된다. 그리고 5개의 메인 서비스 데이터 바이트 중 4개의 메인 서비스 데이터 바이트가 9번째부터 12번째 트렐리스 부호기(8~11)에 순차적으로 할당되고, 다음 1개의 메인 서비스 데이터 바이트가 다시 첫 번째 트렐리스 부호기(0)에 할당되는 예를 보이고 있다. That is, referring to (b) of FIG. 21, six mobile service data bytes X0 to X5 output from the symbol-byte converter 612 are the first to sixth tracks of the trellis encoder 256. The two mobile service data bytes (Y0, Y1) sequentially allocated (or distributed) to the release encoders 0 to 5 and output from the symbol-byte converter 614 are the seventh and eighth trellis. Assigned to the encoders 6, 7 sequentially. Four main service data bytes of the five main service data bytes are sequentially allocated to the ninth to twelfth trellis encoders 8 to 11, and the next one main service data byte is again the first trellis encoder. An example is assigned to (0).

상기 도 21의 (b)와 같이 모바일 서비스 데이터, 메인 서비스 데이터, RS 패리티 데이터 등이 각 트렐리스 부호기에 할당된다고 가정하자. 그리고 전술한 바와 같이 상기 블록 처리기(303)의 입력이 12바이트로 구성된 블록이고, 상기 심볼-바이트 변환기(612)에서는 X0~X11까지 12바이트가 출력되고, 상기 심볼-바이트 변환기(614)에서도 Y0~Y11까지 12바이트가 출력된다고 가정하자. 이 경우 상기 블록 포맷터(620)는 도 21의 (c)와 같이 X0~X5,Y0,Y1,X6~X10,Y2~Y7,X11,Y8~Y11 순으로 상기 심볼-바이트 변환기(612,614)의 출력을 배열하여 출력한다.Assume that the mobile service data, the main service data, the RS parity data, etc. are allocated to each trellis encoder as shown in FIG. 21B. As described above, the input of the block processor 303 is a block composed of 12 bytes. The symbol-byte converter 612 outputs 12 bytes from X0 to X11, and the symbol-byte converter 614 also outputs Y0. Suppose that 12 bytes are output until ~ Y11. In this case, the block formatter 620 outputs the symbol-byte converters 612 and 614 in the order of X0 to X5, Y0, Y1, X6 to X10, Y2 to Y7, X11, Y8 to Y11 as shown in FIG. Output by arranging

즉, 각 데이터 바이트들이 전송 프레임 내의 어느 위치에 삽입되는가에 따라 각각 어떠한 트렐리스 부호기에서 부호화되는지가 결정된다. 이때 모바일 서비스 데이터뿐만 아니라 메인 서비스 데이터와 MPEG 헤더 데이터, RS 패리티 데이터 등도 트렐리스 부호화부(256)에 입력되므로, 상기와 같은 동작을 하기 위해서 블록 포맷터(620)는 데이터 인터리빙 이후의 데이터 그룹 포맷에 대한 정보를 알고 있다고 가정한다. That is, it is determined in which trellis encoder each data byte is encoded according to which position in the transmission frame. In this case, not only the mobile service data but also main service data, MPEG header data, and RS parity data are input to the trellis encoder 256, so that the block formatter 620 performs a data group format after data interleaving. Suppose you know information about.

도 24는 본 발명에 따른 1/N 부호율로 부호화를 수행하는 블록 처리기의 일 실시예를 보인 구성 블록도로서, 병렬로 구성된 (N-1)개의 심볼 인터리버(741~74N-1)를 포함한다. 즉, 1/N 부호율을 갖는 블록 처리기는 원래의 입력 데이터가 그대 로 블록 포맷터(730)로 전달되는 가지(branch or path)를 포함하여 총 N개의 가지를 갖는다. 그리고 각 가지의 심볼 인터리버(741~74N-1)는 서로 다른 형태의 심볼 인터리버로 구성될 수 있다. 상기 (N-1)개의 심볼 인터리버(741~74N-1)의 출력단에는 대응되는 (N-1)개의 심볼-바이트 변환기(751~75N-1)가 구성될 수 있다. 상기 (N-1)개의 심볼-바이트 변환기(751~75N-1)의 출력도 블록 포맷터(730)로 입력된다.24 is a block diagram illustrating an embodiment of a block processor for encoding at a 1 / N code rate according to the present invention, and includes (N-1) symbol interleavers 741 to 74N-1 configured in parallel. do. That is, a block processor having a 1 / N code rate has a total of N branches, including a branch or path through which original input data is passed to the block formatter 730. Each of the symbol interleavers 741 to 74N-1 may be configured with different symbol interleavers. Corresponding (N-1) symbol-byte converters 751 to 75N-1 may be configured at the output terminals of the (N-1) symbol interleavers 741 to 74N-1. Outputs of the (N-1) symbol-byte converters 751 to 75N-1 are also input to the block formatter 730.

본 발명에서 N은 12보다 같거나 작은 것을 일 실시예로 한다. In the present invention, N is one embodiment less than or equal to 12.

만일 N이 12라면 상기 블록 포맷터(730)는 12번째 심볼-바이트 변환기(75N-1)의 출력 바이트는 12번째 트렐리스 부호기로 입력되도록 출력 데이터를 배열할 수 있다. 만일 N이 3이라면 상기 블록 포맷터(730)는 심볼-바이트 변환기(720)의 출력 바이트들은 트렐리스 부호화부(256)의 첫 번째부터 4번째 트렐리스 부호기로 입력되고, 심볼-바이트 변환기(751)의 출력 바이트들은 5번째부터 8번째 트렐리스 부호기로 입력되며, 심볼-바이트 변환기(752)의 출력 바이트들은 9번째부터 12번째 트렐리스 부호기로 입력되도록 제어할 수 있다. If N is 12, the block formatter 730 may arrange the output data such that the output byte of the twelfth symbol-byte converter 75N-1 is input to the twelfth trellis encoder. If N is 3, the block formatter 730 inputs the output bytes of the symbol-byte converter 720 to the first to fourth trellis encoders of the trellis encoder 256, and the symbol-byte converter ( The output bytes of 751) may be input to the fifth to eighth trellis encoders, and the output bytes of the symbol-byte converter 752 may be input to the ninth to twelfth trellis encoders.

이때 각 심볼-바이트 변환기의 출력 데이터 순서는 각 심볼-바이트 변환기에서 출력되는 모바일 서비스 데이터와 섞이게 되는 모바일 서비스 데이터 외의 데이터들의 데이터 그룹 내 위치에 따라 달라질 수 있다.In this case, the output data order of each symbol-byte converter may vary according to the position in the data group of data other than the mobile service data mixed with the mobile service data output from each symbol-byte converter.

도 25는 본 발명의 또 다른 실시예에 블록 처리기의 상세 블록도를 보인 것으로서, 블록 포맷터를 제거하고 블록 포맷터의 역할을 그룹 포맷터에서 수행하도록 하는 것이다. 즉, 도 25의 블록 처리기는 바이트-심볼 변환기(810), 심볼-바이트 변환기(820,840), 및 심볼 인터리버(830)를 포함할 수 있다. 이 경우 각 심볼- 바이트 변환기(820,840)의 출력은 그룹 포맷터(850)로 입력된다. FIG. 25 illustrates a detailed block diagram of a block processor in another embodiment of the present invention, in which a block formatter is removed and a role of the block formatter is performed in a group formatter. That is, the block processor of FIG. 25 may include a byte-symbol converter 810, a symbol-byte converter 820, 840, and a symbol interleaver 830. In this case, the output of each symbol-byte converter 820, 840 is input to the group formatter 850.

또한 상기 블록 처리기는 심볼 인터리버와 심볼-바이트 변환기를 더 추가하여 원하는 부호율을 얻을 수 있다. 만일 1/N 부호율로 부호화를 원하면 원래의 입력 데이터가 그대로 그룹 포맷터(850)로 전달되는 가지(branch or path)를 포함하여 총 N개의 가지와, N-1개의 가지에 병렬로 구성되는 (N-1)개의 심볼 인터리버, 심볼-바이트 변환기를 구비하면 된다. 이때 상기 그룹 포맷터(850)는 MPEG 헤더, 비체계적 RS 패리티, 메인 서비스 데이터를 위한 위치를 확보하는 위치 홀더를 삽입하는 동시에 블록 처리기의 각 가지로부터 출력되는 바이트들을 정해진 위치에 배치한다.In addition, the block processor may add a symbol interleaver and a symbol-byte converter to obtain a desired code rate. If encoding is desired at 1 / N code rate, the original input data is composed of N branches and N-1 branches in parallel, including branches or paths that are passed to the group formatter 850 as it is. N-1) symbol interleavers and symbol-byte converters may be provided. At this time, the group formatter 850 inserts a position holder for securing the position for the MPEG header, the unstructured RS parity, and the main service data, and places the bytes output from each branch of the block processor at a predetermined position.

본 발명에서 제시하는 트렐리스 부호기의 개수, 심볼-바이트 변환기의 개수, 심볼 인터리버의 개수들은 바람직한 실시예이거나 단순한 예시인 바, 상기 수치들에 본 발명의 권리범위가 제한되지는 않는다. 또한 트렐리스 부호화부(256)의 각 트렐리스 부호기로 할당되는 바이트 종류 및 위치는 데이터 그룹 포맷에 따라 다양하게 변화될 수 있음은 본 발명이 속한 기술 분야에서 통상의 지식을 가진 자에게 명백한 것이다. 따라서 본 발명은 상기된 실시예로 한정되지 않는 것으로 이해되어야 한다.The number of trellis encoders, the number of symbol-byte converters, and the number of symbol interleavers presented in the present invention are preferred embodiments or simple examples, and thus the scope of the present invention is not limited to the above numerical values. In addition, it is apparent to those skilled in the art that the byte type and position allocated to each trellis encoder of the trellis encoder 256 may vary according to the data group format. will be. Therefore, it is to be understood that the present invention is not limited to the above described embodiments.

상기와 같이 블록 처리기(303)에서 1/N 부호율로 부호화되어 출력되는 모바일 서비스 데이터는 그룹 포맷터(304)로 입력된다. 여기서는 상기 블록 처리기(303)의 블록 포맷터에서 출력 데이터 순서가 데이터 그룹 내 바이트 위치에 따라 배열되어 출력되는 것을 일 실시예로 설명한다.As described above, the mobile service data encoded and output at the 1 / N code rate by the block processor 303 is input to the group formatter 304. In this embodiment, the output data order in the block formatter of the block processor 303 is arranged and output according to the byte position in the data group.

시그널링Signaling 정보 처리 Information processing

본 발명에 따른 송신기(200)에서는 전송 파라미터를 여러 가지 방법, 및 위치에서 삽입하여 수신 시스템으로 전송할 수 있다. In the transmitter 200 according to the present invention, transmission parameters may be inserted in various methods and positions and transmitted to the receiving system.

본 발명의 이해를 돕기 위해 송신기에서 수신 시스템으로 전송해야 할 전송 파라미터에 대해 정의하기로 한다. 상기 전송 파라미터는 데이터 그룹 정보, 데이터 그룹 내 영역 정보, 수퍼 프레임을 구성하는 RS 프레임의 개수(Super frame size :SFS), RS 프레임에서 한 개 컬럼당 RS 패리티 개수(P), RS 프레임의 로우 방향으로 에러 유무를 판단하기 위해 추가되는 체크섬의 사용유무, 사용되는 경우 그 종류와 크기(현재는 CRC로 2바이트 추가), 한 개의 RS 프레임을 구성하는 데이터 그룹의 개수- RS 프레임은 한 개의 버스트 구간에 전송되므로 한 버스트내의 데이터 그룹 개수(Burst size : BS)와 동일하다 - 그리고 터보 코드 모드, RS 코드 모드 등이 있다. 또한 버스트 수신시 필요한 전송 파라미터로는 버스트 주기(Burst Period :BP) - 한 버스트 주기는 한 버스트의 시작부터 다음 버스트의 시작까지를 필드 개수로 카운트한 값이다.- 그리고 현재 전송되는 RS 프레임이 한 개의 수퍼 프레임 내에서 차지하는 순서(Permuted Frame Index : PFI)나 한 개의 RS 프레임(버스트) 내에서 현재 전송되고 있는 그룹의 순서(Group Index :GI), 버스트 사이즈 등이 있다. 버스트 운용방법에 따라서는 다음 버스트 시작까지 남아있는 필드 개수(Time to Next Burst :TNB)가 있으며, 이러한 정보들을 전송 파라미터로서 전송함에 의해, 수신 시스템에 전송되는 각 데이터 그룹마다 다음 버스트 시작까지의 상대적인 거리(필드 개수)를 알려줄 수도 있다. To facilitate understanding of the present invention, transmission parameters to be transmitted from a transmitter to a reception system will be defined. The transmission parameter includes data group information, area information in the data group, the number of RS frames constituting a super frame (Super frame size: SFS), the number of RS parities (P) per column in the RS frame, and the row direction of the RS frame. Use of checksum added to determine whether there is an error, type and size (if present, add 2 bytes as CRC) if used, number of data groups constituting one RS frame-RS frame is one burst period Is equal to the number of data groups (Burst size (BS)) in a burst-and so on, and there are a turbo code mode and an RS code mode. In addition, the transmission parameters required for burst reception are Burst Period (BP)-one burst period is a count of the number of fields from the start of one burst to the start of the next burst. The order occupied in the super frames (Permuted Frame Index (PFI)), the order of groups currently being transmitted in one RS frame (burst) (Group Index: GI), burst size, and the like. According to the burst operation method, there is the number of fields remaining until the start of the next burst (TNB), and by transmitting this information as a transmission parameter, the relative until the start of the next burst for each data group transmitted to the receiving system. You can also tell the distance (number of fields).

상기 전송 파라미터에 포함되는 정보들은 본 발명의 이해를 돕기 위한 일 실시예일 뿐이며, 상기 전송 파라미터에 포함되는 정보들의 추가 및 삭제는 당업자에 의해 용이하게 변경될 수 있으므로 본 발명은 상기 실시예로 한정되지 않을 것이다. The information included in the transmission parameter is only one embodiment for better understanding of the present invention, and the present invention is not limited to the above embodiment because addition and deletion of information included in the transmission parameter can be easily changed by those skilled in the art. Will not.

제1 실시예로서, 전송 파라미터는 모바일 서비스 데이터 패킷 또는 데이터 그룹의 일정 영역을 할당하여 삽입할 수 있다. 이 경우, 수신 시스템에서는 일단 수신 신호에 대해 동기와 등화가 이루어지고 심볼 단위의 복호가 이루어지고 난 후, 패킷 디포맷터에서 모바일 서비스 데이터와 전송 파라미터를 분리해 검출할 수 있다. 상기 제1 실시예의 경우, 상기 전송 파라미터는 그룹 포맷터(304)에서 삽입하여 전송할 수 있다.As a first embodiment, the transmission parameter may allocate and insert a certain area of the mobile service data packet or data group. In this case, in the receiving system, once synchronization and equalization of the received signal are performed and symbol-based decoding is performed, the packet deformatter can separate and detect the mobile service data and the transmission parameter. In the case of the first embodiment, the transmission parameter may be inserted and transmitted in the group formatter 304.

제2 실시예로서, 전송 파라미터를 다른 데이터와 다중화하여 삽입할 수도 있다. 예를 들면, 기지 데이터를 모바일 서비스 데이터와 다중화할 때, 기지 데이터를 삽입할 수 있는 위치에 기지 데이터 대신 전송 파라미터를 삽입할 수 있으며 또는 기지 데이터와 혼합하여 삽입할 수도 있다. 상기 제2 실시예의 경우, 상기 전송 파라미터는 그룹 포맷터(304) 또는 패킷 포맷터(306)에서 삽입하여 전송할 수 있다. 일 예로, 프로그램에 따른 서비스 식별자(service id), 데이터 그룹 내 A,B 영역의 RS 모드, C 영역의 RS 모드, 수퍼 프레임의 크기(super frame size; SFS), RS 프레임이 수퍼 프레임에서 차지하는 위치 정보(permuted frame index; PFI), 버스트의 크기(burst size; BS), 데이터 그룹의 인덱스(group index; GI) 및 다음 버스 트까지의 시간(time to next burst; TNB) 정보는 도 8에서와 같이 제1 기지 데이터 영역 내 제4 기지 데이터 패턴 영역에 삽입하여 전송할 수 있다.As a second embodiment, a transmission parameter may be inserted by multiplexing with other data. For example, when multiplexing the known data with the mobile service data, the transmission parameter may be inserted instead of the known data at a position where the known data may be inserted, or may be mixed with the known data. In the case of the second embodiment, the transmission parameter may be inserted and transmitted in the group formatter 304 or the packet formatter 306. For example, the service ID according to the program, the RS mode of the A and B areas in the data group, the RS mode of the C area, the super frame size (SFS), and the position occupied by the RS frame in the super frame Permuted frame index (PFI), burst size (BS), data group index (GI), and time to next burst (TNB) information are shown in FIG. In the same manner, the data can be inserted into the fourth known data pattern region in the first known data region and transmitted.

제3 실시예로서, 전송 파라미터는 전송 프레임의 필드 동기 세그먼트 내에 미사용 영역의 일부를 할당하여 삽입할 수도 있다. 이 경우, 수신 시스템에서는 수신 신호에 대한 심볼 단위의 복호가 이루어지기 전에 상기 전송 파라미터를 검출할 수 있기 때문에, 상기 블록 처리기(303), 그룹 포맷터(304)의 처리 방법에 대한 정보를 갖는 전송 파라미터를 상기 필드 동기 신호의 미사용 영역에 삽입할 수 있다. 즉, 상기 수신 시스템에서는 필드 동기 세그먼트를 이용하여 필드 동기를 획득한 후 약속된 위치에서 전송 파라미터를 검출할 수 있다. 상기 제3 실시예의 경우, 상기 전송 파라미터는 동기 다중화기(260)에서 삽입하여 전송할 수 있다.As a third embodiment, the transmission parameter may allocate and insert a part of the unused area in the field sync segment of the transmission frame. In this case, since the transmission system can detect the transmission parameter before symbol-based decoding of the received signal is performed, the transmission parameter having information on the processing method of the block processor 303 and the group formatter 304 is provided. Can be inserted into the unused area of the field sync signal. That is, in the receiving system, after acquiring the field sync using the field sync segment, the transmission parameter may be detected at the promised position. In the case of the third embodiment, the transmission parameter may be inserted and transmitted by the synchronous multiplexer 260.

제4 실시예로서, 상기 전송 파라미터는 트랜스포트 스트림(Transport Stream) 패킷보다 높은 계층(layer)에서 삽입하여 전송할 수도 있다. 이 경우, 수신 시스템에서는 신호를 수신하여 TS 패킷 계층 이상으로 이미 만들 수 있어야 하고, 이때 전송 파라미터의 용도는 현재 수신한 신호의 전송 파라미터에 대한 검증 역할과 이 후에 수신될 신호의 전송 파라미터를 주는 역할을 수행할 수 있다.As a fourth embodiment, the transport parameter may be inserted and transmitted at a higher layer than a transport stream packet. In this case, the receiving system should be able to receive the signal and make it beyond the TS packet layer, and the purpose of the transmission parameter is to verify the transmission parameter of the currently received signal and to give the transmission parameter of the signal to be received later. Can be performed.

본 발명에서는 전송 신호에 관련된 여러 가지의 전송 파라미터들을 상기된 실시예들의 방법을 통해 삽입하여 전송하는데, 이때 상기 전송 파라미터는 어느 한 실시예를 통해서만 삽입하여 전송할 수도 있고, 일부 실시예를 통해서 삽입하여 전송할 수도 있으며, 모든 실시예를 통해 삽입하여 전송할 수도 있다. 또한 전송 파라미터 내 정보는 각 실시예에서 중복되어 삽입될 수도 있고, 필요한 정보만 해당 실시예의 해당 위치에서 삽입되어 전송될 수도 있다. In the present invention, various transmission parameters related to a transmission signal are inserted and transmitted through the method of the above-described embodiments, wherein the transmission parameters may be inserted and transmitted only through one embodiment or may be inserted through some embodiments. It may be transmitted or may be inserted and transmitted through all embodiments. In addition, the information in the transmission parameter may be inserted in duplicate in each embodiment, or only necessary information may be inserted and transmitted in the corresponding position of the embodiment.

그리고 상기 전송 파라미터는 강인성을 확보하기 위하여 짧은 주기의 블록 부호화를 수행한 후 해당 영역에 삽입될 수 있다. 상기 짧은 주기의 블록 부호화 방법으로는 예를 들면, 커독(Kerdock) 부호화, BCH 부호화, RS 부호화, 전송 파라미터의 반복 부호화 등이 있다. 또한, 여러 개의 블록 부호화의 조합도 가능하다. In addition, the transmission parameter may be inserted into a corresponding region after performing block coding of a short period to ensure robustness. Examples of the short-term block coding method include Kerdock coding, BCH coding, RS coding, repetitive coding of transmission parameters, and the like. In addition, a combination of several block encodings is also possible.

상기 전송 파라미터들을 모아 작은 크기의 블록 부호를 만들어 데이터 그룹 내에 signaling용으로 할당해둔 바이트에 삽입하여 전송할 수 있다. 하지만 이 경우 수신 측면에서 블록 복호기를 통과하여 전송 파라미터 값이 얻어지므로 블록 복호시 필요한 터보 코드 모드, RS 코드 모드 등의 전송 파라미터는 먼저 얻어져야 한다. 이 때문에 모드에 관련된 전송 파라미터는 기지 데이터 영역의 일부 구간에 전송 파라미터를 삽입할 수 있으며, 이 경우 빠른 복호를 위해 심볼의 상관관계를 이용할 수 있다. 수신 시스템은 각 시퀀스들과 현재 수신된 시퀀스간에 상관 관계를 보고 부호 모드와 조합 모드를 판단하게 된다.The transmission parameters may be collected to form a small block code and inserted into a byte allocated for signaling in a data group for transmission. However, in this case, since the transmission parameter value is obtained by passing through the block decoder in terms of reception, transmission parameters such as the turbo code mode and the RS code mode necessary for block decoding must be obtained first. For this reason, the transmission parameter related to the mode may insert the transmission parameter into a part of the known data region, and in this case, symbol correlation may be used for fast decoding. The receiving system determines the sign mode and the combination mode by looking at the correlation between the sequences and the currently received sequence.

한편 상기 전송 파라미터가 필드 동기 세그먼트 영역 또는 기지 데이터 영역에 삽입되어 전송되는 경우, 상기 전송 파라미터가 전송 채널을 거쳤을 때 그 신뢰도가 떨어지므로, 전송 파라미터에 따라 기 정의된 패턴들 중 하나를 삽입하는 것도 가능하다. 이때 수신 시스템에서는 수신된 신호와 기 정의된 패턴들과의 상관 연산을 수행하여 전송 파라미터를 인식할 수 있다. On the other hand, when the transmission parameter is inserted into the field sync segment area or the known data area and is transmitted, since the reliability is lowered when the transmission parameter passes through the transmission channel, one of the predefined patterns is inserted according to the transmission parameter. It is also possible. In this case, the reception system may recognize a transmission parameter by performing a correlation operation between the received signal and predefined patterns.

예를 들어, 버스트 내의 그룹의 개수가 5개인 경우를 F 패턴으로 송/수신측의 약속에 의해 미리 정하였다고 가정하자. 그러면 송신측에서는 버스트 내의 그룹 의 개수가 5개일 때는 F 패턴을 삽입하여 전송한다. 그리고 수신측에서는 수신 데이터와 미리 생성한 F 패턴을 포함하는 여러 기준 패턴들과의 상관 연산을 수행한다. 이때 수신 데이터와 F 패턴과의 상관값이 제일 크면 상기 수신 데이터는 전송 파라미터 특히, 버스트 내의 그룹의 개수를 나타내며 이때 그 개수는 5개라고 인식할 수 있게 된다. For example, suppose that the number of groups in the burst is five, determined in advance by the appointment of the transmitting / receiving side in the F pattern. Then, when the number of groups in the burst is five, the transmitter inserts and transmits an F pattern. The receiving side performs a correlation operation between the received data and various reference patterns including the pre-generated F pattern. In this case, if the correlation value between the received data and the F pattern is the largest, the received data indicates a transmission parameter, in particular, the number of groups in the burst, and the number is recognized as five.

다음은 전송 파라미터 삽입 및 전송하는 과정을 제1 내지 제3 실시예로 나누어 설명한다.Next, a process of inserting and transmitting a transmission parameter will be described by dividing the first to third embodiments.

제1 First 실시예Example

도 26은 그룹 포맷터(304)에서 전송 파라미터를 입력받아 데이터 그룹 내 A 영역에 삽입하기 위한 본 발명의 개략도이다. FIG. 26 is a schematic diagram of the present invention for receiving a transmission parameter from the group formatter 304 and inserting the transmission parameter into the A region in the data group.

이때, 상기 그룹 포맷터(304)는 블록 처리기(303)로부터 모바일 서비스 데이터를 입력받는다. 이에 반해 전송 파라미터는 데이터 랜더마이징 과정, RS 프레임 부호화 과정, 블록 처리 과정 중 적어도 하나의 과정을 거친 후 그룹 포맷터(304)로 입력될 수도 있고, 세 과정 모두를 거치지 않고 그룹 포맷터(304)로 입력될 수도 있다. 또한 상기 전송 파라미터는 서비스 다중화기(100)에서 제공될 수도 있고, 송신기(200) 내부에서 발생하여 제공될 수도 있다. In this case, the group formatter 304 receives mobile service data from the block processor 303. In contrast, the transmission parameter may be input to the group formatter 304 after at least one of data rendering, RS frame encoding, and block processing, or input to the group formatter 304 without going through all three processes. May be In addition, the transmission parameter may be provided by the service multiplexer 100 or may be generated and provided within the transmitter 200.

상기 전송 파라미터는 수신 시스템에서 상기 데이터 그룹에 포함되는 데이터를 수신하여 처리하는데 필요한 정보들을 포함할 수 있다. 예를 들면, 상기 전송 파라미터는 데이터 그룹 정보, 다중화 정보 등을 포함할 수 있다. The transmission parameter may include information necessary for receiving and processing data included in the data group in a receiving system. For example, the transmission parameter may include data group information, multiplexing information, and the like.

상기 그룹 포맷터(304)에서는 데이터 그룹을 형성하는 규칙에 따라 데이터 그룹 내 해당 영역에 입력되는 모바일 서비스 데이터와 전송 파라미터를 삽입한다. The group formatter 304 inserts mobile service data and transmission parameters input to a corresponding area in the data group according to a rule for forming a data group.

일 실시예로, 상기 전송 파라미터는 짧은 주기의 블록 부호화를 거친 후 상기 데이터 그룹 내 A 영역에 삽입될 수 있다. 특히 상기 전송 파라미터는 A 영역 중 약속된 임의의 위치에 삽입될 수 있다.According to an embodiment, the transmission parameter may be inserted in an area A of the data group after a short period of block encoding. In particular, the transmission parameter may be inserted at any position promised in the A area.

만일 상기 전송 파라미터가 블록 처리기(303)에서 블록 처리 과정을 거쳤다고 가정하면, 상기 블록 처리기(303)에서는 전송 파라미터를 담고있는 시그널링 정보도 모바일 서비스 데이터 처리 과정과 동일하게 1/2 부호화 또는 1/4 부호화를 수행한 후 그룹 포맷터(304)로 출력한다. 이후 상기 시그널링 정보도 모바일 서비스 데이터로 간주되어 처리된다. If it is assumed that the transmission parameter has been processed by the block processor 303, the block processor 303 may also encode 1/2 or 1 / signaling information including the transmission parameter in the same manner as the mobile service data processing. 4 is encoded and then output to the group formatter 304. The signaling information is also regarded as mobile service data and processed.

도 27은 전송 파라미터를 입력받아 모바일 서비스 데이터와 동일한 과정으로 처리하는 블록 처리기의 일 예를 나타낸 블록도로서, 도 16의 구성 요소에 시그널링 정보 제공부(411)와 다중화기(412)가 더 추가된 예를 보이고 있다. FIG. 27 is a block diagram illustrating an example of a block processor that receives a transmission parameter and processes the same as the mobile service data. The signaling information provider 411 and the multiplexer 412 are further added to the component of FIG. 16. An example is shown.

즉, 시그널링 정보 제공부(411)에서는 전송 파라미터를 담고있는 시그널링 정보를 다중화기(412)로 출력한다. 상기 다중화기(412)는 시그널링 정보와 RS 프레임 부호기(302)의 출력을 다중화하여 바이트-비트 변환기(401)로 출력한다.That is, the signaling information provider 411 outputs the signaling information including the transmission parameter to the multiplexer 412. The multiplexer 412 multiplexes the signaling information and the output of the RS frame encoder 302 and outputs them to the byte-bit converter 401.

상기 바이트-비트 변환기(401)는 다중화기(412)에서 출력되는 모바일 서비스 데이터 바이트 또는 시그널링 정보 바이트를 비트로 구분하여 심볼 부호기(402)로 출력한다.The byte-bit converter 401 divides the mobile service data byte or signaling information byte output from the multiplexer 412 into bits and outputs the result to the symbol encoder 402.

이후의 동작은 상기된 도 16을 참조하면 되므로, 상세 설명을 생략한다.Since the subsequent operation may refer to FIG. 16 described above, a detailed description thereof will be omitted.

만일, 상기 블록 처리기(303)의 상세 구성이 도 20, 도 23 내지 도 25 중 적 어도 하나를 적용한다면 상기 시그널링 정보 제공부(411)와 다중화기(412)는 바이드-심볼 변환기 전단에 구비될 수 있다.If the detailed configuration of the block processor 303 applies at least one of FIGS. 20 and 23 to 25, the signaling information providing unit 411 and the multiplexer 412 may be provided in front of the bind-symbol converter. Can be.

또한 상기 시그널링 정보 제공부(411)에서 제공되는 전송 파라미터가 심볼 단위라면 상기 시그널링 정보 제공부(411)와 다중화기(412)는 바이트-심볼 변환기 후단에 구비될 수 있다.In addition, if the transmission parameter provided from the signaling information providing unit 411 is a symbol unit, the signaling information providing unit 411 and the multiplexer 412 may be provided after the byte-symbol converter.

제2 2nd 실시예Example

한편 상기 그룹 포맷터(304)에서 기 정해진 방법에 의해서 발생된 기지 데이터를 데이터 그룹 내 해당 영역에 삽입할 경우, 기지 데이터를 삽입할 수 있는 영역의 적어도 일부에 기지 데이터 대신 전송 파라미터를 삽입할 수도 있다. On the other hand, when the group formatter 304 inserts the known data generated by a predetermined method into a corresponding region in the data group, a transmission parameter may be inserted in place of the known data in at least a portion of the region where the known data can be inserted. .

예를 들어, 데이터 그룹 내 A 영역의 시작 부분에 긴 기지 데이터 열을 삽입하는 경우, 이 중 일부 일 예로, 제1 기지 데이터 영역 내 제4 기지 데이터 패턴 영역에는 기지 데이터 대신 전송 파라미터를 삽입할 수도 있다. 이때 상기 전송 파라미터가 삽입되는 영역을 제외한 나머지 영역에 삽입되는 기지 데이터 열 중 일부는 도 8에서와 같이 수신 시스템에서 데이터 그룹의 시작점을 포착하는데 사용할 수 있고, 다른 일부는 수신 시스템에서 채널 등화를 위해 사용할 수 있다. For example, when a long known data column is inserted at the beginning of the A region in the data group, as an example of this, a transmission parameter may be inserted in the fourth known data pattern region in the first known data region instead of the known data. have. At this time, some of the known data strings inserted in the remaining region except for the region in which the transmission parameter is inserted may be used to capture the starting point of the data group in the receiving system, as shown in FIG. Can be used.

그리고 상기 기지 데이터 영역에 기지 데이터 대신 전송 파라미터를 삽입하는 경우, 전송 파라미터는 짧은 주기로 블록 부호화하여 삽입할 수도 있고, 전술한 바와 같이 전송 파라미터에 따라 기 정의된 패턴을 삽입할 수도 있다. When the transmission parameter is inserted in the known data area instead of the known data, the transmission parameter may be inserted by block coding in a short period or a predetermined pattern may be inserted according to the transmission parameter as described above.

만일 상기 그룹 포맷터(304)에서 데이터 그룹 내 기지 데이터를 삽입할 수 있는 영역에 기지 데이터 대신 기지 데이터 위치 홀더를 삽입하는 경우, 상기 전송 파라미터는 패킷 포맷터(306)에서 삽입할 수도 있다. If the group formatter 304 inserts the known data position holder instead of the known data into an area in which the known data in the data group can be inserted, the transmission parameter may be inserted in the packet formatter 306.

즉, 상기 패킷 포맷터(306)는 상기 그룹 포맷터(304)에서 기지 데이터 위치 홀더를 삽입한 경우 상기 기지 데이터 위치 홀더에 기지 데이터를 대체하여 삽입할 수도 있고, 상기 그룹 포맷터(304)에서 기지 데이터를 삽입한 경우에는 그대로 출력할 수도 있다. That is, the packet formatter 306 may insert and replace the known data in the known data position holder when the known data position holder is inserted in the group formatter 304 or insert the known data in the group formatter 304. If inserted, it can be output as is.

도 28은 상기 패킷 포맷터(306)에서 전송 파라미터를 삽입하기 위하여 패킷 포맷터를 확장한 실시예를 보인 구성 블록도로서, 상기 패킷 포맷터(306)에 기지 데이터 발생부(351)와 시그널링 다중화기(352)가 더 포함된 구조이다. 상기 시그널링 다중화기(352)로 입력되는 전송 파라미터는 현재 버스트의 길이에 대한 정보, 다음 버스트의 시점을 알려주는 정보, 버스트 내 그룹들이 존재하는 위치와 길이, 버스트 내에서 현재 그룹에서 다음 그룹까지의 시간, 기지 데이터에 대한 정보 등을 포함할 수 있다.FIG. 28 is a block diagram illustrating an example in which the packet formatter is extended to insert a transmission parameter in the packet formatter 306. The known data generator 351 and the signaling multiplexer 352 may be arranged in the packet formatter 306. FIG. ) Is further included. The transmission parameter input to the signaling multiplexer 352 includes information on the length of the current burst, information indicating the time of the next burst, the location and length of the groups in the burst, the current group to the next group in the burst. Time, known information about the data, and the like.

상기 시그널링 다중화기(352)는 전송 파라미터와 기지 데이터 발생부(351)에서 발생된 기지 데이터 중 하나를 선택하여 패킷 포맷터(306)로 출력한다. 상기 패킷 포맷터(306)는 상기 데이터 디인터리버(305)에서 출력되는 기지 데이터 위치 홀더에 상기 시그널링 다중화기(352)에서 출력되는 기지 데이터 또는 전송 파라미터를 삽입하여 출력한다. 즉 상기 패킷 포맷터(306)는 기지 데이터 영역의 적어도 일부에 기지 데이터 대신 전송 파라미터를 삽입하여 출력한다. The signaling multiplexer 352 selects one of a transmission parameter and known data generated from the known data generator 351 and outputs it to the packet formatter 306. The packet formatter 306 inserts and outputs known data or transmission parameters output from the signaling multiplexer 352 into a known data position holder output from the data deinterleaver 305. That is, the packet formatter 306 inserts and outputs transmission parameters instead of known data in at least a portion of the known data area.

예를 들어, 데이터 그룹 내 A 영역의 시작 부분에 기지 데이터 위치 홀더를 삽입한 경우, 상기 기지 데이터 위치 홀더 중 일부에 기지 데이터 대신 전송 파라 미터를 삽입할 수 있다. For example, when the known data position holder is inserted at the start of the area A in the data group, a transmission parameter may be inserted in place of the known data in some of the known data position holders.

그리고 상기 기지 데이터 위치 홀더에 기지 데이터 대신 전송 파라미터를 삽입하는 경우, 상기 전송 파라미터는 짧은 주기로 블록 부호화하여 삽입할 수도 있고, 전송 파라미터에 따라 기 정의된 패턴을 삽입할 수도 있다. When the transmission parameter is inserted in the known data position holder instead of the known data, the transmission parameter may be inserted by block encoding in a short period or a predetermined pattern may be inserted according to the transmission parameter.

즉, 상기 시그널링 다중화기(352)에서는 기지 데이터와 전송 파라미터(또는 전송 파라미터에 따라 정의된 패턴)를 다중화하여 새로운 기지 데이터 열을 구성한 후 패킷 포맷터(306)로 출력한다. 상기 패킷 포맷터(306)는 데이터 디인터리버(305)의 출력으로부터 메인 서비스 데이터 위치 홀더, RS 패리티 위치 홀더를 제거하고, 모바일 서비스 데이터와 MPEG 헤더, 시그널링 다중화기(352)의 출력으로 188 바이트의 모바일 서비스 데이터 패킷을 생성하여 패킷 다중화기(240)로 출력한다. That is, the signaling multiplexer 352 multiplexes the known data and the transmission parameters (or patterns defined according to the transmission parameters) to form a new known data string and outputs the new known data string to the packet formatter 306. The packet formatter 306 removes the main service data location holder, the RS parity location holder from the output of the data deinterleaver 305, and sends 188 bytes of mobile to the output of the mobile service data, the MPEG header, and the signaling multiplexer 352. The service data packet is generated and output to the packet multiplexer 240.

이 경우 각 데이터 그룹 내 A 영역은 각기 다른 기지 데이터 패턴을 갖게 된다. 따라서 수신 시스템에서는 기지 데이터열 중에서 약속된 구간의 심볼만을 떼어 전송 파라미터로 인식하게 된다. In this case, the A region in each data group has a different known data pattern. Therefore, the reception system recognizes only the symbol of the promised interval in the known data sequence as a transmission parameter.

이때 상기 기지 데이터는 송신 시스템의 설계 방식에 따라 패킷 포맷터(306)나 그룹 포맷터(304) 또는 블록 처리기(303)등 다른 위치에서 삽입될 수 있으므로, 기지 데이터를 삽입하는 블록에서 상기 기지 데이터 대신 전송 파라미터를 삽입할 수 있다. In this case, since the known data may be inserted at another location such as the packet formatter 306, the group formatter 304, or the block processor 303 according to the design method of the transmission system, the known data is transmitted instead of the known data in the block in which the known data is inserted. You can insert a parameter.

상기 제2 실시예에서는 기지 데이터 영역 중 일부에 블록 처리기(303)의 처리 방법을 포함하는 전송 파라미터를 삽입하여 전송할 수 있다. 이 경우 전송 파라 미터 심볼 자체를 위한 심볼 처리 방법과 그 위치가 정해져 있으며, 복호할 다른 데이터 심볼보다 시간적으로 먼저 송수신하도록 위치시켜야 한다. 그러면 수신 시스템에서 상기 전송 파라미터 심볼을 데이터 심볼 복호 전에 검출하여 데이터 심볼을 위한 복호에 사용할 수 있다. In the second embodiment, a transmission parameter including a processing method of the block processor 303 may be inserted into a part of the known data area and transmitted. In this case, the symbol processing method and its position for the transmission parameter symbol itself are determined, and it should be positioned to transmit and receive in time before other data symbols to be decoded. Then, the transmission parameter symbol may be detected before data symbol decoding by the receiving system and used for decoding for the data symbol.

제3 The third 실시예Example

한편 전송 파라미터는 상기 필드 동기 세그먼트 영역에 삽입하여 전송할 수도 있다. Meanwhile, the transmission parameter may be inserted into the field sync segment area and transmitted.

도 29는 전송 파라미터를 필드 동기 세그먼트 영역에 삽입하기 위해 동기 다중화기를 확장한 실시예를 보인 구성 블록도로서, 상기 동기 다중화기(260)에 시그널링 다중화기(261)가 더 포함된 구조이다. FIG. 29 is a block diagram illustrating an embodiment in which a synchronous multiplexer is extended to insert a transmission parameter into a field sync segment region. The synchronous multiplexer 260 further includes a signaling multiplexer 261.

통상 VSB 방식의 전송 프레임은 2개의 필드로 구성되고, 각 필드는 하나의 필드 동기 세그먼트와 312개의 데이터 세그먼트로 이루어진다. 각 데이터 세그먼트는 총 832 심볼로 구성된다. 이때, 한 데이터 세그먼트에서 첫 번째 4 심볼은 세그먼트 동기 부분이고, 한 필드에서 첫 번째 데이터 세그먼트는 필드 동기 부분이 된다. In general, a VSB transmission frame includes two fields, and each field includes one field sync segment and 312 data segments. Each data segment consists of a total of 832 symbols. In this case, the first 4 symbols in one data segment are segment sync parts, and the first data segment in a field is field sync parts.

하나의 필드 동기 신호는 하나의 데이터 세그먼트 길이로 이루어지며, 처음 4개의 심볼(symbol)에 데이터 세그먼트 동기 패턴이 존재하고, 그 다음에 유사 랜덤 시퀀스(Pseudo Random Sequence)인 PN 511, PN 63, PN 63, PN 63이 존재하며 그 다음 24 심볼에는 VSB 모드 관련 정보가 존재한다. 그리고 상기 VSB 모드 관련 정보가 존재하는 24 심볼 다음의 나머지 104 심볼은 미사용(Reserved)인데, 상기 미 사용 영역 중 마지막 12 심볼에는 이전 세그먼트의 마지막 12 심볼 데이터를 복사하여 놓는다. 그러면 상기 필드 동기 세그먼트에서 92개 심볼이 실제적인 미사용 영역이 된다. One field sync signal consists of one data segment length, and there is a data segment sync pattern in the first four symbols, followed by PN 511, PN 63, and PN, which are pseudo random sequences. 63, PN 63 is present and the next 24 symbols are VSB mode-related information. The remaining 104 symbols after the 24 symbols in which the VSB mode related information exists are reserved. The last 12 symbols of the previous segment are copied to the last 12 symbols of the unused region. Then, 92 symbols in the field sync segment become actual unused areas.

따라서 상기 시그널링 다중화기(261)는 전송 파라미터가 필드 동기 세그먼트의 미사용 영역에 삽입되도록 기존의 필드 동기 세그먼트 심볼과 다중화하여 동기 다중화기(260)로 출력한다. 상기 동기 다중화기(260)는 세그먼트 동기 심볼, 데이터 심볼들, 그리고 상기 시그널링 다중화기(261)에서 출력되는 새로운 필드 동기 세그먼트를 다중화하여 새로운 전송 프레임을 구성한다. 상기 전송 파라미터가 삽입된 필드 동기 세그먼트를 포함하는 전송 프레임은 송신부(270)로 입력된다. Accordingly, the signaling multiplexer 261 multiplexes with the existing field sync segment symbols and outputs them to the sync multiplexer 260 so that transmission parameters are inserted into an unused area of the field sync segment. The synchronous multiplexer 260 configures a new transmission frame by multiplexing segment sync symbols, data symbols, and new field sync segments output from the signaling multiplexer 261. The transmission frame including the field sync segment in which the transmission parameter is inserted is input to the transmitter 270.

이때, 상기 전송 파라미터를 삽입하기 위한 필드 동기 세그먼트 내의 미사용 영역은 92 심볼의 미사용 영역의 일부 또는 전체가 될 수도 있다. In this case, the unused area in the field sync segment for inserting the transmission parameter may be part or all of the unused area of 92 symbols.

상기 미사용 영역에 삽입하는 전송 파라미터는 일 예로, 메인 서비스 데이터인지 모바일 서비스 데이터인지 또는 다른 종류의 모바일 서비스 데이터인지 등을 구별하는 정보를 포함할 수 있다.The transmission parameter inserted into the unused area may include, for example, information for identifying whether the main service data, the mobile service data, or another type of mobile service data.

만일, 상기 블록 처리기(303)의 처리 방법에 대한 정보가 전송 파라미터의 일부로서 전송되는 경우, 수신 시스템에서 블록 처리기(303)에 해당하는 복호가 수행될 때 이 블록 처리 방법에 대한 정보를 알아야 복호가 가능하다. 그러므로 블록 처리기(303)의 처리 방법에 대한 정보는 블록 디코딩 전에 알 수 있어야 한다. If the information on the processing method of the block processor 303 is transmitted as part of a transmission parameter, when the decoding corresponding to the block processor 303 is performed in the receiving system, the information on the block processing method should be known. Is possible. Therefore, the information on the processing method of the block processor 303 should be known before the block decoding.

따라서 상기 제3 실시예에서와 같이 블록 처리기(303)(및/또는 그룹 포맷터(304))의 처리 방법에 대한 정보를 갖는 전송 파라미터를 상기 필드 동기 신호의 미사용 영역에 삽입하여 전송하면, 수신 시스템에서는 수신 신호에 대한 블록 디코딩이 이루어지기 전에 상기 전송 파라미터를 검출할 수 있게 된다.Therefore, as in the third embodiment, when a transmission parameter having information about the processing method of the block processor 303 (and / or the group formatter 304) is inserted into the unused area of the field sync signal and transmitted, the reception system In this case, the transmission parameter can be detected before block decoding is performed on a received signal.

수신 시스템Receiving system

도 30은 본 발명에 따른 디지털 방송 수신 시스템의 일 실시예를 보인 구성 블록도이다. 도 30의 디지털 방송 수신 시스템에서는 송신 시스템에서 모바일 서비스 데이터 구간에 삽입하여 전송하는 기지 데이터 정보를 이용하여 반송파 동기 복원, 프레임 동기 복원 및 채널 등화 등을 수행함으로써, 수신 성능을 향상시킬 수 있다. 30 is a block diagram showing an embodiment of a digital broadcast receiving system according to the present invention. In the digital broadcast reception system of FIG. 30, the reception performance may be improved by performing carrier synchronization recovery, frame synchronization recovery, channel equalization, etc. using known data information inserted into a mobile service data section by a transmission system and transmitted.

이를 위한 본 발명에 따른 디지털 방송 수신 시스템은 복조기(1002), 등화기(1003), 기지 데이터 검출기(1004), 블록 복호기(1005), 데이터 디포맷터(1006), RS 프레임 복호기(1007), 디랜더마이저(1008), 데이터 디인터리버(1009), RS 복호기(1010), 및 데이터 디랜더마이저(1011)를 포함하여 구성된다. 본 발명은 설명의 편의를 위해 데이터 디포맷터(1006), RS 프레임 복호기(1007), 및 디랜더마이저(1008)를 모바일 서비스 데이터 처리부라 하고, 데이터 디인터리버(1009), RS 복호기(1010), 및 데이터 디랜더마이저(1011)를 메인 서비스 데이터 처리부라 하기로 한다. 일 예로, 수신 시스템이 모바일 전송 수신 시스템이라면 상기 메인 서비스 데이터 처리부는 생략될 수도 있다.The digital broadcast reception system according to the present invention includes a demodulator 1002, an equalizer 1003, a known data detector 1004, a block decoder 1005, a data formatter 1006, an RS frame decoder 1007, and a decode. It includes a randomizer 1008, a data deinterleaver 1009, an RS decoder 1010, and a data derandomizer 1011. For convenience of description, the present invention refers to the data deformatter 1006, the RS frame decoder 1007, and the derandomizer 1008 as a mobile service data processing unit, the data deinterleaver 1009, the RS decoder 1010, The data derandomizer 1011 will be referred to as a main service data processing unit. For example, if the receiving system is a mobile transmission receiving system, the main service data processor may be omitted.

즉, 튜너를 통해 튜닝된 특정 채널의 주파수는 중간 주파수(IF) 신호로 다운 컨버전되고, 다운 컨버전된 데이터(1001)는 복조기(1002)와 기지 데이터 검출 기(1004)로 출력한다. 이때 상기 다운 컨버전된 데이터(1001)는 통과대역의 아날로그 IF 신호를 디지털 IF 신호로 변환하는 아날로그/디지털 변환기(Analog/Digital Converter ; ADC, 도시되지 않음)을 거쳐 복조기(1002)와 기지 데이터 검출기(1004)로 입력되는 것을 일 실시예로 한다.That is, the frequency of a specific channel tuned through the tuner is down-converted to an intermediate frequency (IF) signal, and the down-converted data 1001 is output to the demodulator 1002 and the known data detector 1004. The down-converted data 1001 includes a demodulator 1002 and a known data detector through an analog / digital converter (ADC, not shown) that converts an analog IF signal of a passband into a digital IF signal. 1004) is an embodiment.

상기 복조기(1002)는 입력되는 통과대역의 디지털 IF 신호에 대해 자동 이득 제어, 반송파 복구 및 타이밍 복구 등을 수행하여 기저대역 신호로 만든 후 등화기(1003)와 기지 데이터 검출기(1004)로 출력한다. The demodulator 1002 performs automatic gain control, carrier recovery, and timing recovery on the input IF band digital IF signal, generates a baseband signal, and outputs the same to the equalizer 1003 and the known data detector 1004. .

상기 등화기(1003)는 상기 복조된 신호에 포함된 채널 상의 왜곡을 보상한 후 블록 복호기(1005)로 출력한다. The equalizer 1003 compensates for the distortion on the channel included in the demodulated signal and outputs it to the block decoder 1005.

이때 상기 기지 데이터 검출기(1004)는 상기 복조기(1002)의 입/출력 데이터 즉, 복조가 이루어지기 전의 데이터 또는 복조가 일부 이루어진 데이터로부터 송신측에서 삽입한 기지 데이터 위치를 검출하고 위치 정보와 함께 그 위치에서 발생시킨 기지 데이터의 심볼 열(sequence)을 복조기(1002)와 등화기(1003)로 출력한다. 또한 상기 기지 데이터 검출기(1004)는 송신측에서 추가적인 부호화를 거친 모바일 서비스 데이터와 추가적인 부호화를 거치지 않은 메인 서비스 데이터를 상기 블록 복호기(1005)에 의해서 구분할 수 있도록 하기 위한 정보를 상기 블록 복호기(1005)로 출력한다. 그리고 도 30의 도면에서 연결 상태를 도시하지는 않았지만 상기 기지 데이터 검출기(1004)에서 검출된 정보는 수신 시스템에 전반적으로 사용이 가능하며, 데이터 디포맷터(1006)와 RS 프레임 복호기(1007) 등에서 사용할 수도 있다.At this time, the known data detector 1004 detects the known data position inserted by the transmitting side from the input / output data of the demodulator 1002, that is, the data before demodulation or the data of which the demodulation has been partially performed, A symbol sequence of known data generated at the position is output to the demodulator 1002 and the equalizer 1003. In addition, the known data detector (1004) is a block decoder (1005) for information to enable the block decoder (1005) to distinguish between the mobile service data that has undergone additional encoding and the main service data that does not undergo additional encoding at the transmitting side. Will output Although the connection state is not illustrated in the diagram of FIG. 30, the information detected by the known data detector 1004 may be used in the reception system as a whole, and may be used in the data deformatter 1006 and the RS frame decoder 1007. have.

상기 복조기(1002)는 타이밍 복원이나 반송파 복구시에 상기 기지 데이터 심볼열을 이용함으로써, 복조 성능을 향상시킬 수 있고, 등화기(1003)에서도 마찬가지로 상기 기지 데이터를 사용하여 등화 성능을 향상시킬 수 있다. 또한 상기 블록 복호기(1005)의 복호 결과를 상기 등화기(1003)로 피드백하여 등화 성능을 향상시킬 수도 있다. The demodulator 1002 can improve the demodulation performance by using the known data symbol string at the time of timing recovery or carrier recovery. The equalizer 1003 can also use the known data to improve the equalization performance. . In addition, the equalization performance may be improved by feeding back the decoding result of the block decoder 1005 to the equalizer 1003.

수신 시스템 내 복조기 및 기지 데이터 검출기Demodulator and known data detector in receiving system

이때 송신측에서는 도 7a, 도 8과 같이 기지 데이터를 데이터 프레임 내에 주기적으로 삽입하여 전송할 수 있다.In this case, as shown in FIGS. 7A and 8, the transmitting side may periodically insert and transmit known data into the data frame.

도 31은 송신측에서 기지 데이터 열을 실제 데이터 사이에 주기적으로 삽입하여 전송하는 일 예를 보이고 있다. 도 31에서 AS는 일반 데이터의 심볼 수이며 BS는 기지 데이터의 심볼 수이다. 따라서 (AS + BS) 심볼의 주기로 BS 심볼의 기지 데이터가 삽입되어 전송된다. 상기 AS는 모바일 서비스 데이터일 수도 있고, 메인 서비스 데이터일 수도 있고, 모바일 서비스 데이터와 메인 서비스 데이터의 혼합일 수도 있으며, 본 발명에서는 기지 데이터와 구분하기 위하여 이를 일반 데이터라 칭한다. 31 shows an example in which the transmitting side periodically inserts and transmits a known data string between actual data. In FIG. 31, AS is the number of symbols of general data and BS is the number of symbols of known data. Therefore, known data of the BS symbol is inserted and transmitted in the period of the (AS + BS) symbol. The AS may be mobile service data, main service data, or a mixture of mobile service data and main service data. In the present invention, this AS is referred to as general data to distinguish it from known data.

도 31에서 기지 데이터 열이 주기적으로 삽입되는 각 기지 데이터 구간에는 동일한 패턴의 기지 데이터 열이 포함되는데, 동일한 패턴의 기지 데이터 열과 해당 기지 데이터 구간의 전체 기지 데이터 열의 길이는 같을 수도 있고, 다를 수도 있다. 다른 경우, 전체 기지 데이터 열은 동일한 패턴의 기지 데이터 열보다 길으 며, 전체 기지 데이터 열에 동일한 패턴의 기지 데이터 열이 포함된다. 예를 들어, F라는 기지 데이터 패턴을 채널 등화를 위해 삽입한다면 각 기지 데이터 구간마다 적어도 하나의 F 패턴을 포함한다.In FIG. 31, each known data section in which the known data columns are periodically inserted includes the known data columns of the same pattern, and the lengths of the known data columns of the same pattern and the entire known data columns of the known data section may be the same or different. . In other cases, the entire known data column is longer than the known data columns of the same pattern, and the entire known data columns contain the same pattern of known data columns. For example, if a known data pattern of F is inserted for channel equalization, at least one F pattern is included in each known data section.

이렇게 기지 데이터가 주기적으로 일반 데이터들 사이에 삽입될 경우 수신 시스템의 채널 등화기에서는 상기 기지 데이터를 훈련열로 이용하여 정확한 판별값으로 사용할 수 있고 채널의 임펄스 응답을 추정하는데 사용할 수 있다. When the known data is periodically inserted between the general data, the channel equalizer of the receiving system can use the known data as a training sequence and use it as an accurate discrimination value and estimate the impulse response of the channel.

한편 동일한 패턴의 기지 데이터가 주기적으로 삽입될 경우에는 각 기지 데이터 구간이 본 발명에 따른 채널 등화기에서 가드 구간(guard interval)으로 사용될 수 있다. 상기 가드 구간은 다중 경로 채널에 의해서 발생하는 블록 간의 간섭을 방지하는 역할을 한다. 이는 상기 도 31에서 (AS+BS) 심볼의 데이터 블록 뒷부분의 기지 데이터 구간의 기지 데이터가 상기 데이터 블록 앞에 복사된 것으로 생각할 수 있기 때문이다. Meanwhile, when known data of the same pattern is inserted periodically, each known data section may be used as a guard interval in the channel equalizer according to the present invention. The guard interval serves to prevent interference between blocks generated by the multipath channel. This is because the known data of the known data section behind the data block of the symbol (AS + BS) in FIG. 31 can be considered copied before the data block.

이러한 구조를 사이클릭 프리픽스(Cyclic Prefix)라 하기도 하며, 이러한 구조는 전송 시스템에서 전송한 데이터 블록과 채널의 임펄스 응답이 시간 영역에서 원형 길쌈(circular convolution)되도록 해준다. 따라서 수신 시스템의 채널 등화기에서는 FFT(Fast Fourier Transform)와 IFFT(Inverse FFT)를 사용하여 주파수 영역에서 채널 등화를 하기에 용이하다. This structure is also called a cyclic prefix, which allows the impulse response of data blocks and channels transmitted in the transmission system to be circular convolution in the time domain. Therefore, in the channel equalizer of the receiving system, it is easy to perform channel equalization in the frequency domain using fast fourier transform (FFT) and inverse FFT (IFFT).

즉, 수신 시스템에서 받은 데이터 블록이 주파수 영역에서 보면 데이터 블록과 채널 임펄스 응답(Channel Impulse Response ; CIR)의 곱으로 표현되기 때문에, 채널 등화시 주파수 영역에서 채널의 역을 곱해줌으로써, 간단히 채널 등화가 가능 하다.That is, since the data block received from the receiving system is expressed as the product of the data block and the channel impulse response (CIR) in the frequency domain, the channel equalization is simply performed by multiplying the inverse of the channel in the frequency domain during channel equalization. It is possible.

상기 기지 데이터 검출기(1004)에서는 이렇게 주기적으로 삽입되어 전송되는 기지 데이터 위치를 검출함과 동시에 상기 기지 데이터 검출 과정에서 초기 주파수 옵셋(Initial Frequency Offset)을 추정할 수 있다. 이 경우, 상기 복조기(1002)는 상기 기지 데이터 위치 정보와 초기 주파수 옵셋 추정값으로부터 반송파 주파수 옵셋을 보다 정밀하게 추정하여 보상할 수 있다. The known data detector 1004 may detect the known data position periodically inserted and transmitted, and may estimate an initial frequency offset during the known data detection process. In this case, the demodulator 1002 can more accurately estimate and compensate carrier frequency offset from the known data position information and the initial frequency offset estimate.

도 32는 도 8과 같은 구조로 기지 데이터가 전송되는 경우, 본 발명에 따른 기지 데이터 위치 검출 방법의 일 실시예를 보인 흐름도이다. 상기 기지 데이터 검출기(1004)에서는 먼저, 상기 제1 기지 데이터 영역의 복수개의 제1 기지 데이터 패턴을 이용하여 제1 기지 데이터 영역의 위치를 검출한다(단계 2001). 32 is a flowchart illustrating an example of a known data position detection method according to the present invention when known data is transmitted in the structure shown in FIG. 8. The known data detector 1004 first detects the position of the first known data area using a plurality of first known data patterns of the first known data area (step 2001).

이때, 상기 기지 데이터 검출기(1004)는 데이터 프레임의 구조를 알고 있으므로, 상기 제1 기지 데이터 영역의 위치가 검출되면, 상기 제1 기지 데이터 영역 위치를 기준으로 심볼 또는 세그먼트를 카운트하여 상기 제1 기지 데이터 영역보다 시간적으로 앞에 위치한 해당 데이터 그룹 내 필드 동기 위치를 추정할 수 있다(단계 2002). 또한 상기 제1 기지 데이터 영역 위치를 기준으로 심볼 또는 세그먼트를 카운트하여 상기 제1 기지 데이터 영역보다 시간적으로 뒤에 위치한 해당 데이터 그룹 내 제2 내지 제5 기지 데이터 영역 위치를 추정할 수 있다(단계 2003).In this case, since the known data detector 1004 knows the structure of the data frame, when the location of the first known data area is detected, the symbol or segment is counted based on the location of the first known data area, and thus the first known data is detected. It is possible to estimate the field synchronizing position in the corresponding data group temporally ahead of the data area (step 2002). In addition, a symbol or segment may be counted based on the location of the first known data area to estimate locations of second to fifth known data areas within the corresponding data group located later in time than the first known data area (step 2003). .

이렇게 추정된 필드 동기 위치 및 기지 데이터 위치 정보는 복조기(1002)와 채널 등화기(1003)로 제공된다. 일 예로, 필드 동기 위치 및 각 기지 데이터 영역 내 1424 심볼이 할당된 제2 기지 데이터 패턴 영역의 위치 정보가 채널 등화 기(1003)로 제공될 수 있다. 이 경우, 채널 등화기(1003)는 상기 필드 동기 구간 및 제2 기지 데이터 패턴이 삽입되는 기지 데이터 구간에서 채널 임펄스 응답의 추정을 위해 필드 동기 영역에 삽입되는 필드 동기 데이터와 제2 기지 데이터 패턴 영역에 삽입되는 제2 기지 데이터 패턴을 미리 저장하고 있다고 가정한다. The estimated field sync position and known data position information are provided to the demodulator 1002 and the channel equalizer 1003. For example, the field synchronization position and position information of the second known data pattern region to which 1424 symbols in each known data region are allocated may be provided to the channel equalizer 1003. In this case, the channel equalizer 1003 includes the field synchronization data and the second known data pattern region inserted in the field synchronization region for the estimation of the channel impulse response in the field synchronization period and the known data interval into which the second known data pattern is inserted. Assume that the second known data pattern inserted into the terminal is stored in advance.

또한 상기 기지 데이터 검출기(1004)는 제1 기지 데이터 영역 위치를 검출하는 과정에서 상기 제1 기지 데이터 패턴으로부터 초기 주파수 옵셋(Initial Frequency Offset)을 추정할 수 있다. 이 경우, 상기 복조기(1002)는 상기 기지 데이터 위치 정보와 초기 주파수 옵셋 추정값으로부터 반송파 주파수 옵셋을 보다 정밀하게 추정하여 보상할 수 있다.In addition, the known data detector 1004 may estimate an initial frequency offset from the first known data pattern in the process of detecting the first known data region position. In this case, the demodulator 1002 can more accurately estimate and compensate carrier frequency offset from the known data position information and the initial frequency offset estimate.

도 33은 본 발명의 일 실시예에 따른 복조기의 상세 블록도를 보인 것으로서, 위상 분리기(phase splitter)(1010), 수치 제어 발진기(Numerically Controlled Oscillator ; NCO)(1020), 제1 곱셈기(1030), 리샘플러(1040), 제2 곱셈기(1050), 정합 필터(Matched Filter)(1060), DC 제거기(1070), 타이밍 복구부(1080), 반송파 복구부(1090), 및 위상 보상부(1110)를 포함할 수 있다.33 is a detailed block diagram of a demodulator according to an embodiment of the present invention, which includes a phase splitter 1010, a numerically controlled oscillator NCO 1020, and a first multiplier 1030. , A resampler 1040, a second multiplier 1050, a matched filter 1060, a DC remover 1070, a timing recovery unit 1080, a carrier recovery unit 1090, and a phase compensator 1110 ) May be included.

그리고 상기 기지 데이터 검출기(1004)는 기지 데이터 정보와 초기 주파수 옵셋을 추정하기 위해 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)를 포함한다.The known data detector 1004 includes a known data detection and an initial frequency offset estimator 1004-1 to estimate known data information and an initial frequency offset.

이와 같이 구성된 도 33에서, 위상 분리기(1010)는 통과대역 디지털 신호를 입력받아 위상이 서로 90도가 되는 실수 성분과 허수 성분의 통과대역 디지털 신호 즉, 복소 신호로 분리한 후 제1 곱셈기(1030)로 출력한다. 여기서, 설명의 편의를 위해 상기 위상 분리기(1010)에서 출력되는 실수 성분의 신호를 I 신호라 하고, 허수 성분의 신호를 Q 신호라 한다. In FIG. 33 configured as described above, the phase separator 1010 receives a passband digital signal and separates the passband digital signals of real and imaginary components whose phases are 90 degrees from each other, that is, complex signals, and then divides the first multiplier 1030. Will output Here, for convenience of description, the real component signal output from the phase separator 1010 is called an I signal, and the imaginary component signal is called a Q signal.

상기 제1 곱셈기(1010)는 NCO(1020)로부터 출력되는 상수(Constant)에 비례하는 주파수를 가지는 복소 신호에 상기 위상 분리기(1010)에서 출력되는 통과대역 디지털 복소 신호(I,Q)를 곱하여, 상기 통과대역 디지털 복소신호(I,Q)를 기저대역 디지털 복소신호로 천이한다. 상기 제1 곱셈기(1030)의 기저대역 디지털 신호는 리샘플러(1040)로 입력된다. The first multiplier 1010 multiplies a complex signal having a frequency proportional to a constant output from the NCO 1020 by a passband digital complex signal (I, Q) output from the phase separator 1010, Transmit the passband digital complex signal (I, Q) to a baseband digital complex signal. The baseband digital signal of the first multiplier 1030 is input to the resampler 1040.

상기 리샘플러(1040)는 제1 곱셈기(1030)에서 출력되는 신호를 타이밍 복구부(1080)에서 제공하는 타이밍 클럭에 맞게 리샘플링하여 제2 곱셈기(1050)로 출력한다.The resampler 1040 resamples the signal output from the first multiplier 1030 according to the timing clock provided by the timing recovery unit 1080 and outputs the signal to the second multiplier 1050.

예를 들어, 상기 아날로그/디지털 변환기가 25MHz의 고정 발진자를 사용할 경우, 상기 아날로그/디지털 변환기, 위상 분리기(1010), 제1 곱셈기(1030)를 거쳐 생성된 25MHz 주파수를 갖는 기저대역 디지털 신호는 상기 리샘플러(1040)에서 보간(interpolation) 과정을 거쳐 수신 신호의 심볼 클럭의 2배의 주파수 즉, 21.524476MHz 주파수를 갖는 기저대역 디지털 신호로 복원된다. 만일 상기 아날로그/디지털 변환기가 타이밍 복구부(1080)의 타이밍 클럭을 샘플링 주파수로 이용하는 경우, 즉 가변 주파수를 이용하여 A/D 변환을 수행하는 경우에는 상기 리샘플러(1040)는 필요없게 된다. For example, when the analog-to-digital converter uses a 25 MHz fixed oscillator, the baseband digital signal having the 25-MHz frequency generated through the analog-to-digital converter, the phase separator 1010, and the first multiplier 1030 may be generated. The resampler 1040 recovers the baseband digital signal having a frequency twice the symbol clock of the received signal, that is, 21.524476 MHz, through an interpolation process. If the analog / digital converter uses the timing clock of the timing recovery unit 1080 as the sampling frequency, that is, performing A / D conversion using a variable frequency, the resampler 1040 is not necessary.

상기 제2 곱셈기(1050)는 상기 리샘플러(1040)의 출력에 반송파 복구부(1090)의 출력 주파수를 곱하여 상기 리샘플러(1040)의 출력 신호에 포함된 잔류 반송파를 보상한 후 정합 필터(1060)와 타이밍 복구부(1080)로 출력한다. The second multiplier 1050 multiplies the output frequency of the carrier recovery unit 1090 by the output of the resampler 1040 to compensate for the residual carriers included in the output signal of the resampler 1040 and then matches the filter 1060. ) And to the timing recovery unit 1080.

상기 정합 필터(1060)에서 정합 필터링된 신호는 DC 제거기(1070)와 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1), 및 반송파 복구부(1090)로 입력된다. The signal filtered by the matched filter 1060 is input to the DC remover 1070, the known data detection and initial frequency offset estimator 1004-1, and the carrier recovery unit 1090.

상기 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)는 주기적 또는 비주기적으로 전송되는 기지 데이터 열의 위치를 검출함과 동시에 상기 기지 데이터 검출 과정에서 초기 주파수 옵셋(initial frequency offset)을 추정한다. 또한 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)는 그룹 유효 정보인 그룹 유효 인식자(Group Valid Indicator)와 버스트 유효 정보인 버스트 유효 인식자(Burst Valid Indicator)를 추출하여 출력할 수도 있다. The known data detection and initial frequency offset estimator 1004-1 detects the position of the known data stream transmitted periodically or aperiodically and estimates an initial frequency offset during the known data detection process. Also, the known data detection and initial frequency offset estimator 1004-1 may extract and output a group valid indicator that is group valid information and a burst valid indicator that is burst valid information.

즉, 도 7a, 도 8과 같은 전송 프레임이 수신되는 동안 상기 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)는 전송 프레임 안에 포함된 기지 데이터의 위치를 검출하고, 그 위치 정보(Known Sequence Position Indicator)를 복조기(1002)의 타이밍 복구부(1080), 반송파 복구부(1090), 위상 보상부(1110), 및 등화기(1003)로 출력한다. 또한 상기 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)는 초기 주파수 옵셋(Initial Frequency Offset)을 추정하여 반송파 복구부(1090)로 출력한다.That is, while the transmission frame as shown in FIGS. 7A and 8 is received, the known data detection and initial frequency offset estimator 1004-1 detects the position of the known data included in the transmission frame, and the position information (Known Sequence Position). Indicator is output to the timing recovery unit 1080, the carrier recovery unit 1090, the phase compensator 1110, and the equalizer 1003 of the demodulator 1002. In addition, the known data detection and initial frequency offset estimator 1004-1 estimates an initial frequency offset and outputs the initial frequency offset to the carrier recovery unit 1090.

이때 상기 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)는 정합 필터(1060)의 출력을 입력받을 수도 있고, 리샘플러(1040)의 출력을 입력받을 수도 있으며, 이는 설계자의 선택 사항이다. In this case, the known data detection and initial frequency offset estimator 1004-1 may receive an output of the matched filter 1060 or an output of the resampler 1040, which is a designer's option.

상기 타이밍 복구부(1080)는 제2 곱셈기(1050)의 출력과 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)에서 검출된 기지 데이터 위치 정보를 이용하여 타이밍 에러를 검출하고, 검출된 타이밍 에러에 비례하는 샘플링 클럭을 리샘플러(1040)로 출력하여 리샘플러(1040)의 샘플링 타이밍을 조절한다. 이때 상기 타이밍 복구부(1080)는 제2 곱셈기(1050)의 출력 대신 정합 필터(1060)의 출력을 입력받을 수도 있으며, 이는 설계자의 선택 사항이다.The timing recovery unit 1080 detects a timing error by using the output of the second multiplier 1050 and the known data position information detected by the initial data offset and initial frequency offset estimator 1004-1, and the detected timing error. A sampling clock proportional to is output to the resampler 1040 to adjust the sampling timing of the resampler 1040. In this case, the timing recovery unit 1080 may receive the output of the matching filter 1060 instead of the output of the second multiplier 1050, which is a designer's option.

한편 상기 DC 제거기(1070)는 정합 필터링된 신호로부터 송신측에서 삽입된 파일럿 톤(즉, DC)을 제거한 후 위상 보상부(1110)로 출력한다. Meanwhile, the DC remover 1070 removes the pilot tone (that is, DC) inserted at the transmitting side from the matched filtered signal and outputs it to the phase compensator 1110.

상기 위상 보상부(1110)는 DC 제거기(1070)에서 DC가 제거된 데이터와 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)에서 검출된 기지 데이터 위치 정보를 이용하여 주파수 옵셋을 추정한 후 상기 DC 제거기(1070)의 출력에 포함된 위상 변화를 보상한다. 상기 위상 변화가 보상된 데이터는 등화기(1003)로 입력된다. 여기서 상기 위상 보상부(1110)는 선택적(Optional)이다. 만일 위상 보상부(1110)가 구비되지 않는다면, DC 제거기(1070)의 출력이 등화기(1003)로 입력된다.The phase compensator 1110 estimates a frequency offset by using DC-removed data, known data detection, and known data position information detected by the initial frequency offset estimator 1004-1 in the DC eliminator 1070. Compensate for the phase change included in the output of the DC remover 1070. The data whose phase change is compensated for is input to the equalizer 1003. The phase compensator 1110 is optional. If the phase compensator 1110 is not provided, the output of the DC remover 1070 is input to the equalizer 1003.

도 34는 복조기 내 타이밍 복구부(1080), 반송파 복구부(1090), 및 위상 보상부(1110)의 상세 블록도가 포함된 도면의 일 예이다. FIG. 34 is an example of a detailed block diagram of the timing recovery unit 1080, the carrier recovery unit 1090, and the phase compensation unit 1110 in the demodulator.

상기 타이밍 복구부(1080)는 일 실시예로서, 데시메이터(1081), 버퍼(1082), 타이밍 에러 검출기(1083), 루프 필터(1084), 유지기(Holder)(1085), 및 NCO(1086)를 포함할 수 있다.As an example, the timing recovery unit 1080 may include a decimator 1081, a buffer 1082, a timing error detector 1083, a loop filter 1084, a holder 1085, and an NCO 1086. ) May be included.

상기 반송파 복구부(1090)는 일 실시예로서, 버퍼(1091), 주파수 옵셋 추정 기(1092), 루프 필터(1093), 유지기(Holder)(1094), 가산기(1095), 및 NCO(1096)를 포함할 수 있다. 상기 버퍼(1091)의 전단에 데시메이터가 포함될 수도 있다. In one embodiment, the carrier recovery unit 1090 includes a buffer 1091, a frequency offset estimator 1092, a loop filter 1093, a holder 1094, an adder 1095, and an NCO 1096. ) May be included. A decimator may be included in front of the buffer 1091.

상기 위상 보상부(1110)는 일 실시예로서, 버퍼(1111), 주파수 옵셋 추정기(1112), 유지기(1113), NCO(1114), 및 곱셈기(1115)를 포함할 수 있다.The phase compensator 1110 may include a buffer 1111, a frequency offset estimator 1112, a maintainer 1113, an NCO 1114, and a multiplier 1115.

또한 상기 위상 보상부(1110)와 등화기(1003) 사이에는 데시메이터(1200)가 포함될 수 있다. 상기 데시메이터(1200)는 위상 보상부(1110)의 출력단 대시 DC 제거기(1070) 전단에 포함될 수도 있다.In addition, a decimator 1200 may be included between the phase compensator 1110 and the equalizer 1003. The decimator 1200 may be included in front of the output DC dash DC remover 1070 of the phase compensator 1110.

상기 데시메이터들은 복조기(1002)로 입력되는 신호가 아날로그/디지털 변환기에서 N배로 오버샘플링(oversampling)되었을 경우에 필요한 부분이다. 즉, N은 수신 신호의 샘플링 비율(sampling rate)을 나타낸다. 예를 들어, 입력 신호가 아날로그/디지털 변환기에서 2배로 오버 샘플링되었다면(N=2), 1 심볼에 2개의 샘플이 포함되어 있음을 의미하고, 이 경우 상기 데시메이터들은 1/2 데시메이터이다. 상기 데시메이터들은 수신 신호의 오버샘플링 여부에 따라 바이패스될 수도 있다. The decimators are necessary when the signal input to the demodulator 1002 is oversampled N times by the analog / digital converter. In other words, N represents a sampling rate of the received signal. For example, if the input signal is oversampled twice in the analog-to-digital converter (N = 2), it means that one sample contains two samples, in which case the decimators are half decimators. The decimators may be bypassed depending on whether or not the received signal is oversampled.

한편, 상기 반송파 복구부(1090)의 버퍼(1091)는 상기 정합 필터(1060)의 입력 또는 출력 데이터를 입력받아 일시 저장한 후 주파수 옵셋 추정기(1092)로 출력한다. 만일 상기 버퍼(1091)의 전단에 데시메이터가 구비된다면, 상기 정합 필터(1060)의 입력 또는 출력 데이터는 데시메이터에서 1/N로 데시메이션된 후 버퍼(1091)로 출력된다. 예를 들어, 상기 정합 필터(1060)의 입력 또는 출력 데이터가 2배로 오버샘플링(oversampling)되었다면, 상기 정합 필터(1060)의 입력 또는 출력 데이터는 데시메이터(1081)에서 1/2로 데시메이트된 후 버퍼(1091)로 입력된 다. 즉, 상기 반송파 복구부(1090)는 버퍼(1091) 전단에 데시메이터가 구비되면 심볼 단위로 동작하고, 데시메이터가 없다면 오버 샘플 단위로 동작하게 된다.Meanwhile, the buffer 1091 of the carrier recovery unit 1090 receives input or output data of the matched filter 1060 and temporarily stores the received input or output data and outputs the result to the frequency offset estimator 1092. If a decimator is provided in front of the buffer 1091, the input or output data of the matched filter 1060 is decimated by 1 / N in the decimator and then output to the buffer 1091. For example, if the input or output data of the matched filter 1060 is oversampled twice, the input or output data of the matched filter 1060 is decimated in decimator 1081 in half. It is then input to the buffer 1091. That is, the carrier recovery unit 1090 operates in units of symbols when a decimator is provided in front of the buffer 1091, and operates in units of oversample when there is no decimator.

상기 주파수 옵셋 추정기(1092)는 상기 정합 필터링 전 또는 후의 데이터와 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)에서 출력되는 기지 데이터 위치 정보를 이용하여 주파수 옵셋을 추정한 후 루프 필터(1093)로 출력한다. 즉, 상기 주파수 옵셋 추정기(1092)는 정합 필터링 전 또는 후의 기지 데이터 열로부터 주파수 옵셋을 추정하여 루프 필터(1093)로 출력한다. 따라서 추정된 주파수 옵셋값은 기지 데이터 열의 반복 주기마다 한 번씩 구해진다. The frequency offset estimator 1092 estimates a frequency offset using data before or after the matched filtering and known data detection and known data position information output from the initial frequency offset estimator 1004-1, and then loop filter 1093. Will output That is, the frequency offset estimator 1092 estimates the frequency offset from the known data stream before or after the matched filtering and outputs the frequency offset to the loop filter 1093. Therefore, the estimated frequency offset value is obtained once for each repetition period of the known data string.

상기 루프 필터(1093)는 주파수 옵셋 추정기(1092)에서 추정된 주파수 옵셋값을 저역 통과 필터링하여 유지기(1094)로 출력한다.The loop filter 1093 low-pass filters the frequency offset value estimated by the frequency offset estimator 1092 and outputs it to the maintainer 1094.

상기 유지기(1094)는 저역 통과 필터링된 주파수 옵셋 추정값을 기지 데이터 열의 주기 동안 유지시킨 후 가산기(1095)로 출력한다. 여기서 상기 루프 필터(1093)와 유지기(1094)의 위치는 서로 바뀌어도 가능하다. 또한 상기 유지기(1094)의 기능을 루프 필터(1093)에 포함시키고, 유지기(1094)를 생략할 수도 있다.The retainer 1094 maintains the low pass filtered frequency offset estimate for the period of the known data sequence and then outputs to the adder 1095. Here, the positions of the loop filter 1093 and the retainer 1094 may be interchanged. In addition, the function of the retainer 1094 may be included in the loop filter 1093, and the retainer 1094 may be omitted.

상기 가산기(1095)는 상기 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)에서 추정된 초기 주파수 옵셋값과 상기 루프 필터(1093)(또는 유지기(1094))에서 출력되는 주파수 옵셋값을 더하여 NCO(1096)로 출력한다. 만일, 상기 가산기(1095)가 상기 NCO(1020)로 입력되는 상수(Constant)도 입력받도록 설계한다면, 상기 NCO(1020)와 제1 곱셈기(1030)는 생략할 수 있다. 이 경우, 상기 제2 곱셈기(1050)는 기저대역으로 천이 및 잔류 반송파 제거를 동시에 수행할 수 있다.The adder 1095 adds an initial frequency offset value estimated by the known data detection and initial frequency offset estimator 1004-1 and a frequency offset value output from the loop filter 1093 (or the maintainer 1094). Output to NCO 1096. If the adder 1095 is designed to receive a constant input to the NCO 1020, the NCO 1020 and the first multiplier 1030 may be omitted. In this case, the second multiplier 1050 may simultaneously perform transition and residual carrier removal to the baseband.

상기 NCO(1096)는 가산기(1095)의 출력 주파수 옵셋에 해당하는 복소 신호를 생성하여 제2 곱셈기(1050)로 출력한다. 상기 NCO(1096)는 롬을 포함할 수 있다. 이 경우 NCO(1096)는 가산기(1095)에서 출력되는 주파수 옵셋에 해당하는 보상 주파수를 생성하고, 롬으로부터 상기 보상 주파수에 해당하는 복소 정현파를 읽어 와 상기 제2 곱셈기(1050)로 출력하게 된다. The NCO 1096 generates a complex signal corresponding to the output frequency offset of the adder 1095 and outputs the complex signal to the second multiplier 1050. The NCO 1096 may comprise a ROM. In this case, the NCO 1096 generates a compensation frequency corresponding to the frequency offset output from the adder 1095, reads a complex sine wave corresponding to the compensation frequency from the ROM, and outputs the complex sine wave to the second multiplier 1050.

상기 제2 곱셈기(1050)는 리샘플러(1040)의 출력에 반송파 복구부(1090)의 NCO(1094)의 출력을 곱하여 상기 리샘플러(1040)의 출력 신호에 포함된 반송파 옵셋을 제거한다. The second multiplier 1050 multiplies the output of the resampler 1040 by the output of the NCO 1094 of the carrier recovery unit 1090 to remove the carrier offset included in the output signal of the resampler 1040.

도 35는 상기 반송파 복구부(1090)의 주파수 옵셋 추정기(1092)의 일 실시예를 보인 상세 블록도로서, 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)에서 검출된 기지 데이터 위치 정보에 따라 동작한다. FIG. 35 is a detailed block diagram illustrating an embodiment of the frequency offset estimator 1092 of the carrier recovery unit 1090, according to known data detection and known data position information detected by the initial frequency offset estimator 1004-1. It works.

이때, 상기 정합 필터(1060)의 입력 또는 출력 데이터가 데시메이터를 통해 입력된다면 상기 주파수 옵셋 추정기(1092)는 심볼 단위로 동작하고, 데시메이터가 없다면 오버 샘플 단위로 동작하게 된다. 본 발명에서는 심볼 단위로 동작하는 것을 일 실시예로 설명한다.In this case, if the input or output data of the matched filter 1060 is input through a decimator, the frequency offset estimator 1092 operates in symbol units, and if there is no decimator, the frequency offset estimator 1062 operates in oversample units. In the present invention, operating in symbol units will be described as an embodiment.

도 35를 보면, 제어기(1300), 제1 N 심볼 버퍼(1301), K 심볼 지연기(1302), 제2 N 심볼 지연기(1303), 콘쥬게이터(1304), 곱셈기(1305), 누산기(1306), 위상 검출기(1307), 곱셈기(1308), 및 다중화기(1309)를 포함할 수 있다.35, a controller 1300, a first N symbol buffer 1301, a K symbol delayer 1302, a second N symbol delayer 1303, a conjugator 1304, a multiplier 1305, and an accumulator ( 1306, phase detector 1307, multiplier 1308, and multiplexer 1309.

이와 같이 구성된 도 35는 기지 데이터 구간 동안 동작하는 것을 실시예로 설명한다.35 configured as described above will be described as an example of operating during a known data interval.

즉, 제1 N 심볼 버퍼(1301)는 입력되는 심볼을 최대 N개까지 저장할 수 있으며, 제1 N 심볼 버퍼(1301)에 일시 저장된 심볼 데이터는 곱셈기(1305)로 입력된다. That is, the first N symbol buffer 1301 may store up to N input symbols, and the symbol data temporarily stored in the first N symbol buffer 1301 is input to the multiplier 1305.

동시에 상기 입력되는 심볼은 K 심볼 지연기(1302)에서 K 심볼 지연된 후 제2 N 심볼 버퍼(1303)를 거쳐 콘쥬게이터(1304)에서 콘쥬게이트(conjugate ; 공액)되어 곱셈기(1305)로 입력된다. At the same time, the input symbol is delayed by a K symbol in the K symbol delayer 1302 and then conjugated by the conjugate 1304 to the multiplier 1305 via the second N symbol buffer 1303.

상기 곱셈기(1305)는 상기 제1 N 심볼 버퍼(1301)의 출력과 콘쥬게이터(1304)의 출력을 곱하여 누산기(1306)로 출력하고, 상기 누산기(1306)는 상기 곱셈기(1305)의 출력을 N 심볼 동안 누산시켜 위상 검출기(1307)로 출력한다. 상기 위상 검출기(1307)는 상기 누산기(1306)의 출력으로부터 위상 정보를 추출하여 곱셈기(1308)로 출력한다. 상기 곱셈기(1308)는 상기 위상 정보를 K로 나누고, 그 결과를 다중화기(1309)로 출력한다. 이때 상기 위상 정보를 K로 나눈 값이 주파수 옵셋 추정값이 된다. The multiplier 1305 multiplies the output of the first N symbol buffer 1301 by the output of the conjugator 1304 to output to the accumulator 1306, and the accumulator 1306 outputs the output of the multiplier 1305 to N. Accumulate during the symbol and output to the phase detector 1307. The phase detector 1307 extracts phase information from the output of the accumulator 1306 and outputs the phase information to the multiplier 1308. The multiplier 1308 divides the phase information by K, and outputs the result to the multiplexer 1309. In this case, the value obtained by dividing the phase information by K becomes a frequency offset estimation value.

즉, 상기 주파수 옵셋 추정기(1092)는 기지 데이터의 입력이 끝나는 시점 혹은 원하는 시점에 제1 N 심볼 버퍼(1301)에 저장된 N개의 입력 데이터와 K 심볼만큼 지연되어 제2 N 심볼 버퍼(1303)에 저장된 N개의 입력 데이터의 복소 콘쥬게이트의 곱을 N 심볼 동안 누적한 후 K로 나누어 주파수 옵셋 추정값을 추출해낸다.That is, the frequency offset estimator 1092 is delayed by N symbols and N input data stored in the first N symbol buffer 1301 at the time when the input of the known data ends or a desired time, and thus the frequency offset estimator 1032 is transmitted to the second N symbol buffer 1303. The product of the complex conjugates of the stored N input data is accumulated for N symbols and divided by K to extract the frequency offset estimate.

상기 다중화기(1309)는 제어기(1300)의 제어 신호에 따라 상기 곱셈기(1308)의 출력 또는 '0'을 선택하여 최종 주파수 옵셋 추정값으로 출력한다.The multiplexer 1309 selects the output of the multiplier 1308 or '0' according to the control signal of the controller 1300 and outputs the final frequency offset estimate.

상기 제어기(1300)는 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)로부터 기지 데이터 위치 정보(Known data position indicator)를 입력받아 상기 다중화기(1309)의 출력을 제어한다. 즉, 상기 제어기(1300)는 기지 데이터 위치 정보로부터 상기 곱셈기(1308)에서 출력되는 주파수 옵셋 추정값이 유효한지 여부를 판단한다. 상기 제어기(1300)는 상기 주파수 옵셋 추정값이 유효한 경우에는 상기 다중화기(1309)에서 곱셈기(1308)의 출력을 선택하고, 유효하지 않은 경우에는 상기 다중화기(1309)에서 '0'을 선택하도록 제어 신호를 발생한다. The controller 1300 receives the known data position indicator from the known data detection and initial frequency offset estimator 1004-1 and controls the output of the multiplexer 1309. That is, the controller 1300 determines whether the frequency offset estimate output from the multiplier 1308 is valid from the known data position information. The controller 1300 selects the output of the multiplier 1308 in the multiplexer 1309 when the frequency offset estimate is valid, and selects '0' in the multiplexer 1309 when the frequency offset estimate is valid. Generate a signal.

이때 상기 제1 N 심볼 버퍼(1301)와 제2 N 심볼 버퍼(1303)에 저장되는 입력 신호는 동일한 기지 데이터가 전송되어 거의 동일한 채널을 겪어 수신된 신호이면 좋다. 그렇지 않다면 전송 채널의 영향에 의해 주파수 옵셋 추정 성능이 크게 떨어지게 되기 때문이다.In this case, the input signals stored in the first N symbol buffer 1301 and the second N symbol buffer 1303 may be signals received through the same channel through the same known data. Otherwise, the frequency offset estimation performance is greatly degraded by the influence of the transmission channel.

그리고 도 35의 주파수 옵셋 추정기(1092)의 N과 K값은 다양하게 결정할 수 있다. 이는 동일하게 반복되는 기지 데이터의 특정 부분만을 사용할 수도 있기 때문이다. 그 실시 예로써 도 31과 같은 구조의 데이터가 전송된다고 할 경우 N = BS, K=(AS+BS)로 설정할 수 있다. The N and K values of the frequency offset estimator 1092 of FIG. 35 may be variously determined. This is because only certain portions of known data that are repeated equally may be used. As an example, when data having a structure as shown in FIG. 31 is transmitted, N = BS and K = (AS + BS) may be set.

상기 주파수 옵셋 추정기(1092)에서 주파수 옵셋의 추정 범위는 K값에 의해서 결정된다. K값이 클수록 주파수 옵셋의 추정 범위는 줄어들고, K값이 작을수록 주파수 옵셋의 추정 범위는 늘어나게 된다. 따라서 도 31과 같은 구조의 데이터가 전송될 경우 기지 데이터의 반복 주기 (AS+BS)가 길다면 주파수 옵셋 추정 범위가 줄어들게 된다. 이 경우 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)에 서 초기 주파수 옵셋을 추정한 후 이를 제2 곱셈기(1050)에서 보상했다고 하더라도 보상 후 잔류 주파수 옵셋이 주파수 옵셋 추정기(1092)의 추정 범위를 넘게 될 수 있다. The estimation range of the frequency offset in the frequency offset estimator 1092 is determined by the K value. The larger the K value, the smaller the estimated range of the frequency offset. The smaller the K value, the larger the estimated range of the frequency offset. Therefore, when data having a structure as shown in FIG. 31 is transmitted, if the repetition period (AS + BS) of known data is long, the frequency offset estimation range is reduced. In this case, even though the initial frequency offset is estimated by the known data detection and initial frequency offset estimator 1004-1 and then compensated by the second multiplier 1050, the residual frequency offset after the compensation is estimated in the estimation range of the frequency offset estimator 1092. Can be exceeded.

이 점을 보완하기 위한 방법으로 주기적으로 전송되는 기지 데이터 열을 사이클릭 확장(cyclic extension)을 이용해 동일한 부분의 반복으로 구성할 수 있다. 그 실시 예로써 도 31의 기지 데이터가 길이 BS/2의 동일한 부분 두 개로 구성되었다고 하면 도 35의 주파수 옵셋 추정기(1092)의 N=BS/2, K=BS/2로 설정할 수 있다. 이 경우 반복되는 기지 데이터를 이용할 때보다 넓은 추정 범위를 가질 수 있다.As a way to compensate for this, the known data stream that is periodically transmitted can be configured with the same portion of repetition using cyclic extension. As an example, if the known data of FIG. 31 is composed of two identical portions of the length BS / 2, N = BS / 2 and K = BS / 2 of the frequency offset estimator 1092 of FIG. 35 may be set. In this case, it is possible to have a wider estimation range than when using repeated known data.

한편, 상기 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)는 주기적 또는 비주기적으로 전송되는 기지 데이터 열의 위치를 검출함과 동시에 상기 기지 데이터 검출 과정에서 초기 주파수 옵셋(initial frequency offset)을 추정한다. Meanwhile, the known data detection and initial frequency offset estimator 1004-1 detects the position of the known data stream transmitted periodically or aperiodically and estimates an initial frequency offset during the known data detection process. .

상기 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)에서 검출된 기지 데이터 위치 정보(Known Sequence Position Indicator)를 복조기(1002)의 타이밍 복구부(1080), 반송파 복구부(1090), 위상 보상부(1110), 및 등화기(1003)로 출력되고, 추정된 초기 주파수 옵셋은 반송파 복구부(1090)로 출력한다.The known data position information (Known Sequence Position Indicator) detected by the known data detection and initial frequency offset estimator (1004-1), the timing recovery unit (1080), carrier recovery unit (1090), phase compensation unit of the demodulator 1002 1110, and the equalizer 1003, and the estimated initial frequency offset is output to the carrier recovery unit 1090.

이때 상기 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)는 정합 필터(1060)의 출력을 입력받을 수도 있고, 리샘플러(1040)의 출력을 입력받을 수도 있으며, 이는 설계자의 선택 사항이다. In this case, the known data detection and initial frequency offset estimator 1004-1 may receive an output of the matched filter 1060 or an output of the resampler 1040, which is a designer's option.

상기 도 35의 주파수 옵셋 추정기는 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1) 또는 위상 보상부(1110)의 주파수 옵셋 추정기에 그대로 적용할 수 도 있다. The frequency offset estimator of FIG. 35 may be applied to the frequency offset estimator of the known data detection and initial frequency offset estimator 1004-1 or the phase compensator 1110 as it is.

도 36은 본 발명에 따른 기지 데이터 검출 및 초기 주파수 옵셋 추정기의 일 실시예를 보인 상세 블록도로서, 기지 데이터 위치 정보와 함께 초기 주파수 옵셋을 추정하는 예를 보이고 있다. 도 36은 입력되는 신호가 N배로 오버샘플링(oversampling)되었을 경우를 고려한 도면이다. 즉, N은 수신 신호의 샘플링 비율(sampling rate)을 나타낸다. 36 is a detailed block diagram illustrating an example of known data detection and initial frequency offset estimator according to the present invention, and shows an example of estimating an initial frequency offset together with known data position information. FIG. 36 illustrates a case where an input signal is oversampled by N times. In other words, N represents a sampling rate of the received signal.

도 36을 보면, 기지 데이터 검출 및 초기 주파수 옵셋 추정기는 병렬로 구성된 N개의 부분 상관부(1411~141N), 기지 데이터 위치 검출 및 주파수 옵셋 결정부(1420), 기지 데이터 추출부(1430), 버퍼(1440), 곱셈기(1450), NCO(1460), 주파수 옵셋 추정기(1470), 및 가산기(1480)를 포함하여 구성된다. Referring to FIG. 36, the known data detection and initial frequency offset estimator includes N partial correlation units 1411 to 141N configured in parallel, a known data position detection and frequency offset determiner 1420, a known data extractor 1430, and a buffer. 1440, multiplier 1450, NCO 1460, frequency offset estimator 1470, and adder 1480.

상기 첫 번째 부분 상관부(1411)는 1/N 데시메이터, 및 부분 상관기로 구성된다.The first partial correlator 1411 consists of a 1 / N decimator and a partial correlator.

상기 두 번째 부분 상관부(1412)는 1 샘플 지연기, 1/N 데시메이터, 및 부분 상관기로 구성된다.The second partial correlator 1412 consists of a one sample delay, a 1 / N decimator, and a partial correlator.

상기 N 번째 부분 상관부(141N)는 N-1 샘플 지연기, 1/N 데시메이터, 및 부분 상관기로 구성된다. The Nth partial correlator 141N includes an N-1 sample delay unit, a 1 / N decimator, and a partial correlator.

이는 오버샘플링된 심볼 내 각 샘플들의 위상을 원래 심볼의 위상과 일치시키고, 나머지 위상에 있는 샘플들을 데시메이션한 후 각각 부분 상관을 수행하기 위해서이다. 즉, 입력 신호는 각 샘플링 위상(sampling phase)별로 1/N의 비율로 데시메이션되어 각 부분 상관기(partial correlator)를 통과한다.This is to match the phase of each sample in the oversampled symbol with the phase of the original symbol, decimate the samples in the remaining phases, and then perform partial correlation respectively. That is, the input signal is decimated at a ratio of 1 / N for each sampling phase and passes through each partial correlator.

예를 들어, 입력 신호가 2배로 오버샘플링되었다면 즉, N=2라면 1 심볼에 2개의 샘플이 포함되어 있음을 의미하고, 이 경우 상기 부분 상관부는 2개(예를 들어, 1411,1412)가 필요하며, 1/N 데시메이터는 1/2 데시메이터이다.For example, if the input signal is oversampled twice, that is, N = 2, it means that one symbol contains two samples. In this case, two partial correlation parts (for example, 1411 and 1412) Required, 1 / N decimator is 1/2 decimator.

이때 첫 번째 부분 상관부(1411)의 1/N 데시메이터는 입력 샘플 중 심볼 위치와 심볼 위치 사이에 있는 샘플을 데시메이트(제거)하여 부분 상관기로 출력한다. At this time, the 1 / N decimator of the first partial correlator 1411 decimates (removes) a sample between the symbol position and the symbol position among the input samples and outputs the partial correlator.

그리고 두 번째 부분 상관부(1412)의 1샘플 지연기는 입력 샘플을 1샘플 지연시켜 1/N 데시메이터로 출력한다. 이어 상기 1/N 데시메이터는 상기 1 샘플 지연기에서 입력되는 샘플 중 심볼 위치와 심볼 위치 사이에 있는 샘플을 데시메이트(제거)하여 부분 상관기로 출력한다. The 1-sample delay of the second partial correlation unit 1412 delays the input sample by 1 sample and outputs the 1-N decimator. Subsequently, the 1 / N decimator decimates (removes) a sample between the symbol position and the symbol position among the samples input from the 1 sample delay unit and outputs the partial correlator.

상기 각 부분 상관기는 VSB 심볼의 기 설정된 주기마다 상관값과 그 순간에서의 대략적인 주파수 옵셋 추정 값을 기지 데이터 위치 검출 및 주파수 옵셋 결정부(1420)로 출력한다.Each partial correlator outputs a correlation value and an approximate frequency offset estimation value at a predetermined period of the VSB symbol to the known data position detection and frequency offset determination unit 1420.

상기 기지 데이터 위치 검출 및 주파수 옵셋 결정부(1420)는 각 샘플링 위상별 부분 상관기의 출력을 데이터 그룹 주기 또는 정해진 주기 동안 저장한 후 그 값들 가운데 상관값이 최대인 위치를 기지 데이터의 수신 위치로 판단하고 그 순간의 주파수 옵셋 추정 값을 수신 시스템의 대략적인 주파수 옵셋 값으로 최종 결정한다. The known data position detection and frequency offset determiner 1420 stores the output of the partial correlator for each sampling phase for a data group period or a predetermined period, and then determines a position where the correlation value is the maximum among the values as the reception position of the known data. The frequency offset estimation value of the instant is finally determined as an approximate frequency offset value of the receiving system.

상기 기지 데이터 위치 정보는 제1 기지 데이터 패턴이 삽입된 제1 기지 데이터 영역의 위치 정보이다. 이 기지 데이터 위치 정보로부터 필드 동기 위치와 제 2 내지 제5 기지 데이터 영역의 위치를 추정할 수 있다. 또한 각 기지 데이터 영역 내 1424 심볼이 할당된 제2 기지 데이터 패턴 영역의 위치도 추정할 수 있다. The known data position information is position information of a first known data region into which a first known data pattern is inserted. From this known data position information, the field synchronizing position and the positions of the second to fifth known data regions can be estimated. In addition, the position of the second known data pattern region allocated with 1424 symbols in each known data region may be estimated.

상기 기지 데이터 위치 정보(Known Sequence Position Indicator)는 기지 데이터 추출부(1430), 타이밍 복구부(1080), 반송파 복구부(1090), 위상 보상부(1110), 및 등화기(1003)로 제공되고, 대략적인 주파수 옵셋은 가산기(1480)와 NCO(1460)로 제공된다. The known sequence position indicator is provided to a known data extractor 1430, a timing recoverer 1080, a carrier recoverer 1090, a phase compensator 1110, and an equalizer 1003. The approximate frequency offset is provided to adder 1480 and NCO 1460.

한편 버퍼(1440)는 상기 N개의 부분 상관부(1411~141N)에서 기지 데이터 위치 검출과 대략적 주파수 옵셋을 추정하는 동안, 수신 데이터를 임시 저장한 후 기지 데이터 추출부(1430)로 출력한다. The buffer 1440 temporarily stores the received data and outputs the received data to the known data extractor 1430 while the N partial correlation units 1411 to 141N estimate the known data position detection and the approximate frequency offset.

상기 기지 데이터 추출부(1430)는 상기 기지 데이터 위치 검출 및 주파수 옵셋 결정부(1420)에서 출력되는 기지 데이터 위치 정보를 이용하여 상기 버퍼(1440)의 출력으로부터 기지 데이터를 추출한 후 곱셈기(1450)로 출력한다.The known data extractor 1430 extracts known data from the output of the buffer 1440 by using the known data position information output from the known data position detection and frequency offset determiner 1420 and then multiplies the multiplier 1450. Output

상기 NCO(1460)는 상기 기지 데이터 위치 검출 및 주파수 옵셋 결정부(1420)에서 출력되는 대략적인 주파수 옵셋에 해당하는 복소 신호를 생성하여 곱셈기(1450)로 출력한다.The NCO 1460 generates a complex signal corresponding to the approximate frequency offset output from the known data position detection and frequency offset determiner 1420 and outputs the complex signal to the multiplier 1450.

상기 곱셈기(1450)는 상기 기지 데이터 추출부(1430)에서 출력되는 기지 데이터에 상기 NCO(1460)의 복소 신호를 곱하여 대략적인 주파수 옵셋이 보상된 기지 데이터를 주파수 옵셋 추정기(1470)로 출력한다.The multiplier 1450 multiplies the complex data of the NCO 1460 by the complex data of the NCO 1460 by the known data output from the known data extractor 1430 and outputs the known data whose frequency offset is compensated to the frequency offset estimator 1470.

상기 주파수 옵셋 추정기(1470)는 대략적인 주파수 옵셋이 보상된 기지 데이터로부터 미세 주파수 옵셋을 추정하여 가산기(1480)로 출력한다.The frequency offset estimator 1470 estimates the fine frequency offset from the known data with the approximate frequency offset compensated and outputs the fine frequency offset to the adder 1480.

상기 가산기(1480)는 대략적인 주파수 옵셋과 미세 주파수 옵셋을 더하고 그 결과를 초기 주파수 옵셋으로 하여 상기 복조기(1002) 내 반송파 복구부(1090)의 가산기(1095)로 출력한다. 즉, 본 발명은 초기 동기 획득시에 대략적인 주파수 옵셋 뿐만 아니라 미세 주파수 옵셋을 추정하여 이용함으로써, 초기 주파수 옵셋의 추정 성능을 향상시킬 수 있다. The adder 1480 adds an approximate frequency offset and a fine frequency offset and outputs the result as an initial frequency offset to the adder 1095 of the carrier recovery unit 1090 in the demodulator 1002. That is, the present invention can improve the estimation performance of the initial frequency offset by estimating and using the fine frequency offset as well as the coarse frequency offset when initial synchronization is acquired.

만일 상기 기지 데이터가 도 8과 같이 데이터 그룹 내에 삽입되어 전송된다고 가정하면, 상기 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)는 상기 제1 기지 데이터 영역 내 복수의 제1 기지 데이터 패턴의 상관성을 이용하여 초기 주파수 옵셋을 추정할 수 있다. If it is assumed that the known data is inserted into the data group and transmitted as shown in FIG. 8, the known data detection and initial frequency offset estimator 1004-1 may correlate a plurality of first known data patterns in the first known data area. We can estimate the initial frequency offset using.

그리고 상기 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)에서 추정한 필드 동기 위치 정보 및 상기 A 영역 내에 주기적으로 삽입된 기지 데이터의 위치 정보(예를 들어, 각 기지 데이터 영역에 주기적으로 삽입되는 제2 기지 데이터 패턴 영역의 위치 정보)는 타이밍 복구부(1080)의 타이밍 에러 검출기(1083)와 반송파 복구부(1090)의 주파수 옵셋 추정기(1092), 위상 보상부(1110)의 주파수 옵셋 추정기(1112), 등화기(1003)로 입력된다. And field synchronization position information estimated by the known data detection and initial frequency offset estimator 1004-1 and position information of known data periodically inserted into the A region (for example, periodically inserted into each known data region). Position information of the second known data pattern region) includes a frequency offset estimator 1092 of the timing error detector 1083 of the timing recovery unit 1080, a frequency offset estimator 1092 of the carrier recovery unit 1090, and a frequency offset estimator of the phase compensator 1110. 1112, to the equalizer 1003.

도 37은 도 36의 각 부분 상관기 중 하나의 구조를 나타낸 것이다. 상기 기지 데이터 검출 단계에서 수신 신호에는 주파수 옵셋이 포함되므로 각 부분 상관기는 송/수신측에서 약속에 의해 알고 있는 기지 데이터를 L 심볼 길이를 갖는 K개의 부분으로 나누어 수신 신호의 해당 부분과 상관을 취한다. FIG. 37 illustrates the structure of one of the partial correlators of FIG. 36. In the known data detection step, since the received signal includes a frequency offset, each partial correlator divides known data known by appointment on the transmitting / receiving side into K parts having an L symbol length to correlate with the corresponding part of the received signal. do.

이를 위해 하나의 부분 상관기는 병렬로 구성된 K개의 위상 및 크기 검출 부(1511~151K), 가산기(1520), 및 대략적 주파수 옵셋 추정부(1530)를 포함할 수 있다.To this end, one partial correlator may include K phase and magnitude detectors 1511 to 151K, an adder 1520, and an approximate frequency offset estimator 1530 configured in parallel.

상기 첫 번째 위상 및 크기 검출부(1511)는 L 심볼 버퍼(1511-2), 곱셈기(1511-3), 누산기(1511-4), 및 제곱기(1511-5)를 포함하여, K개의 구간 중 첫 번째 L 심볼 길이의 기지 데이터의 상관값을 구한다.The first phase and magnitude detector 1511 includes an L symbol buffer 1511-2, a multiplier 1511-3, an accumulator 1511-4, and a squarer 1511-5. The correlation value of the known data of the first L symbol length is obtained.

상기 두 번째 위상 및 크기 검출부(1512)는 L 심볼 지연기((1512-1), L 심볼 버퍼(1512-2), 곱셈기(1512-3), 누산기(1512-4), 및 제곱기(1512-5)를 포함하여, K개의 구간 중 두 번째 L 심볼 길이의 기지 데이터의 상관값을 구한다.The second phase and magnitude detector 1512 includes an L symbol delay unit 1512-1, an L symbol buffer 1512-2, a multiplier 1512-3, an accumulator 1512-4, and a squarer 1512. Including -5), a correlation value of known data having a length of the second L symbol among K intervals is obtained.

상기 K 번째 위상 및 크기 검출부(151K)는 (K-1)L 심볼 지연기((151K-1), L 심볼 버퍼(151K-2), 곱셈기(151K-3), 누산기(151K-4), 및 제곱기(151K-5)를 포함하여, K개의 구간 중 K번째 L 심볼 길이의 기지 데이터의 상관값을 구한다.The K-th phase and magnitude detector 151K includes a (K-1) L symbol delay unit (151K-1), an L symbol buffer 151K-2, a multiplier 151K-3, an accumulator 151K-4, And a squarer (151K-5) to obtain a correlation value of known data having a length of the K-th L symbol among K intervals.

상기 도 37의 각 곱셈기에서 수신 신호와 곱해지는 {P0,P1,...,PKL-1}는 송/수신측에서 알고 있는 기지 데이터(즉, 수신측에서 발생시킨 기준 기지 데이터)를 나타내고, *는 복소 콘쥬게이트(complex conjugate)를 나타낸다. In the multipliers of FIG. 37, {P0, P1, ..., PKL-1}, which are multiplied with the received signal, represent known data known to the transmitting / receiving side (i.e., reference known data generated on the receiving side). * Represents a complex conjugate.

상기 첫 번째 위상 및 크기 검출부(1511)를 예로 들면, 도 36의 첫 번째 부분 상관부(1411)의 1/N 데시메이터에서 출력되는 신호는 첫 번째 위상 및 크기 검출부(1511)의 L 심볼 버퍼(1511-2)에서 일시 저장된 후 곱셈기(1511-3)로 입력된다. 상기 곱셈기(1511-3)는 상기 L 심볼 버퍼(1511-2)의 출력과 이미 알고 있는 K개의 구간 중 첫 번째 L 심볼 길이의 기지 데이터 P0,P1,...,PL-1를 복소 콘쥬게이트 곱하여 누산기(1511-4)로 출력한다. 상기 누산기(1511-4)는 L 심볼 동안 상기 곱셈기(1511-3)의 출력을 누산하여 제곱기(1511-5)와 대략적 주파수 옵셋 추정부(1530)로 출력한다. 상기 누산기(1511-4)의 출력은 위상과 크기를 가진 상관값이다. 따라서 상기 제곱기(1511-5)에서 상기 곱셈기(1511-4)의 출력에 절대치를 취하고 그 절대치를 제곱하면 상관값의 크기가 구해지며, 그 크기는 가산기(1520)로 입력된다. Taking the first phase and magnitude detector 1511 as an example, the signal output from the 1 / N decimator of the first partial correlator 1411 of FIG. 36 is an L symbol buffer (1) of the first phase and magnitude detector 1511. 1511-2) is temporarily stored and then input to the multiplier 1511-3. The multiplier 1511-3 complex conjugates the output of the L symbol buffer 1511-2 and the known data P0, P1, ..., PL-1 of the first L symbol length among the K intervals already known. Multiply and output to the accumulator 1511-4. The accumulator 1511-4 accumulates the output of the multiplier 1511-3 during the L symbol and outputs the result to the squarer 1511-5 and the coarse frequency offset estimator 1530. The output of the accumulator 1511-4 is a correlation value having a phase and a magnitude. Accordingly, when the squarer 1511-5 takes an absolute value at the output of the multiplier 1511-4 and squares the absolute value, the magnitude of the correlation value is obtained, and the magnitude is input to the adder 1520.

상기 가산기(1520)는 각 위상 및 크기 검출부(1511~151K)의 제곱기의 출력을 더하여 기지 데이터 위치 검출 및 주파수 옵셋 결정부(1420)로 출력한다.The adder 1520 adds outputs of the squarers of the phase and magnitude detectors 1511 to 151K and outputs them to the known data position detection and frequency offset determiner 1420.

그리고 대략적 주파수 옵셋 추정부(1530)는 상기 각 위상 및 크기 검출부(1511~151K)의 누산기의 출력을 입력받아 해당 샘플링 위상에서 대략적인 주파수 옵셋을 추정하여 기지 데이터 위치 검출 및 주파수 옵셋 결정부(1420)로 출력한다.The coarse frequency offset estimator 1530 receives the outputs of the accumulators of the phase and magnitude detectors 1511 to 151K, estimates a coarse frequency offset in the corresponding sampling phase, and detects the known data position and the frequency offset determiner 1420. )

상기 각 위상 및 크기 검출부(1511~151K)의 누산기에서 출력되는 K개의 입력을 {Z0,Z1,...,ZK -1} 이라고 할 경우 상기 대략적인 주파수 옵셋 추정기(130)의 출력은 다음의 수학식 6과 같이 구할 수 있다. When the K inputs outputted from the accumulators of the phase and magnitude detectors 1511 to 151K are {Z 0 , Z 1 ,..., Z K -1 }, the approximate frequency offset estimator 130 is output. Can be obtained as in Equation 6 below.

Figure 112008088968393-pat00007
Figure 112008088968393-pat00007

상기 기지 데이터 위치 검출 및 주파수 옵셋 결정부(1420)는 각 샘플링 위상별 부분 상관기의 출력을 데이터 그룹 주기 또는 정해진 주기 동안 저장한 후 그 값들 가운데 상관값이 최대인 위치를 기지 데이터의 수신 위치로 판단하고 그 순간 의 주파수 옵셋 추정 값을 수신 시스템의 대략적인 주파수 옵셋 값으로 결정한다. 예를 들어, 두 번째 부분 상관부(1412)의 부분 상관기의 출력 중 한 값이 최대값을 갖게 되면 그 위치를 기지 데이터 위치로 결정하고, 상기 두 번째 부분 상관부(1412)에서 추정된 대략적 주파수 옵셋을 최종 대략적 주파수 옵셋으로 결정하여 복조기(1002)로 출력한다. The known data position detection and frequency offset determiner 1420 stores the output of the partial correlator for each sampling phase for a data group period or a predetermined period, and then determines a position where the correlation value is the maximum among the values as the reception position of the known data. The frequency offset estimate at that moment is determined as the approximate frequency offset of the receiving system. For example, when one of the outputs of the partial correlator of the second partial correlator 1412 has a maximum value, the position is determined as a known data position, and the approximate frequency estimated by the second partial correlator 1412 is determined. The offset is determined as the final coarse frequency offset and output to the demodulator 1002.

한편 상기 제2 곱셈기(1050)의 출력은 상기 타이밍 복구부(1080)의 데시메이터(1081)와 버퍼(1082)를 거쳐 타이밍 에러 검출기(Timing Error Detector)(1083)로 입력된다. The output of the second multiplier 1050 is input to a timing error detector 1083 through the decimator 1081 and the buffer 1082 of the timing recovery unit 1080.

만일 상기 제2 곱셈기(1050)의 출력이 N배로 오버샘플링(oversampling)되었다면, 상기 제2 곱셈기(1050)의 출력은 데시메이터(1081)에서 1/N로 데시메이트된 후 버퍼(1082)로 입력된다. 즉, 상기 데시메이터(1081)는 VSB 심볼 주기로 입력 신호를 데시메이션한다. 또한 상기 데시메이터(1081)는 제2 곱셈기(1050)의 출력 대신 정합 필터(1060)의 출력을 입력받을 수도 있다. If the output of the second multiplier 1050 is oversampled by N times, the output of the second multiplier 1050 is decimated at decimator 1081 to 1 / N and then input to buffer 1082. do. That is, the decimator 1081 decimates the input signal in a VSB symbol period. The decimator 1081 may also receive the output of the matched filter 1060 instead of the output of the second multiplier 1050.

상기 타이밍 에러 검출기(1083)는 상기 정합 필터링 전 또는 후의 데이터와 기지 데이터 검출 및 초기 주파수 옵셋 추정기(1004-1)에서 출력되는 기지 데이터 위치 정보를 이용하여 타이밍 에러를 검출한 후 루프 필터(1084)로 출력한다. 즉, 상기 타이밍 에러 검출기(1083)는 정합 필터링 전 또는 후의 기지 데이터 열로부터 타이밍 에러를 검출하여 루프 필터(1084)로 출력한다. 따라서 검출된 타이밍 에러 정보는 기지 데이터 열의 반복 주기마다 한 번씩 구해진다. The timing error detector 1083 detects a timing error using data before or after the matched filtering and known data detection and known data position information output from the initial frequency offset estimator 1004-1, and then loop filter 1084. Will output That is, the timing error detector 1083 detects a timing error from a known data string before or after matched filtering and outputs the timing error to the loop filter 1084. Therefore, the detected timing error information is obtained once for every repetition period of the known data string.

상기 타이밍 에러 검출기(1083)는 일 실시예로서, 만일 도 31과 같이 동일한 패턴을 갖는 기지 데이터 열이 주기적으로 삽입되어 전송된다면 상기 기지 데이터를 이용하여 타이밍 에러를 검출할 수 있다.As an example, the timing error detector 1083 may detect a timing error using the known data if a known data string having the same pattern is periodically inserted and transmitted as shown in FIG. 31.

상기 기지 데이터를 이용하여 타이밍 에러를 검출하는 방법은 여러 가지가 있을 수 있다. 본 발명에서는 일 실시예로 시간 영역에서 송/수신측의 약속에 의해 알고 있는 기지 데이터와 수신 데이터와의 상관 특성을 이용하여 타이밍 에러를 검출하거나, 주파수 영역에서 수신되는 두 기지 데이터의 상관 특성을 이용하여 타이밍 에러를 검출한다. 또 다른 실시예로, 수신 신호의 스펙트럼의 측대역을 이용하여 타이밍 에러를 검출하는 스펙트럴 라인 방법을 적용하여 타이밍 에러를 검출할 수도 있다. There may be various methods for detecting timing errors using the known data. According to an embodiment of the present invention, a timing error is detected by using a correlation characteristic between known data and received data known by a promise of a transmitting / receiving party in a time domain, or a correlation characteristic between two known data received in a frequency domain is detected. To detect timing errors. In another embodiment, the timing error may be detected by applying a spectral line method of detecting a timing error using a sideband of a spectrum of a received signal.

상기 루프 필터(1084)는 상기 타이밍 에러 검출기(1083)에서 검출된 타이밍 에러를 필터링하여 유지기(1085)로 출력한다. The loop filter 1084 filters and outputs the timing error detected by the timing error detector 1083 to the maintainer 1085.

상기 유지기(1085)는 상기 루프 필터(1084)에서 필터링되어 출력되는 타이밍 에러를 기지 데이터 열의 주기동안 유지시킨 후 NCO(1086)로 출력한다. 여기서 상기 루프 필터(1084)와 유지기(1085)의 위치는 서로 바뀌어도 가능하다. 또한 상기 유지기(1085)의 기능을 루프 필터(1084)에 포함시키고, 유지기(1085)를 생략할 수도 있다.The retainer 1085 maintains the timing error filtered out by the loop filter 1084 for a period of a known data string and then outputs it to the NCO 1086. Here, the positions of the loop filter 1084 and the retainer 1085 may be interchanged. In addition, the function of the retainer 1085 may be included in the loop filter 1084, and the retainer 1085 may be omitted.

상기 NCO(1086)는 상기 유지기(1085)에서 출력되는 타이밍 에러를 누적하고, 누적된 타이밍 에러의 위상 성분 즉, 샘플링 클럭을 리샘플러(1040)로 출력하여 리샘플러(1040)의 샘플링 타이밍을 조절한다. The NCO 1086 accumulates the timing error output from the retainer 1085, and outputs the phase component of the accumulated timing error, that is, the sampling clock to the resampler 1040 to determine the sampling timing of the resampler 1040. Adjust.

도 38은 타이밍 복구부의 다른 실시예로서, 제1, 제2 타이밍 에러 검출 기(1611,1612), 먹스(1613), 루프 필터(1614), 및 NCO(1615)를 포함한다. 38 illustrates another embodiment of the timing recovery unit, and includes first and second timing error detectors 1611 and 1612, a mux 1613, a loop filter 1614, and an NCO 1615.

방송 신호에 기지 데이터가 있는 영역과 없는 영역이 구분되어 전송되는 경우, 기지 데이터의 유무에 따라서 타이밍 에러를 검출하는 방법이 달라질 수 있다. 그리고, 기지 데이터 유무에 따라 적합한 타이밍 에러 검출기를 사용할 수 있다. 따라서 도 38의 경우, 일정 길이의 기지 데이터가 정해진 위치에 삽입되는 영역과 기지 데이터가 삽입되지 않은 영역으로 나누어 전송되는 경우에 적용하면 효과적인 경우이다.When a region having known data and a region having no known data are transmitted separately, a method of detecting a timing error may vary depending on the presence or absence of known data. And a timing error detector suitable for the presence or absence of known data can be used. Therefore, in the case of FIG. 38, this is an effective case when it is applied to a case where a predetermined length of known data is inserted into a region where a predetermined length is inserted and a region where the known data is not inserted.

예를 들어, 제1 타이밍 에러 검출기(1611)는 수신된 신호의 스펙트럼의 측대역을 이용하여 타이밍 에러를 검출하고, 제2 타이밍 에러 검출기(1612)는 기지 데이터를 이용하여 타이밍 에러를 검출한다고 가정하자.For example, assume that the first timing error detector 1611 detects a timing error using the sideband of the spectrum of the received signal, and the second timing error detector 1612 detects a timing error using the known data. lets do it.

그러면 먹스(1613)는 기지 데이터가 없는 영역에서는 제1 타이밍 에러 검출기(1611)의 출력을 선택하고, 기지 데이터가 있는 영역에서는 제2 타이밍 에러 검출기(1612)의 출력을 선택하여 루프 필터(1614)로 출력하도록 설계할 수 있다. 또는 기지 데이터가 있는 영역에서는 제 1 타이밍 에러 검출기(1611)의 출력과 제2 타이밍 에러 검출기(1612)의 출력을 통합하여 루프 필터(1614)로 출력하는 것도 가능하다. 이렇게 하면 기지 데이터가 있는 영역에서는 기지 데이터를 이용하여 보다 신뢰도가 높은 타이밍 에러를 검출함으로써, 타이밍 클럭을 더욱 안정되게 복원할 수 있게 된다. The mux 1613 then selects the output of the first timing error detector 1611 in the region where there is no known data, and selects the output of the second timing error detector 1612 in the region where the known data is present, thereby providing a loop filter 1614. Can be designed to output Alternatively, in the region where the known data exists, the output of the first timing error detector 1611 and the output of the second timing error detector 1612 may be integrated and output to the loop filter 1614. This makes it possible to restore the timing clock more stably by detecting more reliable timing errors using the known data in the region where the known data exists.

상기 기지 데이터를 이용한 타이밍 에러 검출 방법은 여러 가지가 있을 수 있다. 여기에서는 타이밍 에러 검출 방법에 대해 두 개의 실시예를 개시한다. 하나 는 시간 영역에서 송/수신측의 약속에 의해 알고 있는 기지 데이터와 수신 데이터와의 상관 특성을 이용하여 타이밍 에러를 검출하는 방법이고, 다른 하나는 주파수 영역에서 수신되는 두 기지 데이터의 상관 특성을 이용하여 타이밍 에러를 검출하는 방법이다. The timing error detection method using the known data may be various. Two embodiments are described here for the timing error detection method. One method is to detect a timing error by using a correlation characteristic between known data and received data known by a promise of a transmitting / receiving party in a time domain, and the other is to detect a correlation characteristic of two known data received in a frequency domain. It is a method of detecting a timing error by using.

도 39와 도 40은 송/수신측의 약속에 의해 알고 있는 기지 데이터(즉, 수신측에서 발생한 기준 데이터)와 수신된 신호의 상관값을 구하여 타이밍 에러를 검출하는 예를 보인다. 39 and 40 show an example of detecting a timing error by obtaining a correlation value between a known signal (i.e., reference data generated at the receiving side) and a received signal known by an appointment at the transmitting / receiving side.

먼저, 도 39의 (a)는 데이터 블록 주기마다 반복되는 기지 데이터열 전체를 수신된 신호열에 맞추어 이동시키면서 수신된 신호열과 상관값을 구하는 예를 도시한다. 이때 기지 데이터 열과 수신 신호간의 상관값은 도 39의 (b)에 보인 바와 같이 수신 신호의 기지 데이터 열 마지막 심볼 위치에서 최대치 또는 피크 값을 출력한다. First, FIG. 39A illustrates an example of obtaining a received signal sequence and a correlation value while moving the entire known data sequence repeated every data block period in accordance with the received signal sequence. At this time, the correlation value between the known data string and the received signal outputs a maximum value or a peak value at the last symbol position of the known data string of the received signal as shown in FIG.

도 40의 (a)는 기지 데이터 열을 둘 이상의 부분으로 나누어 상관값을 구하는 예를 개시한다. 이 경우 기지 데이터의 상관값의 피크들은 각 기지 데이터가 분리된 부분의 마지막 심볼 위치에 발생한다. 그리고, 발생한 피크값을 하나의 값으로 합산 등의 연산을 통해 최종 피크값을 산출할 수 있다. 도 40의 (b)는 기지 데이터가 3부분으로 나누어 상관될 경우, 각 상관값들과 그 상관값들의 합인 최종 치크값을 나타낸다. FIG. 40A illustrates an example of dividing a known data string into two or more portions to obtain a correlation value. In this case, the peaks of the correlation values of the known data occur at the last symbol position of the part where each known data is separated. The final peak value may be calculated by calculating the sum of the generated peak values as one value. 40 (b) shows a final cheek value that is the sum of the correlation values and the correlation values when the known data are correlated into three parts.

상기 타이밍 에러는 상관값의 피크 위치로부터 산출할 수 있다. 도 39와 같이 하나의 기지 데이터 열 전체를 이용하여 하나의 상관값을 구할 경우 타이밍 에 러 검출은 매 데이터 블록 주기마다 한 번씩 검출될 수 있다. 그러나 기지 데이터 열을 도 40과 같이 나누어서 수신된 신호와 상관값을 구하면 기지 데이터 열을 전체에 대한 상관 정도가 떨어질 경우 더 정확한 타이밍 에러를 산출할 수 있다. 나눈 수 만큼에 해당하는 상관값의 피크를 얻을 수 있다. The timing error can be calculated from the peak position of the correlation value. As shown in FIG. 39, when one correlation value is obtained using one entire known data string, timing error detection may be detected once every data block period. However, by dividing the known data sequence as shown in FIG. 40 to obtain a correlation value with the received signal, a more accurate timing error can be calculated when the degree of correlation with respect to the entire known data sequence falls. The peak of the correlation value corresponding to the divided number can be obtained.

하나의 기지 데이터 열을 나누어 다수의 상관 피크값을 얻고 이를 합산 등의 연산을 하나의 피크값을 산출할 경우 전체 기지 데이터 열을 이용하는 경우보다 기지 데이터 열을 부분으로 나누어 상관값을 구하는 것이 반송파 주파수 에러의 영향을 줄일 수 있다. 또한, 다수의 상관 피크값을 각각 이용하여 타이밍 에러를 검출하는 경우에는 타이밍 복원 속도가 빨라질 수 있다. 예를 들어, 송/수신측에서 약속에 의해 알고 있는 기지 데이터 열을 K개의 부분으로 나누어 수신 신호와 상관을 취하면 상기 기지 데이터 열에서 K개만큼 상관값의 피크를 얻을 수 있으며, 그 수만큼의 타이밍 에러, 또는 조합에 의해 조정된 개수의 타이밍 에러를 얻을 수 있다. 그러므로 전체 기지 데이터 열을 이용하는 경우는 타이밍 에러 검출값의 분산은 적으나 적용 주기가 길어지게 되고, 부분 기지 데이터 열을 이용하는 경우는 전체를 이용하는 경우에 비해 분산은 약간 증가하나 적응 주기를 줄일 수도 있다. When a single peak data is obtained by dividing a single known data string, and a peak value is calculated by summing these operations, it is necessary to obtain a correlation value by dividing the known data string into parts rather than using the entire known data string. The effect of errors can be reduced. In addition, when timing errors are detected using a plurality of correlation peak values, respectively, the timing restoration speed may be increased. For example, if a known data sequence known by an appointment is divided into K parts on the transmitting / receiving side and correlated with a received signal, peaks of correlation values can be obtained by K number in the known data string. Timing error, or the number of timing errors adjusted by the combination can be obtained. Therefore, when the full known data sequence is used, the dispersion of timing error detection values is small but the application period is long. When the partial known data sequence is used, the dispersion may be slightly increased, but the adaptation period may be shortened compared to the case where the full known data sequence is used. .

타이밍 에러는 상관값의 피크 부분으로부터 산출할 수 있다. 그러므로 도 41과 같이 기지 데이터열 전체를 이용하여 하나의 상관값을 구하면 타이밍 에러는 매 데이터 블록 주기로 한 번씩 검출된다. 그러나 기지 데이터 열을 도 40과 같이 나누어서 수신된 신호와 상관값을 구하면 기지 데이터 열을 나눈 수 만큼에 해당하는 상관값의 피크를 얻을 수 있고 그 나눈 수만큼의 타이밍 에러를 검출하는 것이 가 능하다. The timing error can be calculated from the peak portion of the correlation value. Therefore, if one correlation value is obtained using the entire known data sequence as shown in FIG. 41, the timing error is detected once every data block period. However, by dividing the known data stream as shown in FIG. 40 to obtain a correlation value with the received signal, a peak of the correlation value corresponding to the number of known data streams can be obtained and the timing error can be detected as much as the divided number.

도 41을 참조하여 도 39와 도 40에서 설명한 기지 데이터와 수신 데이터 간의 상관값을 구하여 타이밍 에러를 검출하는 방법에 대해 자세히 설명한다. 상기 도면에서 굵은 점은 기지 데이터와 수신 데이터 간의 상관값을 표시한 것이고 실선은 상기 점들의 흐름을 대략적으로 이은 것이다. 상기 점들은 심볼 클럭의 두 배 빠른 주기로 샘플링한 샘플들에 대해 상관값을 구한 것을 나타낸다. A method of detecting a timing error by obtaining a correlation value between the known data and the received data described with reference to FIGS. 39 and 40 will be described in detail with reference to FIG. 41. In the figure, bold points indicate correlation values between known data and received data, and solid lines indicate the flow of the points approximately. The points indicate that correlation values are obtained for samples sampled at twice the period of the symbol clock.

상기 도 41에서 랜덤 데이터에 의한 영향을 배제하고 잡음이 없고 타이밍 클럭의 오차가 없다면 기지 데이터 열과 수신 데이터 열의 상관값은 상기 도면에서 실선의 모양과 유사하게 피크를 중심으로 좌우 대칭 형태로 나타난다. 그러나 타이밍 위상 에러가 있다면 피크의 바로 앞 뒤 샘플들의 대칭형이 유지되지 않고 차이가 생기게 된다. 그러므로 상관값을 이용한 타이밍 에러 검출은 피크 값의 바로 이전 값과 이후 값의 차에 비례한 값을 이용하여 산출할 수 있다. In FIG. 41, if the influence of the random data is excluded and there is no noise and there is no error in the timing clock, the correlation value of the known data sequence and the received data sequence is shown in a symmetrical form with respect to the peak, similar to the shape of the solid line. However, if there is a timing phase error, the symmetry of the samples immediately before and after the peak is not maintained and there is a difference. Therefore, the timing error detection using the correlation value can be calculated using a value proportional to the difference between the immediately preceding value and the subsequent value of the peak value.

도 42는 전술한 기지 데이터와 수신 신호의 상관값을 이용하여 시간 영역에서 타이밍 에러를 검출하는 타이밍 에러 검출기의 예를 보인 상세 블록도이다. 도 42의 예는 상관기(1701), 다운 샘플러(1702), 절대값 연산기(1703), 지연기(1704), 및 감산기(1705)를 포함한다. FIG. 42 is a detailed block diagram illustrating an example of a timing error detector that detects a timing error in a time domain using the correlation value of the known data and the received signal. The example of FIG. 42 includes a correlator 1701, a down sampler 1702, an absolute value operator 1703, a delayer 1704, and a subtractor 1705.

상기 상관기(1701)는 심볼 클럭 주파수의 두 배 이상으로 빠른 클럭으로 샘플링된 데이터를 입력받아 기지 데이터 심볼 열과 상관값을 계산하여 다운 샘플러(1702)로 출력한다. 상기 다운 샘플러(1702)는 상관값을 샘플링 비율만큼 다운 샘플링하여 심볼 주파수의 샘플을 얻는다. 예를 들어, 상기 상관기(1701)로 입력되 는 수신 데이터가 2배의 심볼 주파수로 샘플링된 데이터라면 상기 다운 샘플러(1701)는 1/2 다운 샘플링하여 심볼 주파수의 샘플을 얻는다. 상기 다운 샘플러(1701)의 상관값은 절대값 연산기(1703)로 입력되고, 상기 절대값 연산기(1703)는 다운 샘플링된 상관값들의 절대값 또는 절대값의 제곱을 구하여 위상 성분이 없는 크기값의 성분으로 변환한다. 상기 절대값 연산기(1703)의 출력은 지연기(1704)와 감산기(1705)로 제공된다. 상기 감산기(1705)는 상기 지연기(1704)에서 1 심볼 지연된 절대값 또는 절대값의 제곱과 현재 절대값 또는 절대값의 제곱의 차를 타이밍 에러 값으로 출력한다. 즉, 상기 절대값 연산기(1703)의 출력을 한 심볼만큼 지연시킨 값과 상기 절대값 연산기(1703)의 출력값의 차가 곧 타이밍 위상 에러에 비례하는 값이 된다. The correlator 1701 receives data sampled at a clock faster than twice the symbol clock frequency, calculates a correlation with a known data symbol string, and outputs the correlation value to the down sampler 1702. The down sampler 1702 downsamples the correlation value by the sampling rate to obtain a sample of the symbol frequency. For example, if the received data input to the correlator 1701 is sampled at twice the symbol frequency, the down sampler 1701 downsamples 1/2 to obtain a sample of the symbol frequency. The correlation value of the down sampler 1701 is input to an absolute value calculator 1703, and the absolute value calculator 1703 obtains the absolute value or the square of the absolute value of the down-sampled correlation values to obtain a magnitude value having no phase component. Convert to component. The output of the absolute value calculator 1703 is provided to a delayer 1704 and a subtractor 1705. The subtractor 1705 outputs a difference between the square of the absolute value or the absolute value delayed by one symbol in the delayer 1704 and the square of the current absolute value or the absolute value as a timing error value. That is, the difference between the value that delays the output of the absolute value calculator 1703 by one symbol and the output value of the absolute value calculator 1703 becomes a value proportional to the timing phase error.

여기서 각 블록의 선후 관계는 절대적이지 않고 결과값이 바뀌지 않는 논리적으로 타당한 범위 내에서 서로 순서를 바꾸어 연산할 수 있다. 예를 들어, 다운 샘플러, 상관기, 절대값 연산기 순으로 연산을 수행할 수도 있고, 상관기, 절대값 연산기, 다운 샘플러 순으로 연산을 수행할 수도 있다. Here, the procedural relationship of each block is not absolute and can be calculated by reordering each other within a logically valid range in which the result value does not change. For example, the operation may be performed in order of the down sampler, the correlator, and the absolute value calculator, or the operation may be performed in the order of the correlator, the absolute value operator, and the down sampler.

타이밍 에러는 기지 데이터의 주파수 특성을 이용하여 검출할 수도 있다. 타이밍 주파수 에러가 발생하면 주파수 영역의 신호의 대역 내에서 주파수가 증가할수록 위상이 일정하게 증감하고, 현재 블록에 비해 다음 블록의 주파수에 따라 위상의 증감하는 기울기가 변하는 현상이 나타나게 된다. 그러므로 기지 데이터 두 블록간의 주파수 특성을 이용한 주파수에 따른 위상 변화의 기울기를 검출하여 타이밍 주파수 에러로 사용할 수 있다. The timing error may be detected using the frequency characteristic of the known data. When a timing frequency error occurs, the phase increases and decreases as the frequency increases within the band of the signal in the frequency domain, and the slope of the phase increases and decreases according to the frequency of the next block compared to the current block. Therefore, the slope of the phase change according to the frequency using the frequency characteristic between two known data blocks can be detected and used as a timing frequency error.

도 43은 상기 기술한 기지 데이터의 주파수 특성을 이용하여 타이밍 주파수 에러를 검출하는 예를 예시한다. 현재 수신된 기지 데이터 열을 고속 푸리에 변환(Fast Fourier Transform ; FFT)하여 주파수 영역의 신호로 변환하고, 이전 수신된 기지 데이터 열을 FFT하여 주파수 영역의 신호로 변환한다. 그리고, 이전 기지 데이터 열의 주파수 응답의 콘쥬게이트(conjugate) 값과 현재 기지 데이터 열의 주파수 응답의 각 주파수 값끼리 곱하여 주파수 영역에서 상관값을 산출한다. 즉, 이전 기지 데이터 열의 주파수 값과 현재 기지 데이터 열의 주파수 값의 상관값을 얻음으로써 각 주파수에서 기지 데이터 블록 간의 위상 변화를 추출할 수 있다. 그리고, 채널에 의한 위상 왜곡의 영향을 없앨 수도 있다. 43 exemplifies an example of detecting a timing frequency error using the above-described frequency characteristic of known data. A fast Fourier transform (FFT) of the currently received known data stream is transformed into a signal in the frequency domain, and a previously received known data stream is transformed into a signal in the frequency domain by FFT. A correlation value is calculated in the frequency domain by multiplying a conjugate value of the frequency response of the previous known data stream by each frequency value of the frequency response of the current known data stream. That is, the phase change between the known data blocks can be extracted at each frequency by obtaining a correlation value between the frequency values of the previous known data stream and the frequency values of the current known data stream. In addition, the influence of the phase distortion caused by the channel can be eliminated.

복소수 VSB 신호의 주파수 응답은 VSB 특성으로 인해 도 41의 주파수 응답 예와 같이 전체 영역에 값이 존재하지 않고 반쪽에만 존재하기 때문에 주파수 영역의 상관값 역시 반쪽 영역에만 존재한다. 주파수 영역에서 상관값의 위상 기울기를 구하기 위해, 상관값이 존재하는 주파수 영역을 둘로 나누고, 각 영역에서 해당 영역 내 상관값들을 모두 합한 값들의 각각 위상들을 구한다. 그리고, 두 영역에서 각기 구한 두 위상 간의 차이를 구하면 타이밍 주파수 에러를 산출할 수 있다. Since the frequency response of the complex VSB signal is not present in the whole region but only in the half, as in the example of the frequency response of FIG. 41, the frequency response of the complex VSB signal also exists only in the half region. In order to obtain the phase slope of the correlation value in the frequency domain, the frequency domain in which the correlation value exists is divided into two, and each phase of the values of the sum of the correlation values in the corresponding region in each region is obtained. In addition, the timing frequency error may be calculated by obtaining the difference between the two phases respectively obtained in the two regions.

각 주파수에서 상관값을 더한 후 위상을 구하는 것은 각 상관값의 성분을 크기와 위상으로 나누어볼 때, 각 상관값의 크기 성분은 곧 신뢰도와 비례하고 이 크기에 비례하는 형태로 각 상관값의 위상 성분이 최종 위상 성분에 영향을 주도록 하기 위함이다. To calculate the phase after adding correlation values at each frequency, when the components of each correlation value are divided into magnitude and phase, the magnitude component of each correlation value is proportional to the reliability and is proportional to this magnitude. This is to allow the component to affect the final phase component.

도 44는 도 43에 개시한 방법으로 타이밍 에러를 검출할 수 있는 예를 개시 한다. 도 44의 타이밍 에러 검출기는 FFT부(1801), 제1 지연기(1802), 콘쥬게이터(1803), 곱셈기(1804), 가산기(1805), 위상 추출기(1806), 제2 지연기(1807), 및 감산기(1808)를 포함한다. 여기서 상기 제1 지연기(1802)는 1 데이터 블록 지연기이고, 제2 지연기(1807)는 1/4 데이터 블록 지연기를 실시예로 한다. 상기 1 데이터 블록이란 N개의 기지 데이터 심볼 열의 주파수 응답으로 구성된 하나의 블록을 의미한다.FIG. 44 discloses an example in which timing errors can be detected by the method disclosed in FIG. 43. The timing error detector of FIG. 44 includes an FFT unit 1801, a first delayer 1802, a conjugator 1803, a multiplier 1804, an adder 1805, a phase extractor 1806, and a second delayer 1807. , And a subtractor 1808. Here, the first delayer 1802 is one data block delayer, and the second delayer 1807 is a quarter data block delayer. The one data block means one block composed of frequency responses of N known data symbol strings.

즉, 기지 데이터 영역이 알려지고 수신된 데이터 심볼 열이 입력되면, 상기 FFT부(1801)는 입력되는 데이터 심볼 열 중에서 연속적인 N개의 기지 데이터 열의 복소수 값을 주파수 영역의 복소수 값으로 변환하여 제1 지연기(1802)와 곱셈기(1804)로 출력한다. 상기 제1 지연기(1802)는 기지 데이터의 주파수 영역의 복소수 값을 1 데이터 블록만큼 지연시켜 콘쥬게이터(1803)로 출력하고, 상기 콘쥬게이터(1803)는 입력 복소수 값을 콘쥬게이팅하여 곱셈기(1804)로 출력한다. 상기 곱셈기(1804)는 FFT부(1801)에서 출력되는 현재 데이터 블록의 기지 데이터와 콘쥬게이터(1803)에서 출력되는 이전 데이터 블록의 기지 데이터를 샘플 단위로 복소 콘쥬게이트 곱하여 가산기(1805)로 출력한다. 즉, 상기 곱셈기(840)의 출력은 한 기지 데이터 블록 내 주파수 영역의 상관값들이다.That is, when a known data area is known and a received data symbol string is input, the FFT unit 1801 converts a complex value of consecutive N known data strings among the input data symbol strings into a complex value of a frequency domain, thereby obtaining a first value. Output to delay unit 1802 and multiplier 1804. The first delayer 1802 delays the complex value in the frequency domain of the known data by one data block and outputs the result to the conjugator 1803, and the conjugator 1803 conjugates the input complex value to the multiplier 1804. ) The multiplier 1804 multiplies the known data of the current data block output from the FFT unit 1801 with the known data of the previous data block output from the conjugator 1803 in sample units and outputs the complex data to the adder 1805. . That is, the outputs of the multiplier 840 are correlation values in the frequency domain within one known data block.

이때 복소수의 VSB 데이터는 주파수 영역에서 절반 영역에만 데이터가 존재하므로, 상기 가산기(1805)는 상기 기지 데이터 블록 내 의미있는 데이터 영역을 다시 반으로 나누고, 각 영역에서 해당 영역의 상관값들을 누산한 후 위상 추출기(1806)로 출력한다. 상기 위상 추출기(1806)는 의미있는 두 데이터 영역 내 누산 값으로부터 위상 정보만을 각각 추출하여 제2 지연기(1807)와 감산기(1808)로 출력한다. 상기 제2 지연기(1807)에서 1/4 블록 지연된 위상 정보는 감산기(1808)로 입력된다.In this case, since the complex VSB data exists only in the half region in the frequency domain, the adder 1805 divides the meaningful data region in the known data block in half again and accumulates correlation values of the corresponding region in each region. Output to phase extractor 1806. The phase extractor 1806 extracts only phase information from the accumulated values in the two meaningful data regions and outputs the phase information to the second delayer 1807 and the subtractor 1808, respectively. Phase information delayed by a quarter block in the second delayer 1807 is input to the subtractor 1808.

상기 감산기(1808)는 제2 지연기(1807)에서 1/4 데이터 블록 지연된 위상 정보와 상기 위상 추출기(860)의 위상 정보와의 차를 구하고, 이 값을 타이밍 주파수 에러 값으로 출력한다.The subtractor 1808 obtains the difference between the phase information delayed by the 1/4 data block in the second delayer 1807 and the phase information of the phase extractor 860, and outputs this value as a timing frequency error value.

본 발명의 제1 실시예에서와 같이 시간 영역에서 기지 데이터와 수신 신호간의 상관값을 구하고 그것의 피크에서 타이밍 에러를 구하는 방법은 수신 신호가 시간 지연에 따른 다중 경로 채널을 겪는 경우, 상기 상관값의 모양이 채널에 영향을 많이 받게 되는 단점이 있으나, 제2 실시예에서와 같이 이전 수신한 기지 데이터와 이후 수신한 기지 데이터의 상관값을 이용하여 타이밍 에러를 구하는 경우는 채널의 영향을 줄일 수 있다.As in the first embodiment of the present invention, a method for obtaining a correlation value between a known data and a received signal in the time domain and a timing error at its peak is performed when the received signal experiences a multipath channel with a time delay. Although the shape of V is influenced by the channel a lot, but as in the second embodiment, when the timing error is obtained by using the correlation value between the previously received known data and the subsequently received known data, the influence of the channel can be reduced. have.

또한, 상기 설명한 타이밍 에러 검출 방법은 송신기에서 삽입한 기지 데이터 열 전부를 사용하여 타이밍 에러 검출을 수행할 수도 있고, 시간 지연에 따른 다중 경로 채널의 영향을 없애기 위해 채널에 따른 랜덤 데이터의 영향이 적은 기지 데이터 열의 일부만을 취하여 타이밍 에러 검출을 수행할 수도 있다.In addition, the timing error detection method described above may perform timing error detection using all of the known data strings inserted by the transmitter, and in order to eliminate the influence of the multipath channel due to time delay, the influence of the random data according to the channel is less. Only part of the known data stream may be taken to perform timing error detection.

한편 상기 DC 제거기(1070)는 정합 필터링된 신호로부터 송신측에서 삽입된 파일럿 톤(즉, DC)을 제거한 후 위상 보상부(1110)로 출력한다. Meanwhile, the DC remover 1070 removes the pilot tone (that is, DC) inserted at the transmitting side from the matched filtered signal and outputs it to the phase compensator 1110.

도 45는 본 발명에 따른 DC 제거기의 일 실시예를 보인 상세 블록도로서, 복소 입력 신호의 실수 성분(In-phase, I)과 허수 성분(Quadrature, Q)에 대해 동일 한 신호 처리 과정을 거쳐 각 성분에서의 DC 값을 추정한 후 제거한다. 45 is a detailed block diagram illustrating an embodiment of a DC remover according to the present invention. The same signal processing is performed on the real component (In-phase, I) and the imaginary component (Q) of the complex input signal. DC values in each component are estimated and then removed.

이를 위해 도 45는 크게 제1,제2 DC 추정 및 제거기(1900,1950)로 구성된다. For this purpose, FIG. 45 is composed of first and second DC estimators and removers 1900 and 1950.

상기 제1 DC 추정 및 제거기(1900)는 R 샘플 버퍼(1901), DC 추정기(1902), M 샘플 유지기(1903), C 샘플 지연기(1904), 및 감산기(1905)를 포함하여, 실수 성분의 DC를 추정하여 제거한다. The first DC estimator and remover 1900 includes an R sample buffer 1901, a DC estimator 1902, an M sample maintainer 1901, a C sample delayer 1904, and a subtractor 1905. The DC of the component is estimated and removed.

상기 제2 DC 추정 및 제거기(1950)는 R 샘플 버퍼(1951), DC 추정기(1952), M 샘플 유지기(1953), C 샘플 지연기(1954), 및 감산기(1955)를 포함하여, 허수 성분의 DC를 추정하여 제거한다. The second DC estimator and remover 1950 includes an R sample buffer 1951, a DC estimator 1952, an M sample maintainer 1953, a C sample delayer 1954, and a subtractor 1955. The DC of the component is estimated and removed.

본 발명에서는 제1,제2 DC 추정 및 제거기(1900,1950)의 입력 신호만 다를 뿐 두 구조가 동일하므로 제1 DC 추정 및 제거기(1900)에 대해서 상세히 설명하고, 제2 DC 추정 및 제거기(1950)의 상세 설명은 생략한다. In the present invention, since only two input structures of the first and second DC estimator and cancellers 1900 and 1950 are different, the first DC estimator and canceller 1900 will be described in detail. Detailed description of 1950 is omitted.

즉, 정합 필터(1060)에서 정합 필터링된 실수 성분의 신호는 DC 제거기(1070) 내 제1 DC 추정 및 제거기(1900)의 R 샘플 버퍼(1901)로 입력되어 저장된다. 상기 R 샘플 버퍼(1901)는 R 샘플 길이를 갖는 버퍼이며, 상기 R 샘플 버퍼(1901)의 출력은 DC 추정기(1902)와 C 샘플 지연기(1904)로 입력된다.That is, the signal of the real component matched and filtered by the matched filter 1060 is input to and stored in the R sample buffer 1901 of the first DC estimator and the remover 1900 in the DC remover 1070. The R sample buffer 1901 is a buffer having an R sample length, and an output of the R sample buffer 1901 is input to the DC estimator 1902 and the C sample delayer 1904.

상기 DC 추정기(1902)는 상기 버퍼(1901)에서 출력되는 R 샘플 길이의 데이터를 이용하여 하기의 수학식 7과 같이 DC 값을 추정한다. The DC estimator 1902 estimates a DC value using Equation 7 below using data of the R sample length output from the buffer 1901.

Figure 112008088968393-pat00008
Figure 112008088968393-pat00008

상기 수학식 7에서 x[n]은 버퍼(1901)에 저장된 입력 샘플 데이터를 나타내고, y[n]은 DC 추정값을 나타낸다.In Equation 7, x [n] represents input sample data stored in the buffer 1901, and y [n] represents a DC estimated value.

즉, 상기 DC 추정기(1902)는 버퍼(1901)에 저장된 R개 샘플 데이터를 누적한 후 R로 나눈 값으로 DC 값을 추정하는데 이때, 버퍼(1901)에 저장된 입력 샘플 데이터를 M 샘플만큼 이동(shift)시켜 M 샘플마다 한 번씩 DC 추정값을 내보낸다. That is, the DC estimator 1902 accumulates the R sample data stored in the buffer 1901 and estimates the DC value by dividing by R. At this time, the input sample data stored in the buffer 1901 is moved by M samples ( shift) to output a DC estimate once every M samples.

도 46은 DC 추정에 사용되는 입력 샘플 데이터의 이동을 나타낸다. 예를 들어, M=1일 경우 DC 추정기(1902)는 버퍼(1901)에 매 샘플이 이동할 때마다 DC 값을 추정하여 매 샘플마다 그 결과를 내보낸다. 만일 M=R일 경우 DC 추정기(1902)는 버퍼(1901)에 R 샘플이 이동할 때마다 DC 값을 추정하여 R 샘플마다 출력을 내보내므로, 이 경우 DC 추정기(1902)는 R 샘플의 블록 단위로 동작하는 DC 추정기가 된다. 여기서 상기 M 값은 1과 R 사이의 어떤 값도 가능하다. 46 shows the movement of input sample data used for DC estimation. For example, when M = 1, the DC estimator 1902 estimates the DC value every time the sample moves to the buffer 1901 and outputs the result every sample. If M = R, the DC estimator 1902 estimates the DC value each time the R sample moves to the buffer 1901 and outputs the output for each R sample. In this case, the DC estimator 1902 is in units of blocks of the R samples. Become a working DC estimator. Wherein the M value can be any value between 1 and R.

이와 같이 상기 DC 추정기(1902)의 출력은 M 샘플마다 나오므로, M 샘플 유지기(1903)는 DC 추정기(1902)에서 추정된 DC 값을 M 샘플 동안 유지시켜 감산기(1905)로 출력한다. 그리고 C 샘플 지연기(1904)는 버퍼(1901)에 저장된 입력 샘플 데이터를 C 샘플만큼 지연시킨 후 감산기(1905)로 출력한다. 상기 감산기(1905)는 C 샘플 지연기(1904)의 출력에서 M 샘플 유지기(1903)의 출력을 빼, 실수 성분 의 DC가 제거된 신호를 출력한다.As described above, since the output of the DC estimator 1902 is generated every M samples, the M sample maintainer 1903 maintains the DC value estimated by the DC estimator 1902 for M samples and outputs the result to the subtractor 1905. The C sample delayer 1904 delays the input sample data stored in the buffer 1901 by C samples and outputs the result to the subtractor 1905. The subtractor 1905 subtracts the output of the M sample retainer 1903 from the output of the C sample delayer 1904 and outputs a signal from which the DC of the real component is removed.

여기서, 상기 C 샘플 지연기(1904)는 상기 DC 추정기(1902)의 출력을 어느 부분의 입력 샘플 데이터에 보상해 줄지를 결정한다. 구체적으로, DC 추정 및 제거기(1900)는 DC를 추정하는 DC 추정기(1902)와 추정된 DC 값을 입력 샘플 데이터에 보상해주는 감산기(1905)로 나누어 볼 수 있다. 이때 상기 C 샘플 지연기(1904)는 추정된 DC 값을 입력 샘플 데이터의 어느 부분에 보상할 지를 결정한다. 예를 들어, C = 0이면 R 샘플을 이용해 DC 추정한 값을 R 샘플의 처음 부분에 보상해 주게 되고, C = R이면 R 샘플을 이용해 DC 추정한 값을 R 샘플의 끝 부분에 보상하게 된다. Here, the C sample delayer 1904 determines which portion of the input sample data to compensate for the output of the DC estimator 1902. In detail, the DC estimator 1900 may be divided into a DC estimator 1902 for estimating DC and a subtractor 1905 for compensating the estimated DC value with input sample data. In this case, the C sample delayer 1904 determines which part of the input sample data is compensated for. For example, if C = 0, the DC estimate using the R sample is compensated at the beginning of the R sample. If C = R, the DC estimate using the R sample is compensated at the end of the R sample. .

상기와 같은 방법으로 DC가 제거된 데이터는 위상 보상부(1110)의 버퍼(1111)와 주파수 옵셋 추정기(1112)로 입력된다. The DC-free data is input to the buffer 1111 and the frequency offset estimator 1112 of the phase compensator 1110 as described above.

한편, 도 47은 본 발명에 따른 DC 제거기의 다른 실시예를 보인 상세 블록도로서, 복소 입력 신호의 실수 성분(In-phase, I)과 허수 성분(Quadrature, Q)에 대해 동일한 신호 처리 과정을 거쳐 각 성분에서의 DC 값을 추정한 후 제거한다. FIG. 47 is a detailed block diagram illustrating another embodiment of the DC eliminator according to the present invention, and performs the same signal processing on the real component (In-phase, I) and the imaginary component (Q) of the complex input signal. After estimating the DC value in each component, remove it.

이를 위해 도 47도 크게 제1,제2 DC 추정 및 제거기(2100,2150)로 구성된다. 도 47은 IIR(Infinite Impulse Reponse) 구조이다. For this purpose, FIG. 47 is largely comprised of first and second DC estimators and removers 2100 and 2150. 47 is an Infinite Impulse Reponse (IIR) structure.

상기 제1 DC 추정 및 제거기(2100)는 곱셈기(2101), 가산기(2102), 1 샘플 지연기(2103), 곱셈기(2104), C 샘플 지연기(2105), 및 감산기(2106)를 포함하여, 실수 성분의 DC를 추정한 후 제거한다. The first DC estimator and remover 2100 includes a multiplier 2101, an adder 2102, a one sample delayer 2103, a multiplier 2104, a C sample delayer 2105, and a subtractor 2106. After estimating the DC of the real component, remove it.

상기 제2 DC 추정 및 제거기(2150)는 곱셈기(2151), 가산기(2152), 1 샘플 지연기(2153), 곱셈기(2154), C 샘플 지연기(2155), 및 감산기(2156)를 포함하여, 허수 성분의 DC를 추정한 후 제거한다. The second DC estimator and remover 2150 includes a multiplier 2151, an adder 2152, a one sample delayer 2153, a multiplier 2154, a C sample delayer 2155, and a subtractor 2156. After estimating the DC of the imaginary component, remove it.

본 발명에서는 제1,제2 DC 추정 및 제거기(2100,2150)의 입력 신호만 다를 뿐 두 구조가 동일하므로 제1 DC 추정 및 제거기(2100)에 대해서 상세히 설명하고, 제2 DC 추정 및 제거기(2150)의 상세 설명은 생략한다. In the present invention, since only two input signals of the first and second DC estimators and removers 2100 and 2150 are different, the first DC estimator and the remover 2100 will be described in detail, and the second DC estimator and the remover 2 will be described in detail. Detailed description of 2150 will be omitted.

즉, 정합 필터(1060)에서 정합 필터링된 실수 성분의 신호는 DC 제거기(1070) 내 제1 DC 추정 및 제거기(2100)의 곱셈기(2101)와 C 샘플 지연기(2105)로 입력된다. 상기 곱셈기(2101)는 입력되는 실수 성분의 신호에 기 설정된 상수

Figure 112008088968393-pat00009
를 곱하여 가산기(2102)로 출력한다. 상기 가산기(2102)는 상기 곱셈기(2101)의 출력과 피드백되는 곱셈기(2104)의 출력을 더하여 1 샘플 지연기(2103)와 감산기(2106)로 출력한다. 즉, 상기 가산기(2102)의 출력이 추정된 실수 성분의 DC 값이다.That is, the signal of the real component matched and filtered by the matched filter 1060 is input to the multiplier 2101 and the C sample delayer 2105 of the first DC estimator and remover 2100 in the DC remover 1070. The multiplier 2101 is a constant preset to a signal of a real component to be input.
Figure 112008088968393-pat00009
Multiply by and output to the adder 2102. The adder 2102 adds the output of the multiplier 2101 and the output of the multiplier 2104 to be fed back and outputs it to the one sample delayer 2103 and the subtractor 2106. That is, the output of the adder 2102 is the DC value of the estimated real component.

상기 1 샘플 지연기(2103)는 추정된 DC 값을 1 샘플 지연시켜 곱셈기(2104)로 출력하고, 상기 곱셈기(2104)는 1 샘플 지연된 DC 값에 기 설정된 상수 (1-

Figure 112008088968393-pat00010
)를 곱하여 가산기(2102)로 피드백한다.The one sample delayer 2103 delays the estimated DC value by one sample and outputs the result to the multiplier 2104. The multiplier 2104 has a constant (1-1) set to the one sample delayed DC value.
Figure 112008088968393-pat00010
Multiply by) to feed back to adder 2102.

그리고 C 샘플 지연기(2105)는 입력되는 실수 성분의 샘플 데이터를 C 샘플만큼 지연시킨 후 감산기(2106)로 출력한다. 상기 감산기(2106)는 C 샘플 지연기(2105)의 출력에서 가산기(2102)의 출력을 빼, 실수 성분의 DC가 제거된 신호를 출력한다. The C sample delayer 2105 delays the input sample data of the real component by C samples and outputs the result to the subtractor 2106. The subtractor 2106 subtracts the output of the adder 2102 from the output of the C sample delayer 2105 and outputs a signal from which the DC of the real component is removed.

상기와 같은 방법으로 DC가 제거된 데이터는 위상 보상부(1110)의 버퍼(1111)와 주파수 옵셋 추정기(1112)로 입력된다. The DC-free data is input to the buffer 1111 and the frequency offset estimator 1112 of the phase compensator 1110 as described above.

상기 주파수 옵셋 추정기(1112)는 상기 기지 데이터 검출 및 초기 주파수 옵셋 추정기(9041)에서 출력되는 기지 데이터 위치 정보를 이용하여 기지 데이터 열이 입력될 때 상기 DC 제거기(1070)에서 DC가 제거되어 입력되는 기지 데이터 열로부터 주파수 옵셋을 추정하여 유지기(1113)로 출력한다. 마찬가지로 상기 주파수 옵셋 추정값은 기지 데이터 열의 반복 주기마다 한 번씩 구해진다. The frequency offset estimator 1112 is configured to remove DC from the DC remover 1070 when a known data string is input using the known data position information output from the known data detection and initial frequency offset estimator 9041. The frequency offset is estimated from the known data stream and output to the retainer 1113. Similarly, the frequency offset estimate is obtained once for each repetition period of the known data stream.

따라서 상기 유지기(1113)는 상기 주파수 옵셋 추정값을 기지 데이터 열의 주기 동안 유지시킨 후 NCO(1114)로 출력한다. 상기 NCO(1114)는 유지기(1113)에서 유지된 주파수 옵셋에 해당하는 복소 신호를 생성하여 곱셈기(1115)로 출력한다. Thus, the maintainer 1113 maintains the frequency offset estimate for a period of known data sequences and then outputs it to the NCO 1114. The NCO 1114 generates a complex signal corresponding to the frequency offset maintained by the retainer 1113 and outputs the complex signal to the multiplier 1115.

상기 곱셈기(1115)는 상기 버퍼(1111)에서 일정 시간 지연된 데이터에 상기 NCO(1114)에서 출력되는 복소 신호를 곱하여 상기 지연 데이터에 포함된 위상 변화를 보상한다. 상기 곱셈기(1115)에서 위상 변화가 보상된 데이터는 데시메이터(1500)를 거쳐 등화기(903)로 제공된다. 이때 상기 위상 보상부(1110)의 주파수 옵셋 추정기(1112)에서 추정된 주파수 옵셋은 루프 필터를 거치지 않음으로 기지 데이터 열 사이의 위상 차이 즉, 위상 옵셋을 나타낸다. The multiplier 1115 multiplies the data delayed in the buffer 1111 by a complex signal output from the NCO 1114 to compensate for the phase change included in the delayed data. The data whose phase change is compensated for in the multiplier 1115 is provided to the equalizer 903 via the decimator 1500. In this case, the frequency offset estimated by the frequency offset estimator 1112 of the phase compensator 1110 represents a phase difference, that is, a phase offset between known data streams without passing through a loop filter.

수신 시스템 내 채널 등화기Channel equalizer in the receiving system

상기 복조기(1002)에서 기지 데이터를 이용하여 복조된 데이터는 등화기(1003)로 입력된다. 또한 상기 복조된 데이터는 기지 데이터 검출기(1004)로 입 력될 수도 있다.Data demodulated using the known data in the demodulator 1002 is input to the equalizer 1003. The demodulated data may also be input to a known data detector 1004.

상기 채널 등화기(1003)는 다양한 방법으로 채널 등화를 수행할 수 있는데, 본 발명에서는 채널 임펄스 응답(Channel Impulse Response ; CIR)을 추정하여 채널 등화를 수행하는 것을 일 실시예로 설명한다. The channel equalizer 1003 may perform channel equalization in various ways. In the present invention, channel equalization is performed by estimating a channel impulse response (CIR).

특히 본 발명에서는 송신 시스템에서 계층화되어 전송된 데이터 그룹 내 각 영역에 따라 채널 임펄스 응답(CIR)의 추정 및 적용을 다르게 하는 것을 일 실시예로 설명한다. 또한 본 발명은 송/수신측의 약속에 의해 위치와 내용을 알고 있는 기지 데이터와 필드 동기를 이용하여 CIR을 추정함으로써, 채널 등화를 더욱 안정적으로 수행하도록 하는데 있다.In particular, the present invention describes that the estimation and application of the channel impulse response (CIR) are different according to each region in the data group layered and transmitted in the transmission system. In addition, the present invention provides a more stable channel equalization by estimating the CIR using known data and field synchronization, which are known in terms of location and content, by appointment of the transmitting and receiving party.

이때 등화를 위해 입력된 하나의 데이터 그룹은 도 7a와 같이, A 내지 C 영역으로 구분되고, 다시 A 영역은 A1~A5 영역으로, B 영역은 B1,B2 영역으로, C1 영역은 C1~C3 영역으로 구분되어 있는 것을 일 실시예로 한다. At this time, one data group inputted for equalization is divided into areas A to C, as shown in FIG. 7A, again, A area is A1 to A5 area, B area is B1 and B2 area, and C1 area is C1 to C3 area. In one embodiment, those separated by.

도 7a와 같은 데이터 구조에서 필드 동기로부터 추정되는 CIR을 CIR_FS 라고 하고, A 영역에 존재하는 다섯 개의 기지 데이터 열(sequence)로부터 추정되는 CIR을 순서대로 CIR_N0, CIR_N1, CIR_N2, CIR_N3, CIR_N4 라고 하자. In the data structure as shown in FIG. 7A, the CIR estimated from the field synchronization is called CIR_FS, and the CIRs estimated from the five known data sequences in the A region are called CIR_N0, CIR_N1, CIR_N2, CIR_N3, and CIR_N4 in order.

본 발명은 상기 필드 동기와 기지 데이터 열로부터 추정된 CIR을 이용하여 데이터 그룹 내 데이터에 대해 채널 등화를 수행하는데, 이때 데이터 그룹의 각 영역의 특징에 따라 상기 추정된 CIR들 중 하나를 그대로 사용하기도 하고, 적어도 복수개 이상의 CIR을 보간(interpolation)하거나, 외삽(extrapolation)하여 생성된 CIR을 사용하기도 한다. According to the present invention, channel equalization is performed on data in a data group using the field synchronization and the CIR estimated from the known data stream. In this case, one of the estimated CIRs may be used as it is according to the characteristics of each region of the data group. In addition, CIR generated by interpolating or extrapolating at least a plurality of CIRs may be used.

여기서 보간(interpolation)은 어떤 함수 F(x)에 대해 시점 Q에서의 함수값 F(Q)와 시점 S에서의 함수값 F(S)를 알고 있을 때 Q와 S 사이의 어떤 시점에서의 함수값을 추정하는 것을 의미하며, 상기 보간의 가장 간단한 예로 선형 보간(Linear Interpolation)이 있다. 상기 선형 보간 기법은 수많은 보간 기법 중 가장 간단한 예이며 상기한 방법 외에 여러 가지 다양한 보간 기법을 사용할 수 있으므로 본 발명은 상기된 예로 제한되지 않을 것이다. Here, interpolation is a function value at some point between Q and S when the function value F (Q) at point Q and the function value F (S) at point S are known for a function F (x). It is meant to estimate, and the simplest example of the interpolation is linear interpolation. The linear interpolation technique is the simplest of many interpolation techniques, and various other interpolation techniques may be used in addition to the above-described methods, and thus the present invention will not be limited to the examples described above.

또한 외삽(extrapolation)은 어떤 함수 F(x)에 대해 시점 Q에서의 함수값 F(Q)와 시점 S에서의 함수값 F(S)를 알고 있을 때 Q와 S 사이의 구간이 아닌 바깥쪽의 시점에서의 함수값을 추정하는 것을 의미한다. 상기 외삽의 가장 간단한 예로 선형 외삽(Linear Extrapolation)이 있다. 상기 선형 외삽 기법은 수많은 외삽 기법 중 가장 간단한 예이며 상기한 방법 외에 여러 가지 다양한 외삽 기법을 사용할 수 있으므로 본 발명은 상기된 예로 제한되지 않을 것이다. Also, extrapolation can be used to determine the function value F (Q) at time Q and the function value F (S) at time S for a function F (x). It means to estimate the function value at the time point. The simplest example of such extrapolation is linear extrapolation. The linear extrapolation technique is the simplest of many extrapolation techniques, and various other extrapolation techniques may be used in addition to the above-described methods, and thus the present invention will not be limited to the examples described above.

도 48은 본 발명에 따른 채널 등화 방법의 일 실시예를 보인 흐름도로서, 수신되는 데이터 그룹을 일시 저장한 후(단계 2301), 상기 데이터 그룹 내 필드 동기 및 기지 데이터를 이용하여 CIR을 추정한다(단계 2302). 이때 상기 단계 2301은 데이터 그룹 내 모든 데이터를 저장할 수도 있고, 일부 데이터만을 저장할 수도 있다. 이는 B1,C1,A1 영역의 데이터는 해당 데이터 그룹에서 제1 기지 데이터 영역의 기지 데이터보다 먼저 수신되는데, 상기 B1,C1,A1 영역의 데이터에 대한 등화를 상기 제1 기지 데이터 영역에서 추정한 CIR을 이용하여 수행하기 위해서이다. 48 is a flowchart illustrating an embodiment of a channel equalization method according to the present invention. After temporarily storing a received data group (step 2301), a CIR is estimated using field synchronization and known data in the data group (step 2301). Step 2302). In this case, the step 2301 may store all data in the data group or only some data. This means that the data of the B1, C1, A1 area is received before the known data of the first known data area in the corresponding data group. This is done by using

예를 들어, 상기 C1 영역의 경우, 현재 데이터 그룹의 필드 동기 구간에서 추정한 CIR_FS와 제1 기지 데이터 영역에서 추정한 CIR_N0을 외삽하고, 외삽된 CIR을 사용하여 채널 등화를 수행할 수 있다(단계 2303). 또는 이전 데이터 그룹에서 추정한 CIR_N4, 채널 등화를 수행할 현재 데이터 그룹에서 추정한 CIR_FS 중 하나를 사용하여 채널 등화를 수행할 수 있다. 만일 상기 외삽된 CIR을 이용하여 C1 영역의 데이터를 등화한다면, 상기 C1 영역의 데이터는 현재 데이터 그룹에서 제1 기지 데이터 영역보다 먼저 입력되는 데이터이므로 상기 CIR_N0이 추정될 때까지 저장되어 있어야 한다. 이때 상기 C1 영역의 데이터 저장은 수신 시스템 내 외부 메모리(예, 램)의 일부 영역을 할당하여 저장할 수도 있고, 별도의 메모리를 구비하여 저장할 수도 있다. For example, in the case of the C1 region, CIR_FS estimated in the field sync interval of the current data group and CIR_N0 estimated in the first known data region may be extrapolated, and channel equalization may be performed using the extrapolated CIR (step S). 2303). Alternatively, channel equalization may be performed using one of CIR_N4 estimated in the previous data group and CIR_FS estimated in the current data group to perform channel equalization. If the extrapolated CIR is used to equalize the data of the C1 region, the data of the C1 region is data that is input before the first known data region in the current data group and should be stored until the CIR_N0 is estimated. In this case, the data storage of the C1 region may be allocated by storing a partial region of an external memory (eg, RAM) in the receiving system, or may be provided with a separate memory.

상기 B1 영역의 경우, C1 영역과 같이 여러 가지 방법이 적용 가능하다. 일 실시예로, 현재 데이터 그룹에서 추정한 CIR_FS와 CIR_N0를 선형 외삽(extrapolation)하여 생성한 CIR을 사용하여 채널 등화를 수행할 수 있다(단계 2303). 또는 현재 데이터 그룹에서 추정한 CIR_FS를 사용하여 채널 등화를 수행할 수도 있다. 마찬가지로, 상기 B1 영역의 데이터도 현재 데이터 그룹에서 제1 기지 데이터 영역보다 먼저 입력되는 데이터이므로 상기 CIR_N0(또는 CIR_FS)이 추정될 때까지 저장되어 있어야 한다. 상기 B1 영역의 데이터 저장도 수신 시스템 내 외부 메모리(예, 램)의 일부 영역을 할당하여 저장할 수도 있고, 별도의 메모리를 구비하여 저장할 수도 있다. In the case of the B1 region, various methods are applicable as in the C1 region. According to an embodiment, channel equalization may be performed using CIR generated by linear extrapolation of CIR_FS and CIR_N0 estimated in the current data group (step 2303). Alternatively, channel equalization may be performed using the CIR_FS estimated from the current data group. Similarly, since the data of the B1 region is the data inputted earlier than the first known data region in the current data group, it should be stored until the CIR_N0 (or CIR_FS) is estimated. The data storage of the B1 region may be allocated and stored as a partial region of an external memory (eg, RAM) in the receiving system, or may be provided with a separate memory.

상기 A1 영역의 경우, 현재 데이터 그룹에서 추정한 CIR_FS와 CIR_N0를 보간하여 생성한 CIR를 사용하여 채널 등화를 수행할 수 있다(단계 2304). 또는 현재 데이터 그룹에서 추정한 CIR_FS와 CIR_N0 중 어느 하나를 이용하여 채널 등화를 수행할 수도 있다. 만일 상기 보간된 CIR을 이용하여 A1 영역의 데이터를 등화한다면, 상기 A1 영역의 데이터도 현재 데이터 그룹에서 제1 기지 데이터 영역보다 먼저 입력되는 데이터이므로 상기 CIR_N0이 추정될 때까지 저장되어 있어야 한다. 이때 상기 A1 영역의 데이터 저장도 수신 시스템 내 외부 메모리(예, 램)의 일부 영역을 할당하여 저장할 수도 있고, 별도의 메모리를 구비하여 저장할 수도 있다. In the case of the A1 region, channel equalization may be performed using the CIR generated by interpolating CIR_FS and CIR_N0 estimated in the current data group (step 2304). Alternatively, channel equalization may be performed using any one of CIR_FS and CIR_N0 estimated by the current data group. If the data of the area A1 is equalized using the interpolated CIR, the data of the area A1 is also inputted before the first known data area in the current data group, and thus should be stored until the CIR_N0 is estimated. In this case, the data storage of the A1 region may be allocated and stored as a partial region of an external memory (eg, RAM) in the receiving system, or may be provided with a separate memory.

상기 A2~A5 영역의 경우, 현재 데이터 그룹에서 추정한 CIR_N(i-1)과 CIR_N(i)를 보간하여 생성한 CIR을 사용하여 채널 등화를 수행할 수 있다(단계 2305). 또는 현재 데이터 그룹에서 추정한 CIR_N(i-1)과 CIR_N(i) 중 어느 하나를 이용하여 채널 등화를 수행할 수도 있다. In the areas A2 to A5, channel equalization may be performed using CIR generated by interpolating CIR_N (i-1) and CIR_N (i) estimated in the current data group (step 2305). Alternatively, channel equalization may be performed using any one of CIR_N (i-1) and CIR_N (i) estimated in the current data group.

상기 B2,C2,C3 영역의 경우, 현재 데이터 그룹에서 추정한 CIR_N3와 CIR_N4를 외삽하여 생성한 CIR을 사용하여 채널 등화를 수행할 수 있다(단계 2306). 또는 현재 데이터 그룹에서 추정한 CIR_N4를 사용하여 채널 등화를 수행할 수도 있다.In the B2, C2, and C3 regions, channel equalization may be performed using CIR generated by extrapolating CIR_N3 and CIR_N4 estimated in the current data group (step 2306). Alternatively, channel equalization may be performed using CIR_N4 estimated from the current data group.

이렇게 함으로써, 상기 데이터 그룹에 삽입된 데이터에 대해 채널 등화시에 최적의 성능을 얻을 수가 있다. In this way, optimum performance can be obtained at the time of channel equalization for the data inserted in the data group.

도 49는 본 발명에 따른 채널 등화기의 일 실시예로서, 잔류 반송파 위상 에러를 추정하여 채널 등화된 신호로부터 보상함으로써, 수신 성능을 더욱 향상시킬 수 있다.49 illustrates, as an embodiment of the channel equalizer according to the present invention, by estimating the residual carrier phase error and compensating for the channel equalized signal, thereby further improving reception performance.

도 49는 본 발명에 따른 채널 등화기의 일 실시예를 보인 구성 블록도로서, 제1 주파수 영역 변환부(3100), 채널 추정부(3110), 제2 주파수 영역 변환 부(3121), 계수 계산부(3122), 왜곡 보상부(3130), 시간 영역 변환부(3140), 잔류 반송파 위상 에러 제거부(3150), 잡음 제거부(Noise Canceller ; NC)(3160), 및 결정(Decision)부(3170)를 포함하여 구성된다.FIG. 49 is a block diagram illustrating an embodiment of a channel equalizer according to the present invention. The first frequency domain transform unit 3100, the channel estimator 3110, the second frequency domain transform unit 3121, and coefficient calculation are shown in FIG. 3122, Distortion Compensator 3130, Time Domain Converter 3140, Residual Carrier Phase Error Canceler 3150, Noise Canceller (NC) 3160, and Decision Unit ( 3170).

상기 제1 주파수 영역 변환부(3100)는 입력 데이터를 중첩하는 중첩(overlap)부(3101), 및 중첩부(3101)의 출력 데이터를 주파수 영역으로 변환하는 FFT(Fast Fourier Transform)부(3102)를 포함하여 구성된다.The first frequency domain transform unit 3100 includes an overlap unit 3101 that overlaps input data, and an FFT (Fast Fourier Transform) unit 3102 that converts output data of the overlap unit 3101 into a frequency domain. It is configured to include.

상기 채널 추정부(3110)는 입력 데이터로부터 채널 임펄스 응답(Channel Impulse Response ; CIR)을 추정하는 CIR 추정기(3111), 상기 CIR 추정기(3111)에서 추정된 CIR의 위상을 보상하는 위상 보상기(3112), 제1 클리너(Pre-CIR Cleaner)(3113), CIR 연산기(3114), 제2 클리너(Post-CIR Cleaner)(3115), 및 제로 패딩(zero-padding)부(3116)를 포함할 수 있다.The channel estimator 3110 may include a CIR estimator 3111 for estimating a channel impulse response (CIR) from input data, and a phase compensator 3112 for compensating the phase of the CIR estimated by the CIR estimator 3111. , A first cleaner (Pre-CIR Cleaner) 3113, a CIR calculator 3114, a second cleaner (Post-CIR Cleaner) 3115, and a zero-padding unit 3116. .

상기 제2 주파수 영역 변환부(3121)는 상기 채널 추정부(3110)에서 출력되는 CIR을 주파수 영역으로 변환하는 FFT부를 포함하여 구성된다. The second frequency domain converter 3121 includes an FFT unit for converting the CIR output from the channel estimator 3110 into a frequency domain.

상기 시간 영역 변환부(3140)는 상기 왜곡 보상부(3130)에서 왜곡이 보상된 데이터를 시간 영역으로 변환하는 IFFT부(3141), 및 상기 IFFT부(3141)의 출력 데이터로부터 유효 데이터만을 추출하는 세이브(save)부(3142)를 포함하여 구성된다. The time domain converter 3140 extracts only valid data from an IFFT unit 3141 for converting data whose distortion is compensated by the distortion compensator 3130 into a time domain, and output data of the IFFT unit 3141. And a save unit 3314.

상기 잔류 반송파 위상 에러 제거부(3150)는 상기 채널 등화된 데이터에 포함된 잔류 반송파 위상 에러를 제거하는 에러 보상부(3151), 및 상기 채널 등화된 데이터와 결정기(3170)의 결정 데이터를 이용하여 잔류 반송파 위상 에러를 추정한 후 상기 에러 보상부(3151)로 출력하는 잔류 반송파 위상 에러 추정부(3152)를 포 함하여 구성된다. The residual carrier phase error remover 3150 uses an error compensator 3151 to remove the residual carrier phase error included in the channel equalized data, and the channel equalized data and decision data of the determiner 3170. And a residual carrier phase error estimator 3152 that estimates the residual carrier phase error and outputs the residual carrier phase error to the error compensator 3151.

상기 왜곡 보상부(3130)와 에러 보상부(3151)는 복소수 곱셈 역할을 수행하는 소자는 어느 것이나 가능하다. The distortion compensator 3130 and the error compensator 3151 may be any element that performs a complex multiplication role.

이때 수신되는 데이터가 VSB 방식으로 변조된 데이터이므로, 8레벨의 이산 데이터는 실수 성분에만 존재한다. 그러므로 도 49에서 잡음 제거부(3160)와 결정기(3170)에서 사용되는 모든 신호는 실수 신호이다. 그러나 잔류 반송파 위상 에러 및 위상 잡음을 추정하고 보상하기 위해서는 실수 성분뿐만 아니라 허수 성분이 필요하기 때문에 상기 잔류 반송파 위상 에러 제거부(3150)는 허수 성분까지 입력받아 사용한다.At this time, since the received data is data modulated by the VSB method, 8-level discrete data exists only in the real component. Therefore, all signals used in the noise canceling unit 3160 and the determiner 3170 in FIG. 49 are real signals. However, in order to estimate and compensate for the residual carrier phase error and phase noise, not only a real component but also an imaginary component is required, and thus the residual carrier phase error remover 3150 receives an imaginary component.

일반적으로 채널 등화를 수행하기 전에 수신 시스템 내 복조기(demodulator)(1002)에서 반송파의 주파수 및 위상 복원을 수행하게 되는데, 충분히 보상되지 않은 잔류 반송파 위상 에러가 채널 등화기에 입력되면 채널 등화의 성능을 저하시키게 된다. 특히 동적 채널 환경에서는 채널의 급격한 변화때문에 상기의 잔류 반송파 위상 에러가 정적 채널에 비해 크며, 이것은 수신 성능 저하의 주요한 원인으로 작용한다. In general, the demodulator 1002 in the receiving system performs the frequency and phase recovery of the carrier before performing channel equalization. If the residual carrier phase error that is not sufficiently compensated is input to the channel equalizer, the performance of the channel equalization is degraded. Let's go. In particular, in the dynamic channel environment, the residual carrier phase error is larger than that of the static channel due to the drastic change of the channel, which is a major cause of reception performance degradation.

또한 수신 시스템 내 로컬 발진기(Local Oscillator)(도시되지 않음)는 이상적으로는 단일 주파수 성분을 가져야 하지만 실제로는 원하는 주파수 외의 주파수 성분이 존재하며 이러한 주파수 성분을 로컬 발진기의 위상 잡음이라 한다. 상기의 위상 잡음 또한 수신 성능 저하의 요인이 된다. 이러한 잔류 반송파 위상 에러 및 위상 잡음은 통상의 채널 등화기에서 보상하기 어렵다. Also, a local oscillator (not shown) in a receiving system should ideally have a single frequency component, but in practice there is a frequency component outside the desired frequency, which is called the phase noise of the local oscillator. The phase noise is also a factor of deterioration of reception performance. Such residual carrier phase error and phase noise are difficult to compensate in a conventional channel equalizer.

따라서 본 발명은 도 49와 같이 잔류 반송파 위상 에러 및 위상 잡음을 제거하기 위한 반송파 복원 루프 즉, 잔류 반송파 위상 에러 제거부(3150)를 채널 등화 기 내에 포함함으로써, 채널 등화 성능을 개선할 수 있다. Accordingly, the present invention can improve the channel equalization performance by including a carrier recovery loop, ie, the residual carrier phase error removal unit 3150, in the channel equalizer to remove the residual carrier phase error and phase noise as shown in FIG. 49.

즉, 도 49에서 복조된 수신 데이터는 제1 주파수 영역 변환부(3100)의 중첩부(3101)에서 기 설정된 중첩 비율로 중첩되어 FFT부(3102)로 출력된다. 상기 FFT부(3102)는 FFT를 통해 시간 영역의 중첩 데이터를 주파수 영역의 중첩 데이터로 변환하여 왜곡 보상부(3130)로 출력된다.That is, the received demodulated data in FIG. 49 is superimposed at a preset overlap ratio by the overlapping unit 3101 of the first frequency domain converter 3100 and output to the FFT unit 3102. The FFT unit 3102 converts the overlapped data of the time domain into overlapped data of the frequency domain through an FFT and outputs the overlapped data to the distortion compensator 3130.

상기 왜곡 보상부(3130)는 상기 제1 주파수 영역 변환부(3100)의 FFT부(3102)에서 출력되는 주파수 영역의 중첩 데이터에 계수 계산부(3122)에서 계산된 등화 계수를 복소곱하여 상기 FFT부(3102)에서 출력되는 중첩 데이터의 채널 왜곡을 보상한 후 시간 영역 변환부(3140)의 IFFT부(3141)로 출력한다. 상기 IFFT부(3141)는 채널의 왜곡이 보상된 중첩 데이터를 IFFT하여 시간 영역으로 변환하여 세이브부(3142)로 출력한다. 상기 세이브부(3142)는 채널 등화된 시간 영역의 중첩된 데이터로부터 유효 데이터만을 추출하여 잔류 반송파 위상 에러 제거부(3150)의 에러 보상부(3151)로 출력한다.The distortion compensator 3130 complexly multiplies the equalization coefficient calculated by the coefficient calculator 3122 with the overlapped data of the frequency domain output from the FFT unit 3102 of the first frequency domain transform unit 3100 to perform the FFT unit. After compensating for the channel distortion of the superimposed data output from 3102, the channel distortion is output to the IFFT unit 3141 of the time domain converter 3140. The IFFT unit 3141 IFFTs the overlapped data whose distortion of the channel is compensated, converts the data into a time domain, and outputs the converted data to the save unit 3314. The save unit 3322 extracts only valid data from the overlapped data of the channel equalized time domain and outputs the valid data to the error compensator 3151 of the residual carrier phase error remover 3150.

상기 에러 보상부(3151)는 상기 시간 영역에서 추출된 유효 데이터에 추정된 잔류 반송파 위상 에러 및 위상 잡음을 보상하는 신호를 곱하여 상기 유효 데이터에 포함된 잔류 반송파 위상 에러 및 위상 잡음을 제거한다. The error compensator 3151 removes the residual carrier phase error and the phase noise included in the valid data by multiplying the valid data extracted in the time domain by a signal for compensating the estimated residual carrier phase error and phase noise.

상기 에러 보상부(3151)에서 잔류 반송파 위상 에러가 보상된 데이터는 잔류 반송파 위상 에러 및 위상 잡음을 추정하기 위해 잔류 반송파 위상 에러 추정 부(3152)로 출력됨과 동시에 잡음을 제거하기 위해 잡음 제거부(3160)로 출력된다. The data of which the residual carrier phase error is compensated by the error compensator 3151 is output to the residual carrier phase error estimating unit 3152 to estimate the residual carrier phase error and phase noise, and at the same time, to remove the noise ( 3160).

상기 잔류 반송파 위상 에러 추정부(3152)는 에러 보상부(3151)의 출력 데이터와 결정기(3170)의 결정 데이터를 이용하여 잔류 반송파 위상 에러 및 위상 잡음을 추정하고, 추정된 잔류 반송파 위상 에러 및 위상 잡음을 보상하는 신호를 상기 에러 보상부(3151)로 출력한다. 본 발명에서는 추정된 잔류 반송파 위상 에러 및 위상 잡음의 역수를 상기 잔류 반송파 위상 에러 및 위상 잡음을 보상하는 신호로서 출력하는 것을 일 실시예로 한다. The residual carrier phase error estimator 3152 estimates the residual carrier phase error and phase noise by using the output data of the error compensator 3151 and the decision data of the determiner 3170, and estimates the estimated residual carrier phase error and phase noise. A signal for compensating for noise is output to the error compensator 3151. According to an embodiment of the present invention, the estimated reciprocal of the estimated residual carrier phase error and phase noise is output as a signal for compensating the residual carrier phase error and phase noise.

도 50은 상기 잔류 반송파 위상 에러 추정부(3152)의 일 실시예를 보인 상세 블록도로서, 위상 에러 검출기(3211), 루프 필터(3212), 수치 제어 발진기(Numerically Controlled Oscillator ; NCO)(3213), 및 콘쥬게이터(3214)를 포함하여 구성된다. 도 50에서 결정 데이터와 위상 에러 검출기(3211)의 출력, 루프 필터(3212)의 출력은 실수 신호이며, 에러 보상부(3151)의 출력, NCO(3213)의 출력 및 콘쥬게이터(3214)의 출력은 복소수 신호이다.50 is a detailed block diagram showing an embodiment of the residual carrier phase error estimator 3152, and includes a phase error detector 3211, a loop filter 3212, and a numerically controlled oscillator (NCO) 3213. And a conjugator 3214. In Fig. 50, the decision data and the output of the phase error detector 3211 and the output of the loop filter 3212 are real signals, the output of the error compensator 3151, the output of the NCO 3213 and the output of the conjugator 3214. Is a complex signal.

상기 위상 에러 검출기(3211)는 에러 보상부(3151)의 출력 데이터와 결정기(3170)의 결정 데이터를 입력받아 잔류 반송파 위상 에러 및 위상 잡음을 추정한 후 루프 필터(3212)로 출력한다.The phase error detector 3211 receives the output data of the error compensator 3151 and the decision data of the determiner 3170, estimates the residual carrier phase error and the phase noise, and outputs the result to the loop filter 3212.

상기 루프 필터(3212)는 잔류 반송파 위상 에러 및 위상 잡음을 필터링하고, 그 결과를 NCO(3213)로 출력한다. 상기 NCO(3213)는 필터링된 잔류 반송파 위상 에러 및 위상 잡음에 해당하는 정현파를 생성하여 콘쥬게이터(3214)로 출력한다.The loop filter 3212 filters out the residual carrier phase error and phase noise, and outputs the result to the NCO 3213. The NCO 3213 generates a sine wave corresponding to the filtered residual carrier phase error and the phase noise and outputs the sine wave to the conjugator 3214.

상기 콘쥬게이터(3214)는 상기 NCO(3213)의 정현파의 콘쥬게이트 값을 구하 여 에러 보상부(3151)로 출력한다. 이때 상기 콘쥬게이터(3214)의 출력 데이터가 잔류 반송파 위상 에러 및 위상 잡음을 보상하는 신호 즉, 잔류 반송파 위상 에러 및 위상 잡음의 역수가 된다.The conjugate 3214 obtains the conjugate value of the sinusoidal wave of the NCO 3213 and outputs the conjugate value to the error compensator 3151. At this time, the output data of the conjugator 3214 is a signal that compensates for the residual carrier phase error and phase noise, that is, the inverse of the residual carrier phase error and phase noise.

상기 에러 보상부(3151)는 상기 시간 영역 변환부(3140)에서 출력되는 등화된 데이터와 상기 콘쥬게이터(3214)에서 출력되는 잔류 반송파 위상 에러 및 위상 잡음을 보상하는 신호를 복소곱하여 상기 등화된 데이터에 포함된 잔류 반송파 위상 에러 및 위상 잡음을 제거한다. The error compensator 3151 complexes the equalized data output from the time domain converter 3140 and a signal for compensating for the residual carrier phase error and phase noise output from the conjugator 3214 and equalizes the equalized data. Eliminate residual carrier phase error and phase noise included in.

한편 상기 위상 에러 검출기(3211)는 다양한 방법 및 구조로 잔류 반송파 위상 에러 및 위상 잡음을 추정할 수 있다. 본 발명에서는 일 실시예로, 결정 지향(decision-directed) 방식으로 잔류 반송파 위상 에러 및 위상 잡음을 추정한다. On the other hand, the phase error detector 3211 may estimate the residual carrier phase error and phase noise by various methods and structures. In one embodiment, the residual carrier phase error and phase noise are estimated in a decision-directed manner.

본 발명에 따른 결정 지향 방식의 위상 에러 검출기는 채널 등화된 데이터에 잔류 반송파 위상 에러 및 위상 잡음이 없을 경우, 채널 등화된 데이터와 결정 데이터와의 상관값에 실수 값만 존재한다는 점을 이용한다. The decision-oriented phase error detector according to the present invention uses only a real value in the correlation value between the channel equalized data and the decision data when there is no residual carrier phase error and phase noise in the channel equalized data.

즉, 잔류 반송파 위상 에러 및 위상 잡음이 없을 때, 상기 위상 에러 검출기(3211)의 입력 데이터를 xi+jxq라고 하면, 위상 에러 검출기(3211)의 입력 데이터와 결정 데이터와의 상관값은 하기의 수학식 8과 같다.That is, when there is no residual carrier phase error and phase noise, if the input data of the phase error detector 3211 is xi + jxq, the correlation between the input data of the phase error detector 3211 and the determination data is expressed by the following equation. Equation 8

Figure 112008088968393-pat00011
Figure 112008088968393-pat00011

이때, 상기 xi와 xq는 상관 관계가 없으므로 xi와 xq의 상관값은 0이고, 따 라서 상기 상관값은 잔류 반송파 위상 에러 및 위상 잡음이 없을 경우 실수값만 존재한다. 그러나 잔류 반송파 위상 에러 및 위상 잡음이 존재할 경우 실수 성분이 허수부에, 허수 성분이 실수부에 나타나기 때문에 상기 상관값에 허수 성분이 나타난다. In this case, since xi and xq have no correlation, the correlation between xi and xq is 0. Therefore, the correlation value has only a real value when there is no residual carrier phase error and phase noise. However, if residual carrier phase error and phase noise exist, the imaginary component appears in the correlation value because the real component appears in the imaginary part and the imaginary component appears in the real part.

따라서 상기 상관값의 허수부와 잔류 반송파 위상 에러 및 위상 잡음은 비례한다고 볼 수 있고, 하기의 수학식 9와 같이 상기 상관값의 허수부를 잔류 반송파 위상 에러 및 위상 잡음으로 사용할 수 있다.Therefore, the imaginary part of the correlation value and the residual carrier phase error and the phase noise may be considered to be proportional. The imaginary part of the correlation value may be used as the residual carrier phase error and phase noise as shown in Equation 9 below.

Figure 112008088968393-pat00012
Figure 112008088968393-pat00012

도 51은 상기한 잔류 반송파 위상 에러 및 위상 잡음을 구하는 위상 에러 검출기(3211)의 구조의 일 실시예를 보인 구성 블록도로서, 힐버트 변환부(3311), 복소수 구성부(3312), 콘쥬게이터(3313), 곱셈기(3314), 및 위상 에러 출력부(3315)를 포함하여 구성된다.Fig. 51 is a block diagram showing an embodiment of the structure of the phase error detector 3211 for obtaining the above-described residual carrier phase error and phase noise, and includes a Hilbert transform part 3311, a complex number part 3312, and a conjugator ( 3313), a multiplier 3314, and a phase error output unit 3315.

즉, 상기 힐버트 변환부(3311)는 상기 결정기(3170)의 결정 데이터

Figure 112008088968393-pat00013
를 힐버트 변환하여 허수부 결정 데이터
Figure 112008088968393-pat00014
를 만들고, 이를 복소수 구성부(3312)로 출력한다. 상기 복소수 구성부(3312)는 결정 데이터
Figure 112008088968393-pat00015
Figure 112008088968393-pat00016
를 이용하여 복소 결정 데이터
Figure 112008088968393-pat00017
를 구성하여 콘쥬게이터(3313)로 출력한다. 상기 콘쥬게이터(3313)는 복소수 구성부(3312)의 출력을 콘쥬게이트시켜 곱셈기(3314)로 출력한다. 상기 곱셈기(3314)는 에러 보상부(3151)의 출력 데이터
Figure 112008088968393-pat00018
와 상기 콘쥬게이터(3313)의 출력 데이터
Figure 112008088968393-pat00019
를 복소곱한다. 즉 상기 곱셈기(3314)의 출력이 에러 보상부(3151)의 출력 데이터와 결정기(3170)의 결정 데이터와의 상관값이 된다. 상기 곱셈기(3314)에서 구한 상관 데이터는 위상 에러 출력부(3315)로 입력된다. That is, the Hilbert transform unit 3311 determines the decision data of the determiner 3170.
Figure 112008088968393-pat00013
The imaginary part by Hilbert transform
Figure 112008088968393-pat00014
And output it to the complex number unit 3312. The complex number unit 3312 determines decision data.
Figure 112008088968393-pat00015
Wow
Figure 112008088968393-pat00016
Complex decision data using
Figure 112008088968393-pat00017
It configures and outputs to the conjugator 3313. The conjugate 3313 conjugates the output of the complex number component 3312 and outputs the result to the multiplier 3314. The multiplier 3314 outputs data of the error compensator 3151.
Figure 112008088968393-pat00018
And output data of the conjugator 3313
Figure 112008088968393-pat00019
Multiply by. That is, the output of the multiplier 3314 becomes a correlation value between the output data of the error compensator 3151 and the decision data of the determiner 3170. The correlation data obtained by the multiplier 3314 is input to the phase error output unit 3315.

상기 위상 에러 출력부(3315)는 상기 곱셈기(3314)에서 출력되는 상관 데이터의 허수 부분

Figure 112008088968393-pat00020
을 잔류 반송파 위상 에러 및 위상 잡음으로서 출력한다. The phase error output unit 3315 is an imaginary part of the correlation data output from the multiplier 3314.
Figure 112008088968393-pat00020
Is output as residual carrier phase error and phase noise.

도 51의 위상 에러 검출기는 여러 가지 위상 에러 검출 방식 중 일 예이며 이 외에도 여러 가지 다른 방식의 위상 에러 검출기가 적용될 수 있으므로, 본 발명은 상기된 실시예로 한정되지 않을 것이다. 또한 본 발명의 다른 실시예로서, 2가지 이상의 위상 에러 검출기를 결합하여 잔류 반송파 위상 에러 및 위상 잡음을 검출할 수도 있다.The phase error detector of FIG. 51 is an example of various phase error detection schemes, and various other phase error detectors may be applied, and thus the present invention will not be limited to the above-described embodiment. In another embodiment of the present invention, two or more phase error detectors may be combined to detect residual carrier phase error and phase noise.

이렇게 검출된 잔류 반송파 위상 에러 및 위상 잡음을 제거한 잔류 반송파 위상 에러 제거부(3150)의 출력은 채널 등화 및 잔류 반송파 위상 에러 및 위상 잡음이 제거된 원 신호와 채널 등화 과정에서 백색 잡음이 증폭되어 유색 잡음화된 신호의 합으로 이루어진다. The output of the residual carrier phase error canceling unit 3150 from which the residual carrier phase error and phase noise detected in this manner are colored by amplifying white noise during the channel equalization process and the original signal from which the channel equalization and residual carrier phase error and phase noise are removed. It consists of the sum of the noise signals.

따라서 상기 잡음 제거부(3160)는 상기 잔류 반송파 위상 에러 제거부(3150)의 출력 데이터와 결정기(3170)의 결정 데이터를 입력받아 유색 잡음을 추정한다. 그리고 상기 잔류 반송파 위상 에러 및 위상 잡음이 제거된 데이터에서 상기 추정된 유색 잡음을 빼 줌으로써, 등화 과정에서 증폭된 잡음을 제거한다. Accordingly, the noise remover 3160 receives the output data of the residual carrier phase error remover 3150 and the decision data of the determiner 3170 to estimate colored noise. The estimated color noise is subtracted from the data from which the residual carrier phase error and the phase noise have been removed, thereby removing the amplified noise during the equalization process.

이를 위해 상기 잡음 제거부(3160)는 감산기 및 잡음 예측기(Noise Predictor)를 포함할 수 있다. 즉, 상기 감산기는 상기 잔류 반송파 위상 에러 제거부(3150)의 출력 데이터로부터 잡음 예측기에서 예측된 잡음을 빼 증폭 잡음이 제거된 신호를 데이터 복원을 위해 출력함과 동시에 결정기(3170)로 출력한다. 상기 잡음 예측기는 상기 잔류 반송파 위상 에러 제거부(3150)에서 잔류 반송파 위상 에러가 제거된 신호로부터 상기 결정기(3170)의 출력을 빼 잡음 성분을 계산하고 이를 잡음 예측기 내의 필터 입력으로 사용한다. 그리고 상기 잡음 예측기는 이 필터(도시되지 않음)를 사용하여 상기 잔류 반송파 위상 에러 제거부(3150)의 출력 심볼에 포함되어진 유색 잡음 성분을 예측하여 상기 감산기로 출력한다. To this end, the noise removing unit 3160 may include a subtractor and a noise predictor. That is, the subtractor subtracts the noise predicted by the noise predictor from the output data of the residual carrier phase error remover 3150 and outputs a signal from which the amplified noise is removed for data recovery and simultaneously to the determinator 3170. The noise predictor calculates a noise component by subtracting the output of the determiner 3170 from the signal from which the residual carrier phase error removal unit 3150 is removed, and uses the noise predictor as a filter input in the noise predictor. The noise predictor predicts a colored noise component included in an output symbol of the residual carrier phase error remover 3150 by using the filter (not shown), and outputs the color noise component to the subtractor.

상기 잡음 제거부(3160)에서 잡음이 제거된 데이터는 데이터 복호를 위해 출력됨과 동시에 결정기(3170)로 출력된다.The data from which the noise is removed by the noise remover 3160 is output for data decoding and simultaneously to the determiner 3170.

상기 결정기(3170)는 기 설정된 다수개의 결정 데이터들 예를 들어, 8개의 결정 데이터들 중 잡음 제거부(3160)의 출력과 가장 가까운 결정 데이터를 선택하여 잔류 반송파 위상 에러 추정부(3152)와 잡음 제거부(3160)로 출력한다. The determiner 3170 selects a plurality of preset decision data, for example, decision data that is closest to the output of the noise canceller 3160, from among the plurality of decision data, for example, the residual carrier phase error estimator 3152 and the noise. Output to removal unit 3160.

한편 복조된 수신 데이터는 채널 등화기 내 제1 주파수 영역 변환부(3100)의 중첩부(3101)로 입력됨과 동시에 채널 추정부(3110)의 CIR 추정기(3111)로도 입력된다. Meanwhile, the demodulated received data is input to the overlapping unit 3101 of the first frequency domain converter 3100 in the channel equalizer and also to the CIR estimator 3111 of the channel estimator 3110.

상기 CIR 추정기(3111)는 트레이닝 시퀀스 예를 들면, 기지 데이터와 필드 동기 데이터를 이용하여 CIR을 추정하여 위상 보상기(3112)로 출력한다. 즉, 상기 CIR 추정기(3111)는 기지 데이터 구간 동안 수신되는 데이터와 상기 송/수신측의 약속에 의해 수신측에서 알고 있는 상기 기지 데이터 구간의 기지 데이터를 이용하여 채널의 임펄스 응답(CIR_N0~CIR_N4))을 추정한다. 이를 위해 상기 CIR 추정기(3111)는 상기 기지 데이터 검출기(1004)로부터 제2 기지 데이터 패턴이 전송되는 기지 데이터 위치 정보(Known Data Position Information)를 제공받는다. 또한 상기 기지 데이터 구간의 제2 기지 데이터 패턴은 송/수신측의 약속에 의해 이미 알고 있는 데이터이므로, 상기 CIR 추정기(3111)에 미리 저장시킬 수도 있고, 상기 기지 데이터 검출기(1004)에서 발생한 제2 기지 데이터 패턴을 입력받을 수도 있다.The CIR estimator 3111 estimates the CIR using a training sequence, for example, known data and field synchronization data, and outputs the CIR to the phase compensator 3112. That is, the CIR estimator 3111 uses the data received during the known data interval and the known data of the known data interval known to the receiving side by the promise of the transmitting / receiving side to impulse response of the channel (CIR_N0 to CIR_N4). Estimate). To this end, the CIR estimator 3111 receives the known data position information from which the second known data pattern is transmitted from the known data detector 1004. In addition, since the second known data pattern of the known data section is data already known by an appointment of a transmitting / receiving side, the second known data pattern may be stored in the CIR estimator 3111 in advance, or a second generated by the known data detector 1004. It is also possible to receive a known data pattern.

또한 상기 CIR 추정기(3111)는 필드 동기 구간 동안 수신되는 데이터와 상기 송/수신측의 약속에 의해 수신측에서 알고 있는 상기 필드 동기 구간의 필드 동기데이터를 이용하여 채널의 임펄스 응답(CIR_FS)을 추정한다. 이를 위해 상기 CIR 추정기(3111)는 상기 기지 데이터 검출기(1004)로부터 필드 동기 위치 정보(Field Sync Position Information)를 제공받는다. 또한 상기 필드 동기 구간의 필드 동기 데이터도 송/수신측의 약속에 의해 이미 알고 있는 데이터이므로, 상기 CIR 추정기(3111)에 미리 저장시킬 수도 있고, 상기 기지 데이터 검출기(1004)에서 발생한 필드 동기 데이터를 입력받을 수도 있다.In addition, the CIR estimator 3111 estimates the impulse response (CIR_FS) of the channel using the data received during the field sync interval and the field sync data of the field sync interval known to the receiver by the promise of the transmitter / receiver side. do. To this end, the CIR estimator 3111 is provided with field sync position information from the known data detector 1004. In addition, since the field synchronization data of the field synchronization section is already known by the appointment of the transmitting / receiving side, the field synchronization data may be stored in the CIR estimator 3111 in advance, and the field synchronization data generated by the known data detector 1004 may be stored. You can also receive input.

상기 CIR 추정기(3111)는 최소 자승(Least Square ; LS) 방식으로 채널 임펄스 응답(Channel Impulse Response ; CIR)을 추정할 수 있다.The CIR estimator 3111 may estimate a channel impulse response (CIR) in a least square (LS) manner.

상기 LS 추정 방식은 기지 데이터 구간 동안 채널을 거쳐 온 기지 데이터와 수신단에서 이미 알고있는 기지 데이터와의 상호 상관값(Cross Correlation Value) p를 구하고, 상기 기지 데이터의 자기 상관행렬 R을 구한다. 그리고 나서 수신 데이터와 원 기지 데이터와의 상호 상관값인 p속에 존재하는 자기 상관 부분을 제거하도록

Figure 112008088968393-pat00021
의 행렬 연산을 하여 전송 채널의 임펄스 응답(CIR)을 추정하는 방법이다.The LS estimation method obtains a cross correlation value p between known data transmitted through a channel and known data known to a receiver during a known data interval, and obtains an autocorrelation matrix R of the known data. Then remove the autocorrelation portion that exists in p that is the cross-correlation between the received data and the original data.
Figure 112008088968393-pat00021
It is a method of estimating the impulse response (CIR) of a transmission channel by performing a matrix operation of.

상기 위상 보상기(3112)는 추정된 CIR의 위상 변화를 보상하여 제1 클리너(3113) 또는 CIR 연산기(3114)로 출력한다. 이때 상기 위상 보상기(3112)는 Maximum likelihood 방식으로 추정된 CIR의 위상 변화를 보상할 수 있다. The phase compensator 3112 compensates for the phase change of the estimated CIR and outputs it to the first cleaner 3113 or the CIR calculator 3114. In this case, the phase compensator 3112 may compensate for the phase change of the CIR estimated by the Maximum likelihood method.

즉, 복조된 수신 데이터에 포함되어 입력되는 잔류 반송파 위상 에러 및 위상 잡음은 매 기지 데이터 열마다 CIR 추정기(3111)에서 추정되는 CIR의 위상을 변화시킨다. 이때 선형 보간에 사용되는 입력 CIR의 위상 변화 속도가 커서 위상의 변화가 선형이 아닐 경우 선형 보간을 통해 추정한 CIR로부터 등화 계수를 구하여 채널을 보상하면 채널 등화 성능이 떨어지게 된다. That is, the residual carrier phase error and phase noise included in the demodulated received data change the phase of the CIR estimated by the CIR estimator 3111 for every known data string. At this time, if the phase change rate of the input CIR used for linear interpolation is large and the phase change is not linear, the channel equalization performance is deteriorated by obtaining the equalization coefficient from the CIR estimated through linear interpolation.

따라서 본 발명은 CIR 추정기(3111)에서 추정되는 CIR의 위상 변화량을 제거하여 왜곡 보상부(3130)가 잔류 반송파 위상 에러 및 위상 잡음 성분을 보상하지 않고 그대로 통과시키도록 하고, 잔류 반송파 위상 에러 제거부(3150)가 잔류 반송파 위상 에러 및 위상 잡음 성분을 보상하도록 한다.Accordingly, the present invention removes the phase change of the CIR estimated by the CIR estimator 3111 so that the distortion compensator 3130 passes the residual carrier phase error and the phase noise component without compensating for them, and the residual carrier phase error remover. 3150 compensates for the residual carrier phase error and phase noise components.

이를 위해 본 발명은 상기 위상 보상기(3112)에서 Maximum likelihood 방식으로 추정된 CIR의 위상 변화량을 제거하도록 한다.To this end, the present invention allows the phase compensator 3112 to remove the phase change amount of the CIR estimated by the Maximum likelihood method.

상기 Maximum likelihood 위상 보상법의 기본 개념은 모든 CIR 성분에 공통으로 존재하는 위상 성분을 추정하고 이 공통 위상 성분의 역을 추정된 CIR에 곱해서 상기의 공통 위상 성분을 채널 등화기 즉, 왜곡 보상부(3130)에서 보상하지 않도록 하는 것이다.The basic concept of the maximum likelihood phase compensation method estimates a phase component common to all CIR components, multiplies the inverse of the common phase component by an estimated CIR, and multiplies the common phase component by a channel equalizer, that is, a distortion compensator 3130. ) Is not to compensate.

즉, 상기의 공통 위상 성분을

Figure 112008088968393-pat00022
라 할 때, 새로 추정한 CIR은 이전에 추정한 CIR에 비해 위상이
Figure 112008088968393-pat00023
만큼 회전되어 있다. 상기 Maximum likelihood 위상 보상법은 t 시점에서의 CIR을 hi(t)라 할 때, hi(t)를
Figure 112008088968393-pat00024
만큼 회전시켰을 때 t+1 시점에서의 CIR인 hi(t+1)과의 차의 제곱값이 최소가 되는 위상
Figure 112008088968393-pat00025
를 찾는다. 여기서 i는 추정된 CIR의 탭(tap)을 나타내며, CIR 추정기(3111)에서 추정하는 CIR의 탭 수를 N으로 하였다면, 0이상 N-1이하의 값을 가진다. That is, the common phase component
Figure 112008088968393-pat00022
In this case, the newly estimated CIR is out of phase with the previously estimated CIR.
Figure 112008088968393-pat00023
Rotated by. In the maximum likelihood phase compensation method, when the CIR at time t is h i (t), h i (t) is calculated.
Figure 112008088968393-pat00024
Phase that minimizes the square of the difference between h i (t + 1) and CIR at time t + 1.
Figure 112008088968393-pat00025
Find it. I denotes a tap of the estimated CIR, and if the number of taps of the CIR estimated by the CIR estimator 3111 is N, it has a value of 0 or more and N-1 or less.

이를 수식으로 정리하면 다음의 수학식 10과 같다.This can be summarized as Equation 10 below.

Figure 112008088968393-pat00026
Figure 112008088968393-pat00026

상기 수학식 10의 우변을

Figure 112008088968393-pat00027
에 대해 미분한 값이 0이 되는 조건을 만족하는
Figure 112008088968393-pat00028
가 하기의 수학식 11과 같이 maximum likelihood 관점에서 공통 위상 성분
Figure 112008088968393-pat00029
이 된다.The right side of the equation (10)
Figure 112008088968393-pat00027
Satisfies the condition that the derivative is 0 for
Figure 112008088968393-pat00028
Is a common phase component in terms of maximum likelihood, as shown in Equation 11 below.
Figure 112008088968393-pat00029
Becomes

Figure 112008088968393-pat00030
Figure 112008088968393-pat00030

상기 수학식 11을 정리하면, 하기의 수학식 12와 같이 된다. Equation 11 is summarized as in Equation 12 below.

Figure 112008088968393-pat00031
Figure 112008088968393-pat00031

즉, hi(t)와 hi(t+1)의 상관값(correlation)의 argument가 추정하고자 하는

Figure 112008088968393-pat00032
가 된다. That is, the argument of the correlation between h i (t) and h i (t + 1) is to be estimated.
Figure 112008088968393-pat00032
Becomes

도 52는 상기와 같이 공통 위상 성분

Figure 112008088968393-pat00033
을 구하고, 추정된 위상 성분을 추정된 CIR에서 보상하는 위상 보상기의 일 실시예를 보이고 있다. 52 shows the common phase component as above.
Figure 112008088968393-pat00033
And an embodiment of a phase compensator for compensating the estimated phase component in the estimated CIR.

도 52를 보면, 위상 보상기는 상관 연산기(3410), 위상 변화 추정기(3420), 보상 신호 생성기(3430), 및 곱셈기(3440)를 포함하여 구성된다. Referring to FIG. 52, the phase compensator includes a correlation operator 3410, a phase change estimator 3420, a compensation signal generator 3430, and a multiplier 3440.

상기 상관 연산기(3410)는 제1 N 심볼 버퍼(3411), N 심볼 지연기(3412), 제2 N 심볼 버퍼(3413), 콘쥬게이터(3414), 및 곱셈기(3415)를 포함하여 구성된다.The correlation operator 3410 includes a first N symbol buffer 3411, an N symbol delayer 3412, a second N symbol buffer 3413, a conjugator 3414, and a multiplier 3415.

즉, 상기 상관 연산기(3410) 내 제1 N 심볼 버퍼(3411)는 CIR 추정기(3111)에서 심볼 단위로 입력되는 데이터를 최대 N개 심볼까지 저장할 수 있으며, 제1 N 심볼 버퍼(3411)에 일시 저장된 심볼 데이터는 상관 연산기(3410) 내 곱셈기(3415)와 곱셈기(3440)로 입력된다. That is, the first N symbol buffer 3411 in the correlation calculator 3410 may store up to N symbols of data input from the CIR estimator 3111 in symbol units and temporarily store the data in the first N symbol buffer 3411. The stored symbol data is input to a multiplier 3415 and a multiplier 3440 in the correlation operator 3410.

동시에 상기 CIR 추정기(3111)에서 출력되는 심볼 데이터는 N 심볼 지연기(3412)에서 N 심볼만큼 지연된 후 제2 N 심볼 버퍼(3413)를 거쳐 콘쥬게이 터(3414)에서 콘쥬게이트(conjugate ; 공액)되어 곱셈기(3415)로 입력된다. At the same time, the symbol data output from the CIR estimator 3111 is delayed by N symbols in the N symbol delayer 3412 and then conjugated in the conjugate 3414 via the second N symbol buffer 3413. And input to the multiplier 3415.

상기 곱셈기(3415)는 상기 제1 N 심볼 버퍼(3411)의 출력과 콘쥬게이터(3414)의 출력을 곱하여 위상 변화 추정기(3420) 내 누산기(3421)로 출력한다. The multiplier 3415 multiplies the output of the first N symbol buffer 3411 and the output of the conjugator 3414 and outputs the multiplier 341 in the phase change estimator 3420.

즉, 상기 상관 연산기(3410)는 N 길이를 갖는 현재 CIR인 hi(t+1)과 N 길이를 갖는 이전 CIR인 hi(t)의 상관값을 구하여 위상 변화 추정기(3420)의 누산기(3421)로 출력한다. That is, the accumulator of the correlation computing unit 3410 is current CIR of h i (t + 1) and before CIR of h i (t) the phase shift estimator 3420, obtain a correlation value having a N length having a N length ( 3421).

상기 누산기(3421)는 상기 곱셈기(3415)에서 출력되는 상관값을 N 심볼동안 누산시켜 위상 검출기(3422)로 출력한다. 상기 위상 검출기(3422)는 상기 누산기(3421)의 출력으로부터 상기 수학식 11과 같이 공통 위상 성분

Figure 112008088968393-pat00034
를 구하여 보상 신호 생성기(3430)로 출력한다. The accumulator 341 accumulates the correlation value output from the multiplier 3415 for N symbols and outputs the result to the phase detector 3422. The phase detector 3342 is a common phase component as shown in Equation 11 from the output of the accumulator 3421.
Figure 112008088968393-pat00034
To obtain the output to the compensation signal generator 3430.

상기 보상 신호 생성기(3430)는 상기 검출된 위상과 반대의 위상을 가지는 복소 신호

Figure 112008088968393-pat00035
를 위상 보상 신호로서 곱셈기(3440)로 출력한다. 상기 곱셈기(3440)는 상기 제1 N 심볼 버퍼(3411)에서 출력되는 현재 CIR인 hi(t+1)에 위상 보상 신호
Figure 112008088968393-pat00036
를 곱하여 추정된 CIR의 위상 변화량을 제거한다.The compensation signal generator 3430 has a complex signal having a phase opposite to that of the detected phase.
Figure 112008088968393-pat00035
Is output to the multiplier 3440 as a phase compensation signal. The multiplier 3440 has a phase compensation signal at h i (t + 1) which is the current CIR output from the first N symbol buffer 3411.
Figure 112008088968393-pat00036
Multiply by to remove the estimated amount of phase change in CIR.

이와 같이 상기 Maximum likelihood 방식의 위상 보상기(3112)는 입력 CIR과 N 심볼 지연되는 이전 CIR과의 상관값의 위상 성분을 구하고, 이렇게 구한 위상과 반대의 위상을 가지는 위상 보상 신호를 생성한 후 추정된 CIR에 곱함으로써, 추정 된 CIR의 위상 변화량을 제거하게 된다. As such, the phase compensator 3112 of the Maximum likelihood method obtains a phase component of a correlation value between an input CIR and a previous CIR delayed by N symbols, generates a phase compensation signal having a phase opposite to the obtained phase, and is estimated. By multiplying the CIR, the estimated amount of phase change in the CIR is removed.

상기와 같이 위상 변화가 보상된 CIR은 제1 클리너(3113)를 거쳐 또는 제1 클리너(3113)를 바이패스하여 CIR 연산기(3114)로 입력된다. 상기 CIR 연산기(3114)는 추정된 CIR에 대해 보간 또는 외삽하여 제2 클리너(3115)로 출력한다. 여기서 추정된 CIR은 위상 변화가 보상된 CIR이다.The CIR compensated for the phase change as described above is input to the CIR calculator 3114 through the first cleaner 3113 or bypasses the first cleaner 3113. The CIR calculator 3114 interpolates or extrapolates the estimated CIR to the second cleaner 3115. The estimated CIR is the CIR whose phase change is compensated for.

상기 CIR 연산기(3114)가 추정된 CIR에 대해 보간을 하는지, 외삽을 하는지에 따라 제1 클리너(3113)가 동작할 수도 있고, 동작 안 할 수도 있다. 예를 들어, 추정된 CIR에 대해 보간을 수행하면 제1 클리너(3113)가 동작 안하고, 추정된 CIR에 대해 외삽을 수행하면 제1 클리너(3113)가 동작한다. Depending on whether the CIR calculator 3114 interpolates or extrapolates the estimated CIR, the first cleaner 3113 may or may not operate. For example, when the interpolation is performed on the estimated CIR, the first cleaner 3113 is not operated. When the extrapolation is performed on the estimated CIR, the first cleaner 3113 is operated.

즉, 기지 데이터로부터 추정된 CIR에는 구하고자 하는 채널 성분뿐만 아니라 잡음에 의한 지터(jitter) 성분도 포함된다. 이러한 지터 성분은 등화기 성능을 저하하는 요인이 되므로 계수 계산부(3122)에서 CIR을 사용하기 전에 제거하는 것이 좋다. 따라서 상기 제1,제2 클리너(3113,3115)에서는 입력되는 CIR 성분 중 파워(power)가 기 설정된 임계값(threshold) 이하인 부분을 제거(즉, '0'으로 만듦)하는 것을 일 실시예로 한다. 그리고 이러한 제거 과정을 CIR cleaning이라 한다.That is, the CIR estimated from the known data includes not only the channel component to be obtained but also the jitter component due to noise. Since this jitter component is a factor that degrades the equalizer performance, it is preferable to remove the jitter component before using the CIR in the coefficient calculator 3122. Accordingly, in the embodiment, the first and second cleaners 3113 and 3115 remove a portion of the input CIR component whose power is less than or equal to a predetermined threshold (ie, make it '0'). do. This removal process is called CIR cleaning.

즉, 상기 CIR 연산기(3114)에서 CIR 보간(interpolation)은, 상기 CIR 추정기(3112)에서 추정되고, 위상 보상기(3112)에서 위상 변화가 보상된 두 개의 CIR에 각각 계수를 곱하고 더하여 이루어진다. 이때 CIR의 잡음 성분 중 일부는 서로 더해져 상쇄된다. 따라서 상기 CIR 연산기(3114)에서 CIR 보간을 하는 경우에는 잡음 성분이 남아있는 원래의 CIR을 사용한다. 즉, 상기 CIR 연산기(3114)에서 CIR 보간 을 하는 경우, 상기 위상 보상기(3112)에서 위상 변화가 보상된 추정 CIR은 제1 클리너(3113)를 바이패스하여 CIR 연산기(3114)로 입력된다. 그리고 상기 CIR 연산기(3114)에서 보간된 CIR은 제2 클리너(3115)에서 클리닝한다. That is, CIR interpolation in the CIR calculator 3114 is estimated by the CIR estimator 3112 and multiplies and adds coefficients to two CIRs whose phase change is compensated in the phase compensator 3112, respectively. At this time, some of the noise components of the CIR are added to each other to cancel. Accordingly, when CIR interpolation is performed in the CIR calculator 3114, the original CIR in which the noise component remains is used. That is, when CIR interpolation is performed by the CIR calculator 3114, the estimated CIR whose phase change is compensated by the phase compensator 3112 is input to the CIR calculator 3114 by bypassing the first cleaner 3113. The CIR interpolated by the CIR calculator 3114 is cleaned by the second cleaner 3115.

반면 상기 CIR 연산기(3114)에서 CIR 외삽은, 상기 위상 보상기(3112)에서 위상 변화가 보상된 두 CIR의 차를 이용해 두 CIR 바깥에 위치한 CIR을 추정하여 이루어진다. 그러므로 이때는 CIR의 잡음 성분이 오히려 증폭된다. 따라서 상기 CIR 연산기(3114)에서 CIR 외삽을 하는 경우에는 상기 제1 클리너(3113)에서 클리닝된 CIR를 사용한다. 즉, 상기 CIR 연산기(3114)에서 CIR 외삽을 하는 경우, 상기 외삽된 CIR은 제2 클리너(3115)를 거쳐 제로 패딩부(3116)로 입력된다. On the other hand, the CIR extrapolation in the CIR calculator 3114 is performed by estimating the CIR located outside the two CIRs by using a difference between two CIRs whose phase change is compensated in the phase compensator 3112. Therefore, the noise component of the CIR is amplified at this time. Therefore, when CIR extrapolation is performed in the CIR calculator 3114, the CIR cleaned by the first cleaner 3113 is used. That is, when the CIR extrapolation is performed by the CIR calculator 3114, the extrapolated CIR is input to the zero padding unit 3116 via the second cleaner 3115.

한편 상기 제2 클리너(3115)에서 클리닝되어 출력되는 CIR을 상기 제2 주파수 영역 변환부(3121)에서 주파수 영역으로 변환할 때 입력되는 CIR의 길이와 FFT 사이즈(Size)가 일치하지 않는 경우가 발생할 수 있다. 즉, CIR의 길이가 FFT 사이즈보다 작은 경우가 발생할 수 있다. 이 경우 제로 패딩부(3116)에서는 FFT 사이즈와 입력되는 CIR 길이의 차이만큼 CIR에 '0'을 첨가하여 상기 제2 주파수 영역 변환부(3121)로 출력한다. 여기서 제로 패딩되는 CIR은 보간된 CIR, 외삽된 CIR, 기지 데이터 구간에서 추정된 CIR 중 하나가 될 수 있다.Meanwhile, when the CIR cleaned and output from the second cleaner 3115 is converted into the frequency domain by the second frequency domain converter 3121, the length of the input CIR and the FFT size do not match. Can be. That is, a case where the length of the CIR is smaller than the FFT size may occur. In this case, the zero padding unit 3116 adds '0' to the CIR by the difference between the FFT size and the input CIR length and outputs the same to the second frequency domain converter 3121. The zero-padded CIR may be one of interpolated CIRs, extrapolated CIRs, and CIRs estimated from known data intervals.

상기 제2 주파수 영역 변환부(3121)는 입력되는 시간 영역의 CIR를 FFT하여 주파수 영역의 CIR로 변환한 후 계수 계산부(3122)로 출력한다. The second frequency domain transforming unit 3121 converts the input CIR of the time domain into a CIR of the frequency domain and outputs the CIR to the coefficient calculating unit 3122.

상기 계수 계산부(3122)는 상기 제2 주파수 영역 변환부(3121)에서 출력되는 주파수 영역의 CIR을 이용하여 등화 계수를 계산한 후 왜곡 보상부(3130)로 출력한 다. 이때 상기 계수 계산부(3122)는 일 실시예로, 상기 주파수 영역의 CIR로부터 평균 자승 에러를 최소화(Minimum Mean Square Error : MMSE)하는 주파수 영역의 등화 계수를 구하여 왜곡 보상부(3130)로 출력한다. The coefficient calculator 3122 calculates an equalization coefficient by using the CIR of the frequency domain output from the second frequency domain converter 3121 and outputs the equalization coefficient to the distortion compensator 3130. In this example, the coefficient calculator 3122 obtains an equalization coefficient of a frequency domain that minimizes a mean square error (MMSE) from the CIR of the frequency domain and outputs the equalization coefficient to the distortion compensator 3130. .

상기 왜곡 보상부(3130)는 상기 제1 주파수 영역 변환부(3100)의 FFT부(3102)에서 출력되는 주파수 영역의 중첩 데이터에 계수 계산부(3122)에서 계산된 등화 계수를 복소곱하여 상기 FFT부(3102)에서 출력되는 중첩 데이터의 채널 왜곡을 보상한다. The distortion compensator 3130 complexly multiplies the equalization coefficient calculated by the coefficient calculator 3122 with the overlapped data of the frequency domain output from the FFT unit 3102 of the first frequency domain transform unit 3100 to perform the FFT unit. Compensate for the channel distortion of the overlapping data output at 3102.

도 53은 데이터 그룹이 도 7a, 도 8과 같은 구조로 구분되었을 때, A,B,C 영역에 따라 채널 임펄스 응답(CIR)의 추정 및 적용을 다르게 하는 다른 실시예로 보이고 있다.FIG. 53 illustrates another embodiment in which channel impulse response (CIR) is differently estimated and applied according to areas A, B, and C when data groups are divided into the structures shown in FIGS. 7A and 8.

즉, 도 7a에서 알 수 있듯이 A 영역(region)에서는 충분히 긴 기지 데이터가 주기적으로 전송되므로 CIR을 이용하는 간접 등화 방식을 사용할 수 있지만, B,C 영역에서는 기지 데이터를 충분히 길게 전송할 수 없을 뿐만 아니라 주기적으로 일정하게 전송할 수 없으므로 기지 데이터를 이용하여 CIR을 추정하기에 적합하지 않다. 따라서 B,C 영역에서는 등화기의 출력으로부터 에러를 구하여 계수를 갱신하는 직접 등화 방식을 사용해야 한다. That is, as shown in FIG. 7A, indirect equalization using CIR can be used because long enough known data is periodically transmitted in region A. However, in B and C regions, not only the known data can be transmitted long enough but also periodically. Since it is not possible to transmit constantly, it is not suitable for estimating CIR using known data. Therefore, in the B and C areas, the direct equalization method should be used to obtain the error from the output of the equalizer and update the coefficients.

예를 들어, A 영역의 데이터에 대해서는 사이클릭 프리픽스 및 CIR을 이용한 간접 등화 방식의 채널 등화를 수행하고, B,C 영역의 데이터에 대해서는 중첩 & 세이브 방식을 사용하고 등화기 출력의 에러로부터 등화기 계수를 갱신하는 직접 등화 방식의 채널 등화를 수행할 수 있다. For example, indirect equalization channel equalization using cyclic prefix and CIR is performed on the data in the area A, and the overlap & save method is used on the data in the B and C areas. The channel equalization of the direct equalization method of updating the coefficients may be performed.

이를 위해 도 53의 주파수 영역 채널 등화기는 주파수 영역 변환부(3510), 왜곡 보상부(3520), 시간 영역 변환부(3530), 제1 계수 연산부(3540), 제2 계수 연산부(3550), 및 계수 선택부(3560)를 포함할 수 있다.For this purpose, the frequency domain channel equalizer of FIG. 53 includes a frequency domain converter 3510, a distortion compensator 3520, a time domain converter 3530, a first coefficient calculator 3540, a second coefficient calculator 3550, and Coefficient selection unit 3560 may be included.

상기 주파수 영역 변환부(3510)는 중첩부(3511), 선택부(3512), 및 제1 FFT부(3513)를 포함할 수 있다.The frequency domain converter 3510 may include an overlapping unit 3511, a selecting unit 3512, and a first FFT unit 3513.

상기 시간 영역 변환부(3530)는 IFFT부(3531), 세이브부(3532), 및 선택부(3533)를 포함할 수 있다.The time domain converter 3530 may include an IFFT unit 3531, a save unit 3532, and a selector 3535.

상기 제1 계수 연산부(3540)는 CIR 추정기(3541), 평균 연산부(3542), 제2 FFT부(3543), 및 계수 연산기(3544)를 포함할 수 있다.The first coefficient calculating unit 3540 may include a CIR estimator 3551, an average calculating unit 3542, a second FFT unit 3543, and a coefficient calculating unit 3444.

상기 제2 계수 연산부(3550)는 결정기(3551), 선택부(3552), 감산기(3553), 제로 패딩부(3554), 제3 FFT부(3555), 계수 갱신부(3556), 및 지연기(3557)를 포함할 수 있다.The second coefficient calculator 3550 includes a determiner 3551, a selector 3652, a subtractor 3553, a zero padding unit 3554, a third FFT unit 3555, a coefficient updater 3556, and a delay unit. (3557).

이때 상기 주파수 영역 변환부(3510)의 선택부(3512), 시간 영역 변환부(3530)의 선택부(3533), 및 계수 선택부(3560)는 현재 입력 데이터가 A 영역의 데이터인지, B/C 영역의 데이터인지에 따라 입력 데이터를 선택하는 멀티플렉서(즉, 먹스)로 구성할 수 있다. In this case, the selector 3512 of the frequency domain converter 3510, the selector 3535 of the time domain converter 3530, and the coefficient selector 3560 may determine whether the current input data is data of the A region, It can be configured as a multiplexer (ie, mux) that selects input data depending on whether the data is in the C region.

이와 같이 구성된 도 53에서 입력되는 데이터가 A 영역의 데이터이면 주파수 영역 변환부(3510)의 선택부(3512)는 입력 데이터와 중첩부(3511)의 출력 데이터 중 입력 데이터를 선택하고, 시간 영역 변환부(3530)의 선택부(3533)는 IFFT부(3531)의 출력 데이터와 세이브부(3532)의 출력 데이터 중 IFFT부(3531)의 출력 데이터를 선택한다. 그리고 계수 선택부(3560)는 제1 계수 연산부(3540)에서 출력되는 등화 계수를 선택한다. If the data input in FIG. 53 configured as described above is the data of the A region, the selecting unit 3512 of the frequency domain converting unit 3510 selects the input data among the input data and the output data of the overlapping unit 3511, and converts the time domain. The selecting unit 3535 of the unit 3530 selects the output data of the IFFT unit 3531 from among the output data of the IFFT unit 3531 and the output data of the save unit 3532. The coefficient selector 3560 selects an equalization coefficient output from the first coefficient calculator 3540.

한편 입력되는 데이터가 B,C 영역의 데이터이면 주파수 영역 변환부(3510)의 선택부(3512)는 입력 데이터와 중첩부(3511)의 출력 데이터 중 중첩부(3511)의 출력 데이터를 선택하고, 시간 영역 변환부(3530)의 선택부(3533)는 IFFT부(3531)의 출력 데이터와 세이브부(3532)의 출력 데이터 중 세이브부(3532)의 출력 데이터를 선택한다. 그리고 계수 선택부(3560)는 제2 계수 연산부(3550)에서 출력되는 등화 계수를 선택한다. On the other hand, if the input data is data of the B and C areas, the selection unit 3512 of the frequency domain conversion unit 3510 selects the output data of the overlap unit 3511 among the input data and the output data of the overlap unit 3511, The selector 3533 of the time domain converter 3530 selects the output data of the save unit 3532 from the output data of the IFFT unit 3531 and the output data of the save unit 3532. The coefficient selector 3560 selects an equalization coefficient output from the second coefficient calculator 3550.

즉, 수신 데이터는 주파수 영역 변환부(3510)의 중첩부(3511)와 선택부(3512) 그리고, 제1 계수 연산부(3540)로 입력된다. 상기 선택부(3512)는 입력 데이터가 A 영역의 데이터이면 수신 데이터를 선택하여 제1 FFT부(3513)로 출력하고, B,C 영역의 데이터이면 중첩부(3511)에서 중첩된 데이터를 선택하여 제1 FFT부(3513)로 출력한다. 상기 제1 FFT부(3513)는 상기 선택부(3512)에서 출력되는 시간 영역의 데이터를 FFT하여 주파수 영역으로 변환한 후 왜곡 보상부(3520)와 제2 계수 연산부(3550)의 지연기(3557)로 출력한다. That is, the received data is input to the overlapping unit 3511, the selecting unit 3512, and the first coefficient calculating unit 3540 of the frequency domain converter 3510. If the input data is data in the area A, the selector 3512 selects the received data and outputs the received data to the first FFT unit 3513, and in the case of data in the B and C areas, the selector 3512 selects the overlapped data. Output to the first FFT unit 3513. The first FFT unit 3513 transforms the time domain data output from the selector 3512 into a frequency domain by converting the data in the time domain into a frequency domain, and then delays 3575 of the distortion compensator 3520 and the second coefficient calculator 3550. )

상기 왜곡 보상부(3520)는 상기 제1 FFT부(3513)에서 출력되는 주파수 영역의 데이터에 계수 선택부(3560)에서 출력되는 등화 계수를 복소곱하여 상기 제1 FFT부(3513)에서 출력되는 데이터의 채널 왜곡을 보상한 후 시간 영역 변환부(3530)의 IFFT부(3531)로 출력한다. The distortion compensator 3520 complexes the equalization coefficient output from the coefficient selector 3560 to the data in the frequency domain output from the first FFT unit 3513 to output the data from the first FFT unit 3513. The channel distortion is compensated for and output to the IFFT unit 3531 of the time domain converter 3530.

상기 시간 영역 변환부(3530)의 IFFT부(3531)는 채널의 왜곡이 보상된 데이 터를 IFFT하여 시간 영역으로 변환한 후 세이브부(3532)와 선택부(3533)로 출력한다. 상기 선택부(3533)는 입력 데이터가 A 영역의 데이터이면 IFFT부(3531)의 출력 데이터를 선택하고, B,C 영역의 데이터이면 세이브부(3532)에서 추출된 유효 데이터를 선택하여 데이터 복호를 위해 출력함과 동시에 제2 계수 연산부(3550)로 출력한다. The IFFT unit 3531 of the time domain converter 3530 converts the distortion-compensated data into the time domain by IFFT-converting the data, and outputs the data to the save unit 3532 and the selector 3535. The selector 3535 selects output data of the IFFT unit 3531 if the input data is data of the A region, and selects valid data extracted from the save unit 3532 if data of the B and C regions is used to decode the data. Output to the second coefficient calculating unit 3550 at the same time.

상기 제1 계수 연산부(3540)의 CIR 추정기(3541)는 기지 데이터 구간 동안 수신되는 데이터와 상기 송/수신측의 약속에 의해 수신측에서 알고 있는 상기 기지 데이터 구간의 기지 데이터(수신측에서 발생한 기준 데이터)를 이용하여 CIR을 추정한 후 평균 연산부(3542)로 출력한다. 또한 상기 CIR 추정기(3541)는 필드 동기 구간 동안 수신되는 데이터와 상기 필드 동기 구간의 필드 동기 데이터(수신측에서 발생한 기준 데이터)를 이용하여 CIR을 추정한 후 평균 연산부(3542)로 출력한다. The CIR estimator 3551 of the first coefficient calculating unit 3540 performs the data received during the known data section and the known data of the known data section known by the receiving side by the promise of the transmitting / receiving side (the reference generated on the receiving side). CIR is estimated using the data) and output to the average calculating unit 3542. In addition, the CIR estimator 3551 estimates a CIR using data received during the field synchronization period and field synchronization data (reference data generated at the receiving side) of the field synchronization period, and outputs the CIR to the average operation unit 3542.

상기 평균 연산부(3542)는 입력되는 연속된 CIR들의 평균값을 구하여 제2 FFT부(3543)로 출력한다. The average calculating unit 3542 obtains an average value of successive CIRs which are input, and outputs the average value to the second FFT unit 3543.

상기 제2 FFT부(3543)는 입력된 시간 영역의 CIR을 FFT하여 주파수 영역으로 변환한 후 계수 연산기(3544)로 출력한다. The second FFT unit 3543 converts the input CIR of the time domain into the frequency domain and outputs the FIR to the coefficient calculator 3504.

상기 계수 연산기(3544)는 주파수 영역의 CIR을 이용하여 평균 자승 에러를 최소화하는 조건을 만족하는 등화 계수를 계산하여 계수 선택부(3560)로 출력한다.The coefficient calculator 3504 calculates an equalization coefficient satisfying a condition for minimizing the mean square error using the CIR in the frequency domain and outputs the equalization coefficient to the coefficient selector 3560.

상기 제2 계수 연산부(3550)의 결정기(3551)는 다수개 예를 들어, 8개의 결정값들 중 상기 등화된 데이터와 가장 가까운 결정값을 선택하여 선택부(3552)로 출력한다. 상기 선택부(3552)는 일반 데이터 구간에서는 상기 결정기(3551)의 결정 값을 선택하고, 기지 데이터 구간에서는 기지 데이터를 선택하여 감산기(3553)로 출력한다. 상기 감산기(3553)는 상기 선택부(3552)의 출력으로부터 상기 시간 영역 변환부(3530)의 선택부(3533)의 출력을 빼 에러를 구하고 이 에러 값을 제로 패딩부(3554)로 출력한다. The determiner 3551 of the second coefficient calculator 3550 selects a decision value closest to the equalized data among the eight decision values and outputs the selected decision value to the selector 3652. The selector 3652 selects the determined value of the determiner 3551 in the general data section, and selects the known data in the known data section and outputs the known data to the subtractor 3553. The subtractor 3553 subtracts the output of the selector 3535 of the time domain converter 3530 from the output of the selector 3552 to obtain an error and outputs the error value to the zero padding unit 3554.

상기 제로 패딩부(3554)는 입력되는 에러에 수신 데이터가 중첩되는 양에 해당하는 양의 0(zero)을 첨가한 후 제3 FFT부(3555)로 출력한다. 상기 제3 FFT부(3555)는 0이 첨가된 시간 영역의 에러를 주파수 영역의 에러로 변환한 후 계수 갱신부(3556)로 출력한다. 상기 계수 갱신부(3556)는 지연기(3557)에서 지연된 주파수 영역의 데이터와 주파수 영역의 에러를 이용하여 이전 등화 계수를 갱신한 후 계수 선택부(3560)로 출력한다. 이때 갱신된 등화 계수는 다음에 이전 등화 계수로 이용하기 위해 저장된다. The zero padding unit 3554 adds a zero corresponding to an amount of overlapping received data to an input error and outputs the zero padding unit 3555 to the third FFT unit 3555. The third FFT unit 3555 converts an error in the time domain to which zero is added to an error in the frequency domain, and outputs the error to the coefficient updater 3556. The coefficient updater 3556 updates the previous equalization coefficient using the data of the frequency domain delayed by the delayer 3575 and the error of the frequency domain, and then outputs the previous equalization coefficient to the coefficient selector 3560. The updated equalization coefficient is then stored for use as a previous equalization coefficient.

상기 계수 선택부(3560)는 입력 데이터가 A 영역의 데이터이면 제1 계수 연산부(3540)에서 계산된 등화 계수를 선택하고, B,C 영역의 데이터이면 제2 계수 연산부(3550)에서 갱신된 등화 계수를 선택하여 왜곡 보상부(3520)로 출력한다. The coefficient selecting unit 3560 selects the equalization coefficient calculated by the first coefficient calculating unit 3540 when the input data is data of the A region, and the equalization updated by the second coefficient calculating unit 3550 when the data of the B and C regions is selected. The coefficient is selected and output to the distortion compensator 3520.

도 54는 데이터 그룹이 도 7a와 같은 구조로 구분되었을 때, A,B,C 영역에 따라 채널 임펄스 응답(CIR)의 추정 및 적용을 다르게 하는 채널 등화기의 또 다른 실시예로 보이고 있다.FIG. 54 illustrates another embodiment of a channel equalizer for differentiating and applying a channel impulse response (CIR) according to areas A, B, and C when data groups are divided into the same structure as in FIG. 7A.

예를 들어, A 영역의 데이터에 대해서는 중첩 & 세이브 방식의 CIR을 이용한 간접 등화 방식의 채널 등화를 수행하고, B,C 영역의 데이터에 대해서는 중첩 & 세이브 방법을 이용한 직접 등화 방식의 채널 등화를 수행할 수 있다.For example, indirect equalization channel equalization using superimposed & save CIR is performed on data in area A, and direct equalization channel equalization is performed using superimposed & save method on data in B and C areas. can do.

이를 위해 도 54의 채널 등화기는 주파수 영역 변환부(3610), 왜곡 보상부(3620), 시간 영역 변환부(3630), 제1 계수 연산부(3640), 제2 계수 연산부(3650), 및 계수 선택부(3660)를 포함할 수 있다.For this purpose, the channel equalizer of FIG. 54 includes a frequency domain transformer 3610, a distortion compensator 3620, a time domain transformer 3630, a first coefficient calculator 3640, a second coefficient calculator 3650, and coefficient selection. A portion 3660 may be included.

상기 주파수 영역 변환부(3610)는 중첩부(3611)와 제1 FFT부(3612)를 포함할 수 있다.The frequency domain transform unit 3610 may include an overlap unit 3611 and a first FFT unit 3612.

상기 시간 영역 변환부(3630)는 IFFT부(3631)와 세이브부(3632)를 포함할 수 있다.The time domain converter 3630 may include an IFFT unit 3611 and a save unit 3632.

상기 제1 계수 연산부(3640)는 CIR 추정기(3641), 보간부(3642), 제2 FFT부(3643), 및 계수 연산기(3644)를 포함할 수 있다.The first coefficient calculator 3640 may include a CIR estimator 3641, an interpolator 3542, a second FFT unit 3643, and a coefficient calculator 3644.

상기 제2 계수 연산부(3650)는 결정기(3651), 선택부(3652), 감산기(3653), 제로 패딩부(3654), 제3 FFT부(3655), 계수 갱신부(3656), 및 지연기(3657)를 포함할 수 있다.The second coefficient calculator 3650 includes a determiner 3701, a selector 3652, a subtractor 3653, a zero padding unit 3654, a third FFT unit 3655, a coefficient updater 3656, and a delay unit. (3657).

이때 상기 계수 선택부(3660)는 현재 입력 데이터가 A 영역의 데이터인지, B,C 영역의 데이터인지에 따라 입력 데이터를 선택하는 멀티플렉서(즉, 먹스)로 구성할 수 있다. 즉 상기 계수 선택부(3660)는 입력되는 데이터가 A 영역의 데이터이면 제1 계수 연산부(3640)의 등화 계수를 선택하고, B,C 영역의 데이터이면 제2 계수 연산부(3650)의 등화 계수를 선택한다. In this case, the coefficient selector 3660 may be configured as a multiplexer (ie, mux) that selects input data according to whether the current input data is data of the A region or the data of the B and C regions. That is, the coefficient selector 3660 selects an equalization coefficient of the first coefficient calculator 3640 when the input data is data of the A region, and selects an equalization coefficient of the second coefficient calculator 3650 if the data of the B and C regions is data. Choose.

이와 같이 구성된 도 54에서 수신 데이터는 주파수 영역 변환부(3610)의 중첩부(3611)와 제1 계수 연산부(3640)로 입력된다. 상기 중첩부(3611)는 기 설정된 중첩 비율에 따라 입력 데이터를 중첩시켜 제1 FFT부(3612)로 출력한다. 상기 제1 FFT부(3612)는 FFT를 통해 시간 영역의 중첩 데이터를 주파수 영역의 중첩 데이터로 변환하여 왜곡 보상부(3620)와 제2 계수 연산부(3650)의 지연기(3657)로 출력된다.In FIG. 54 configured as described above, the received data is input to the overlapping part 3611 and the first coefficient calculating part 3640 of the frequency domain converter 3610. The overlap unit 3611 overlaps the input data according to a preset overlap ratio and outputs the input data to the first FFT unit 3612. The first FFT unit 3612 converts overlapped data in the time domain into overlapped data in the frequency domain through an FFT and is output to the distortion compensator 3620 and the delay unit 3635 of the second coefficient calculator 3650.

상기 왜곡 보상부(3620)는 상기 제1 FFT부(3612)에서 출력되는 주파수 영역의 중첩 데이터에 계수 선택부(3660)에서 출력되는 등화 계수를 복소곱하여 상기 제1 FFT부(3612)에서 출력되는 중첩 데이터의 채널 왜곡을 보상한 후 시간 영역 변환부(3630)의 IFFT부(3631)로 출력한다. 상기 IFFT부(3631)는 채널의 왜곡이 보상된 중첩 데이터를 IFFT하여 시간 영역으로 변환하여 세이브부(3632)로 출력한다. 상기 세이브부(3632)는 채널 등화된 시간 영역의 중첩된 데이터로부터 유효 데이터만을 추출한 후 데이터 복호를 위해 출력함과 동시에 계수 갱신을 위해 제2 계수 연산부(3650)로 출력한다. The distortion compensator 3620 complex-multiplies the equalization coefficient output from the coefficient selector 3660 with the overlapping data of the frequency domain output from the first FFT unit 3612 and outputs from the first FFT unit 3612. The channel distortion of the overlapped data is compensated and then output to the IFFT unit 3611 of the time domain converter 3630. The IFFT unit 3611 IFFTs the overlapped data whose distortion of the channel is compensated, converts the data into a time domain, and outputs the converted data to the save unit 3632. The save unit 3632 extracts only valid data from the overlapped data of the channel equalized time domain and outputs the data for data decoding and outputs the second coefficient calculator 3650 to update the coefficients.

상기 제1 계수 연산부(3640)의 CIR 추정기(3641)는 기지 데이터 구간 동안 수신된 데이터와 수신측에서 발생한 기준 기지 데이터를 이용하여 CIR을 추정한 후 보간부(3642)로 출력한다. 또한 상기 CIR 추정기(3641)는 필드 동기 구간 동안 수신되는 데이터와 수신측에서 발생한 기준 필드 동기 데이터를 이용하여 CIR을 추정한 후 보간부(3642)로 출력한다. The CIR estimator 3641 of the first coefficient calculator 3640 estimates the CIR by using the data received during the known data interval and the reference known data generated at the receiver, and outputs the CIR to the interpolator 3642. In addition, the CIR estimator 3641 estimates the CIR using data received during the field synchronization period and reference field synchronization data generated at the receiving side, and outputs the CIR to the interpolator 3642.

상기 보간부(3642)는 입력되는 CIR를 이용하여 추정된 CIR들 사이에 위치하는 시점에서의 CIR들 즉, 기지 데이터가 없는 구간의 CIR들을 기 설정된 보간법으로 추정하고 그 결과를 제2 FFT부(3643)로 출력한다. 상기 제2 FFT부(3643)는 입력되는 CIR을 주파수 영역으로 변환하여 계수 연산기(3644)로 출력한다. 상기 계수 연산기(3644)는 주파수 영역의 CIR을 이용하여 평균 자승 에러를 최소화하는 조건을 만족하는 주파수 영역 등화 계수를 계산한 후 계수 선택부(3660)로 출력한다.The interpolator 3642 estimates the CIRs at the time points located between the CIRs estimated using the input CIRs, that is, the CIRs of the section without known data, by using a preset interpolation method, and calculates the result of the second FFT unit ( 3643). The second FFT unit 3643 converts the input CIR into a frequency domain and outputs the converted CIR to the coefficient calculator 3644. The coefficient calculator 3644 calculates a frequency domain equalization coefficient that satisfies the condition of minimizing the mean square error using the CIR of the frequency domain and outputs the same to the coefficient selector 3660.

상기 제2 계수 연산부(3650)의 구성 및 동작은 상기 도 53의 제2 계수 연산부(3550)와 동일하므로 상세 설명을 생략한다. Since the configuration and operation of the second coefficient calculator 3650 are the same as those of the second coefficient calculator 3550 of FIG. 53, a detailed description thereof will be omitted.

상기 계수 선택부(3660)는 입력 데이터가 A 영역의 데이터이면 제1 계수 연산부(3640)에서 계산된 등화 계수를 선택하고, B,C 영역의 데이터이면 제2 계수 연산부(3650)에서 갱신된 등화 계수를 선택하여 왜곡 보상부(3620)로 출력한다. The coefficient selector 3660 selects the equalization coefficient calculated by the first coefficient calculator 3640 when the input data is data of the A region, and updates the equalization coefficient updated by the second coefficient calculator 3650 when the data of the B and C regions is data. The coefficient is selected and output to the distortion compensator 3620.

도 55는 데이터 그룹이 도 7a와 같은 구조로 구분되었을 때, A,B,C 영역에 따라 채널 임펄스 응답(CIR)의 추정 및 적용을 다르게 하는 채널 등화기의 또 다른 실시예로 보이고 있다.FIG. 55 illustrates another embodiment of a channel equalizer for differentiating and applying a channel impulse response (CIR) according to areas A, B, and C when data groups are divided into the same structure as in FIG. 7A.

예를 들어, 기지 데이터가 일정한 주기마다 배치되어 있는 A 영역에서는 상기 기지 데이터를 이용하여 채널 임펄스 응답(Channel Impulse Response ; CIR)을 추정한 후 채널 등화를 수행하고, B,C 영역에서는 등화된 데이터의 결정값을 이용하여 CIR을 추정한 후 채널 등화를 수행할 수 있다.For example, in region A where known data are arranged at regular intervals, channel equalization is estimated using the known data, and channel equalization is performed. In the region B and C, the equalized data is performed. The channel equalization may be performed after estimating the CIR using the determined value of.

본 발명의 일 실시예로는, 상기 A 영역에서는 상기 기지 데이터를 이용하여 최소 자승(Least Square ; LS) 방식으로 채널 임펄스 응답(Channel Impulse Response ; CIR)을 추정한 후 채널 등화를 수행하고, B,C 영역에서는 최소 평균 자승(Least Mean Square ; LMS) 방식으로 CIR을 추정한 후 채널 등화를 수행한다. 즉, 상기 A 영역과 같이 주기적인 기지 데이터가 존재하지 않는 B,C 영역에서는 상기 A 영역과 동일한 방식으로 채널 등화를 수행할 수 없으므로, B,C 영역에서는 LMS 방식으로 CIR을 추정하여 채널 등화를 수행한다. In an embodiment of the present invention, in the region A, a channel impulse response (CIR) is estimated using a least square method using the known data, and channel equalization is performed. In the C region, the channel equalization is performed after estimating the CIR using a least mean square (LMS) method. That is, in the B and C regions where periodic known data do not exist as in the A region, channel equalization cannot be performed in the same manner as the A region. Therefore, in the B and C regions, channel equalization is performed by estimating the CIR using the LMS method. To perform.

도 55를 보면, 중첩부(3701), 제1 FFT(Fast Fourier Transform)부(3702), 왜곡 보상부(3703), IFFT부(3704), 세이브부(3705), 제1 CIR 추정기(3706), CIR 보간부(3707), 결정기(3708), 선택부(3709), 제2 CIR 추정기(3710), 선택부(3711), 제2 FFT부(3712), 및 계수 연산기(3713)를 포함하여 구성된다. 상기 왜곡 보상부(3703)는 복소수 곱셈 역할을 수행하는 소자는 어느 것이나 가능하다. Referring to FIG. 55, an overlapping part 3701, a first fast fourier transform part 3702, a distortion compensating part 3703, an IFFT part 3704, a save part 3705, and a first CIR estimator 3706 , CIR interpolator 3707, determiner 3708, selector 3709, second CIR estimator 3710, selector 3711, second FFT unit 3712, and coefficient calculator 3713 It is composed. The distortion compensator 3703 may be any element that performs a complex multiplication role.

이와 같이 구성된 도 55에서, 등화기 입력 데이터는 중첩부(3701)에서 기 설정된 중첩 비율로 중첩되어 제1 FFT부(3702)로 출력된다. 상기 제1 FFT부(3702)는 FFT를 통해 시간 영역의 중첩 데이터를 주파수 영역의 중첩 데이터로 변환하여 왜곡 보상부(3703)로 출력된다.In FIG. 55 configured as described above, the equalizer input data is superimposed at a preset overlap ratio in the overlap unit 3701 and output to the first FFT unit 3702. The first FFT unit 3702 converts overlapping data in the time domain into overlapping data in the frequency domain through an FFT and is output to the distortion compensator 3703.

상기 왜곡 보상부(3703)는 상기 제1 FFT부(3702)에서 출력되는 주파수 영역의 중첩 데이터에 계수 연산기(3713)에서 계산된 등화 계수를 복소곱하여 상기 제1 FFT부(3702)에서 출력되는 중첩 데이터의 채널 왜곡을 보상한 후 IFFT부(3704)로 출력한다. 상기 IFFT부(3704)는 채널의 왜곡이 보상된 중첩 데이터를 IFFT하여 시간 영역으로 변환하여 세이브부(3705)로 출력한다. 상기 세이브부(3705)는 채널 등화된 시간 영역의 중첩된 데이터로부터 유효 데이터만을 추출한 후 데이터 복호를 위해 출력함과 동시에 채널 추정을 위해 결정기(3708)로 출력한다. The distortion compensator 3703 complexly multiplies the equalization coefficient calculated by the coefficient operator 3713 to the overlapping data of the frequency domain output from the first FFT unit 3702, and outputs the overlapped output from the first FFT unit 3702. The channel distortion of the data is compensated and then output to the IFFT unit 3704. The IFFT unit 3704 IFFTs the overlapped data whose distortion of the channel is compensated, converts the data into a time domain, and outputs the converted data to the save unit 3705. The save unit 3705 extracts only valid data from the superimposed data in the channel equalized time domain, outputs the data for decoding, and outputs the same to the determiner 3708 for channel estimation.

상기 결정기(3708)는 다수개 예를 들어, 8개의 결정값들 중 상기 등화된 데이터와 가장 가까운 결정값을 선택하여 선택부(3709)로 출력한다. 상기 선택부(3709)는 멀티플렉서로 구성할 수 있다. 상기 선택부(3709)는 일반 데이터 구간 에서는 상기 결정기(3708)의 결정값을 선택하고, 기지 데이터 구간에서는 기지 데이터를 선택하여 제2 CIR 추정기(3710)로 출력한다.The determiner 3708 selects a decision value closest to the equalized data among a plurality of decision values, for example, and outputs the selected decision value to the selector 3709. The selector 3709 may be configured as a multiplexer. The selector 3709 selects the determined value of the determiner 3708 in the general data section, and selects the known data in the known data section and outputs the known data to the second CIR estimator 3710.

한편 제1 CIR 추정기(3706)는 기지 데이터 구간 동안 입력되는 데이터와 상기 기지 데이터를 이용하여 CIR을 추정한 후 CIR 보간부(3707)로 출력한다. 여기서 상기 기지 데이터는 송/수신측의 약속에 의해 수신측에서 상기 기지 데이터 구간 동안 생성한 기준 기지 데이터이다. 또한 제1 CIR 추정기(3706)는 필드 동기 구간 동안 입력되는 데이터와 기준 필드 동기 데이터를 이용하여 CIR을 추정한 후 CIR 보간부(3707)로 출력한다. 여기서 상기 기준 필드 동기 데이터는 송/수신측의 약속에 의해 수신측에서 생성한 기준 필드 동기 데이터이다. Meanwhile, the first CIR estimator 3706 estimates the CIR using the data input during the known data interval and the known data and outputs the CIR to the CIR interpolator 3707. Here, the known data is reference known data generated during the known data section at the receiving side by an appointment of the transmitting / receiving side. In addition, the first CIR estimator 3706 estimates the CIR using data input during the field synchronization period and reference field synchronization data, and outputs the CIR to the CIR interpolator 3707. Here, the reference field synchronization data is reference field synchronization data generated on the receiving side by an appointment on the transmitting / receiving side.

이때 상기 제1 CIR 추정기(3706)는 일 실시예로 LS 방식으로 CIR을 추정한다. 상기 LS 추정 방식은 기지 데이터 구간 동안 채널을 거쳐 온 기지 데이터와 수신단에서 이미 알고있는 기지 데이터와의 상호 상관값(Cross Correlation Value) p를 구하고, 상기 기지 데이터의 자기 상관행렬 R을 구한다. 그리고 나서 수신 데이터와 원 기지 데이터와의 상호 상관값인 p속에 존재하는 자기 상관 부분을 제거하도록

Figure 112008088968393-pat00037
의 행렬 연산을 하여 전송 채널의 임펄스 응답을 추정하는 방법이다.In this case, the first CIR estimator 3706 estimates the CIR by the LS method according to an embodiment. The LS estimation method obtains a cross correlation value p between known data transmitted through a channel and known data known to a receiver during a known data interval, and obtains an autocorrelation matrix R of the known data. Then remove the autocorrelation portion that exists in p that is the cross-correlation between the received data and the original data.
Figure 112008088968393-pat00037
It is a method of estimating the impulse response of a transmission channel by performing a matrix operation of.

상기 CIR 보간부(3707)는 상기 제1 CIR 추정기(3706)로부터 CIR을 입력받아 상기 기지 데이터 구간에서는 추정된 CIR을 출력하고, 기지 데이터와 기지 데이터 사이의 구간에서는 상기 CIR을 기 설정된 보간법으로 보간한 후 보간된 CIR을 출력한다. 이때 상기 기 설정된 보간법은 어떤 함수에서 알려진 데이터를 이용하여 알려지지 않은 지점의 데이터를 추정하는 방법이다. 가장 간단한 일례로 선형 보 간(Linear Interpolation)법이 있으며, 상기 선형 보간법은 수많은 보간법 중 가장 간단한 예이다. 본 발명은 상기한 방법 외에 여러 가지 다양한 보간 기법을 사용할 수 있으므로 본 발명은 상기된 예로 제한되지 않은 것이다. The CIR interpolator 3707 receives the CIR from the first CIR estimator 3706, outputs an estimated CIR in the known data section, and interpolates the CIR by a predetermined interpolation method in the section between the known data and the known data. Then output the interpolated CIR. In this case, the preset interpolation method is a method of estimating data at an unknown point using known data in a function. The simplest example is a linear interpolation method, which is the simplest of many interpolation methods. The present invention is not limited to the examples described above since the present invention may employ various other interpolation techniques in addition to the above methods.

즉, 상기 CIR 보간부(3707)는 입력되는 CIR을 이용하여 기지 데이터가 없는 구간의 CIR을 기 설정된 보간법으로 추정하여 선택부(3711)로 출력한다. That is, the CIR interpolator 3707 estimates the CIR of the section without known data by using a preset CIR by using a preset interpolation method and outputs the CIR to the selector 3711.

상기 제2 CIR 추정기(3710)는 등화기 입력 데이터와 선택부(3709)의 출력 데이터를 이용하여 CIR을 추정한 후 선택부(3711)로 출력한다. 이때 상기 CIR은 일 실시예로 LMS 방식으로 추정한다. 상기 LMS 추정 방식에 대해서는 뒤에서 상세히 설명한다.The second CIR estimator 3710 estimates the CIR using the equalizer input data and the output data of the selector 3709 and outputs the CIR to the selector 3711. At this time, the CIR is estimated by the LMS method according to an embodiment. The LMS estimation method will be described in detail later.

상기 선택부(3711)는 A 영역에서는 상기 CIR 보간부(3707)에서 출력되는 CIR을 선택하고, B,C 영역에서는 상기 제2 CIR 추정기(3710)에서 출력되는 CIR을 선택하여 제2 FFT부(3712)로 출력한다. 상기 제2 FFT부(3712)는 입력되는 CIR을 주파수 영역으로 변환하여 계수 연산기(3713)로 출력한다. 상기 계수 연산기(3713)는 입력되는 주파수 영역의 CIR을 이용하여 등화 계수를 계산하여 왜곡 보상부(3703)로 출력한다. 이때 상기 계수 연산기(3713)는 상기 주파수 영역의 CIR로부터 평균 자승 에러를 최소화(Minimum Mean Square Error : MMSE)하는 주파수 영역의 등화 계수를 구하는 것을 일 실시예로 한다. The selector 3711 selects the CIR output from the CIR interpolator 3707 in the area A, and selects the CIR output from the second CIR estimator 3710 in the B and C areas, thereby selecting a second FFT unit ( 3712). The second FFT unit 3712 converts the input CIR into a frequency domain and outputs the converted CIR to the coefficient calculator 3713. The coefficient calculator 3713 calculates an equalization coefficient by using the CIR of the input frequency domain and outputs the equalization coefficient to the distortion compensator 3703. In this embodiment, the coefficient calculator 3713 obtains an equalization coefficient of a frequency domain that minimizes a mean square error (MMSE) from the CIR of the frequency domain.

이때 상기 제2 CIR 추정기(3710)는 B,C 영역의 초기 CIR로 상기 A 영역에서 구한 CIR을 사용할 수 있다. 예를 들어, 상기 A 영역의 마지막 CIR 값을 C 영역의 초기 CIR 값으로 사용할 수 있다. 이렇게 하면 B,C 영역에서의 수렴 속도를 단축할 수 있다. In this case, the second CIR estimator 3710 may use the CIR obtained in the A region as the initial CIR of the B and C regions. For example, the last CIR value of the A region may be used as the initial CIR value of the C region. This can shorten the convergence speed in the B and C areas.

상기 제2 CIR 추정기(3710)에서 LMS 방식으로 CIR을 추정하는 기본 원리는 어떤 미지의 전송 채널의 출력을 입력받아 이 채널의 출력값과 적응 필터(Adaptive Filter)의 출력값의 차이가 최소화가 되도록 적응 필터의 계수값을 갱신해가는 것이다. 즉 등화기 입력 데이터와 상기 제2 CIR 추정기(3710) 내 적응 필터(도시되지 않음)의 출력값이 같아지도록 상기 적응 필터의 계수 값을 갱신해가며, FFT 주기마다 필터 계수를 CIR로 출력한다. The basic principle of estimating the CIR by the LMS method in the second CIR estimator 3710 is an adaptive filter to receive an output of an unknown transmission channel and minimize the difference between the output value of the channel and the output value of the adaptive filter. It is to update the coefficient value of. That is, the coefficient value of the adaptive filter is updated so that the equalizer input data and the output value of the adaptive filter (not shown) in the second CIR estimator 3710 are the same, and the filter coefficient is output to the CIR every FFT period.

도 56을 보면, 제2 CIR 추정기(3710)는 선택부(3709)의 출력 데이터

Figure 112008088968393-pat00038
를 순차적으로 지연시키는 지연기(T), 상기 각 지연기(T)의 해당 출력 데이터와 에러 데이터 e(n)를 곱하는 곱셈기, 및 상기 각 곱셈기의 해당 출력에 의해 계수가 갱신되는 계수 갱신부가 탭 수만큼 구비되어 구성된다. 설명의 편의를 위해 상기 탭 수만큼 구비되는 곱셈기들을 제1 곱셈부라 한다. 또한 상기 선택부(3709)의 출력 데이터 및 각 지연기(T)의 출력 데이터(마지막 지연기의 출력 데이터는 제외됨)를 각 계수 갱신부의 해당 출력 데이터와 곱하는 곱셈기가 탭 수만큼 더 구비되어 구성되며, 설명의 편의를 위해 상기 곱셈기들을 제2 곱셈부라 한다. 또한 상기 제2 곱셈부의 각 곱셈기의 출력 데이터를 모두 더하여 등화기 입력의 추정값
Figure 112008088968393-pat00039
으로 출력하는 가산기와, 상기 가산기의 출력
Figure 112008088968393-pat00040
과 등화기 입력 데이터 y(n)와의 차를 에러 데이터 e(n)로 출력하는 감산기를 더 포함하여 구성된다. Referring to FIG. 56, the second CIR estimator 3710 may output data of the selector 3709.
Figure 112008088968393-pat00038
Delay delay T for sequentially delaying, a multiplier for multiplying the corresponding output data of the respective delayers T and the error data e (n), and a coefficient updating unit for updating coefficients by corresponding outputs of the respective multipliers. It is provided with a number. For convenience of description, multipliers provided by the number of taps are referred to as first multipliers. In addition, a multiplier for multiplying the output data of the selector 3709 and the output data of each delayer T (except the output data of the last delayer) with the corresponding output data of each coefficient updater is further provided by the number of taps. For convenience of description, the multipliers are called second multipliers. In addition, the estimated value of the equalizer input by adding up the output data of each multiplier of the second multiplier.
Figure 112008088968393-pat00039
An adder for outputting the output of the adder
Figure 112008088968393-pat00040
And a subtractor for outputting the difference from the equalizer input data y (n) as the error data e (n).

이와 같이 구성된 도 56을 보면, 일반 데이터 구간에서는 등화된 데이터의 결정값이, 기지 데이터 구간에서는 기지 데이터가 제2 CIR 추정기(3710) 내 첫 번째 지연기와 제2 곱셈부의 첫 번째 곱셈기로 입력된다. Referring to FIG. 56 configured as described above, the determined value of the equalized data is input to the first delay unit and the first multiplier of the second multiplier in the second CIR estimator 3710 in the known data section.

상기 입력 데이터

Figure 112008088968393-pat00041
는 탭 수만큼 직렬 연결된 지연기(T)를 통해 순차적으로 지연된다. 상기 각 지연기의 출력 데이터와 에러 데이터 e(n)는 제1 곱셈부의 해당 곱셈기에서 곱해져 해당 계수 갱신부 내 계수를 갱신한다. 각 계수 갱신부에서 갱신된 계수는 제2 곱셈부의 해당 곱셈기에서 입력 데이터
Figure 112008088968393-pat00042
및 마지막 지연기를 제외한 각 지연기의 출력 데이터와 곱해져 가산기로 입력된다. 상기 가산기는 상기 제2 곱셈부의 각 곱셈기의 출력 데이터를 모두 더하여 등화기 입력의 추정값
Figure 112008088968393-pat00043
으로 감산기에 출력한다. 상기 감산기는 상기 추정값
Figure 112008088968393-pat00044
과 등화기 입력 데이터 y(n)와의 차를 에러 데이터 e(n)로 하여 제1 곱셈부의 각 곱셈기로 출력한다. 이때 에러 데이터 e(n)는 지연기(T)를 통해 제1 곱셈부의 각 곱셈기로 출력된다.The input data
Figure 112008088968393-pat00041
Delay is sequentially delayed through the serially connected retarder T by the number of taps. The output data of each delay unit and the error data e (n) are multiplied in the corresponding multiplier of the first multiplier to update the coefficients in the coefficient update unit. The coefficient updated in each coefficient updating unit is input data in the corresponding multiplier of the second multiplication unit.
Figure 112008088968393-pat00042
And multiplied by the output data of each delayer except the last delayer and input to the adder. The adder adds all output data of each multiplier of the second multiplier to estimate an equalizer input value.
Figure 112008088968393-pat00043
Output to the subtractor. The subtractor is the estimated value
Figure 112008088968393-pat00044
The difference from the equalizer input data y (n) is used as the error data e (n) and output to each multiplier of the first multiplier. At this time, the error data e (n) is output to each multiplier of the first multiplier through the delay T.

그리고 전술한 과정을 통해 필터의 계수를 계속 갱신해가며, FFT 주기마다 각 계수 갱신부의 출력이 제2 CIR 추정기(3710)의 CIR 출력이 된다. The coefficient of the filter is continuously updated through the above-described process, and the output of each coefficient updating unit becomes the CIR output of the second CIR estimator 3710 for each FFT period.

지금까지 본 발명에서 설명한 데이터 그룹 내 각 영역에서 채널 등화를 위해 CIR을 구하는 방법들은 본 발명의 이해를 돕기 위한 실시예들이며, 이러한 방법들은 보다 넓고 다양하게 응용될 수 있으므로 본 발명은 상기 실시예로 제시한 것에 제한되지 않을 것이다. Until now, the methods for obtaining CIR for channel equalization in each region in the data group described in the present invention are embodiments to aid the understanding of the present invention. It will not be limited to what is presented.

수신 시스템 내 블록 복호기Block Decoder in Receiving System

한편 상기 등화기(1003)에서 채널 등화된 후 블록 복호기(1005)로 입력되는 데이터가 송신측에서 블록 부호화와 트렐리스 부호화가 모두 수행된 데이터(예를 들어, RS 프레임 내 데이터, 시그널링 정보 데이터)이면 송신측의 역으로 트렐리스 복호 및 블록 복호가 수행되고, 블록 부호화는 수행되지 않고 트렐리스 부호화만 수행된 데이터(예를 들어, 메인 서비스 데이터)이면 트렐리스 복호만 수행된다. On the other hand, data obtained by channel equalization in the equalizer 1003 and then input to the block decoder 1005 is data in which both block coding and trellis coding are performed on the transmitting side (for example, data in RS frames and signaling information data). ), The trellis decoding and the block decoding are performed in the reverse side of the transmitting side. If the trellis decoding is performed without the block encoding (for example, main service data), only the trellis decoding is performed.

상기 블록 복호기(1005)에서 트렐리스 복호 및 블록 복호된 데이터는 데이터 디포맷터(1006)로 출력된다. 즉, 상기 블록 복호기(1005)는 데이터 그룹 내 데이터들 중 기지 데이터, 트렐리스 초기화 데이터, MPEG 헤더 그리고 전송 시스템의 RS 부호기/비체계적 RS 부호기 또는 비체계적 RS 부호기에서 부가된 RS 패리티 데이터들을 제거하고 데이터 디포맷터(1006)로 출력한다. 여기서 데이터 제거는 블록 복호전에 이루어질 수도 있고, 블록 복호 중이나 블록 복호 후에 이루어질 수도 있다. 만일 송신측에서 시그널링 정보를 데이터 그룹에 포함하여 전송한다면, 상기 시그널링 정보는 데이터 디포맷터(1006)로 출력된다. The trellis decoded and block decoded data by the block decoder 1005 is output to the data deformatter 1006. That is, the block decoder 1005 removes known data, trellis initialization data, MPEG headers, and RS parity data added from an RS encoder / unstructured RS encoder or an unstructured RS encoder among data in the data group. The data is output to the data deformatter 1006. Here, data removal may be performed before block decoding, or may be performed during or after block decoding. If the transmitting side includes signaling information in the data group and transmits the signaling information, the signaling information is output to the data deformatter 1006.

한편 상기 블록 복호기(1005)에서 트렐리스 복호된 데이터는 데이터 디인터리버(1009)로 출력된다. 이때 상기 블록 복호기(1005)에서 트렐리스 복호되어 데이터 디인터리버(1009)로 출력되는 데이터는 메인 서비스 데이터뿐만 아니라, RS 프레임 내 데이터, 시그널링 정보도 포함될 수 있다. 또한 송신측에서 전처리기(230) 이후에 부가되는 RS 패리티 데이터도 상기 데이터 디인터리버(1009)로 출력되는 데 이터에 포함될 수 있다. Meanwhile, the trellis decoded data by the block decoder 1005 is output to the data deinterleaver 1009. In this case, the data that is trellis-decoded by the block decoder 1005 and output to the data deinterleaver 1009 may include not only main service data but also data in RS frames and signaling information. In addition, RS parity data added after the preprocessor 230 may be included in the data output to the data deinterleaver 1009.

다른 실시예로, 송신측에서 블록 부호화는 수행되지 않고, 트렐리스 부호화만 수행된 데이터는 상기 블록 복호기(1005)에서 그대로 바이패스되어 데이터 디인터리버(1009)로 출력될 수도 있다. 이 경우 상기 데이터 디인터리버(1009) 전단에 트렐리스 복호기를 구비하여야 한다. In another embodiment, the block encoding is not performed at the transmitting side, and the data having only trellis encoding may be bypassed in the block decoder 1005 and output to the data deinterleaver 1009. In this case, a trellis decoder must be provided in front of the data deinterleaver 1009.

상기 블록 복호기(1005)는 입력되는 데이터가 송신측에서 블록 부호화는 수행되지 않고 트렐리스 부호화만 수행된 데이터라면, 입력 데이터에 대해 비터비 복호를 수행하여 하드 판정값을 출력하거나, 또는 소프트 판정값을 하드 판정하고 그 결과를 출력할 수도 있다. The block decoder 1005 outputs a hard decision value by performing Viterbi decoding on the input data, or outputting a hard decision value if the input data is data in which only the trellis encoding is performed without block encoding at the transmitting side. You can also hard determine the value and output the result.

상기 블록 복호기(1005)는 입력되는 데이터가 송신측에서 블록 부호화와 트렐리스 부호화가 모두 수행된 데이터라면, 입력 데이터에 대하여 소프트 판정값을 출력한다. The block decoder 1005 outputs a soft decision value with respect to the input data if the input data is data in which both block coding and trellis coding are performed at the transmitting side.

즉, 상기 블록 복호기(1005)는 입력되는 데이터가 송신측에서 블록 처리기(303)에서 블록 부호화가 수행되고, 트렐리스 부호화부(256)에서 트렐리스 부호화가 수행된 데이터라면, 송신측의 역으로 트렐리스 복호와 블록 복호를 수행한다. 이때 송신측의 블록 처리기는 외부 부호기로 볼 수 있고, 트렐리스 부호화부는 내부 부호기로 볼 수 있다. That is, if the input data is block encoding performed by the block processor 303 at the transmitting side and trellis encoding is performed by the trellis coding unit 256, the block decoder 1005 is configured to transmit the data. Conversely, trellis decoding and block decoding are performed. At this time, the block processor on the transmitting side can be seen as an external encoder, and the trellis encoder can be seen as an internal encoder.

이러한 연접 부호의 복호시에 외부 부호의 복호 성능을 최대한 발휘하기 위해서는 내부 부호의 복호기에서 소프트 판정값을 출력하는 것이 좋다. In order to maximize the decoding performance of the outer code at the time of decoding the concatenated code, it is preferable to output the soft decision value from the decoder of the inner code.

도 57은 본 발명에 따른 블록 복호기(1005)의 일 실시예를 보인 상세 블록도 로서, 피드백 제어기(4010), 입력 버퍼(4011), 트렐리스 복호부(4012), 심볼-바이트 변환기(4013), 외부 블록 추출기(Outer Block Extractor)(4014), 피드백 디포맷터(4015), 심볼 디인터리버(4016), 외부 심볼 매퍼(Outer Symbol Mapper)(4017), 심볼 복호기(4018), 내부 심볼 매퍼(Inner Symbol Mapper)(4019), 심볼 인터리버(4020), 피드백 포맷터(4021), 출력 버퍼(4022)를 포함할 수 있다. 송신측과 마찬가지로, 상기 트렐리스 복호부(4012)는 내부 복호기로 볼 수 있고, 심볼 복호기(4018)는 외부 복호기로 볼 수 있다. FIG. 57 is a detailed block diagram illustrating an embodiment of a block decoder 1005 according to the present invention, and includes a feedback controller 4010, an input buffer 4011, a trellis decoder 4012, and a symbol-byte converter 4013. ), Outer block extractor 4014, feedback deformatter 4015, symbol deinterleaver 4016, outer symbol mapper 4017, symbol decoder 4018, internal symbol mapper ( An inner symbol mapper 4019, a symbol interleaver 4020, a feedback formatter 4021, and an output buffer 4022 may be included. Like the transmitting side, the trellis decoder 4012 can be viewed as an internal decoder, and the symbol decoder 4018 can be viewed as an external decoder.

상기 입력 버퍼(4011)는 등화기(1003)에서 채널 등화되어 출력되는 심볼값 들중에서 블록 부호화된 모바일 서비스 데이터 심볼(시그널링 정보에 해당하는 심볼, RS 프레임 부호화시 부가된 RS 패리티 데이터 심볼, CRC 데이터 심볼들을 포함)값들을 일시 저장하며, 저장된 심볼값들을 터보 복호를 위한 터보 블록 크기(TBL)로 트렐리스 복호부(4012)에 M번 반복 출력한다. The input buffer 4011 is a block coded mobile service data symbol (a symbol corresponding to signaling information, an RS parity data symbol added at the time of RS frame encoding, and CRC data) among symbol values that are channel equalized and output from the equalizer 1003. The symbol values are temporarily stored, and the stored symbol values are repeatedly output M times to the trellis decoder 4012 at the turbo block size TBL for turbo decoding.

여기서 상기 입력 버퍼(4011)의 크기는 터보 복호를 위한 블록 크기(TBL)보다 크거나 같다. 상기 터보 블록 크기(TBL)는 블록 처리기 내의 심볼 인터리버의 블록 길이(BK)보다 크거나 같다. 상기 입력 버퍼(4011)는 블록 부호화 심볼값들 중간에 일부 부호화가 수행되지 않은 심볼값이 존재할 경우, 편의상 동일하게 저장하여 출력할 수도 있다. The size of the input buffer 4011 is greater than or equal to the block size TBL for turbo decoding. The turbo block size TBL is greater than or equal to the block length BK of the symbol interleaver in the block processor. The input buffer 4011 may store and output the same for convenience when there is a symbol value in which some encoding is not performed among the block encoded symbol values.

이때 입력 버퍼(4011)의 입력 데이터는 심볼 인터리버(403)에서 한번에 인터리빙된 블록 길이(BK)의 심볼값들을 포함하여야 하므로, 상기 TBL의 길이는 BK보다 크거나 같다. 상기 M은 피드백 제어기(4010)에서 미리 정한 터보 복호의 반복 횟수 이다. 즉, 상기 입력 버퍼(4011)는 적어도 터보 복호를 위한 블록 크기(TBL)의 심볼값을 저장하며, 상기 터보 복호를 위한 블록 크기(TBL)의 심볼값들은 터보 복호 과정이 진행되는 동안 순환 횟수만큼 반복적으로 트렐리스 복호부(4012)로 출력된다. In this case, since the input data of the input buffer 4011 should include symbol values of the block length BK interleaved in the symbol interleaver 403 at one time, the length of the TBL is greater than or equal to BK. M is a repetition number of turbo decoding predetermined by the feedback controller 4010. That is, the input buffer 4011 stores at least a symbol value of a block size TBL for turbo decoding, and the symbol values of the block size TBL for turbo decoding are repeated as many times as the turbo decoding process is performed. It is repeatedly output to the trellis decoder 4012.

또한 상기 입력 버퍼(4011)는 등화기(1003)에서 채널 등화되어 출력되는 심볼값 중에 모바일 서비스 데이터 심볼(시그널링 정보에 해당하는 심볼, RS 프레임 부호화시 부가된 RS 패리티 데이터 심볼, CRC 데이터 심볼들을 포함)값이 전혀 포함되지 않은 입력은 저장하지 않고 바이패스한다. 즉, 반복적인 터보 복호가 수행되지 않는 구간의 입력 심볼값에 대해서는 트렐리스 복호만 수행하므로 입력 버퍼(4011)는 상기 입력에 대해 저장 및 반복 출력 과정을 수행하지 않고 그대로 트렐리스 복호부(4012)로 입력시킨다. In addition, the input buffer 4011 includes a mobile service data symbol (a symbol corresponding to signaling information, an RS parity data symbol added during RS frame encoding, and a CRC data symbol) among symbol values output by channel equalization from the equalizer 1003. Bypass does not store input that does not contain any value. That is, since the trellis decoding is performed only on the input symbol value of the section in which the repetitive turbo decoding is not performed, the input buffer 4011 does not perform the storing and repetitive output process on the input. 4012).

상기 입력 버퍼(4011)의 저장, 반복, 및 출력은 피드백 제어기(4010)의 제어에 의해 이루어진다. The storage, repetition, and output of the input buffer 4011 is controlled by the feedback controller 4010.

상기 트렐리스 복호부(4012)는 상기 도 22의 12-way 트렐리스 부호기와 대응하기 위해서 12-way TCM(Trellis Coded Modulation) 복호기를 포함한다. 그리고 상기 12-way 트렐리스 부호기의 역과정으로 입력 심볼값에 대해 12-way 트렐리스 복호를 수행한다. The trellis decoder 4012 includes a 12-way Trellis Coded Modulation (TCM) decoder to correspond to the 12-way trellis encoder of FIG. 22. The 12-way trellis decoding is performed on the input symbol value in a reverse process of the 12-way trellis encoder.

즉, 상기 트렐리스 복호부(4012)는 입력 버퍼(4011)의 출력 심볼값과 피드백 포맷터(4021)의 소프트 판정값(soft-decision value)을 각각 TBL만큼 입력받아 각 심볼의 TCM 복호를 수행한다. That is, the trellis decoder 4012 receives the output symbol value of the input buffer 4011 and the soft-decision value of the feedback formatter 4021 by TBL to perform TCM decoding of each symbol. do.

이때, 상기 피드백 포맷터(4021)에서 출력되는 소프트 판정값들은 상기 피드백 제어기(4010)의 제어에 의해 상기 입력 버퍼(4011)에서 출력되는 TBL만큼의 심볼 위치와 일대일로 매칭되어 트렐리스 복호부(4012)로 입력된다. 즉, 상기 입력 버퍼(4011)에서 출력되는 심볼값과 터보 복호되어 입력되는 데이터는 해당 터보 블록 내 같은 위치끼리 매칭되어 트렐리스 복호부(4012)로 출력된다. 예를 들어, 상기 터보 복호된 데이터가 터보 블록 내 세 번째 심볼값이라면 상기 입력 버퍼(4011)에서 출력되는 터보 블록 내 세 번째 심볼값과 매칭되어 트렐리스 복호부(4012)로 출력된다. In this case, the soft determination values output from the feedback formatter 4021 are matched one-to-one with symbol positions corresponding to the TBL output from the input buffer 4011 by the control of the feedback controller 4010, and thus the trellis decoder ( 4012). That is, the symbol value output from the input buffer 4011 and the data decoded by turbo decoding are matched to the same position in the corresponding turbo block and output to the trellis decoder 4012. For example, if the turbo decoded data is the third symbol value in the turbo block, the turbo decoded data is matched with the third symbol value in the turbo block output from the input buffer 4011 and outputted to the trellis decoder 4012.

이를 위해 상기 피드백 제어기(4010)는 회귀적인 터보 복호가 이루어지는 동안 상기 입력 버퍼(4011)에서 해당 터보 블록 데이터를 저장하도록 제어하며, 지연 등을 통해 심볼 인터리버(4020)의 출력 심볼의 소프트 판정값(예를 들어, LLR)과 상기 출력 심볼의 블록 내 같은 위치에 해당하는 입력 버퍼(4011)의 심볼값이 일대일 매칭되어 해당 경로(way)의 TCM 복호기로 입력될 수 있도록 제어한다. 이때 블록 부호화된 심볼값이 아닌 경우, 터보 복호되지 않기 때문에 상기 피드백 포맷터(4021)에서 매칭되는 출력 위치에 널(null)을 입력한다. To this end, the feedback controller 4010 controls to store the corresponding turbo block data in the input buffer 4011 during recursive turbo decoding, and delays the soft decision value of the output symbol of the symbol interleaver 4020 (delay). For example, the LLR and the symbol value of the input buffer 4011 corresponding to the same position in the block of the output symbol are matched one-to-one so as to be input to the TCM decoder of the corresponding path. In this case, if the symbol value is not a block coded symbol, since it is not turbo decoded, null is input to a matching output position in the feedback formatter 4021.

이러한 과정이 터보 복호의 기 설정된 반복 횟수동안 진행되고 나면, 다음 터보 블록의 데이터가 입력 버퍼(4011)로부터 출력되어 상기 터보 복호 과정을 반복한다. After this process is performed for a predetermined number of iterations of turbo decoding, data of the next turbo block is output from the input buffer 4011 to repeat the turbo decoding process.

상기 트렐리스 복호부(4012)의 출력은 각 심볼을 구성하는 전송 비트의 신뢰도를 의미한다. 예를 들어 송신측의 트렐리스 부호화부(256)의 입력은 두 비트가 한 심볼이므로 한 비트의 '1'일 확률과 '0'일 확률간의 로그비(Log Likelihood Ratio ; LLR)를 상위비트와 하위비트에 대해 각각 출력(비트단위 출력)할 수 있다. 상기 LLR(Log Likelihood Ratio)이란 입력 비트가 1일 확률값과 0일 확률값의 비율에 대한 로그값을 의미한다. 또는 2비트 즉, 한 심볼이 "00", "01", "10", "11"이 될 확률값의 로그비(LLR)를 4개의 조합(00,01,10,11)에 대해 모두 출력(심볼단위 출력)할 수 있다. 이것은 결국 각 심볼의 전송 비트들의 신뢰도를 나타내는 소프트 판정값이다. 상기 트렐리스 복호부(4012) 내 각 TCM 복호기의 복호 알고리즘으로는 MAP(Maximum A posteriori Probability), SOVA(Soft-Out Viterbi Algorithm)등이 사용될 수 있다. The output of the trellis decoder 4012 means the reliability of the transmission bits constituting each symbol. For example, since the input of the trellis encoder 256 on the transmitting side has two bits as one symbol, the log bit between the probability that the bit is '1' and the probability that the bit is '0' is higher than the log likelihood ratio (LLR). Output (bitwise output) can be done for and low bit respectively. The Log Likelihood Ratio (LLR) refers to a log value of a ratio between a probability value of 1 and a probability value of 0. Or outputs the logarithm ratio (LLR) of the probability values that two bits, i.e., a symbol is "00", "01", "10", or "11", for all four combinations (00,01,10,11) Symbol unit output). This is, after all, a soft decision indicating the reliability of the transmission bits of each symbol. As a decoding algorithm of each TCM decoder in the trellis decoder 4012, MAP (Maximum A posteriori Probability), SOVA (Soft-Out Viterbi Algorithm), and the like may be used.

상기 트렐리스 복호부(4012)의 출력은 심볼-바이트 변환기(4013)와 외부 블록 추출기(4014)로 출력된다. The output of the trellis decoder 4012 is output to a symbol-byte converter 4013 and an external block extractor 4014.

상기 심볼-바이트 변환기(4013)는 상기 트렐리스 복호부(4012)에서 트렐리스 복호되어 출력되는 소프트 판정값을 하드 판정(hard-decision)한 후 4 심볼을 하나의 바이트 단위로 묶어 데이터 디인터리버(1009)로 출력한다. 즉, 상기 심볼-바이트 변환기(4013)는 트렐리스 복호부(4012)의 출력 심볼의 소프트 판정값에 대해 비트 단위의 하드 판정을 수행한다. 그러므로 상기 심볼-바이트 변환기(4013)에서 하드 판정되어 바이트 단위로 출력되는 데이터는 메인 서비스 데이터뿐만 아니라, 모바일 서비스 데이터, 기지 데이터, RS 패리티 데이터, MPEG 헤더 등이 포함된다. The symbol-byte converter 4013 hard-decisions the soft decision value output by trellis decoding by the trellis decoder 4012, and then combines four symbols into one byte unit to decode the data. Output to interleaver 1009. That is, the symbol-byte converter 4013 performs a hard decision in bits on the soft decision value of the output symbol of the trellis decoder 4012. Therefore, data hard-determined by the symbol-byte converter 4013 and output in byte units include not only main service data but also mobile service data, known data, RS parity data, and MPEG header.

상기 외부 블록 추출기(4014)는 상기 트렐리스 복호부(4012)의 소프트 판정값들 중 모바일 서비스 데이터 심볼(시그널링 정보에 해당하는 심볼, RS 프레임 부 호화시 부가된 RS 패리티 데이터, CRC 데이터 심볼들을 포함)에 해당하는 소프트 판정값들을 구분하여 피드백 디포맷터(4015)로 출력한다. The outer block extractor 4014 may extract a mobile service data symbol (a symbol corresponding to signaling information, RS parity data added during RS frame encoding, and CRC data symbols) among soft determination values of the trellis decoder 4012. And the soft decision values corresponding to the control unit are output to the feedback deformatter 4015.

상기 피드백 디포맷터(4015)는 송신측의 블록 처리기(303)의 출력 심볼이 트렐리스 부호화부(256)로 입력되는 중간 과정(예를 들어, 그룹 포맷터, 데이터 디인터리버, 패킷 포맷터, 패킷 다중화기, RS 부호기, 데이터 인터리버)에서 발생하는 모바일 서비스 데이터 심볼의 처리 순서 변화의 역과정으로 모바일 서비스 데이터 심볼의 소프트 판정 값의 처리 순서를 변경한 후 심볼 디인터리버(4016)로 출력한다. The feedback deformatter 4015 may perform an intermediate process (eg, a group formatter, a data deinterleaver, a packet formatter, and a packet multiplexing) in which an output symbol of the transmitting block processor 303 is input to the trellis encoder 256. The processing order of the soft decision value of the mobile service data symbol is reversed as a reverse process of the processing order change of the mobile service data symbol generated by the encoder, the RS encoder, and the data interleaver, and then output to the symbol deinterleaver 4016.

상기 심볼 디인터리버(4016)는 송신측의 심볼 인터리버(403)의 심볼 인터리빙의 역과정으로, 상기 피드백 디포맷터(4015)에서 순서가 변경되어 출력되는 데이터 심볼의 소프트 판정값에 대해 디인터리빙한다. 상기 심볼 디인터리버(4016)에서 디인터리빙시 사용되는 블록의 크기는 송신측의 심볼 인터리버(도 19 참조)의 실제 심볼의 인터리빙 크기(즉, BK)와 동일하며 이것은 터보 복호가 트렐리스 복호부(4012)와 심볼 복호기(4018) 간에 이루어지기 때문이다. The symbol deinterleaver 4016 is a reverse process of symbol interleaving of the symbol interleaver 403 on the transmitting side. The symbol deinterleaver 4016 deinterleaves the soft decision value of the data symbols outputted after the order is changed by the feedback deformatter 4015. The block size used for deinterleaving in the symbol deinterleaver 4016 is equal to the interleaving size (ie, BK) of the actual symbol of the symbol interleaver (see FIG. 19) of the transmitting side, which is a turbo decoder trellis decoder. This is because it is made between the 4012 and the symbol decoder 4018.

상기 심볼 디인터리버(4016)의 입력과 출력은 모두 소프트 판정값이며, 상기 디인터리빙된 소프트 판정값은 외부 심볼 매퍼(4017)로 출력된다. Both the input and output of the symbol deinterleaver 4016 are soft decision values, and the deinterleaved soft decision values are output to an external symbol mapper 4017.

상기 외부 심볼 매퍼(4017)는 송신측의 심볼 부호기(402)의 구성 및 부호율에 따라 그 동작이 달라질 수 있다. 예를 들어, 상기 심볼 부호기(402)에서 1/2 부호화되어 전송된 데이터라면 상기 외부 심볼 매퍼(4017)는 입력 데이터를 그대로 심볼 복호기(4018)로 출력한다. 다른 예로, 상기 심볼 부호기(402)에서 1/4 부호화 되어 전송된 데이터라면 심볼 복호기(4018)의 입력 형식에 맞게 입력 데이터를 변환하여 심볼 복호기(4018)로 출력한다. The operation of the external symbol mapper 4017 may vary depending on the configuration and code rate of the symbol encoder 402 on the transmitting side. For example, the external symbol mapper 4017 outputs the input data to the symbol decoder 4018 as it is data transmitted by being encoded by 1/2 of the symbol encoder 402. As another example, if the data is coded by the symbol encoder 402 and transmitted, the input data is converted to the symbol decoder 4018 according to the input format of the symbol decoder 4018.

상기 심볼 복호기(4018, 즉 외부 복호기)는 송신측의 심볼 부호기(402)의 역과정으로, 외부 심볼 매퍼(4017)의 출력에 대해 심볼 복호를 수행한다. 이때 상기 심볼 복호기(4018)에서는 2가지 소프트 판정값이 출력된다. 하나는 심볼 부호기(402)의 출력 심볼과 매칭되는 소프트 판정 값(이하, 제1 소프트 판정값이라 함)이고 다른 하나는 심볼 부호기(402)의 입력 비트와 매칭되는 소프트 판정 값(이하, 제2 소프트 판정값이라 함)이다. 상기 제1 소프트 판정값은 심볼 부호기(402)의 출력 심볼 즉, 두 비트의 신뢰도를 의미하며, 한 비트의 '1'일 확률과 '0'일 확률간의 로그비(LLR)를 심볼을 구성하는 상위비트와 하위비트에 대해 각각 출력(비트단위 출력)하거나, 2비트가 "00", "01", "10", "11"이 될 확률값의 로그비(LLR)를 모든 조합에 대해 출력(심볼단위 출력)할 수 있다. 상기 제1 소프트 판정값은 내부 심볼 매퍼(4019)와 심볼 인터리버(4020), 및 피드백 포맷터(4021)를 통해 트렐리스 복호부(4012)로 피드백된다. 상기 제2 소프트 판정값은 송신측의 심볼 부호기(402)의 입력 비트의 신뢰도를 의미하며, 한 비트의 '1'일 확률과 '0'일 확률간의 로그비(LLR)로 표현되어 외부 버퍼(4022)로 출력된다. 상기 심볼 복호기(4018)의 복호 알고리즘으로는 MAP(Maximum A posteriori Probability), SOVA(Soft-Out Viterbi Algorithm)등이 사용될 수 있다. The symbol decoder 4018 (that is, the external decoder) performs a symbol decoding on the output of the external symbol mapper 4017 as a reverse process of the symbol encoder 402 on the transmitting side. At this time, the symbol decoder 4018 outputs two soft determination values. One is a soft decision value (hereinafter referred to as a first soft decision value) that matches the output symbol of the symbol encoder 402 and the other is a soft decision value (hereinafter referred to as a second soft decision value) that matches the input bit of the symbol encoder 402. Soft judgment value). The first soft decision value represents an output symbol of the symbol encoder 402, that is, reliability of two bits, and constitutes a log ratio (LLR) between a probability of '1' and a probability of '0' of one bit. Outputs the log ratio (LLR) of the probability value for each of the upper and lower bits (bitwise output), or the probability that two bits will be "00", "01", "10", or "11". Symbol unit output). The first soft decision value is fed back to the trellis decoder 4012 through an internal symbol mapper 4019, a symbol interleaver 4020, and a feedback formatter 4021. The second soft decision value represents the reliability of the input bit of the symbol encoder 402 on the transmitting side, and is expressed as a log ratio (LLR) between a probability of '1' and a probability of '0' of one bit, thereby representing an external buffer ( 4022). As a decoding algorithm of the symbol decoder 4018, MAP (Maximum A posteriori Probability), SOVA (Soft-Out Viterbi Algorithm), and the like may be used.

상기 심볼 복호기(4018)에서 출력되는 제1 소프트 판정값은 내부 심볼 매퍼(4019)로 입력된다. 상기 내부 심볼 매퍼(4019)는 제1 소프트 판정값을 트렐리스 복호부(4012)의 입력 형식에 맞게 변환하여 심볼 인터리버(4020)로 출력한다. 상기 내부 심볼 매퍼(4019)도 송신측의 심볼 부호기(402)의 구조 및 부호율에 따라 그 동작이 달라질 수 있다. The first soft decision value output from the symbol decoder 4018 is input to an internal symbol mapper 4019. The internal symbol mapper 4019 converts the first soft decision value according to the input format of the trellis decoder 4012 and outputs the converted soft signal to the symbol interleaver 4020. The operation of the internal symbol mapper 4019 may vary according to the structure and code rate of the symbol encoder 402 on the transmitting side.

다음은 송신측의 심볼 부호기(402)가 1/4 부호기로 동작할 때, 외부 심볼 매퍼(4017)와 내부 심볼 매퍼(4019)의 상세 동작을 도 17a 내지 도 17c를 참조하여 설명하기로 한다. Next, detailed operations of the outer symbol mapper 4017 and the inner symbol mapper 4019 when the transmitting symbol encoder 402 operates as a quarter encoder will be described with reference to FIGS. 17A to 17C.

일 실시예로, 심볼 부호기가 도 17a와 같이 구성되어, 1/4 외부 부호기(411)에서 하나의 비트(U)에 대해 부호화하여 4개의 비트(u0,u1,u2,u3)를 출력하고, 병/직렬 변환기(412)를 통해 4비트 즉, 2 심볼을 다시 한 심볼씩 2번 전송한다고 하자. 설명의 편의를 위해 먼저 출력되는 심볼을 홀수 심볼이라 하고, 두 번째 출력되는 심볼을 짝수 심볼이라 하기로 한다. In an embodiment, the symbol encoder is configured as shown in FIG. 17A, and the fourth outer encoder 411 encodes one bit U to output four bits u0, u1, u2, and u3. Assume that 4 bits, that is, 2 symbols, are transmitted twice by one symbol through the parallel / serial converter 412. For convenience of explanation, the first output symbol will be called an odd symbol, and the second output symbol will be called an even symbol.

이때 상기 외부 심볼 매퍼(4017)와 내부 심볼 매퍼(4019)의 입/출력 단위가 심볼 단위라면, 상기 외부 심볼 매퍼(4017)에서 심볼 단위로 출력할 소프트 판정값은 16가지(24 = 16)이다. 상기 외부 심볼 매퍼(4017)에서 출력할 16가지(24 = 16)의 소프트 판정값들 중 예를 들어, s=(1, 0, 0, 1)의 소프트 판정값은 입력된 홀수 심볼 m0=(1, 0)의 소프트 판정값과 짝수 심볼 m1=(0, 1)의 소프트 판정값을 합하여 계산되고, 이 값은 심볼 복호기(4018)로 입력된다. In this case, if the input / output unit of the external symbol mapper 4017 and the internal symbol mapper 4019 is a symbol unit, there are 16 soft decision values to be output in symbol units in the external symbol mapper 4017 (2 4 = 16). to be. Of the 16 soft decision values (2 4 = 16) to be output from the external symbol mapper 4017, for example, s = (1, 0, 0, 1) soft decision value is the input odd symbol m 0. The soft decision value of = (1, 0) and the soft decision value of even symbol m 1 = (0, 1) are calculated and added to the symbol decoder 4018.

그리고 상기 내부 심볼 매퍼(4019)에서 심볼 단위로 출력할 소프트 판정값은 4가지((22 = 4)이다. 상기 내부 심볼 매퍼(4019)의 4가지 출력 중에서 예를 들어, 홀수 심볼 m0=(1, 1)의 소프트 판정값은 심볼 복호기(4018)의 출력 심볼들 s=(1, 1, X, X)의 소프트 판정값 중 가장 큰 값을 취하여 구해진다. 그리고 짝수 심볼 m0=(0, 0)의 소프트 판정값은 심볼 복호기(4018)의 출력 심볼들 s=(X, X, 0, 0)의 소프트 판정값 중 가장 큰 값을 취하여 구해진다. 여기에서 'X'는 1, 0 중에서 임의의 하나이다. 상기 내부 심볼 매퍼(4019)의 출력은 심볼 인터리버(4020)로 제공된다. In addition, the soft decision values to be output in symbol units are 4 ((2 2 = 4) in the internal symbol mapper 4019. Of the four outputs of the internal symbol mapper 4019, for example, an odd symbol m 0 = The soft decision value of (1, 1) is obtained by taking the largest value of the soft decision values of the output symbols s = (1, 1, X, X) of the symbol decoder 4018. The even symbol m 0 = ( The soft decision value of 0, 0) is obtained by taking the largest value among the soft decision values of the output symbols s = (X, X, 0, 0) of the symbol decoder 4018. Here, 'X' is 1, Any one of 0. The output of the inner symbol mapper 4019 is provided to a symbol interleaver 4020.

한편 상기 외부 심볼 매퍼(4017)와 내부 심볼 매퍼(4019)의 입/출력 단위가 비트 단위라면, 상기 외부 심볼 매퍼(4017)에서 비트 단위로 출력할 소프트 판정값은 4가지이다. On the other hand, if the input / output units of the external symbol mapper 4017 and the internal symbol mapper 4019 are in bit units, there are four soft decision values to be output in bit units in the external symbol mapper 4017.

즉, 상기 외부 심볼 매퍼(4017)에서는 2개의 홀수 입력 비트의 소프트 판정값(즉, 홀수 입력 심볼을 구성하는 상위비트와 하위비트에 대한 각각의 소프트 판정값)과 2개의 짝수 입력 비트의 소프트 판정값(즉, 짝수 입력 심볼을 구성하는 상위비트와 하위비트에 대한 각각의 소프트 판정값)을 심볼 복호기(4018)로 동시에 출력한다. 그리고 상기 내부 심볼 매퍼(4019)에서도 상기 심볼 복호기(4018)에서 제공받는 4개의 입력에 대해, 2개의 홀수 출력 비트의 소프트 판정값(즉, 심볼 복호기(4018)의 홀수 출력 심볼을 구성하는 상위비트와 하위비트에 대한 각각의 소프트 판정값)과 2개의 짝수 출력 비트의 소프트 판정값(즉, 심볼 복호기(4018)의 짝수 출력 심볼을 구성하는 상위비트와 하위비트에 대한 각각의 소프트 판정값)을 구분하여 심볼 인터리버(4020)로 출력한다. That is, in the external symbol mapper 4017, a soft decision value of two odd input bits (that is, each soft decision value for the upper and lower bits constituting the odd input symbol) and two even input bits are soft decision. A value (that is, each soft decision value for the upper and lower bits constituting the even input symbol) is simultaneously output to the symbol decoder 4018. In addition, in the internal symbol mapper 4019, soft decision values of two odd output bits (that is, high order bits constituting the odd output symbols of the symbol decoder 4018) for four inputs provided by the symbol decoder 4018. And each soft decision value for the lower bit) and the soft decision value for the two even output bits (i.e., each soft decision value for the upper and lower bits constituting the even output symbol of the symbol decoder 4018). The code is divided and output to the symbol interleaver 4020.

즉, 도 17a와 같이 심볼 부호화가 이루어진 경우, 16가지 심볼에 대한 LLR을 입력받아 심볼 복호 후 16가지 심볼에 대한 LLR을 제1 소프트 판정값으로 출력할 수 있다. 또는 4 비트에 대한 LLR을 입력받아 심볼 복호 후 4 비트에 대한 LLR을 제1 소프트 판정값으로 출력할 수 있다. That is, when symbol encoding is performed as shown in FIG. 17A, the LLRs for the 16 symbols may be output as the first soft decision value after receiving the LLRs for the 16 symbols. Alternatively, the LLR for 4 bits may be output as the first soft decision value after receiving the LLR for 4 bits.

다른 실시예로, 심볼 부호기가 도 17b와 같이 구성되어, 1/2 외부 부호기(421)에서 하나의 비트(U)에 대해 부호화하여 2개의 비트(u0,u1)를 출력하고, 반복기(422)를 통해 한번 반복하여 2비트 즉, 한 심볼을 2번 전송한다고 하자. 설명의 편의를 위해 먼저 출력되는 심볼을 홀수 심볼이라 하고, 두 번째 출력되는 심볼을 짝수 심볼이라 하기로 한다. In another embodiment, the symbol encoder is configured as shown in FIG. 17B, and the half outer encoder 421 is encoded for one bit U to output two bits u0 and u1, and the repeater 422 is used. Let's say that we transmit two bits, i.e., a symbol twice, over and over. For convenience of explanation, the first output symbol will be called an odd symbol, and the second output symbol will be called an even symbol.

이때 상기 외부 심볼 매퍼(4017)와 내부 심볼 매퍼(4019)의 입/출력 단위가 심볼 단위라면, 상기 외부 심볼 매퍼(4017)에서 심볼 단위로 출력할 소프트 판정값은 4가지(22 = 4)이다. 상기 4가지 소프트 판정값들 중 예를 들어 s=(1, 0)의 소프트 판정값은 입력된 홀수 심볼 m0=(1, 0)의 소프트 판정값과 짝수 심볼 m1=(1, 0)의 소프트 판정값을 합하여 계산되고, 이 값은 심볼 복호기(4018)로 제공된다. 상기 내부 심볼 매퍼(4019)에서 출력할 소프트 판정값도 4가지(22 = 4)이며, 상기 4가지 소프트 판정값들 중에서, 예를 들어 홀수 심볼 m0=(1, 1)과 짝수 심볼 m1=(1, 1)의 소프트 판정값은 심볼 복호기(4018)의 입력 심볼 s=(1, 1)의 소프트 판정값이 되며, 이 소프트 판정값은 심볼 인터리버(4020)로 출력된다. In this case, if the input / output unit of the external symbol mapper 4017 and the internal symbol mapper 4019 is a symbol unit, there are four soft decision values to be output in symbol units in the external symbol mapper 4017 (2 2 = 4). to be. Of the four soft decision values, for example, the soft decision value of s = (1, 0) is equal to the soft decision value of the input odd symbol m 0 = (1, 0) and the even symbol m 1 = (1, 0). Is calculated by summing up the soft decision value of &lt; RTI ID = 0.0 &gt;,&lt; / RTI &gt; There are also four soft determination values (2 2 = 4) to be output from the internal symbol mapper 4019. Among the four soft determination values, for example, odd symbols m 0 = (1, 1) and even symbols m The soft decision value of 1 = (1, 1) becomes the soft decision value of the input symbol s = (1, 1) of the symbol decoder 4018, and this soft decision value is output to the symbol interleaver 4020.

한편 상기 외부 심볼 매퍼(4017)와 내부 심볼 매퍼(4019)의 입/출력 단위가 비트 단위라면, 상기 외부 심볼 매퍼(4017)에서 출력할 소프트 판정값은 2개 즉, 상위비트와 하위비트에 대한 각각의 소프트 판정값이다. 상기 상위 비트에 대한 소프트 판정값은 홀수 입력의 상위 비트에 대한 소프트 판정값과 짝수 입력의 상위 비트에 대한 소프트 판정값을 합하여 구해진다. 또한 상기 하위 비트에 대한 소프트 판정값은 홀수 입력의 하위 비트에 대한 소프트 판정값과 짝수 입력의 하위 비트에 대한 소프트 판정값을 합하여 구해진다. On the other hand, if the input / output units of the external symbol mapper 4017 and the internal symbol mapper 4019 are in bit units, the soft decision values to be output by the external symbol mapper 4017 are two, that is, high and low bits. Each soft determination value. The soft decision value for the upper bits is obtained by adding the soft decision value for the upper bits of the odd input and the soft decision value for the upper bits of the even input. The soft decision value for the lower bits is obtained by adding the soft decision value for the lower bits of the odd input and the soft decision value for the lower bits of the even input.

상기 내부 심볼 매퍼(4019)에서는 심볼 복호기(4018)에서 상위비트에 대한 소프트 판정값과 하위비트에 대한 소프트 판정값을 입력받아 2개의 홀수 출력 비트의 소프트 판정값(즉, 심볼 복호기(4018)에서 출력되는 상위비트와 하위비트에 대한 각각의 소프트 판정값)으로 출력하고, 상기 2개의 홀수 출력 비트의 소프트 판정값을 반복하여 2개의 짝수 출력 비트의 소프트 판정값으로 출력한다. The internal symbol mapper 4019 receives the soft decision value for the upper bits and the soft decision value for the lower bits from the symbol decoder 4018, so that the soft decision value of the two odd output bits (ie, the symbol decoder 4018) is input. Each of the soft decision values for the upper bits and the lower bits to be output, and the soft decision values of the two odd output bits are repeated and output as the soft decision values of the two even output bits.

또 다른 실시예로, 심볼 부호기가 도 17c와 같이 구성되어, 반복기(431)에서는 입력 비트를 한번 반복하고, 1/2 외부 부호기(432)에서는 반복되어 입력되는 각 비트에 대해 1/2 부호화하여 2개의 비트(u0,u1) 즉, 한 심볼을 2번 전송한다고 하자. 이 경우는 상기 심볼 부호기에서 한 개의 비트에 대해 반복하여 1/2 부호화하는 경우이다. 설명의 편의를 위해 먼저 출력되는 심볼을 홀수 심볼이라 하고, 두 번째 출력되는 심볼을 짝수 심볼이라 하기로 한다. In another embodiment, the symbol encoder is configured as shown in FIG. 17C, and the repeater 431 repeats the input bit once, and the 1/2 outer encoder 432 repeats the 1/2 encoding for each input bit. Assume that two bits (u0, u1), that is, one symbol is transmitted twice. This case is a case where 1/2 encoding is repeatedly performed for one bit in the symbol encoder. For convenience of explanation, the first output symbol will be called an odd symbol, and the second output symbol will be called an even symbol.

이때 상기 외부 심볼 매퍼(4017)와 내부 심볼 매퍼(4019)의 입/출력 단위가 심볼 단위라면, 상기 외부 심볼 매퍼(4017)는 심볼 디인터리버(4016)의 출력을 그대로 심볼 복호기(4018)로 전달하고, 내부 심볼 버퍼(4019)는 심볼 복호기(4018)의 출력을 그대로 심볼 디인터리버(4020)로 전달한다. In this case, if the input / output unit of the external symbol mapper 4017 and the internal symbol mapper 4019 is a symbol unit, the external symbol mapper 4017 transfers the output of the symbol deinterleaver 4016 to the symbol decoder 4018 as it is. The internal symbol buffer 4019 transfers the output of the symbol decoder 4018 to the symbol deinterleaver 4020 as it is.

또한 상기 외부 심볼 매퍼(4017)와 내부 심볼 매퍼(4019)의 입/출력 단위가 비트 단위인 경우에도, 상기 외부 심볼 매퍼(4017)는 심볼 디인터리버(4016)의 출력을 그대로 심볼 복호기(4018)로 전달하고, 내부 심볼 버퍼(4019)는 심볼 복호기(4018)의 출력을 그대로 심볼 디인터리버(4020)로 전달한다. 상기 도 17c의 경우는 1/2 외부 부호기(432)의 입력이 반복기(431)에 의해 반복되었으므로, 블록 복호기의 출력에서 두 심볼에 대한 소프트 판정값을 한개로 판단해서 출력해야 한다. In addition, even when the input / output unit of the external symbol mapper 4017 and the internal symbol mapper 4019 is a bit unit, the external symbol mapper 4017 uses the symbol decoder 4018 as it is. The internal symbol buffer 4019 transfers the output of the symbol decoder 4018 to the symbol deinterleaver 4020 as it is. In the case of FIG. 17C, since the input of the 1/2 external encoder 432 is repeated by the repeater 431, the soft decision value for the two symbols should be determined and output from the output of the block decoder.

즉, 도 17b, 도 17c와 같이 심볼 부호화가 이루어진 경우, 4가지 심볼에 대한 LLR을 입력받아 심볼 복호 후 4가지 심볼에 대한 LLR을 제1 소프트 판정값으로 출력할 수 있다. 또는 2 비트에 대한 LLR을 입력받아 심볼 복호 후 2 비트에 대한 LLR을 제1 소프트 판정값으로 출력할 수 있다. That is, when symbol encoding is performed as shown in FIGS. 17B and 17C, the LLRs for the four symbols may be output as the first soft decision value after receiving the LLRs for the four symbols. Alternatively, the LLR for 2 bits may be output as a first soft decision value after receiving the LLR for 2 bits.

상기 심볼 인터리버(4020)는 상기 내부 심볼 매퍼(4019)에서 출력되는 제1 소프트 판정값에 대해 도 19와 같이 심볼 인터리빙하여 피드백 포맷터(4021)로 출력한다. 상기 심볼 인터리버(4020)의 출력도 소프트 판정값이 된다. The symbol interleaver 4020 performs symbol interleaving on the first soft decision value output from the internal symbol mapper 4019 and outputs the result to the feedback formatter 4021. The output of the symbol interleaver 4020 also becomes a soft determination value.

상기 피드백 포맷터(4021)는 송신측의 블록 처리기(303)의 출력 심볼이 트렐리스 부호화부(256)에 입력되는 중간과정(예를 들어, 그룹 포맷터, 데이터 디인터리버, 패킷 포맷터, 패킷 다중화기, RS 부호기, 데이터 인터리버)에서 발생하는 심볼의 처리 순서 변화에 맞춰 상기 심볼 인터리버(4020)의 출력 값들의 순서를 변경한 후 트렐리스 부호화부(4012)로 출력한다. 상기 심볼 인터리버(4020)에서 출력되는 소프트 판정 값들은 입력 버퍼(4011)에서 출력되는 TBL만큼의 모바일 서비스 데 이터 심볼 위치와 일대일로 매칭되어 트렐리스 부호화부(4012)로 입력된다. 이때 메인 서비스 데이터 심볼이나 메인 서비스 데이터의 RS 패리티 심볼, 기지 데이터 심볼 등은 모바일 서비스 데이터 심볼이 아니므로, 상기 피드백 포맷터(4021)는 해당 위치에 널 데이터를 삽입하여 트렐리스 부호화부(4012)로 출력한다. 또한 상기 TBL 크기의 심볼들을 터보 복호할 때마다 첫번째 복호 시작시에서는 상기 심볼 인터리버(4020)로 부터 피트백되는 값이 없으므로, 상기 피드백 포맷터(4021)는 피드백 제어기(4010)의 제어를 받아 모바일 서비스 데이터 심볼을 포함한 모든 심볼 위치에 널 데이터를 삽입하여 트렐리스 복호부(4012)로 출력한다. The feedback formatter 4021 is an intermediate process (eg, a group formatter, a data deinterleaver, a packet formatter, and a packet multiplexer) in which an output symbol of the transmitting block processor 303 is input to the trellis encoder 256. And an order of the output values of the symbol interleaver 4020 according to a change in the order of processing of symbols generated by the RS encoder and the data interleaver, and outputs them to the trellis encoder 4012. The soft decision values output from the symbol interleaver 4020 are matched one-to-one with the positions of the mobile service data symbols corresponding to the TBLs output from the input buffer 4011 and input to the trellis encoder 4012. In this case, since the main service data symbol, the RS parity symbol of the main service data, the known data symbol, etc. are not the mobile service data symbols, the feedback formatter 4021 inserts null data at the corresponding position, and thus the trellis encoder 4012. Will output In addition, since every time the TBL-sized symbols are turbo decoded, the feedback formatter 4021 is controlled by the feedback controller 4010 since there is no value returned from the symbol interleaver 4020 at the first decoding start. Null data is inserted at all symbol positions including the data symbol and output to the trellis decoder 4012.

상기 출력 버퍼(4022)는 피드백 제어기(4010)의 제어에 따라 상기 심볼 복호기(4018)에서 제2 소프트 판정값을 입력받아 일시 저장한 후 데이터 디포맷터(1006)로 출력한다. 일 예로, 상기 출력 버퍼(4022)는 M번의 터보 복호가 수행될 때까지 상기 심볼 복호기(4018)의 제2 소프트 판정값을 오버라이트하고 있다가, 하나의 TBL에 대해 M번의 터보 복호가 모두 수행되면, 그때의 제2 소프트 판정값을 데이터 디포맷터(1006)로 출력한다. The output buffer 4022 receives the second soft decision value from the symbol decoder 4018 under the control of the feedback controller 4010, temporarily stores the second soft decision value, and outputs the second soft decision value to the data deformatter 1006. For example, the output buffer 4022 is overwriting the second soft decision value of the symbol decoder 4018 until M turbo decoding is performed, and then M turbo decoding is performed on one TBL. If so, the second soft decision value at that time is output to the data formatter 1006.

상기 피드백 제어기(4010)는 도 57과 같은 블록 복호기 전체의 터보 복호 및 터보 복호 반복 횟수를 제어한다. The feedback controller 4010 controls the number of times of turbo decoding and turbo decoding repetition of the entire block decoder as shown in FIG. 57.

즉, 기 설정된 반복 횟수동안 터보 복호가 이루어지고 나면, 심볼 복호기(4018)의 제2 소프트 판정값은 출력 버퍼(4022)를 통해 데이터 디포맷터(1006)로 출력되고, 한 터보 블록에 대한 블록 복호 과정이 완료된다. 이를 본 발명에서는 설명의 편의를 위해 회귀적인 터보 복호 과정이라 한다. That is, after turbo decoding is performed for a preset number of repetitions, the second soft decision value of the symbol decoder 4018 is output to the data formatter 1006 through the output buffer 4022, and block decoding for one turbo block is performed. The process is complete. This is referred to as a regressive turbo decoding process for convenience of description in the present invention.

이때 상기 트렐리스 복호부(4012)와 심볼 복호기(4018) 사이의 회귀적인 터보 복호 횟수는 하드웨어 복잡도와 에러정정 성능을 고려하여 정의할 수 있는데 횟수가 증가하면 에러 정정 능력은 우수해지지만 하드웨어는 복잡해지는 단점이 있다. At this time, the number of recursive turbo decoding between the trellis decoder 4012 and the symbol decoder 4018 may be defined in consideration of hardware complexity and error correction performance. It has the disadvantage of being complicated.

한편 상기 데이터 디인터리버(1009), RS 복호기(1010), 및 디랜더마이저(1011)는 메인 서비스 데이터를 수신하기 위해 필요한 블록들로서, 오직 모바일 서비스 데이터만을 수신하기 위한 수신 시스템 구조에서는 필요하지 않을 수도 있다. Meanwhile, the data deinterleaver 1009, the RS decoder 1010, and the derandomizer 1011 are blocks necessary for receiving main service data, and may not be necessary in a reception system structure for receiving only mobile service data. have.

상기 데이터 디인터리버(1009)는 송신측의 데이터 인터리버의 역과정으로 상기 블록 복호기(1005)에서 출력되는 데이터를 디인터리빙하여 RS 복호기(1010)로 출력한다. 상기 데이터 디인터리버(1009)로 입력되는 데이터는 메인 서비스 데이터뿐만 아니라, 모바일 서비스 데이터, 기지 데이터, RS 패리티, MPEG 헤더 등을 포함한다. The data deinterleaver 1009 deinterleaves the data output from the block decoder 1005 as an inverse process of the data interleaver on the transmitting side and outputs the data to the RS decoder 1010. The data input to the data deinterleaver 1009 includes not only main service data but also mobile service data, known data, RS parity, MPEG header, and the like.

상기 RS 복호기(1010)는 디인터리빙된 데이터에 대해 체계적 RS 복호를 수행하여 디랜더마이저(1011)로 출력한다. The RS decoder 1010 performs systematic RS decoding on the deinterleaved data and outputs the deserializer 1011.

상기 디랜더마이저(1011)는 RS 복호기(1010)의 출력을 입력받아서 송신기의 랜더마이저와 동일한 의사 랜덤(pseudo random) 바이트를 발생시켜 이를 bitwise XOR(exclusive OR)한 후 MPEG 동기 바이트를 매 패킷의 앞에 삽입하여 188 바이트 패킷 단위로 출력한다. The derandomizer 1011 receives the output of the RS decoder 1010, generates pseudo random bytes that are identical to the transmitter's renderer, bitwise XORs them, and then converts the MPEG sync bytes to every packet. Insert it before and output 188 bytes by packet.

한편 상기 블록 복호기(1005)에서 데이터 디포맷터(1006)로 출력되는 데이터 의 형태는 데이터 그룹 형태이다. 이때 상기 데이터 디포맷터(1006)에서는 입력 데이터 그룹의 구성을 이미 알고 있기 때문에 데이터 그룹 내에서 시스템 정보를 갖는 시그널링 정보와 모바일 서비스 데이터를 구분한다. 그리고 구분된 시그널링 정보는 시그널링 정보를 처리하는 블록(도 60에서 설명할 예정)으로 전달하고, 모바일 서비스 데이터는 RS 프레임 복호기(1007)로 출력한다. On the other hand, the data output from the block decoder 1005 to the data deformatter 1006 is in the form of a data group. In this case, since the configuration of the input data group is known in the data deformatter 1006, the signaling information having system information and the mobile service data are distinguished from each other in the data group. The divided signaling information is transmitted to a block that processes the signaling information (to be described in FIG. 60), and the mobile service data is output to the RS frame decoder 1007.

수신 시스템 내 Within the receiving system RSRS 프레임 복호기 Frame decoder

즉, 상기 RS 프레임 복호기(1007)는 상기 데이터 디포맷터(1006)로부터 RS 부호화 및/또는 CRC 부호화된 모바일 서비스 데이터만을 입력받는다. That is, the RS frame decoder 1007 receives only RS coded and / or CRC coded mobile service data from the data deformatter 1006.

상기 RS 프레임 복호기(1007)에서는 송신 시스템의 RS 프레임 부호기에서의 역과정을 수행하여 RS 프레임 내 에러들을 정정한 후, 에러 정정된 모바일 서비스 데이터 패킷에 RS 프레임 부호화 과정에서 제거되었던 1 바이트의 MPEG 동기 바이트를 부가하여 디랜더마이저(1008)로 출력한다. The RS frame decoder 1007 performs an inverse process in the RS frame encoder of the transmission system to correct errors in the RS frame, and then removes one byte of MPEG synchronization from the RS frame encoding process in the error corrected mobile service data packet. The bytes are added and output to the derandomizer 1008.

도 58은 다수개의 데이터 그룹 예를 들어, 18개의 데이터 그룹을 모아 하나의 RS 프레임과 RS 프레임 신용 맵(Reliability Map)을 형성하는 과정과, 전송 시스템의 역과정으로 수퍼 프레임 단위의 역 로우 섞음을 수행한 후 역 로우 섞음된 RS 프레임과 RS 프레임 신용 맵으로 다시 구분하는 과정을 도시하고 있다. 58 illustrates a process of collecting a plurality of data groups, for example, 18 data groups to form an RS frame and an RS frame reliability map, and inverse row mixing in units of super frames as a reverse process of a transmission system. After performing the process, the process is further divided into an inverse row-mixed RS frame and an RS frame credit map.

즉, 상기 RS 프레임 복호기(1007)는 입력받은 모바일 서비스 데이터들을 모아서 RS 프레임을 구성한다. 상기 모바일 서비스 데이터는 전송 시스템에서 RS 프레임 단위로 RS 부호화되고, 수퍼 프레임 단위로 로우 섞음된 데이터이다. 이때 에 러 정정 부호화 예를 들어, CRC 부호화는 수행되어 있을 수도 있고, 생략되어 있을 수도 있다. That is, the RS frame decoder 1007 collects the received mobile service data to form an RS frame. The mobile service data is RS-coded in units of RS frames in a transmission system and rawly mixed in units of super frames. In this case, for example, CRC encoding may be performed or may be omitted.

만일, 전송 시스템에서 (N+2)*(187+P) 바이트 크기의 RS 프레임을 M(예를 드어 18개)의 데이터 그룹으로 구분하여 전송하였다고 가정하면, 수신 시스템에서도 도 58의 (a)와 같이 각 데이터 그룹의 모바일 서비스 데이터를 모아 (N+2)*(187+P) 바이트 크기의 RS 프레임을 구성한다. If it is assumed that an RS frame having a size of (N + 2) * (187 + P) bytes in the transmission system is divided into M (for example, 18) data groups and transmitted, the receiver system also has a diagram of FIG. 58 (a). Mobile service data of each data group is gathered as follows to form an RS frame of size (N + 2) * (187 + P) bytes.

이때 해당 RS 프레임을 구성하는 적어도 하나의 데이터 그룹에 더미 바이트가 추가되어 전송되었다면 상기 더미 바이트는 제거되고 RS 프레임과 RS 프레임 신용 맵이 구성된다. 예를 들어, 도 14에서와 같이 K개의 더미 바이트가 추가되었다면 K개의 더미 바이트가 제거된 후 RS 프레임과 RS 프레임 신용 맵이 구성된다. At this time, if a dummy byte is added and transmitted to at least one data group constituting the RS frame, the dummy byte is removed and an RS frame and an RS frame credit map are configured. For example, if K dummy bytes are added as shown in FIG. 14, the RS frames and the RS frame credit map are configured after the K dummy bytes are removed.

그리고 RS 프레임이 18개의 데이터 그룹으로 구분되어 하나의 버스트 온 구간에서 전송되었다고 가정하면, 수신 시스템에서도 해당 버스트 온 구간 내 18개의 데이터 그룹의 모바일 서비스 데이터를 모아 RS 프레임을 구성한다. In addition, assuming that the RS frames are divided into 18 data groups and transmitted in one burst on period, the receiving system also configures an RS frame by collecting mobile service data of 18 data groups in the burst on period.

이때 상기 블록 복호기(1005)에서 복호 결과를 소프트 판정값으로 출력한다고 가정하면, 상기 RS 프레임 복호기(1007)는 상기 소프트 판정값의 부호로 해당 비트의 0과 1을 결정할 수 있으며, 이렇게 결정된 비트를 8개 모아서 한 바이트를 구성하게 된다. 이러한 과정을 하나의 버스트 안에 있는 18개의 데이터 그룹의 소프트 판정값에 대해 모두 수행하면 (N+2)*(187+P) 바이트 크기의 RS 프레임을 구성할 수가 있게 된다. In this case, assuming that the block decoder 1005 outputs a decoding result as a soft decision value, the RS frame decoder 1007 may determine 0 and 1 of a corresponding bit as a sign of the soft decision value. The eight are gathered together to form one byte. Performing this process on all of the soft decision values of the 18 data groups in one burst, it is possible to construct an RS frame of size (N + 2) * (187 + P) bytes.

또한 본 발명은 소프트 판정값을 RS 프레임을 구성하는데 이용할 뿐만 아니 라, 신용 맵(Reliability Map)을 구성하는데 이용한다.In addition, the present invention not only uses the soft decision value to construct an RS frame, but also to construct a reliability map.

상기 신용 맵은 상기 소프트 판정값의 부호로 결정된 비트를 8개 모아 구성한 해당 바이트가 믿을만한지 여부를 나타낸다. The credit map indicates whether or not the corresponding byte formed by collecting eight bits determined by the sign of the soft decision value is reliable.

일 실시예로, 소프트 판정값의 절대값이 기 설정된 문턱값을 넘을 경우에는 해당 소프트 판정값의 부호로 판단한 해당 비트 값은 믿을만하다고 판단하고, 넘지 못할 경우에는 믿을만하지 못하다고 판단한다. 그리고 나서, 소프트 판정값의 부호로 판단한 비트를 8개 모아 구성한 한 바이트 내 한 비트라도 믿을만하지 못하다고 판단된 경우에는 신용 맵에 해당 바이트를 믿을 수 없다고 표시한다. 여기서 한 비트는 하나의 실시예이며, 복수개 예를 들어, 4개의 이상의 비트가 믿을만하지 못하다고 판단된 경우에 신용 맵에 해당 바이트를 믿을 수 없다고 표시할 수도 있다.In an embodiment, when the absolute value of the soft determination value exceeds a preset threshold, the corresponding bit value determined by the sign of the soft determination value is determined to be reliable, and when it is not exceeded, it is determined to be unreliable. Then, in the case where it is determined that even one bit in one byte composed of eight bits determined by the sign of the soft decision value is unreliable, the credit map indicates that the byte is unreliable. Here, one bit is an embodiment, and when a plurality of, for example, four or more bits are determined to be unreliable, it may indicate that the corresponding byte is not reliable in the credit map.

반대로 한 바이트 내 모든 비트가 믿을만하다고 판단된 경우 즉, 한 바이트의 모든 비트의 소프트 판정값의 절대값이 기 설정된 문턱값을 넘는 경우에는 신용 맵에 해당 바이트를 믿을만하다고 표시한다. 마찬가지로, 한 바이트 내 복수개 예를 들어, 4개 이상의 비트가 믿을만하다고 판단된 경우에는 신용 맵에 해당 바이트를 믿을만하다고 표시한다. On the contrary, when all bits in one byte are determined to be reliable, that is, when the absolute value of the soft decision value of all bits of one byte exceeds a preset threshold, the corresponding map is marked as reliable. Similarly, if a plurality of bits in one byte, for example, four or more bits are determined to be reliable, the credit map indicates that the bytes are reliable.

상기 예시한 수치는 일 예에 불과하며, 상기 수치로 본 발명의 권리범위가 제한되는 것은 아니다. The above-described numerical values are merely examples, and the scope of the present invention is not limited to the numerical values.

상기 소프트 판정값을 이용한 RS 프레임의 구성과 신용 맵의 구성은 동시에 이루어질 수 있다. 이때 상기 신용 맵 내 신용 정보는 상기 RS 프레임 내 각 바이트에 1:1로 대응한다. 예를 들어, 하나의 RS 프레임이 (N+2) * (187+P) 바이트 크 기를 가진다면, 상기 신용 맵은 (N+2) * (187+P) 비트 크기를 가진다. 도 58의 (a'),(b')는 본 발명에 따른 신용 맵 형성 과정을 보이고 있다. The configuration of the RS frame and the configuration of the credit map using the soft decision value can be performed simultaneously. At this time, the credit information in the credit map corresponds 1: 1 to each byte in the RS frame. For example, if one RS frame has a (N + 2) * (187 + P) byte size, the credit map has a (N + 2) * (187 + P) bit size. 58 (a ') and (b') show a process of forming a credit map according to the present invention.

이때 상기 도 58의 (b)의 RS 프레임과 (b')의 RS 프레임 신용 맵은 수퍼 프레임 단위로 로우 섞음되어 있다(도 6 참조). 따라서 RS 프레임과 RS 프레임 신용 맵을 모아 수퍼 프레임과 수퍼 프레임 신용 맵을 구성한 후, 도 58의 (c),(c')와 같이 RS 프레임과 RS 프레임 신용 맵에 대해 전송 시스템의 역과정으로 수퍼 프레임 단위의 역 로우 섞음(De-permutation)을 수행한다. At this time, the RS frame of FIG. 58 (b) and the RS frame credit map of (b ') are row-mixed in units of super frames (see FIG. 6). Accordingly, after collecting the RS frame and the RS frame credit map to configure the super frame and the super frame credit map, as shown in (c) and (c ') of FIG. De-permutation is performed in units of frames.

상기와 같이 수퍼 프레임 단위의 역 로우 섞음이 수행되면, 도 58의 (d),(d')와 같이 (N+2) * (187+P) 바이트 크기의 RS 프레임과 (N+2) * (187+P) 비트 크기의 RS 프레임 신용 맵으로 구분한다. When inverse row mixing in the super frame unit is performed as described above, RS frames having a size of (N + 2) * (187 + P) bytes and (N + 2) * as shown in (d) and (d ') of FIG. Separated by a (187 + P) bit size RS frame credit map.

이어 상기 구분된 RS 프레임에 대해 RS 프레임 신용 맵 정보를 이용하여 에러 정정을 수행한다. Subsequently, error correction is performed on the divided RS frames using RS frame credit map information.

도 59는 본 발명에 따른 에러 정정 복호 과정의 일 실시예를 보인 것이다. 59 shows an embodiment of an error correction decoding process according to the present invention.

도 59는 전송 시스템에서 RS 프레임에 대해 RS 부호화와 CRC 부호화를 모두 수행한 경우의 에러 정정 과정을 보인 실시예이다.59 is a diagram illustrating an error correction process when both RS encoding and CRC encoding are performed on an RS frame in a transmission system.

다음은 도 59에 도시된 에러 정정 과정을 상세히 설명한다.Next, the error correction process illustrated in FIG. 59 will be described in detail.

즉, 도 59의 (a),(a')와 같이 (N+2)*(187+P) 바이트 크기의 RS 프레임과 (N+2)*(187+P) 비트 크기의 RS 프레임 신용 맵이 구성되면, 이 RS 프레임에 대해 CRC 신드롬 체크를 수행하여 각 로우의 에러 발생여부를 검사한다. 이어 도 59의 (b)와 같이 2 바이트 CRC 체크섬을 제거하여 N*(187+P) 바이트 크기의 RS 프레임을 구성하고, 각 로우에 대응하는 에러 플래그에 에러 여부를 표시한다. 마찬가지로 신용 맵 중 CRC 체크섬에 해당하는 부분은 활용도가 없으므로, 이 부분을 제거하여 도 59의 (b')와 같이 N*(187+P)개의 신용 정보만을 남긴다. That is, as shown in (a) and (a ') of FIG. 59, an RS frame having a (N + 2) * (187 + P) byte size and an RS frame credit map having a (N + 2) * (187 + P) bit size If configured, CRC syndrome check is performed on this RS frame to check whether an error occurs in each row. Subsequently, as shown in (b) of FIG. 59, an RS frame having a size of N * (187 + P) bytes is formed by removing the 2-byte CRC checksum, and an error flag corresponding to each row indicates whether an error occurs. Similarly, since the portion of the credit map corresponding to the CRC checksum is not utilized, this portion is removed, leaving only N * (187 + P) credit information as shown in FIG. 59 (b ').

상기와 같이 CRC 신드롬 체크가 수행되고 나면, 컬럼 방향으로 RS 복호(decoding)를 수행한다. 이때 상기 CRC 에러 플래그의 수에 따라 RS 이레이저(erasure) 정정을 수행할 수도 있다. 즉, 도 59의 (c)와 같이 상기 RS 프레임 내 각 로우에 대응하는 CRC 에러 플래그를 검사하여, 에러를 가진 로우의 개수가 컬럼 방향 RS 복호를 할 때 RS 이레이저 정정을 수행할 수 있는 최대 에러 개수보다 같거나 작은지를 판단한다. 상기 최대 에러 개수는 RS 부호화시 삽입된 패리티 개수(P)이다. After the CRC syndrome check is performed as described above, RS decoding is performed in the column direction. In this case, RS erasure correction may be performed according to the number of CRC error flags. That is, as shown in (c) of FIG. 59, the CRC error flag corresponding to each row in the RS frame is checked, so that the maximum number of RS erasure corrections can be performed when the number of rows having an error is performed in the RS direction column decoding. Determine if it is less than or equal to the number of errors. The maximum error number is a parity number P inserted during RS encoding.

본 발명에서는 일 실시예로 각 컬럼마다 부가되는 패리티 개수(P)가 48개라고 가정한다.In an embodiment of the present invention, it is assumed that the parity number P added to each column is 48.

이 경우 CRC 에러를 가진 로우의 개수가 RS 이레이저 복호(decoding)로 수정 가능한 최대 에러 개수(실시예에 따르면 48)보다 작거나 같다면 도 59의 (d)와 같이 (187+P) 즉, 235개의 N 바이트 로우를 갖는 RS 프레임에 대해서 컬럼 방향으로 (235,187)-RS 이레이저 복호를 수행하고, 도 59의 (e)와 같이 각 컬럼의 마지막에 부가되었던 48바이트의 패리티 데이터를 제거한다. In this case, if the number of rows having a CRC error is less than or equal to the maximum number of errors that can be corrected by RS erasure decoding (48 according to the embodiment), as shown in (d) of FIG. (235,187) -RS erasure decoding is performed in the column direction on an RS frame having 235 N byte rows, and as shown in (e) of FIG. 59, 48 bytes of parity data added to the end of each column are removed.

그런데, CRC 에러를 가진 로우의 개수가 RS 이레이저 복호로 수정 가능한 최대 에러 개수(즉, 48)보다 크다면 RS 이레이저 복호를 수행할 수가 없다. However, if the number of rows having a CRC error is larger than the maximum number of errors that can be corrected by RS erasure decoding (that is, 48), RS erasure decoding cannot be performed.

이러한 경우 일반적인 RS 복호를 통해서 에러 정정을 수행할 수 있다. 또한 본 발명은 소프트 판정값으로부터 RS 프레임을 구성할 때 함께 생성한 신용 맵을 이용하여 에러 정정 능력을 더욱 높일 수 있다. In this case, error correction may be performed through general RS decoding. In addition, the present invention can further improve error correction capability by using a credit map generated when constructing an RS frame from the soft decision value.

즉, 상기 RS 프레임 복호기에서는 블록 복호기(1005)의 소프트 판정값의 절대값을 기 설정된 임계값과 비교하여 해당 소프트 판정값의 부호로 결정되는 비트 값의 신용을 판단하였다. 그리고 소프트 판정값의 부호로 판단한 비트를 8개 모아 구성한 해당 바이트에 대한 신용 정보를 신용 맵에 표시하였다. That is, in the RS frame decoder, the absolute value of the soft decision value of the block decoder 1005 is compared with a preset threshold to determine the credit of the bit value determined by the sign of the soft decision value. Credit information for the corresponding byte formed by collecting eight bits determined by the sign of the soft decision value was displayed on the credit map.

따라서 본 발명은 도 59의 (c)와 같이 특정 로우의 CRC 신드롬 체크 결과 그 로우에 CRC 에러가 있다고 판단되더라도 그 로우의 모든 바이트가 에러가 있는 것이라고 가정하는 것이 아니라, 신용 맵의 신용 정보를 참조하여 믿을만하지 못하다고 판단된 바이트에 대해서만 에러로 설정한다. 즉, 해당 로우의 CRC 에러 여부에 상관없이 신용 맵의 신용 정보에서 믿을만하지 못하다고 판단되는 바이트만을 이레이저 포인트(erasure point)로 설정한다. Accordingly, the present invention does not assume that all bytes of a row have an error even if it is determined that there is a CRC error in the CRC syndrome check of a specific row as shown in (c) of FIG. Set the error to only those bytes that are considered unreliable. That is, only the bytes determined to be unreliable in the credit information of the credit map regardless of the CRC error of the corresponding row are set as erasure points.

또 다른 방법으로 CRC 신드롬 체크 결과 해당 로우에 CRC 에러가 있다고 판단되면서 신용 맵의 신용 정보가 믿을만 하지 못한다고 판단된 바이트에 대해서만 에러로 설정한다. 즉, 해당 로우에 CRC 에러가 있으면서 신용 맵의 신용 정보에서 믿을만 하지 못하다고 판단이 되는 바이트만을 이레이저 포인트(erasure point)로 설정한다.Alternatively, the CRC syndrome check determines that there is a CRC error in the row, and sets an error only for bytes determined that the credit information of the credit map is unreliable. That is, only a byte having a CRC error in a corresponding row and determined to be unreliable in credit information of a credit map is set as an erasure point.

그리고 나서, 각 컬럼별로 에러 포인트의 수가 RS 이레이저 복호로 수정 가능한 최대 에러 개수(즉, 48)보다 작거나 같다면 그 컬럼에 대해서는 RS 이레이저 복호를 수행한다. 반대로 에러 포인트의 수가 RS 이레이저 복호로 수정 가능한 최 대 개수(즉, 48)보다 크다면 그 컬럼에 대해서는 일반적인 RS 복호를 수행한다. Then, if the number of error points in each column is less than or equal to the maximum number of errors that can be corrected by RS erasure decoding (that is, 48), RS erasure decoding is performed on the column. On the contrary, if the number of error points is larger than the maximum number that can be modified by RS erasure decoding (that is, 48), general RS decoding is performed on the column.

즉, CRC 에러를 가진 로우의 개수가 RS 이레이저 복호로 수정 가능한 최대 에러 개수(예를 들면, 48)보다 크면, 신용 맵의 신용 정보에 의해 결정된 해당 컬럼 내 이레이저 포인트 수에 따라 그 컬럼에 대해서 RS 이레이저 복호를 수행하거나, 일반적인 RS 복호를 수행한다. In other words, if the number of rows with CRC errors is greater than the maximum number of errors that can be corrected by RS erasure decoding (for example, 48), then the corresponding columns in accordance with the number of erasure points in the column determined by the credit information of the credit map RS erasure decoding is performed or general RS decoding is performed.

예를 들어, 상기 RS 프레임 내에서 CRC 에러를 가진 로우의 개수가 48보다 크고, 신용 맵의 신용 정보에 의해 결정된 이레이저 포인트 수가 첫 번째 컬럼에서는 40개가 표시되고, 두 번째 컬럼에서는 50개가 표시되었다고 가정하자. 그러면, 상기 첫 번째 컬럼에 대해서는 (235,187)-RS 이레이저 복호를 수행하고, 두 번째 컬럼에 대해서는 (235,187)-RS 복호를 수행한다. For example, the number of rows having a CRC error in the RS frame is greater than 48, and the number of erasure points determined by the credit information of the credit map is 40 in the first column and 50 in the second column. Suppose Then, (235,187) -RS erasure decoding is performed on the first column, and (235,187) -RS decoding is performed on the second column.

상기와 같은 과정을 수행하여 RS 프레임 내 모든 컬럼 방향으로 에러 정정 복호가 수행되면 도 59의 (e)와 같이 각 컬럼의 마지막에 부가되었던 48바이트의 패리티 데이터를 제거한다. When error correction decoding is performed in all column directions in the RS frame by performing the above process, as shown in (e) of FIG. 59, 48 bytes of parity data added to the end of each column are removed.

이와 같이 본 발명은 RS 프레임 내 각 로우에 대응되는 전체 CRC 에러의 개수는 RS 이레이저 복호로 정정 가능한 최대 에러 개수보다 크더라도, 특정 컬럼의 에러 정정 복호시에 해당 컬럼의 신용 맵의 신용 정보에 의해 신용이 낮은 바이트의 수가 RS 이레이저 복호로 정정 가능한 최대 에러 개수보다 같거나 작으면 그 컬럼에 대해서는 RS 이레이저 복호를 수행할 수 있다. As described above, in the present invention, even if the total number of CRC errors corresponding to each row in the RS frame is larger than the maximum error number that can be corrected by RS erasure decoding, the credit information of the corresponding credit map of the corresponding column is determined when the error correction decoding of the specific column is performed. Therefore, if the number of bytes with low credibility is equal to or smaller than the maximum error number correctable by RS erasure decoding, RS erasure decoding may be performed on the column.

여기서 일반적인 RS 복호와 RS 이레이저 복호의 차이는 정정 가능한 에러의 개수이다. 즉, 일반적인 RS 복호를 수행하면 RS 부호화 과정에서 삽입된 (패리티의 개수)/2에 해당하는 개수(예를 들면, 24)만큼 에러를 정정할 수 있고, RS 이레이저 복호를 수행하면 RS 부호화 과정에서 삽입된 패리티의 개수(예를 들면, 48)만큼 에러를 정정할 수 있다. Here, the difference between general RS decoding and RS erasure decoding is the number of correctable errors. That is, if general RS decoding is performed, errors can be corrected by the number (for example, 24) corresponding to (number of parity) / 2 inserted in the RS encoding process. If RS erasure decoding is performed, RS encoding process is performed. An error may be corrected by the number of parities inserted (e.g., 48).

상기와 같이 에러 정정 복호가 수행되고 나면, 도 59의 (e)와 같이 187개의 N 바이트 로우(즉, 패킷)로 된 RS 프레임을 얻을 수 있다. 그리고 N*187 바이트 크기의 RS 프레임은 순서대로 N개의 187 바이트의 크기로 출력이 되는데, 이때 도 59의 (f)와 같이 각 187 바이트의 패킷에 전송 시스템에서 삭제한 1 바이트의 MPEG 동기 바이트를 부가하여 188 바이트 단위의 모바일 서비스 데이터 패킷을 출력한다. After the error correction decoding is performed as described above, as shown in (e) of FIG. 59, an RS frame having 187 N-byte rows (ie, packets) can be obtained. RS frames of size N * 187 bytes are output in the order of N 187 bytes in size, and in this case, as shown in (f) of FIG. In addition, the mobile service data packet in units of 188 bytes is output.

상기와 같이 RS 프레임 복호된 모바일 서비스 데이터는 데이터 디랜더마이저(1008)로 출력된다. 상기 디랜더마이저(1008)는 입력받은 모바일 서비스 데이터에 대해서 송신 시스템의 랜더마이저의 역과정에 해당하는 디랜더마이징을 수행하여 출력함으로써, 송신 시스템에서 송신한 모바일 서비스 데이터를 얻을 수가 있게 된다.The RS frame-decoded mobile service data as described above is output to the data derandomizer 1008. The de-randomizer 1008 performs de-randomization corresponding to the reverse process of the renderer of the transmission system and outputs the received mobile service data, thereby obtaining mobile service data transmitted from the transmission system.

SCCCSCCC 모드mode 검출 및 버스트 온/ Detect and Burst On / 오프off 제어 Control

도 60은 본 발명의 수신 시스템의 다른 예를 나타낸 도면이다. 도 60을 참조하여 예시한 수신 시스템의 동작을 설명하면 다음과 같다. 도 60은 도 30에서 나타낸 블록을 포함하고, 도 30에서 설명된 블록 기능에 대한 상세한 설명은 생략한다. 도 8 및 도 9에서 예시한 필드 동기 영역, 기지 데이터 영역 및 모바일 서비스 데 이터 영역에는 시그널링 정보가 포함될 수 있고, 시그널링 정보는 여러 가지 전송 파라미터를 전달할 수 있음을 예시하였다. 60 is a view showing another example of a receiving system of the present invention. Referring to FIG. 60, the operation of the illustrated reception system will be described. 60 includes the block illustrated in FIG. 30, and a detailed description of the block function described in FIG. 30 will be omitted. The field synchronization area, the known data area and the mobile service data area illustrated in FIGS. 8 and 9 may include signaling information, and the signaling information may convey various transmission parameters.

복조기(1002)는 필드 동기 영역 또는 전송 파라미터를 포함하는 기지 데이터를 전송 파라미터 복호부(Tx parameter detecter/parser)(1013)로 출력한다. 등화기(1003)는 필드 동기 영역 또는 전송 파라미터를 포함하는 기지 데이터의 채널 보상된 값을 전송 파라미터 복호부(1013)로 출력할 수 있다. 전송 파라미터 복호부(1013)는 등화기(1003)가 출력하는 데이터로부터 SCCC 모드 정보를 검출할 수 있다. 그리고, 전송 파라미터 복호부(1013)는 SCCC 모드 정보를 블록 복호기(1005)와 RS 프레임 디코더(1007)로 출력하면, 블록 복호기(1005)는 검출된 SCCC 모드에 따라 모바일 서비스 데이터에 대해 블록 복호를 수행할 수 있다. 데이터 디포맷터(1006)는 블록 복호기(1005)의 출력에서 RS 부호화된 시그널링 정보와 RS 프레임 부호화된 모바일 서비스 데이터를 구분하여 각각 전송 파라미터 복호부(1013)와 RS 프레임 복호기(1007)로 출력할 수 있다.The demodulator 1002 outputs known data including the field sync area or the transmission parameter to the transmission parameter decoder (Tx parameter detecter / parser) 1013. The equalizer 1003 may output the channel compensated value of the known data including the field sync area or the transmission parameter to the transmission parameter decoder 1013. The transmission parameter decoder 1013 may detect the SCCC mode information from the data output by the equalizer 1003. When the transmission parameter decoder 1013 outputs the SCCC mode information to the block decoder 1005 and the RS frame decoder 1007, the block decoder 1005 performs block decoding on the mobile service data according to the detected SCCC mode. Can be done. The data deformatter 1006 may distinguish RS-coded signaling information and RS frame-coded mobile service data from the output of the block decoder 1005 and output them to the transmission parameter decoder 1013 and the RS frame decoder 1007, respectively. have.

상기 전송 파라미터 복호부(1013)는 복조기(1002), 등화기(1003), 기지 데이터 검출기(1004) 및 데이터 디포맷터(1006)로부터 각각 전송 파라미터를 수신하여 이를 복호할 수 있다. 예를 들면, 전송 파라미터 복호부(1013)는 기지 데이터 검출기(1004)로부터 기지 데이터 위치 정보를 얻어 복조기(1002) 또는 등화기(1003) 출력 신호로부터 SCCC 모드를 검출할 수가 있고, 이를 블록 복호기(1005)와 RS 프레임 복호기(1007)로 출력한다. 전송 파라미터 복호부(1013)가 SCCC 모드를 검출하는 예는 도 62에서 상세히 개시한다. The transmission parameter decoder 1013 may receive and decode transmission parameters from the demodulator 1002, the equalizer 1003, the known data detector 1004, and the data deformatter 1006, respectively. For example, the transmission parameter decoder 1013 may obtain the known data position information from the known data detector 1004 and detect the SCCC mode from the demodulator 1002 or the equalizer 1003 output signal, which may be used as a block decoder ( 1005) and the RS frame decoder 1007. An example in which the transmission parameter decoder 1013 detects the SCCC mode is described in detail with reference to FIG. 62.

블록 복호기(1005)는 SCCC 모드에 따라 수신 데이터의 에러 정정 복호 과정을 수행할 수 있다. 데이터 디포맷터(1006)는 상기 블록 복호기(1005)의 출력으로부터 RS 프레임을 구성하는 데이터와 전송 파라미터를 포함한 데이터를 구분하여 각기 RS 프레임 디코더(1007)와 전송 파라미터 복호부(1013)으로 출력한다. RS 프레임 디코더(1007)는 블록 복호기(1005)로부터 수신한 데이터를 RS 프레임 단위로 에러 정정 복호하여 모바일 서비스 데이터를 디랜더마이저(1008)에 출력한다. 그리고, 전송 파라미터 복호부(1013)는 블록 복호기(1005)로부터 수신한 데이터를 에러 정정 복호(예를 들면 RS 복호)하여 SCCC 모드 이외의 전송 파라미터를 검출할 수 있다. 전송 파라미터 복호부(1013)가 블록 복호기(1005)의 출력으로부터 검출하는 전송 파라미터에는 서비스 식별자, 프레임의 A/B 영역에 대한 RS 모드, C 영역에 대한 RS 모드, 수퍼 프레임의 크기, RS 프레임이 수퍼 프레임에서 차지하는 위치 정보(PFI), 버스트의 크기(burst size; BS), 데이터 그룹의 인덱스(GI) 및 다음 버스트까지의 시간(time to next burst; TNB) 정보 중 적어도 하나가 포함될 수 있다 The block decoder 1005 may perform an error correction decoding process of the received data according to the SCCC mode. The data deformatter 1006 divides the data constituting the RS frame and the data including the transmission parameters from the output of the block decoder 1005 and outputs the data to the RS frame decoder 1007 and the transmission parameter decoder 1013, respectively. The RS frame decoder 1007 error corrects and decodes the data received from the block decoder 1005 in units of RS frames, and outputs mobile service data to the derandomizer 1008. The transmission parameter decoding unit 1013 may error correct decoding (for example, RS decoding) data received from the block decoder 1005 to detect transmission parameters other than the SCCC mode. The transmission parameter detected by the transmission parameter decoder 1013 from the output of the block decoder 1005 includes a service identifier, an RS mode for the A / B area of the frame, an RS mode for the C area, a size of a super frame, and an RS frame. At least one of location information (PFI) occupied in the super frame, burst size (BS), index of data group (GI), and time to next burst (TNB) information may be included.

전송 파라미터 복호부(1013)는 검출한 전송 파라미터를 버스트에 대한 정보(예를 들면, 버스트의 크기(BS), 데이터 그룹의 인덱스(GI), 다음 버스트까지의 시간(TNB) 등의 정보)를 기지 데이터 검출기(1004)로 출력할 수 있다. 한편, 기지 데이터 검출기(1004)는 버스트에 대한 정보를 이용하여 버스트 구간에 대한 정보를 버스트 제어부(5000)로 출력할 수 있다. 즉, 상기 기지 데이터 검출기(1004)는 전송 프레임이 수신되는 동안 전송 프레임 내 기지 데이터의 위치를 검출하고, 그 위치 정보(Known Sequence Position Indicator)를 복조기(1002)와 등화기(1003)로 출 력할 수 있다. 또한 기지 데이터 검출기(1004)는 초기 주파수 옵셋을 추정하여 복조기(1002) 내 반송파 복구부로 출력할 수 있다. 상기 기지 데이터 검출기(1004)는 프레임 동기를 획득하고 데이터 그룹에 대한 유효 정보(group valid indicator) 및 버스트에 대한 유효 정보(burst valid indicator)를 버스트 제어부(5000)로 전송한다. 그러면 버스트 제어부(5000)는 기능 블록 중 점선으로 포함된 기능 블록의 전원을 모두 온/오프 제어할 수 있다. 따라서, 방송 수신 시스템은 이동하면서 방송 신호를 수신하는 경우라도 전력 소모를 줄일 수 있다. The transmission parameter decoding unit 1013 stores information about the burst (for example, information about the burst size (BS), the index of the data group (GI), the time until the next burst (TNB), etc.) of the detected transmission parameter. It can output to the known data detector 1004. On the other hand, the known data detector 1004 may output the information on the burst section to the burst control unit 5000 using the information on the burst. That is, the known data detector 1004 detects the position of the known data in the transmission frame while the transmission frame is received, and outputs the known sequence position indicator to the demodulator 1002 and the equalizer 1003. Can be. In addition, the known data detector 1004 may estimate the initial frequency offset and output the estimated frequency offset to the carrier recovery unit in the demodulator 1002. The known data detector 1004 acquires frame synchronization and transmits group valid indicators and burst valid indicators to the burst control unit 5000. Then, the burst control unit 5000 may control all the powers of the function blocks included in the dotted lines among the function blocks. Accordingly, the broadcast receiving system can reduce power consumption even when receiving a broadcast signal while moving.

하나의 버스트 구간에서는 다수의 데이터 그룹이 존재할 수 있는데, 동일 버스트 구간의 데이터 그룹에 대해서는 여러 가지 전송 파리미터(예를 들면, 프레임의 A/B 영역에 대한 RS 모드, C 영역에 대한 RS 모드, 수퍼 프레임의 크기, RS 프레임이 수퍼 프레임에서 차지하는 위치 정보(PFI), 버스트의 크기(burst size; BS))가 동일한 값을 가질 수 있다. 이러한 동일한 값을 갖는 데이터를 취함에 있어서 동일한 버스트에 다수의 데이터 그룹이 있는 경우, 그 버스트 내의 그룹의 전송 파라미터를 복호하여 사용하는 방법은 여러 가지가 있을 수 있다. 예를 들어 하나의 버스트 구간 내의 모든 데이터 그룹의 전송 파라미터를 복호하고, 각 전송 파라미터가 모두 성공적으로 복호되었을 경우에만 복호한 전송 파라미터를 사용하는 방안이 있을 수 있다. 또는, 하나의 버스트 구간의 하나의 데이터 그룹에 포함된 전송 파라미터의 복호가 성공적이었을 경우, 해당 버스트의 모든 데이터 그룹에 대해 동일한 값을 가지는 전송 파라미터가 전송된 것으로 판단하여 복호한 전송 파라미터를 사용하는 방안이 있을 수 있다. 전송 파라미터를 사용할 경우, 채널 왜곡 등 의 원인으로 인해 전송 파라미터에 일시적인 오류가 발생할 수 있으므로 각 데이터 그룹에 대한 전송 파라미터의 오류 회수가 설정된 기준값을 초과하는 경우, 그 이전에 이미 복호한 전송 파라미터를 사용할 수도 있다. 또는 전송 파라미터 검출에 대한 오류 회수가 설정된 기준값을 초과하는 경우, 새로운 전송 파라미터가 성공적으로 검출되면, 이를 사용하는 방안이 있을 수 있다.There can be multiple data groups in one burst period. For data groups in the same burst period, various transmission parameters (for example, RS mode for the A / B area of a frame, RS mode for the C area, and super The size of the frame, the location information (PFI) occupied by the RS frame in the super frame, and the burst size (BS) may have the same value. When taking data having the same value, when there are a plurality of data groups in the same burst, there may be a variety of ways to decode and use the transmission parameters of the groups in the burst. For example, there may be a scheme of decoding the transmission parameters of all data groups in one burst period and using the decoded transmission parameters only when each transmission parameter is successfully decoded. Or, if the decoding of the transmission parameter included in one data group of one burst period is successful, it is determined that the transmission parameter having the same value is transmitted for all data groups of the burst and uses the decoded transmission parameter. There may be a way. When using a transmission parameter, a temporary error may occur in the transmission parameter due to channel distortion, etc., and if the error count of the transmission parameter for each data group exceeds the set reference value, the previously decoded transmission parameter is used. It may be. Alternatively, when the number of errors for the transmission parameter detection exceeds the set reference value, if a new transmission parameter is successfully detected, there may be a way to use it.

도 61은 도 60에서 설명한 방송 수신 시스템 중 전송 파라미터 복호부(1013)가 전송 파라미터 검출 과정을 예시한 도면이다. 도 61의 예는 등화기로부터 전송 파라미터 내의 모드검출기(5011)에서 SCCC 모드를 검출하여 블록 복호기와 RS프레임 디코더로 출력한다. 모드검출기(5011)가 SCCC 모드를 검출하는 예는 도 62에서 상세히 설명한다. 한편, 시그널링 RS 복호기(5013)는 블록 복호기(또는 데이터 디포맷터로부터)로부터 수신한 RS 부호화된 데이터에 대해 RS 복호화를 수행하여 전송 파라미터를 얻을 수 있다. 그리고, 전송 파라미터에는 서비스 식별자, A/B 영역의 RS 모드, C 영역의 RS 모드, 수퍼 프레임 크기, RS 프레임의 수퍼 프레임에서의 위치 정보(PFI), 버스트 크기, 그룹 인덱스(GI), 다음 버스트까지의 시간(TNB)(또는 버스트 주기) 중 적어도 하나의 정보를 얻을 수 있다. 시그널링 RS 복호기(5013)이 검출하는 전송 파라미터는 그 전송 파라미터가 속한 데이터 그룹 단위에 대한 정보를 포함한다. 전송 파라미터 중 그 파라미터가 속한 데이터 그룹의 그룹 인덱스(GI)와 다음 버스트 까지의 시간(TNB)(또는 버스트 주기;BP)에 대한 정보는 각각의 데이터 그룹마다 갱신되어 송수신될 수 있다. 그리고, 시그널링 RS 복호기(5013)가 얻은 RS 모드는 RS 프레임 디코더로 출력되어 모바일 서비스 데이터의 RS 프레임에 대해 에러 정정 복호화가 수행될 수 있다.FIG. 61 is a diagram illustrating a transmission parameter detection process by the transmission parameter decoder 1013 of the broadcast reception system described with reference to FIG. 60. In the example of Fig. 61, the mode detector 5011 in the transmission parameter is detected by the equalizer and the SCCC mode is detected and output to the block decoder and the RS frame decoder. An example in which the mode detector 5011 detects the SCCC mode will be described in detail with reference to FIG. 62. Meanwhile, the signaling RS decoder 5013 may perform RS decoding on RS coded data received from a block decoder (or from a data deformatter) to obtain a transmission parameter. The transmission parameters include a service identifier, an RS mode of an A / B area, an RS mode of an area C, a super frame size, position information (PFI) in a super frame of an RS frame, a burst size, a group index (GI), and a next burst. Information of at least one of the time TNB (or burst period) can be obtained. The transmission parameter detected by the signaling RS decoder 5013 includes information on a data group unit to which the transmission parameter belongs. The information on the group index GI of the data group to which the parameter belongs among the transmission parameters and the time TNB (or burst period BP) until the next burst may be updated and transmitted for each data group. In addition, the RS mode obtained by the signaling RS decoder 5013 may be output to the RS frame decoder so that error correction decoding may be performed on the RS frame of the mobile service data.

도 62는 전송 파라미터 복호부가 SCCC 모드를 검출하는 예를 개시한다. 전송 파라미터 복호부는 복조기 및 등화기로부터 SCCC 모드가 설정된 기지 데이터를 수신할 수 있다. 데이터 포인트 컨트롤러(data point controller)는 기지 데이터 위치를 판단하여 시그널링 정보가 설정된 구간에 대한 심볼을 패턴 상관기(5120a, b,...,n)으로 출력할 수 있도록 제어한다. 그리고, 각 패턴 상관기(5120)는 설정된 데이터 구간에서 상관값을 계산하여 출력할 수 있다. 최대값결정부(5130)는 각각의 패턴 상관기(5120)의 출력을 입력받아 상관값이 최대값인 패턴 상관기(5120)의 신호 패턴을 송신부에서 설정한 SCCC 모드용 기지 데이터로 결정한다. 상기 최대값 결정부(5130)에서 결정된 SCCC 모드는 블록 복호기(1005)나 RS 프레임 디코더(1007)로 출력될 수 있다. 62 discloses an example in which the transmission parameter decoder detects the SCCC mode. The transmission parameter decoder may receive known data in which the SCCC mode is set from the demodulator and the equalizer. The data point controller determines a known data position and controls a symbol for a section in which signaling information is set to be output to the pattern correlators 5120a, b,..., N. Each pattern correlator 5120 may calculate and output a correlation value in a set data section. The maximum value determiner 5130 receives the output of each pattern correlator 5120 and determines the signal pattern of the pattern correlator 5120 having the maximum correlation value as known data for the SCCC mode set by the transmitter. The SCCC mode determined by the maximum value determiner 5130 may be output to the block decoder 1005 or the RS frame decoder 1007.

도 63은 기지 데이터 검출기(1004)에서 그룹 유효 정보, 즉 그룹 유효 인식자를 출력하는 예를 보인다. 도 63에서 카운터의 주기로 방송 신호의 부분 상관값을 체크할 경우 방송 신호 중 기지 데이터가 포함된 데이터 그룹의 위치(Group으로 표시)에서 부분 상관값의 피크값이 나타날 수 있다. 기지 데이터 검출기(1004)는 그 부분 상관값이 발생하는 위치에 대해 그룹 유효 인식자(group valid indicator)를 출력할 수 있다. 63 shows an example in which the known data detector 1004 outputs group valid information, that is, group valid identifier. In FIG. 63, when a partial correlation value of a broadcast signal is checked at a cycle of a counter, a peak value of the partial correlation value may appear at a position (denoted as a group) of a data group including known data among broadcast signals. The known data detector 1004 may output a group valid indicator for the location where the partial correlation value occurs.

도 64는 기지 데이터 검출기(1004)에서 버스트 유효 정보 즉, 버스트 유효 인식자를 출력하는 예를 보인다. 기지 데이터 검출기(1004)는 시그널링 정보로부터 버스트에 대한 정보, 예를 들면 버스트의 주기 정보(도 64의 예에서는 30필드), 버 스트의 길이 정보(도 64의 예에서는 18필드)를 얻을 수 있다. 모바일 서비스 데이터가 포함된 데이터 구간인 데이터 그룹에서는 도 63에서 예시한 바와 같이 부분 상관값이 주기적으로 발생한다. 따라서, 기지 데이터 검출기(1004)는 부분 상관값의 피크값이 발생되는 위치 정보와 종료되는 위치 정보에 따라 버스트 유효 인식자(burst valid information)를 출력할 수 있다. 64 shows an example in which the known data detector 1004 outputs burst valid information, that is, burst valid identifier. The known data detector 1004 can obtain burst information, for example, burst information (30 fields in the example of FIG. 64) and burst length information (18 fields in the example of FIG. 64) from the signaling information. . In the data group that is the data section including the mobile service data, partial correlation values are periodically generated as illustrated in FIG. 63. Accordingly, the known data detector 1004 may output burst valid information according to the position information at which the peak value of the partial correlation value is generated and the position information at the end.

상기 버스트 제어부(5000)는 그룹 유효 정보와 버스트 유효 정보를 수신하여 사용자가 원하는 프로그램이 포함된 모바일 서비스 데이터 구간의 신호만 처리할 수 있도록 방송 수신 시스템의 전원을 온/오프 제어할 수 있다. 방송 수신 시스템이 모바일 서비스 데이터만을 수신하고자 할 경우, 버스트에 포함된 모바일 서비스의 데이터 그룹만 유효한 데이터로 간주하고, 그 이외의 데이터에 대해서는 수신하지 않을 수 있다. 상기 버스트 제어부(5000)는 버스트 구간 내라고 할지라도 모바일 서비스 데이터 그룹의 데이터가 처리되는 동안에서 발생하는 그룹 유효 인식자(group valid indicator)를 이용해 전원을 온/오프할 수 있다. The burst control unit 5000 may receive the group valid information and the burst valid information and control the power of the broadcast receiving system on / off so that only the signal of the mobile service data section including the program desired by the user can be processed. When the broadcast reception system intends to receive only mobile service data, only the data group of the mobile service included in the burst may be regarded as valid data, and other data may not be received. The burst control unit 5000 may turn the power on / off using a group valid indicator generated while the data of the mobile service data group is processed, even within the burst period.

도 65는 실제 온/오프 시간과 버스트 구간을 비교하여 예시한 도면이다. 도 65에서 (a)는 버스트 유효 인식자(burst valid indicator) 및 그룹 유효 인식자(group valid indicator)에 따른 데이터 수신 구간을 의미한다. 방송 수신 시스템은 버스트 시작 시점 또는 데이터 그룹의 시작 시점이전의 임의의 시간(셋업 타임; set-up time)에서 전원이 온되고, 버스트 종료 시점 또는 데이터 그룹 종료 시점에서 임의의 시간 이후(홀드 타임; hold time)에서 전원을 오프할 수 있다. 셋업 타임과 홀드 타임은 경우에 따라 임의로 조절될 수 있다. 65 is a diagram illustrating a comparison of an actual on / off time and a burst period. In FIG. 65, (a) indicates a data reception interval according to a burst valid indicator and a group valid indicator. The broadcast receiving system is powered on at any time (set-up time) before the burst start time or before the start of the data group, and after a certain time (hold time; at the end of the burst or at the end of the data group). power off at hold time). The setup time and hold time can be arbitrarily adjusted as the case may be.

도 66은 본 발명의 일 실시예에 따른 수신 시스템의 구성 블록도로서, 도 30의 복조부가 적용될 수 있다. 66 is a block diagram illustrating a reception system according to an embodiment of the present invention, and the demodulation unit of FIG. 30 may be applied.

도 66의 수신 시스템은 튜너(6001), 복조부(demodulating unit)(6002), 역다중화기(6003), 오디오 복호기(6004), 비디오 복호기(6005), 네이티브 TV 어플리케이션 매니저(6006), 채널 매니저(6007), 채널 맵(6008), 제1 저장부(6009), SI 및/또는 데이터 복호기(6010), 제2 저장부(6011), 시스템 매니저(6012), 데이터 방송 어플리케이션 매니저(6013), 저장 제어부(storage controller)(6014), 및 제3 저장부(6015), GPS 모듈(6020)을 포함할 수 있다. 상기 제1 저장부(6009)는 비휘발성 메모리(NVRAM)(또는 플래시 메모리)이다. 상기 제3 저장부(6015)는 하드 디스크 드라이브(HDD), 메모리 칩과 같은 대용량 저장 장치이다. The receiving system of FIG. 66 includes a tuner 6001, a demodulating unit 6002, a demultiplexer 6003, an audio decoder 6004, a video decoder 6005, a native TV application manager 6006, and a channel manager. 6007, channel map 6008, first storage 6009, SI and / or data decoder 6010, second storage 6011, system manager 6012, data broadcast application manager 6013, storage The controller may include a storage controller 6014, a third storage unit 6015, and a GPS module 6020. The first storage portion 6009 is a nonvolatile memory (NVRAM) (or flash memory). The third storage unit 6015 is a mass storage device such as a hard disk drive (HDD) and a memory chip.

상기 튜너(6001)는 안테나, 케이블, 위성 중 어느 하나를 통해 특정 채널의 주파수를 튜닝하여 중간 주파수(IF) 신호로 다운 컨버전한 후 복조부(6002)로 출력한다. 이때 상기 튜너(6001)는 채널 매니저(6007)의 제어를 받으며, 또한 튜닝되는 채널의 방송 신호의 결과(result)와 강도(strength)를 상기 채널 매니저(6007)에 보고한다. 상기 특정 채널의 주파수로 수신되는 데이터는 메인 데이터, 모바일 서비스 데이터, 상기 메인 데이터와 모바일 서비스 데이터의 복호(decoding)를 위한 테이블 데이터 등이 있다. The tuner 6001 tunes the frequency of a specific channel through any one of an antenna, a cable, and a satellite to down-convert to an intermediate frequency (IF) signal and outputs the demodulator 6002. At this time, the tuner 6001 is controlled by the channel manager 6007, and also reports the result and strength of the broadcast signal of the channel being tuned to the channel manager 6007. The data received at the frequency of the specific channel includes main data, mobile service data, table data for decoding of the main data and mobile service data.

본 실시예에서는 모바일 서비스 데이터로서 이동형 방송을 위한 오디오 데이터, 비디오 데이터가 적용될 수 있다. 이러한 오디오 데이터, 비디오 데이터는 각종 부호기에 의해 압축되어 방송국으로부터 전송될 것이다. 이 경우, 압축에 사용 된 해당 부호기에 대응되게 수신기 내에서는 비디오, 오디오 복호기(6004,6005)가 구비될 것이며, 각 복호기(6004,6005)에서의 복호가 수행되어 사용자에게 비디오 및 오디오가 제공될 것이다. 오디오 데이터를 위한 부호/복호 scheme으로는, AC 3, MPEG 2 AUDIO, MPEG 4 AUDIO, AAC, AAC+, HE AAC, AAC SBR, MPEG-Surround, BSAC을 예로 들 수 있고, 비디오 데이터를 위한 부호/복호 scheme으로는, MPEG 2 VIDEO, MPEG 4 VIDEO, H.264, SVC, VC-1 등이 있다.     In the present embodiment, audio data and video data for mobile broadcasting may be applied as mobile service data. Such audio data and video data may be compressed by various encoders and transmitted from broadcasting stations. In this case, video and audio decoders 6004 and 6005 will be provided in the receiver to correspond to the corresponding encoders used for compression, and decoding in each decoder 6004 and 6005 is performed to provide video and audio to the user. will be. Examples of code / decoding schemes for audio data include AC 3, MPEG 2 AUDIO, MPEG 4 AUDIO, AAC, AAC +, HE AAC, AAC SBR, MPEG-Surround, BSAC, and code / decoding for video data. Schemes include MPEG 2 VIDEO, MPEG 4 VIDEO, H.264, SVC, VC-1 and the like.

실시예에 따라서는 모바일 서비스데이터로서 데이터 서비스를 위한 데이터, 예컨대 자바 어플리케이션에 대한 데이터, HTML 어플리케이션에 대한 데이터, XML에 대한 데이터가 그 예가 될 수 있다. 이러한 데이터 서비스를 위한 데이터는 자바 어플리케이션을 위한 자바 class file이 될 수 도 있고, 이러한 파일들의 위치를 지시하는 directory file이 될 수도 있다. 또한 각 어플리케이션에서 사용되는 오디오 file, 비디오 file이 될 수도 있다. According to the exemplary embodiment, data for a data service, for example, data for a Java application, data for an HTML application, and data for XML, may be used as mobile service data. The data for this data service can be a Java class file for a Java application or a directory file indicating the location of these files. It can also be an audio file or a video file used in each application.

상기 데이터 서비스로는 날씨서비스, 교통서비스, 증권서비스, 시청자 참여 퀴즈 프로그램, 실시간 여론 조사, 대화형 교육 방송, 게임서비스, 드라마의 줄거리, 등장인물, 배경음악, 촬영장소 등에 대한 정보 제공서비스, 스포츠의 과거 경기 전적, 선수의 프로필 및 성적에 대한 정보 제공서비스, 상품정보 및 이에 대한 주문 등이 가능하도록 하는 서비스, 매체별, 시간별, 또는 주제별로 프로그램에 대한 정보 제공 서비스 등이 될 수 있으나 본원 발명은 이에 한정하지는 않는다.  The data services include weather services, transportation services, securities services, viewer participation quiz program, real-time polls, interactive educational broadcasts, game services, drama plots, characters, background music, shooting locations, information services, sports, etc. It may be a service for providing information on the past game history of the player, the profile and the performance of the player, product information and orders for this, information providing service for the program by medium, time, or subject, but the present invention Is not limited to this.

또한 실시예에 따라서는 모바일 서비스 데이터는 메타(Meta) 데이터가 될 수도 있다. 이러한 메타 데이터는 XML로 기술되어 DSM-CC 프로토콜을 통해 전송되는 것을 일 예로 들 수 있다. In some embodiments, the mobile service data may be meta data. For example, the metadata is described in XML and transmitted through the DSM-CC protocol.

상기 복조부(6002)는 상기 튜너(6001)에서 출력되는 신호에 대해 VSB 복조, 채널 등화 등을 수행하여 메인 데이터와 모바일 서비스 데이터로 구분한 후 TS 패킷 단위로 출력한다. 상기 복조부(6002)는 전술한 도 30이 그 일 예가 될 것이다. 그러나 이는 일실시예들 일 뿐 본 발명의 권리범위는 이에 한정되지 않는다. The demodulator 6002 performs VSB demodulation, channel equalization, etc. on the signal output from the tuner 6001, divides the data into main data and mobile service data, and outputs the data in TS packet units. The demodulator 6002 will be an example of FIG. 30 described above. However, this is only one embodiment and the scope of the present invention is not limited thereto.

본 발명에서는 상기 복조부(6002)에서 출력되는 모바일 서비스 데이터 패킷만 역다중화기(6003)로 입력되는 것을 일 실시예로 설명한다. 이 경우 메인 데이터 패킷은 메인 데이터 패킷을 처리하는 또 다른 역다중화기(도시되지않음)로 입력된다. 이때 상기 메인 데이터 패킷을 처리하는 역다중화기에도 메인 데이터의 저장을 위해 상기 저장 제어부(6014)가 연결된다. 또한 하나의 역다중화기에서 모바일 서비스 데이터 패킷뿐만 아니라, 메인 데이터 패킷에 대해서도 역다중화를 수행하도록 설계할 수도 있다. In the present invention, only the mobile service data packet output from the demodulator 6002 is input to the demultiplexer 6003 according to an embodiment. In this case the main data packet is input to another demultiplexer (not shown) which processes the main data packet. At this time, the storage control unit 6014 is also connected to the demultiplexer for processing the main data packet to store the main data. In addition, one demultiplexer may be designed to perform demultiplexing not only for mobile service data packets but also for main data packets.

상기 저장 제어부(6014)는 역다중화기(6003)와 인터페이스하여 모바일 서비스 데이터 및/또는 메인 데이터의 즉시 녹화, 예약 녹화, 타임 시프트(Time shift) 등을 제어한다. 예를 들어, 도 66의 수신 시스템에 즉시 녹화, 예약 녹화, 타임 시프트 중 어느 하나가 설정되면 역다중화기(6003)로 입력되는 해당 모바일 서비스데이터 및/또는 메인 데이터는 상기 저장 제어부(6014)의 제어에 의해 상기 제3 저장부(6015)에 저장된다. 상기 제3 저장부(6015)는 타임 시프트 기능을 위한 임시 저장 영역 및/또는 사용자 선택에 따라 데이터를 영구 저장하는 영구 저장 영역으로 구분될 수 있다. The storage controller 6014 interfaces with the demultiplexer 6003 to control instant recording, scheduled recording, time shift, and the like of the mobile service data and / or main data. For example, when any one of instant recording, scheduled recording, and time shift is set in the reception system of FIG. 66, the corresponding mobile service data and / or main data input to the demultiplexer 6003 are controlled by the storage controller 6014. By the third storage unit 6015. The third storage unit 6015 may be divided into a temporary storage area for a time shift function and / or a permanent storage area for permanently storing data according to a user selection.

그리고 상기 제3 저장부(6015)에 저장된 데이터의 재생이 필요한 경우, 상기 저장 제어부(6014)는 상기 제3 저장부(6015)에 저장된 해당 데이터를 독출하여 해당 역다중화기(예를 들어, 모바일 서비스 데이터인 경우 도 66의 역다중화기(6003))로 출력한다. When the data stored in the third storage unit 6015 is required to be reproduced, the storage control unit 6014 reads out the data stored in the third storage unit 6015 to decode the corresponding demultiplexer (eg, a mobile service). Data is output to the demultiplexer 6003 of FIG.

이때 상기 제3 저장부(6015)의 저장 용량은 제한되어 있으므로, 상기 저장 용량의 효율성을 위해 압축 부호화되어 입력된 모바일 서비스 데이터 및/또는 메인 데이터는 그대로 제3 저장부(6015)에 저장하는 것을 본 발명의 일 실시예로 한다. 이 경우 재생 명령에 따라 상기 제3 저장부(6015)에서 독출된 데이터는 역다중화기를 통해 해당 복호기(decoder)로 입력되어 원래 상태로 복원된다. In this case, since the storage capacity of the third storage unit 6015 is limited, storing the mobile service data and / or main data compressed and encoded and input in the third storage unit 6015 as it is for the efficiency of the storage capacity. An embodiment of the present invention. In this case, the data read from the third storage unit 6015 according to the reproduction command is input to the corresponding decoder through the demultiplexer and restored to the original state.

또한 상기 저장 제어부(6014)는 상기 제3 저장부(6015)에 저장되어 있거나 현재 버퍼링되고 있는 데이터의 재생(play), 빨리 감기(fast forward), 되감기(rewind), 슬로우 모션(slow motion), 인스턴트리플레이(instant replay) 등을 제어할 수 있다. 여기서 인스턴트 리플레이는 다시 보고 싶은 장면을 반복해서 시청 가능한 기능이며, 저장되어 있는 데이터뿐만 아니라 현재 리얼타임으로 수신되는 데이터도 타임 시프트(time shift) 기능과 연계하여 인스턴트 리플레이할 수 있다. In addition, the storage control unit 6014 may play, fast forward, rewind, slow motion, slow motion of data stored in the third storage unit 6015 or currently buffered. Instant replay can be controlled. Here, the instant replay is a function for repeatedly watching a scene to be watched again, and instant replay may be performed in association with a time shift function as well as stored data.

상기 저장 제어부(6014)는 입력된 데이터가 아날로그 형태, 예를 들어 전송 방식이 NTSC, PAL 등인 경우, 입력된 데이터를 압축 부호화하여 제3 저장부(6015)에 저장할 수 있다. The storage control unit 6014 may compress and encode the input data in the third storage unit 6015 when the input data is an analog form, for example, a transmission scheme is NTSC, PAL, or the like.

이를 위해 상기 저장 제어부(6014)는 인코더를 포함할 수 있으며, 상기 인코 더는 소프트웨어, 미들웨어, 하드웨어 중 적어도 하나로 구현될 수 있다. 상기 인코더는 일 실시예로 MPEG 인코더를 이용할 수 있다. 상기 인코더는 저장 제어부(6014)의 외부에 구비될 수도 있다. To this end, the storage controller 6014 may include an encoder, and the encoder may be implemented by at least one of software, middleware, and hardware. The encoder may use an MPEG encoder in one embodiment. The encoder may be provided outside the storage controller 6014.

한편 상기 저장 제어부(6014)는 입력되는 데이터가 제3 저장부(6015)에 저장되었을 때 불법 복사되는 것을 방지하기 위해 입력되는 데이터를 스크램블(또는 인크립션이라 하기도 함)하여 상기 제3 저장부(6015)에 저장할 수도 있다. 이 경우 상기 저장 제어부(6014)는 상기 제3 저장부(6015)에 저장되는 데이터를 스크램블하기 위한 스크램블 알고리즘과 상기 제3 저장부(6015)에서 독출되는 데이터를 디스크램블(또는 디크립션이라 하기도 함)하기 위한 디스크램블 알고리즘을 포함할 수 있다. 상기 스크램블의 방법으로는 스크램블을 원하는 데이터를 임의의 키(예를 들어, control word)를 이용하여 변형하거나, 신호 자체를 섞는 방법 등이 이용될 수 있다. Meanwhile, the storage control unit 6014 scrambles the input data to prevent illegal copying when the input data is stored in the third storage unit 6015 so that the third storage unit 6015 is scrambled. You can also save to). In this case, the storage controller 6014 may refer to a scramble algorithm for scrambled data stored in the third storage unit 6015 and data read out from the third storage unit 6015 as descramble (or decryption). May include a descramble algorithm. As the method of scramble, a method of modifying data to be scrambled using an arbitrary key (for example, a control word) or mixing a signal itself may be used.

한편 상기 역다중화기(6003)는 복조부(6002)에서 출력되는 리얼 타임 데이터 또는 제3 저장부(6015)에서 독출된 데이터를 입력받아 역다중화를 수행한다. 본 발명에서는 상기 역다중화기(6003)가 모바일 서비스데이터 패킷에 대해서 역다중화를 수행하는 것을 일 실시예로 설명한다. The demultiplexer 6003 receives real time data output from the demodulator 6002 or data read from the third storage unit 6015 and performs demultiplexing. According to an embodiment of the present invention, the demultiplexer 6003 performs demultiplexing on a mobile service data packet.

다만, 실시예에 따라서는 모바일 서비스 데이터 뿐만 아니라 메인 데이터도 역다중화기(6003), 오디오 복호기(6004), 비디오 복호기(6005), 네이티브 TV 어플리케이션 매니저(6006), 채널 매니저(6007), 채널 맵(6008), 제1 저장부(6009), SI 및/또는 데이터 복호기(6010), 제2 저장부(6011), 시스템 매니저(6012), 데이터 방 송 어플리케이션 매니저(6013), 저장 제어부(storage controller)(6014), 제3 저장부(6015), GPS 모듈(6020)에 의해 처리되어 사용자에게 각종 서비스를 제공하는 데 이용될 수 있다. However, according to the exemplary embodiment, the main data as well as the mobile service data may be demultiplexer 6003, audio decoder 6004, video decoder 6005, native TV application manager 6006, channel manager 6007, channel map ( 6008, the first storage unit 6009, the SI and / or data decoder 6010, the second storage unit 6011, the system manager 6012, the data transmission application manager 6013, and the storage controller. 6014, the third storage unit 6015, and the GPS module 6020 may be used to provide various services to the user.

상기 역다중화기(6003)는 상기 SI 및/또는 데이터 복호기(SI 및/또는 data decoder)(6010)의 제어에 의해 입력되는 모바일 서비스 데이터 패킷들로부터 모바일 서비스 데이터와 SI(System Information) 테이블을 역다중화한다. 그리고 상기 역다중화된 모바일 서비스데이터와 SI 테이블들은 섹션 형태로 SI 및/또는 데이터 복호기(6010)로 출력된다. 이 경우 SI 및/또는 데이터 복호기(6010)로 입력되는 모바일 서비스 데이터는 데이터 서비스를 위한 데이터가 적용되는 것이 바람직할 것이다. The demultiplexer 6003 demultiplexes a mobile service data and a system information (SI) table from mobile service data packets input by the control of the SI and / or data decoder 6010. do. The demultiplexed mobile service data and the SI tables are output to the SI and / or data decoder 6010 in the form of sections. In this case, the mobile service data input to the SI and / or data decoder 6010 may be preferably data for data service.

상기 모바일 서비스 데이터가 전송되는 채널 내에서 모바일 서비스 데이터를 추출하여 디코딩하기 위해서는 시스템 정보가 필요하다. 이러한 시스템 정보는 경우에 따라서는 서비스 정보라고도 불리운다. 상기 시스템 정보는 채널 정보, 이벤트 정보 등을 포함할 수 있다. System information is required to extract and decode mobile service data in a channel through which the mobile service data is transmitted. Such system information is sometimes called service information in some cases. The system information may include channel information, event information, and the like.

본 발명의 실시예에서는 상기 시스템 정보로서 PSI/PSIP(Program Specific Information/Program and System Information Protocol) 을 적용하나 본 발명은 이에 한정하는 것은 아니다. 즉 시스템 정보를 테이블 포맷으로 전송하는 프로토콜이라면 그 명칭에 상관없이 본 발명에 적용 가능할 것이다.  In the embodiment of the present invention, PSI / PSIP (Program Specific Information / Program and System Information Protocol) is applied as the system information, but the present invention is not limited thereto. That is, a protocol for transmitting system information in a table format may be applicable to the present invention regardless of its name.

상기 PSI는 채널 및 프로그램을 분류하기 위해 정의된 MPEG-2의 시스템 규격이고, 상기 PSIP는 채널 및 프로그램의 분류가 가능한 ATSC(Advanced Television Systems Committee) 규격이다. The PSI is a system standard of MPEG-2 defined for classifying channels and programs, and the PSIP is an Advanced Television Systems Committee (ATSC) standard for classifying channels and programs.

상기 PSI는 일 실시예로서, PAT(Program Association Table), CAT(Conditional Access Table), PMT(Program Map Table), 및 NIT(Network Information Table)를 포함할 수 있다. The PSI may include, as an embodiment, a Program Association Table (PAT), a Conditional Access Table (CAT), a Program Map Table (PMT), and a Network Information Table (NIT).

상기 PAT는 PID가 '0'인 패킷에 의해 전송되는 특수 정보로서, 각 프로그램마다 해당 PMT의 PID 정보와 NIT의 PID 정보를 전송한다. 상기 CAT는 송신측에서 사용하고 있는 유료 방송 시스템에 대한 정보를 전송한다. 상기 PMT는 프로그램 식별 번호와 프로그램을 구성하는 비디오, 오디오 등의 개별 비트열이 전송되는 트랜스포트 스트림 패킷의 PID 정보, 및 PCR이 전달되는 PID 정보를 전송한다. 상기 NIT는 실제 전송망의 정보를 전송한다. The PAT is special information transmitted by a packet having a PID of '0', and transmits PID information of a corresponding PMT and PID information of a NIT for each program. The CAT transmits information about the pay broadcasting system used on the transmitting side. The PMT transmits PID information of a transport stream packet to which a program identification number, individual bit strings such as video and audio constituting the program are transmitted, and PID information to which a PCR is delivered. The NIT transmits information of an actual transmission network.

상기 PSIP은 일 실시예로서, VCT(Virtual Channel Table), STT(System Time Table), RRT(Rating Region Table), ETT(Extended Text Table), DCCT(Direct Channel Change Table), DCCSCT(Direct Channel Change Selection Code Table), EIT(Event Information Table), 및 MGT(Master Guide Table)를 포함할 수 있다. The PSIP is, according to an embodiment, a virtual channel table (VCT), a system time table (STT), a rating region table (RTT), an extended text table (ETT), a direct channel change table (DCCT), and a direct channel change selection (DCCSCT). A code table, an event information table (EIT), and a master guide table (MGT) may be included.

상기 VCT는 가상 채널에 대한 정보 예를 들어, 채널 선택을 위한 채널 정보와 오디오 및/또는 비디오의 수신을 위한 패킷 식별자(PID) 등의 정보를 전송한다. 즉, 상기 VCT를 파싱하면 채널 이름, 채널 번호 등과 함께 채널 내에 실려오는 방송 프로그램의 오디오와비디오의 PID를 알 수 있다. The VCT transmits information about a virtual channel, for example, channel information for channel selection and packet identifier (PID) for receiving audio and / or video. In other words, when the VCT is parsed, the PID of the audio and video of the broadcast program loaded in the channel can be known along with the channel name and the channel number.

도 67은 본 발명에 따른 VCT의 일실시예를 도시하고 있다. 67 shows an embodiment of a VCT according to the present invention.

도 67의 VCT 신택스는 table_id 필드, section_syntax_indicator 필드, private_indicator 필드, section_length 필드, transport_stream_id 필드, version_number 필드, current_next_indicator 필드, section_number 필드, last_section_number 필드, protocol_version 필드, num_channels_in_section 필드 중 적어도 하나를 포함하여 구성된다. The VCT syntax of FIG. 67 includes at least one of a table_id field, a section_syntax_indicator field, a private_indicator field, a section_length field, a transport_stream_id field, a version_number field, a current_next_indicator field, a section_number field, a last_section_number field, a protocol_version field, and a num_channels_in_section field.

상기 VCT 신택스는 상기 num_channels_in_section 필드 값만큼 반복되는 'for' 루프의 제1 반복문을 더 포함하는데, 상기 제1 반복문 내에는 short_name 필드, major_channel_number 필드, minor_channel_number 필드, modulation_mode 필드, carrier_frequency 필드, channel_TSID 필드, program_number 필드, ETM_location 필드, access_controlled 필드, hidden 필드, service_type 필드, source_id 필드, descriptor_length 필드, 및 이 제1 반복문 내에 포함되는 디스크립터 수만큼 반복되는 'for' 루프로 된 제2 반복문 중 적어도 하나를 포함하여 구성된다. 본 발명에서는 설명의 편의를 위해 상기 제2 반복문을 제1 디스크립터 루프라 한다. 상기 제1 디스크립터 루프에 포함되는 디스크립터 descriptors()는 가상 채널 각각에 개별적으로 적용되는 디스크립터이다. The VCT syntax further includes a first loop of a 'for' loop repeated by the value of the num_channels_in_section field, in which the short_name field, major_channel_number field, minor_channel_number field, minor_channel_number field, modulation_mode field, carrier_frequency field, channel_TSID field, and program_number field are included in the first loop. , At least one of an ETM_location field, an access_controlled field, a hidden field, a service_type field, a source_id field, a descriptor_length field, and a second loop in a 'for' loop that is repeated by the number of descriptors included in the first loop. In the present invention, the second loop is referred to as a first descriptor loop for convenience of description. Descriptor descriptors () included in the first descriptor loop are descriptors individually applied to each virtual channel.

또한 상기 VCT 신택스는 additional_descriptor_length 필드와, 상기 VCT에 추가되는 디스크립터 수만큼 반복되는 'for' 루프로 된 제3 반복문을 더 포함할 수 있다. 본 발명에서는 설명의 편의를 위해 상기 제3 반복문을 제2 디스크립터 루프라 한다. 상기 제2 디스크립터 루프에 포함되는 디스크립터 additional_descriptors()는 VCT에서 기술되는 모든 가상 채널에 공통적으로 적용되는 디스크립터이다. The VCT syntax may further include an additional_descriptor_length field and a third loop that is a 'for' loop that is repeated by the number of descriptors added to the VCT. In the present invention, for convenience of description, the third loop is called a second descriptor loop. The descriptor additional_descriptors () included in the second descriptor loop is a descriptor commonly applied to all virtual channels described in the VCT.

이와 같이 구성된 도 67에서, 상기 table_id 필드는 상기 테이블로 전송되는 정보가 VCT임을 인식할 수 있는 고유 식별자(ID)를 표시한다. 즉, 상기 table_id 필드는 이 섹션(section)이 속해 있는 테이블이 VCT라는 것을 알려주는 값을 나타내며, 일 예로 0xC8이 할당될 수 있다. In FIG. 67 configured as described above, the table_id field indicates a unique identifier (ID) for recognizing that information transmitted to the table is a VCT. That is, the table_id field indicates a value indicating that the table to which this section belongs is a VCT. For example, 0xC8 may be assigned.

상기 version_number 필드는 VCT의 버전 값을 나타내고, 상기 section_number 필드는 이 섹션의 번호를, 상기 last_section_number 필드는 완전한 VCT의 마지막 섹션의 번호를 나타낸다. 상기 num_channels_in_section 필드는 상기 VCT 섹션 내에 존재하는 전체 가상 채널의 개수를 지정한다. The version_number field indicates a version value of the VCT, the section_number field indicates a number of this section, and the last_section_number field indicates a number of the last section of the complete VCT. The num_channels_in_section field designates the number of all virtual channels existing in the VCT section.

그리고, 상기 'for' 루프의 제1 반복문 내에 있는 short_name 필드는 가상 채널 이름을 나타내고, 상기 major_channel_number 필드는 상기 제1 반복문 안에서 정의되는 가상 채널과 관련된 '메이저' 채널 번호를 나타내고, 상기 minor_channel_number 필드는 '마이너' 채널 번호를 나타낸다. 즉, 각각의 가상 채널 번호는 메이저와 마이너 채널 번호에 연결되어 있어야 하며, 메이저, 마이너 채널 번호는 해당 가상 채널에 대한 사용자 참조 번호로 작용한다. The short_name field in the first loop of the 'for' loop indicates a virtual channel name, the major_channel_number field indicates a 'major' channel number associated with a virtual channel defined in the first loop, and the minor_channel_number field is' Minor 'channel number. That is, each virtual channel number should be connected to major and minor channel numbers, and the major and minor channel numbers serve as a user reference number for the corresponding virtual channel.

상기 program_number 필드는 MPEG-2 PAT(Program Association Table)와 PMT(Program Map Table)가 정의되어 있는 가상 채널을 연결하기 위해 나타내며, 상기 PAT/PMT안에 있는 프로그램 번호와 일치한다. 여기서, PAT는 각 프로그램 번호마다 그 프로그램의 구성 요소를 기술하는데, PMT를 전송하는 트랜스포트 패킷의 PID를 가리킨다. 상기 PMT는 프로그램 식별 번호와 프로그램을 구성하는 비디오, 오디오 등의 개별 비트열이 전송되고 있는 트랜스포트 패킷의 PID 리스트와 부속 정보를 기술하고 있다. The program_number field indicates to connect a virtual channel in which an MPEG-2 Program Association Table (PAT) and a Program Map Table (PMT) are defined, and corresponds to a program number in the PAT / PMT. Here, the PAT describes the components of the program for each program number, and indicates the PID of the transport packet for transmitting the PMT. The PMT describes a PID list and accessory information of a transport packet to which a program identification number and individual bit strings such as video and audio constituting the program are transmitted.

도 68은 본 발명에 따른 service_type 필드의 일실시예를 도시한 것이다. 68 illustrates an embodiment of a service_type field according to the present invention.

상기 service_type 필드는 해당 virtual channel 내의 서비스 타입을 알려주는 필드이다. 도면과 같이, service_type 필드에는 아날로그 텔레비전, 디지털 텔레비전, 디지털 오디오만, 디지털 데이터만을 각각 지칭할 수 있도록 규정되어 있다. 또한 본 발명에 따르면, service_type 필드로 모바일 방송이 지칭되도록 규정될 수 있다. SI 및/또는 데이터 복호기(6010)를 통해 파싱된 service_type 필드는 도 66과 같은 수신 시스템 내에 제공되어 사용될 것이다. 실시예에 따라서는 파싱된 service_type 필드는 오디오/비디오 복호기(6004,6005)에 각각 제공되어 복호작업에 사용될 수도 있다.    The service_type field is a field indicating a service type in a corresponding virtual channel. As shown in the figure, the service_type field is defined to refer to analog television, digital television, digital audio only, and digital data only. In addition, according to the present invention, a mobile broadcast may be referred to as a service_type field. The service_type field parsed through the SI and / or data decoder 6010 may be provided and used in the receiving system as shown in FIG. 66. According to an embodiment, the parsed service_type field may be provided to the audio / video decoders 6004 and 6005, respectively, and used for decoding.

상기 source_id 필드는 해당 가상 채널에 연결된 프로그램 소스를 나타낸다. The source_id field represents a program source connected to the corresponding virtual channel.

여기서, 소스란 영상, 텍스트, 데이터 또는 음향과 같은 하나의 특정 소스를 말한다. 상기 source_id 필드값은 VCT를 전송하는 트랜스포트 스트림 내에서는 유일한 값을 가진다. Here, the source refers to one specific source such as image, text, data or sound. The source_id field value has a unique value in the transport stream for transmitting the VCT.

한편, 다음의 'for' 루프의 반복문 내에 있는 서술자 루프(descriptor loop ; descriptor{})에는service location descriptor를 포함할 수 있다. Meanwhile, a service loop descriptor may be included in a descriptor loop (descriptor {}) in a next loop of a 'for' loop.

이러한 service location descriptor는 각 elementary stream에 대한 stream type, PID 및 language code를 포함할 수 있다.  This service location descriptor may include a stream type, PID, and language code for each elementary stream.

도 69는 본 발명에 따른 service location descriptor의 실시예를 도시한 것이다. 69 illustrates an embodiment of a service location descriptor according to the present invention.

도 69에 도시된 바와 같이, service location descriptor는 descriptor_tag 필드, descriptor_length 필드, PCR_PID 필드를 포함할 수 있다. As shown in FIG. 69, the service location descriptor may include a descriptor_tag field, a descriptor_length field, and a PCR_PID field.

여기서 PCR_PID는 program_number 필드에 의해 특정된 프로그램에서 유효한 PCR 필드가 포함된 transport stream 패킷의 PID를 나타낸다. Here, PCR_PID represents the PID of the transport stream packet including the PCR field valid in the program specified by the program_number field.

한편, service location descriptor는 number_elements 필드를 포함하여 해당 프로그램에 사용된 PID 수를 나타낸다. 이 number_elements 필드의 값에 따라 다음에 기술된 서술자 'for' 루프 반복문의 반복 횟수가 결정된다. On the other hand, the service location descriptor includes the number_elements field to indicate the number of PIDs used for the corresponding program. The number of iterations of the descriptor 'for' loop statement described next is determined according to the value of this number_elements field.

도 69에 도시된 바와 같이, 'for' 루프 반복문 내에는 해당 elementary stream(비디오, 오디오, 데이터)의 stream type을 나타내는 stream_type 필드, 해당 elementary stream의 PID를 나타내는 elementary_PID 필드, 해당 elementary stream의language code를 나타내는 ISO_639_language_code 필드가 포함된다.  As shown in FIG. 69, in the 'for' loop loop, a stream_type field indicating a stream type of the corresponding elementary stream (video, audio, data), an elementary_PID field indicating the PID of the corresponding elementary stream, and a language code of the corresponding elementary stream are shown. An ISO_639_language_code field indicating is included.

도 70은 본 발명에 따른 stream_type 필드에 할당될 수 있는 실시예를 도시하고 있다. 도 70에 도시된 바와 같이, stream type으로는 ISO/IEC 11172 Video, ITU-T Rec. H.262 | ISO/IEC 13818-2 Video or ISO/IEC 11172-2 constrained parameter video stream, ISO/IEC 11172 Audio, ISO/IEC 13818-3 Audio, ITU-T Rec. H.222.0 | ISO/IEC 13818-1 private_sections, ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES packets containing private data, ISO/IEC 13522 MHEG, ITU-T Rec. H.222.0 | ISO/IEC 13818-1 Annex A DSM CC, ITU-T Rec. H.222.1, ISO/IEC 13818-6 type A, ISO/IEC 13818-6 type B, ISO/IEC 13818-6 type C, ISO/IEC 13818-6 type D, ISO/IEC 13818-1 auxiliary등이 적용될 수 있다. 70 illustrates an embodiment that can be allocated to a stream_type field according to the present invention. As shown in FIG. 70, as a stream type, ISO / IEC 11172 Video, ITU-T Rec. H.262 | ISO / IEC 13818-2 Video or ISO / IEC 11172-2 constrained parameter video stream, ISO / IEC 11172 Audio, ISO / IEC 13818-3 Audio, ITU-T Rec. H.222.0 | ISO / IEC 13818-1 private_sections, ITU-T Rec. H.222.0 | ISO / IEC 13818-1 PES packets containing private data, ISO / IEC 13522 MHEG, ITU-T Rec. H.222.0 | ISO / IEC 13818-1 Annex A DSM CC, ITU-T Rec. H.222.1, ISO / IEC 13818-6 type A, ISO / IEC 13818-6 type B, ISO / IEC 13818-6 type C, ISO / IEC 13818-6 type D, ISO / IEC 13818-1 auxiliary, etc. Can be.

한편, 본 발명에 따르면, stream type으로 MPH  video stream : Non-hierarchical mode, MPH  audio stream : Non-hierarchical mode, MPH  Non-A/V stream : Non-hierarchical mode, MPH  High Priority video stream : Hierarchical mode, MPH  High Priority audio stream : Hierarchical mode, MPH  Low Priority video stream : Hierarchical mode, MPH  Low priority audio stream : Hierarchical mode 등이 더 적용될 수 있다. Meanwhile, according to the present invention, MPH video stream: Non-hierarchical mode, MPH audio stream: Non-hierarchical mode, MPH Non-A / V stream: Non-hierarchical mode, MPH High Priority video stream: Hierarchical mode, MPH High Priority audio stream: Hierarchical mode, MPH Low Priority video stream: Hierarchical mode, MPH Low priority audio stream: Hierarchical mode may be further applied.

여기서 MPH는 mobile, pedestrian, handheld 각각의 첫글자이며, 고정형에 반대되는 개념이다. 따라서 MPH  video stream : Non-hierarchical mode, MPH  audio stream : Non-hierarchical mode, MPH  Non-A/V stream : Non-hierarchical mode, MPH  High Priority video stream : Hierarchical mode, MPH  High Priority audio stream : Hierarchical mode, MPH  Low Priority video stream : Hierarchical mode, MPH  Low priority audio stream : Hierarchical mode 등은 mobile 방송을 송수신하는 경우에 적용되는 stream type을 규정한 것이다. 또한 Hierarchical mode와 Non-hierarchical mode는, 어느 하나의 부호/복호 방식에 Hierarchical 구조가 적용되어 Priority가 적용된 스트림이 있을 경우 사용되는 value이다. 따라서 Hierarchical 구조의 코덱이 사용된 경우, stream type 필드에 Hierarchical mode와 Non-hierarchical mode가 포함된 해당 필드 값이 지정되어 각 스트림이 구분된다. 이러한 stream type 정보는 SI 및/데이터 복호기(6010)에 의해 파싱되어 비디오/오디오 복호기(6004,6005)에 제공되며, 비디오/오디오 복호기(6004,6005)는 이러한 stream type 정보를 이용하여 복호작업을 수행한다.  MPH is the first letter of mobile, pedestrian and handheld, as opposed to fixed form. MPH video stream: Non-hierarchical mode, MPH audio stream: Non-hierarchical mode, MPH Non-A / V stream: Non-hierarchical mode, MPH High Priority video stream: Hierarchical mode, MPH High Priority audio stream: Hierarchical mode, MPH Low Priority video stream: Hierarchical mode, MPH Low priority audio stream: Hierarchical mode, etc. define the stream type to be applied when transmitting and receiving mobile broadcast. In addition, the hierarchical mode and the non-hierarchical mode are values used when there is a stream to which priority is applied by applying a hierarchical structure to any one code / decoding method. Therefore, when a codec of Hierarchical structure is used, each stream is distinguished by specifying the field value including Hierarchical mode and Non-hierarchical mode in the stream type field. This stream type information is parsed by the SI and / data decoder 6010 and provided to the video / audio decoders 6004 and 6005. The video / audio decoders 6004 and 6005 use the stream type information to perform decoding operations. To perform.

그 외에 적용될 수 있는 다른 stream type으로는 오디오 데이터를 위한 MPEG 4 AUDIO, AC 3, AAC, AAC+, BSAC, HE AAC, AAC SBR, MPEG-S 등과, 비디오 데이터를 위한, MPEG 2 VIDEO, MPEG 4 VIDEO, H.264, SVC, VC-1 등이 추가될 수 있다. Other stream types that can be applied include MPEG 4 AUDIO, AC 3, AAC, AAC +, BSAC, HE AAC, AAC SBR, MPEG-S, etc. for audio data, MPEG 2 VIDEO, MPEG 4 VIDEO for video data. , H.264, SVC, VC-1, etc. may be added.

또한, 도 70의 MPH  video stream : Non-hierarchical mode, MPH  audio stream : Non-hierarchical mode 등의 hierarchical mode, Non-hierarchical mode가 사용된 필드에서 각 audio stream, video stream 대신에, 상기의 오디오 데이터를 위한 MPEG 4 AUDIO, AC 3, AAC, AAC+, BSAC, HE AAC, AAC SBR, MPEG-S 등과, 비디오 데이터를 위한 MPEG 2 VIDEO, MPEG 4 VIDEO, H.264, SVC, VC-1 등이 각각 대체되는 실시예를 고려할 수 있으며, 이는 본 발명의 기술범위에 포함된다.    In addition, in the field where the hierarchical mode and the non-hierarchical mode, such as the MPH video stream: non-hierarchical mode and the MPH audio stream: non-hierarchical mode, are used in FIG. For MPEG 4 AUDIO, AC 3, AAC, AAC +, BSAC, HE AAC, AAC SBR, MPEG-S, MPEG 2 VIDEO, MPEG 4 VIDEO, H.264, SVC, VC-1, etc. Embodiments may be considered, which is included in the technical scope of the present invention.

한편, 상기 stream_type 필드는 PMT 내의 하나의 field로서 규정될 수 있으며, 이 경우 상기와 같은 syntax를 가질 수 있음은 물론이다.           Meanwhile, the stream_type field may be defined as one field in the PMT. In this case, the stream_type field may have the above syntax.

상기 STT는 현재의 날짜와 시간 정보를 전송하고, 상기 RRT는 프로그램 등급을 위한 지역 및 심의 기관 등에 대한 정보를 전송한다. 상기 ETT는 채널 및 방송 프로그램에 대한 부가 설명을 전송하고, 상기 EIT는 가상 채널의 이벤트에 대한 정보(예를 들어, 제목, 시작 시간 등등)를 전송한다. The STT transmits current date and time information, and the RRT transmits information about a region and a review institution for a program grade. The ETT transmits an additional description of a channel and a broadcast program, and the EIT transmits information (eg, title, start time, etc.) about an event of a virtual channel.

도 71은 본 발명에 따른 EIT에 대한 비트 스트림 신택스의 실시예를 도시한 도면이다. 71 illustrates an embodiment of bit stream syntax for an EIT according to the present invention.

도 71의 EIT(Event Information Table)의 실시예는, 가상 채널(virtual channel)의 이벤트에 대한 제목(title), 시작 시각(start time), 지속 시간(duration) 등에 대한 정보를 포함하는 PSIP의 테이블 중 하나이다. 도 71에 도 시된 바와 같이, EIT는 다수개의 필드(field)들로 구성된다. An embodiment of the EIT (Event Information Table) of FIG. 71 is a table of PSIP including information on a title, start time, duration, etc. of an event of a virtual channel. Is one of. As shown in FIG. 71, the EIT is composed of a plurality of fields.

테이블 아이디(table_id) 필드는 8비트로 구성되며, '0xCB' 값을 가지며, 이 경우 당해 섹션(section)은 EIT에 속한다는 것을 의미한다. The table ID (table_id) field is composed of 8 bits and has a value of '0xCB', which means that the corresponding section belongs to the EIT.

section_syntax_indicator 필드는 1비트로 구성되며, '1' 값을 가지며, 이 경우 당해 섹션은 "section_length" 필드를 지나 generic section syntax를 따른다는 것을 의미한다. The section_syntax_indicator field consists of 1 bit and has a value of '1', which means that the section follows the generic section syntax after passing through the "section_length" field.

private_indicator 필드는 1비트로 구성되며, '1' 값을 가질 수 있다. The private_indicator field consists of 1 bit and may have a value of '1'.

source_ID는 본 테이블에서 나타내는 이벤트를 운반하는 Virtual Channel을 식별하는 아이디이다. source_ID is an ID for identifying a virtual channel carrying an event indicated in this table.

version_numbers_in_section 필드는 이벤트 정보 테이블의 개체의 버젼을 나타낸다. 본 발명에서는 종래의 버젼 넘버에 대해 새로운 버젼 넘버를 갖는 이벤트 정보 테이블에 포함되는 이벤트 변경 정보를 최신의 변경 정보로 인식한다. The version_numbers_in_section field represents the version of an object of the event information table. In the present invention, the event change information included in the event information table having a new version number with respect to the conventional version number is recognized as the latest change information.

current_next_indicator 필드는 해당 EIT가 포함하는 이벤트 정보가 현재의 정보인지, 미래의 정보인지를 나타낸다. The current_next_indicator field represents whether event information included in the corresponding EIT is current information or future information.

num_event 필드는 상기 소스 아이디를 가지는 채널 내에 속하는 이벤트의 수를 나타낸다. 즉, 하부의 이벤트 루프(loop)는 상기 이벤트의 수만큼 반복하는 것이다. The num_event field represents the number of events belonging to a channel having the source ID. In other words, the lower event loop is repeated as many as the number of events.

이상에서 설명한 EIT의 필드는 하나의 EIT 신택스에 포함되는 적어도 하나 이상의 이벤트에 대해 공통으로 적용되는 필드이다. The field of the EIT described above is a field commonly applied to at least one or more events included in one EIT syntax.

"for(j=0;j<num_events_in_section;j++){}" 로 포함되는 루프는 이벤트들 각 각의 특성을 설명해 주고 있다. 이하의 필드는 개별의 이벤트에 대한 상세 정보를 나타내는 필드이다. 따라서 이하에서 설명하는 필드는 EIT 신택스가 설명하는 해당 이벤트에 개별적으로 적용되는 필드이다. A loop that contains "for (j = 0; j <num_events_in_section; j ++) {}" describes the characteristics of each event. The following fields are fields representing detailed information on individual events. Therefore, the fields described below are fields individually applied to the corresponding event described by the EIT syntax.

이벤트 루프 내에서 있는event_ID는 각각의 개별적인 이벤트를 식별하는 식별자이다. 이벤트 아이디의 숫자는 이벤트 ETM_ID(identifier for event Extended Text Message)의 일부이다. The event_ID in the event loop is an identifier that identifies each individual event. The number of event IDs is part of the event identifier for event extended text message (ETM_ID).

start_time 필드는 이벤트의 시작 시각을 나타내는 필드이다. The start_time field is a field indicating the start time of an event.

따라서 전자 프로그램 정보에서 제공하는 프로그램의 시작 시간 정보를 본 필드에서 수집한다. Therefore, the start time information of the program provided by the electronic program information is collected in this field.

length_in_seconds 필드는 이벤트의 지속 시간(duration)을 알려준다. 따라서 전자 프로그램 정보에서 제공하는 프로그램의 끝나는 시각인 end time 정보를 본 필드에서 수집한다. 즉, 상기 스타트 타임 필드의 값과 상기 length in seconds 필드의 값을 더하여 엔드 타임 정보를 수집하는 것이다. The length_in_seconds field indicates the duration of an event. Therefore, end time information, which is the end time of the program provided by the electronic program information, is collected in this field. That is, the end time information is collected by adding the start time field value and the length in seconds field value.

title_text()필드는, 방송 프로그램의 제목을 표시하는 용도로 사용될 수 있다. The title_text () field may be used for displaying a title of a broadcast program.

한편, 각 event에 적용되는 descriptor가 EIT에 포함될 수 있다. descriptors_length 필드는 descriptor의 길이를 나타낸다. Meanwhile, a descriptor applied to each event may be included in the EIT. The descriptors_length field represents the length of a descriptor.

한편, 다음의 'for' 루프의 반복문 내에 있는 서술자 루프(descriptor loop ; descriptor{})에는 AC-3 audio descriptor, MPEG 2 audio descriptor, MPEG 4 audio descriptor, AAC descriptor, AAC+ descriptor, HE AAC descriptor, AAC SBR  descriptor, MPEG surround descriptor, BSAC descriptor, MPEG 2 video descriptor, MPEG 4 video descriptor, H.264 descriptor, SVC descriptor, VC-1 descriptor 중 적어도 하나의 descriptor를 포함할 수 있다. 여기서 각 descriptor는 각 이벤트에 적용된 오디오/비디오 코덱에 대한 정보를 기술하고 있다. 이러한 코덱에 대한 정보는 오디오/비디오 복호기(6004,6005)에 제공되어 복호작업에 이용될 수 있다. Meanwhile, a descriptor loop (descriptor loop) in a loop of a 'for' loop may include an AC-3 audio descriptor, an MPEG 2 audio descriptor, an MPEG 4 audio descriptor, an AAC descriptor, an AAC + descriptor, an HE AAC descriptor, and an AAC. It may include at least one of an SBR descriptor, an MPEG surround descriptor, a BSAC descriptor, an MPEG 2 video descriptor, an MPEG 4 video descriptor, an H.264 descriptor, an SVC descriptor, and a VC-1 descriptor. Here, each descriptor describes information about an audio / video codec applied to each event. Information about the codec may be provided to the audio / video decoders 6004 and 6005 to be used for decoding.

상기 DCCT/DCCSCT는 자동 채널 변경과 관련된 정보를 전송하고, 상기 MGT는 상기 PSIP 내 각 테이블들의 버전 및 PID 정보를 전송한다. The DCCT / DCCSCT transmits information related to automatic channel change, and the MGT transmits version and PID information of respective tables in the PSIP.

그리고 상기 PSI/PSIP 내 테이블들은 모두 섹션이라는 기본 단위를 가지며 하나 이상의 섹션들이 조합되어 하나의 테이블을 구성하게 된다. 예를 들어, 상기 VCT는 256개의 섹션으로 분리될 수 있다. 그리고, 하나의 섹션은 여러 개의 가상 채널 정보를 실을 수 있으나, 하나의 가상 채널에 대한 정보는 두 개 이상의 섹션으로 나누지 않는다. The tables in the PSI / PSIP all have a basic unit called a section, and one or more sections are combined to form a table. For example, the VCT may be divided into 256 sections. And, one section may carry a plurality of virtual channel information, but information about one virtual channel is not divided into two or more sections.

이때 수신 시스템에서는 PSI 내 테이블들만 이용하거나, 또는 PSIP 내 테이블들만 이용하거나, 또는 PSI와 PSIP 내 테이블들의 조합을 이용하여 전송되는 모바일 서비스 데이터를 파싱하여 디코딩할수 있다. In this case, the receiving system can parse and decode mobile service data transmitted using only tables in PSI, only tables in PSIP, or a combination of tables in PSI and PSIP.

상기 모바일 서비스 데이터를 파싱하여 디코딩하기 위해서는, PSI의 경우 적어도 PAT, PMT가 필요하고, PSIP의 경우 VCT가 필요하다. In order to parse and decode the mobile service data, at least PAT and PMT are required for PSI and VCT is required for PSIP.

예를 들어, 상기 PAT는 상기 모바일 서비스 데이터를 전송하는 시스템 정보 및 상기 데이터 서비스를 위한 데이터(또는 프로그램번호)에 해당하는 PMT의 PID를 포함할 수 있고, 상기 PMT는 상기 모바일 서비스 데이터를 전송하는 TS 패킷의 PID를 포함할 수 있다. For example, the PAT may include system information for transmitting the mobile service data and a PID of a PMT corresponding to data (or program number) for the data service, and the PMT transmits the mobile service data. It may include the PID of the TS packet.

상기 VCT는 상기 모바일 서비스 데이터를 전송하는 가상 채널의 정보와 상기 모바일 서비스 데이터를 전송하는 TS 패킷의 PID를 포함할 수 있다. The VCT may include information of a virtual channel for transmitting the mobile service data and a PID of a TS packet for transmitting the mobile service data.

한편, 실시예에 따라서는 PSIP 대신 DVB-SI가 적용될 수도 있다. 이러한 DVB-SI는 NIT, SDT, EIT, TDT 등을 포함할 수 있다. 이러한 DVB-SI는 위에서 언급한 PSI와 함께 사용될 수 있다. In some embodiments, DVB-SI may be applied instead of PSIP. Such DVB-SI may include NIT, SDT, EIT, TDT, and the like. Such DVB-SI may be used together with the above-mentioned PSI.

상기 네트워크 정보 테이블(network information table ; NIT)은 특정 네트워크 공급자에 속하는 서비스를 그룹으로 분류한다. 이 테이블에는 IRD의 설정 중 사용되는 동조 정보가 모두 수록된다. 이 테이블은 동조 정보의 변화를 알리는데 사용될 수 있다. 상기 서비스 설명 테이블(Service description table ; SDT)에는 이름 및 특정 MPEG 멀티플렉스의 각 서비스에 관련된 다른 매개 변수가 수록된다. 상기 이벤트 정보 테이블(Event information table ; EIT)은 MPEG 멀티플렉스에서 발생하는 모든 이벤트와 관련된 정보의 전송에 사용된다. 이 테이블에는 현재 전송에 관한 정보가 수록되며 IRD가 수신할 수 있는 다른 전송 스트림을 선택적으로 포괄하는 정보가 수록된다. 상기 시간 및 날짜 테이블(Time and Date table ; TDT)은 IRD 내부 클럭 갱신에 사용된다. The network information table (NIT) classifies services belonging to a specific network provider into groups. This table contains all the tuning information used during IRD setup. This table can be used to inform the change of tuning information. The Service description table (SDT) contains a name and other parameters related to each service of a particular MPEG multiplex. The event information table (EIT) is used to transmit information related to all events occurring in the MPEG multiplex. This table contains information about the current transport and optionally covers other transport streams that the IRD can receive. The time and date table (TDT) is used for IRD internal clock update.

또한, 다음과 같은 세 가지 선택적 SI 테이블이있다. In addition, there are three optional SI tables:

즉, 부케 연관 테이블(Bouquet associate table ; BAT)은 IRD가 시청자에게 서비스를 제공하는 방법으로 사용할 수 있는 서비스 그룹화 방법을 제공한다. 특정 서비스는 하나 이상의 `부케`에 속할 수 있다. 실행 상태 테이블(Running Status table ; RST) 섹션은 하나 이상의 이벤트 실행 상태의 신속한 갱신에 사용된다. 상기 실행 상태 섹션은 이벤트의 상태가 변하는 시점에 단 한번만 전송된다. 다른 SI 테이블은 보통 반복적으로 전송된다. 스터핑 테이블(Stuffing table, ST)은 종속 테이블이나 전체 SI 테이블의 교체 또는 폐기에 사용될 수 있다. That is, a bouquet associate table (BAT) provides a service grouping method that an IRD can use as a method of providing a service to a viewer. A particular service can belong to more than one `buque`. The Running Status Table (RST) section is used to quickly update one or more event execution states. The execution state section is transmitted only once at the time when the state of the event changes. Other SI tables are usually sent repeatedly. The stuffing table (ST) may be used to replace or discard the dependent table or the entire SI table.

본 발명의 일실시예로서 모바일 서비스 데이터가 오디오, 비디오 데이터인 경우, TS 패킷 내 페이로드에 실린 모바일 서비스 데이터는 PES 타입인 것이 바람직하다. According to an embodiment of the present invention, when the mobile service data is audio or video data, the mobile service data carried in the payload in the TS packet is preferably of the PES type.

본 발명의 다른 실시예로서 모바일 서비스 데이터가 데이터 서비스를 위한 데이터인 경우, TS 패킷 내 페이로드에 실린 모바일 서비스 데이터가 DSM-CC 섹션 형태인 것을 일 실시예로 설명한다. As another embodiment of the present invention, when the mobile service data is data for data service, it will be described as an embodiment that the mobile service data carried in the payload in the TS packet is in the form of a DSM-CC section.

다만, 상기 데이터 서비스를 위한 데이터가 실리는 TS 패킷은 PES (Packetized Elementary Stream) 타입일 수도 있고, 섹션 타입일 수도 있다. 즉, PES 타입의 데이터 서비스를 위한 데이터가 TS 패킷으로 구성되거나, 섹션 타입의  데이터 서비스를 위한 데이터가 TS 패킷으로 구성된다. However, a TS packet carrying data for the data service may be a packetized elementary stream (PES) type or a section type. That is, the data for the PES type data service is composed of TS packets, or the data for the section type data service is composed of TS packets.

본 발명에서는 상기 데이터 서비스를 위한 데이터가 섹션 타입으로 전송되는 것을 일 실시예로 설명한다. 이때 상기 데이터 서비스를 위한 데이터는 DSM-CC(Digital Storage Media-Command and Control) 섹션에 포함되고, 상기 DSM-CC 섹션은 다시 188바이트 단위의 TS 패킷으로 구성되는 것을 일 실시예로 설명한다. According to an embodiment of the present invention, data for the data service is transmitted in a section type. In this case, the data for the data service is included in a Digital Storage Media-Command and Control (DSM-CC) section, and the DSM-CC section is configured as TS packets in units of 188 bytes.

그리고 상기 DSM-CC 섹션을 구성하는 TS 패킷의 식별자는 DST(Data Service Table)에 포함된다. 만일 DST를 전송하는 경우 상기 PMT 또는, VCT의 service location descriptor 내 stream_type 필드 값으로 0x95를 할당한다. 즉, 수신 시스템에서는 PMT나 VCT의 stream_type 필드 값이 0x95이면 모바일 서비스 데이터를 포함하는 데이터 방송 즉, 모바일 서비스 데이터가 수신되고 있음을 알 수 있다. 이때 상기 모바일 서비스 데이터는 데이터/오브젝트 캐로젤(data/object carousel) 방식으로 전송될 수 있다. 상기 데이터/오브젝트 캐로젤 방식은 동일한 데이터를 주기적으로 반복 전송하는 것을 의미한다.  The identifier of the TS packet constituting the DSM-CC section is included in a data service table (DST). If the DST is transmitted, 0x95 is allocated as the stream_type field value in the PMT or the service location descriptor of the VCT. That is, when the stream_type field value of the PMT or VCT is 0x95, the reception system may know that data broadcasting including mobile service data, that is, mobile service data, is received. In this case, the mobile service data may be transmitted in a data / object carousel manner. The data / object carousel method means transmitting the same data periodically.

이때 상기 역다중화기(6003)는 상기 SI 및/또는 데이터 복호기(6010)의 제어에 의해 섹션 필터링을 수행하여 중복되는 섹션은 버리고, 중복되지 않은 섹션만 SI 및/또는 데이터 복호기(6010)로 출력한다. At this time, the demultiplexer 6003 performs section filtering under the control of the SI and / or data decoder 6010 to discard overlapping sections, and output only the non-overlapping sections to the SI and / or data decoder 6010. .

또한 상기 역다중화기(6003)는 섹션 필터링을 통해 원하는 테이블 예를 들어, VCT 또는 EIT를 구성하는 섹션만을 SI 및/또는 데이터 복호기(6010)로 출력할 수도 있다. 상기 VCT 또는 EIT에는 모바일 서비스 데이터에 대한 특정 디스크립터가 포함될 수도 있다. 그러나 상기 모바일 서비스 데이터가 PMT 등의 다른 테이블에 포함되는 것을 배제하는 것은 아니다. In addition, the demultiplexer 6003 may output only a section constituting a desired table, for example, a VCT or an EIT, to the SI and / or data decoder 6010 through section filtering. The VCT or EIT may include a specific descriptor for mobile service data. However, the mobile service data is not excluded from being included in another table such as PMT.

상기 섹션 필터링의 방법으로는, MGT에서 정의된 테이블 예를 들어, VCT의 PID를 확인하여 섹션 필터링을 걸어주는 방법이 있고, 또는 상기 VCT가 고정된 PID, 다른 말로는 base PID를 가지고 있는 경우에는 MGT를 확인하지 않고, 바로 섹션 필터링을 걸어주는 방법 등이 있다. 이때 상기 역다중화기(6003)는 PID, table_id 필드, version_number 필드, section_number 필드 등을 참조하여 섹션 필 터링을 수행한다. As the method of section filtering, there is a table defined in MGT, for example, a method of applying section filtering by checking PID of a VCT, or MGT when the VCT has a fixed PID, in other words, a base PID. There is a way to filter the section without checking it. In this case, the demultiplexer 6003 performs section filtering by referring to a PID, a table_id field, a version_number field, a section_number field, and the like.

상술하면, 본 발명에 따른 VCT의 PID를 정의하는 방법으로는 크게 두 가지 방법이 존재한다. In detail, there are two methods for defining the PID of the VCT according to the present invention.

여기서 상기 VCT의 PID는 다른 테이블들과 상기 VCT를 구별하기 위해 필요한 패킷 식별자이다. Here, the PID of the VCT is a packet identifier required to distinguish the VCT from other tables.

첫번째 방법으로, 본 발명에 따른 VCT의 PID가 MGT에 의존적이 되도록 설정할 수 있다. 이 경우, 수신 시스템에서는 PSIP 또는 PSI의 수많은 테이블들 중에서 VCT를 바로 확인할 수는 없고, MGT에서 정의되어진 PID를 체크해야만 비로소 VCT를 독출시킬 수가 있다. 상기 MGT는 각종 테이블들의 PID, 사이즈(size), 버전 넘버(version number) 등을 정의하는 테이블이다. In the first method, the PID of the VCT according to the present invention can be set to be dependent on the MGT. In this case, the receiving system cannot immediately check the VCT among numerous tables of the PSIP or PSI, and can read the VCT only by checking the PID defined in the MGT. The MGT is a table defining PIDs, sizes, version numbers, etc. of various tables.

두번째 방법으로, 본 발명에 따른 VCT의 PID가 MGT로부터 독립적인 베이스(base) PID 값, 즉 고정된 PID 값을 가지도록 설정할 수도 있다. 이 경우, 첫번째 방법과 달리 MGT의 PID를 일일이 확인하지 않고, 본 발명에 따른 VCT를 식별할 수 있는 장점이 있다. 물론, 베이스 PID에 대한 약속이 송신 시스템과, 수신 시스템 사이에서 선행되어야 한다. As a second method, the PID of the VCT according to the present invention may be set to have a base PID value independent of the MGT, that is, a fixed PID value. In this case, unlike the first method, it is possible to identify the VCT according to the present invention without checking the PID of the MGT. Of course, the promise of the base PID must be preceded between the transmitting system and the receiving system.

한편 실시예에 따라서는, 상기 역다중화기(6003)는 섹션 필터링을 통해 AIT(Application Information Table)만을 SI 및/또는 데이터 복호기(6010)로 출력할 수 있다. 이러한 AIT는 데이터 서비스를 위해 수신기에서 구동되는 어플리케이션에 대한 정보를 포함하는 테이블을 의미하며, 경우에 따라서는 XAIT, AMT라고도 불리운다. 따라서 어플리케이션의 정보를 담고는 있는 테이블이라면 어느 것이나 아래의 설명에 적용될 것이다. 이러한 AIT가 전송되는 경우, PMT의 stream_type 필드로 0x05가 할당될 수 있다. According to an embodiment, the demultiplexer 6003 may output only an application information table (AIT) to the SI and / or data decoder 6010 through section filtering. The AIT refers to a table including information on an application running in a receiver for data service. In some cases, the AIT is also called XAIT or AMT. Therefore, any table containing information about the application will apply to the description below. When such AIT is transmitted, 0x05 may be allocated to the stream_type field of the PMT.

이러한 AIT는 어플리케이션에 대한 정보, 예컨대 어플리케이션의 이름(name), 어플리케이션의 버전, 어플리케이션의 우선 순위, 어플리케이션의 ID, 어플리케이션의 상태(auto-start, 유저에 의한 조작가능, kill 등), 어플리케이션의 타입(Java 또는 HTML), 어플리케이션의 class들과 데이터 파일을 포함하는 스트림의 위치, 어플리케이션의 base directory, 어플리케이션의 아이콘의 위치 등에 대한 정보를 포함할 수 있다. These AITs provide information about the application, such as the name of the application, the version of the application, the priority of the application, the ID of the application, the state of the application (auto-start, user operable, kill, etc.), and the type of application. (Java or HTML), the location of the stream containing the classes and data files of the application, the base directory of the application, the location of the icon of the application, and the like.

그리고 상기 AIT를 이용하여 데이터 서비스를 위한 어플리케이션 정보를 검출하는 방법으로는 component_tag, original_network_id, transport_stream_id, service_id가 사용되어 검출될 수 있다.  상기 component_tag는 해당 Object Carousel의 DSI를 운반하는 elementary stream을 지칭하며, 상기 original_network_id는 transport connection을 제공하는 TS의  DVB-SI original_network_id를 지칭한다. 또한 상기 transport_stream_id는  transport connection을 제공하는 TS의 MPEG TS를 지칭하며, 상기 service_id는  transport connection을 제공하는 서비스의 DVB-SI를 지칭한다. 상기 original_network_id, transport_stream_id, service_id가 이용되어 특정 채널에 대한 정보를 얻을 수 있다. 이상과 같은 정보를 이용하여 검출된 데이터 서비스를 위한 데이터, 예컨대 어플리케이션에 대한 데이터는 SI 및/또는 데이터 복호기(6010)에 의해 제2 저장부(6011)에 저장될 수 있다.             As a method of detecting application information for a data service using the AIT, component_tag, original_network_id, transport_stream_id, and service_id may be detected. The component_tag refers to an elementary stream carrying DSI of the corresponding Object Carousel, and the original_network_id refers to the DVB-SI original_network_id of the TS providing the transport connection. In addition, the transport_stream_id refers to the MPEG TS of the TS providing the transport connection, and the service_id refers to the DVB-SI of the service providing the transport connection. The original_network_id, transport_stream_id, and service_id may be used to obtain information on a specific channel. Data for a data service detected using the above information, for example, data about an application, may be stored in the second storage unit 6011 by the SI and / or data decoder 6010.

상기 SI 및/또는 데이터 복호기(6010)는 역다중화된 모바일 서비스 데이터를 구성하는 DSM-CC 섹션을 파싱하고, 파싱 결과인 모바일 서비스 데이터를 상기 제2 저장부(6011)에 데이터베이스화한다. The SI and / or data decoder 6010 parses the DSM-CC section constituting the demultiplexed mobile service data and databases the mobile service data as a result of the parsing in the second storage unit 6011.

상기 SI 및/또는 데이터 복호기(6010)는 동일한 테이블 식별자(table_id)를 갖는 섹션들을 모아 테이블을 구성하여 파싱하고, 파싱 결과인 시스템 정보를 제2 저장부(6011)에 데이터베이스화한다. The SI and / or data decoder 6010 collects sections having the same table identifier (table_id) to form and parse a table, and database the system information as a result of the parsing in the second storage unit 6011.

이때 상기 SI 및/또는 데이터 복호기(6010)는 파싱을 함에 있어서, 상기 역다중화기(6003)에서 섹션 필터링하지 않거나 그렇지 못한 나머지 액츄얼 섹션 데이터(actual section data) 부분을 모두 읽어서, 상기 제2 저장부(6011)에 저장한다. 상기 제2 저장부(6011)는 테이블에서 파싱된 시스템 정보와 DSM-CC 섹션에서 파싱된 모바일 서비스 데이터를 저장하는 테이블 및 데이터/오브젝트 캐로젤 데이터베이스이다. In this case, the SI and / or data decoder 6010 parses the second multiplexer by reading all remaining sections of the actual section data that are not filtered or sectioned by the demultiplexer 6003. (6011). The second storage unit 6011 is a table and data / object carousel database storing system information parsed from a table and mobile service data parsed from a DSM-CC section.

여기서, 하나의 테이블이 하나의 섹션으로 구성되는지 복수개의 섹션으로 구성되는지는 테이블 내 table_id 필드, section_number 필드, last_section_number 필드 등을 통해 알 수 있다. 예를 들어, VCT의 PID를 갖는 TS 패킷만을 모으면 섹션이 되고, VCT에 할당된 테이블 식별자를 갖는 섹션들을 모으면 VCT가 된다. Here, whether a table consists of one section or a plurality of sections can be known through a table_id field, a section_number field, a last_section_number field, and the like. For example, collecting only TS packets having a PID of a VCT results in a section, and gathering sections having a table identifier assigned to a VCT results in a VCT.

상기 VCT를 파싱하면 모바일 서비스 데이터가 전송되는 가상 채널에 대한 정보를 얻을 수 있다. By parsing the VCT, information about a virtual channel through which mobile service data is transmitted can be obtained.

또한, 본 발명에 따르면, SI 및/또는 데이터 복호기(6010)는 VCT의 SLD를 파싱하여 해당 elementary stream의 스트림 타입 정보를 오디오 혹은 비디오 복호 기(6004,6005)에 전송한다. 이 경우, 해당 오디오 혹은 비디오 복호기(6004,6005)는 전송된 스트림 타입 정보를 이용하여 오디오 혹은 비디오 디코딩 작업을 수행한다. In addition, according to the present invention, the SI and / or data decoder 6010 parses the SLD of the VCT and transmits stream type information of the corresponding elementary stream to the audio or video decoders 6004 and 6005. In this case, the corresponding audio or video decoders 6004 and 6005 perform audio or video decoding using the transmitted stream type information.

또한, 본 발명에 따르면, SI 및/또는 데이터 복호기(6010)는 EIT의 AC-3 audio descriptor, MPEG 2 audio descriptor, MPEG 4 audio descriptor, AAC descriptor, AAC+ descriptor, HE AAC descriptor, AAC SBR  descriptor, MPEG surround descriptor, BSAC descriptor, MPEG 2 video descriptor, MPEG 4 video descriptor, H.264 descriptor, SVC descriptor, VC-1 descriptor 등을 파싱하여 해당 이벤트의 오디오 혹은 비디오 코덱 정보를 오디오 혹은 비디오 복호기(6004,6005)에 전송한다. 이 경우, 해당 오디오 혹은 비디오 복호기(6004,6005)는 전송된 오디오 혹은 비디오 코덱 정보를 이용하여 오디오 혹은 비디오 디코딩 작업을 수행한다. In addition, according to the present invention, the SI and / or data decoder 6010 may include an AC-3 audio descriptor, an MPEG 2 audio descriptor, an MPEG 4 audio descriptor, an AAC descriptor, an AAC + descriptor, an HE AAC descriptor, an AAC SBR descriptor, and an MPEG. Parses surround descriptor, BSAC descriptor, MPEG 2 video descriptor, MPEG 4 video descriptor, H.264 descriptor, SVC descriptor, VC-1 descriptor and etc. To transmit. In this case, the corresponding audio or video decoders 6004 and 6005 perform audio or video decoding using the transmitted audio or video codec information.

상기 획득된 데이터 서비스의 어플리케이션 식별 정보, 서비스 컴포넌트 식별 정보, 서비스 정보는 제2 저장부(6011)에 저장될 수도 있고, 데이터 방송 어플리케이션 매니저(6013)로 출력될 수도 있다. The obtained application identification information, service component identification information, and service information of the data service may be stored in the second storage unit 6011 or may be output to the data broadcast application manager 6013.

그리고 상기 어플리케이션 식별 정보, 서비스 컴포넌트 식별 정보, 서비스 정보는 상기 데이터 서비스를 위한 데이터를 디코딩하는데 참조가 될 수도 있고, 또는 데이터 서비스를 위한 어플리케이션 프로그램의 구동을 미리 준비시킬 수도 있다. The application identification information, service component identification information, and service information may be referred to for decoding data for the data service, or may be prepared to drive an application program for a data service in advance.

또한 상기 SI 및/또는 데이터 복호기(6010)는 채널 및 이벤트 관련 정보 테 이블인 시스템 정보 테이블의 역다중화를 제어하여, A/V PID 리스트를 채널 매니저(Channel Manager)(6007)로 전송할 수 있다. In addition, the SI and / or data decoder 6010 may control demultiplexing of the system information table, which is a channel and event related information table, and transmit the A / V PID list to the channel manager 6007.

상기 채널 매니저(6007)는 채널 맵(Channel Map)(6008)을 참조하여, 시스템 관련 정보 테이블 수신 요청을 상기 SI 및/또는 데이터 복호기(6010)에 할 수 있고, 그 결과를 전송받을 수 있다. 그리고, 상기 채널 매니저(6007)는 상기 튜너(6001)의 채널 튜닝을 제어할 수도 있다. The channel manager 6007 may make a request for receiving a system related information table to the SI and / or data decoder 6010 with reference to a channel map 6008 and receive the result. The channel manager 6007 may control channel tuning of the tuner 6001.

또한 상기 채널 매니저(6007)는 상기 역다중화기(6003)를 직접 제어하여, A/V PID를 직접 셋팅함으로써, 오디오/비디오 복호기(6004,6005)를 제어할 수도 있다. In addition, the channel manager 6007 may directly control the demultiplexer 6003 and directly control the audio / video decoders 6004 and 6005 by directly setting the A / V PID.

상기 오디오/비디오 복호기(6004,6005)는 메인 서비스 데이터 패킷으로부터 역다중화된 오디오와 비디오를 각각 디코딩하여 출력할 수도 있고, 모바일 서비스 데이터 패킷으로부터 역다중화된 오디오와 비디오를 각각 디코딩하여 출력할 수도 있다. 한편 실시예에 따라서는 모바일 서비스 데이터에 데이터 서비스를 위한 데이터뿐만 아니라 오디오 데이터, 비디오 데이터가 포함될 경우, 역다중화기(6003)에서 역다중화된 오디오 데이터, 비디오 데이터가 오디오 복호기(6004), 비디오 복호기(6005)에서 각각 디코딩될 수 있음은 물론이다. 일 예로, 오디오 복호기(6004)는 AC-3 복호 알고리즘, MPEG 2 audio 복호 알고리즘, MPEG 4 audio 복호 알고리즘, AAC 복호 알고리즘, AAC+ 복호 알고리즘, HE AAC 복호 알고리즘, AAC SBR 복호 알고리즘, MPEG surround 복호 알고리즘, BSAC 복호 알고리즘을 적용하고, 비디오 복호기(6005)는 MPEG 2 video 복호 알고리즘, MPEG 4 video 복호 알고리즘, H.264 복 호 알고리즘, SVC 복호 알고리즘, VC-1 복호 알고리즘을 적용하여 복호할 수 있다. The audio / video decoders 6004 and 6005 may decode and output demultiplexed audio and video from the main service data packet, respectively, or decode and output demultiplexed audio and video from the mobile service data packet, respectively. . Meanwhile, according to the exemplary embodiment, when the mobile service data includes not only data for data service but also audio data and video data, the demultiplexer 6003 demultiplexes the audio data and the video data into the audio decoder 6004 and the video decoder ( Of course, each can be decoded at 6005). For example, the audio decoder 6004 may include an AC-3 decoding algorithm, an MPEG 2 audio decoding algorithm, an MPEG 4 audio decoding algorithm, an AAC decoding algorithm, an AAC + decoding algorithm, a HE AAC decoding algorithm, an AAC SBR decoding algorithm, an MPEG surround decoding algorithm, The BSAC decoding algorithm is applied, and the video decoder 6005 can decode by applying the MPEG 2 video decoding algorithm, the MPEG 4 video decoding algorithm, the H.264 decoding algorithm, the SVC decoding algorithm, and the VC-1 decoding algorithm.

한편 상기 네이티브 TV 어플리케이션 매니저(6006)는 제1 저장부(6009)에 저장된 네이티브 어플리케이션 프로그램을 구동시켜, 채널 전환과 같은 일반적인 기능을 수행한다. 상기 네이티브 어플리케이션 프로그램은 수신 시스템의 출하시에 내장되는 소프트웨어를 의미한다. Meanwhile, the native TV application manager 6006 drives a native application program stored in the first storage unit 6009 to perform general functions such as channel switching. The native application program refers to software embedded at the time of shipment of the receiving system.

즉, 상기 네이티브 TV 어플리케이션 매니저(6006)는 유저 인터페이스(User Interface ; UI)를 통해 수신 시스템으로 사용자 요청이 있는 경우, 스크린 상의 그래픽 유저 인터페이스(Graphic User Interface ; GUI)로 디스플레이하여 사용자의 요구에 응한다. That is, the native TV application manager 6006 responds to the user's request by displaying a graphical user interface (GUI) on the screen when a user request is made to the receiving system through a user interface (UI). .

상기 유저 인터페이스는 리모콘, 키패드, 조그 다이얼, 스크린 상에 구비된 터치 스크린 등과 같은 입력 장치를 통해 사용자 요청을 입력받아 네이티브 TV 어플리케이션 매니저(6006), 데이터 방송 어플리케이션 매니저(6013) 등으로 출력한다. The user interface receives a user request through an input device such as a remote controller, a keypad, a jog dial, a touch screen provided on the screen, and outputs the user request to the native TV application manager 6006, the data broadcasting application manager 6013, and the like.

또한, 상기 네이티브 TV 애플리케이션 매니저(6006)는 채널 매니저(6007)를 제어하여 채널 관련 운영 즉, 채널 맵(6008)의 관리 및 SI 및/또는 데이터 복호기(6010)를 제어한다. 그리고 상기 네이티브 TV 애플리케이션 매니저(6006)는 수신 시스템 전체의 GUI 제어, 사용자 요구 및 상기 수신 시스템의 상태를 제1 저장부(6009)에 저장 및 복원한다. In addition, the native TV application manager 6006 controls the channel manager 6007 to control channel related operations, that is, the management of the channel map 6008 and the SI and / or data decoder 6010. The native TV application manager 6006 stores and restores the GUI control of the entire receiving system, the user request, and the state of the receiving system in the first storage unit 6009.

상기 채널 매니저(6007)는 상기 튜너(6001)와 SI 및/또는 데이터 복호기(6010)를 제어하여  사용자의 채널 요구에 응할 수 있도록 채널 맵(6008)을 관리 한다. The channel manager 6007 manages the channel map 6008 to control the tuner 6001 and the SI and / or data decoder 6010 so as to respond to the channel request of the user.

즉, 상기 채널 매니저(6007)는 튜닝(tuning)할 채널에 관련된 테이블을 파싱(parsing)하도록 SI 및/또는 데이터 복호기(6010)에 요구하고, 상기 SI 및/또는 데이터 복호기(6010)로부터  상기 테이블을 파싱한 결과를 보고 받는다. 그리고 상기 채널 매니저(6007)는 상기 보고된 파싱 결과에 따라 상기 채널 맵(6008)을 업데이트(update)하고, 모바일 서비스 데이터로부터 데이터 서비스를 위한 데이터와 관련 테이블을 역다중화하기 위한 PID를 상기 역다중화기(6003)에 설정한다. That is, the channel manager 6007 requests the SI and / or data decoder 6010 to parse a table related to the channel to be tuned, and from the SI and / or data decoder 6010 the table Report the result of parsing. The channel manager 6007 updates the channel map 6008 according to the reported parsing result, and demultiplexes a PID for demultiplexing data for a data service and a related table from mobile service data. (6003).

상기 시스템 매니저(6012)는 전원 온 및 오프에 의해 수신 시스템의 부팅을 제어하고, 롬 이미지(다운로드된 소프트웨어 이미지를 포함)를 제1 저장부(6009)에 저장한다. The system manager 6012 controls booting of the receiving system by powering on and off, and stores the ROM image (including the downloaded software image) in the first storage unit 6009.

즉, 상기 제1 저장부(6009)는 수신 시스템의운용에 필요한 OS(operating system) 등의 운용 프로그램과 데이터 서비스 기능을 수행하는 어플리케이션 프로그램(application program)을 저장한다. That is, the first storage unit 6009 stores an operating program such as an operating system (OS) required for operation of the reception system and an application program performing a data service function.

상기 어플리케이션 프로그램은 제2 저장부(6011)에 저장된 데이터 서비스를 위한 데이터를 처리하여 사용자에게 데이터 서비스를 제공하기 위한 프로그램이다. 제2 저장부(6011)에 데이터 서비스를 위한 데이터가 저장되어 있다면 상기 어플리케이션 프로그램 또는 다른 어플리케이션 프로그램에 의해 처리되어 사용자에게 제공된다. The application program is a program for providing a data service to a user by processing data for a data service stored in the second storage unit 6011. If data for a data service is stored in the second storage unit 6011, the data is processed by the application program or another application program and provided to the user.

상기 제1 저장부(6009)에 저장된 운영 프로그램과 어플리케이션 프로그램은 다운로드되는 새로운 프로그램으로 갱신 또는 수정될 수 있다. 또한 저장된 운영 프로그램과 어플리케이션 프로그램은 동작 전원의 공급이 차단되어도 지워지지 않고 계속 저장되므로, 동작 전원이 인가되면 새로이 다운로드받지 않고도 수행될 수 있다. The operating program and the application program stored in the first storage unit 6009 may be updated or modified with a new program downloaded. In addition, since the stored operating program and the application program are continuously stored without being erased even when the supply of the operating power is cut off, when the operating power is applied, the stored operating program and the application program can be executed without downloading a new one.

본 발명에 따른 데이터 서비스를 제공하기위한 어플리케이션 프로그램은 수신 시스템의 출하시에 제1 저장부(6009)에 내장될 수도 있고, 이후 다운로드를 통해 제1 저장부(6009)에 저장될 수도 있다. 또한 상기 제1 저장부(6009)에 저장된 데이터서비스를 위한 어플리케이션 프로그램 즉, 데이터 서비스 제공 어플리케이션 프로그램은 삭제, 갱신, 수정이 가능하다. 또한 상기 데이터서비스 제공 어플리케이션 프로그램은 데이터 서비스를 위한 데이터가수신될 때마다 데이터 서비스를 위한 데이터와 함께 다운로드되어 실행될 수도 있다. The application program for providing a data service according to the present invention may be embedded in the first storage unit 6009 at the time of shipment of the receiving system, or may be stored in the first storage unit 6009 through download. In addition, an application program for a data service, that is, a data service providing application program stored in the first storage unit 6009 may be deleted, updated, or modified. In addition, the data service providing application program may be downloaded and executed together with the data for the data service whenever data for the data service is received.

상기 데이터 방송 어플리케이션 매니저(6013)는 유저 인터페이스(UI: User Interface)에 의해 데이터 서비스 요청이 있는 경우, 제1 저장부(6009)에 저장된 해당 어플리케이션 프로그램을 구동시켜 요청된 데이터를 처리함에 의해 사용자에게 데이터 서비스를 제공한다. 그리고 이러한 데이터 서비스를 위해 상기 데이터 방송 어플리케이션 매니저(6013)는 GUI를 지원한다. 여기서 데이터 서비스는 문자, 음성, 그래픽, 정지 영상, 동영상 등의 형태로 제공된다. When there is a data service request through a user interface (UI), the data broadcasting application manager 6013 drives a corresponding application program stored in the first storage unit 6009 to process the requested data. Provide data services. The data broadcast application manager 6013 supports a GUI for such a data service. Here, the data service is provided in the form of text, voice, graphics, still images, video, and the like.

상기 데이터 방송 어플리케이션 매니저는 제1 저장부(6009)에 저장된 어플리케이션 프로그램을 실행시키기 위한 플랫폼을 구비할 수 있다. 상기 플랫폼은 일 예로, 자바(Java) 프로그램을 실행시키기 위한 자바 버츄얼 머신(Java Virtual Machine)이 될 수 있다. The data broadcasting application manager may include a platform for executing an application program stored in the first storage unit 6009. The platform may be, for example, a Java virtual machine for executing a Java program.

다음은 상기 데이터 방송 어플리케이션 매니저(6013)에서 제1 저장부(6009)에 저장된 데이터 서비스 제공 어플리케이션 프로그램을 실행시켜, 제2 저장부(6011)에 저장된 데이터 서비스를 위한 데이터를 처리함에 의해 사용자에게 데이터 서비스를 제공하는 예를 설명한다. Next, the data broadcasting application manager 6013 executes a data service providing application program stored in the first storage unit 6009 to process data for the data service stored in the second storage unit 6011. An example of providing a service will be described.

예를 들어, 상기 데이터 서비스가 교통 정보 서비스라고 가정하면, 본 발명의 데이터 서비스는 전자지도 혹은 GPS가 장착되지 않았거나, 전자지도와 GPS가 모두 장착되지 않은 수신기에서 문자, 음성, 그래픽, 정지영상, 동영상 중 적어도 하나를 통해 사용자들에게 제공된다. 이 경우 도 66과 같은 수신 시스템에 GPS 모듈(6020)이 장착되어 있다면, 상기 GPS 모듈(6020)은 복수의 저궤도 위성으로부터 송신되는 위성 신호를 수신하여 현재 위치 정보(경도, 위도, 고도)를 추출한 후 데이터 방송 어플리케이션 매니저(6013)로 출력한다. 이때 각 링크 및 노드에 대한 정보를 포함하는 전자 지도와 다양한 그래픽 정보가 제2 저장부(6011) 또는 제1 저장부(6009)나 도시되지 않은 다른 저장부에 저장되어 있다고 가정한다. For example, assuming that the data service is a traffic information service, the data service of the present invention is a text, voice, graphic, still image in a receiver which is not equipped with an electronic map or GPS, or is not equipped with both an electronic map and GPS. , Provided to users via at least one of the videos. In this case, if the GPS module 6020 is installed in the receiving system as shown in FIG. 66, the GPS module 6020 extracts current location information (longitude, latitude, and altitude) by receiving satellite signals transmitted from a plurality of low-orbit satellites. The data is then output to the data broadcast application manager 6013. In this case, it is assumed that an electronic map including information on each link and node and various graphic information are stored in the second storage unit 6011 or the first storage unit 6009 or another storage unit not shown.

즉, 상기 데이터 방송 어플리케이션 매니저(6013)의 요청에 의해, 상기 제2 저장부(6011)에 저장된 데이터 서비스를 위한 데이터는 독출되어 데이터 방송 어플리케이션 매니저(6013)로 입력된다. That is, at the request of the data broadcasting application manager 6013, data for the data service stored in the second storage unit 6011 is read and input to the data broadcasting application manager 6013.

상기 데이터 방송 어플리케이션 매니저(6013)는 제2 저장부(6011)로부터 읽어 온 데이터 서비스를 위한 데이터를 해석하여 그 메시지 내용에 따른 필요한 정보 및/또는 제어 신호를 추출한다. 즉 상기 데이터 방송 어플리케이션 매니저(6013)는 현재 위치 정보 및 그래픽 정보를 이용하여, 사용자에게 현재 위치 정 보를 그래픽으로 제공하도록 처리한다. The data broadcasting application manager 6013 analyzes data for a data service read from the second storage unit 6011 and extracts necessary information and / or control signals according to the message contents. That is, the data broadcasting application manager 6013 processes to provide the current location information to the user graphically using the current location information and the graphic information.

도 72는 본 발명의 다른 실시예에 따른 디지털 방송 수신 시스템의 구성 블록도이다. 72 is a block diagram illustrating a digital broadcast reception system according to another embodiment of the present invention.

도 72의 수신 시스템은 튜너(7001), 복조부(7002), 역다중화기(7003), 제 1 디스크램블러(7004), 오디오 복호기(7005), 비디오 복호기(7006), 제 2 디스크램블러(7007), 인증 수단(7008), 네이티브 TV 어플리케이션 매니저(7009), 채널 매니저(7010), 채널 맵(7011), 제1 저장부(7012), SI 및/또는 데이터 복호기(7013), 제2 저장부(7014), 시스템 매니저(7015), 데이터 방송 어플리케이션 매니저(7016), 저장 제어부(storage controller)(7017), 제3 저장부(7018), 및 통신 모듈(7019), GPS 모듈(7020)을 포함할 수 있다. 상기 제1 저장부(7012)는 비휘발성 메모리(NVRAM)(또는 플래시 메모리)이다. 상기 제3 저장부(7018)는 하드 디스크 드라이브(HDD), 메모리 칩과 같은 대용량 저장 장치이다. 또한, 상기 도 72을 구성하는 각 부분에 대한 설명 중 도 66과 중복되는 부분은 상술한 도 66의 내용을 원용하며 여기에서는 생략한다. The receiving system of FIG. 72 includes a tuner 7001, a demodulator 7002, a demultiplexer 7003, a first descrambler 7004, an audio decoder 7005, a video decoder 7006, and a second descrambler 7007. , Authentication means 7008, native TV application manager 7009, channel manager 7010, channel map 7011, first storage 7072, SI and / or data decoder 7013, second storage ( 7014, a system manager 7015, a data broadcast application manager 7016, a storage controller 7017, a third storage unit 7018, a communication module 7019, and a GPS module 7020. Can be. The first storage part 7022 is a nonvolatile memory (NVRAM) (or flash memory). The third storage unit 7018 is a mass storage device such as a hard disk drive (HDD) and a memory chip. In addition, the description overlapping with FIG. 66 in the description of each part constituting the FIG. 72 uses the contents of FIG. 66 described above and will be omitted herein.

한편 송신측에서는 방송망을 이용하여 전송되는 모바일 서비스 및/또는 메인 데이터에 대한 불법 복사나 불법 시청을 방지하기 위한 서비스 또는 유료 방송 서비스를 제공하기위해 방송 콘텐츠를 스크램블하여 송출할 수 있다. Meanwhile, the transmitter may scramble and transmit broadcast content to provide a service for preventing illegal copying or illegal viewing of a mobile service and / or main data transmitted through a broadcasting network or a paid broadcasting service.

이 경우 수신 시스템에서는 상기 스크램블된 방송 콘텐츠를 디스크램블하여야만 사용자에게 제대로 된 방송 콘텐츠를 제공할 수 있다. 또한, 수신 시스템은 상기 디스크램블 이전에 인증 수단에 의한 인증 절차를 거칠 수 있다. In this case, the reception system can provide proper broadcast content to the user only by descrambled the scrambled broadcast content. In addition, the receiving system may undergo an authentication procedure by an authentication means before the descramble.

이하에서는 본 발명의 일실시예에 따라 인증 수단과 디스크램블 수단을 구비하는 수신 시스템에 대해 설명한다. Hereinafter, a reception system including an authentication means and a descramble means according to an embodiment of the present invention will be described.

본 발명에 따른 수신 시스템은 스크램블된 방송 콘텐츠를 수신하여 디스크램블하는 수단과 상기 디스크램블과 관련하여 해당 수신 시스템이 수신 자격이 있는 정당한 수신 시스템인지를 인증하는 수단을 구비할 수 있다. The receiving system according to the present invention may include means for receiving and descrambled scrambled broadcast content, and means for authenticating whether the corresponding receiving system is a legitimate receiving system entitled to receive in relation to the descramble.

이하에서는 설명의 편의를 위해 상기 디스크램블하는 수단은 디스크램블러(7004, 7007), 상기 인증하는 수단은 인증 수단(7008)으로 명명한다. 이러한 명칭은 일실시예 일 뿐 다른 명칭, 예컨대 디크립터(decrypter)라고 명명될 수도 있다. Hereinafter, for the convenience of description, the means for descrambling are referred to as descramblers 7004 and 7007, and the means for authenticating are referred to as authentication means 7008. Such a name is just one embodiment and may be called another name, for example, a decrypter.

이때, 도 72의 수신 시스템은 상기 디스크램블러(7004, 7007)와 인증 수단(7008)을 내부에 구비하고 있는 것을 일 실시예로 도시하였으나, 외부 모듈에 별도로 구비할 수도 있다. 또한, 상기 디스크램블러(7004, 7007)와 인증 수단(7008)을 각각 내부 또는 외부 모듈에 별개로 구비할 수도 있다. 상기 모듈은 SD나 CF 메모리와 같은 슬롯 형태, 메모리 스틱 형태, USB 형태 등이 가능하며, 수신 시스템에 착탈할 수 있다. At this time, the receiving system of FIG. 72 is provided with the descramblers 7004 and 7007 and the authentication means 7008 therein in one embodiment, but may be provided separately in an external module. In addition, the descramblers 7004 and 7007 and the authentication means 7008 may be provided separately in the internal or external modules. The module may be a slot type such as SD or CF memory, a memory stick type, a USB type, or the like, and may be attached to or detached from the receiving system.

상기 수신 시스템은 상술한 바와 같이, 인증 수단(7008)을 통해 인증에 성공하면, 스크램블된 방송 콘텐츠를 디스크램블러(7004, 7007)에서 디스크램블하여 사용자에게 제공할 수 있다. 이때, 상기 인증 방법과 디스크램블 방법은 다양한 방식을 이용할 수 있다. 그러나 그 경우에 송/수신간에 미리 정한 약속에 의하여야 할 것이다. As described above, when the authentication is successful through the authentication means 7008, the receiving system may descramble the scrambled broadcast content in the descramblers 7004 and 7007 and provide the same to the user. In this case, the authentication method and the descramble method may use various methods. In that case, however, it must be based on a pre-determined appointment between sending and receiving.

이하에서는 설명의 편의를 위해 인증 방법과 디스크램블 방법의 몇 가지 실시예를 설명하고, 중복되는 설명 부분은 생략하겠다. 그러나 본 발명은 상술한 몇 가지 실시예에 한정되지 않으며, 당업자에게 자명한 기술 사상에까지 본 발명에 포함됨을 밝혀둔다. Hereinafter, some embodiments of the authentication method and the descramble method will be described for convenience of description, and redundant description will be omitted. However, the present invention is not limited to the above-described exemplary embodiments, and it is to be understood that the present invention is included in the technical spirit apparent to those skilled in the art.

먼저, 상기 수신 시스템에 인증 수단(7008)과 디스크램블러(7004, 7007)가 구비된 경우에 대해 설명하면, 다음과 같다. First, a description will be given of the case where the receiving unit 7008 and the descramblers 7004 and 7007 are provided in the receiving system.

상기 수신 시스템은 튜너(7001)와 복조부(7002)를 통해 스크램블된 방송 콘텐츠를 수신하고, 시스템 매니저(7015)는 상기 수신한 방송 콘텐츠의 스크램블 여부를 판단한다. 그리고 상기 판단 결과 방송 콘텐츠가 스크램블되었으면, 상기 인증 수단(7008)을 동작시키도록 제어한다. The receiving system receives scrambled broadcast content through the tuner 7001 and the demodulator 7002, and the system manager 7015 determines whether the received broadcast content is scrambled. If the broadcast content is scrambled as a result of the determination, the authentication means 7008 is controlled to operate.

상기 인증 수단(7008)은 상술한 바와 같이 해당 수신 시스템이 유료 방송 서비스를 수신할 수 있는 자격이 있는 정당한 호스트인지 판단하기 위해 인증 절차를 거친다. 이때, 상기 인증 절차는 다양한 인증 방법에 따라 제각각일 것이다. As described above, the authentication means 7008 undergoes an authentication procedure to determine whether the corresponding receiving system is a legitimate host who is entitled to receive the pay broadcasting service. At this time, the authentication procedure will be different according to various authentication methods.

일 실시예로, 상기 인증 수단(7008)은 수신하는 방송 콘텐츠 내 IP 데이터그램의 IP 어드레스와 해당 호스트의 고유한 주소를 비교하는 방식으로 인증할 수 있다. 이때, 상기 해당 수신 시스템의 고유한 주소는 MAC 어드레스일 수 있다. 즉, 상기 인증 수단(7008)은 디캡슐화된 IP 데이터그램에서 IP 어드레스를 추출하여 해당 어드레스와 매핑되는 수신 시스템 정보를 얻는다. 이때, 수신 시스템은 IP 어드레스와 수신 시스템 정보를 매핑할 수 있는 정보(예를 들면, 테이블 형식)를 미리 구비하고 있어야 한다. In one embodiment, the authentication means 7008 may authenticate by comparing the IP address of the IP datagram in the received broadcast content with the unique address of the host. In this case, the unique address of the corresponding receiving system may be a MAC address. That is, the authentication means 7008 extracts an IP address from the decapsulated IP datagram and obtains reception system information mapped to the address. At this time, the receiving system should be provided with information (for example, a table format) which can map an IP address and receiving system information in advance.

그러므로, 상기 인증 수단(7008)은 해당 수신 시스템의 주소와 IP 어드레스와 매핑되는 수신 시스템 정보의 동일성을 판단하여 인증 절차를 수행한다. 즉, 상기 인증 수단(7008)은 판단 결과 두 정보가 동일하면, 해당 수신 시스템은 수신 자격이 있는 정당한 수신 시스템으로 판단할 수 있다. Therefore, the authentication means 7008 determines the identity of the address of the corresponding receiving system and the receiving system information mapped to the IP address and performs the authentication procedure. That is, the authentication means 7008 may determine that the corresponding receiving system is a legitimate receiving system that is eligible to receive if the two pieces of information are identical.

다른 실시예로는, 송수신측에서 미리 표준화된 식별 정보를 정의하고 유료 방송 서비스를 신청한 수신 시스템의 식별 정보를 송신측에서 전송하고 수신 시스템에서는 자신의 식별 번호와 동일성 판단을 거쳐 인증 절차를 수행하는 방법이 있다. 즉, 송신측은 유료 방송 서비스를 신청한 해당 수신 시스템의 고유의 식별 정보(번호)를 데이터베이스를 생성하여 저장하고, 방송 콘텐츠를 스크램블하는 경우에EMM(Entitlement Management Message)에 상기 식별 정보를 포함하여 전송한다. In another embodiment, the transmitting and receiving side defines the standardized identification information in advance, and transmits the identification information of the receiving system applying for the pay broadcasting service at the transmitting side, and the receiving system performs the authentication procedure after determining the identity with its own identification number. There is a way. That is, the transmitting side generates and stores a database with unique identification information (number) of the corresponding receiving system that has applied for the paid broadcasting service, and transmits the identification information in the EMM (Entitlement Management Message) when scrambled broadcasting content. do.

그리고 해당 방송 콘텐츠가 스크램블될 때, 상기 스크램블에 적용된 CAS(Conditional Access System) 정보, 모드 정보, 메시지 위치 정보와 같은 메시지(예를 들면, ECM, EMM)가 해당 데이터 헤더나 다른 패킷을 통해 전송된다. 상기 ECM(Entitlement Control Message)은 스크램블에 사용된 제어 단어(CW)를 포함할 수 있다. 이때 상기 제어 단어는 인증키로 암호화되어 있을 수 있다. 상기 EMM은 해당 데이터의 인증키와 자격 정보를 포함할 수 있다. 상기 인증키는 수신자 고유의 분배키로 암호화되어 있을 수 있다. 즉, 모바일 서비스 데이터가 제어 워드(CW)를 이용하여 스크램블되어 있고, 인증을 위한 정보와 디스크램블을 위한 정보가 송신측에서 전송된다고 가정하자. 그러면, 송신측에서는 상기 CW를 인증키로 암호화한 후 자격 제어 메시지(ECM)에 포함하여 전송한다. 또한 송신측에서는 상기 CW를 암호화하는데 사용된 인증키와 수신 시스템의 수신 자격(예, 수신 자격이 있는 수신 시스템의 표준화된 시리얼 번호)을 자격 관리 메시지(EMM)에 포함하여 전송한다. When the broadcast content is scrambled, a message (for example, ECM, EMM) such as conditional access system (CAS) information, mode information, and message location information applied to the scramble is transmitted through a corresponding data header or another packet. . The Entitlement Control Message (ECM) may include a control word (CW) used for scramble. In this case, the control word may be encrypted with an authentication key. The EMM may include an authentication key and entitlement information of the corresponding data. The authentication key may be encrypted with a distribution key unique to the receiver. That is, assume that mobile service data is scrambled using the control word CW, and information for authentication and information for descrambling are transmitted at the transmitting side. Then, the transmitting side encrypts the CW with an authentication key and then transmits the CW in an entitlement control message (ECM). In addition, the transmitting side transmits the authentication key used to encrypt the CW and the receiving credentials of the receiving system (eg, a standardized serial number of the receiving system having the receiving qualification) in the EMM.

따라서, 수신 시스템의 인증 수단(7008)은 해당 수신 시스템 고유의 식별 정보를 추출하고, 수신하는 방송 서비스의 EMM에 포함된 식별 정보를 추출하여 두 식별 정보의 동일성 여부를 판단하여 인증 절차를 수행한다. 즉, 상기 인증 수단(7008)은 판단 결과 두 정보가 동일하면, 해당 수신 시스템은 수신 자격이 있는 정당한 수신 시스템으로 판단할 수 있다. Therefore, the authentication means 7008 of the receiving system extracts identification information unique to the corresponding reception system, extracts identification information included in the EMM of the receiving broadcast service, determines whether the two identification information are identical, and performs an authentication procedure. . That is, the authentication means 7008 may determine that the corresponding receiving system is a legitimate receiving system that is eligible to receive if the two pieces of information are identical.

또 다른 실시예로는, 수신 시스템은 착탈 가능한 외부 모듈에 상기 인증 수단(7008)을 구비할 수 있다. 이때, 상기 수신 시스템과 외부 모듈은 공통 인터페이스(common interface; CI)를 통해 인터페이싱한다. 즉, 외부 모듈은 공통 인터페이스를 통해 수신 시스템으로부터 스크램블된 데이터를 수신하여 디스크램블을 수행할 수도 있으며, 디스크램블에 필요한 정보만을 상기 수신 시스템으로 전송할 수도 있다. In another embodiment, the receiving system may be provided with the authentication means 7008 in a removable external module. In this case, the receiving system and the external module interface through a common interface (CI). That is, the external module may perform descrambling by receiving scrambled data from the receiving system through a common interface, and may transmit only information necessary for descrambling to the receiving system.

또한, 상기 공통 인터페이스는 물리적 계층과 하나 이상의 프로토콜 계층으로 구성하며, 해당 프로토콜 계층은 추후 확장성을 고려하여 각각 독립된 기능을 제공하는1개 이상의 계층을 포함하는 구조를 가질 수 있다. In addition, the common interface includes a physical layer and one or more protocol layers, and the protocol layer may have a structure including one or more layers that provide independent functions in consideration of scalability in the future.

상기 외부 모듈은 스크램블에 사용된 키 정보와 인증 정보들을 저장하고 있으면서 디스크램블 기능은 없는 메모리 또는 카드이거나 디스크램블 기능을 포함한 카드일 수 있다. 즉, 상기 모듈은 하드웨어, 미들웨어 또는 소프트웨어 형태로 디 스크램블 기능을 포함할 수 있다. The external module may be a memory or a card that stores key information and authentication information used for scramble and does not have a descramble function, or a card including a descramble function. That is, the module may include a descrambling function in the form of hardware, middleware or software.

이때 수신 시스템과 외부 모듈은 송신측에서 제공하는 유료 방송 서비스를 사용자에게 제공하기 위해 각각 인증을 받아야 한다. 따라서, 송신측은 상기 인증을 받은 수신 시스템과 모듈 페어에만 유료 방송 서비스를 제공할 수도 있다. At this time, the receiving system and the external module must be authenticated to provide the user with the pay broadcasting service provided by the transmitter. Therefore, the transmitting side may provide the pay broadcasting service only to the receiving system and the module pair which have been authenticated.

이와 함께 상기 수신 시스템과 외부 모듈은 공통 인터페이스를 통해 서로 상호 인증이 필요하다. 즉, 상기 모듈은 공통 인터페이스를 통해 수신 시스템 내 시스템 매니저(7015)와 통신하여 수신 시스템을 인증할 수 있으며, 수신 시스템은 공통 인터페이스를 통해서 모듈을 인증할 수 있다. 그리고 상기 모듈은 상기 상호 인증 과정에서 수신 시스템의 고유 ID와 자신의 고유 ID를 추출하여 송신측으로 전송할 수 있으며, 송신측은 상기 값을 이용하여 서비스 시작 여부 및 과금 정보로 사용할 수 있다. 상기 시스템 매니저(7015)는 필요한 경우 상기 과금 정보를 통신 모듈(7019)을 통해 원격지의 송신측으로 전송할 수 있다.   In addition, the receiving system and the external module need to mutually authenticate each other through a common interface. That is, the module may authenticate the receiving system by communicating with the system manager 7015 in the receiving system through the common interface, and the receiving system may authenticate the module through the common interface. The module may extract a unique ID and a unique ID of a receiving system and transmit the unique ID of the receiving system to the transmitting side during the mutual authentication process, and the transmitting side may use the value as service start or charging information. The system manager 7015 may transmit the charging information to the transmitting side of the remote place through the communication module 7019 if necessary.

상기 인증 수단(7008)은 해당 수신 시스템 및/또는 외부 모듈을 인증하고, 상기 인증에 성공하면 해당 수신 시스템을 유료 방송 서비스를 수신할 수 있는 자격이 있는 정당한 수신 시스템으로 인정한다. 또한, 상기 인증 수단(7008)은 방송 콘텐츠를 제공하는 송신측이 아닌 수신 시스템 사용자가 가입한 이동통신사로부터 인증 관련 데이터를 수신할 수 있다. 이때, 상기 인증 관련 데이터는 방송 콘텐츠를 제공하는 송신측에서 스크램블하여 이동통신사를 거쳐 전송하거나 이동통신사에서 스크램블하여 전송할 수 있을 것이다. The authentication means 7008 authenticates the corresponding receiving system and / or external module, and if the authentication is successful, recognizes the receiving system as a legitimate receiving system that is entitled to receive the pay broadcasting service. In addition, the authentication means 7008 may receive authentication-related data from a mobile communication company subscribed to by a receiving system user other than the transmitting side providing the broadcast content. In this case, the authentication-related data may be scrambled by the transmitting side providing the broadcast content through the mobile communication company or scrambled by the mobile communication company.

상기 인증 수단(7008)에서 인증 절차를 거쳐 인증에 성공하면, 수신 시스템 은 스크램블되어 수신된 방송 콘텐츠를 디스크램블할 수 있다. 이때, 상기 디스크램블은 디스크램블러(7004, 7007)에서 이루어지며, 상기 디스크램블러(7004, 7007)는 수신 시스템 내부 또는 외부 모듈에 구비될 수 있다. If authentication is successful by the authentication means 7008, the receiving system may scramble and descramble the received broadcast content. At this time, the descrambler is made in the descrambler (7004, 7007), the descrambler (7004, 7007) may be provided in an internal or external module of the receiving system.

또한, 수신 시스템은 공통 인터페이스를 구비하고 디스크램블러(7004, 7007)를 포함한 외부 모듈과 통신하여 디스크램블할 수 있다. 즉, 디스크램블러(7004, 7007)는 하드웨어나 미들웨어 또는 소프트웨어 형태로 상기 모듈에 포함되거나 수신 시스템 내부에 포함할 수 있으며, 상기 모듈과 수신 시스템 모두 포함하거나 어느 하나에만 포함할 수도 있다. The receiving system also has a common interface and can descramble in communication with an external module including descramblers 7004 and 7007. That is, the descramblers 7004 and 7007 may be included in the module in the form of hardware, middleware or software, or may be included in the receiving system, or may include both the module and the receiving system or only one of them.

만일 상기 디스크램블러(7004, 7007)가 수신 시스템 내부에 구비되었다면, 송신측(서비스 사업자와 방송국 중 적어도 하나를 포함)에서 동일한 스크램블 방법으로 데이터를 스크램블하여 전송하는 경우에 유리하다. If the descramblers 7004 and 7007 are provided inside the reception system, it is advantageous when the transmitting side (including at least one of a service provider and a broadcasting station) scrambles and transmits data using the same scramble method.

한편, 상기 디스크램블러(7004, 7007)가 외부 모듈에 포함되었다면, 송신측마다 서로 다른 스크램블 방법으로 데이터를 스크램블하여 전송하는 경우에 유리하다. 이 경우 수신 시스템은 각 송신단의 디스크램블 알고리즘을 구비하지 않아도 되어 더욱 단순화 및 소형화시킬 수 있다. 따라서, 이 경우에는 상기 외부 모듈이 각 송신측이 독점적으로 제공하는 CA 기능 및 사용자에게 제공할 각종 서비스들을 위한 기능을 제공하는 주체가 될 수 있다. On the other hand, if the descrambler (7004, 7007) is included in an external module, it is advantageous when the scrambler to transmit data by a different scramble method for each transmitting side. In this case, the receiving system does not need to have a descramble algorithm of each transmitting end, so that the receiving system can be further simplified and downsized. Therefore, in this case, the external module may be a subject that provides CA functions exclusively provided by each transmitting party and functions for various services to be provided to the user.

그리고 상기 공통 인터페이스는 여러 종류의 외부 모듈과 수신 시스템 내 시스템 매니저(7015) 간에 단일 방식으로 통신한다. 또한, 수신 시스템은 서로 다른 서비스를 제공하는 적어도 하나 이상의 모듈이 동시에 연결되어 동작 할 수 있기 때문에 복수 개의 모듈과 시스템 매니저(7015)를 연결할 수 있는 구조를 가진다. The common interface communicates in a single manner between various types of external modules and the system manager 7015 in the receiving system. In addition, the receiving system has a structure in which a plurality of modules and the system manager 7015 can be connected because at least one or more modules providing different services can be connected and operated at the same time.

또한, 상기 수신 시스템과 외부 모듈간의공통 인터페이스 프로토콜에는 상호간 정상적인통신을 유지하기 위해, 상대방의 상태를 주기적으로 검사하는 기능을 포함한다. 상기 수신 시스템과 모듈은 이러한 기능을 사용하여 상대방의 상태를 관리하고 만약 어느 하나가 오동작을 하면 이를 사용자나 송신측에 리포트(report)하고 복구(recovery)를 시도하는 기능을 포함한다.   In addition, the common interface protocol between the receiving system and the external module includes a function of periodically checking the state of the other party to maintain normal communication with each other. The receiving system and the module use this function to manage the state of the other party, and if one malfunctions, it includes a function to report to the user or the sender and try to recover.

또 다른 실시예로는, 하드웨어에 종속하지 않고 소프트웨어적으로 인증 절차를 수행할 수 있다. In another embodiment, the authentication procedure may be performed in software without being dependent on hardware.

즉, 수신 시스템은 CAS 소프트웨어를 다운로드 등을 통해 미리 저장한 메모리 카드가 삽입되면, 상기 메모리 카드로부터 상기 CAS 소프트웨어를 수신하여 로딩하고 인증 절차를 수행한다. 상기 메모리 카드로부터 읽어 온 CAS 소프트웨어는 수신 시스템 내 제 1 저장부(7012)에 탑재시키고 하나의 애플리케이션 형태로 구동하는 것을 일 실시예로 한다. 특히, 본 발명에서는 미들웨어기반 위에 상기 CAS 소프트웨어를 탑재하고 실행시키는 것을 일 실시예로 한다. 또한, 상기 미들웨어는 자바(JAVA) 미들웨어를 일 예로 하여 설명한다. That is, when the memory card, which is stored in advance by downloading the CAS software, is inserted, the receiving system receives and loads the CAS software from the memory card and performs an authentication procedure. According to an embodiment of the present invention, the CAS software read from the memory card is mounted in the first storage unit 7022 in the receiving system and driven in one application form. In particular, according to the present invention, the CAS software is mounted and executed on a middleware base. In addition, the middleware will be described using JAVA middleware as an example.

이를 위해 수신 시스템은 메모리 카드와 접속하기 위해 공통 인터페이스를 구비할 수 있으며, 상기 제 1 저장부(7012)는 휘발성 메모리, 비휘발성 메모리 및 플래시 메모리(또는 플래시 롬이라고도 함)일 수 있다. 이때 상기 메모리카드는 주로 플래시 메모리 또는 소형 하드를 사용한다. 상기 메모리카드는 저장되는 CAS 소프트웨어의 내용, 인증, 스크램블, 과금 방식 등에 따라 적어도 하나 이상의 수신 시스템에서 사용할 수 있다. To this end, the receiving system may include a common interface for connecting to a memory card, and the first storage unit 7022 may be a volatile memory, a nonvolatile memory, and a flash memory (also called a flash ROM). In this case, the memory card mainly uses a flash memory or a small hard drive. The memory card may be used in at least one or more receiving systems according to the contents, authentication, scramble, billing method, etc. of the stored CAS software.

그러나 상기 CAS 소프트웨어는 적어도 인증에 필요한 정보와 디스크램블에 필요한 정보를 포함하여야 한다. However, the CAS software must include at least information necessary for authentication and information required for descramble.

따라서, 상기 인증 수단(7008)은 송신측과 수신 시스템 및 수신 시스템과 메모리 카드 간에 인증 절차를 수행한다. 이때, 상기에서 설명한 것과 유사하게 메모리 카드는 수신 자격이 있는 것으로 인증 가능한 정상 수신 시스템에 대한 정보를 포함할 수 있다. 예를 들어, 상기 수신 시스템에 대한 정보는 해당 수신 시스템에 대해 표준화된 시리얼 번호와 같은 고유 정보를 들 수 있다. 따라서, 상기 인증 수단(7008)은 상기 메모리카드에 포함된 표준화된 시리얼 번호와 같은 고유 정보와 해당 수신 시스템의 고유 정보를 비교하여 메모리카드와 수신 시스템 간에 인증을 수행할 수 있다. Thus, the authentication means 7008 performs an authentication procedure between the transmitting side, the receiving system, and the receiving system and the memory card. In this case, similarly to the above description, the memory card may include information on a normal receiving system that can be authenticated as being entitled to receive. For example, the information about the receiving system may include unique information such as a serial number standardized for the receiving system. Thus, the authentication means 7008 can perform authentication between the memory card and the receiving system by comparing the unique information such as the standardized serial number included in the memory card with the unique information of the corresponding receiving system.

상기 CAS 소프트웨어는 자바 미들웨어 기반에서 동작하게 되면 먼저, 수신 시스템과 메모리카드 간에 인증을 수행한다. 예를 들어, CAS 소프트웨어에 포함된 수신 시스템의 고유 번호와 상기 수신 시스템의 시스템 매니저(7015)로부터 읽어 온 수신 시스템의 고유 번호가 동일한지를 확인하여 동일하면 상기 메모리카드는 상기 수신 시스템에서 사용 가능한 정상적인 메모리카드로 확인된다. 이때, 상기 CAS 소프트웨어는 수신 시스템의 출하시에 제 1 저장부(7015)에 내장될 수도 있고, 송신측이나 상기와 같이 모듈 내지 메모리카드로부터 제 1 저장부(7015)로 다운로드받을 수 있다. 그러면 상기 디스크램블 기능은 데이터 방송 애플리케이션 매니저(7009)에 의해 하나의 애플리케이션 형태로 동작하게 할 수 있다. The CAS software first performs authentication between a receiving system and a memory card when operating on a Java middleware base. For example, if the unique number of the receiving system included in the CAS software and the unique number of the receiving system read from the system manager 7015 of the receiving system are identical to each other, and the same, the memory card can be used normally in the receiving system. Confirmed by memory card. In this case, the CAS software may be embedded in the first storage unit 7015 at the time of shipment of the receiving system, or may be downloaded to the first storage unit 7015 from the transmitting side or the module or the memory card as described above. Then, the descramble function may be operated by the data broadcast application manager 7009 in the form of one application.

이후 상기 CAS 소프트웨어는 역다중화기(7003)에서 출력하는 EMM/ECM 패킷을 파싱하여 해당 수신기가 수신 자격이 있는지를 확인하여 디스크램블에 필요한 정보(즉, CW)를 구하여 디스크램블러(7004, 7007)에 제공한다. 즉, 자바 미들웨어 기반에서 동작하는 CAS 소프트웨어는 먼저 수신 시스템으로부터 해당 수신 시스템의 고유 번호를 읽어 와 상기 EMM으로 전송된 수신 시스템의 고유 번호를 비교하여 현 수신 시스템의 수신 자격을 확인한다. Thereafter, the CAS software parses the EMM / ECM packet output from the demultiplexer 7003, checks whether the corresponding receiver is eligible to receive, obtains information (i.e., CW) necessary for descramble, and descrambles the descramblers 7004 and 7007. to provide. That is, CAS software operating on the Java middleware first reads the unique number of the corresponding receiving system from the receiving system and compares the unique number of the receiving system transmitted to the EMM to check the receiving qualification of the current receiving system.

그리고 수신 시스템의 수신 자격이 확인되면 ECM으로 전송된 해당 방송 서비스 정보와 해당 방송 서비스의 수신 자격을 이용하여 상기 수신 시스템이 해당 방송 서비스를 수신할 수 있는 자격이 있는지를 확인한다. 상기 방송 서비스를 수신할 수 있는 자격이 확인되면 상기 EMM으로 전송된 인증키를 이용하여 ECM으로 전송되는 암호화된CW를 해독한 후 디스크램블러(7004, 7007)로 출력한다. 상기 디스크램블러(7004, 7007)는 상기 CW를 이용하여 방송 서비스를 디스크램블한다. When the reception qualification of the reception system is confirmed, the reception system checks whether the reception system is entitled to receive the broadcast service by using the broadcast service information transmitted to the ECM and the reception qualification of the broadcast service. When the qualification to receive the broadcast service is confirmed, the encrypted CW transmitted to the ECM is decrypted using the authentication key transmitted to the EMM and then output to the descramblers 7004 and 7007. The descramblers 7004 and 7007 descramble a broadcast service using the CW.

한편 상기 메모리카드에 저장되는 CAS 소프트웨어는 방송국에서 제공하려는 유료 서비스에 따라 확장 가능하다. 또한 상기 CAS 소프트웨어는 인증 및 디스크램블에 관련된 정보뿐만 아니라 다른 부가 정보도 포함할 수 있다. On the other hand, CAS software stored in the memory card can be extended according to the pay service to be provided by the broadcasting station. In addition, the CAS software may include other additional information as well as information related to authentication and descrambling.

그리고 수신 시스템은 송신측으로부터 CAS 소프트웨어를 다운로드받아 상기 메모리카드에 저장된 CAS 소프트웨어를 업그레이드할 수도 있다. The receiving system may download CAS software from the transmitting side and upgrade the CAS software stored in the memory card.

이와 같이 본 발명은 어떠한 형태의 방송 수신기이든지 외부 메모리 인터페이스만 제공된다면 수신 시스템에 착탈 가능한 모든 메모리카드를 만족하는 방식으로 CAS 시스템을 구현함으로써, 방송과 같은 유료 방송 콘텐츠를 수신할 수 있는 수신 시스템에서 최소의 비용으로 최대의 기능을 구현하고, 수신 시스템의 다양성을 존중할 수 있다. As described above, the present invention implements a CAS system in a manner that satisfies all memory cards detachable to a receiving system, provided that any type of broadcast receiver is provided with only an external memory interface, so that the receiving system can receive paid broadcast contents such as broadcast. Maximum functionality can be implemented at a minimum cost and the diversity of the receiving system can be respected.

또한, 구현 방식에 있어서 최소 애플리케이션 프로그램 인터페이스(API)만 구현하면 되므로 수신 시스템 제조사의 부담을 최소화하고, CAS 업체에 종속할 수밖에 없었던 부분을 제거할 수 있다. 이로 인해 송신측의 CAS 장비 구축 및 운영 시스템을 위한 비용도 최소화할 수 있게 된다. In addition, since only a minimum application program interface (API) needs to be implemented in the implementation method, the burden on the receiving system manufacturer can be minimized, and the part that has to be dependent on the CAS company can be removed. This also minimizes the cost for the CAS equipment building and operating system on the sending side.

한편, 상기 디스크램블러(7004, 7007)는 하드웨어나 소프트웨어 형태로 상기 모듈에 포함될 수도 있으며, 이 경우 스크램블되어 수신되는 데이터는 상기 모듈에서 디스크램블된 후 복호가 이루어질 수 있다.     The descramblers 7004 and 7007 may be included in the module in the form of hardware or software. In this case, the scrambled and received data may be descrambled in the module and then decoded.

또한 스크램블되어 수신되는 데이터를 상기 제 3 저장부(7018)에 저장하는 경우, 상기 스크램블된 데이터를 디스크램블하여 저장할 수도 있고, 스크램블된 데이터를 그대로 저장한 후 재생시에 디스크램블할 수도 있다. 그리고 상기 저장 제어부(7017)에 스크램블/디스크램블 알고리즘이 구비되어 있는 경우, 상기 저장 제어부(7017)는 스크램블되어 수신되는 데이터를 다시 한 번 스크램블하여 상기 제 3 저장부(7018)에 저장할 수도 있다. When the scrambled and received data are stored in the third storage unit 7018, the scrambled data may be descrambled and stored, or the scrambled data may be stored as it is and then descrambled during playback. If the storage control unit 7017 is provided with a scramble / descramble algorithm, the storage control unit 7017 may scramble the received data once again and store the data in the third storage unit 7018.

또 다른 실시예로는, 디스크램블링된(수신 제한된) 방송 콘텐츠는 방송망을 통해 송신하고, 상기 수신 제한을 풀기 위한 인증, 디스크램블 관련 정보 등은 통신 모듈(7019)을 통해 송수신하여 수신 시스템에서 양방향 통신이 가능하도록 한다. In another embodiment, the descrambled (receive limited) broadcast content is transmitted through a broadcasting network, and the authentication, descrambling related information, etc. for solving the reception restriction are transmitted and received through the communication module 7019, thereby bidirectionally receiving in the receiving system. Enable communication.

수신 시스템은 원격지에 위치한 송신측과 송수신을 원하는 방송 데이터와 상 기 방송 데이터를 전송하는 수신 시스템을 송신측에서 인식할 수 있도록 해당 수신 시스템의 시리얼 번호나 MAC 어드레스와 같은 고유 정보(ID)를 송신측 내 통신 모듈로 전달하거나 송신측 내 통신 모듈로부터 제공받는다. The receiving system transmits unique information (ID) such as serial number or MAC address of the corresponding receiving system so that the transmitting side can recognize the broadcasting data desired to be transmitted and received and the receiving system transmitting the broadcasting data with the remotely located transmitter. It is delivered to the communication module in the side or provided by the communication module in the transmitting side.

수신 시스템 내 통신 모듈(7019)은 양방향 통신 기능을 지원하지 않는 수신 시스템에서 송신측 내 통신 모듈과 양방향 통신을 수행하기 위해 필요한 프로토콜을 제공한다. The communication module 7019 in the receiving system provides a protocol required for performing bidirectional communication with the communication module in the transmitting side in a receiving system that does not support the bidirectional communication function.

그리고 수신 시스템은 전송하고자 하는 데이터와 고유 정보(ID)를 포함한 TLV(Tag-Length-Value) 코딩 방법을 사용하여 PDU(Protocol Data Unit)를 구성한다. 태그 필드는 해당 PDU의 인덱싱, 길이 필드는 Value 필드의 길이, Value 필드는 전송할 실제 데이터와 수신 시스템 고유 번호(ID)를 포함한다. The receiving system configures a Protocol Data Unit (PDU) using a Tag-Length-Value (TLV) coding method including data to be transmitted and unique information (ID). The tag field contains the indexing of the corresponding PDU, the length field contains the length of the Value field, and the Value field contains the actual data to be transmitted and the ID number of the receiving system.

만약 수신 시스템이 자바 플랫폼(Java Platform)을 장착하고 송신측의 자바 애플리케이션(Java Application)을 네트워크를 통해서 수신 시스템으로 다운로드한 뒤에 동작시키는 플랫폼을 구성하면, 송신측에서 임의로 정의한 태그 필드를 포함하는 PDU를 수신 시스템 내 저장 매체 등에서 다운로드한 뒤 통신 모듈(7019)로 전송하는 구조도 가능하다. If the receiving system is equipped with a Java platform and configures a platform that operates after downloading the sending Java application to the receiving system through the network, the PDU includes a tag field arbitrarily defined by the sending side. It is also possible to download the data from a storage medium in the receiving system and the like and transmit the communication module 7019.

이 경우 상기 PDU는 수신 시스템 내 자바 애플리케이션에서 PDU를 구성하여 통신 모듈(7019)로 출력할 수 있다. 또는 상기 자바 애플리케이션에서 태그 값, 전송할 실제 데이터와 해당 수신 시스템의 고유 정보를 전송하고, 수신 시스템 내에서 TLV 코딩을 통해 PDU를 구성할 수도 있다. In this case, the PDU may configure a PDU in a Java application in the receiving system and output the PDU to the communication module 7019. Alternatively, the Java application may transmit a tag value, actual data to be transmitted, and unique information of the corresponding receiving system, and configure a PDU through TLV coding in the receiving system.

이러한 구조의 장점은 송신측이 원하는 데이터(또는 애플리케이션)가 추가되 더라도 수신 시스템의 펌웨어(firmware)는 변경할 필요가 없다는 점이다. The advantage of this structure is that the firmware of the receiving system does not need to be changed even if the data (or application) desired by the sender is added.

이때 송신측 내 통신 모듈은 상기 수신 시스템에서 전송받은 PDU를 무선 데이터 네트워크를 통해 전송하거나 상기 네트워크를 통해 수신한 데이터를 PDU로 구성하여 수신 시스템으로 전송한다. 이때, 송신단 내 통신 모듈은 수신 시스템으로 전송할 PDU를 구성할 때 원격지의 송신측 고유 정보(예를 들어, IP 어드레스 등)를 포함하여 구성할 수도 있다. At this time, the communication module in the transmitting side transmits the PDU received from the receiving system through a wireless data network or configures the data received through the network as a PDU to the receiving system. In this case, the communication module in the transmitting end may include a transmitter-side unique information (for example, an IP address) of a remote place when configuring a PDU to be transmitted to the receiving system.

이때, 수신 시스템은 무선 데이터 네트워크를 통해 송수신함에 있어서, 공통 인터페이스를 구비하여 CDMA, GSM 등의 이동 통신 기지국을 통해 접속이 가능한 WAP, CDMA 1x EV-DO, 액세스 포인트를 통해 접속이 가능한 무선 LAN, 휴대 인터넷, 와이브로, 와이맥스 등을 구비할 수 있다. 상술한 수신 시스템은 통신 기능이 없는 경우에 해당하나, 통신 기능을 갖춘 수신 시스템의 경우에는 통신 모듈(7019)도 필요 없다. At this time, the receiving system is a WAP, a CDMA 1x EV-DO, a wireless LAN that can be connected through an access point, which has a common interface and can be connected through a mobile communication base station such as CDMA, GSM, etc. Portable Internet, WiBro, WiMAX, etc. can be provided. The above-described receiving system corresponds to a case where there is no communication function, but in the case of a receiving system having a communication function, the communication module 7019 is not necessary.

상술한 무선 데이터 네트워크를 통해 송수신되는 방송 데이터는 수신 제한(CA) 기능을 수행하는데 필요한 데이터를 포함할 수도 있다. The broadcast data transmitted and received through the above-described wireless data network may include data necessary to perform a CA.

한편 상기 역다중화기(7003)는 복조부(7002)에서 출력되는 리얼 타임 데이터 또는 제3 저장부(7018)에서 독출된 데이터를 입력받아 역다중화를 수행한다. 본 발명에서는 상기 역다중화기(7003)가 모바일 서비스데이터 패킷에 대해서 역다중화를 수행하는 것을 일 실시예로 설명한다. 이에 대한 상세한 설명은 전술한 내용을 원용하고여기에서는 생략한다. Meanwhile, the demultiplexer 7003 receives real time data output from the demodulator 7002 or data read from the third storage unit 7018 and performs demultiplexing. According to an embodiment of the present invention, the demultiplexer 7003 performs demultiplexing on a mobile service data packet. Detailed description thereof is used herein and the description is omitted herein.

상기 제 1 디스크램블러(7004)는 상기 역다중화기(7003)로부터 역다중화된 신호를 수신하여 디스크램블한다. 이때, 상기 제 1 디스크램블러(7004)는 상기 인증 수단(7008)으로부터인증 결과 내지 디스크램블에 필요한 데이터를 수신하여 디스크램블에 이용할 수 있다. The first descrambler 7004 receives and descrambles the demultiplexed signal from the demultiplexer 7003. In this case, the first descrambler 7004 may receive the authentication result or data necessary for descramble from the authentication means 7008 and use it for descramble.

상기 오디오 복호기(7005)와 비디오 복호기(7006)는 상기 제 1 디스크램블러(7004)에서 디스크램블된 신호를 수신하여 복호하여 출력하거나 또는 상기 제 1 디스크램블러(7004)에서 디스크램블하지 않고 출력한 경우에는 그대로 복호하여 출력한다. 이 경우에는 상기 복호된 신호를 수신하여 제 2 디스크램블러(7007)에서 디스크램블하여 처리할 것이다. The audio decoder 7005 and the video decoder 7006 receive and decode the descrambled signal from the first descrambler 7004 or output the descrambled signal without outputting it from the first descrambler 7004. Is decoded as is and output. In this case, the decoded signal is received and descrambled by the second descrambler 7007 to be processed.

지금까지 설명한 본 발명은 상술한 실시예에 한정되지 않으며, 첨부된 청구범위에서 알 수 있는 바와 같이 본 발명이 속한 분야의 통상의 지식을 가지 자에 의해 변형이 가능하고 이러한 변형은 본 발명의 범위에 속한다. The present invention described so far is not limited to the above-described embodiments, and can be modified by those skilled in the art as can be seen from the appended claims, and such modifications are the scope of the present invention. Belongs to.

도 1은 본 발명의 일 실시예에 따른 디지털 방송 시스템의 개략적인 구성 블록도1 is a schematic structural block diagram of a digital broadcasting system according to an embodiment of the present invention;

도 2는 도 1의 서비스 다중화기의 일 실시예를 보인 구성 블록도2 is a block diagram showing an embodiment of the service multiplexer of FIG.

도 3은 도 1의 송신기의 일 실시예를 보인 구성 블록도3 is a block diagram illustrating an embodiment of the transmitter of FIG.

도 4는 도 3의 전처리기의 일 실시예를 보인 구성 블록도4 is a block diagram illustrating an embodiment of the preprocessor of FIG. 3.

도 5의 (a) 내지 (e)는 본 발명의 일 실시예에 따른 에러 정정 부호화 및 에러 검출 부호화 과정을 보인 도면5A to 5E illustrate error correction encoding and error detection encoding processes according to an embodiment of the present invention.

도 6의 (a) 내지 (d)는 본 발명의 일 실시예에 따른 수퍼 프레임 단위의 로우 섞음 과정을 보인 도면6 (a) to (d) is a view showing a row mixing process of a super frame unit according to an embodiment of the present invention

도 7a, 도 7b는 본 발명에 따른 디지털 방송 송신 시스템에서 데이터 디인터리버 전후단의 데이터 구성 예를 보인 도면7A and 7B are diagrams showing an example of data configuration before and after the data deinterleaver in the digital broadcast transmission system according to the present invention.

도 8은 도 7a에서 예시한 데이터 그룹의 일부를 도시한 도면FIG. 8 shows a part of the data group illustrated in FIG. 7A

도 9의 (a) 내지 (c)는 전송 파라미터가 시그널링 정보로 전송될 경우, 전송 파라미터의 신호의 배치를 예시한 본 발명의 도면9 (a) to (c) are diagrams of the present invention illustrating the arrangement of a signal of a transmission parameter when the transmission parameter is transmitted as signaling information;

도 10은 도 9에서 예시한 도면이 시그널링 정보가 전송 프레임 내 데이터 그룹에 배치된 예를 나타낸 도면FIG. 10 illustrates an example in which the signaling information illustrated in FIG. 9 is arranged in a data group in a transmission frame.

도 11의 (a),(b)는 버스트 중 특정 데이터 그룹에 포함된 모바일 서비스 데이터를 획득하는 일 실시예를 개념적으로 나타낸 도면11 (a) and 11 (b) conceptually illustrate an embodiment of obtaining mobile service data included in a specific data group among bursts;

도 12의 (a) 내지 (c)는 버스트 중 특정 데이터 그룹에 포함된 모바일 서비 스 데이터를 획득하는 다른 실시예를 개념적으로 나타낸 도면12 (a) to 12 (c) conceptually illustrate another embodiment of obtaining mobile service data included in a specific data group among bursts;

도 13은 본 발명에 따른 데이터 그룹을 구성하기 위해 RS 프레임을 분할하는 과정의 일 실시예를 보인 도면 13 illustrates an embodiment of a process of dividing an RS frame to form a data group according to the present invention.

도 14의 (a),(b)는 본 발명에 따른 데이터 그룹을 구성하기 위해 RS 프레임을 분할하는 과정의 다른 실시예를 보인 도면 14 (a) and 14 (b) illustrate another embodiment of a process of dividing an RS frame to form a data group according to the present invention.

도 15는 본 발명에 따른 데이터 그룹을 전송하기 위한 패킷 다중화기의 동작 예를 보인 도면 15 illustrates an example of an operation of a packet multiplexer for transmitting a data group according to the present invention.

도 16은 본 발명에 따른 블록 처리기의 일 실시예를 보인 구성 블록도16 is a block diagram illustrating an embodiment of a block processor according to the present invention.

도 17a 내지 도 17c는 본 발명에 따른 심볼 부호기를 1/4 부호율을 갖는 부호기로 동작시키는 경우의 실시예들을 보인 구성 블록도17A to 17C are block diagrams illustrating embodiments in a case where a symbol encoder according to the present invention is operated as an encoder having a quarter code rate.

도 18a는 본 발명에 따른 1/2 외부 부호기의 일 실시예를 보인 상세 블록도18A is a detailed block diagram of one embodiment of a 1/2 external encoder in accordance with the present invention.

도 18b는 본 발명에 따른 1/4 외부 부호기의 일 실시예를 보인 상세 블록도18B is a detailed block diagram of one embodiment of a quarter external encoder in accordance with the present invention.

도 19의 (a) 내지 (c)는 도 16의 심볼 인터리버의 가변 길이 인터리빙 과정의 일 실시예를 보인 도면19 (a) to (c) illustrate an embodiment of a variable length interleaving process of the symbol interleaver of FIG. 16.

도 20a, 도 20b는 본 발명에 따른 블록 처리기의 다른 실시예를 보인 구성 블록도20A and 20B are block diagrams illustrating another embodiment of a block processor according to the present invention.

도 21의 (a) 내지 (c)는 본 발명에 따른 블록 부호화 및 트렐리스 부호화 과정의 예를 보인 도면21 (a) to 21 (c) show examples of a block encoding and trellis encoding process according to the present invention.

도 22는 본 발명에 따른 트렐리스 부호화부의 일 실시예를 보인 블록도22 is a block diagram showing an embodiment of a trellis encoder according to the present invention.

도 23a, 도 23b는 본 발명에 따른 블록 처리기와 트렐리스 부호화부가 연접 된 모습을 보인 도면23A and 23B are diagrams illustrating a state in which a block processor and a trellis encoder are connected according to the present invention.

도 24는 본 발명에 따른 블록 처리기의 또 다른 실시예를 보인 도면24 illustrates another embodiment of a block processor according to the present invention.

도 25는 본 발명에 다른 블록 처리기의 또 다른 실시예를 보인 도면25 is a view showing another embodiment of another block processor in the present invention.

도 26은 본 발명에 따른 전송 파라미터를 그룹 포맷터에서 삽입하여 전송하기 위한 일 실시예를 보인 도면26 illustrates an embodiment for inserting and transmitting a transmission parameter in a group formatter according to the present invention.

도 27은 본 발명에 따른 전송 파라미터를 블록 처리기에서 삽입하여 전송하기 위한 일 실시예를 보인 도면27 illustrates an embodiment for inserting and transmitting a transmission parameter in a block processor according to the present invention.

도 28은 본 발명에 따른 전송 파라미터를 패킷 포맷터에서 삽입하여 전송하기 위한 일 실시예를 보인 도면28 illustrates an embodiment for inserting and transmitting a transmission parameter in a packet formatter according to the present invention.

도 29는 본 발명에 따른 전송 파라미터를 필드 동기 세그먼트 영역에 삽입하여 전송하기 위한 일 실시예를 보인 도면29 illustrates an embodiment for inserting and transmitting a transmission parameter into a field sync segment region according to the present invention

도 30은 본 발명에 따른 수신 시스템의 일 실시예를 보인 구성 블록도30 is a block diagram showing an embodiment of a receiving system according to the present invention;

도 31은 본 발명에 따른 기지 데이터가 주기적으로 일반 데이터에 삽입되는 예를 보인 데이터 구조도31 is a data structure diagram showing an example in which known data is periodically inserted into general data according to the present invention.

도 32는 본 발명에 따른 기지 데이터 검출 과정의 일 실시예를 보인 흐름도32 is a flowchart showing an embodiment of a known data detection process according to the present invention.

도 33은 도 30의 본 발명에 따른 복조기의 일 실시예를 보인 구성 블록도FIG. 33 is a block diagram showing an embodiment of a demodulator according to the present invention of FIG.

도 34는 본 발명에 따른 복조기의 일 실시예를 보인 상세 블록도34 is a detailed block diagram showing an embodiment of a demodulator according to the present invention.

도 35는 본 발명에 따른 주파수 옵셋 추정기의 일 실시예를 보인 블록도35 is a block diagram illustrating an embodiment of a frequency offset estimator in accordance with the present invention.

도 36은 본 발명에 따른 기지 데이터 검출 및 초기 주파수 옵셋 추정기의 일 실시예를 보인 구성 블록도36 is a block diagram showing an embodiment of a known data detection and initial frequency offset estimator in accordance with the present invention.

도 37은 도 36의 부분 상관기의 일 실시예를 보인 구성 블록도FIG. 37 is a block diagram illustrating an embodiment of the partial correlator of FIG. 36; FIG.

도 38은 본 발명에 따른 타이밍 복구부의 다른 실시예를 보인 도면38 is a view showing another embodiment of a timing recovery unit according to the present invention;

도 39의 (a),(b)는 기지 데이터와 수신된 신호의 상관값을 구하여 타이밍 에러를 검출하는 일 실시예를 보인 도면39A and 39B illustrate an embodiment of detecting a timing error by obtaining a correlation value between known data and a received signal.

도 40의 (a),(b)는 기지 데이터와 수신된 신호의 상관값을 구하여 타이밍 에러를 검출하는 다른 실시예를 보인 도면40 (a) and 40 (b) show another embodiment of detecting a timing error by obtaining a correlation value between known data and a received signal.

도 41은 타이밍 에러가 있을 경우 상관값을 예시한 도면41 illustrates a correlation value when there is a timing error

도 42는 시간 영역에서 타이밍 에러를 검출하는 타이밍 에러 검출기의 일 실시예를 보인 상세 블록도42 is a detailed block diagram illustrating one embodiment of a timing error detector for detecting timing errors in the time domain.

도 43은 타이밍 주파수 에러를 검출하는 타이밍 에러 검출기의 일 실시예를 보인 상세 블록도Figure 43 is a detailed block diagram illustrating one embodiment of a timing error detector for detecting timing frequency errors.

도 44는 타이밍 주파수 에러를 검출하는 타이밍 에러 검출기의 다른 실시예를 보인 상세 블록도44 is a detailed block diagram illustrating another embodiment of a timing error detector for detecting timing frequency errors.

도 45는 본 발명에 따른 DC 제거기의 일 실시예를 보인 구성 블록도45 is a block diagram illustrating an embodiment of a DC remover according to the present invention.

도 46은 도 45의 DC 추정기의 입력 샘플 데이터의 이동 예를 보인 도면46 illustrates an example of moving input sample data of the DC estimator of FIG.

도 47은 본 발명에 따른 DC 제거기의 다른 실시예를 보인 구성 블록도47 is a block diagram illustrating another embodiment of the DC remover according to the present invention.

도 48은 본 발명에 따른 채널 등화 과정의 일 실시예를 보인 흐름도48 is a flowchart illustrating an embodiment of a channel equalization process according to the present invention.

도 49는 본 발명에 따른 채널 등화기의 일 실시예를 보인 구성 블록도49 is a block diagram illustrating an embodiment of a channel equalizer according to the present invention.

도 50은 도 49의 잔류 반송파 위상 에러 추정부의 일 실시예를 보인 구성 블록도50 is a block diagram illustrating an embodiment of a residual carrier phase error estimator of FIG. 49;

도 51은 도 49의 위상 에러 검출기의 일 실시예를 보인 구성 블록도51 is a block diagram illustrating an embodiment of the phase error detector of FIG. 49.

도 52는 도 49의 위상 보상기의 일 실시예를 보인 구성 블록도52 is a block diagram illustrating an embodiment of the phase compensator of FIG. 49.

도 53은 본 발명에 따른 채널 등화기의 다른 실시예를 보인 구성 블록도53 is a block diagram illustrating another embodiment of a channel equalizer according to the present invention.

도 54는 본 발명에 따른 채널 등화기의 또 다른 실시예를 보인 구성 블록도54 is a block diagram illustrating another embodiment of a channel equalizer according to the present invention.

도 55는 본 발명에 따른 채널 등화기의 또 다른 실시예를 보인 구성 블록도55 is a block diagram illustrating another embodiment of a channel equalizer according to the present invention.

도 56은 본 발명에 따른 CIR 추정기의 일 실시예를 보인 상세 블록도56 is a detailed block diagram illustrating one embodiment of a CIR estimator in accordance with the present invention.

도 57은 본 발명에 따른 블록 복호기의 일 실시예를 보인 상세 블록도57 is a detailed block diagram showing an embodiment of a block decoder according to the present invention.

도 58, 도 59는 본 발명에 따른 에러 정정 복호 과정의 일 실시예를 보인 도면58 and 59 illustrate an embodiment of an error correction decoding process according to the present invention.

도 60은 본 발명에 따른 수신 시스템의 다른 실시예를 보인 구성 블록도60 is a block diagram showing another embodiment of a receiving system according to the present invention;

도 61은 도 60의 전송 파라미터 복호부에서 전송 파라미터를 검출하는 과정을 예시한 도면FIG. 61 is a diagram illustrating a process of detecting a transmission parameter in the transmission parameter decoder of FIG. 60.

도 62는 본 발명에 따른 전송 파라미터 복호부가 SCCC 모드를 검출하는 예를 나타낸 도면62 is a diagram illustrating an example in which a transmission parameter decoder detects an SCCC mode according to the present invention.

도 63은 본 발명에 따른 그룹 유효 인식자를 추출하여 출력하는 예를 나타낸 도면63 is a diagram illustrating an example of extracting and outputting a group valid identifier according to the present invention;

도 64는 본 발명에 따른 버스트 유효 인식자를 추출하여 출력하는 예를 나타낸 도면64 illustrates an example of extracting and outputting a burst valid identifier according to the present invention;

도 65는 본 발명에 따른 실제 온/오프 시간과 버스트 구간을 비교하여 예시한 도면65 is a diagram illustrating an actual on / off time in comparison with a burst period according to the present invention;

도 66은 본 발명의 일 실시예에 따른 수신 시스템의 전체 구성 블록도 66 is a block diagram showing the overall configuration of a receiving system according to an embodiment of the present invention.

도 67은 본 발명에 따른 가상 채널 테이블에 대한 신택스 구조의 일 실시예를 보인 도면 67 is a view showing an embodiment of a syntax structure for a virtual channel table according to the present invention

도 68은 본 발명에 따른 service_type 필드의 일 실시예를 보인 도면 68 is a view showing an embodiment of a service_type field according to the present invention.

도 69는 본 발명에 따른 서비스 로케이션 디스크립터에 대한 신택스 구조의 일 실시예를 보인 도면 69 illustrates an embodiment of a syntax structure for a service location descriptor according to the present invention.

도 70은 본 발명에 따른 stream_type 필드에 할당될 수 있는 값들과 그 정의의 예들을 보인 도면 70 shows examples of values that can be assigned to a stream_type field and definitions thereof according to the present invention.

도 71은 본 발명에 따른 이벤트 정보 테이블에 대한 신택스 구조의 일 실시예를 보인 도면 71 illustrates an embodiment of a syntax structure for an event information table according to the present invention.

도 72는 본 발명의 다른 실시예에 따른 수신 시스템의 전체 구성 블록도 72 is a block diagram showing the overall configuration of a receiving system according to another embodiment of the present invention.

Claims (22)

모바일 서비스 데이터와 복수개의 기지 데이터 열을 포함하는 데이터 그룹, 상기 복수개의 기지 데이터 열 중 적어도 2개는 서로 길이가 다르며, 상기 복수개의 기지 데이터 열 중 하나의 기지 데이터 열은 제 1 패턴으로 구성되고, 나머지 기지 데이터 열은 상기 제 1 패턴과는 다른 제 2 패턴으로 구성된 방송 신호를 수신하는 신호 수신부;A data group comprising a mobile service data and a plurality of known data columns, at least two of the plurality of known data columns having different lengths, wherein one of the known data columns of the plurality of known data columns has a first pattern The remaining known data stream may include: a signal receiving unit configured to receive a broadcast signal having a second pattern different from the first pattern; 상기 데이터 그룹으로부터 기지 데이터 열을 검출하는 기지 데이터 검출부; 및A known data detector for detecting a known data stream from the data group; And 상기 검출된 기지 데이터 열을 이용하여 상기 데이터 그룹의 데이터에 발생된 채널 왜곡을 보상하는 등화기를 포함하는 것을 특징으로 하는 수신 시스템.And an equalizer for compensating for channel distortion generated in the data of the data group by using the detected known data sequence. 제 1 항에 있어서,The method of claim 1, 상기 복수개의 기지 데이터 열 사이에 전송 파라미터가 삽입되어 수신되는 것을 특징으로 하는 수신 시스템.And a transmission parameter is inserted between the plurality of known data streams. 제 2 항에 있어서, The method of claim 2, 상기 전송 파라미터에 포함된 블록 부호화 정보를 기초로 상기 채널 왜곡이 보상된 데이터 그룹 내 모바일 서비스 데이터를 블록 단위로 터보 복호하는 블록 복호기; 및 A block decoder for turbo decoding the mobile service data in the data group in which the channel distortion is compensated on a block basis based on the block encoding information included in the transmission parameter; And 상기 전송 파라미터를 기초로 수신을 원하는 모바일 서비스 데이터를 포함하는 데이터 그룹을 수신할 수 있도록 전원을 제어하는 전원 제어부를 더 포함하는 것을 특징으로 하는 수신 시스템.And a power control unit controlling power to receive a data group including mobile service data desired to be received based on the transmission parameter. 제 3 항에 있어서, 상기 블록 복호기는4. The block decoder of claim 3, wherein the block decoder 터보 복호를 위한 블록 크기로 입력되는 데이터 그룹의 모바일 서비스 데이터와 심볼 복호되어 피드백되는 모바일 서비스 데이터를 매칭하여 트렐리스 복호를 수행하는 제1 복호부; 및 A first decoder configured to perform trellis decoding by matching the mobile service data of the data group input with the block size for turbo decoding with the mobile service data that is symbol-decoded and fed back; And 상기 트렐리스 복호된 모바일 서비스 데이터에 대해 심볼 복호를 수행하여 상기 제1 복호부로 피드백하는 제2 복호부를 포함하는 것을 특징으로 하는 수신 시스템.And a second decoder which performs symbol decoding on the trellis decoded mobile service data and feeds back to the first decoder. 제 1 항에 있어서, The method of claim 1, 복수개의 데이터 그룹으로부터 모바일 서비스 데이터에 대한 적어도 하나의 데이터 패킷, 상기 적어도 하나의 데이터 패킷을 기초로 생성된 RS 패리티, 및 상기 적어도 하나의 데이터 패킷과 상기 RS 패리티를 기초로 생성된 CRC checksum을 포함하는 RS 프레임을 구성하고, 상기 RS 프레임에 대해 CRC 복호 및 RS 복호를 수행하여 모바일 서비스 데이터에 발생된 에러를 정정하는 RS 프레임 복호기를 더 포함하는 것을 특징으로 하는 수신 시스템.At least one data packet for mobile service data from a plurality of data groups, an RS parity generated based on the at least one data packet, and a CRC checksum generated based on the at least one data packet and the RS parity And an RS frame decoder configured to correct an error generated in mobile service data by performing CRC decoding and RS decoding on the RS frame. 제 5 항에 있어서, 상기 RS 프레임 복호기는 The method of claim 5, wherein the RS frame decoder 상기 RS 프레임 내 각 모바일 서비스 데이터의 신용 정보를 표시하는 신용 맵을 생성하고, 상기 RS 프레임에 대해 CRC 복호를 수행하여 생성된 에러의 개수와 상기 신용 맵의 신용 정보를 참조하여 상기 모바일 서비스 데이터에 발생된 에러를 정정하는 것을 특징으로 하는 수신 시스템.A credit map indicating credit information of each mobile service data in the RS frame is generated, and CRC decoding is performed on the RS frame to refer to the number of errors generated and credit information of the credit map. A receiving system, characterized in that for correcting the error occurred. 제 6 항에 있어서, 상기 RS 프레임 복호기는7. The RS frame decoder of claim 6, wherein the RS frame decoder 상기 RS 프레임 내 각 로우에 대응되는 에러 플래그에 표시된 에러의 개수가 상기 RS 프레임의 컬럼 방향에 부가된 패리티의 개수보다 작거나 같다면 상기 RS 프레임의 모든 컬럼에 대해 컬럼 방향으로 RS 이레이저 복호를 수행하는 것을 특징으로 하는 수신 시스템.If the number of errors indicated in the error flag corresponding to each row in the RS frame is less than or equal to the number of parities added to the column direction of the RS frame, RS erasure decoding is performed in the column direction for all columns of the RS frame. A receiving system, characterized in that performing. 제 6 항에 있어서, 상기 RS 프레임 복호기는7. The RS frame decoder of claim 6, wherein the RS frame decoder 상기 RS 프레임 내 각 로우에 대응되는 에러 플래그에 표시된 에러의 개수가 상기 RS 프레임의 컬럼 방향에 부가된 패리티의 개수보다 크다면 상기 신용 맵의 신용 정보를 참조하여 각 컬럼별로 일반적인 RS 복호와 RS 이레이저 복호 중 하나를 결정하고, 그 컬럼에 대해 결정된 에러 정정 복호 방법으로 에러 정정을 수행하는 것을 특징으로 하는 수신 시스템.If the number of errors indicated in the error flag corresponding to each row in the RS frame is greater than the number of parity added in the column direction of the RS frame, RS decoding and RS are performed for each column by referring to the credit information of the credit map. Determining one of the laser decoding and performing error correction with the determined error correction decoding method for the column. 제 5 항에 있어서, The method of claim 5, wherein 상기 에러 정정된 모바일 서비스 데이터를 디랜더마이징하는 디랜더마이저를 더 포함하는 것을 특징으로 하는 수신 시스템. And a derandomizer for derandomizing the error corrected mobile service data. 삭제delete 제 1 항에 있어서, The method of claim 1, 상기 복수개의 기지 데이터 열 중 적어도 하나의 기지 데이터 열은 2회 이상 반복되는 동일한 패턴으로 구성된 것을 특징으로 하는 수신 시스템.At least one known data string of the plurality of known data strings is configured in the same pattern repeated two or more times. 모바일 서비스 데이터와 복수개의 기지 데이터 열을 포함하는 데이터 그룹, 상기 복수개의 기지 데이터 열 중 적어도 2개는 서로 길이가 다르며, 상기 복수개의 기지 데이터 열 중 하나의 기지 데이터 열은 제 1 패턴으로 구성되고, 나머지 기지 데이터 열은 상기 제 1 패턴과는 다른 제 2 패턴으로 구성된 방송 신호를 수신하는 A data group comprising a mobile service data and a plurality of known data columns, at least two of the plurality of known data columns having different lengths, wherein one of the known data columns of the plurality of known data columns has a first pattern The remaining known data stream receives a broadcast signal composed of a second pattern different from the first pattern. 상기 데이터 그룹으로부터 기지 데이터 열을 검출하는 단계; 및Detecting a known data stream from the data group; And 상기 검출된 기지 데이터 열을 이용하여 상기 데이터 그룹의 데이터에 발생된 채널 왜곡을 보상하는 단계를 포함하는 것을 특징으로 하는 수신 시스템의 데이터 처리 방법.Compensating for channel distortion generated in the data of the data group by using the detected known data sequence. 제 12 항에 있어서,The method of claim 12, 상기 복수개의 기지 데이터 열 사이에 전송 파라미터가 삽입되어 수신되는 것을 특징으로 하는 수신 시스템의 데이터 처리 방법.And a transmission parameter is inserted between the plurality of known data streams and received. 제 13 항에 있어서, The method of claim 13, 상기 전송 파라미터에 포함된 블록 부호화 정보를 기초로 상기 채널 왜곡이 보상된 데이터 그룹 내 모바일 서비스 데이터를 블록 단위로 터보 복호하는 단계; 및 Turbo decoding the mobile service data in the data group in which the channel distortion is compensated on a block basis based on the block encoding information included in the transmission parameter; And 상기 전송 파라미터를 기초로 수신을 원하는 모바일 서비스 데이터를 포함하는 데이터 그룹을 수신할 수 있도록 전원을 제어하는 단계를 더 포함하는 것을 특징으로 하는 수신 시스템의 데이터 처리 방법.And controlling a power source to receive a data group including mobile service data desired to be received based on the transmission parameter. 제 14 항에 있어서, 상기 복호 단계는15. The method of claim 14, wherein the decoding step 터보 복호를 위한 블록 크기로 입력되는 데이터 그룹의 모바일 서비스 데이터와 심볼 복호되어 피드백되는 모바일 서비스 데이터를 매칭하여 트렐리스 복호를 수행하는 제1 복호 단계; 및 A first decoding step of performing trellis decoding by matching the mobile service data of the data group input with the block size for turbo decoding with the mobile service data which is symbol-decoded and fed back; And 상기 트렐리스 복호된 모바일 서비스 데이터에 대해 심볼 복호를 수행하여 상기 제1 복호 단계로 피드백하는 제2 복호 단계를 포함하는 것을 특징으로 하는 수신 시스템의 데이터 처리 방법.And a second decoding step of performing symbol decoding on the trellis-decoded mobile service data and feeding back to the first decoding step. 제 12 항에 있어서, The method of claim 12, 복수개의 데이터 그룹으로부터 모바일 서비스 데이터에 대한 적어도 하나의 데이터 패킷, 상기 적어도 하나의 데이터 패킷을 기초로 생성된 RS 패리티, 및 상 기 적어도 하나의 데이터 패킷과 상기 RS 패리티를 기초로 생성된 CRC checksum을 포함하는 RS 프레임을 구성하고, 상기 RS 프레임에 대해 CRC 복호 및 RS 복호를 수행하여 모바일 서비스 데이터에 발생된 에러를 정정하는 단계를 더 포함하는 것을 특징으로 하는 수신 시스템의 데이터 처리 방법.At least one data packet for mobile service data from a plurality of data groups, RS parity generated based on the at least one data packet, and the CRC checksum generated based on the at least one data packet and the RS parity. Comprising a RS frame comprising, and performing the CRC decoding and RS decoding for the RS frame to correct the error generated in the mobile service data. 제 16 항에 있어서, 상기 에러 정정 단계는17. The method of claim 16 wherein the error correction step is 상기 RS 프레임 내 각 모바일 서비스 데이터의 신용 정보를 표시하는 신용 맵을 생성하고, 상기 RS 프레임에 대해 CRC 복호를 수행하여 생성된 에러의 개수와 상기 신용 맵의 신용 정보를 참조하여 상기 모바일 서비스 데이터에 발생된 에러를 정정하는 것을 특징으로 하는 수신 시스템의 데이터 처리 방법.A credit map indicating credit information of each mobile service data in the RS frame is generated, and CRC decoding is performed on the RS frame to refer to the number of errors generated and credit information of the credit map. A data processing method of a receiving system, characterized in that for correcting the generated error. 제 17 항에 있어서, 상기 에러 정정 단계는18. The method of claim 17, wherein the error correction step is 상기 RS 프레임 내 각 로우에 대응되는 에러 플래그에 표시된 에러의 개수가 상기 RS 프레임의 컬럼 방향에 부가된 패리티의 개수보다 작거나 같다면 상기 RS 프레임의 모든 컬럼에 대해 컬럼 방향으로 RS 이레이저 복호를 수행하는 것을 특징으로 하는 수신 시스템의 데이터 처리 방법.If the number of errors indicated in the error flag corresponding to each row in the RS frame is less than or equal to the number of parities added to the column direction of the RS frame, RS erasure decoding is performed in the column direction for all columns of the RS frame. A data processing method of a receiving system, characterized in that performing. 제 17 항에 있어서, 상기 에러 정정 단계는18. The method of claim 17, wherein the error correction step is 상기 RS 프레임 내 각 로우에 대응되는 에러 플래그에 표시된 에러의 개수가 상기 RS 프레임의 컬럼 방향에 부가된 패리티의 개수보다 크다면 상기 신용 맵의 신용 정보를 참조하여 각 컬럼별로 일반적인 RS 복호와 RS 이레이저 복호 중 하나를 결정하고, 그 컬럼에 대해 결정된 에러 정정 복호 방법으로 에러 정정을 수행하는 것을 특징으로 하는 수신 시스템의 데이터 처리 방법.If the number of errors indicated in the error flag corresponding to each row in the RS frame is greater than the number of parity added in the column direction of the RS frame, RS decoding and RS are performed for each column by referring to the credit information of the credit map. A method of processing data in a receiving system, characterized in that one of laser decoding is determined, and error correction is performed with the error correction decoding method determined for the column. 제 16 항에 있어서, The method of claim 16, 상기 에러 정정된 모바일 서비스 데이터를 디랜더마이징하는 단계를 더 포함하는 것을 특징으로 하는 수신 시스템의 데이터 처리 방법. And de-randing the error corrected mobile service data. 삭제delete 제 12 항에 있어서, The method of claim 12, 상기 복수개의 기지 데이터 열 중 적어도 하나의 기지 데이터 열은 2회 이상 반복되는 동일한 패턴으로 구성된 것을 특징으로 하는 수신 시스템의 데이터 처리 방법.And at least one known data column of the plurality of known data columns is configured in the same pattern repeated two or more times.
KR1020080133730A 2007-07-04 2008-12-24 Digital broadcasting system and method of processing data in digital broadcasting system KR100917202B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US94798407P 2007-07-04 2007-07-04
US60/947,984 2007-07-04

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020080064608A Division KR20090004723A (en) 2007-07-04 2008-07-03 Digital broadcasting system and method of processing data in digital broadcasting system

Publications (2)

Publication Number Publication Date
KR20090009179A KR20090009179A (en) 2009-01-22
KR100917202B1 true KR100917202B1 (en) 2009-09-16

Family

ID=40486919

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020080064608A KR20090004723A (en) 2007-07-04 2008-07-03 Digital broadcasting system and method of processing data in digital broadcasting system
KR1020080133730A KR100917202B1 (en) 2007-07-04 2008-12-24 Digital broadcasting system and method of processing data in digital broadcasting system

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1020080064608A KR20090004723A (en) 2007-07-04 2008-07-03 Digital broadcasting system and method of processing data in digital broadcasting system

Country Status (4)

Country Link
KR (2) KR20090004723A (en)
CN (1) CN101785305B (en)
CA (1) CA2697384C (en)
MX (1) MX2010000044A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120137198A (en) 2011-06-11 2012-12-20 삼성전자주식회사 Apparatus and method for transmitting and receiving packet in communication system
CN111245764B (en) * 2020-01-14 2022-03-15 北京联盛德微电子有限责任公司 Frequency offset tracking method and device based on WIFI system
KR102614178B1 (en) * 2020-11-04 2023-12-15 한국전자통신연구원 Method and apparatus for receiving wireless signal in wireless communication system
CN115567169A (en) * 2022-12-06 2023-01-03 成都航天通信设备有限责任公司 Demodulation and decoding method, system, equipment and storage medium under low coding rate

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6768517B2 (en) 2000-07-11 2004-07-27 Allen Le Roy Limberg Repetitive-PN1023-sequence echo-cancellation reference signal for single-carrier digital television broadcast systems
US6816204B2 (en) 2000-01-19 2004-11-09 Allen Le Roy Limberg Ghost cancellation reference signals for broadcast digital television signal receivers and receivers for utilizing them
KR20070055117A (en) * 2005-11-25 2007-05-30 엘지전자 주식회사 Digital broadcasting system and processing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3096020B2 (en) * 1997-12-16 2000-10-10 日本放送協会 Transmitter and receiver
US6985537B1 (en) * 1999-09-15 2006-01-10 Lucent Technologies Inc. Symbol self synchronous interleaving method and apparatus for OFDM-based communication system
KR101191181B1 (en) * 2005-09-27 2012-10-15 엘지전자 주식회사 Transmitting/receiving system of digital broadcasting and data structure

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6816204B2 (en) 2000-01-19 2004-11-09 Allen Le Roy Limberg Ghost cancellation reference signals for broadcast digital television signal receivers and receivers for utilizing them
US6768517B2 (en) 2000-07-11 2004-07-27 Allen Le Roy Limberg Repetitive-PN1023-sequence echo-cancellation reference signal for single-carrier digital television broadcast systems
KR20070055117A (en) * 2005-11-25 2007-05-30 엘지전자 주식회사 Digital broadcasting system and processing method

Also Published As

Publication number Publication date
MX2010000044A (en) 2010-06-01
KR20090004723A (en) 2009-01-12
KR20090009179A (en) 2009-01-22
CN101785305B (en) 2014-12-17
CN101785305A (en) 2010-07-21
CA2697384C (en) 2012-05-29
CA2697384A1 (en) 2009-01-08

Similar Documents

Publication Publication Date Title
KR100925447B1 (en) Digital broadcasting system and method of processing data in digital broadcasting system
US9444579B2 (en) Broadcast transmitter and method of processing broadcast service data for transmission
KR101008652B1 (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR100908060B1 (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR100902904B1 (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR100902903B1 (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20090050994A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20090004579A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20080114570A (en) Digital broadcasting system and data processing method
KR20090004582A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20090004580A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20080114569A (en) Digital broadcasting system and data processing method
KR20090004659A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20090010913A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20090004661A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20090012111A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20090004581A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20090004773A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20080114594A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20090004724A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20080114596A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20090012180A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR20090010927A (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR100904447B1 (en) Digital broadcasting system and method of processing data in digital broadcasting system
KR100917202B1 (en) Digital broadcasting system and method of processing data in digital broadcasting system

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
A302 Request for accelerated 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: 20120827

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20130823

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20140822

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20150824

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20160824

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee