# Patent

## Title
Apparatus for transmitting broadcast signals, apparatus for receiving broadcast signals, method for transmitting broadcast signals and method for receiving broadcast signals

## Abstract

A method and an apparatus for receiving broadcast signals thereof are disclosed. The apparatus for receiving broadcast signals, the apparatus comprises a receiver to receive the broadcast signals, a demodulator to demodulate the received broadcast signals by an OFDM (Orthogonal Frequency Division Multiplex) scheme, a frame parser to parse a signal frame from the demodulated broadcast signals, wherein the signal frame includes service data corresponding to each of a plurality of physical paths, a time deinterleaver to time deinterleave service data in each physical path by a TI (Time Interleaving) block, wherein the time deinterleaver further performs inserting at least one virtual FEC block into at least one TI block of the service data, wherein each TI block includes a variable number of FEC blocks of the service data, wherein a number of the at least one virtual FEC block is defined based on a maximum number of FEC blocks of a TI block and a decoder to decode the time deinterleaved service data.

## Background
This application claims the benefit of U.S. Provisional Patent Application No. 61/977,074, filed on Apr. 8, 2014, which is hereby incorporated by reference as if fully set forth herein.


BACKGROUND OF THE INVENTION
Field of the Invention
The present invention relates to an apparatus for transmitting broadcast signals, an apparatus for receiving broadcast signals and methods for transmitting and receiving broadcast signals.
Discussion of the Related Art
As analog broadcast signal transmission comes to an end, various technologies for transmitting/receiving digital broadcast signals are being developed. A digital broadcast signal may include a larger amount of video/audio data than an analog broadcast signal and further include various types of additional data in addition to the video/audio data.
That is, a digital broadcast system can provide HD (high definition) images, multi-channel audio and various additional services. However, data transmission efficiency for transmission of large amounts of data, robustness of transmission/reception networks and network flexibility in consideration of mobile reception equipment need to be improved for digital broadcast.
SUMMARY OF THE INVENTION
Accordingly, the present invention is directed to an apparatus for transmitting broadcast signals and an apparatus for receiving broadcast signals for future broadcast services and methods for transmitting and receiving broadcast signals for future broadcast services.
An object of the present invention is to provide an apparatus and method for transmitting broadcast signals to multiplex data of a broadcast transmission/reception system providing two or more different broadcast services in a time domain and transmit the multiplexed data through the same RF signal bandwidth and an apparatus and method for receiving broadcast signals corresponding thereto.
Another object of the present invention is to provide an apparatus for transmitting broadcast signals, an apparatus for receiving broadcast signals and methods for transmitting and receiving broadcast signals to classify data corresponding to services by components, transmit data corresponding to each component as a data pipe, receive and process the data
Still another object of the present invention is to provide an apparatus for transmitting broadcast signals, an apparatus for receiving broadcast signals and methods for transmitting and receiving broadcast signals to signal signaling information necessary to provide broadcast signals.
Technical Solution
To achieve the object and other advantages and in accordance with the purpose of the invention, as embodied and broadly described herein, a method for receiving broadcast signals, the method comprises receiving the broadcast signals, demodulating the received broadcast signals by an OFDM (Orthogonal Frequency Division Multiplex) scheme, parsing a signal frame from the demodulated broadcast signals, wherein the signal frame includes service data corresponding to each of a plurality of physical paths, time deinterleaving service data in each physical path by a TI (Time Interleaving) block, wherein the time deinterleaving includes: inserting at least one virtual FEC block into at least one TI block of the service data, wherein each TI block includes a variable number of FEC blocks of the service data, wherein a number of the at least one virtual FEC block is defined based on a maximum number of FEC blocks of a TI block and decoding the time deinterleaved service data.
Advantageous Effects
The present invention can process data according to service characteristics to control QoS (Quality of Services) for each service or service component, thereby providing various broadcast services.
The present invention can achieve transmission flexibility by transmitting various broadcast services through the same RF signal bandwidth.
The present invention can improve data transmission efficiency and increase robustness of transmission/reception of broadcast signals using a MIMO system.
According to the present invention, it is possible to provide broadcast signal transmission and reception methods and apparatus capable of receiving digital broadcast signals without error even with mobile reception equipment or in an indoor environment.



BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principle of the invention. In the drawings:
FIG. 1 illustrates a structure of an apparatus for transmitting broadcast signals for future broadcast services according to an embodiment of the present invention.
FIGS. 2 (a) and (b) illustrate an input formatting blocks according to one embodiment of the present invention.
FIG. 3 illustrates an input formatting block according to another embodiment of the present invention.
FIG. 4 illustrates an input formatting block according to another embodiment of the present invention.
FIGS. 5 (a) and (b) illustrate a BICM blocks according to an embodiment of the present invention.
FIG. 6 illustrates a BICM block according to another embodiment of the present invention.
FIG. 7 illustrates a frame building block according to one embodiment of the present invention.
FIG. 8 illustrates an OFDM generation block according to an embodiment of the present invention.
FIG. 9 illustrates a structure of an apparatus for receiving broadcast signals for future broadcast services according to an embodiment of the present invention.
FIGS. 10 (a), (b), (c) and (d) illustrate a frame structures according to an embodiment of the present invention.
FIG. 11 illustrates a signaling hierarchy structure of the frame according to an embodiment of the present invention.
FIG. 12 illustrates preamble signaling data according to an embodiment of the present invention.
FIG. 13 illustrates PLS1 data according to an embodiment of the present invention.
FIG. 14 illustrates PLS2 data according to an embodiment of the present invention.
FIG. 15 illustrates PLS2 data according to another embodiment of the present invention.
FIG. 16 illustrates a logical structure of a frame according to an embodiment of the present invention.
FIG. 17 illustrates PLS mapping according to an embodiment of the present invention.
FIG. 18 illustrates EAC mapping according to an embodiment of the present invention.
FIGS. 19 (a) and (b) illustrate FIC mapping according to an embodiment of the present invention.
FIG. 20 illustrate types of DP according to an embodiment of the present invention.
FIGS. 21 (a) and (b) illustrate DP mapping according to an embodiment of the present invention.
FIG. 22 illustrates an FEC structure according to an embodiment of the present invention.
FIG. 23 illustrates a bit interleaving according to an embodiment of the present invention.
FIGS. 24 (a) and (b) illustrate a cell-word demultiplexing according to an embodiment of the present invention.
FIGS. 25 (a), (b) and (c) illustrate a time interleaving according to an embodiment of the present invention.
FIGS. 26 (a) and (b) illustrate the basic operation of a twisted row-column block interleaver according to an embodiment of the present invention.
FIG. 27 illustrates an operation of a twisted row-column block interleaver according to another embodiment of the present invention.
FIG. 28 illustrates a diagonal-wise reading pattern of a twisted row-column block interleaver according to an embodiment of the present invention.
FIG. 29 illustrates interleaved XFECBLOCKs from each interleaving array according to an embodiment of the present invention.
FIGS. 30 (a) and (b) illustrate a time interleaving process according to an embodiment of the present invention.
FIGS. 31 (a) and (b) illustrate a time interleaving process according to another embodiment of the present invention.
FIGS. 32 (a) and (b) illustrate a process of generating TI output memory indexes according to an embodiment of the present invention.
FIGS. 33 (a) and (b) illustrate a time deinterleaving process according to an embodiment of the present invention.
FIGS. 34 (a) and (b) illustrate a time deinterleaving process according to another embodiment of the present invention.
FIGS. 35 (a) and (b) illustrate a process of generating TDI output memory indexes according to an embodiment of the present invention.
FIG. 36 is a conceptual diagram illustrating a variable data-rate system according to an embodiment of the present invention.
FIGS. 37 (a) and (b) illustrate a time interleaving process according to another embodiment of the present invention.
FIGS. 38 (a) and (b) illustrate a process of generating TI output memory indexes according to another embodiment of the present invention.
FIG. 39 is a flowchart illustrating a TI memory index generation process according to an embodiment of the present invention.
FIGS. 40 (a) and (b) illustrate a time deinterleaving process according to another embodiment of the present invention.
FIGS. 41 (a) and (b) illustrate a time deinterleaving process according to another embodiment of the present invention.
FIGS. 42 (a) and (b) illustrate a writing method according to an embodiment of the present invention.
FIG. 43 is a flowchart illustrating a process of generating TDI memory indexes according to an embodiment of the present invention.
FIGS. 44 (a) and (b) illustrate a time interleaving process according to another embodiment of the present invention.
FIG. 45 illustrates diagonal slopes according to an embodiment of the present invention.
FIGS. 46 (a) and (b) illustrate a time deinterleaving process according to an embodiment of the present invention.
FIGS. 47 (a) and (b) illustrate a process of generating TDI output memory indexes according to an embodiment of the present invention.
FIG. 48 is a conceptual diagram illustrating a variable data-rate system according to an embodiment of the present invention.
FIG. 49 is a flowchart illustrating a process of generating TDI memory indexes according to an embodiment of the present invention.
FIGS. 50 (a) and (b) illustrate IF-by-IF TI pattern variation according to an embodiment of the present invention.
FIG. 51 illustrates IF interleaving according to an embodiment of the present invention.
FIG. 52 illustrates CI according to an embodiment of the present invention.
FIG. 53 illustrates CI according to another embodiment of the present invention.
FIG. 54 illustrates output IFs of CI according to an embodiment of the present invention.
FIG. 55 illustrates a time interleaver according to another embodiment of the present invention.
FIG. 56 illustrates operation of the block interleaver according to an embodiment of the present invention.
FIG. 57 illustrates operation of the block interleaver according to another embodiment of the present invention.
FIG. 58 illustrates a time deinterleaver according to another embodiment of the present invention.
FIG. 59 illustrates CI according to another embodiment of the present invention.
FIG. 60 illustrates interface processing between the convolutional interleaver and the block interleaver according to an embodiment of the present invention.
FIG. 61 illustrates block interleaving according to another embodiment of the present invention.
FIG. 62 illustrates the concept of a variable bit-rate system according to an embodiment of the present invention.
FIG. 63 illustrates writing and reading operations of block interleaving according to an embodiment of the present invention.
FIG. 64 shows equations representing block interleaving according to an embodiment of the present invention.
FIG. 65 illustrates virtual FEC blocks according to an embodiment of the present invention.
FIG. 66 shows equations representing reading operation after insertion of virtual FEC blocks according to an embodiment of the present invention.
FIG. 67 is a flowchart illustrating a time interleaving process according to an embodiment of the present invention.
FIG. 68 shows equations representing a process of determining a shift value and a maximum TI block size according to an embodiment of the present invention.
FIG. 69 illustrates writing operation according to an embodiment of the present invention.
FIG. 70 illustrates reading operation according to an embodiment of the present invention.
FIG. 71 illustrates a result of skip operation in reading operation according to an embodiment of the present invention.
FIG. 72 shows a writing process of time deinterleaving according to an embodiment of the present invention.
FIG. 73 illustrates a writing process of time deinterleaving according to another embodiment of the present invention.
FIG. 74 shows equations representing reading operation of time deinterleaving according to another embodiment of the present invention.
FIG. 75 is a flowchart illustrating a time deinterleaving process according to an embodiment of the present invention.
FIG. 76 is a flowchart illustrating a method for receiving broadcast signals according to an embodiment of the present invention.



DETAILED DESCRIPTION OF THE INVENTION
Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings. The detailed description, which will be given below with reference to the accompanying drawings, is intended to explain exemplary embodiments of the present invention, rather than to show the only embodiments that can be implemented according to the present invention. The following detailed description includes specific details in order to provide a thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced without such specific details.
Although most terms used in the present invention have been selected from general ones widely used in the art, some terms have been arbitrarily selected by the applicant and their meanings are explained in detail in the following description as needed. Thus, the present invention should be understood based upon the intended meanings of the terms rather than their simple names or meanings.
The present invention provides apparatuses and methods for transmitting and receiving broadcast signals for future broadcast services. Future broadcast services according to an embodiment of the present invention include a terrestrial broadcast service, a mobile broadcast service, a UHDTV service, etc. The present invention may process broadcast signals for the future broadcast services through non-MIMO (Multiple Input Multiple Output) or MIMO according to one embodiment. A non-MIMO scheme according to an embodiment of the present invention may include a MISO (Multiple Input Single Output) scheme, a SISO (Single Input Single Output) scheme, etc.
While MISO or MIMO uses two antennas in the following for convenience of description, the present invention is applicable to systems using two or more antennas.
The present invention may defines three physical layer (PL) profiles—base, handheld and advanced profiles—each optimized to minimize receiver complexity while attaining the performance required for a particular use case. The physical layer (PHY) profiles are subsets of all configurations that a corresponding receiver should implement.
The three PHY profiles share most of the functional blocks but differ slightly in specific blocks and/or parameters. Additional PHY profiles can be defined in the future. For the system evolution, future profiles can also be multiplexed with the existing profiles in a single RF channel through a future extension frame (FEF). The details of each PHY profile are described below.
1. Base Profile
The base profile represents a main use case for fixed receiving devices that are usually connected to a roof-top antenna. The base profile also includes portable devices that could be transported to a place but belong to a relatively stationary reception category. Use of the base profile could be extended to handheld devices or even vehicular by some improved implementations, but those use cases are not expected for the base profile receiver operation.
Target SNR range of reception is from approximately 10 to 20 dB, which includes the 15 dB SNR reception capability of the existing broadcast system (e.g. ATSC A/53). The receiver complexity and power consumption is not as critical as in the battery-operated handheld devices, which will use the handheld profile. Key system parameters for the base profile are listed in below table 1.








TABLE 1







LDPC codeword length
16K, 64K bits


Constellation size
4~10 bpcu (bits per channel use)


Time de-interleaving memory size
≦219 data cells


Pilot patterns
Pilot pattern for fixed reception


FFT size
16K, 32K points









2. Handheld Profile
The handheld profile is designed for use in handheld and vehicular devices that operate with battery power. The devices can be moving with pedestrian or vehicle speed. The power consumption as well as the receiver complexity is very important for the implementation of the devices of the handheld profile. The target SNR range of the handheld profile is approximately 0 to 10 dB, but can be configured to reach below 0 dB when intended for deeper indoor reception.
In addition to low SNR capability, resilience to the Doppler Effect caused by receiver mobility is the most important performance attribute of the handheld profile. Key system parameters for the handheld profile are listed in the below table 2.








TABLE 2







LDPC codeword length
16K bits


Constellation size
2~8 bpcu


Time de-interleaving memory size
≦218 data cells


Pilot patterns
Pilot patterns for mobile and indoor



reception


FFT size
8K, 16K points









3. Advanced Profile
The advanced profile provides highest channel capacity at the cost of more implementation complexity. This profile requires using MIMO transmission and reception, and UHDTV service is a target use case for which this profile is specifically designed. The increased capacity can also be used to allow an increased number of services in a given bandwidth, e.g., multiple SDTV or HDTV services.
The target SNR range of the advanced profile is approximately 20 to 30 dB. MIMO transmission may initially use existing elliptically-polarized transmission equipment, with extension to full-power cross-polarized transmission in the future. Key system parameters for the advanced profile are listed in below table 3.








TABLE 3







LDPC codeword length
16K, 64K bits


Constellation size
8~12 bpcu


Time de-interleaving memory size
≦219 data cells


Pilot patterns
Pilot pattern for fixed reception


FFT size
16K, 32K points









In this case, the base profile can be used as a profile for both the terrestrial broadcast service and the mobile broadcast service. That is, the base profile can be used to define a concept of a profile which includes the mobile profile. Also, the advanced profile can be divided advanced profile for a base profile with MIMO and advanced profile for a handheld profile with MIMO. Moreover, the three profiles can be changed according to intention of the designer.
The following terms and definitions may apply to the present invention. The following terms and definitions can be changed according to design.
auxiliary stream: sequence of cells carrying data of as yet undefined modulation and coding, which may be used for future extensions or as required by broadcasters or network operators
base data pipe: data pipe that carries service signaling data
baseband frame (or BBFRAME): set of Kbch bits which form the input to one FEC encoding process (BCH and LDPC encoding)
cell: modulation value that is carried by one carrier of the OFDM transmission
coded block: LDPC-encoded block of PLS1 data or one of the LDPC-encoded blocks of PLS2 data
data pipe: logical channel in the physical layer that carries service data or related metadata, which may carry one or multiple service(s) or service component(s).
data pipe unit: a basic unit for allocating data cells to a DP in a frame.
data symbol: OFDM symbol in a frame which is not a preamble symbol (the frame signaling symbol and frame edge symbol is included in the data symbol)
DP_ID: this 8-bit field identifies uniquely a DP within the system identified by the SYSTEM_ID
dummy cell: cell carrying a pseudo-random value used to fill the remaining capacity not used for PLS signaling, DPs or auxiliary streams
emergency alert channel: part of a frame that carries EAS information data
frame: physical layer time slot that starts with a preamble and ends with a frame edge symbol
frame repetition unit: a set of frames belonging to same or different physical layer profile including a FEF, which is repeated eight times in a super-frame
fast information channel: a logical channel in a frame that carries the mapping information between a service and the corresponding base DP
FECBLOCK: set of LDPC-encoded bits of a DP data
FFT size: nominal FFT size used for a particular mode, equal to the active symbol period Ts expressed in cycles of the elementary period T
frame signaling symbol: OFDM symbol with higher pilot density used at the start of a frame in certain combinations of FFT size, guard interval and scattered pilot pattern, which carries a part of the PLS data
frame edge symbol: OFDM symbol with higher pilot density used at the end of a frame in certain combinations of FFT size, guard interval and scattered pilot pattern
frame-group: the set of all the frames having the same PHY profile type in a super-frame.
future extension frame: physical layer time slot within the super-frame that could be used for future extension, which starts with a preamble
Futurecast UTB system: proposed physical layer broadcasting system, of which the input is one or more MPEG2-TS or IP or general stream(s) and of which the output is an RF signal
input stream: A stream of data for an ensemble of services delivered to the end users by the system.
normal data symbol: data symbol excluding the frame signaling symbol and the frame edge symbol
PHY profile: subset of all configurations that a corresponding receiver should implement
PLS: physical layer signaling data consisting of PLS1 and PLS2
PLS1: a first set of PLS data carried in the FSS symbols having a fixed size, coding and modulation, which carries basic information about the system as well as the parameters needed to decode the PLS2
NOTE: PLS1 data remains constant for the duration of a frame-group.
PLS2: a second set of PLS data transmitted in the FSS symbol, which carries more detailed PLS data about the system and the DPs
PLS2 dynamic data: PLS2 data that may dynamically change frame-by-frame
PLS2 static data: PLS2 data that remains static for the duration of a frame-group
preamble signaling data: signaling data carried by the preamble symbol and used to identify the basic mode of the system
preamble symbol: fixed-length pilot symbol that carries basic PLS data and is located in the beginning of a frame
NOTE: The preamble symbol is mainly used for fast initial band scan to detect the system signal, its timing, frequency offset, and FFT-size.
reserved for future use: not defined by the present document but may be defined in future
super-frame: set of eight frame repetition units
time interleaving block (TI block): set of cells within which time interleaving is carried out, corresponding to one use of the time interleaver memory
TI group: unit over which dynamic capacity allocation for a particular DP is carried out, made up of an integer, dynamically varying number of XFECBLOCKs
NOTE: The TI group may be mapped directly to one frame or may be mapped to multiple frames. It may contain one or more TI blocks.
Type 1 DP: DP of a frame where all DPs are mapped into the frame in TDM fashion
Type 2 DP: DP of a frame where all DPs are mapped into the frame in FDM fashion
XFECBLOCK: set of Ncells cells carrying all the bits of one LDPC FECBLOCK
FIG. 1 illustrates a structure of an apparatus for transmitting broadcast signals for future broadcast services according to an embodiment of the present invention.
The apparatus for transmitting broadcast signals for future broadcast services according to an embodiment of the present invention can include an input formatting block 1000, a BICM (Bit interleaved coding & modulation) block 1010, a frame building block 1020, an OFDM (Orthogonal Frequency Division Multiplexing) generation block 1030 and a signaling generation block 1040. A description will be given of the operation of each module of the apparatus for transmitting broadcast signals.
IP stream/packets and MPEG2-TS are the main input formats, other stream types are handled as General Streams. In addition to these data inputs, Management Information is input to control the scheduling and allocation of the corresponding bandwidth for each input stream. One or multiple TS stream(s), IP stream(s) and/or General Stream(s) inputs are simultaneously allowed.
The input formatting block 1000 can demultiplex each input stream into one or multiple data pipe(s), to each of which an independent coding and modulation is applied. The data pipe (DP) is the basic unit for robustness control, thereby affecting quality-of-service (QoS). One or multiple service(s) or service component(s) can be carried by a single DP. Details of operations of the input formatting block 1000 will be described later.
The data pipe is a logical channel in the physical layer that carries service data or related metadata, which may carry one or multiple service(s) or service component(s).
Also, the data pipe unit: a basic unit for allocating data cells to a DP in a frame.
In the BICM block 1010, parity data is added for error correction and the encoded bit streams are mapped to complex-value constellation symbols. The symbols are interleaved across a specific interleaving depth that is used for the corresponding DP. For the advanced profile, MIMO encoding is performed in the BICM block 1010 and the additional data path is added at the output for MIMO transmission. Details of operations of the BICM block 1010 will be described later.
The Frame Building block 1020 can map the data cells of the input DPs into the OFDM symbols within a frame. After mapping, the frequency interleaving is used for frequency-domain diversity, especially to combat frequency-selective fading channels. Details of operations of the Frame Building block 1020 will be described later.
After inserting a preamble at the beginning of each frame, the OFDM Generation block 1030 can apply conventional OFDM modulation having a cyclic prefix as guard interval. For antenna space diversity, a distributed MISO scheme is applied across the transmitters. In addition, a Peak-to-Average Power Reduction (PAPR) scheme is performed in the time domain. For flexible network planning, this proposal provides a set of various FFT sizes, guard interval lengths and corresponding pilot patterns. Details of operations of the OFDM Generation block 1030 will be described later.
The Signaling Generation block 1040 can create physical layer signaling information used for the operation of each functional block. This signaling information is also transmitted so that the services of interest are properly recovered at the receiver side. Details of operations of the Signaling Generation block 1040 will be described later.
FIGS. 2, 3 and 4 illustrate the input formatting block 1000 according to embodiments of the present invention. A description will be given of each figure.
FIG. 2 illustrates an input formatting block according to one embodiment of the present invention. FIG. 2 shows an input formatting module when the input signal is a single input stream.
The input formatting block illustrated in FIG. 2 corresponds to an embodiment of the input formatting block 1000 described with reference to FIG. 1.
The input to the physical layer may be composed of one or multiple data streams. Each data stream is carried by one DP. The mode adaptation modules slice the incoming data stream into data fields of the baseband frame (BBF). The system supports three types of input data streams: MPEG2-TS, Internet protocol (IP) and Generic stream (GS). MPEG2-TS is characterized by fixed length (188 byte) packets with the first byte being a sync-byte (0x47). An IP stream is composed of variable length IP datagram packets, as signaled within IP packet headers. The system supports both IPv4 and IPv6 for the IP stream. GS may be composed of variable length packets or constant length packets, signaled within encapsulation packet headers.
(a) shows a mode adaptation block 2000 and a stream adaptation 2010 for signal DP and (b) shows a PLS generation block 2020 and a PLS scrambler 2030 for generating and processing PLS data. A description will be given of the operation of each block.
The Input Stream Splitter splits the input TS, IP, GS streams into multiple service or service component (audio, video, etc.) streams. The mode adaptation module 2010 is comprised of a CRC Encoder, BB (baseband) Frame Slicer, and BB Frame Header Insertion block.
The CRC Encoder provides three kinds of CRC encoding for error detection at the user packet (UP) level, i.e., CRC-8, CRC-16, and CRC-32. The computed CRC bytes are appended after the UP. CRC-8 is used for TS stream and CRC-32 for IP stream. If the GS stream doesn't provide the CRC encoding, the proposed CRC encoding should be applied.
BB Frame Slicer maps the input into an internal logical-bit format. The first received bit is defined to be the MSB. The BB Frame Slicer allocates a number of input bits equal to the available data field capacity. To allocate a number of input bits equal to the BBF payload, the UP packet stream is sliced to fit the data field of BBF.
BB Frame Header Insertion block can insert fixed length BBF header of 2 bytes is inserted in front of the BB Frame. The BBF header is composed of STUFFI (1 bit), SYNCD (13 bits), and RFU (2 bits). In addition to the fixed 2-Byte BBF header, BBF can have an extension field (1 or 3 bytes) at the end of the 2-byte BBF header.
The stream adaptation 2010 is comprised of stuffing insertion block and BB scrambler.
The stuffing insertion block can insert stuffing field into a payload of a BB frame. If the input data to the stream adaptation is sufficient to fill a BB-Frame, STUFFI is set to ‘0’ and the BBF has no stuffing field. Otherwise STUFFI is set to ‘1’ and the stuffing field is inserted immediately after the BBF header. The stuffing field comprises two bytes of the stuffing field header and a variable size of stuffing data.
The BB scrambler scrambles complete BBF for energy dispersal. The scrambling sequence is synchronous with the BBF. The scrambling sequence is generated by the feed-back shift register.
The PLS generation block 2020 can generate physical layer signaling (PLS) data. The PLS provides the receiver with a means to access physical layer DPs. The PLS data consists of PLS1 data and PLS2 data.
The PLS1 data is a first set of PLS data carried in the FSS symbols in the frame having a fixed size, coding and modulation, which carries basic information about the system as well as the parameters needed to decode the PLS2 data. The PLS1 data provides basic transmission parameters including parameters required to enable the reception and decoding of the PLS2 data. Also, the PLS1 data remains constant for the duration of a frame-group.
The PLS2 data is a second set of PLS data transmitted in the FSS symbol, which carries more detailed PLS data about the system and the DPs. The PLS2 contains parameters that provide sufficient information for the receiver to decode the desired DP. The PLS2 signaling further consists of two types of parameters, PLS2 Static data (PLS2-STAT data) and PLS2 dynamic data (PLS2-DYN data). The PLS2 Static data is PLS2 data that remains static for the duration of a frame-group and the PLS2 dynamic data is PLS2 data that may dynamically change frame-by-frame.
Details of the PLS data will be described later.
The PLS scrambler 2030 can scramble the generated PLS data for energy dispersal.
The above-described blocks may be omitted or replaced by blocks having similar or identical functions.
FIG. 3 illustrates an input formatting block according to another embodiment of the present invention.
The input formatting block illustrated in FIG. 3 corresponds to an embodiment of the input formatting block 1000 described with reference to FIG. 1.
FIG. 3 shows a mode adaptation block of the input formatting block when the input signal corresponds to multiple input streams.
The mode adaptation block of the input formatting block for processing the multiple input streams can independently process the multiple input streams.
Referring to FIG. 3, the mode adaptation block for respectively processing the multiple input streams can include an input stream splitter 3000, an input stream synchronizer 3010, a compensating delay block 3020, a null packet deletion block 3030, a head compression block 3040, a CRC encoder 3050, a BB frame slicer 3060 and a BB header insertion block 3070. Description will be given of each block of the mode adaptation block.
Operations of the CRC encoder 3050, BB frame slicer 3060 and BB header insertion block 3070 correspond to those of the CRC encoder, BB frame slicer and BB header insertion block described with reference to FIG. 2 and thus description thereof is omitted.
The input stream splitter 3000 can split the input TS, IP, GS streams into multiple service or service component (audio, video, etc.) streams.
The input stream synchronizer 3010 may be referred as ISSY. The ISSY can provide suitable means to guarantee Constant Bit Rate (CBR) and constant end-to-end transmission delay for any input data format. The ISSY is always used for the case of multiple DPs carrying TS, and optionally used for multiple DPs carrying GS streams.
The compensating delay block 3020 can delay the split TS packet stream following the insertion of ISSY information to allow a TS packet recombining mechanism without requiring additional memory in the receiver.
The null packet deletion block 3030, is used only for the TS input stream case. Some TS input streams or split TS streams may have a large number of null-packets present in order to accommodate VBR (variable bit-rate) services in a CBR TS stream. In this case, in order to avoid unnecessary transmission overhead, null-packets can be identified and not transmitted. In the receiver, removed null-packets can be re-inserted in the exact place where they were originally by reference to a deleted null-packet (DNP) counter that is inserted in the transmission, thus guaranteeing constant bit-rate and avoiding the need for time-stamp (PCR) updating.
The head compression block 3040 can provide packet header compression to increase transmission efficiency for TS or IP input streams. Because the receiver can have a priori information on certain parts of the header, this known information can be deleted in the transmitter.
For Transport Stream, the receiver has a-priori information about the sync-byte configuration (0x47) and the packet length (188 Byte). If the input TS stream carries content that has only one PID, i.e., for only one service component (video, audio, etc.) or service sub-component (SVC base layer, SVC enhancement layer, MVC base view or MVC dependent views), TS packet header compression can be applied (optionally) to the Transport Stream. IP packet header compression is used optionally if the input steam is an IP stream.
The above-described blocks may be omitted or replaced by blocks having similar or identical functions.
FIG. 4 illustrates an input formatting block according to another embodiment of the present invention.
The input formatting block illustrated in FIG. 4 corresponds to an embodiment of the input formatting block 1000 described with reference to FIG. 1.
FIG. 4 illustrates a stream adaptation block of the input formatting module when the input signal corresponds to multiple input streams.
Referring to FIG. 4, the mode adaptation block for respectively processing the multiple input streams can include a scheduler 4000, an 1-Frame delay block 4010, a stuffing insertion block 4020, an in-band signaling 4030, a BB Frame scrambler 4040, a PLS generation block 4050 and a PLS scrambler 4060. Description will be given of each block of the stream adaptation block.
Operations of the stuffing insertion block 4020, the BB Frame scrambler 4040, the PLS generation block 4050 and the PLS scrambler 4060 correspond to those of the stuffing insertion block, BB scrambler, PLS generation block and the PLS scrambler described with reference to FIG. 2 and thus description thereof is omitted.
The scheduler 4000 can determine the overall cell allocation across the entire frame from the amount of FECBLOCKs of each DP. Including the allocation for PLS, EAC and FIC, the scheduler generate the values of PLS2-DYN data, which is transmitted as in-band signaling or PLS cell in FSS of the frame. Details of FECBLOCK, EAC and FIC will be described later.
The 1-Frame delay block 4010 can delay the input data by one transmission frame such that scheduling information about the next frame can be transmitted through the current frame for in-band signaling information to be inserted into the DPs.
The in-band signaling 4030 can insert un-delayed part of the PLS2 data into a DP of a frame.
The above-described blocks may be omitted or replaced by blocks having similar or identical functions.
FIG. 5 illustrates a BICM block according to an embodiment of the present invention.
The BICM block illustrated in FIG. 5 corresponds to an embodiment of the BICM block 1010 described with reference to FIG. 1.
As described above, the apparatus for transmitting broadcast signals for future broadcast services according to an embodiment of the present invention can provide a terrestrial broadcast service, mobile broadcast service, UHDTV service, etc.
Since QoS (quality of service) depends on characteristics of a service provided by the apparatus for transmitting broadcast signals for future broadcast services according to an embodiment of the present invention, data corresponding to respective services needs to be processed through different schemes. Accordingly, the a BICM block according to an embodiment of the present invention can independently process DPs input thereto by independently applying SISO, MISO and MIMO schemes to the data pipes respectively corresponding to data paths. Consequently, the apparatus for transmitting broadcast signals for future broadcast services according to an embodiment of the present invention can control QoS for each service or service component transmitted through each DP.
(a) shows the BICM block shared by the base profile and the handheld profile and (b) shows the BICM block of the advanced profile.
The BICM block shared by the base profile and the handheld profile and the BICM block of the advanced profile can include plural processing blocks for processing each DP.
A description will be given of each processing block of the BICM block for the base profile and the handheld profile and the BICM block for the advanced profile.
A processing block 5000 of the BICM block for the base profile and the handheld profile can include a Data FEC encoder 5010, a bit interleaver 5020, a constellation mapper 5030, an SSD (Signal Space Diversity) encoding block 5040 and a time interleaver 5050.
The Data FEC encoder 5010 can perform the FEC encoding on the input BBF to generate FECBLOCK procedure using outer coding (BCH), and inner coding (LDPC). The outer coding (BCH) is optional coding method. Details of operations of the Data FEC encoder 5010 will be described later.
The bit interleaver 5020 can interleave outputs of the Data FEC encoder 5010 to achieve optimized performance with combination of the LDPC codes and modulation scheme while providing an efficiently implementable structure. Details of operations of the bit interleaver 5020 will be described later.
The constellation mapper 5030 can modulate each cell word from the bit interleaver 5020 in the base and the handheld profiles, or cell word from the Cell-word demultiplexer 5010-1 in the advanced profile using either QPSK, QAM-16, non-uniform QAM (NUQ-64, NUQ-256, NUQ-1024) or non-uniform constellation (NUC-16, NUC-64, NUC-256, NUC-1024) to give a power-normalized constellation point, el. This constellation mapping is applied only for DPs. Observe that QAM-16 and NUQs are square shaped, while NUCs have arbitrary shape. When each constellation is rotated by any multiple of 90 degrees, the rotated constellation exactly overlaps with its original one. This “rotation-sense” symmetric property makes the capacities and the average powers of the real and imaginary components equal to each other. Both NUQs and NUCs are defined specifically for each code rate and the particular one used is signaled by the parameter DP_MOD filed in PLS2 data.
The SSD encoding block 5040 can precode cells in two (2D), three (3D), and four (4D) dimensions to increase the reception robustness under difficult fading conditions.
The time interleaver 5050 can operates at the DP level. The parameters of time interleaving (TI) may be set differently for each DP. Details of operations of the time interleaver 5050 will be described later.
A processing block 5000-1 of the BICM block for the advanced profile can include the Data FEC encoder, bit interleaver, constellation mapper, and time interleaver. However, the processing block 5000-1 is distinguished from the processing block 5000 further includes a cell-word demultiplexer 5010-1 and a MIMO encoding block 5020-1.
Also, the operations of the Data FEC encoder, bit interleaver, constellation mapper, and time interleaver in the processing block 5000-1 correspond to those of the Data FEC encoder 5010, bit interleaver 5020, constellation mapper 5030, and time interleaver 5050 described and thus description thereof is omitted.
The cell-word demultiplexer 5010-1 is used for the DP of the advanced profile to divide the single cell-word stream into dual cell-word streams for MIMO processing. Details of operations of the cell-word demultiplexer 5010-1 will be described later.
The MIMO encoding block 5020-1 can processing the output of the cell-word demultiplexer 5010-1 using MIMO encoding scheme. The MIMO encoding scheme was optimized for broadcasting signal transmission. The MIMO technology is a promising way to get a capacity increase but it depends on channel characteristics. Especially for broadcasting, the strong LOS component of the channel or a difference in the received signal power between two antennas caused by different signal propagation characteristics makes it difficult to get capacity gain from MIMO. The proposed MIMO encoding scheme overcomes this problem using a rotation-based pre-coding and phase randomization of one of the MIMO output signals.
MIMO encoding is intended for a 2×2 MIMO system requiring at least two antennas at both the transmitter and the receiver. Two MIMO encoding modes are defined in this proposal; full-rate spatial multiplexing (FR-SM) and full-rate full-diversity spatial multiplexing (FRFD-SM). The FR-SM encoding provides capacity increase with relatively small complexity increase at the receiver side while the FRFD-SM encoding provides capacity increase and additional diversity gain with a great complexity increase at the receiver side. The proposed MIMO encoding scheme has no restriction on the antenna polarity configuration.
MIMO processing is required for the advanced profile frame, which means all DPs in the advanced profile frame are processed by the MIMO encoder. MIMO processing is applied at DP level. Pairs of the Constellation Mapper outputs NUQ (e1,i and e2,i) are fed to the input of the MIMO Encoder. Paired MIMO Encoder output (g1,i and g2,i) is transmitted by the same carrier k and OFDM symbol 1 of their respective TX antennas.
The above-described blocks may be omitted or replaced by blocks having similar or identical functions.
FIG. 6 illustrates a BICM block according to another embodiment of the present invention.
The BICM block illustrated in FIG. 6 corresponds to an embodiment of the BICM block 1010 described with reference to FIG. 1.
FIG. 6 illustrates a BICM block for protection of physical layer signaling (PLS), emergency alert channel (EAC) and fast information channel (FIC). EAC is a part of a frame that carries EAS information data and FIC is a logical channel in a frame that carries the mapping information between a service and the corresponding base DP. Details of the EAC and FIC will be described later.
Referring to FIG. 6, the BICM block for protection of PLS, EAC and FIC can include a PLS FEC encoder 6000, a bit interleaver 6010 and a constellation mapper 6020.
Also, the PLS FEC encoder 6000 can include a scrambler, BCH encoding/zero insertion block, LDPC encoding block and LDPC parity punturing block. Description will be given of each block of the BICM block.
The PLS FEC encoder 6000 can encode the scrambled PLS 1/2 data, EAC and FIC section.
The scrambler can scramble PLS1 data and PLS2 data before BCH encoding and shortened and punctured LDPC encoding.
The BCH encoding/zero insertion block can perform outer encoding on the scrambled PLS 1/2 data using the shortened BCH code for PLS protection and insert zero bits after the BCH encoding. For PLS1 data only, the output bits of the zero insertion may be permitted before LDPC encoding.
The LDPC encoding block can encode the output of the BCH encoding/zero insertion block using LDPC code. To generate a complete coded block, Cldpc, parity bits, Pldpc are encoded systematically from each zero-inserted PLS information block, Ildpc and appended after it.

Cldpc=[IldpcPldpc]=[i0,i1, . . . ,iKldpc−1,p0,p1, . . . ,pNldpc−Kldpc−1]  [Math figure 1]

The LDPC code parameters for PLS1 and PLS2 are as following table 4.















TABLE 4





Signaling



Kldpc


code



Type
Ksig
Kbch
Nbch—parity
(=Nbch)
Nldpc
Nldpc—parity
rate
Qldpc























PLS1
342
1020
60
1080
4320
3240
1/4 
36


PLS2
<1021



>1020
2100

2160
7200
5040
3/10
56









The LDPC parity puncturing block can perform puncturing on the PLS1 data and PLS 2 data.
When shortening is applied to the PLS1 data protection, some LDPC parity bits are punctured after LDPC encoding. Also, for the PLS2 data protection, the LDPC parity bits of PLS2 are punctured after LDPC encoding. These punctured bits are not transmitted.
The bit interleaver 6010 can interleave the each shortened and punctured PLS1 data and PLS2 data.
The constellation mapper 6020 can map the bit interleaved PLS1 data and PLS2 data onto constellations.
The above-described blocks may be omitted or replaced by blocks having similar or identical functions.
FIG. 7 illustrates a frame building block according to one embodiment of the present invention.
The frame building block illustrated in FIG. 7 corresponds to an embodiment of the frame building block 1020 described with reference to FIG. 1.
Referring to FIG. 7, the frame building block can include a delay compensation block 7000, a cell mapper 7010 and a frequency interleaver 7020. Description will be given of each block of the frame building block.
The delay compensation block 7000 can adjust the timing between the data pipes and the corresponding PLS data to ensure that they are co-timed at the transmitter end. The PLS data is delayed by the same amount as data pipes are by addressing the delays of data pipes caused by the Input Formatting block and BICM block. The delay of the BICM block is mainly due to the time interleaver 5050. In-band signaling data carries information of the next TI group so that they are carried one frame ahead of the DPs to be signaled. The Delay Compensating block delays in-band signaling data accordingly.
The cell mapper 7010 can map PLS, EAC, FIC, DPs, auxiliary streams and dummy cells into the active carriers of the OFDM symbols in the frame. The basic function of the cell mapper 7010 is to map data cells produced by the TIs for each of the DPs, PLS cells, and EAC/FIC cells, if any, into arrays of active OFDM cells corresponding to each of the OFDM symbols within a frame. Service signaling data (such as PSI (program specific information)/SI) can be separately gathered and sent by a data pipe. The Cell Mapper operates according to the dynamic information produced by the scheduler and the configuration of the frame structure. Details of the frame will be described later.
The frequency interleaver 7020 can randomly interleave data cells received from the cell mapper 7010 to provide frequency diversity. Also, the frequency interleaver 7020 can operate on very OFDM symbol pair comprised of two sequential OFDM symbols using a different interleaving-seed order to get maximum interleaving gain in a single frame.
The above-described blocks may be omitted or replaced by blocks having similar or identical functions.
FIG. 8 illustrates an OFDM generation block according to an embodiment of the present invention.
The OFDM generation block illustrated in FIG. 8 corresponds to an embodiment of the OFDM generation block 1030 described with reference to FIG. 1.
The OFDM generation block modulates the OFDM carriers by the cells produced by the Frame Building block, inserts the pilots, and produces the time domain signal for transmission. Also, this block subsequently inserts guard intervals, and applies PAPR (Peak-to-Average Power Radio) reduction processing to produce the final RF signal.
Referring to FIG. 8, the OFDM generation block can include a pilot and reserved tone insertion block 8000, a 2D-eSFN encoding block 8010, an IFFT (Inverse Fast Fourier Transform) block 8020, a PAPR reduction block 8030, a guard interval insertion block 8040, a preamble insertion block 8050, other system insertion block 8060 and a DAC block 8070. Description will be given of each block of the frame building block.
The pilot and reserved tone insertion block 8000 can insert pilots and the reserved tone.
Various cells within the OFDM symbol are modulated with reference information, known as pilots, which have transmitted values known a priori in the receiver. The information of pilot cells is made up of scattered pilots, continual pilots, edge pilots, FSS (frame signaling symbol) pilots and FES (frame edge symbol) pilots. Each pilot is transmitted at a particular boosted power level according to pilot type and pilot pattern. The value of the pilot information is derived from a reference sequence, which is a series of values, one for each transmitted carrier on any given symbol. The pilots can be used for frame synchronization, frequency synchronization, time synchronization, channel estimation, and transmission mode identification, and also can be used to follow the phase noise.
Reference information, taken from the reference sequence, is transmitted in scattered pilot cells in every symbol except the preamble, FSS and FES of the frame. Continual pilots are inserted in every symbol of the frame. The number and location of continual pilots depends on both the FFT size and the scattered pilot pattern. The edge carriers are edge pilots in every symbol except for the preamble symbol. They are inserted in order to allow frequency interpolation up to the edge of the spectrum. FSS pilots are inserted in FSS(s) and FES pilots are inserted in FES. They are inserted in order to allow time interpolation up to the edge of the frame.
The system according to an embodiment of the present invention supports the SFN network, where distributed MISO scheme is optionally used to support very robust transmission mode. The 2D-eSFN is a distributed MISO scheme that uses multiple TX antennas, each of which is located in the different transmitter site in the SFN network.
The 2D-eSFN encoding block 8010 can process a 2D-eSFN processing to distorts the phase of the signals transmitted from multiple transmitters, in order to create both time and frequency diversity in the SFN configuration. Hence, burst errors due to low flat fading or deep-fading for a long time can be mitigated.
The IFFT block 8020 can modulate the output from the 2D-eSFN encoding block 8010 using OFDM modulation scheme. Any cell in the data symbols which has not been designated as a pilot (or as a reserved tone) carries one of the data cells from the frequency interleaver. The cells are mapped to OFDM carriers.
The PAPR reduction block 8030 can perform a PAPR reduction on input signal using various PAPR reduction algorithm in the time domain.
The guard interval insertion block 8040 can insert guard intervals and the preamble insertion block 8050 can insert preamble in front of the signal. Details of a structure of the preamble will be described later. The other system insertion block 8060 can multiplex signals of a plurality of broadcast transmission/reception systems in the time domain such that data of two or more different broadcast transmission/reception systems providing broadcast services can be simultaneously transmitted in the same RF signal bandwidth. In this case, the two or more different broadcast transmission/reception systems refer to systems providing different broadcast services. The different broadcast services may refer to a terrestrial broadcast service, mobile broadcast service, etc. Data related to respective broadcast services can be transmitted through different frames.
The DAC block 8070 can convert an input digital signal into an analog signal and output the analog signal. The signal output from the DAC block 7800 can be transmitted through multiple output antennas according to the physical layer profiles. A Tx antenna according to an embodiment of the present invention can have vertical or horizontal polarity.
The above-described blocks may be omitted or replaced by blocks having similar or identical functions according to design.
FIG. 9 illustrates a structure of an apparatus for receiving broadcast signals for future broadcast services according to an embodiment of the present invention.
The apparatus for receiving broadcast signals for future broadcast services according to an embodiment of the present invention can correspond to the apparatus for transmitting broadcast signals for future broadcast services, described with reference to FIG. 1.
The apparatus for receiving broadcast signals for future broadcast services according to an embodiment of the present invention can include a synchronization & demodulation module 9000, a frame parsing module 9010, a demapping & decoding module 9020, an output processor 9030 and a signaling decoding module 9040. A description will be given of operation of each module of the apparatus for receiving broadcast signals.
The synchronization & demodulation module 9000 can receive input signals through m Rx antennas, perform signal detection and synchronization with respect to a system corresponding to the apparatus for receiving broadcast signals and carry out demodulation corresponding to a reverse procedure of the procedure performed by the apparatus for transmitting broadcast signals.
The frame parsing module 9010 can parse input signal frames and extract data through which a service selected by a user is transmitted. If the apparatus for transmitting broadcast signals performs interleaving, the frame parsing module 9010 can carry out deinterleaving corresponding to a reverse procedure of interleaving. In this case, the positions of a signal and data that need to be extracted can be obtained by decoding data output from the signaling decoding module 9040 to restore scheduling information generated by the apparatus for transmitting broadcast signals.
The demapping & decoding module 9020 can convert the input signals into bit domain data and then deinterleave the same as necessary. The demapping & decoding module 9020 can perform demapping for mapping applied for transmission efficiency and correct an error generated on a transmission channel through decoding. In this case, the demapping & decoding module 9020 can obtain transmission parameters necessary for demapping and decoding by decoding the data output from the signaling decoding module 9040.
The output processor 9030 can perform reverse procedures of various compression/signal processing procedures which are applied by the apparatus for transmitting broadcast signals to improve transmission efficiency. In this case, the output processor 9030 can acquire necessary control information from data output from the signaling decoding module 9040. The output of the output processor 8300 corresponds to a signal input to the apparatus for transmitting broadcast signals and may be MPEG-TSs, IP streams (v4 or v6) and generic streams.
The signaling decoding module 9040 can obtain PLS information from the signal demodulated by the synchronization & demodulation module 9000. As described above, the frame parsing module 9010, demapping & decoding module 9020 and output processor 9030 can execute functions thereof using the data output from the signaling decoding module 9040.
FIG. 10 illustrates a frame structure according to an embodiment of the present invention.
FIG. 10 shows an example configuration of the frame types and FRUs in a super-frame. (a) shows a super frame according to an embodiment of the present invention, (b) shows FRU (Frame Repetition Unit) according to an embodiment of the present invention, (c) shows frames of variable PHY profiles in the FRU and (d) shows a structure of a frame.
A super-frame may be composed of eight FRUs. The FRU is a basic multiplexing unit for TDM of the frames, and is repeated eight times in a super-frame.
Each frame in the FRU belongs to one of the PHY profiles, (base, handheld, advanced) or FEF. The maximum allowed number of the frames in the FRU is four and a given PHY profile can appear any number of times from zero times to four times in the FRU (e.g., base, base, handheld, advanced). PHY profile definitions can be extended using reserved values of the PHY_PROFILE in the preamble, if required.
The FEF part is inserted at the end of the FRU, if included. When the FEF is included in the FRU, the minimum number of FEFs is 8 in a super-frame. It is not recommended that FEF parts be adjacent to each other.
One frame is further divided into a number of OFDM symbols and a preamble. As shown in (d), the frame comprises a preamble, one or more frame signaling symbols (FSS), normal data symbols and a frame edge symbol (FES).
The preamble is a special symbol that enables fast Futurecast UTB system signal detection and provides a set of basic transmission parameters for efficient transmission and reception of the signal. The detailed description of the preamble will be will be described later.
The main purpose of the FSS(s) is to carry the PLS data. For fast synchronization and channel estimation, and hence fast decoding of PLS data, the FSS has more dense pilot pattern than the normal data symbol. The FES has exactly the same pilots as the FSS, which enables frequency-only interpolation within the FES and temporal interpolation, without extrapolation, for symbols immediately preceding the FES.
FIG. 11 illustrates a signaling hierarchy structure of the frame according to an embodiment of the present invention.
FIG. 11 illustrates the signaling hierarchy structure, which is split into three main parts: the preamble signaling data 11000, the PLS1 data 11010 and the PLS2 data 11020. The purpose of the preamble, which is carried by the preamble symbol in every frame, is to indicate the transmission type and basic transmission parameters of that frame. The PLS1 enables the receiver to access and decode the PLS2 data, which contains the parameters to access the DP of interest. The PLS2 is carried in every frame and split into two main parts: PLS2-STAT data and PLS2-DYN data. The static and dynamic portion of PLS2 data is followed by padding, if necessary.
FIG. 12 illustrates preamble signaling data according to an embodiment of the present invention.
Preamble signaling data carries 21 bits of information that are needed to enable the receiver to access PLS data and trace DPs within the frame structure. Details of the preamble signaling data are as follows:
PHY_PROFILE: This 3-bit field indicates the PHY profile type of the current frame. The mapping of different PHY profile types is given in below table 5.








TABLE 5





Value
PHY profile







000
Base profile


001
Handheld profile


010
Advanced profiled


011~110
Reserved


111
FEF









FFT_SIZE: This 2 bit field indicates the FFT size of the current frame within a frame-group, as described in below table 6.










TABLE 6







Value
FFT size









00
 8K FFT



01
16K FFT



10
32K FFT



11
Reserved










GI_FRACTION: This 3 bit field indicates the guard interval fraction value in the current super-frame, as described in below table 7.










TABLE 7







Value
GI_FRACTION









000
1/5



001
1/10



010
1/20



011
1/40



100
1/80



101
1/160



110~111
Reserved










EAC_FLAG: This 1 bit field indicates whether the EAC is provided in the current frame. If this field is set to ‘1’, emergency alert service (EAS) is provided in the current frame. If this field set to ‘0’, EAS is not carried in the current frame. This field can be switched dynamically within a super-frame.
PILOT_MODE: This 1-bit field indicates whether the pilot mode is mobile mode or fixed mode for the current frame in the current frame-group. If this field is set to ‘0’, mobile pilot mode is used. If the field is set to ‘1’, the fixed pilot mode is used.
PAPR_FLAG: This 1-bit field indicates whether PAPR reduction is used for the current frame in the current frame-group. If this field is set to value ‘1’, tone reservation is used for PAPR reduction. If this field is set to ‘0’, PAPR reduction is not used.
FRU_CONFIGURE: This 3-bit field indicates the PHY profile type configurations of the frame repetition units (FRU) that are present in the current super-frame. All profile types conveyed in the current super-frame are identified in this field in all preambles in the current super-frame. The 3-bit field has a different definition for each profile, as show in below table 8.












TABLE 8







Current
Current
Current
Current



PHY_PROFILE =
PHY_PROFILE =
PHY_PROFILE =
PHY_PROFILE =



‘000’ (base)
‘001’ (handheld)
‘010’ (advanced)
‘111’ (FEF)




















FRU_CONFIGURE =
Only base
Only handheld
Only advanced
Only FEF


000
profile present
profile present
profile present
present


FRU_CONFIGURE =
Handheld profile
Base profile
Base profile
Base profile


1XX
present
present
present
present


FRU_CONFIGURE =
Advanced profile
Advanced profile
Handheld profile
Handheld profile


X1X
present
present
present
present


FRU_CONFIGURE =
FEF present
FEF present
FEF present
Advanced profile


XX1



present









RESERVED: This 7-bit field is reserved for future use.
FIG. 13 illustrates PLS1 data according to an embodiment of the present invention.
PLS1 data provides basic transmission parameters including parameters required to enable the reception and decoding of the PLS2. As above mentioned, the PLS 1 data remain unchanged for the entire duration of one frame-group. The detailed definition of the signaling fields of the PLS1 data are as follows:
PREAMBLE_DATA: This 20-bit field is a copy of the preamble signaling data excluding the EAC_FLAG.
NUM_FRAME_FRU: This 2-bit field indicates the number of the frames per FRU.
PAYLOAD_TYPE: This 3-bit field indicates the format of the payload data carried in the frame-group. PAYLOAD_TYPE is signaled as shown in table 9.










TABLE 9







value
Payload type









1XX
TS stream is transmitted



X1X
IP stream is transmitted



XX1
GS stream is transmitted










NUM_FSS: This 2-bit field indicates the number of FSS symbols in the current frame.
SYSTEM_VERSION: This 8-bit field indicates the version of the transmitted signal format. The SYSTEM_VERSION is divided into two 4-bit fields, which are a major version and a minor version.
Major version: The MSB four bits of SYSTEM_VERSION field indicate major version information. A change in the major version field indicates a non-backward-compatible change. The default value is ‘0000’. For the version described in this standard, the value is set to ‘0000’.
Minor version: The LSB four bits of SYSTEM_VERSION field indicate minor version information. A change in the minor version field is backward-compatible.
CELL_ID: This is a 16-bit field which uniquely identifies a geographic cell in an ATSC network. An ATSC cell coverage area may consist of one or more frequencies, depending on the number of frequencies used per Futurecast UTB system. If the value of the CELL_ID is not known or unspecified, this field is set to ‘0’.
NETWORK_ID: This is a 16-bit field which uniquely identifies the current ATSC network.
SYSTEM_ID: This 16-bit field uniquely identifies the Futurecast UTB system within the ATSC network. The Futurecast UTB system is the terrestrial broadcast system whose input is one or more input streams (TS, IP, GS) and whose output is an RF signal. The Futurecast UTB system carries one or more PHY profiles and FEF, if any. The same Futurecast UTB system may carry different input streams and use different RF frequencies in different geographical areas, allowing local service insertion. The frame structure and scheduling is controlled in one place and is identical for all transmissions within a Futurecast UTB system. One or more Futurecast UTB systems may have the same SYSTEM_ID meaning that they all have the same physical layer structure and configuration.
The following loop consists of FRU_PHY_PROFILE, FRU_FRAME_LENGTH, FRU_GI_FRACTION, and RESERVED which are used to indicate the FRU configuration and the length of each frame type. The loop size is fixed so that four PHY profiles (including a FEF) are signaled within the FRU. If NUM_FRAME_FRU is less than 4, the unused fields are filled with zeros.
FRU_PHY_PROFILE: This 3-bit field indicates the PHY profile type of the (i+1)th (i is the loop index) frame of the associated FRU. This field uses the same signaling format as shown in the table 8.
FRU_FRAME_LENGTH: This 2-bit field indicates the length of the (i+1)th frame of the associated FRU. Using FRU_FRAME_LENGTH together with FRU_GI_FRACTION, the exact value of the frame duration can be obtained.
FRU_GI_FRACTION: This 3-bit field indicates the guard interval fraction value of the (i+1)th frame of the associated FRU. FRU_GI_FRACTION is signaled according to the table 7.
RESERVED: This 4-bit field is reserved for future use.
The following fields provide parameters for decoding the PLS2 data.
PLS2_FEC_TYPE: This 2-bit field indicates the FEC type used by the PLS2 protection. The FEC type is signaled according to table 10. The details of the LDPC codes will be described later.










TABLE 10







Content
PLS2 FEC type









00
4K-1/4 and 7K-3/10 LDPC codes



01~11
Reserved










PLS2_MOD: This 3-bit field indicates the modulation type used by the PLS2. The modulation type is signaled according to table 11.










TABLE 11







Value
PLS2_MODE









000
BPSK



001
QPSK



010
QAM-16



011
NUQ-64



100~111
Reserved










PLS2_SIZE_CELL: This 15-bit field indicates Ctotal_partial_block, the size (specified as the number of QAM cells) of the collection of full coded blocks for PLS2 that is carried in the current frame-group. This value is constant during the entire duration of the current frame-group.
PLS2_STAT_SIZE_BIT: This 14-bit field indicates the size, in bits, of the PLS2-STAT for the current frame-group. This value is constant during the entire duration of the current frame-group.
PLS2_DYN_SIZE_BIT: This 14-bit field indicates the size, in bits, of the PLS2-DYN for the current frame-group. This value is constant during the entire duration of the current frame-group.
PLS2_REP_FLAG: This 1-bit flag indicates whether the PLS2 repetition mode is used in the current frame-group. When this field is set to value ‘1’, the PLS2 repetition mode is activated. When this field is set to value ‘0’, the PLS2 repetition mode is deactivated.
PLS2_REP_SIZE_CELL: This 15-bit field indicates Ctotal_partial_block, the size (specified as the number of QAM cells) of the collection of partial coded blocks for PLS2 carried in every frame of the current frame-group, when PLS2 repetition is used. If repetition is not used, the value of this field is equal to 0. This value is constant during the entire duration of the current frame-group.
PLS2_NEXT_FEC_TYPE: This 2-bit field indicates the FEC type used for PLS2 that is carried in every frame of the next frame-group. The FEC type is signaled according to the table 10.
PLS2_NEXT_MOD: This 3-bit field indicates the modulation type used for PLS2 that is carried in every frame of the next frame-group. The modulation type is signaled according to the table 11.
PLS2_NEXT_REP_FLAG: This 1-bit flag indicates whether the PLS2 repetition mode is used in the next frame-group. When this field is set to value ‘1’, the PLS2 repetition mode is activated. When this field is set to value ‘0’, the PLS2 repetition mode is deactivated.
PLS2_NEXT_REP_SIZE_CELL: This 15-bit field indicates Ctotal_full_block, The size (specified as the number of QAM cells) of the collection of full coded blocks for PLS2 that is carried in every frame of the next frame-group, when PLS2 repetition is used. If repetition is not used in the next frame-group, the value of this field is equal to 0. This value is constant during the entire duration of the current frame-group.
PLS2_NEXT_REP_STAT_SIZE_BIT: This 14-bit field indicates the size, in bits, of the PLS2-STAT for the next frame-group. This value is constant in the current frame-group.
PLS2_NEXT_REP_DYN_SIZE_BIT: This 14-bit field indicates the size, in bits, of the PLS2-DYN for the next frame-group. This value is constant in the current frame-group.
PLS2_AP_MODE: This 2-bit field indicates whether additional parity is provided for PLS2 in the current frame-group. This value is constant during the entire duration of the current frame-group. The below table 12 gives the values of this field. When this field is set to ‘00’, additional parity is not used for the PLS2 in the current frame-group.










TABLE 12







Value
PLS2-AP mode









00
AP is not provided



01
AP1 mode



10~11
Reserved










PLS2_AP_SIZE_CELL: This 15-bit field indicates the size (specified as the number of QAM cells) of the additional parity bits of the PLS2. This value is constant during the entire duration of the current frame-group.
PLS2_NEXT_AP_MODE: This 2-bit field indicates whether additional parity is provided for PLS2 signaling in every frame of next frame-group. This value is constant during the entire duration of the current frame-group. The table 12 defines the values of this field
PLS2_NEXT_AP_SIZE_CELL: This 15-bit field indicates the size (specified as the number of QAM cells) of the additional parity bits of the PLS2 in every frame of the next frame-group. This value is constant during the entire duration of the current frame-group.
RESERVED: This 32-bit field is reserved for future use.
CRC_32: A 32-bit error detection code, which is applied to the entire PLS1 signaling.
FIG. 14 illustrates PLS2 data according to an embodiment of the present invention.
FIG. 14 illustrates PLS2-STAT data of the PLS2 data. The PLS2-STAT data are the same within a frame-group, while the PLS2-DYN data provide information that is specific for the current frame.
The details of fields of the PLS2-STAT data are as follows:
FIC_FLAG: This 1-bit field indicates whether the FIC is used in the current frame-group. If this field is set to ‘1’, the FIC is provided in the current frame. If this field set to ‘0’, the FIC is not carried in the current frame. This value is constant during the entire duration of the current frame-group.
AUX_FLAG: This 1-bit field indicates whether the auxiliary stream(s) is used in the current frame-group. If this field is set to ‘1’, the auxiliary stream is provided in the current frame. If this field set to ‘0’, the auxiliary stream is not carried in the current frame. This value is constant during the entire duration of current frame-group.
NUM_DP: This 6-bit field indicates the number of DPs carried within the current frame. The value of this field ranges from 1 to 64, and the number of DPs is NUM_DP+1.
DP_ID: This 6-bit field identifies uniquely a DP within a PHY profile.
DP_TYPE: This 3-bit field indicates the type of the DP. This is signaled according to the below table 13.










TABLE 13







Value
DP Type









000
DP Type 1



001
DP Type 2



010~111
reserved










DP_GROUP_ID: This 8-bit field identifies the DP group with which the current DP is associated. This can be used by a receiver to access the DPs of the service components associated with a particular service, which will have the same DP_GROUP_ID.
BASE_DP_ID: This 6-bit field indicates the DP carrying service signaling data (such as PSI/SI) used in the Management layer. The DP indicated by BASE_DP_ID may be either a normal DP carrying the service signaling data along with the service data or a dedicated DP carrying only the service signaling data
DP_FEC_TYPE: This 2-bit field indicates the FEC type used by the associated DP. The FEC type is signaled according to the below table 14.










TABLE 14







Value
FEC_TYPE









00
16K LDPC



01
64K LDPC



10~11
Reserved










DP_COD: This 4-bit field indicates the code rate used by the associated DP. The code rate is signaled according to the below table 15.










TABLE 15







Value
Code rate









0000
 5/15



0001
 6/15



0010
 7/15



0011
 8/15



0100
 9/15



0101
10/15



0110
11/15



0111
12/15



1000
13/15



1001~1111
Reserved










DP_MOD: This 4-bit field indicates the modulation used by the associated DP. The modulation is signaled according to the below table 16.










TABLE 16







Value
Modulation









0000
QPSK



0001
QAM-16



0010
NUQ-64



0011
NUQ-256



0100
NUQ-1024



0101
NUC-16



0110
NUC-64



0111
NUC-256



1000
NUC-1024



1001~1111
reserved










DP_SSD_FLAG: This 1-bit field indicates whether the SSD mode is used in the associated DP. If this field is set to value ‘1’, SSD is used. If this field is set to value ‘0’, SSD is not used.
The following field appears only if PHY_PROFILE is equal to ‘010’, which indicates the advanced profile:
DP_MIMO: This 3-bit field indicates which type of MIMO encoding process is applied to the associated DP. The type of MIMO encoding process is signaled according to the table 17.










TABLE 17







Value
MIMO encoding









000
FR-SM



001
FRFD-SM



010~111
reserved










DP_TI_TYPE: This 1-bit field indicates the type of time-interleaving. A value of ‘0’ indicates that one TI group corresponds to one frame and contains one or more TI-blocks. A value of ‘1’ indicates that one TI group is carried in more than one frame and contains only one TI-block.
DP_TI_LENGTH: The use of this 2-bit field (the allowed values are only 1, 2, 4, 8) is determined by the values set within the DP_TI_TYPE field as follows:
If the DP_TI_TYPE is set to the value ‘1’, this field indicates PI, the number of the frames to which each TI group is mapped, and there is one TI-block per TI group (NTI=1). The allowed PI values with 2-bit field are defined in the below table 18.
If the DP_TI_TYPE is set to the value ‘0’, this field indicates the number of TI-blocks NTI per TI group, and there is one TI group per frame (PI=1). The allowed PI values with 2-bit field are defined in the below table 18.











TABLE 18







2-bit field
PI
NTI









00
1
1



01
2
2



10
4
3



11
8
4










DP_FRAME_INTERVAL: This 2-bit field indicates the frame interval (IJUMP) within the frame-group for the associated DP and the allowed values are 1, 2, 4, 8 (the corresponding 2-bit field is ‘00’, ‘01’, ‘10’, or ‘11’, respectively). For DPs that do not appear every frame of the frame-group, the value of this field is equal to the interval between successive frames. For example, if a DP appears on the frames 1, 5, 9, 13, etc., this field is set to ‘4’. For DPs that appear in every frame, this field is set to ‘1’.
DP_TI_BYPASS: This 1-bit field determines the availability of time interleaver 5050. If time interleaving is not used for a DP, it is set to ‘1’. Whereas if time interleaving is used it is set to ‘0’.
DP_FIRST_FRAME_IDX: This 5-bit field indicates the index of the first frame of the super-frame in which the current DP occurs. The value of DP_FIRST_FRAME_IDX ranges from 0 to 31
DP_NUM_BLOCK_MAX: This 10-bit field indicates the maximum value of DP_NUM_BLOCKS for this DP. The value of this field has the same range as DP_NUM_BLOCKS.
DP_PAYLOAD_TYPE: This 2-bit field indicates the type of the payload data carried by the given DP. DP_PAYLOAD_TYPE is signaled according to the below table 19.










TABLE 19







Value
Payload Type









00
TS.



01
IP



10
GS



11
reserved










DP_INBAND_MODE: This 2-bit field indicates whether the current DP carries in-band signaling information. The in-band signaling type is signaled according to the below table 20.










TABLE 20







Value
In-band mode









00
In-band signaling is not carried.



01
INBAND-PLS is carried only



10
INBAND-ISSY is carried only



11
INBAND-PLS and INBAND-ISSY are carried










DP_PROTOCOL_TYPE: This 2-bit field indicates the protocol type of the payload carried by the given DP. It is signaled according to the below table 21 when input payload types are selected.










TABLE 21






If DP_PAYLOAD_TYPE
If DP_PAYLOAD_TYPE
If DP_PAYLOAD_TYPE


Value
Is TS
Is IP
Is GS







00
MPEG2-TS
IPv4
(Note)


01
Reserved
IPv6
Reserved


10
Reserved
Reserved
Reserved


11
Reserved
Reserved
Reserved









DP_CRC_MODE: This 2-bit field indicates whether CRC encoding is used in the Input Formatting block. The CRC mode is signaled according to the below table 22.








TABLE 22





Value
CRC mode







00
Not used


01
CRC-8


10
CRC-16


11
CRC-32









DNP_MODE: This 2-bit field indicates the null-packet deletion mode used by the associated DP when DP_PAYLOAD_TYPE is set to TS (‘00’). DNP_MODE is signaled according to the below table 23. If DP_PAYLOAD_TYPE is not TS (‘00’), DNP_MODE is set to the value ‘00’.








TABLE 23





Value
Null-packet deletion mode







00
Not used


01
DNP-NORMAL


10
DNP-OFFSET


11
reserved









ISSY_MODE: This 2-bit field indicates the ISSY mode used by the associated DP when DP_PAYLOAD_TYPE is set to TS (‘00’). The ISSY_MODE is signaled according to the below table 24 If DP_PAYLOAD_TYPE is not TS (‘00’), ISSY_MODE is set to the value ‘00’.








TABLE 24





Value
ISSY mode







00
Not used


01
ISSY-UP


10
ISSY-BBF


11
reserved









HC_MODE_TS: This 2-bit field indicates the TS header compression mode used by the associated DP when DP_PAYLOAD_TYPE is set to TS (‘00’). The HC_MODE_TS is signaled according to the below table 25.








TABLE 25





Value
Header compression mode







00
HC_MODE_TS 1


01
HC_MODE_TS 2


10
HC_MODE_TS 3


11
HC_MODE_TS 4









HC_MODE_IP: This 2-bit field indicates the IP header compression mode when DP_PAYLOAD_TYPE is set to IP (‘01’). The HC_MODE_IP is signaled according to the below table 26.









TABLE 26





Value
Header compression mode







00
No compression


01
HC_MODE_IP 1


10~11
reserved









PID: This 13-bit field indicates the PID number for TS header compression when DP_PAYLOAD_TYPE is set to TS (‘00’) and HC_MODE_TS is set to ‘01’ or ‘10’.
RESERVED: This 8-bit field is reserved for future use.
The following field appears only if FIC_FLAG is equal to ‘1’:
FIC_VERSION: This 8-bit field indicates the version number of the FIC.
FIC_LENGTH_BYTE: This 13-bit field indicates the length, in bytes, of the FIC.
RESERVED: This 8-bit field is reserved for future use.
The following field appears only if AUX_FLAG is equal to ‘1’:
NUM_AUX: This 4-bit field indicates the number of auxiliary streams. Zero means no auxiliary streams are used.
AUX_CONFIG_RFU: This 8-bit field is reserved for future use.
AUX_STREAM_TYPE: This 4-bit is reserved for future use for indicating the type of the current auxiliary stream.
AUX_PRIVATE_CONFIG: This 28-bit field is reserved for future use for signaling auxiliary streams.
FIG. 15 illustrates PLS2 data according to another embodiment of the present invention.
FIG. 15 illustrates PLS2-DYN data of the PLS2 data. The values of the PLS2-DYN data may change during the duration of one frame-group, while the size of fields remains constant.
The details of fields of the PLS2-DYN data are as follows:
FRAME_INDEX: This 5-bit field indicates the frame index of the current frame within the super-frame. The index of the first frame of the super-frame is set to ‘0’.
PLS_CHANGE_COUNTER: This 4-bit field indicates the number of super-frames ahead where the configuration will change. The next super-frame with changes in the configuration is indicated by the value signaled within this field. If this field is set to the value ‘0000’, it means that no scheduled change is foreseen: e.g., value ‘1’ indicates that there is a change in the next super-frame.
FIC_CHANGE_COUNTER: This 4-bit field indicates the number of super-frames ahead where the configuration (i.e., the contents of the FIC) will change. The next super-frame with changes in the configuration is indicated by the value signaled within this field. If this field is set to the value ‘0000’, it means that no scheduled change is foreseen: e.g. value ‘0001’ indicates that there is a change in the next super-frame.
RESERVED: This 16-bit field is reserved for future use.
The following fields appear in the loop over NUM_DP, which describe the parameters associated with the DP carried in the current frame.
DP_ID: This 6-bit field indicates uniquely the DP within a PHY profile.
DP_START: This 15-bit (or 13-bit) field indicates the start position of the first of the DPs using the DPU addressing scheme. The DP_START field has differing length according to the PHY profile and FFT size as shown in the below table 27.










TABLE 27









DP_START




field size











PHY profile
64K
16K







Base
13 bit
15 bit



Handheld
—
13 bit



Advanced
13 bit
15 bit










DP_NUM_BLOCK: This 10-bit field indicates the number of FEC blocks in the current TI group for the current DP. The value of DP_NUM_BLOCK ranges from 0 to 1023
RESERVED: This 8-bit field is reserved for future use.
The following fields indicate the FIC parameters associated with the EAC.
EAC_FLAG: This 1-bit field indicates the existence of the EAC in the current frame. This bit is the same value as the EAC_FLAG in the preamble.
EAS_WAKE_UP_VERSION_NUM: This 8-bit field indicates the version number of a wake-up indication.
If the EAC_FLAG field is equal to ‘1’, the following 12 bits are allocated for EAC_LENGTH_BYTE field. If the EAC_FLAG field is equal to ‘0’, the following 12 bits are allocated for EAC_COUNTER.
EAC_LENGTH_BYTE: This 12-bit field indicates the length, in byte, of the EAC.
EAC_COUNTER: This 12-bit field indicates the number of the frames before the frame where the EAC arrives.
The following field appears only if the AUX_FLAG field is equal to ‘1’:
AUX_PRIVATE_DYN: This 48-bit field is reserved for future use for signaling auxiliary streams. The meaning of this field depends on the value of AUX_STREAM_TYPE in the configurable PLS2-STAT.
CRC_32: A 32-bit error detection code, which is applied to the entire PLS2.
FIG. 16 illustrates a logical structure of a frame according to an embodiment of the present invention.
As above mentioned, the PLS, EAC, FIC, DPs, auxiliary streams and dummy cells are mapped into the active carriers of the OFDM symbols in the frame. The PLS1 and PLS2 are first mapped into one or more FSS(s). After that, EAC cells, if any, are mapped immediately following the PLS field, followed next by FIC cells, if any. The DPs are mapped next after the PLS or EAC, FIC, if any. Type 1 DPs follows first, and Type 2 DPs next. The details of a type of the DP will be described later. In some case, DPs may carry some special data for EAS or service signaling data. The auxiliary stream or streams, if any, follow the DPs, which in turn are followed by dummy cells. Mapping them all together in the above mentioned order, i.e. PLS, EAC, FIC, DPs, auxiliary streams and dummy data cells exactly fill the cell capacity in the frame.
FIG. 17 illustrates PLS mapping according to an embodiment of the present invention.
PLS cells are mapped to the active carriers of FSS(s). Depending on the number of cells occupied by PLS, one or more symbols are designated as FSS(s), and the number of FSS(s) NFSS is signaled by NUM_FSS in PLS1. The FSS is a special symbol for carrying PLS cells. Since robustness and latency are critical issues in the PLS, the FSS(s) has higher density of pilots allowing fast synchronization and frequency-only interpolation within the FSS.
PLS cells are mapped to active carriers of the NFSS FSS(s) in a top-down manner as shown in an example in FIG. 17. The PLS1 cells are mapped first from the first cell of the first FSS in an increasing order of the cell index. The PLS2 cells follow immediately after the last cell of the PLS1 and mapping continues downward until the last cell index of the first FSS. If the total number of required PLS cells exceeds the number of active carriers of one FSS, mapping proceeds to the next FSS and continues in exactly the same manner as the first FSS.
After PLS mapping is completed, DPs are carried next. If EAC, FIC or both are present in the current frame, they are placed between PLS and “normal” DPs.
FIG. 18 illustrates EAC mapping according to an embodiment of the present invention.
EAC is a dedicated channel for carrying EAS messages and links to the DPs for EAS. EAS support is provided but EAC itself may or may not be present in every frame. EAC, if any, is mapped immediately after the PLS2 cells. EAC is not preceded by any of the FIC, DPs, auxiliary streams or dummy cells other than the PLS cells. The procedure of mapping the EAC cells is exactly the same as that of the PLS.
The EAC cells are mapped from the next cell of the PLS2 in increasing order of the cell index as shown in the example in FIG. 18. Depending on the EAS message size, EAC cells may occupy a few symbols, as shown in FIG. 18.
EAC cells follow immediately after the last cell of the PLS2, and mapping continues downward until the last cell index of the last FSS. If the total number of required EAC cells exceeds the number of remaining active carriers of the last FSS mapping proceeds to the next symbol and continues in exactly the same manner as FSS(s). The next symbol for mapping in this case is the normal data symbol, which has more active carriers than a FSS.
After EAC mapping is completed, the FIC is carried next, if any exists. If FIC is not transmitted (as signaled in the PLS2 field), DPs follow immediately after the last cell of the EAC.
FIG. 19 illustrates FIC mapping according to an embodiment of the present invention.
shows an example mapping of FIC cell without EAC and (b) shows an example mapping of FIC cell with EAC.
FIC is a dedicated channel for carrying cross-layer information to enable fast service acquisition and channel scanning. This information primarily includes channel binding information between DPs and the services of each broadcaster. For fast scan, a receiver can decode FIC and obtain information such as broadcaster ID, number of services, and BASE_DP_ID. For fast service acquisition, in addition to FIC, base DP can be decoded using BASE_DP_ID. Other than the content it carries, a base DP is encoded and mapped to a frame in exactly the same way as a normal DP. Therefore, no additional description is required for a base DP. The FIC data is generated and consumed in the Management Layer. The content of FIC data is as described in the Management Layer specification.
The FIC data is optional and the use of FIC is signaled by the FIC_FLAG parameter in the static part of the PLS2. If FIC is used, FIC_FLAG is set to ‘1’ and the signaling field for FIC is defined in the static part of PLS2. Signaled in this field are FIC_VERSION, and FIC_LENGTH_BYTE. FIC uses the same modulation, coding and time interleaving parameters as PLS2. FIC shares the same signaling parameters such as PLS2_MOD and PLS2_FEC. FIC data, if any, is mapped immediately after PLS2 or EAC if any. FIC is not preceded by any normal DPs, auxiliary streams or dummy cells. The method of mapping FIC cells is exactly the same as that of EAC which is again the same as PLS.
Without EAC after PLS, FIC cells are mapped from the next cell of the PLS2 in an increasing order of the cell index as shown in an example in (a). Depending on the FIC data size, FIC cells may be mapped over a few symbols, as shown in (b).
FIC cells follow immediately after the last cell of the PLS2, and mapping continues downward until the last cell index of the last FSS. If the total number of required FIC cells exceeds the number of remaining active carriers of the last FSS, mapping proceeds to the next symbol and continues in exactly the same manner as FSS(s). The next symbol for mapping in this case is the normal data symbol which has more active carriers than a FSS.
If EAS messages are transmitted in the current frame, EAC precedes FIC, and FIC cells are mapped from the next cell of the EAC in an increasing order of the cell index as shown in (b).
After FIC mapping is completed, one or more DPs are mapped, followed by auxiliary streams, if any, and dummy cells.
FIG. 20 illustrates a type of DP according to an embodiment of the present invention.
shows type 1 DP and (b) shows type 2 DP.
After the preceding channels, i.e., PLS, EAC and FIC, are mapped, cells of the DPs are mapped. A DP is categorized into one of two types according to mapping method:
Type 1 DP: DP is mapped by TDM
Type 2 DP: DP is mapped by FDM
The type of DP is indicated by DP_TYPE field in the static part of PLS2. FIG. 20 illustrates the mapping orders of Type 1 DPs and Type 2 DPs. Type 1 DPs are first mapped in the increasing order of cell index, and then after reaching the last cell index, the symbol index is increased by one. Within the next symbol, the DP continues to be mapped in the increasing order of cell index starting from p=0. With a number of DPs mapped together in one frame, each of the Type 1 DPs are grouped in time, similar to TDM multiplexing of DPs.
Type 2 DPs are first mapped in the increasing order of symbol index, and then after reaching the last OFDM symbol of the frame, the cell index increases by one and the symbol index rolls back to the first available symbol and then increases from that symbol index. After mapping a number of DPs together in one frame, each of the Type 2 DPs are grouped in frequency together, similar to FDM multiplexing of DPs.
Type 1 DPs and Type 2 DPs can coexist in a frame if needed with one restriction; Type 1 DPs always precede Type 2 DPs. The total number of OFDM cells carrying Type 1 and Type 2 DPs cannot exceed the total number of OFDM cells available for transmission of DPs:

DDP1+DDP2≦D  [Expression 2]

where DDP1 is the number of OFDM cells occupied by Type 1 DPs, DDP2 is the number of cells occupied by Type 2 DPs. Since PLS, EAC, FIC are all mapped in the same way as Type 1 DP, they all follow “Type 1 mapping rule”. Hence, overall, Type 1 mapping always precedes Type 2 mapping.
FIG. 21 illustrates DP mapping according to an embodiment of the present invention.
shows an addressing of OFDM cells for mapping type 1 DPs and (b) shows an addressing of OFDM cells for mapping for type 2 DPs.
Addressing of OFDM cells for mapping Type 1 DPs (0, . . . , DDP1−1) is defined for the active data cells of Type 1 DPs. The addressing scheme defines the order in which the cells from the TIs for each of the Type 1 DPs are allocated to the active data cells. It is also used to signal the locations of the DPs in the dynamic part of the PLS2.
Without EAC and FIC, address 0 refers to the cell immediately following the last cell carrying PLS in the last FSS. If EAC is transmitted and FIC is not in the corresponding frame, address 0 refers to the cell immediately following the last cell carrying EAC. If FIC is transmitted in the corresponding frame, address 0 refers to the cell immediately following the last cell carrying FIC. Address 0 for Type 1 DPs can be calculated considering two different cases as shown in (a). In the example in (a), PLS, EAC and FIC are assumed to be all transmitted. Extension to the cases where either or both of EAC and FIC are omitted is straightforward. If there are remaining cells in the FSS after mapping all the cells up to FIC as shown on the left side of (a).
Addressing of OFDM cells for mapping Type 2 DPs (0, . . . , DDP2−1) is defined for the active data cells of Type 2 DPs. The addressing scheme defines the order in which the cells from the TIs for each of the Type 2 DPs are allocated to the active data cells. It is also used to signal the locations of the DPs in the dynamic part of the PLS2.
Three slightly different cases are possible as shown in (b). For the first case shown on the left side of (b), cells in the last FSS are available for Type 2 DP mapping. For the second case shown in the middle, FIC occupies cells of a normal symbol, but the number of FIC cells on that symbol is not larger than CFSS. The third case, shown on the right side in (b), is the same as the second case except that the number of FIC cells mapped on that symbol exceeds CFSS.
The extension to the case where Type 1 DP(s) precede Type 2 DP(s) is straightforward since PLS, EAC and FIC follow the same “Type 1 mapping rule” as the Type 1 DP(s).
A data pipe unit (DPU) is a basic unit for allocating data cells to a DP in a frame.
A DPU is defined as a signaling unit for locating DPs in a frame. A Cell Mapper 7010 may map the cells produced by the TIs for each of the DPs. A Time interleaver 5050 outputs a series of TI-blocks and each TI-block comprises a variable number of XFECBLOCKs which is in turn composed of a set of cells. The number of cells in an XFECBLOCK, Ncells, is dependent on the FECBLOCK size, Nldpc, and the number of transmitted bits per constellation symbol. A DPU is defined as the greatest common divisor of all possible values of the number of cells in a XFECBLOCK, Ncells, supported in a given PHY profile. The length of a DPU in cells is defined as LDPU. Since each PHY profile supports different combinations of FECBLOCK size and a different number of bits per constellation symbol, LDPU is defined on a PHY profile basis.
FIG. 22 illustrates an FEC structure according to an embodiment of the present invention.
FIG. 22 illustrates an FEC structure according to an embodiment of the present invention before bit interleaving. As above mentioned, Data FEC encoder may perform the FEC encoding on the input BBF to generate FECBLOCK procedure using outer coding (BCH), and inner coding (LDPC). The illustrated FEC structure corresponds to the FECBLOCK. Also, the FECBLOCK and the FEC structure have same value corresponding to a length of LDPC codeword.
The BCH encoding is applied to each BBF (Kbch bits), and then LDPC encoding is applied to BCH-encoded BBF (Kldpc bits=Nbch bits) as illustrated in FIG. 22.
The value of Nldpc is either 64800 bits (long FECBLOCK) or 16200 bits (short FECBLOCK).
The below table 28 and table 29 show FEC encoding parameters for a long FECBLOCK and a short FECBLOCK, respectively.












TABLE 28









BCH







error


LDPC



correction


Rate
Nldpc
Kldpc
Kbch
capability
Nbch − Kbch







5/15
64800
21600
21408
12
192


6/15

25920
25728


7/15

30240
30048


8/15

34560
34368


9/15

38880
38688


10/15 

43200
43008


11/15 

47520
47328


12/15 

51840
51648


13/15 

56160
55968





















TABLE 29









BCH







error


LDPC



correction


Rate
Nldpc
Kldpc
Kbch
capability
Nbch − Kbch




















5/15
16200
5400
5232
12
168


6/15

6480
6312


7/15

7560
7392


8/15

8640
8472


9/15

9720
9552


10/15 

10800
10632


11/15 

11880
11712


12/15 

12960
12792


13/15 

14040
13872









The details of operations of the BCH encoding and LDPC encoding are as follows:
A 12-error correcting BCH code is used for outer encoding of the BBF. The BCH generator polynomial for short FECBLOCK and long FECBLOCK are obtained by multiplying together all polynomials.
LDPC code is used to encode the output of the outer BCH encoding. To generate a completed Bldpc (FECBLOCK), Pldpc (parity bits) is encoded systematically from each Ildpc (BCH-encoded BBF), and appended to Ildpc. The completed Bldpc (FECBLOCK) are expressed as follow expression.

Bldpc=[IldpcPldpc]=[i0,i1, . . . ,iKldpc−1,p0,p1, . . . ,pNldpc−Kldpc−1]  [expression 3]

The parameters for long FECBLOCK and short FECBLOCK are given in the above table 28 and 29, respectively.
The detailed procedure to calculate Nldpc−Kldpc parity bits for long FECBLOCK, is as follows:
1) Initialize the parity bits,

p0=p1=p2= . . . =PNldpc−Kldpc−1=0  [expression 4]

2) Accumulate the first information bit—i0, at parity bit addresses specified in the first row of an addresses of parity check matrix. The details of addresses of parity check matrix will be described later. For example, for rate 13/15:










[expression 5]


















p983 = p983 ⊕ i0
p2815 = p2815 ⊕ i0



p4837 = p4837 ⊕ i0
p4989 = p4989 ⊕ i0



p6138 = p6138 ⊕ i0
p6458 = p6458 ⊕ i0



p6921 = p6921 ⊕ i0
p6974 = p6974 ⊕ i0



p7572 = p7572 ⊕ i0
p8260 = p8260 ⊕ i0



p8496 = p8496 ⊕ i0










3) For the next 359 information bits, is, s=1, 2, . . . , 359 accumulate is at parity bit addresses using following expression.

{x+(s mod 360)×Qldpc} mod(Nldpc−Kldpc)  [expression 6]

where x denotes the address of the parity bit accumulator corresponding to the first bit i0, and Qldpc is a code rate dependent constant specified in the addresses of parity check matrix. Continuing with the example, Qldpc=24 for rate 13/15, so for information bit i1, the following operations are performed:










[expression 7]


















p1007 = p1007 ⊕ i1
p2839 = p2839 ⊕ i1



p4861 = p4861 ⊕ i1
p5013 = p5013 ⊕ i1



p6162 = p6162 ⊕ i1
p6482 = p6482 ⊕ i1



p6945 = p6945 ⊕ i1
p6998 = p6998 ⊕ i1



p7596 = p7596 ⊕ i1
p8284 = p8284 ⊕ i1



p8520 = p8520 ⊕ i1










4) For the 361st information bit i360, the addresses of the parity bit accumulators are given in the second row of the addresses of parity check matrix. In a similar manner the addresses of the parity bit accumulators for the following 359 information bits is, s=361, 362, . . . , 719 are obtained using the expression 6, where x denotes the address of the parity bit accumulator corresponding to the information bit i360, i.e., the entries in the second row of the addresses of parity check matrix.
5) In a similar manner, for every group of 360 new information bits, a new row from addresses of parity check matrixes used to find the addresses of the parity bit accumulators.
After all of the information bits are exhausted, the final parity bits are obtained as follows:
6) Sequentially perform the following operations starting with i=1

pi=pi⊕pi-1, i=1,2, . . . ,Nldpc−Kldpc−1  [Math figure 8]

where final content of pi, i=0, 1, . . . Nldpc−Kldpc−1 is equal to the parity bit pi.










TABLE 30







Code Rate
Qldpc



















5/15
120



6/15
108



7/15
96



8/15
84



9/15
72



10/15 
60



11/15 
48



12/15 
36



13/15 
24










This LDPC encoding procedure for a short FECBLOCK is in accordance with t LDPC encoding procedure for the long FECBLOCK, except replacing the table 30 with table 31, and replacing the addresses of parity check matrix for the long FECBLOCK with the addresses of parity check matrix for the short FECBLOCK.










TABLE 31







Code Rate
Qldpc



















5/15
30



6/15
27



7/15
24



8/15
21



9/15
18



10/15 
15



11/15 
12



12/15 
9



13/15 
6










FIG. 23 illustrates a bit interleaving according to an embodiment of the present invention.
The outputs of the LDPC encoder are bit-interleaved, which consists of parity interleaving followed by Quasi-Cyclic Block (QCB) interleaving and inner-group interleaving.
shows Quasi-Cyclic Block (QCB) interleaving and (b) shows inner-group interleaving.
The FECBLOCK may be parity interleaved. At the output of the parity interleaving, the LDPC codeword consists of 180 adjacent QC blocks in a long FECBLOCK and 45 adjacent QC blocks in a short FECBLOCK. Each QC block in either a long or short FECBLOCK consists of 360 bits. The parity interleaved LDPC codeword is interleaved by QCB interleaving. The unit of QCB interleaving is a QC block. The QC blocks at the output of parity interleaving are permutated by QCB interleaving as illustrated in FIG. 23, where Ncells=64800/η mod or 16200/η mod according to the FECBLOCK length. The QCB interleaving pattern is unique to each combination of modulation type and LDPC code rate.
After QCB interleaving, inner-group interleaving is performed according to modulation type and order (η mod) which is defined in the below table 32. The number of QC blocks for one inner-group, NQCB_IG, is also defined.











TABLE 32







Modulation type
ηmod
NQCB—IG




















QAM-16
4
2



NUC-16
4
4



NUQ-64
6
3



NUC-64
6
6



NUQ-256
8
4



NUC-256
8
8



NUQ-1024
10
5



NUC-1024
10
10










The inner-group interleaving process is performed with NQCB_IG QC blocks of the QCB interleaving output. Inner-group interleaving has a process of writing and reading the bits of the inner-group using 360 columns and NQCB_IG rows. In the write operation, the bits from the QCB interleaving output are written row-wise. The read operation is performed column-wise to read out m bits from each row, where m is equal to 1 for NUC and 2 for NUQ.
FIG. 24 illustrates a cell-word demultiplexing according to an embodiment of the present invention.
FIG. 24 shows a cell-word demultiplexing for 8 and 12 bpcu MIMO and (b) shows a cell-word demultiplexing for 10 bpcu MIMO.
Each cell word (c0,1, c1,1, . . . , cη mod−1,1) of the bit interleaving output is demultiplexed into (d1,0,m, d1,1,m . . . , d1,η mod−1,m) and (d2,0,m, d2,1,m . . . , d2,η mod−1,m) as shown in (a), which describes the cell-word demultiplexing process for one XFECBLOCK.
For the 10 bpcu MIMO case using different types of NUQ for MIMO encoding, the Bit Interleaver for NUQ-1024 is re-used. Each cell word (c0,1, c1,1, . . . , c9,1) of the Bit Interleaver output is demultiplexed into (d1,0,m, d1,1,m . . . , d1,3,m) and (d2,0,m, d2,1,m . . . , d2,5,m), as shown in (b).
FIG. 25 illustrates a time interleaving according to an embodiment of the present invention.
to (c) show examples of TI mode.
The time interleaver operates at the DP level. The parameters of time interleaving (TI) may be set differently for each DP.
The following parameters, which appear in part of the PLS2-STAT data, configure the TI:
DP_TI_TYPE (allowed values: 0 or 1): Represents the TI mode; ‘0’ indicates the mode with multiple TI blocks (more than one TI block) per TI group. In this case, one TI group is directly mapped to one frame (no inter-frame interleaving). ‘1’ indicates the mode with only one TI block per TI group. In this case, the TI block may be spread over more than one frame (inter-frame interleaving).
DP_TI_LENGTH: If DP_TI_TYPE=‘0’, this parameter is the number of TI blocks NTI per TI group. For DP_TI_TYPE=‘1’, this parameter is the number of frames PI spread from one TI group.
DP_NUM_BLOCK_MAX (allowed values: 0 to 1023): Represents the maximum number of XFECBLOCKs per TI group.
DP_FRAME_INTERVAL (allowed values: 1, 2, 4, 8): Represents the number of the frames IJUMP between two successive frames carrying the same DP of a given PHY profile.
DP_TI_BYPASS (allowed values: 0 or 1): If time interleaving is not used for a DP, this parameter is set to ‘1’. It is set to ‘0’ if time interleaving is used.
Additionally, the parameter DP_NUM_BLOCK from the PLS2-DYN data is used to represent the number of XFECBLOCKs carried by one TI group of the DP.
When time interleaving is not used for a DP, the following TI group, time interleaving operation, and TI mode are not considered. However, the Delay Compensation block for the dynamic configuration information from the scheduler will still be required. In each DP, the XFECBLOCKs received from the SSD/MIMO encoding are grouped into TI groups. That is, each TI group is a set of an integer number of XFECBLOCKs and will contain a dynamically variable number of XFECBLOCKs. The number of XFECBLOCKs in the TI group of index n is denoted by NxBLOCK_Group(n) and is signaled as DP_NUM_BLOCK in the PLS2-DYN data. Note that NxBLOCK_Group(n) may vary from the minimum value of 0 to the maximum value NxBLOCK_Group_MAX (corresponding to DP_NUM_BLOCK_MAX) of which the largest value is 1023.
Each TI group is either mapped directly onto one frame or spread over PI frames. Each TI group is also divided into more than one TI blocks(NTI), where each TI block corresponds to one usage of time interleaver memory. The TI blocks within the TI group may contain slightly different numbers of XFECBLOCKs. If the TI group is divided into multiple TI blocks, it is directly mapped to only one frame. There are three options for time interleaving (except the extra option of skipping the time interleaving) as shown in the below table 33.








TABLE 33





Modes
Descriptions







Option-
Each TI group contains one TI block and is mapped directly


1
to one frame as shown in (a). This option is signaled in the



PLS2-STAT by DP_TI_TYPE = ‘0’ and DP_TI_LENGTH =



‘1’(NTI = 1).


Option-
Each TI group contains one TI block and is mapped to more


2
than one frame. (b) shows an example, where one TI group is



mapped to two frames, i.e., DP_TI_LENGTH = ‘2’ (PI = 2)



and DP_FRAME_INTERVAL (IJUMP = 2).



This provides greater time diversity for low data-rate services.



This option is signaled in the PLS2-STAT by



DP_TI_TYPE = ‘1’.


Option-
Each TI group is divided into multiple TI blocks and is


3
mapped directly to one frame as shown in (c). Each TI block



may use full TI memory, so as to provide the maximum bit-



rate for a DP. This option is signaled in the PLS2-STAT



signaling by DP_TI_TYPE = ‘0’ and DP_TI_LENGTH =



NTI, while PI = 1.









In each DP, the TI memory stores the input XFECBLOCKs (output XFECBLOCKs from the SSD/MIMO encoding block). Assume that input XFECBLOCKs are defined as




  
    
      
        (
        
          
            d
            
              n
              ,
              s
              ,
              0
              ,
              0
            
          
          ,
          
            d
            
              n
              ,
              s
              ,
              0
              ,
              1
            
          
          ,
          ...
          ⁢
          
            
          
          ,
          
            d
            
              n
              ,
              
                
                  s0N
                  cells
                
                -
                1
              
            
          
          ,
          
            d
            
              n
              ,
              s
              ,
              1
              ,
              0
            
          
          ,
          ...
          ⁢
          
            
          
          ,
          
            d
            
              n
              ,
              s
              ,
              1
              ,
              
                
                  N
                  cells
                
                -
                1
              
            
          
          ,
          ...
        
        ⁢
        
          
        
         
      
      ,
      
        d
        
          n
          ,
          s
          ,
          
            
              
                N
                xBLOCK_TI
              
              ⁡
              
                (
                
                  n
                  ,
                  s
                
                )
              
            
            -
            1
          
          ,
          0
        
      
      ,
      ...
      ⁢
      
        
      
      ,
      
        d
        
          n
          ,
          s
          ,
          
            
              
                N
                xBLOCK_TI
              
              ⁡
              
                (
                
                  n
                  ,
                  s
                
                )
              
            
            -
            1
          
          ,
          
            
              N
              cells
            
            -
            1
          
        
      
    
    )
  
  ,




where dn,s,r,q is the qth cell of the rth XFECBLOCK in the sth TI block of the nth TI group and represents the outputs of SSD and MIMO encodings as follows




  
    d
    
      n
      ,
      s
      ,
      r
      ,
      q
    
  
  =
  
    {
    
      
        
          
            
              
                f
                
                  n
                  ,
                  s
                  ,
                  r
                  ,
                  q
                
              
              ,
            
          
          
            
              the
              ⁢
              
                
              
              ⁢
              output
              ⁢
              
                
              
              ⁢
              of
              ⁢
              
                
              
              ⁢
              S
              ⁢
              
                
              
              ⁢
              S
              ⁢
              
                
              
              ⁢
              D
              ⁢
              
                
              
              ⁢
              ...
              ⁢
              
                
              
              ⁢
              encoding
            
          
        
        
          
            
              
                g
                
                  n
                  ,
                  s
                  ,
                  r
                  ,
                  q
                
              
              ,
            
          
          
            
              the
              ⁢
              
                
              
              ⁢
              output
              ⁢
              
                
              
              ⁢
              of
              ⁢
              
                
              
              ⁢
              M
              ⁢
              
                
              
              ⁢
              I
              ⁢
              
                
              
              ⁢
              M
              ⁢
              
                
              
              ⁢
              O
              ⁢
              
                
              
              ⁢
              encoding
            
          
        
      
      .
    
  




In addition, assume that output XFECBLOCKs from the time interleaver 5050 are defined as




  
    (
    
      
        h
        
          n
          ,
          s
          ,
          0
        
      
      ,
      
        h
        
          n
          ,
          s
          ,
          1
        
      
      ,
      ...
      ⁢
      
        
      
      ,
      
        h
        
          n
          ,
          s
          ,
          i
        
      
      ,
      ...
      ⁢
      
        
      
      ,
      
        h
        
          n
          ,
          s
          ,
          
            
              
                
                  N
                  xBLOCK_TI
                
                ⁡
                
                  (
                  
                    n
                    ,
                    s
                  
                  )
                
              
              ×
              
                N
                cells
              
            
            -
            1
          
        
      
    
    )
  
  ,




where hn,s,i is the ith output cell (for i=0, . . . , NxBLOCK_TI(n,s)×Ncells−1) in the sth TI block of the nth TI group.
Typically, the time interleaver will also act as a buffer for DP data prior to the process of frame building. This is achieved by means of two memory banks for each DP. The first TI-block is written to the first bank. The second TI-block is written to the second bank while the first bank is being read from and so on.
The TI is a twisted row-column block interleaver. For the sth TI block of the nth TI group, the number of rows Nr of a TI memory is equal to the number of cells Ncells, i.e., Nr=Ncells while the number of columns Nc is equal to the number NxBLOCK_TI(n,s).
FIG. 26 illustrates the basic operation of a twisted row-column block interleaver according to an embodiment of the present invention.
FIG. 26 (a) shows a writing operation in the time interleaver and FIG. 26(b) shows a reading operation in the time interleaver The first XFECBLOCK is written column-wise into the first column of the TI memory, and the second XFECBLOCK is written into the next column, and so on as shown in (a). Then, in the interleaving array, cells are read out diagonal-wise. During diagonal-wise reading from the first row (rightwards along the row beginning with the left-most column) to the last row, Nr cells are read out as shown in (b). In detail, assuming zn,s,i (i=0, . . . , NrNc) as the TI memory cell position to be read sequentially, the reading process in such an interleaving array is performed by calculating the row index Rn,s,i, the column index Cn,s,i, and the associated twisting parameter Tn,s,i as follows expression.




  
    
      
        
          GENERATE
          ⁡
          
            (
            
              
                R
                
                  n
                  ,
                  s
                  ,
                  i
                
              
              ,
              
                C
                
                  n
                  ,
                  s
                  ,
                  i
                
              
            
            )
          
        
        =
        
          

        
        ⁢
        
          {
          
            

          
          ⁢
          
            
              
                R
                
                  n
                  ,
                  s
                  ,
                  i
                
              
              =
              
                mod
                ⁡
                
                  (
                  
                    i
                    ,
                    
                      N
                      r
                    
                  
                  )
                
              
            
            ,
            
              

            
            ⁢
            
              
                T
                
                  n
                  ,
                  s
                  ,
                  i
                
              
              =
              
                mod
                ⁡
                
                  (
                  
                    
                      
                        S
                        
                          shift
                          ⁢
                          
                            
                          
                        
                      
                      ×
                      
                        R
                        
                          n
                          ,
                          s
                          ,
                          i
                        
                      
                    
                    ,
                    
                      N
                      c
                    
                  
                  )
                
              
            
            ,
            
              

            
            ⁢
            
              
                C
                
                  n
                  ,
                  s
                  ,
                  i
                
              
              =
              
                mod
                ⁡
                
                  (
                  
                    
                      
                        T
                        
                          n
                          ,
                          s
                          ,
                          i
                        
                      
                      +
                      
                        ⌊
                        
                          i
                          
                            N
                            r
                          
                        
                        ⌋
                      
                    
                    ,
                    
                      N
                      c
                    
                  
                  )
                
              
            
          
          ⁢
          
            

          
          }
        
      
    
    
      
        [
        
          expression
          ⁢
          
            
          
          ⁢
          9
        
        ]
      
    
  




where Sshift is a common shift value for the diagonal-wise reading process regardless of NxBLOCK_TI(n,s) and it is determined by NxBLOCK_TI_MAX given in the PLS2-STAT as follows expression.




  
    
      
        for
        ⁢
        
          
        
        ⁢
        
          {
          
            
              
                
                  
                    
                      
                        N
                        
                          xBLOCK
                          ⁢
                          
                            
                          
                          ⁢
                          _
                          ⁢
                          
                            
                          
                          ⁢
                          TI
                          ⁢
                          
                            
                          
                          ⁢
                          _
                          ⁢
                          
                            
                          
                          ⁢
                          MA
                          ⁢
                          
                            
                          
                          ⁢
                          X
                        
                        ′
                      
                      =
                      
                        
                          N
                          
                            xBLOCK
                            ⁢
                            
                              
                            
                            ⁢
                            _
                            ⁢
                            
                              
                            
                            ⁢
                            TI
                            ⁢
                            
                              
                            
                            ⁢
                            _
                            ⁢
                            
                              
                            
                            ⁢
                            M
                            ⁢
                            
                              
                            
                            ⁢
                            AX
                          
                        
                        +
                        1
                      
                    
                    ,
                  
                
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      
                        N
                        
                          xBLOCK
                          ⁢
                          
                            
                          
                          ⁢
                          _
                          ⁢
                          
                            
                          
                          ⁢
                          TI
                          ⁢
                          
                            
                          
                          ⁢
                          _
                          ⁢
                          
                            
                          
                          ⁢
                          M
                          ⁢
                          
                            
                          
                          ⁢
                          AX
                        
                      
                      ⁢
                      mod
                      ⁢
                      
                        
                      
                      ⁢
                      2
                    
                    =
                    0
                  
                
              
              
                
                  
                    
                      
                        N
                        
                          xBLOCK
                          ⁢
                          
                            
                          
                          ⁢
                          _
                          ⁢
                          
                            
                          
                          ⁢
                          TI
                          ⁢
                          
                            
                          
                          ⁢
                          _
                          ⁢
                          
                            
                          
                          ⁢
                          MA
                          ⁢
                          
                            
                          
                          ⁢
                          X
                        
                        ′
                      
                      =
                      
                        N
                        
                          xBLOCK
                          ⁢
                          
                            
                          
                          ⁢
                          _
                          ⁢
                          
                            
                          
                          ⁢
                          TI
                          ⁢
                          
                            
                          
                          ⁢
                          _
                          ⁢
                          
                            
                          
                          ⁢
                          MA
                          ⁢
                          
                            
                          
                          ⁢
                          X
                        
                      
                    
                    ,
                  
                
                
                  
                    
                      if
                      ⁢
                      
                        
                      
                      ⁢
                      
                        N
                        
                          xBLOCK
                          ⁢
                          
                            
                          
                          ⁢
                          _
                          ⁢
                          
                            
                          
                          ⁢
                          TI
                          ⁢
                          
                            
                          
                          ⁢
                          _
                          ⁢
                          
                            
                          
                          ⁢
                          MA
                          ⁢
                          
                            
                          
                          ⁢
                          X
                        
                      
                      ⁢
                      mod
                      ⁢
                      
                        
                      
                      ⁢
                      2
                    
                    =
                    1
                  
                
              
            
            ,
            
              

            
            ⁢
            
              
                S
                shfit
              
              =
              
                
                  
                    N
                    
                      xBLOCK
                      ⁢
                      
                        
                      
                      ⁢
                      _
                      ⁢
                      
                        
                      
                      ⁢
                      TI
                      ⁢
                      
                        
                      
                      ⁢
                      _
                      ⁢
                      
                        
                      
                      ⁢
                      MA
                      ⁢
                      
                        
                      
                      ⁢
                      X
                    
                    ′
                  
                  -
                  1
                
                2
              
            
          
        
      
    
    
      
        [
        
          expression
          ⁢
          
            
          
          ⁢
          10
        
        ]
      
    
  




As a result, the cell positions to be read are calculated by a coordinate as zn,s,i=NrCn,s,i+Rn,s,i.
FIG. 27 illustrates an operation of a twisted row-column block interleaver according to another embodiment of the present invention.
More specifically, FIG. 27 illustrates the interleaving array in the TI memory for each TI group, including virtual XFECBLOCKs when NxBLOCK_TI(0,0)=3, NxBLOCK_TI(1,0)=6, NxBLOCK_TI(2,0)=5.
The variable number NxBLOCK_TI(n,s)=Nr will be less than or equal to N′xBLOCK_TI_MAX. Thus, in order to achieve a single-memory deinterleaving at the receiver side, regardless of NxBLOCK_TI(n,s), the interleaving array for use in a twisted row-column block interleaver is set to the size of Nr×Nc=Ncells×N′xBLOCK_TI_MAX by inserting the virtual XFECBLOCKs into the TI memory and the reading process is accomplished as follow expression.




  
    
      
        
          
            p
            =
            0
          
          ;
        
        ⁢
        
          

        
        ⁢
        
          
            
              for
              ⁢
              
                
              
              ⁢
              i
            
            =
            0
          
          ;
          
            i
            <
            
              
                N
                cells
              
              ⁢
              
                N
                
                  xBLOCK
                  ⁢
                  
                    
                  
                  ⁢
                  _
                  ⁢
                  
                    
                  
                  ⁢
                  TI
                  ⁢
                  
                    
                  
                  ⁢
                  _
                  ⁢
                  
                    
                  
                  ⁢
                  MA
                  ⁢
                  
                    
                  
                  ⁢
                  X
                
                ′
              
            
          
          ;
          
            i
            =
            
              i
              +
              1
            
          
        
        ⁢
        
          

        
        ⁢
        
          {
          
            
              GENERATE
              ⁡
              
                (
                
                  
                    R
                    
                      n
                      ,
                      s
                      ,
                      i
                    
                  
                  ,
                  
                    C
                    
                      n
                      ,
                      s
                      ,
                      i
                    
                  
                
                )
              
            
            ;
            
              

            
            ⁢
            
              
                V
                i
              
              =
              
                
                  
                    
                      N
                      r
                    
                    ⁢
                    
                      C
                      
                        n
                        ,
                        s
                        ,
                        j
                      
                    
                  
                  +
                  
                    
                      R
                      
                        n
                        ,
                        s
                        ,
                        j
                      
                    
                    ⁢
                    
                      

                    
                    ⁢
                    
                      
                    
                    ⁢
                    if
                    ⁢
                    
                      
                    
                    ⁢
                    
                      V
                      i
                    
                  
                
                <
                
                  
                    N
                    cells
                  
                  ⁢
                  
                    
                      N
                      
                        xBLOCK
                        ⁢
                        
                          
                        
                        ⁢
                        _
                        ⁢
                        
                          
                        
                        ⁢
                        TI
                      
                    
                    ⁡
                    
                      (
                      
                        n
                        ,
                        s
                      
                      )
                    
                  
                  ⁢
                  
                    

                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    {
                    
                      

                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        
                          Z
                          
                            n
                            ,
                            s
                            ,
                            p
                          
                        
                        =
                        
                          V
                          i
                        
                      
                      ;
                      
                        p
                        =
                        
                          p
                          +
                          1
                        
                      
                      ;
                    
                    ⁢
                    
                      

                    
                    ⁢
                    
                      
                    
                    }
                  
                
              
            
          
          ⁢
          
            

          
          }
        
      
    
    
      
        [
        
          expression
          ⁢
          
            
          
          ⁢
          11
        
        ]
      
    
  




The number of TI groups is set to 3. The option of time interleaver is signaled in the PLS2-STAT data by DP_TI_TYPE=‘0’, DP_FRAME_INTERVAL=‘1’, and DP_TI_LENGTH=‘1’, i.e., NTI=1, IJUMP=1, and PI=1. The number of XFECBLOCKs, each of which has Ncells=30 cells, per TI group is signaled in the PLS2-DYN data by NxBLOCK_TI(0,0)=3, NxBLOCK_TI(1,0)=6, and NxBLOCK_TI(2,0)=5, respectively. The maximum number of XFECBLOCK is signaled in the PLS2-STAT data by NxBLOCK_Group_MAX, which leads to └NxBLOCK_Group_MAX/NTI┘=NxBLOCK_TI_MAX=6.
FIG. 28 illustrates a diagonal-wise reading pattern of a twisted row-column block interleaver according to an embodiment of the present invention.
More specifically FIG. 28 shows a diagonal-wise reading pattern from each interleaving array with parameters of N′xBLOCK_TI_MAX=7 and Sshift=(7−1)/2=3. Note that in the reading process shown as pseudocode above, if Vi≧NcellsNxBLOCK_TI(n,s) the value of Vi is skipped and the next calculated value of Vi is used.
FIG. 29 illustrates interleaved XFECBLOCKs from each interleaving array according to an embodiment of the present invention.
FIG. 29 illustrates the interleaved XFECBLOCKs from each interleaving array with parameters of N′xBLocK_TI_MAX=7 and Sshift=3.
FIG. 30 illustrates a time interleaving process according to an embodiment of the present invention.
As described above, a timer interleaver (or time interleaver block) included in a broadcast signal transmitter according to an embodiment of the present invention interleaves cells belonging to a plurality of FEC blocks in the time domain and outputs the interleaved cells.
TI group is a unit over which dynamic capacity allocation for a particular DP is carried out, made up of an integer, dynamically varying number of FEC blocks. Time interleaving block (TI block) is a set of cells within which time interleaving is carried out, corresponding to one use of the time interleaver memory. FEC block may be a set of encoded bits of a DP data or a set of number of cells carrying all the encoded bits.
Each TI group is either mapped directly onto one frame or spread over multiple frames. Each TI group is also divided into more than one TI blocks, where each TI block corresponds to one usage of time interleaver memory. The TI blocks within the TI group may contain slightly different numbers of FECBLOCKs.
The cells of the FEC blocks are transmitted being distributed in a specific period corresponding to a time interleaving depth through time interleaving, and thus diversity gain can be obtained. The time interleaver according to an embodiment of the present invention operates at the DP level.
In addition, the time interleaver according to an embodiment of the present invention can perform time interleaving including a writing operation of sequentially arranging different input FEC blocks in a predetermined memory and a diagonal reading operation of interleaving the FEC blocks in a diagonal direction. Time interleaving according to an embodiment of the present invention may be referred to as diagonal-type time interleaving or diagonal-type TI.
Typically, the time interleaver will also act as a buffer for DP data prior to the process of frame building. This is achieved by means of two memory banks for each DP. The first TI-block is written to the first bank. The second TI-block is written to the second bank while the first bank is being read from and so on.
The name of a device which performs time interleaving or the location or function of the device may be changed according to designer.
A TI block according to an embodiment may be composed of Nc FEC blocks and the length of an FEC block may be assumed to be Nr×1. Accordingly, a TI memory according to an embodiment of the present invention can have a size corresponding to an Nr×Nc matrix. In addition, the depth of time interleaving according to an embodiment of the present invention corresponds to the FEC block length. FIG. 30(a) shows a writing direction of time interleaving according to an embodiment of the present invention and FIG. 30(b) shows a reading direction of time interleaving according to an embodiment of the present invention.
Specifically, the broadcast signal transmitter according to an embodiment of the present invention can sequentially write input FEC blocks column-wise in a TI memory having a size of Nr×Nc (column-wise writing), as shown in FIG. 30(a). The first FECBLOCK 0 is written column-wise into the first column of the TI memory, and the second FECBLOCK 1 is written in the next column, and so on.
The broadcast signal transmitter according to an embodiment of the present invention can read the FEC blocks written column-wise in a diagonal direction, as shown in FIG. 30(b). In this case, the broadcast signal transmitter according to an embodiment of the present invention can perform diagonal reading for one period.
That is, during diagonal-wise reading from the first row (rightwards along the row beginning with the left-most column) to the last row, cells are read out as shown in FIG. 30(b).
Particularly, since the diagonal reading process of the first period starts at (0,0) of the memory matrix and is performed until the cell of the lowest row is read, cells within different FEC blocks can be uniformly interleaved. Diagonal reading of the next periods can be performed in order of {circle around (1)}, {circle around (2)} and {circle around (3)} in FIG. 30 (b).
FIG. 31 illustrates a time interleaving process according to another embodiment of the present invention.
FIG. 31 shows another embodiment of the aforementioned writing operation and reading operation of the diagonal-type TI.
One TI block according to an embodiment of the present invention includes 4 FEC blocks each of which may be composed of 8 cells. Accordingly, the TI memory has a size corresponding to an 8×4 (or 32×1) matrix and the column length and row length of the TI memory respectively correspond to the FEC block length (or time interleaving depth) and the number of FECs.
TI input FEC blocks shown in the left part of FIG. 31 are FEC blocks sequentially input to the time interleaver.
TI FEC blocks shown in the middle of FIG. 31 show n-th cell values of an i-th FEC block stored in the TI memory and TI memory indexes indicate the order of cells of FEC blocks stored in the TI memory.
FIG. 31(a) illustrates TI writing operation. As described above, sequentially input FEC blocks can be sequentially written column-wise into the TI memory. Accordingly, cells of the FEC blocks are sequentially stored and written with TI memory indexes.
FIG. 31(b) illustrates TI reading operation. As shown in FIG. 31(b), cell values stored in the TI memory can be diagonally read and output in the order of memory indexes 0, 9, 18, 27, . . . . Moreover a position of cell to start diagonal-wise reading or diagonal-wise reading pattern may be changed according to designer.
TI output FEC blocks shown in the right part of FIG. 31 sequentially indicate cell values output through diagonal-type TI according to an embodiment of the present invention. TI output memory indexes correspond to the cell values output through diagonal-type TI.
Consequently, the time interleaver according to an embodiment of the present invention can perform diagonal-type TI by sequentially generating TI output memory indexes for sequentially input FEC blocks.
FIG. 32 illustrates a process of generating TI output memory indexes according to an embodiment of the present invention.
As described above, the time interleaver according to an embodiment of the present invention can perform diagonal-type TI by sequentially generating TI output memory index values for sequentially input FEC blocks.
FIG. 32 (a) illustrates a process of generating diagonal-type TI memory indexes for the above-described sequentially input FEC blocks and FIG. 32 (b) shows equations representing the memory index generation process.
A time deinterleaver (or time deinterleaver block) included in a broadcast signal receiver according to an embodiment of the present invention can perform inverse processing of the aforementioned diagonal-type TI. That is, the time deinterleaver according to an embodiment of the present invention can perform time deinterleaving by receiving FEC blocks on which diagonal-type TI has been performed, writing the FEC blocks diagonal-wise in a TI memory and then sequentially reading the FEC blocks. Time deinterleaving according to an embodiment of the present invention may be referred to as diagonal-type TDI or diagonal-type time deinterleaving. The name of a device performing time deinterleaving or the location or function of the device may be changed according to designer.
FIG. 33 illustrates a time deinterleaving process according to an embodiment of the present invention.
The time deinterleaving process shown in FIG. 33 corresponds to inverse processing of the time interleaving process shown in FIG. 30.
FIG. 33 (a) shows a writing direction of time deinterleaving according to an embodiment of the present invention and FIG. 33 (b) shows a reading direction of time deinterleaving according to an embodiment of the present invention.
Specifically, the time deinterleaver according to an embodiment of the present invention can receive FEC blocks on which diagonal-type TI has been performed from a transmitter and diagonally write the FEC blocks into a TDI (time deinterleaver) memory (diagonal-wise writing).
In this case, the time deinterleaver according to an embodiment of the present invention can perform diagonal writing for one period.
Particularly, diagonal reading of the first period starts at (0,0) of the memory matrix and is performed until the cell of the lowest row is read. Diagonal writing of respective periods can be performed in order of {circle around (1)}, {circle around (2)} and {circle around (3)} in FIG. 33 (b).
As shown in FIG. 33 (b), the time deinterleaver according to an embodiment of the present invention can sequentially read diagonally written FEC blocks column-wise (column-wise reading).
FIG. 34 illustrates a time deinterleaving process according to another embodiment of the present invention.
The time deinterleaving process shown in FIG. 34 is the inverse of the time interleaving process shown in FIG. 31.
One TI block according to an embodiment of the present invention includes 4 FEC blocks each of which may be composed of 8 cells. Accordingly, the TI memory has a size corresponding to an 8×4 (or 32×1) matrix and the column length and row length of the TI memory respectively correspond to the FEC block length (or time interleaving depth) and the number of FECs.
TDI input FEC blocks shown in the left part of FIG. 34 represent cells of FEC blocks sequentially input to the time deinterleaver and TDI input memory indexes correspond to the cells of the sequentially input FEC blocks.
TDI FEC blocks shown in the middle of FIG. 34 show n-th cell values of an i-th FEC block stored in the TDI memory and TDI memory indexes indicate the order of cells of FEC blocks stored in the TDI memory.
FIG. 34 (a) illustrates TDI writing operation. As described above, sequentially input FEC blocks can be sequentially written to the TDI memory diagonal-wise. Accordingly, the cells of the input FEC blocks are sequentially stored and written with TDI memory indexes.
FIG. 34 (b) illustrates TDI reading operation. As shown in FIG. 34 (b), cell values stored in the TDI memory can be column-wise read and output in the order of memory indexes 0, 1, 2, 3, . . . .
TDI output FEC blocks shown in the right part of FIG. 34 sequentially indicate cell values output through time deinterleaving according to an embodiment of the present invention. TDI output memory indexes correspond to the cell values output through time deinterleaving according to an embodiment of the present invention.
Consequently, the time deinterleaver according to an embodiment of the present invention can perform diagonal-type TDI by sequentially generating TDI output memory index values for sequentially input FEC blocks.
FIG. 35 illustrates a process of generating TDI output memory indexes according to an embodiment of the present invention.
As described above, the time deinterleaver according to an embodiment of the present invention can perform diagonal-type TDI by sequentially generating TDI output memory index values for sequentially input FEC blocks.
FIG. 35 (a) illustrates a process of generating diagonal-type TDI memory indexes for the above-described sequentially input FEC blocks and FIG. 32 (b) shows equations representing the memory index generation process.
The broadcast signal transmitter according to an embodiment of the present invention may be a variable data-rate system in which a plurality of FEC blocks is packed and configured as a plurality of TI blocks and transmitted. In this case, TI blocks may have different numbers of FEC blocks included therein.
FIG. 36 is a conceptual diagram illustrating a variable data-rate system according to an embodiment of the present invention.
FIG. 36 shows TI blocks mapped to one signal frame.
As described above, the variable data-rate system as a broadcast signal transmitter according to an embodiment of the present invention can pack a plurality of FEC blocks as a plurality of TI blocks and transmit the TI blocks. In this case, the TI blocks may have different numbers of FEC blocks included therein.
That is, one signal frame may include NTI_NUM TI blocks each of which may include NFEC_NUM FEC blocks. In this case, the respective TI blocks may have different numbers of FEC blocks included therein.
A description will be given of time interleaving which can be performed in the aforementioned variable data-rate system. This time interleaving process is another embodiment of the above-described time interleaving process and has the advantage that the time interleaving process is applicable to a case in which the broadcast signal receiver has a single memory. Time interleaving according to another embodiment of the present invention may be referred to as the aforementioned diagonal-type TI and may be performed in the time interleaver included in the broadcast signal transmitter according to an embodiment of the present invention. As the inverse process of time interleaving, time deinterleaving may be referred to as diagonal-type TDI and may be performed in the time deinterleaver in the broadcast signal receiver according to an embodiment of the present invention. The name of a device which performs time interleaving or time deinterleaving or the location or function of the device may be changed according to designer. A description will be given of detailed time interleaving and time deinterleaving operations.
When TI blocks have different numbers of FEC blocks included therein, as described above, different diagonal-type TI methods need to be applied to the respective TI blocks. However, this scheme has a problem that deinterleaving corresponding to the different diagonal-type TI methods cannot be performed when the broadcast signal receiver uses a single memory.
Accordingly, the broadcast signal transmitter according to the present invention determines a single diagonal-type TI method and equally applies the determined diagonal-type TI method to all TI blocks according to an embodiment of the present invention. In addition, the broadcast signal transmitter according to an embodiment of the present invention can sequentially deinterleave a plurality of TI blocks using a single memory.
In this case, the broadcast signal transmitter according to an embodiment of the present invention can determine the diagonal-type TI method applied to all TI blocks on the basis of a TI block including a maximum number of FEC blocks within one signal frame.
Moreover, the broadcast signal transmitter according to an embodiment of the present invention can determine the diagonal-type TI method applied to all TI blocks on the basis of a TI block including a medium number of FEC blocks within one signal frame or an arbitrary TI block within one signal frame. It can be determined according to designer.
Here, how the diagonal-type TI method is applied to a TI block including a smaller number of FEC blocks, compared to the TI block including the maximum number of FEC blocks, may become a problem.
Accordingly, the broadcast signal transmitter may monitor generated memory indexes and determine whether to apply the memory indexes according to an embodiment of the present invention.
Specifically, when the number of generated TI memory indexes exceeds the number of cells in an arbitrary TI block, the broadcast signal transmitter ignores TI memory indexes greater than the number of cells according to an embodiment of the present invention. When the number of generated TI memory indexes exceeds the number of cells, virtual FEC blocks can be added (zero padding) and diagonal-type TI can be performed. Furthermore, in application of the aforementioned diagonal-type TI method to different TI blocks, the broadcast signal transmitter may sequentially apply the diagonal-type TI method to TI blocks from a TI block including a small number of FEC blocks in order of the number of FEC blocks according to an embodiment of the present invention. Accordingly, the broadcast signal receiver according to an embodiment of the present invention can simply operate the single memory, which will be described in detail later.
The following equation represents the aforementioned process of determining a diagonal-type TI method applied to all TI blocks.




  
    
      
        
          
        
        ⁢
        
          
            
              for
              ⁢
              
                
              
              ⁢
              0
            
            ≤
            j
            ≤
            
              TI_NUM
              -
              1
            
          
          ⁢
          
            

          
          ⁢
          
            
              
                
                  
                    N
                    r
                  
                  =
                  
                  ⁢
                  
                    max
                    ⁡
                    
                      (
                      
                        
                          N
                          
                            
                              FEC
                              ⁢
                              
                                
                              
                              ⁢
                              _
                              ⁢
                              
                                
                              
                              ⁢
                              Size
                            
                            ,
                            0
                          
                        
                        ,
                        
                          N
                          
                            
                              FEC
                              ⁢
                              
                                
                              
                              ⁢
                              _
                              ⁢
                              
                                
                              
                              ⁢
                              Size
                            
                            ,
                            0
                          
                        
                        ,
                        ...
                        ⁢
                        
                          
                        
                        ,
                        
                          N
                          
                            
                              FEC
                              ⁢
                              
                                
                              
                              ⁢
                              _
                              ⁢
                              
                                
                              
                              ⁢
                              Size
                            
                            ,
                            
                              
                                TI
                                ⁢
                                
                                  
                                
                                ⁢
                                _
                                ⁢
                                
                                  
                                
                                ⁢
                                NUM
                              
                              -
                              1
                            
                          
                        
                      
                      )
                    
                  
                
              
            
            
              
                
                  =
                  
                  ⁢
                  
                    
                      max
                      j
                    
                    ⁢
                    
                      (
                      
                        N
                        
                          
                            FEC
                            ⁢
                            
                              
                            
                            ⁢
                            _
                            ⁢
                            
                              
                            
                            ⁢
                            Size
                          
                          ,
                          j
                        
                      
                      )
                    
                  
                
              
            
          
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          12
        
        ]
      
    
  
  
    
      
        
          
            
              
                N
                c
              
              =
              
              ⁢
              
                max
                ⁡
                
                  (
                  
                    
                      
                        N
                        
                          
                            FEC
                            ⁢
                            
                              
                            
                            ⁢
                            _
                            ⁢
                            
                              
                            
                            ⁢
                            NUM
                          
                          ,
                          0
                        
                      
                      ⁢
                      
                        N
                        
                          
                            FEC
                            ⁢
                            
                              
                            
                            ⁢
                            _
                            ⁢
                            
                              
                            
                            ⁢
                            NUM
                          
                          ,
                          0
                        
                      
                      ⁢
                      
                        
                      
                      ⁢
                      ...
                    
                    ⁢
                    
                      
                    
                    ,
                    
                      N
                      
                        
                          FEC
                          ⁢
                          
                            
                          
                          ⁢
                          _
                          ⁢
                          
                            
                          
                          ⁢
                          NUM
                        
                        ,
                        
                          
                            TI
                            ⁢
                            
                              
                            
                            ⁢
                            _
                            ⁢
                            
                              
                            
                            ⁢
                            NUM
                          
                          -
                          1
                        
                      
                    
                  
                  )
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  max
                  j
                
                ⁢
                
                  (
                  
                    N
                    
                      
                        FEC
                        ⁢
                        
                          
                        
                        ⁢
                        _
                        ⁢
                        
                          
                        
                        ⁢
                        NUM
                      
                      ,
                      j
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        
      
    
  
  
    
      
        
          
            
              
                TI_NUM
                -
              
               
            
            ⁢
            1
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            Total
            ⁢
            
              
            
            ⁢
            number
            ⁢
            
              
            
            ⁢
            of
            ⁢
            
              
            
            ⁢
            TI
            ⁢
            
              
            
            ⁢
            blocks
            ⁢
            
              
            
            ⁢
            in
            ⁢
            
              
            
            ⁢
            a
          
          ⁢
          
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            single
            ⁢
            
              
            
            ⁢
            frame
          
        
        ⁢
        
          
        
      
    
    
      
        
      
    
  
  
    
      
        
          
            N
            
              
                FEC
                ⁢
                
                  
                
                ⁢
                _
                ⁢
                
                  
                
                ⁢
                Size
              
              ,
              j
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          FEC
          ⁢
          
            
          
          ⁢
          block
          ⁢
          
            
          
          ⁢
          size
          ⁢
          
            
          
          ⁢
          in
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          TI
          ⁢
          
            
          
          ⁢
          block
        
        ⁢
        
          

        
        ⁢
        
          
            N
            
              
                FEC
                ⁢
                
                  
                
                ⁢
                _
                ⁢
                
                  
                
                ⁢
                NUM
              
              ,
              j
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          Total
          ⁢
          
            
          
          ⁢
          number
          ⁢
          
            
          
          ⁢
          of
          ⁢
          
            
          
          ⁢
          FEC
          ⁢
          
            
          
          ⁢
          blocks
          ⁢
          
            
          
          ⁢
          in
        
        ⁢
        
          
        
        ⁢
        
          

        
        ⁢
        
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          TI
          ⁢
          
            
          
          ⁢
          block
        
      
    
    
      
        
      
    
  




FIG. 37 illustrates a time interleaving process according to another embodiment of the present invention.
FIG. 37 shows an embodiment of applying diagonal-type TI in a variable data-rate system.
FIG. 37(a) illustrates a process of applying diagonal-type TI to TI block 0 including 4 FEC blocks and FIG. 37(b) illustrates a process of applying diagonal-type TI to TI block 1 including 5 FEC blocks.
TI FEC blocks represent FEC blocks included in each TI block and cell values corresponding to the FEC blocks. TI memory indexes indicate memory indexes corresponding to cell values included in TI blocks.
The TI blocks are included in one signal frame and each FEC block may include 8 cells.
The broadcast signal transmitter according to an embodiment of the present invention can determine a diagonal-type TI method which is equally applied to two TI blocks. Since the diagonal-type TI method according to an embodiment of the present invention is determined on the basis of a TI block including a maximum number of FEC blocks within one frame, as described above, diagonal-type TI is determined based on TI block 1 in the case of FIG. 37. Accordingly, the TI memory can have a size corresponding to an 8×5 (40×1) matrix.
As shown in the upper part of FIG. 37 (a), the number of FEC blocks included in TI block 0 is 4 which is less than the number of FEC blocks included in TI block 1. Accordingly, the broadcast signal transmitter according to an embodiment of the present invention can add (pad) a virtual FEC block 23000 having a value of 0 to TI block 0 and column-wise write cells corresponding to the virtual FEC block 23000 into the TI memory. The position to which the virtual FEC block is added can be determined according to designer.
As shown in the low part of FIG. 37 (a), the broadcast signal transmitter according to an embodiment of the present invention can diagonally read cells written in the TI memory. In this case, since the last column corresponds to the virtual FEC block, it is possible to perform reading operation while ignoring the cells corresponding to the virtual FEC block.
The broadcast signal transmitter according to an embodiment of the present invention can perform column-wise writing and diagonal reading for TI block 1 according to the aforementioned method, as shown in FIG. 37 (b).
As described above, since diagonal-type TI according to an embodiment of the present invention is preferentially applied to a TI block including a smaller number of FEC blocks, diagonal-type TI can be applied to TI block 1 first in the case of FIG. 37.
FIG. 38 illustrates a process of generating TI output memory indexes according to another embodiment of the present invention.
FIG. 38 shows a process of generating TI output memory indexes for the above-described two TI blocks (TI block 0 and TI block 1) and TI output FEC blocks corresponding to TI output memory indexes.
Blocks corresponding to TI output memory indexes represent a process of generating TI output memory indexes and TI output FEC blocks represent cell values of FEC blocks corresponding to the generated TI output memory indexes.
FIG. 38 (a) illustrates a process of generating TI output memory indexes of TI block 0. As shown in the upper part of FIG. 38 (a), when the number of TI memory indexes exceeds the number of cells of TI block 0, the broadcast signal transmitter according to an embodiment of the present invention can ignore TI memory indexes 32 to 39 corresponding to cells included in a virtual FEC block. This operation may be referred to as skip operation. Consequently, final output memory indexes for which reading can be performed, except for the skipped TI memory indexes, are generated as shown in FIG. 38 (a). Cell values of output FEC blocks corresponding to the final output memory indexes are shown in the lower part of FIG. 38 (a).
FIG. 38 (b) illustrates a process of generating TI output memory indexes of TI block 1. In the case of TI block 1, skip operation is not applied. The process corresponds to the aforementioned process.
The following equation represents the output memory index generation process for performing diagonal-type TI applicable in the aforementioned variable data-rate system.




  
    
      
        
          
            
              
                
                  
                    
                      
                        
                          for
                          ⁢
                          
                            
                          
                          ⁢
                          0
                        
                        ≤
                        j
                        ≤
                        
                          TI_NUM
                          -
                          1
                        
                      
                      ,
                      
                        0
                        ≤
                        k
                        ≤
                        
                          
                            
                              N
                              r
                            
                            ⁢
                            
                              N
                              c
                            
                          
                          -
                          1
                        
                      
                    
                    ⁢
                    
                      

                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        C
                        
                          cnt
                          ,
                          j
                        
                      
                      =
                      0
                    
                    ⁢
                    
                      

                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        
                          r
                          
                            j
                            ,
                            k
                          
                        
                        =
                        
                          mod
                          ⁡
                          
                            (
                            
                              k
                              ,
                              
                                N
                                r
                              
                            
                            )
                          
                        
                      
                      ,
                      
                        

                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          s
                          
                            j
                            ,
                            k
                          
                        
                        =
                        
                          mod
                          ⁡
                          
                            (
                            
                              
                                r
                                
                                  j
                                  ,
                                  k
                                
                              
                              ,
                              
                                N
                                c
                              
                            
                            )
                          
                        
                      
                      ,
                      
                        

                      
                      ⁢
                      
                        
                      
                      ⁢
                      
                        
                          c
                          
                            j
                            ,
                            k
                          
                        
                        =
                        
                          mod
                          ⁡
                          
                            (
                            
                              
                                
                                  s
                                  
                                    j
                                    ,
                                    k
                                  
                                
                                +
                                
                                  ⌊
                                  
                                    k
                                    
                                      N
                                      r
                                    
                                  
                                  ⌋
                                
                              
                              ,
                              
                                N
                                c
                              
                            
                            )
                          
                        
                      
                    
                    ⁢
                    
                      

                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        
                          θ
                          j
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                      =
                      
                        
                          
                            N
                            r
                          
                          ⁢
                          
                            c
                            
                              j
                              ,
                              k
                            
                          
                        
                        +
                        
                          r
                          
                            j
                            ,
                            k
                          
                        
                      
                    
                    ⁢
                    
                      

                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        if
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            θ
                            j
                          
                          ⁡
                          
                            (
                            k
                            )
                          
                        
                      
                      ≤
                      
                        
                          N
                          
                            
                              FEC
                              ⁢
                              
                                
                              
                              ⁢
                              _
                              ⁢
                              
                                
                              
                              ⁢
                              SE
                              ⁢
                              
                                
                              
                              ⁢
                              C
                            
                            ,
                            j
                          
                        
                        ⁢
                        
                          N
                          
                            
                              FEC
                              ⁢
                              
                                
                              
                              ⁢
                              _
                              ⁢
                              
                                
                              
                              ⁢
                              NUM
                            
                            ,
                            j
                          
                        
                      
                    
                    ⁢
                    
                      

                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        
                          π
                          j
                        
                        ⁡
                        
                          (
                          
                            C
                            
                              cnt
                              ,
                              j
                            
                          
                          )
                        
                      
                      =
                      
                        
                          θ
                          j
                        
                        ⁡
                        
                          (
                          k
                          )
                        
                      
                    
                    ⁢
                    
                      

                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      
                        C
                        
                          cnt
                          ,
                          j
                        
                      
                      =
                      
                        
                          C
                          
                            
                              cnt
                              ,
                              j
                            
                            ⁢
                            
                              
                            
                          
                        
                        +
                        1
                      
                    
                    ⁢
                    
                      

                    
                    ⁢
                    
                      
                    
                    ⁢
                    end
                    ⁢
                    
                      

                    
                    ⁢
                    end
                    ⁢
                    
                      

                    
                    ⁢
                    
                      C
                      
                        cnt
                        ,
                        j
                      
                    
                    ⁢
                    
                      :
                    
                    ⁢
                    
                      
                    
                    ⁢
                    counter
                    ⁢
                    
                      
                    
                    ⁢
                    of
                    ⁢
                    
                      
                    
                    ⁢
                    actual
                    ⁢
                    
                      
                    
                    ⁢
                    TI
                    ⁢
                    
                      
                    
                    ⁢
                    output
                    ⁢
                    
                      
                    
                    ⁢
                    memory
                    ⁢
                    
                      -
                    
                    ⁢
                    index
                    ⁢
                    
                      
                    
                    ⁢
                    for
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    

                  
                  ⁢
                  
                    the
                    ⁢
                    
                      
                    
                    ⁢
                    jth
                    ⁢
                    
                      
                    
                    ⁢
                    TI
                    ⁢
                    
                      
                    
                    ⁢
                    block
                  
                  ⁢
                  
                    

                  
                  ⁢
                  
                    
                      
                        θ
                        j
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                    ⁢
                    
                      :
                    
                    ⁢
                    
                      
                    
                    ⁢
                    temporal
                    ⁢
                    
                      
                    
                    ⁢
                    TI
                    ⁢
                    
                      
                    
                    ⁢
                    output
                    ⁢
                    
                      
                    
                    ⁢
                    memory
                    ⁢
                    
                      -
                    
                    ⁢
                    index
                  
                  ⁢
                  
                    
                  
                  ⁢
                  
                    

                  
                  ⁢
                  
                    for
                    ⁢
                    
                      
                    
                    ⁢
                    the
                    ⁢
                    
                      
                    
                    ⁢
                    jth
                    ⁢
                    
                      
                    
                    ⁢
                    TI
                    ⁢
                    
                      
                    
                    ⁢
                    block
                  
                
                 
              
              ⁢
              
                
                  
                
                ⁢
                
                  
                
              
              ⁢
              
                

              
              ⁢
              
                
                  
                    π
                    j
                  
                  ⁡
                  
                    (
                    k
                    )
                  
                
                ⁢
                
                  :
                
                ⁢
                
                  
                
                ⁢
                actual
                ⁢
                
                  
                
                ⁢
                TI
                ⁢
                
                  
                
                ⁢
                output
                ⁢
                
                  
                
                ⁢
                memory
                ⁢
                
                  -
                
                ⁢
                index
              
            
             
          
          ⁢
          
            
          
          ⁢
          
            

          
          ⁢
          
            for
            ⁢
            
              
            
            ⁢
            the
            ⁢
            
              
            
            ⁢
            jth
            ⁢
            
              
            
            ⁢
            TI
            ⁢
            
              
            
            ⁢
            block
          
        
        ⁢
        
          
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          13
        
        ]
      
    
  




In the equation 13, the “if” statement represents the aforementioned skip operation.
FIG. 39 is a flowchart illustrating a TI memory index generation process according to an embodiment of the present invention.
As described above, the time interleaver according to an embodiment of the present invention can perform diagonal-type TI by sequentially generating TI output memory indexes for sequentially input FEC blocks.
Referring to FIG. 39, the broadcast signal transmitter according to an embodiment of the present invention may set initial values (S25000). That is, the broadcast signal transmitter according to an embodiment of the present invention can determine a diagonal-type TI method applied to all TI blocks on the basis of a TI block including a maximum number of FEC blocks.
Then, the broadcast signal transmitter according to an embodiment of the present invention may generate temporal TI memory indexes (S25100). That is, the broadcast signal transmitter according to an embodiment of the present invention can add (pad) a virtual FEC block to TI blocks having numbers of FEC blocks less than a predetermined TI memory index and write cells corresponding to TI blocks into a TI memory.
The broadcast signal transmitter according to an embodiment of the present invention may evaluate availability of the generated TI memory indexes (S25200). That is, the broadcast signal transmitter according to an embodiment of the present invention can diagonally read the cells written in the TI memory. In this case, cells corresponding to the virtual FEC block can be skipped and reading can be performed.
Then, broadcast signal transmitter according to an embodiment of the present invention may generate final TI memory indexes (S25300).
The flowchart of FIG. 39 corresponds to the process of generating TI output memory indexes, described with reference to FIGS. 36, 37 and 38, and may be modified according to designer.
FIG. 40 illustrates a time deinterleaving process according to another embodiment of the present invention.
The time deinterleaving process shown in FIG. 40 is the inverse of the time interleaving process described with reference to FIGS. 23, 24 and 25.
Particularly, time deinterleaving according to another embodiment of the present invention can be applied to a case in which the broadcast signal receiver uses a single memory.
To achieve such a single-memory approach, the reading and writing operations for the interleaved TI blocks should be accomplished simultaneously. The TDI procedure can be expressed as a closed-form, which leads to the efficient TDI implementation.
Time deinterleaving according to another embodiment of the present invention may be performed through four steps.
FIG. 40 (a) illustrates the first step (step 1) of time deinterleaving. Before TDI processing for TI block 0, using TI rule, the cell value corresponding to a memory index ignored during TI processing is set to zero (or an identification value). That is, the blocks shown in the upper part of FIG. 40 (a) represent cell values of output FEC blocks corresponding to final output memory indexes of TI block 0 and the blocks shown in the lower part of FIG. 40 (a) represent cell values of FEC blocks, which are generated by setting cell values corresponding to memory indexes skipped in skip operation to zero.
In the second step (step 2), after step 1, output of step 1 is written to the single-memory of size 8×5. The writing direction is identical to the reading direction in TI processing. The broadcast signal receiver according to an embodiment of the present invention can perform diagonal writing operation as the first inverse process of TI of the transmitter for the first input TI block. That is, diagonal writing can be performed in a direction opposite to the direction of diagonal reading performed by the transmitter.
FIG. 40 (b) illustrates the third step (step 3) of time deinterleaving.
Blocks corresponding to TDI FEC blocks represent cell values of input FEC blocks. Blocks corresponding to TDI memory indexes represent TDI memory indexes corresponding to cell values of FEC blocks.
After step 2, column-wise reading operation is performed in the same direction as the writing direction in TI processing. At this time, if the reading value is zero (or an identification value), it is ignored (skip operation). This skip operation corresponds to the aforementioned skip operation performed in the broadcast signal transmitter.
The following equation represents the aforementioned TDI memory index generation process.




  
    
      
        
          
            
              
                for
                ⁢
                
                  
                
                ⁢
                0
              
              ≤
              k
              ≤
              
                
                  
                    N
                    c
                  
                  ⁢
                  
                    N
                    r
                  
                
                -
                1
              
            
            ,
            
              0
              ≤
              j
              ≤
              
                TI_NUM
                -
                1
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              C
              
                cnt
                ,
                j
              
            
            =
            0
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              
                t
                k
              
              =
              
                mod
                (
                
                  
                    
                      
                        N
                        c
                      
                      ⁢
                      
                        N
                        r
                      
                    
                    -
                    
                      
                        (
                        
                          j
                          +
                          1
                        
                        )
                      
                      ⁢
                      
                        N
                        r
                      
                    
                    +
                    1
                  
                  ,
                  
                    
                      N
                      c
                    
                    ⁢
                    
                      N
                      r
                    
                  
                
                )
              
            
            ,
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                v
                j
              
              =
              
                
                  t
                  j
                
                ⁢
                
                  mod
                  ⁡
                  
                    (
                    
                      k
                      ,
                      
                        N
                        r
                      
                    
                    )
                  
                
              
            
            ,
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                
                  θ
                  j
                  
                    -
                    1
                  
                
                ⁡
                
                  (
                  k
                  )
                
              
              =
              
                mod
                ⁢
                
                  

                
                ⁢
                
                  
                
                (
                
                  
                    
                      
                        N
                        r
                      
                      ⁢
                      
                        ⌊
                        
                          k
                          
                            N
                            r
                          
                        
                        ⌋
                      
                    
                    +
                    
                      mod
                      ⁡
                      
                        (
                        
                          
                            v
                            j
                          
                          ,
                          
                            
                              N
                              c
                            
                            ⁢
                            
                              N
                              r
                            
                          
                        
                        )
                      
                    
                  
                  ,
                  
                    
                      N
                      c
                    
                    ⁢
                    
                      N
                      r
                    
                  
                
                )
              
            
            ,
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                π
                ⁡
                
                  (
                  k
                  )
                
              
              =
              
                
                  
                    N
                    r
                  
                  ⁢
                  
                    c
                    k
                  
                
                +
                
                  r
                  k
                
              
            
            ,
            
              
                for
                ⁢
                
                  
                
                ⁢
                0
              
              ≤
              k
              ≤
              
                N
                -
                1
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              if
              ⁢
              
                
              
              ⁢
              
                M
                ⁡
                
                  (
                  
                    
                      θ
                      j
                      
                        -
                        1
                      
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                  )
                
              
            
            ≠
            
              0
              ⁢
              
                (
                
                  a
                  ⁢
                  
                    
                  
                  ⁢
                  value
                
                )
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              
                π
                j
                
                  -
                  1
                
              
              ⁡
              
                (
                
                  C
                  
                    cnt
                    ,
                    j
                  
                
                )
              
            
            =
            
              
                θ
                j
                
                  -
                  1
                
              
              ⁡
              
                (
                k
                )
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              C
              
                cnt
                ,
                j
              
            
            =
            
              
                C
                
                  cnt
                  ,
                  j
                
              
              +
              1
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          end
          ⁢
          
            

          
          ⁢
          end
          ⁢
          
            

          
          ⁢
          
            C
            
              cnt
              ,
              j
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          counter
          ⁢
          
            
          
          ⁢
          of
          ⁢
          
            
          
          ⁢
          actual
          ⁢
          
            
          
          ⁢
          TDI
          ⁢
          
            
          
          ⁢
          output
        
        ⁢
        
          
        
        ⁢
        
          

        
        ⁢
        
          memor
          ⁢
          
            -
          
          ⁢
          index
          ⁢
          
            
          
          ⁢
          for
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          TI
          ⁢
          
            
          
          ⁢
          block
        
        ⁢
        
          

        
        ⁢
        
          
            
              θ
              j
              
                -
                1
              
            
            ⁡
            
              (
              k
              )
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          termporal
          ⁢
          
            
          
          ⁢
          TDI
          ⁢
          
            
          
          ⁢
          output
          ⁢
          
            
          
          ⁢
          memory
          ⁢
          
            -
          
          ⁢
          index
        
        ⁢
        
          
        
        ⁢
        
          for
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          TI
          ⁢
          
            
          
          ⁢
          block
        
        ⁢
        
          

        
        ⁢
        
          
            M
            ⁡
            
              (
              
                
                  θ
                  j
                  
                    -
                    1
                  
                
                ⁡
                
                  (
                  k
                  )
                
              
              )
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          reserved
          ⁢
          
            
          
          ⁢
          cell
          ⁢
          
            
          
          ⁢
          
            valu
            ⁢
            e
          
          ⁢
          
            
          
          ⁢
          at
          ⁢
          
            
          
          ⁢
          
            
              θ
              j
              
                -
                1
              
            
            ⁡
            
              (
              k
              )
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              π
              j
              
                -
                1
              
            
            ⁡
            
              (
              k
              )
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          actual
          ⁢
          
            
          
          ⁢
          TDI
          ⁢
          
            
          
          ⁢
          output
        
        ⁢
        
          
        
        ⁢
        
          

        
        ⁢
        
          memory
          ⁢
          
            -
          
          ⁢
          index
          ⁢
          
            
          
          ⁢
          for
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          TI
          ⁢
          
            
          
          ⁢
          block
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          14
        
        ]
      
    
  




The “if” statement in the above equation represents the aforementioned skip operation, that is, the process of ignoring indexes when the indexes corresponding cell values stored in the TDI output memory are 0 (or an arbitrary value indicating that the indexes are forcibly inserted).
FIG. 41 illustrates a time deinterleaving process according to another embodiment of the present invention.
As described above, the broadcast signal receiver according to an embodiment of the present invention can perform time deinterleaving using a single memory. Accordingly, the broadcast signal receiver according to an embodiment of the present invention can read TI block 0 and write TI block 1 simultaneously in the fourth step (step 4).
FIG. 41 (a) shows TDI FEC blocks of TI block 1 written simultaneously with reading of TI block 0 and TDI memory indexes. The writing operation can be performed in a direction opposite to the direction of diagonal reading performed in the broadcast signal receiver, as described above.
FIG. 41 (b) shows output TDI memory indexes according to writing of TI block 1. In this case, arrangement of the stored FEC blocks within TI block 1 may differ from arrangement of the FEC blocks stored in the TI memory of the broadcast signal transmitter. That is, inverse processes of the writing and reading operations performed in the broadcast signal transmitter may not be equally applied in case of a single memory.
FIG. 42 illustrates a writing method according to an embodiment of the present invention.
To prevent a case in which the inverse processes of the writing and reading operations performed in the broadcast signal transmitter cannot be equally applied in case of a single memory, as described above, the present invention provides a method of writing FEC blocks into a TI memory in a matrix form.
The writing method illustrated in FIG. 42 can be equally applied to the aforementioned time interleaving and time deinterleaving processes according to an embodiment of the present invention.
FIG. 42 (a) illustrates a case in which cells of FEC blocks are written to the memory in a vector form, which corresponds to the aforementioned writing method.
FIG. 42 (b) illustrates a case in which cells of FEC blocks are written to the memory in a matrix form. That is, the FEC blocks can be written in the form of an m×n matrix.
In this case, the matrix size can be changed according to designer and the inverse processes of the writing and reading processes performed in the broadcast signal transmitter can be equally applied to a case in which the broadcast signal receiver uses a single memory.
FIG. 43 is a flowchart illustrating a process of generating TDI memory indexes according to an embodiment of the present invention.
As described above, the time deinterleaver according to an embodiment of the present invention can perform diagonal-type TI by sequentially generating TI output memory indexes for sequentially input FEC blocks.
As shown in FIG. 43, the broadcast signal receiver according to an embodiment of the present invention may set initial values (S29000). That is, in the broadcast signal receiver according to an embodiment of the present invention, the cell value corresponding to a memory index ignored during TI processing is set to zero (or an identification value) using TI rue before TDI processing for the first TI block.
Subsequently, the broadcast signal receiver according to an embodiment of the present invention may generate temporal TI memory indexes (S29100). The broadcast signal receiver according to an embodiment of the present invention may perform diagonal writing operation as the first inverse process of TI of the transmitter for the first input TI block. Then, the broadcast signal transmitter according to an embodiment of the present invention may evaluate the generated TI memory indexes (S29200). The broadcast signal transmitter according to an embodiment of the present invention may generate final TI memory indexes (S29300).
The flowchart shown in FIG. 43 corresponds to the process of generating TDI output memory indexes, described with reference to FIGS. 30, 31 and 32, and may be changed according to designer.
FIG. 44 illustrates a time interleaving process according to another embodiment of the present invention.
As described above, a timer interleaver (or time interleaver block) included in a broadcast signal transmitter according to an embodiment of the present invention interleaves cells belonging to a plurality of FEC blocks in the time domain and outputs the interleaved cells.
In addition, the time interleaver according to another embodiment of the present invention can perform time interleaving including a writing operation of sequentially arranging different input FEC blocks in a predetermined memory and a diagonal reading operation of interleaving the FEC blocks in a diagonal direction. In particular, the time interleaver according to an embodiment of the present invention can change the size of a diagonal slope of a reading direction and perform time interleaving while reading different FEC blocks in a diagonal direction. That is, the time interleaver according to an embodiment of the present invention can change a TI reading pattern. Time interleaving according to an embodiment of the present invention may be referred to as diagonal-type time interleaving or diagonal-type TI or flexible diagonal-type time interleaving or flexible diagonal-type TI.
FIG. 44(a) shows a writing direction of time interleaving according to an embodiment of the present invention and FIG. 44(b) shows a reading direction of time interleaving according to an embodiment of the present invention.
Specifically, the broadcast signal transmitter according to an embodiment of the present invention can sequentially write input FEC blocks column-wise in a TI memory having a size of Nr×Nc (column-wise writing), as shown in FIG. 44(a). The details are same as described in FIG. 30. The broadcast signal transmitter according to an embodiment of the present invention can read the FEC blocks written column-wise in a diagonal direction, as shown in FIG. 44(b). In this case, the broadcast signal transmitter according to an embodiment of the present invention can perform diagonal reading for one period. In particular, in this case, as shown in FIG. 44(b), the diagonal slope of the TI reading direction may be differently set for respective TI blocks or super frame units.
That is, during diagonal-wise reading from the first row (rightwards along the row beginning with the left-most column) to the last row, Nr cells are read out as shown in FIG. 44(b).
In particular, in this case, as shown in FIG. 44(b), the diagonal slope of the TI reading direction may be differently set for respective TI blocks or super frame units. FIG. 44 illustrates the case in which the diagonal slope of the TDI writing direction is a diagonal slope-1 or a diagonal slope-2.
When the diagonal slope of the TI reading direction is a diagonal slope-1, since the diagonal reading process of the first period starts at (0,0) of the memory matrix and is performed until the cell of the lowest row is read, cells within different FEC blocks can be uniformly interleaved. Diagonal reading of the next periods can be performed in order of {circle around (1)}, {circle around (2)} and {circle around (3)} in FIG. 44(b).
In addition, when the diagonal slope of the TI reading direction is the slope-2, the TI diagonal reading can be performed from a memory matrix (0,0) for a first period according to the diagonal slope of the TI reading direction until cells contained in a specific FEC block are read according to a specific shifting value. This can be changed according to intention of the designer.
FIG. 45 illustrates diagonal slopes according to an embodiment of the present invention.
FIG. 45 illustrates a diagonal slope-1 to a diagonal slope-6 when the size of Nc of a TI block is 7 and the size of Nr is 11 according to an embodiment of the present invention. The size of the diagonal slope according to an embodiment of the present invention can be changed according to intention of the designer.
The t time interleaver according to an embodiment of the present invention can change the size of the diagonal slope of the TI reading according to the size of a maximum TI memory size and change a TI reading pattern. The TI reading pattern can be changed in a superframe unit as a set of signal frames that are consecutively transmitted in a time axis and information about the TI reading pattern may be transmitted through the aforementioned static PLS signaling data.
The time interleaving process described above with reference to FIG. 31 and the TI output memory index generation process described with reference to FIG. 32 can be equally applied to diagonal-type TI using diagonal slopes of TI reading shown in FIG. 45.
That is, the time interleaver according to an embodiment of the present invention can perform diagonal-type TI by sequentially generating TI output memory index values for sequentially input FEC blocks, as described above with reference to FIG. 31.
Equation 15 below represents a process for generation of a memory index for the diagonal-type TI when the slope values of the various TI readings described with reference to FIG. 45 are set.




  
    
      
        
          
        
        ⁢
        
          
            
              
                
                  r
                  k
                
                =
                
                  mod
                  ⁡
                  
                    (
                    
                      k
                      ,
                      
                        N
                        r
                      
                    
                    )
                  
                
              
              ,
              
                

              
              ⁢
              
                
              
              ⁢
              
                
                  t
                  k
                
                =
                
                  mod
                  ⁡
                  
                    (
                    
                      
                        
                          S
                          T
                        
                        ×
                        
                          r
                          k
                        
                      
                      ,
                      
                        N
                        c
                      
                    
                    )
                  
                
              
              ,
              
                1
                ≤
                
                  S
                  T
                
                ≤
                
                  N
                  c
                
              
            
            ⁢
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                c
                k
              
              =
              
                mod
                ⁡
                
                  (
                  
                    
                      
                        t
                        k
                      
                      +
                      
                        ⌊
                        
                          k
                          
                            N
                            r
                          
                        
                        ⌋
                      
                    
                    ,
                    
                      N
                      c
                    
                  
                  )
                
              
            
            ⁢
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                
                  π
                  ⁡
                  
                    (
                    k
                    )
                  
                
                =
                
                  
                    
                      N
                      r
                    
                    ⁢
                    
                      c
                      k
                    
                  
                  +
                  
                    r
                    k
                  
                
              
              ,
              
                
                  for
                  ⁢
                  
                    
                  
                  ⁢
                  0
                
                ≤
                k
                ≤
                
                  N
                  -
                  
                    1
                    ⁢
                    
                      

                    
                    ⁢
                    
                      S
                      T
                    
                    ⁢
                    
                      :
                    
                    ⁢
                    
                      
                    
                    ⁢
                    diagonal
                    ⁢
                    
                      
                    
                    ⁢
                    slope
                    ⁢
                    
                      
                    
                    ⁢
                    for
                    ⁢
                    
                      
                    
                    ⁢
                    use
                    ⁢
                    
                      
                    
                    ⁢
                    in
                    ⁢
                    
                      
                    
                    ⁢
                    
                      interleaving
                      ⁢
                      
                        

                      
                      (
                      
                        constant
                        ⁢
                        
                          
                        
                        ⁢
                        value
                      
                      )
                    
                  
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              N
              r
            
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            row
            ⁢
            
              
            
            ⁢
            size
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              N
              c
            
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            column
            ⁢
            
              
            
            ⁢
            size
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              N
              ⁢
              
                :
              
              ⁢
              
                
              
              ⁢
              total
              ⁢
              
                
              
              ⁢
              cell
              ⁢
              
                
              
              ⁢
              size
              ⁢
              
                
              
              ⁢
              in
              ⁢
              
                
              
              ⁢
              TI
              ⁢
              
                
              
              ⁢
              block
            
            ,
            
              N
              =
              
                
                  N
                  c
                
                ⁢
                
                  N
                  r
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              ⌊
              ·
              ⌋
            
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            floor
            ⁢
            
              
            
            ⁢
            operation
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            mod
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            modulo
            ⁢
            
              
            
            ⁢
            operation
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              π
              ⁡
              
                (
                k
                )
              
            
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            TI
            ⁢
            
              
            
            ⁢
            output
            ⁢
            
              
            
            ⁢
            memory
            ⁢
            
              
            
            ⁢
            index
          
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          15
        
        ]
      
    
  




A time deinterleaver (or time deinterleaver block) included in a broadcast signal receiver according to an embodiment of the present invention can perform inverse processing of the aforementioned diagonal-type TI. That is, the time deinterleaver according to an embodiment of the present invention can perform time deinterleaving by receiving FEC blocks on which diagonal-type TI has been performed, writing the FEC blocks diagonal-wise in a TI memory and then sequentially reading the FEC blocks. Time deinterleaving according to an embodiment of the present invention may be referred to as diagonal-type TDI or diagonal-type time deinterleaving or flexible diagonal-type time deinterleaving or flexible diagonal-type TDI. The name of a device performing time deinterleaving or the location or function of the device may be changed according to designer.
FIG. 46 illustrates a time deinterleaving process according to an embodiment of the present invention.
The time deinterleaving process shown in FIG. 46 corresponds to inverse processing of the time interleaving process shown in FIG. 44.
FIG. 46 (a) shows a writing direction of time deinterleaving according to an embodiment of the present invention and FIG. 46 (b) shows a reading direction of time deinterleaving according to an embodiment of the present invention.
Specifically, the time deinterleaver according to an embodiment of the present invention can receive FEC blocks on which diagonal-type TI has been performed from a transmitter and diagonally write the FEC blocks into a TDI (time deinterleaver) memory (diagonal-wise writing).
In this case, the time deinterleaver according to an embodiment of the present invention can perform diagonal writing for one period. In particular, in this case, as shown in FIG. 46(a), diagonal slope values of a TDI writing direction may be differently set for respective TDI block and super frame unit. FIG. 46 illustrates the case in which the diagonal slope of the TDI writing direction is a diagonal slope-1 or a diagonal slope-2.
When the diagonal slope of the TDI writing direction is a diagonal slope-1, diagonal reading of the first period starts at (0,0) of the memory matrix and is performed until the cell of the lowest row is read. Diagonal writing of respective periods can be performed in order of {circle around (1)}, {circle around (2)} and {circle around (3)} in FIG. 46(b).
In addition, when the diagonal slope of the TDI writing direction is a diagonal slope-2, the TDI diagonal writing can be performed from a memory matrix (0,0) for a first period until cells contained in a specific FEC block are read according to a specific shifting value. This can be changed according to intention of the designer.
As shown in FIG. 46(b), the time deinterleaver according to an embodiment of the present invention can sequentially read diagonally written FEC blocks column-wise (column-wise reading).
The time deinterleaving process described above with reference to FIG. 46 can be equally applied to diagonal-type TI using the diagonal slopes of TI reading shown in FIG. 45.
That is, the time deinterleaver according to an embodiment of the present invention can perform diagonal-type TDI by sequentially generating TDI output memory index values for sequentially input FEC blocks.
FIG. 47 illustrates a process of generating TDI output memory indexes according to an embodiment of the present invention.
As described above, the time deinterleaver according to an embodiment of the present invention can perform diagonal-type TDI by sequentially generating TDI output memory index values for sequentially input FEC blocks.
FIG. 47(a) illustrates a process of generating diagonal-type TDI memory indexes for the above-described sequentially input FEC blocks and FIG. 47(b) shows equations representing the memory index generation process.
Equation 16 below represents a process for generation of a TDI output memory index for the diagonal-type TDI when diagonal slope values of the various TI readings described with reference to FIG. 45 are set.




  
    
      
        
          
        
        ⁢
        
          
            
              
                
                  S
                  R
                
                =
                
                  
                    N
                    c
                  
                  -
                  
                    S
                    T
                  
                
              
              ,
              
                1
                ≤
                
                  S
                  R
                
                <
                
                  N
                  c
                
              
            
            ⁢
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                
                  r
                  k
                
                =
                
                  mod
                  ⁡
                  
                    (
                    
                      k
                      ,
                      
                        N
                        r
                      
                    
                    )
                  
                
              
              ,
              
                

              
              ⁢
              
                
              
              ⁢
              
                
                  t
                  k
                
                =
                
                  mod
                  ⁡
                  
                    (
                    
                      
                        
                          S
                          R
                        
                        ×
                        
                          r
                          k
                        
                      
                      ,
                      
                        N
                        c
                      
                    
                    )
                  
                
              
              ,
              
                

              
              ⁢
              
                
              
              ⁢
              
                
                  c
                  k
                
                =
                
                  mod
                  ⁡
                  
                    (
                    
                      
                        
                          t
                          k
                        
                        +
                        
                          ⌊
                          
                            k
                            
                              N
                              r
                            
                          
                          ⌋
                        
                      
                      ,
                      
                        N
                        c
                      
                    
                    )
                  
                
              
            
            ⁢
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                
                  
                    π
                    
                      -
                      1
                    
                  
                  ⁡
                  
                    (
                    k
                    )
                  
                
                =
                
                  
                    
                      N
                      r
                    
                    ⁢
                    
                      c
                      k
                    
                  
                  +
                  
                    r
                    k
                  
                
              
              ,
              
                
                  for
                  ⁢
                  
                    
                  
                  ⁢
                  0
                
                ≤
                k
                ≤
                
                  N
                  -
                  
                    1
                    ⁢
                    
                      

                    
                    ⁢
                    
                      S
                      T
                    
                    ⁢
                    
                      :
                    
                    ⁢
                    
                      
                    
                    ⁢
                    diagonal
                    ⁢
                    
                      
                    
                    ⁢
                    slope
                    ⁢
                    
                      
                    
                    ⁢
                    for
                    ⁢
                    
                      
                    
                    ⁢
                    use
                    ⁢
                    
                      
                    
                    ⁢
                    in
                    ⁢
                    
                      
                    
                    ⁢
                    
                      interleaving
                      ⁢
                      
                        
                      
                      ⁢
                      
                        

                      
                      (
                      
                        constant
                        ⁢
                        
                          
                        
                        ⁢
                        value
                      
                      )
                    
                  
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
              S
              R
            
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            diagonal
            ⁢
            
              
            
            ⁢
            slope
            ⁢
            
              
            
            ⁢
            for
            ⁢
            
              
            
            ⁢
            use
            ⁢
            
              
            
            ⁢
            in
            ⁢
            
              
            
            ⁢
            
              deinterleaving
              ⁢
              
                
              
              ⁢
              
                

              
              (
              
                constant
                ⁢
                
                  
                
                ⁢
                value
              
              )
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              N
              r
            
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            row
            ⁢
            
              
            
            ⁢
            size
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              N
              c
            
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            column
            ⁢
            
              
            
            ⁢
            size
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              N
              ⁢
              
                :
              
              ⁢
              
                
              
              ⁢
              total
              ⁢
              
                
              
              ⁢
              cell
              ⁢
              
                
              
              ⁢
              size
              ⁢
              
                
              
              ⁢
              in
              ⁢
              
                
              
              ⁢
              TI
              ⁢
              
                
              
              ⁢
              block
            
            ,
            
              N
              =
              
                
                  N
                  c
                
                ⁢
                
                  N
                  r
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              ⌊
              ·
              ⌋
            
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            floor
            ⁢
            
              
            
            ⁢
            operation
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            mod
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            modulo
            ⁢
            
              
            
            ⁢
            operation
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              
                π
                
                  -
                  1
                
              
              ⁡
              
                (
                k
                )
              
            
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            TDI
            ⁢
            
              
            
            ⁢
            output
            ⁢
            
              
            
            ⁢
            memory
            ⁢
            
              
            
            ⁢
            index
          
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          16
        
        ]
      
    
  




The broadcast signal transmitter according to an embodiment of the present invention may be a variable data-rate system in which a plurality of FEC blocks is packed and configured as a plurality of TI blocks and transmitted. In this case, TI blocks may have different numbers of FEC blocks included therein.
FIG. 48 is a conceptual diagram illustrating a variable data-rate system according to an embodiment of the present invention.
One transmission superframe may include NIF_NUM interleaving frames (IFs) and each IF may include NFEC_NUM FEC blocks. In this case, the number of FEC blocks included in each IF may be varied. An IF according to an embodiment of the present invention may be defined as a block for timing interleaving and may be referred to as the aforementioned TI block.
The details are same as described in FIG. 36.
As described above, when the number of generated TI memory indexes exceeds the number of cells in an arbitrary IF, the broadcast signal transmitter virtual FEC blocks can be added (zero padding) and diagonal-type TI can be performed. Since the added virtual FEC blocks include cells having zero value, the broadcast signal transmitter according to the present invention may skip or ignore the added virtual FEC blocks. This operation may be referred to as skip operation. The skip operation will be described in detail later.
The following equations represent the aforementioned process of determining a diagonal-type TI method applied to all IFs. Specifically, the following equation represents a process of determining the sizes of a column and a row with respect to IF including a maximum number of FEC blocks in one superframe in determination of a diagonal-type TI method.




  
    
      
        
          
        
        ⁢
        
          
            
              for
              ⁢
              
                
              
              ⁢
              0
            
            ≤
            j
            ≤
            
              
                N
                
                  IF
                  ⁢
                  
                    
                  
                  ⁢
                  _
                  ⁢
                  
                    
                  
                  ⁢
                  NUM
                
              
              -
              1
            
          
          ⁢
          
            

          
          ⁢
          
            
              
                
                  
                    N
                    r
                  
                  =
                  
                  ⁢
                  
                    max
                    ⁡
                    
                      (
                      
                        
                          N
                          
                            
                              FEC
                              ⁢
                              
                                
                              
                              ⁢
                              _
                              ⁢
                              
                                
                              
                              ⁢
                              Size
                            
                            ,
                            0
                          
                        
                        ,
                        
                          N
                          
                            
                              FEC
                              ⁢
                              
                                
                              
                              ⁢
                              _
                              ⁢
                              
                                
                              
                              ⁢
                              Size
                            
                            ,
                            0
                          
                        
                        ,
                        ...
                        ⁢
                        
                          
                        
                        ,
                        
                          N
                          
                            
                              FEC
                              ⁢
                              
                                
                              
                              ⁢
                              _
                              ⁢
                              
                                
                              
                              ⁢
                              Size
                            
                            ,
                            
                              
                                IF
                                ⁢
                                
                                  
                                
                                ⁢
                                _
                                ⁢
                                
                                  
                                
                                ⁢
                                NUM
                              
                              -
                              1
                            
                          
                        
                      
                      )
                    
                  
                
              
            
            
              
                
                  =
                  
                  ⁢
                  
                    
                      max
                      j
                    
                    ⁢
                    
                      (
                      
                        N
                        
                          
                            FEC
                            ⁢
                            
                              
                            
                            ⁢
                            _
                            ⁢
                            
                              
                            
                            ⁢
                            Size
                          
                          ,
                          j
                        
                      
                      )
                    
                  
                
              
            
          
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          17
        
        ]
      
    
  
  
    
      
        
          
            
              
                N
                c
              
              =
              
              ⁢
              
                max
                ⁡
                
                  (
                  
                    
                      
                        N
                        
                          
                            FEC
                            ⁢
                            
                              
                            
                            ⁢
                            _
                            ⁢
                            
                              
                            
                            ⁢
                            NUM
                          
                          ,
                          0
                        
                      
                      ⁢
                      
                        N
                        
                          
                            FEC
                            ⁢
                            
                              
                            
                            ⁢
                            _
                            ⁢
                            
                              
                            
                            ⁢
                            NUM
                          
                          ,
                          0
                        
                      
                      ⁢
                      
                        
                      
                      ⁢
                      ...
                    
                    ⁢
                    
                      
                    
                    ,
                    
                      N
                      
                        
                          FEC
                          ⁢
                          
                            
                          
                          ⁢
                          _
                          ⁢
                          
                            
                          
                          ⁢
                          NUM
                        
                        ,
                        
                          
                            IF
                            ⁢
                            
                              
                            
                            ⁢
                            _
                            ⁢
                            
                              
                            
                            ⁢
                            NUM
                          
                          -
                          1
                        
                      
                    
                  
                  )
                
              
            
          
        
        
          
            
              =
              
              ⁢
              
                
                  max
                  j
                
                ⁢
                
                  (
                  
                    N
                    
                      
                        FEC
                        ⁢
                        
                          
                        
                        ⁢
                        _
                        ⁢
                        
                          
                        
                        ⁢
                        NUM
                      
                      ,
                      j
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        
      
    
  
  
    
      
        
          
            N
            
              TI
              ⁢
              
                
              
              ⁢
              _
              ⁢
              
                
              
              ⁢
              NUM
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          Total
          ⁢
          
            
          
          ⁢
          number
          ⁢
          
            
          
          ⁢
          of
          ⁢
          
            
          
          ⁢
          IFs
          ⁢
          
            
          
          ⁢
          in
          ⁢
          
            
          
          ⁢
          a
          ⁢
          
            
          
          ⁢
          single
          ⁢
          
            
          
          ⁢
          super
          ⁢
          
            -
          
          ⁢
          frame
        
        ⁢
        
          

        
        ⁢
        
          
            N
            
              
                FEC
                ⁢
                
                  
                
                ⁢
                _
                ⁢
                
                  
                
                ⁢
                NUM
              
              ,
              j
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          Total
          ⁢
          
            
          
          ⁢
          number
          ⁢
          
            
          
          ⁢
          of
          ⁢
          
            
          
          ⁢
          FEC
          ⁢
          
            
          
          ⁢
          blocks
          ⁢
          
            
          
          ⁢
          in
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          IF
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            
              N
              
                
                  FEC
                  ⁢
                  
                    
                  
                  ⁢
                  _
                  ⁢
                  
                    
                  
                  ⁢
                  Size
                
                ,
                j
              
            
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            FEC
            ⁢
            
              
            
            ⁢
            block
            ⁢
            
              
            
            ⁢
            size
            ⁢
            
              
            
            ⁢
            in
            ⁢
            
              
            
            ⁢
            the
            ⁢
            
              
            
            ⁢
            jth
            ⁢
            
              
            
            ⁢
            IF
          
          ,
        
      
    
    
      
        
      
    
  




Further, an embodiment to which diagonal-type TI is applied in the variable data-rate system described with reference to FIG. 37 can be equally applied to an IF including a plurality of FEC blocks.
The IFs are included in one super frame.
Therefore, time deinterleaving corresponding to the diagonal-type TI method can be applied to a case in which the broadcast signal receiver uses a single memory.
In addition, the process of generating a TI output memory index, described with reference to FIG. 38, can be equally applied to an IF including a plurality of FEC blocks.
The following equations represent the output memory index generation process for performing diagonal-type TI applicable in the aforementioned variable data-rate system.




  
    
      
        
          
            
              
                
                  
                    
                      
                        
                          
                            
                              for
                              ⁢
                              
                                
                              
                              ⁢
                              0
                            
                            ≤
                            j
                            ≤
                            
                              
                                N
                                
                                  IF
                                  ⁢
                                  
                                    
                                  
                                  ⁢
                                  _
                                  ⁢
                                  
                                    
                                  
                                  ⁢
                                  NUM
                                
                              
                              -
                              1
                            
                          
                          ,
                          
                            0
                            ≤
                            k
                            ≤
                            
                              
                                
                                  N
                                  r
                                
                                ⁢
                                
                                  N
                                  c
                                
                              
                              -
                              1
                            
                          
                        
                        ⁢
                        
                          

                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            C
                            
                              cnt
                              ,
                              j
                            
                          
                          =
                          0
                        
                        ⁢
                        
                          

                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            
                              r
                              
                                j
                                ,
                                k
                              
                            
                            =
                            
                              mod
                              ⁡
                              
                                (
                                
                                  k
                                  ,
                                  
                                    N
                                    r
                                  
                                
                                )
                              
                            
                          
                          ,
                          
                            

                          
                          ⁢
                          
                            
                          
                          ⁢
                          
                            
                              t
                              
                                j
                                ,
                                k
                              
                            
                            =
                            
                              mod
                              ⁡
                              
                                (
                                
                                  
                                    
                                      S
                                      T
                                    
                                    ×
                                    
                                      r
                                      
                                        j
                                        ,
                                        k
                                      
                                    
                                  
                                  ,
                                  
                                    N
                                    c
                                  
                                
                                )
                              
                            
                          
                          ,
                          
                            

                          
                          ⁢
                          
                            
                          
                          ⁢
                          
                            1
                            ≤
                            
                              S
                              T
                            
                            <
                            
                              N
                              c
                            
                          
                        
                        ⁢
                        
                          

                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            c
                            
                              j
                              ,
                              k
                            
                          
                          =
                          
                            mod
                            ⁡
                            
                              (
                              
                                
                                  
                                    t
                                    
                                      j
                                      ,
                                      k
                                    
                                  
                                  +
                                  
                                    ⌊
                                    
                                      k
                                      
                                        N
                                        r
                                      
                                    
                                    ⌋
                                  
                                
                                ,
                                
                                  N
                                  c
                                
                              
                              )
                            
                          
                        
                        ⁢
                        
                          

                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            
                              θ
                              j
                            
                            ⁡
                            
                              (
                              k
                              )
                            
                          
                          =
                          
                            
                              
                                N
                                r
                              
                              ⁢
                              
                                c
                                
                                  j
                                  ,
                                  k
                                
                              
                            
                            +
                            
                              r
                              
                                j
                                ,
                                k
                              
                            
                          
                        
                        ⁢
                        
                          

                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            if
                            ⁢
                            
                              
                            
                            ⁢
                            
                              
                                θ
                                j
                              
                              ⁡
                              
                                (
                                k
                                )
                              
                            
                          
                          ≤
                          
                            

                          
                          ⁢
                          
                            
                          
                          ⁢
                          
                            
                              N
                              
                                
                                  FEC
                                  ⁢
                                  
                                    
                                  
                                  ⁢
                                  _
                                  ⁢
                                  
                                    
                                  
                                  ⁢
                                  Size
                                
                                ,
                                j
                              
                            
                            ⁢
                            
                              N
                              
                                
                                  FEC
                                  ⁢
                                  
                                    
                                  
                                  ⁢
                                  _
                                  ⁢
                                  
                                    
                                  
                                  ⁢
                                  NUM
                                
                                ,
                                j
                              
                            
                          
                        
                        ⁢
                        
                          

                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            
                              π
                              j
                            
                            ⁡
                            
                              (
                              
                                C
                                
                                  cnt
                                  ,
                                  j
                                
                              
                              )
                            
                          
                          =
                          
                            
                              θ
                              j
                            
                            ⁡
                            
                              (
                              k
                              )
                            
                          
                        
                        ⁢
                        
                          

                        
                        ⁢
                        
                          
                        
                        ⁢
                        
                          
                            C
                            
                              cnt
                              ,
                              j
                            
                          
                          =
                          
                            
                              C
                              
                                
                                  cnt
                                  ,
                                  j
                                
                                ⁢
                                
                                  
                                
                              
                            
                            +
                            1
                          
                        
                        ⁢
                        
                          

                        
                        ⁢
                        
                          
                        
                        ⁢
                        end
                        ⁢
                        
                          

                        
                        ⁢
                        end
                        ⁢
                        
                          

                        
                        ⁢
                        
                          S
                          T
                        
                        ⁢
                        
                          :
                        
                        ⁢
                        
                          
                        
                        ⁢
                        diagonal
                        ⁢
                        
                          
                        
                        ⁢
                        slope
                        ⁢
                        
                          
                        
                        ⁢
                        for
                        ⁢
                        
                          
                        
                        ⁢
                        use
                        ⁢
                        
                          
                        
                        ⁢
                        in
                        ⁢
                        
                          
                        
                        ⁢
                        
                          interleaving
                          ⁢
                          
                            
                          
                          ⁢
                          
                            

                          
                          (
                          
                            constant
                            ⁢
                            
                              
                            
                            ⁢
                            value
                          
                          )
                        
                      
                      ⁢
                      
                        

                      
                      ⁢
                      
                        C
                        
                          cnt
                          ,
                          j
                        
                      
                      ⁢
                      
                        :
                      
                      ⁢
                      
                        
                      
                      ⁢
                      counter
                      ⁢
                      
                        
                      
                      ⁢
                      of
                      ⁢
                      
                        
                      
                      ⁢
                      
                        a
                        ⁢
                        ctual
                      
                      ⁢
                      
                        
                      
                      ⁢
                      TI
                      ⁢
                      
                        
                      
                      ⁢
                      output
                    
                    ⁢
                    
                      
                    
                    ⁢
                    
                      

                    
                    ⁢
                    
                      memory
                      ⁢
                      
                        -
                      
                      ⁢
                      index
                    
                  
                   
                
                ⁢
                
                  
                
                ⁢
                
                  

                
                ⁢
                
                  for
                  ⁢
                  
                    
                  
                  ⁢
                  the
                  ⁢
                  
                    
                  
                  ⁢
                  j
                  ⁢
                  
                    
                  
                  ⁢
                  th
                  ⁢
                  
                    
                  
                  ⁢
                  TI
                  ⁢
                  
                    
                  
                  ⁢
                  block
                
                ⁢
                
                  

                
                ⁢
                
                  
                    
                      θ
                      j
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                  ⁢
                  
                    :
                  
                  ⁢
                  
                    
                  
                  ⁢
                  temporal
                  ⁢
                  
                    
                  
                  ⁢
                  TI
                  ⁢
                  
                    
                  
                  ⁢
                  output
                  ⁢
                  
                    
                  
                  ⁢
                  memory
                  ⁢
                  
                    -
                  
                  ⁢
                  index
                
              
               
            
            ⁢
            
              
            
            ⁢
            
              

            
            ⁢
            
              for
              ⁢
              
                
              
              ⁢
              the
              ⁢
              
                
              
              ⁢
              jth
              ⁢
              
                
              
              ⁢
              TI
              ⁢
              
                
              
              ⁢
              block
            
            ⁢
            
              

            
            ⁢
            
              
                
                  π
                  j
                
                ⁡
                
                  (
                  k
                  )
                
              
              ⁢
              
                :
              
              ⁢
              
                
              
              ⁢
              actual
              ⁢
              
                
              
              ⁢
              TI
              ⁢
              
                
              
              ⁢
              output
              ⁢
              
                
              
              ⁢
              memory
              ⁢
              
                -
              
              ⁢
              index
            
          
           
        
        ⁢
        
          
        
        ⁢
        
          

        
        ⁢
        
          for
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          TI
          ⁢
          
            
          
          ⁢
          block
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          18
        
        ]
      
    
  




In Equation 18, the “if” statement represents the aforementioned skip operation. In addition, Equation 18 above represents a process for generation of an output memory index for the aforementioned diagonal type TI of the diagonal slope. Accordingly, a diagonal slope value is defined as one variable. The diagonal slope according to an embodiment of the present invention can be used as a shift value which is described above. And the ST in the above Equation can be a shift value used in the interleaving.
In addition, the flowchart of FIG. 39 can be equally applied to an IF including a plurality of FEC blocks.
Furthermore, the time deinterleaving process according to another embodiment of the present invention, described with reference to FIGS. 40 and 41, can be equally applied to the IF including a plurality of FEC blocks.
The following equations represent the TDI memory index generation process which is applied to IF including a plurality of FEC blocks.




  
    
      
        
          
            
              
                for
                ⁢
                
                  
                
                ⁢
                0
              
              ≤
              k
              ≤
              
                
                  
                    N
                    c
                  
                  ⁢
                  
                    N
                    r
                  
                
                -
                1
              
            
            ,
            
              0
              ≤
              j
              ≤
              
                IF_NUM
                -
                1
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              C
              
                cnt
                ,
                j
              
            
            =
            0
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              
                S
                
                  R
                  ,
                  j
                
              
              =
              
                mod
                ⁡
                
                  (
                  
                    
                      
                        S
                        
                          R
                          ,
                          
                            j
                            -
                            1
                          
                        
                      
                      -
                      
                        S
                        T
                      
                    
                    ,
                    
                      N
                      c
                    
                  
                  )
                
              
            
            ,
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                where
                ⁢
                
                  
                
                ⁢
                
                  S
                  
                    R
                    ,
                    0
                  
                
              
              =
              
                
                  N
                  c
                
                -
                
                  S
                  T
                
              
            
            ,
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                r
                
                  j
                  ,
                  k
                
              
              =
              
                mod
                ⁡
                
                  (
                  
                    k
                    ,
                    
                      N
                      r
                    
                  
                  )
                
              
            
            ,
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                t
                
                  j
                  ,
                  k
                
              
              =
              
                mod
                ⁡
                
                  (
                  
                    
                      
                        S
                        
                          R
                          ,
                          j
                        
                      
                      ×
                      
                        r
                        
                          j
                          ,
                          k
                        
                      
                    
                    ,
                    
                      N
                      c
                    
                  
                  )
                
              
            
            ,
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                c
                
                  j
                  ,
                  k
                
              
              =
              
                mod
                ⁡
                
                  (
                  
                    
                      
                        t
                        
                          j
                          ,
                          k
                        
                      
                      +
                      
                        ⌊
                        
                          k
                          
                            N
                            r
                          
                        
                        ⌋
                      
                    
                    ,
                    
                      N
                      c
                    
                  
                  )
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              
                
                  θ
                  j
                  
                    -
                    1
                  
                
                ⁡
                
                  (
                  k
                  )
                
              
              =
              
                
                  
                    N
                    r
                  
                  ⁢
                  
                    c
                    
                      j
                      ,
                      k
                    
                  
                
                +
                
                  r
                  
                    j
                    ,
                    k
                  
                
              
            
            ,
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                if
                ⁢
                
                  
                
                ⁢
                
                  M
                  ⁡
                  
                    (
                    
                      
                        θ
                        j
                        
                          -
                          2
                        
                      
                      ⁡
                      
                        (
                        k
                        )
                      
                    
                    )
                  
                
              
              ≠
              
                0
                ⁢
                
                  (
                  
                    a
                    ⁢
                    
                      
                    
                    ⁢
                    value
                  
                  )
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              
                π
                j
                
                  -
                  1
                
              
              ⁡
              
                (
                
                  C
                  
                    cnt
                    ,
                    j
                  
                
                )
              
            
            =
            
              
                θ
                j
                
                  -
                  1
                
              
              ⁡
              
                (
                k
                )
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              C
              
                cnt
                ,
                j
              
            
            =
            
              
                C
                
                  
                    cnt
                    ,
                    j
                  
                  ⁢
                  
                    
                  
                
              
              +
              1
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          end
          ⁢
          
            

          
          ⁢
          end
          ⁢
          
            

          
          ⁢
          
            C
            
              cnt
              ,
              j
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          counter
          ⁢
          
            
          
          ⁢
          of
          ⁢
          
            
          
          ⁢
          actual
          ⁢
          
            
          
          ⁢
          TDI
          ⁢
          
            
          
          ⁢
          output
          ⁢
          
            
          
          ⁢
          memory
          ⁢
          
            -
          
          ⁢
          index
        
        ⁢
        
          
        
        ⁢
        
          

        
        ⁢
        
          for
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          IF
          ⁢
          
            
          
          ⁢
          
            
              θ
              j
              
                -
                1
              
            
            ⁡
            
              (
              k
              )
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          reserved
          ⁢
          
            
          
          ⁢
          cell
          ⁢
          
            
          
          ⁢
          value
          ⁢
          
            
          
          ⁢
          at
          ⁢
          
            
          
          ⁢
          
            
              θ
              j
              
                -
                1
              
            
            ⁡
            
              (
              k
              )
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            M
            ⁡
            
              (
              
                
                  θ
                  j
                  
                    -
                    1
                  
                
                ⁡
                
                  (
                  k
                  )
                
              
              )
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          temporal
          ⁢
          
            
          
          ⁢
          TDI
          ⁢
          
            
          
          ⁢
          output
          ⁢
          
            
          
          ⁢
          memory
          ⁢
          
            -
          
          ⁢
          index
          ⁢
          
            
          
          ⁢
          for
          ⁢
          
            
          
          ⁢
          the
        
        ⁢
        
          
        
        ⁢
        
          

        
        ⁢
        
          jth
          ⁢
          
            
          
          ⁢
          IF
        
        ⁢
        
          

        
        ⁢
        
          
            
              π
              j
              
                -
                1
              
            
            ⁡
            
              (
              k
              )
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          actual
          ⁢
          
            
          
          ⁢
          TDI
          ⁢
          
            
          
          ⁢
          output
          ⁢
          
            
          
          ⁢
          memory
          ⁢
          
            -
          
          ⁢
          index
          ⁢
          
            
          
          ⁢
          for
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          IF
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          19
        
        ]
      
    
  




The “if” statement in the above equation represents the aforementioned skip operation, that is, the process of ignoring indexes when the indexes corresponding cell values stored in the TDI output memory are 0 (or an arbitrary value indicating that the indexes are forcibly inserted). In addition, Equation 19 above represents a process of generation of a TDI memory index for time interleaving corresponding to the aforementioned diagonal type TI according to a diagonal slope.
The writing method according to an embodiment of the present invention, described with reference to FIG. 42, can be equally applied an IF including a plurality of FEC blocks.
FIG. 49 is a flowchart illustrating a process of generating TDI memory indexes according to an embodiment of the present invention.
As described above, the time deinterleaver according to an embodiment of the present invention can perform diagonal-type TI by sequentially generating TI output memory indexes for sequentially input FEC blocks.
As shown in FIG. 49, the broadcast signal receiver according to an embodiment of the present invention may set initial values (S30000). That is, in the broadcast signal receiver according to an embodiment of the present invention, the cell value corresponding to a memory index ignored during TI processing is set to zero (or an identification value) using TI rue before TDI processing for the first IF.
Then the broadcast signal receiver according to an embodiment of the present invention may calculate a diagonal slope to be used for TDI processing (S30100).
Subsequently, the broadcast signal receiver according to an embodiment of the present invention may generate temporal TI memory indexes (S30200). The broadcast signal receiver according to an embodiment of the present invention may perform diagonal writing operation as the first inverse process of TI of the transmitter for the first input IF. Then, the broadcast signal transmitter according to an embodiment of the present invention may evaluate the generated TI memory indexes (S30300). The broadcast signal transmitter according to an embodiment of the present invention may generate final TI memory indexes (S30400).
The flowchart shown in FIG. 49 corresponds to the process of generating TDI output memory indexes, described with reference to FIGS. 27, 28 and 29, and may be changed according to designer.
FIG. 50 illustrates IF-by-IF TI pattern variation according to an embodiment of the present invention.
As described above, the broadcast signal transmitter (or a time interleaver) according to an embodiment of the present invention may differently apply a diagonal slope in superframe units or IF units.
FIG. 50 illustrates an embodiment in which diagonal slopes are differently applied to respective IFs and TI patterns are changed and, that is, an embodiment in which the diagonal slopes are differently applied to the respective IFs according to the cases in which the number of FEC blocks contained in an IF is an even number and an odd number. This is because, when the number of the FEC blocks is an even number, a diagonal slope for reducing an interleaving depth may be present.
FIG. 50 illustrates an embodiment in which the number of IFs included in one superframe is 6 and the length of an FEC block included in each IF, Nr is 11 and, that is, an embodiment in which a diagonal slope is determined to be applied when the number of FEC blocks is 7.
FIG. 50(a) illustrates an embodiment in which the number of FEC blocks included in each IF is an odd number, that is, 7. In this case, the time interleaver according to an embodiment of the present invention may randomly select the diagonal slopes (in an order of diagonal slopes 1, 4, 3, 6, 2, and 5) and apply to 6 IFs so as not to repeat the diagonal slopes described with reference to FIG. 45. FIG. 50(b) illustrates an embodiment in which the number of FEC blocks included in each IF is an even number, that is, 6 and, that is, an embodiment in which the diagonal slope values described with reference to FIG. 45 is set to be applied to the case in which the number of FEC blocks is 7. In this case, the time interleaver according to an embodiment of the present invention may assume that each IF includes 7 FEC blocks and, that is, add the aforementioned virtual FEC block and apply a random diagonal slope to perform diagonal reading (in an order of diagonal slopes 1, 4, 3, 6, 2, and 5). In this case, as described above, cells of the virtual FEC may be disregarded via a skip operation.
The broadcast signal transmitter according to an embodiment of the present invention may select an IF having a largest number of FEC blocks in one superframe and determine Nc. A process for determination of Nc is the same as in Equation 17 above.
Then the broadcast signal transmitter according to an embodiment of the present invention determines whether the determined Nc is an even or odd number. When the determined Nc is an even number, the broadcast signal transmitter may add the virtual FEC block as described above. Equation 20 below represents a process of achieving an odd number by adding the virtual FEC block when Nc is an even number.

if mod(Nc,2)=0

Ns=Nc+1

else if mod(Nc,2)=1

Ns=Nc  [Equation 20]

Then the broadcast signal transmitter according to an embodiment of the present invention may sequentially or randomly generate diagonal slopes using various methods. Equation 21 below represents a process of generation of a diagonal slope to be used in each IF using a quadratic polynomial (QP) scheme.




  
    
      
        
          
            
              
                H
                j
              
              =
              
                
                  (
                  
                    γ
                    +
                    
                      q
                      ×
                      
                        
                          
                            (
                            
                              j
                              +
                              1
                            
                            )
                          
                          ⁢
                          
                            (
                            
                              j
                              +
                              2
                            
                            )
                          
                        
                        2
                      
                    
                  
                  )
                
                ⁢
                mod
                ⁢
                
                  
                
                ⁢
                
                  N
                  Dtv
                
              
            
            ,
            
              

            
            ⁢
            
              
                for
                ⁢
                
                  
                
                ⁢
                j
              
              =
              0
            
            ,
            ...
            ⁢
            
              
            
            ,
            
              
                N
                
                  IF
                  ⁢
                  
                    
                  
                  ⁢
                  _
                  ⁢
                  
                    
                  
                  ⁢
                  NUM
                
              
              -
              1
            
          
          ⁢
          
            

          
          ⁢
          
            if
            ⁢
            
              
            
            ⁢
            1
          
          ≤
          
            H
            j
          
          <
          
            
              N
              c
            
            -
            1
          
        
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            S
            
              T
              ,
              j
            
          
          =
          
            H
            j
          
        
        ⁢
        
          

        
        ⁢
        else
        ⁢
        
          

        
        ⁢
        
          
        
        ⁢
        
          
            S
            
              T
              ,
              j
            
          
          =
          
            mod
            ⁡
            
              (
              
                
                  H
                  j
                
                ,
                
                  
                    N
                    c
                  
                  -
                  1
                
              
              )
            
          
        
        ⁢
        
          

        
        ⁢
        end
        ⁢
        
          

        
        ⁢
        
          
            
              N
              Dtv
            
            ⁢
            
              :
            
            ⁢
            
              
            
            ⁢
            division
            ⁢
            
              
            
            ⁢
            value
            ⁢
            
              
            
            ⁢
            of
            ⁢
            
              
            
            ⁢
            QP
          
          ,
          
            
              N
              Dtv
            
            =
            
              2
              ′′
            
          
          ,
          
            

          
          ⁢
          
            
              where
              ⁢
              
                
              
              ⁢
              
                ⌈
                
                  
                    log
                    2
                  
                  ⁡
                  
                    (
                    
                      
                        N
                        c
                      
                      /
                      2
                    
                    )
                  
                
                ⌉
              
            
            <
            n
            ≤
            
              ⌈
              
                
                  log
                  2
                
                ⁡
                
                  (
                  
                    N
                    c
                  
                  )
                
              
              ⌉
            
          
        
        ⁢
        
          

        
        ⁢
        
          q
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          a
          ⁢
          
            
          
          ⁢
          relative
          ⁢
          
            
          
          ⁢
          prime
          ⁢
          
            
          
          ⁢
          value
          ⁢
          
            
          
          ⁢
          to
          ⁢
          
            
          
          ⁢
          
            N
            Dtv
          
        
        ⁢
        
          

        
        ⁢
        
          γ
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          an
          ⁢
          
            
          
          ⁢
          offset
          ⁢
          
            
          
          ⁢
          value
          ⁢
          
            
          
          ⁢
          of
          ⁢
          
            
          
          ⁢
          a
          ⁢
          
            
          
          ⁢
          QP
        
        ⁢
        
          

        
        ⁢
        
          
            ⌈
            ·
            ⌉
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          cell
          ⁢
          
            
          
          ⁢
          operation
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          21
        
        ]
      
    
  




The QP scheme may correspond to an embodiment of the present invention and may be replaced with a primitive polynomial (PP) scheme. This can be changed according to intention of the designer.
Equation 22 below represents a process of sequentially generating a diagonal slope.

ST,j=mod(j,Nc−1)+1, for j=0, . . . ,NIF_NUM−1  [Equation 22]

Then the broadcast signal transmitter according to an embodiment of the present invention may perform time interleaving in consideration of variables generated via the processes of Equations 20 to 22 above. In this case, a process of generation of a TI output memory output memory index of the broadcast signal transmitter according to an embodiment of the present invention may be represented according to Equation 18 above. Equation 21 above may include the diagonal slope generated according to Equations 21 and 22 above as a main variable. In addition, the skip operation described with reference to Equation 21 above can be applied irrespective of whether the length of Nc, is an even or odd number.
The broadcast signal receiver according to an embodiment of the present invention can perform time interleaving so as to correspond to the aforementioned broadcast signal transmitter. In this case, a process of generation of a TDI output memory index of the broadcast signal receiver according to an embodiment of the present invention can be represented according to Equation 19 above. Equation 19 above may include the diagonal slope generated via the generating processes represented according to Equations 21 to 22 as a main variable. In addition, the skip operation described with reference to Equation 19 above can be applied irrespective of whether the length of Nc is an even or odd number.
As described above, the information associated with the TI pattern may be transmitted via the aforementioned static PLS signaling data. Information indicating whether the TI pattern is changed may be represented as TI_Var and may have a one bit size. When TI_Var has a value 0, this means that the TI pattern is not changed. Accordingly, the broadcast signal receiver according to an embodiment of the present invention may determine a variable ST as 1 that is a default value. When TI_Var has a value 1, this means that the TI pattern is changed. In this case, the broadcast signal receiver according to an embodiment of the present invention may determine the variable ST as ST,j.
The following equations is another embodiment of the equation 18 and represent the output memory index generation process for performing diagonal-type TI applicable in the aforementioned variable data-rate system.




  
    
      
        
          
            
              
                for
                ⁢
                
                  
                
                ⁢
                0
              
              ≤
              j
              ≤
              
                
                  N
                  
                    IF
                    ⁢
                    
                      
                    
                    ⁢
                    _
                    ⁢
                    
                      
                    
                    ⁢
                    NUM
                  
                
                -
                1
              
            
            ,
            
              0
              ≤
              k
              ≤
              
                
                  
                    N
                    r
                  
                  ⁢
                  
                    N
                    c
                  
                
                -
                1
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              
                C
                
                  cnt
                  ,
                  j
                
              
              =
              0
            
            ,
            
              1
              ≤
              
                S
                
                  T
                  ,
                  j
                
              
              <
              
                N
                c
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              
                r
                
                  j
                  ,
                  k
                
              
              =
              
                mod
                ⁡
                
                  (
                  
                    k
                    ,
                    
                      N
                      r
                    
                  
                  )
                
              
            
            ,
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                t
                
                  j
                  ,
                  k
                
              
              =
              
                mod
                ⁡
                
                  (
                  
                    
                      r
                      
                        j
                        ,
                        k
                      
                    
                    ,
                    
                      N
                      c
                    
                  
                  )
                
              
            
            ,
            
              

            
            ⁢
            
              
            
            ⁢
            
              
                c
                
                  j
                  ,
                  k
                
              
              =
              
                mod
                ⁡
                
                  (
                  
                    
                      
                        
                          S
                          
                            T
                            ,
                            j
                          
                        
                        ×
                        
                          t
                          
                            j
                            ,
                            k
                          
                        
                      
                      +
                      
                        ⌊
                        
                          k
                          
                            N
                            r
                          
                        
                        ⌋
                      
                    
                    ,
                    
                      N
                      c
                    
                  
                  )
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              
                θ
                j
              
              ⁡
              
                (
                k
                )
              
            
            =
            
              
                
                  N
                  r
                
                ⁢
                
                  c
                  
                    j
                    ,
                    k
                  
                
              
              +
              
                r
                
                  j
                  ,
                  k
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              if
              ⁢
              
                
              
              ⁢
              
                
                  θ
                  j
                
                ⁡
                
                  (
                  k
                  )
                
              
            
            ≤
            
              
                N
                
                  
                    FEC
                    ⁢
                    
                      
                    
                    ⁢
                    _
                    ⁢
                    
                      
                    
                    ⁢
                    Size
                  
                  ,
                  j
                
              
              ⁢
              
                N
                
                  
                    FEC
                    ⁢
                    
                      
                    
                    ⁢
                    _
                    ⁢
                    
                      
                    
                    ⁢
                    NUM
                  
                  ,
                  j
                
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              
                π
                j
              
              ⁡
              
                (
                
                  C
                  
                    cnt
                    ,
                    j
                  
                
                )
              
            
            =
            
              
                θ
                j
              
              ⁡
              
                (
                k
                )
              
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          
            
              C
              
                cnt
                ,
                j
              
            
            =
            
              
                C
                
                  cnt
                  ,
                  j
                
              
              +
              1
            
          
          ⁢
          
            

          
          ⁢
          
            
          
          ⁢
          end
          ⁢
          
            

          
          ⁢
          end
          ⁢
          
            

          
          ⁢
          
            S
            
              T
              ,
              j
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          diagonal
          ⁢
          
            
          
          ⁢
          slope
          ⁢
          
            
          
          ⁢
          for
          ⁢
          
            
          
          ⁢
          use
          ⁢
          
            
          
          ⁢
          in
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          interleaving
        
        ⁢
        
          
        
        ⁢
        
          

        
        ⁢
        
          frame
          ⁢
          
            
          
          ⁢
          
            (
            
              constant
              ⁢
              
                
              
              ⁢
              value
            
            )
          
        
        ⁢
        
          

        
        ⁢
        
          
            C
            
              cnt
              ,
              j
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          counter
          ⁢
          
            
          
          ⁢
          of
          ⁢
          
            
          
          ⁢
          actual
          ⁢
          
            
          
          ⁢
          TI
          ⁢
          
            
          
          ⁢
          output
          ⁢
          
            
          
          ⁢
          memory
          ⁢
          
            -
          
          ⁢
          index
        
        ⁢
        
          
        
        ⁢
        
          

        
        ⁢
        
          for
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          IF
        
        ⁢
        
          

        
        ⁢
        
          
            
              θ
              j
            
            ⁡
            
              (
              k
              )
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          temporal
          ⁢
          
            
          
          ⁢
          TI
          ⁢
          
            
          
          ⁢
          output
          ⁢
          
            
          
          ⁢
          memory
          ⁢
          
            -
          
          ⁢
          index
          ⁢
          
            
          
          ⁢
          for
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          IF
        
        ⁢
        
          

        
        ⁢
        
          
            
              π
              j
            
            ⁡
            
              (
              k
              )
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          actual
          ⁢
          
            
          
          ⁢
          TI
          ⁢
          
            
          
          ⁢
          output
          ⁢
          
            
          
          ⁢
          memory
          ⁢
          
            -
          
          ⁢
          index
          ⁢
          
            
          
          ⁢
          for
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          IF
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          23
        
        ]
      
    
  




The following equations is another embodiment of the equation 19 represent the TDI memory index generation process which is applied to IF including a plurality of FEC blocks.




  
    
      
        
          
            
              
                
                  
                    for
                    ⁢
                    
                      
                    
                    ⁢
                    0
                  
                  ≤
                  j
                  ≤
                  
                    
                      N
                      
                        IF
                        ⁢
                        
                          
                        
                        ⁢
                        _
                        ⁢
                        
                          
                        
                        ⁢
                        NUM
                      
                    
                    -
                    1
                  
                
                ,
                
                  0
                  ≤
                  k
                  ≤
                  
                    
                      
                        N
                        r
                      
                      ⁢
                      
                        N
                        c
                      
                    
                    -
                    1
                  
                
              
              ⁢
              
                

              
              ⁢
              
                
              
              ⁢
              
                
                  
                    C
                    
                      cnt
                      ,
                      j
                    
                  
                  =
                  0
                
                ,
                
                  1
                  ≤
                  
                    S
                    
                      T
                      ,
                      j
                    
                  
                  <
                  
                    N
                    c
                  
                
              
              ⁢
              
                

              
              ⁢
              
                
              
              ⁢
              
                
                  
                    r
                    
                      j
                      ,
                      k
                    
                  
                  =
                  
                    mod
                    ⁡
                    
                      (
                      
                        k
                        ,
                        
                          N
                          r
                        
                      
                      )
                    
                  
                
                ,
                
                  

                
                ⁢
                
                  
                
                ⁢
                
                  
                    t
                    
                      j
                      ,
                      k
                    
                  
                  =
                  
                    mod
                    ⁡
                    
                      (
                      
                        
                          r
                          
                            j
                            ,
                            k
                          
                        
                        ,
                        
                          N
                          c
                        
                      
                      )
                    
                  
                
                ,
                
                  

                
                ⁢
                
                  
                
                ⁢
                
                  
                    c
                    
                      j
                      ,
                      k
                    
                  
                  =
                  
                    mod
                    ⁡
                    
                      (
                      
                        
                          
                            
                              S
                              
                                T
                                ,
                                j
                              
                            
                            ×
                            
                              t
                              
                                j
                                ,
                                k
                              
                            
                          
                          +
                          
                            ⌊
                            
                              k
                              
                                N
                                r
                              
                            
                            ⌋
                          
                        
                        ,
                        
                          N
                          c
                        
                      
                      )
                    
                  
                
              
              ⁢
              
                

              
              ⁢
              
                
              
              ⁢
              
                
                  
                    θ
                    j
                  
                  ⁡
                  
                    (
                    k
                    )
                  
                
                =
                
                  
                    
                      N
                      r
                    
                    ⁢
                    
                      c
                      
                        j
                        ,
                        k
                      
                    
                  
                  +
                  
                    r
                    
                      j
                      ,
                      k
                    
                  
                
              
              ⁢
              
                

              
              ⁢
              
                
              
              ⁢
              
                
                  if
                  ⁢
                  
                    
                  
                  ⁢
                  
                    
                      θ
                      j
                    
                    ⁡
                    
                      (
                      k
                      )
                    
                  
                
                ≤
                
                  
                    N
                    
                      
                        FEC
                        ⁢
                        
                          
                        
                        ⁢
                        _
                        ⁢
                        
                          
                        
                        ⁢
                        Size
                      
                      ,
                      j
                    
                  
                  ⁢
                  
                    N
                    
                      
                        FEC
                        ⁢
                        
                          
                        
                        ⁢
                        _
                        ⁢
                        
                          
                        
                        ⁢
                        NUM
                      
                      ,
                      j
                    
                  
                
              
              ⁢
              
                

              
              ⁢
              
                
              
              ⁢
              
                
                  
                    π
                    j
                  
                  ⁡
                  
                    (
                    
                      C
                      
                        cnt
                        ,
                        j
                      
                    
                    )
                  
                
                =
                
                  
                    θ
                    j
                  
                  ⁡
                  
                    (
                    k
                    )
                  
                
              
              ⁢
              
                

              
              ⁢
              
                
              
              ⁢
              
                
                  C
                  
                    cnt
                    ,
                    j
                  
                
                =
                
                  
                    C
                    
                      cnt
                      ,
                      j
                    
                  
                  +
                  1
                
              
              ⁢
              
                

              
              ⁢
              
                
              
              ⁢
              end
              ⁢
              
                

              
              ⁢
              end
              ⁢
              
                

              
              ⁢
              
                C
                
                  cnt
                  ,
                  j
                
              
              ⁢
              
                :
              
              ⁢
              
                
              
              ⁢
              counter
              ⁢
              
                
              
              ⁢
              of
              ⁢
              
                
              
              ⁢
              actual
              ⁢
              
                
              
              ⁢
              TDI
              ⁢
              
                
              
              ⁢
              output
              ⁢
              
                
              
              ⁢
              memory
              ⁢
              
                -
              
              ⁢
              index
              ⁢
              
                
              
              ⁢
              for
            
            ⁢
            
              
            
            ⁢
            
              

            
            ⁢
            
              
            
            ⁢
            
              the
              ⁢
              
                
              
              ⁢
              jth
              ⁢
              
                
              
              ⁢
              IF
            
            ⁢
            
              

            
            ⁢
            
              
                
                  θ
                  j
                  
                    -
                    1
                  
                
                ⁡
                
                  (
                  k
                  )
                
              
              ⁢
              
                :
              
              ⁢
              
                
              
              ⁢
              temporal
              ⁢
              
                
              
              ⁢
              TDI
              ⁢
              
                
              
              ⁢
              output
              ⁢
              
                
              
              ⁢
              memory
              ⁢
              
                -
              
              ⁢
              index
            
          
           
        
        ⁢
        
          
        
        ⁢
        
          

        
        ⁢
        
          for
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          IF
        
        ⁢
        
          

        
        ⁢
        
          
            M
            ⁡
            
              (
              
                
                  θ
                  j
                  
                    -
                    1
                  
                
                ⁡
                
                  (
                  k
                  )
                
              
              )
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          reserved
          ⁢
          
            
          
          ⁢
          cell
          ⁢
          
            
          
          ⁢
          value
          ⁢
          
            
          
          ⁢
          at
          ⁢
          
            
          
          ⁢
          
            
              θ
              j
              
                -
                1
              
            
            ⁡
            
              (
              k
              )
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            
              π
              j
              
                -
                1
              
            
            ⁡
            
              (
              k
              )
            
          
          ⁢
          
            :
          
          ⁢
          
            
          
          ⁢
          actual
          ⁢
          
            
          
          ⁢
          TDI
          ⁢
          
            
          
          ⁢
          output
          ⁢
          
            
          
          ⁢
          memory
          ⁢
          
            -
          
          ⁢
          index
        
        ⁢
        
          
        
        ⁢
        
          

        
        ⁢
        
          for
          ⁢
          
            
          
          ⁢
          the
          ⁢
          
            
          
          ⁢
          jth
          ⁢
          
            
          
          ⁢
          IF
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          24
        
        ]
      
    
  




The below equation represents a processing of calculating an optimum shift value to provide the maximum performance in a burst channel. The shift value according to an embodiment of the present invention is used to determine a TI pattern of reading operation and can be equal to a value of the diagonal slope.




  
    
      
        
          S
          T
        
        =
        
          
            
              
                N
                c
                ′
              
              -
              1
            
            2
          
          ⁢
          
            
          
          ⁢
          for
          ⁢
          
            
          
          ⁢
          
            {
            
              
                
                  
                    
                      
                        
                          N
                          c
                          ′
                        
                        =
                        
                          
                            N
                            c
                          
                          +
                          1
                        
                      
                      ,
                    
                  
                  
                    
                      
                        if
                        ⁢
                        
                          
                        
                        ⁢
                        
                          N
                          c
                        
                        ⁢
                        mod
                        ⁢
                        
                          
                        
                        ⁢
                        2
                      
                      =
                      0
                    
                  
                
                
                  
                    
                      
                        
                          N
                          c
                          ′
                        
                        =
                        
                          N
                          c
                        
                      
                      ,
                    
                  
                  
                    
                      
                        if
                        ⁢
                        
                          
                        
                        ⁢
                        
                          N
                          c
                        
                        ⁢
                        mod
                        ⁢
                        
                          
                        
                        ⁢
                        2
                      
                      =
                      1
                    
                  
                
              
              ⁢
              
                

              
              ⁢
              
                N
                c
              
              ⁢
              
                :
              
              ⁢
              
                
              
              ⁢
              column
              ⁢
              
                
              
              ⁢
              size
            
          
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          25
        
        ]
      
    
  




When a number of IF is 2, the size of FEC block in two Ifs is equal to 8 and a number of FECblocks in the first IF is 4 and a number of FECblocks in the second IF is 5, then the maximum value of row for TI may be 8 and the maximum number of column for TI may be 5. In this case, using the equation 25, the optimum shift value can be 2.
The below equation represents a processing of calculating an optimum shift value to provide the maximum performance in a burst channel.




  
    
      
        
          S
          T
        
        =
        
          
            
              
                N
                c
                ′
              
              -
              1
            
            2
          
          +
          
            1
            ⁢
            
              
            
            ⁢
            for
            ⁢
            
              
            
            ⁢
            
              {
              
                
                  
                    
                      
                        
                          
                            N
                            c
                            ′
                          
                          =
                          
                            
                              N
                              c
                            
                            +
                            1
                          
                        
                        ,
                      
                    
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          
                            N
                            c
                          
                          ⁢
                          mod
                          ⁢
                          
                            
                          
                          ⁢
                          2
                        
                        =
                        0
                      
                    
                  
                  
                    
                      
                        
                          
                            N
                            c
                            ′
                          
                          =
                          
                            N
                            c
                          
                        
                        ,
                      
                    
                    
                      
                        
                          if
                          ⁢
                          
                            
                          
                          ⁢
                          
                            N
                            c
                          
                          ⁢
                          mod
                          ⁢
                          
                            
                          
                          ⁢
                          2
                        
                        =
                        1
                      
                    
                  
                
                ⁢
                
                  

                
                ⁢
                
                  
                
                ⁢
                
                  N
                  c
                
                ⁢
                
                  
                
                ⁢
                
                  :
                
                ⁢
                
                  
                
                ⁢
                column
                ⁢
                
                  
                
                ⁢
                size
              
            
          
        
      
    
    
      
        [
        
          Equation
          ⁢
          
            
          
          ⁢
          26
        
        ]
      
    
  




When a number of IF is 2, the size of FEC block in two Ifs is equal to 8 and a number of FEC blocks in the first IF is 4 and a number of FEC blocks in the second IF is 5, then the maximum value of row for TI may be 8 and the maximum number of column for TI may be 5. In this case, using the equation 26, the optimum shift value can be 3.
FIG. 51 illustrates IF interleaving according to an embodiment of the present invention.
IF interleaving according to an embodiment of the present invention is for a variable data-rate transmission system, and maintains the same pattern for the aforementioned diagonal-wise reading and performs a skip operation for virtual FEC blocks in an embodiment.
When IFs include different number of FEC blocks, as shown in the figure, the same IF interleaving (or twisted block interleaving) can be determined and applied.
Accordingly, the receiver can perform IF deinterleaving using a single memory.
Hereinafter, a time interleaver according another embodiment of the present invention will be described. The time interleaver according another embodiment of the present invention may include a convolutional interleaver and a block interleaver. The convolutional interleaver according to an embodiment of the present invention can perform inter-frame interleaving which is applied to between different TI blocks. The block interleaver according to an embodiment of the present invention can perform intra-frame interleaving which is applied in a TI block. Also, The block interleaver according to an embodiment of the present invention can perform an interleaving described in FIG. 30-FIG. 50.
The time interleaver according another embodiment of the present invention can increase time diversity by using the concatenated inter-frame interleaving and intar-frame interleaving. The details will be described.
A description will be given of convolutional interleaving (CI) as an embodiment of inter-frame interleaving.
CI according to an embodiment of the present invention can be defined as interleaving of IFs. Each IF can be divided into interleaving units (IUs).
For virtual IUs from among output IFs of CI according to an embodiment of the present invention, start-skip operation and stop-skip operation can be applied.
FIG. 52 illustrates CI according to an embodiment of the present invention.
FIG. 52 shows CI in consideration of constant data-rate transmission.
Blocks shown in the left part of the figure indicate IFs corresponding to CI input. The figure shows an embodiment in which 4 IFs are present.
A block shown in the middle part of the figure indicates a register block in a convolutional interleaver for performing CI. The size of the register block according to an embodiment of the present invention can be determined using the aforementioned IU as a basic unit. The figure shows the register block when the number of IUs is 3.
Blocks shown in the right part of the figure indicate IFs corresponding to CI output. In initial operation of CI, some IUs in the register block are not completely filled, and thus a dummy IU may be output. For this dummy IU, the aforementioned start-skip operation can be performed. A dummy IU according to an embodiment of the present invention may be referred to as a virtual IU.
In final operation of CI, since some IUs in the register block is not fully filled, a dummy IU may be output. For this dummy IU, end-skip operation can be performed.
FIG. 53 illustrates CI according to another embodiment of the present invention.
FIG. 53 shows CI considering variable data-rate transmission.
Blocks shown in the left of the figure indicate IFs corresponding to CI input. The figure illustrates an embodiment in which the number of IFs is 3.
An IF size according to an embodiment of the present invention is determined by a maximum IF size, and the determined IF size can be maintained in an embodiment. Further, a memory of CI can be determined according to the IU size.
The right of the figure shows a register block in a convolutional interleaver for performing CI.
The size of the register block for CI can be determined on the basis of a largest IU from among IUs obtained when each IF block is divided into IUs. This figure shows a case in which the number of IUs is 3.
In initial CI operation, some IUs in the register block are not fully filled, and thus a dummy IU may be output. For this dummy IU, the aforementioned start-skip operation can be performed.
In final operation of CI, since some IUs in the register block are not completely filled, a dummy IU may be output. For this dummy IU, end-skip operation can be performed.
FIG. 54 illustrates output IFs of CI according to an embodiment of the present invention.
FIG. 54 shows IFs corresponding to output of CI described with reference to FIG. 53. Blocks indicated by x in IUs are virtual IUs and can be ignored by the aforementioned start-skip operation and end-skip operation.
FIG. 55 illustrates a time interleaver according to another embodiment of the present invention.
As above described, the time interleaver according to another embodiment of the present invention may include a convolutional interleaver and a block interleaver. The convolutional interleaver according to an embodiment of the present invention can perform CI described above with reference to FIGS. 51, 52 and 53 and the block interleaver according to an embodiment of the present invention can perform interleaving, described with reference to FIGS. 26 to 50, on IFs output from the convolutional interleaver. The block interleaver according to an embodiment of the present invention may be referred to as a twisted block interleaver.
The positions and names of the convolutional interleaver and the block interleaver may be changed according to intention of the designer.
FIG. 56 illustrates operation of the block interleaver according to an embodiment of the present invention.
The block interleaver according to an embodiment of the present invention can perform interleaving, described above with reference to FIGS. 26 to 50, on IFs output from the convolutional interleaver.
The block interleaver according to an embodiment of the present invention can perform start-skip operation and end-skip operation on CI output and continuously stack data in IUs in the vertical direction so as to obtain IF blocks. The present figure shows a case in which 3 IFs are acquired. Subsequently, the block interleaver can perform the aforementioned diagonal reading of the IF blocks. As described above, cells of a virtual FEC block in the IF blocks can be ignored by skip operation.
FIG. 57 illustrates operation of the block interleaver according to another embodiment of the present invention.
The block interleaver according to an embodiment of the present invention can perform start-skip operation and end-skip operation on CI output and continuously stack data in IUs in the horizontal direction so as to obtain IF blocks. Subsequently, the block interleaver can perform diagonal reading of the IF blocks. As described above, cells of a virtual FEC block in the IF blocks can be ignored by skip operation.
FIG. 58 illustrates a time deinterleaver according to another embodiment of the present invention.
The time deinterleaver according to another embodiment of the present invention may include a block deinterleaver and a convolutional deinterleaver. The time deinterleaver according to another embodiment of the present invention can perform operation corresponding to a reverse of operation of the time interleaver described above with reference to FIG. 56. That is, the block deinterleaver according to an embodiment of the present invention can perform a reverse of interleaving described above with reference to FIGS. 26 to 50 and the convolutional deinterleaver according to an embodiment of the present invention can perform a reverse of CI described above with reference to FIGS. 51, 52 and 53. The block deinterleaver according to an embodiment of the present invention may be referred to as a twisted block deinterleaver.
The positions and names of the block deinterleaver and the convolutional deinterleaver may be changed according to intention of the designer.
Input/output operations of the convolutional interleaver according to an embodiment of the present invention can be performed on the basis of the aforementioned IF. Each IF can be divided into IUs and input to the convolutional interleaver. In this case, the size of an FEC block of the IF can be assigned corresponding to an integer multiple of the number of IUs. Such assignment process can effectively reduce burden of processing necessary for deinterleaving of the receiver.
FIG. 59 illustrates CI according to another embodiment of the present invention.
Blocks shown in the left part of the figure indicate IFs corresponding to CI input. The figure shows an embodiment in which 3 IFs are present.
A block shown in the middle part of the figure indicates a register block in a convolutional interleaver for performing CI. The size of the register block according to an embodiment of the present invention can be determined using the aforementioned IU as a basic unit. The figure shows the register block when the number of IUs is 3.
Blocks shown in the right part of the figure indicate IFs corresponding to CI output.
FIG. 60 illustrates interface processing between the convolutional interleaver and the block interleaver according to an embodiment of the present invention.
As shown in the figure, interface processing corresponds to post-processing of CI and pre-processing of block interleaving.
Interface processing according to an embodiment of the present invention can be composed of skip operation and parallel-to-serial operation. Skip operation can be performed on virtual FEC blocks in IFs corresponding to output of the convolutional interleaver and parallel-to-serial operation can be performed on FEC blocks on which skip operation has been performed. Particularly, skip operation can effectively reduce burden of processing necessary for deinterleaving of the receiver.
FIG. 61 illustrates block interleaving according to another embodiment of the present invention.
Block interleaving can be performed on output data of the aforementioned interface processing. Specifically, block interleaving is performed as described above with reference to FIGS. 26 to 50.
FIG. 62 illustrates the concept of a variable bit-rate system according to an embodiment of the present invention.
The variable bit-rate system according to an embodiment of the present invention is another embodiment of the aforementioned variable data-rate system.
Specifically, a transport superframe, shown in FIG. 62, is composed of NTI_NUM TI groups and each TI group can include NBLOCK_TI FEC blocks.
In this case, TI groups may respectively include different numbers of FEC blocks. The TI group according to an embodiment of the present invention can be defined as a block for performing time interleaving and can be used in the same meaning as the aforementioned TI block or IF. That is, one IF can include at least one TI block and the number of FEC blocks in the TI block is variable.
Details are as described with reference to FIGS. 36 and 48.
When TI groups include different numbers of FEC blocks, the present invention performs interleaving on the TI groups using one twisted row-column block interleaving rule in an embodiment. Accordingly, the receiver can perform deinterleaving using a single memory.
A description will be given of an input FEC block memory arrangement method and reading operation of the time interleaver in consideration of variable bit-rate (VBR) transmission in which the number of FEC blocks can be changed per TI group.
FIG. 63 illustrates writing and reading operations of block interleaving according to an embodiment of the present invention.
FIG. 63 corresponds to another embodiment of the operation shown in FIG. 26 and thus detailed description thereof is omitted.
FIG. 64 shows equations representing block interleaving according to an embodiment of the present invention.
The equations shown in the figure represent block interleaving applied per TI group. As expressed by the equations, shift values can be respectively calculated in a case in which the number of FEC blocks included in a TI group is an odd number and a case in which the number of FEC blocks included in a TI group is an even number. That is, block interleaving according to an embodiment of the present invention can calculate a shift value after making the number of FEC blocks be an odd-number.
A time interleaver according to an embodiment of the present invention can determine parameters related to interleaving on the basis of a TI group having a maximum number of FEC blocks in the corresponding superframe. Accordingly, the receiver can perform deinterleaving using a single memory.
Here, for a TI group having a smaller number of FEC blocks than the maximum number of FEC blocks, virtual FEC blocks corresponding to a difference between the number of FEC blocks and the maximum number of FEC blocks can be added.
Virtual FEC blocks according to an embodiment of the present invention can be inserted before actual FEC blocks. Subsequently, the time interleaver according to an embodiment of the present invention can perform interleaving on the TI groups using one twisted row-column block interleaving rule in consideration of the virtual FEC blocks. In addition, the time interleaver according to an embodiment of the present invention can perform the aforementioned skip operation when a memory-index corresponding to virtual FEC blocks is generated during reading operation. In the following writing operation, the number of FEC blocks of input TI groups is matched to the number of FEC blocks of output TI groups. Consequently, according to time interleaving according to an embodiment of the present invention, loss of data rate of data actually transmitted may be prevented through skip operation even if virtual FEC blocks are inserted in order to perform efficient single-memory deinterleaving in the receiver.
FIG. 65 illustrates virtual FEC blocks according to an embodiment of the present invention.
The left side of the figure shows parameters indicating a maximum number of FEC blocks in a TI group, the actual number of FEC blocks included in a TI group and a difference between the maximum number of FEC blocks and the actual number of FEC blocks, and equations for deriving the number of virtual FEC blocks.
The right side of the figure shows an embodiment of inserting virtual FEC blocks into a TI group. In this case, the virtual FEC blocks can be inserted before actual FEC blocks, as described above.
FIG. 66 shows equations representing reading operation after insertion of virtual FEC blocks according to an embodiment of the present invention.
Skip operation illustrated in the figure can skip virtual FEC blocks in reading operation.
FIG. 67 is a flowchart illustrating a time interleaving process according to an embodiment of the present invention.
A time interleaver according to an embodiment of the present invention can setup initial values (S67000).
Then, the time interleaver according to an embodiment of the present invention can perform writing operation on actual FEC blocks in consideration of virtual FEC blocks (S67100).
The time interleaver according to an embodiment of the present invention can generate a temporal TI address (S67200).
Subsequently, the time interleaver according to an embodiment of the present invention can evaluate the availability of the generated TI reading address (S67300). Then, the time interleaver according to an embodiment of the present invention can generate a final TI reading address (S67400).
The time interleaver according to an embodiment of the present invention can read the actual FEC blocks (S67500).
FIG. 68 shows equations representing a process of determining a shift value and a maximum TI block size according to an embodiment of the present invention.
The figure shows an embodiment in which the number of TI groups is 2, the number of cells in a TI group is 30, the number of FEC blocks included in the first TI group is 5 and the number of FEC blocks included in the second TI block is 6. While a maximum number of FEC blocks is 6, 6 is an even number. Accordingly, a maximum number of FEC blocks, which is adjusted in order to obtain the shift value, can be 7 and the shift value can be calculated as 4.
FIGS. 69, 70 and 71 illustrate a TI process of the embodiment shown in FIG. 68.
FIG. 69 illustrates writing operation according to an embodiment of the present invention.
FIG. 69 shows writing operation for the two TI groups described with reference to FIG. 68.
A block shown in the left side of the figure represents a TI memory address array and blocks shown in the right side of the figure illustrate writing operation when two virtual FEC blocks and one virtual FEC block are respectively inserted into two continuous TI groups. Since the adjusted maximum number of FEC blocks is 7, as described above, two virtual FEC blocks are inserted into the first TI group and one virtual FEC block is inserted into the second TI group.
FIG. 70 illustrates reading operation according to an embodiment of the present invention.
A block shown in the left side of the figure represents a TI memory address array and blocks shown in the right side of the figure illustrate reading operation when two virtual FEC blocks and one virtual FEC block are respectively inserted into two continuous TI groups. In this case, reading operation can be performed on the virtual FEC blocks in the same manner as the reading operation performed on actual FEC blocks.
FIG. 71 illustrates a result of skip operation in reading operation according to an embodiment of the present invention.
As shown in the figure, virtual FEC blocks can be skipped in two TI groups.
FIGS. 72 and 73 illustrate time deinterleaving corresponding to a reverse of TI described with reference to FIGS. 68 to 71. Specifically, FIG. 72 illustrates time deinterleaving for the first TI group and FIG. 73 illustrates time deinterleaving for the second TI group.
FIG. 72 shows a writing process of time deinterleaving according to an embodiment of the present invention.
In this case, the parameters described with reference to FIG. 68 can be equally applied.
A left block in the figure shows a TI memory address array, a middle block shows the first TI group input to a time deinterleaver and a right block shows a writing process performed in consideration of virtual FEC blocks that are skipped with respect to the first TI group.
As shown in the figure, two virtual FEC blocks skipped during TI can be restored for correct reading operation in the writing process. In this case, the positions and quantity of the skipped two virtual FEC blocks can be estimated through an arbitrary algorithm.
FIG. 73 illustrates a writing process of time deinterleaving according to another embodiment of the present invention.
A left block in the figure shows a TI memory address array, a middle block shows the second TI group input to the time deinterleaver and a right block shows a writing process performed in consideration of virtual FEC blocks that are skipped with respect to the second TI group.
As shown in the figure, one virtual FEC block skipped during TI can be restored for correct reading operation in the writing process. In this case, the position and quantity of the skipped one virtual FEC block can be estimated through an arbitrary algorithm.
FIG. 74 shows equations representing reading operation of time deinterleaving according to another embodiment of the present invention.
A TDI shift value used in the receiver can be determined by a shift value used in the transmitter, and skip operation can skip virtual FEC blocks in reading operation, similarly to skip operation performed in the transmitter.
FIG. 75 is a flowchart illustrating a time deinterleaving process according to an embodiment of the present invention.
A time deinterleaver according to an embodiment of the present invention can setup initial values (S75000).
Then, the time deinterleaver according to an embodiment of the present invention can perform writing operation on actual FEC blocks in consideration of virtual FEC blocks (S75100).
Subsequently, the time deinterleaver according to an embodiment of the present invention can generate a temporal TDI reading address (S75200).
The time deinterleaver according to an embodiment of the present invention can evaluate the availability of the generated TDI reading address (S75300). Then, the time deinterleaver according to an embodiment of the present invention can generate a final TDI reading address (S75400).
Subsequently, the time deinterleaver according to an embodiment of the present invention can read the actual FEC blocks (S75500).
FIG. 76 is a flowchart illustrating a method for receiving broadcast signals according to an embodiment of the present invention.
The apparatus for receiving broadcast signals according to an embodiment of the pre sent invention may perform a reverse process of transmitting broadcast signals which is described in FIG. 1 to FIG. 8 and FIG. 10 to FIG. 29.
The apparatus for receiving broadcast signals according to an embodiment of the pre sent invention or a receiver can receive broadcast signals (S76000).
Then the apparatus for receiving broadcast signals according to an embodiment of the present invention or a synchronization & demodulation module in the apparatus for receiving broadcast signals can demodulate the received broadcast signals using an OFDM (Orthogonal Frequency Division Multiplexing) scheme (S76100). Details are as described in FIG. 9.
The apparatus for receiving broadcast signals according to an embodiment of the present invention or the frame parsing module can parse at least one signal frame from the demodulated broadcast signals (S76200). Details are as described in FIG. 9. In this case, the signal frame includes service data corresponding to each of a plurality of physical paths. As described above, a physical path is a logical channel in the physical layer that carries service data or related metadata, which may carry one or multiple service(s) or service component(s) and the title can be changed according to designer's intention. The physical path according to an embodiment of the present invention is equal to the DP which is described above. The detailed process of encoding is as described in FIG. 1 to FIG. 29.
Subsequently, the apparatus for receiving broadcast signals according to an embodiment of the present invention or the demapping & decoding module or the time deinterleaver can time-deinterleave service data in each physical path by a TI (Time Interleaving) block (S76300). The time deinterleaving according an embodiment of the present invention further includes inserting at least one virtual FEC block into at least one TI block of the service data and each TI block includes a variable number of FEC blocks of the service data. In this situation, a number of the at least one virtual FEC block is defined based on a maximum number of FEC blocks of a TI block. As described above, the time deinterleaving is equal to a reverse process of the time interleaving described in FIG. 25 to FIG. 75.
Then, the apparatus for receiving broadcast signals according to an embodiment of the present invention or the demapping & decoding module can decode the time deinterleaved service data (S76400). Details are as described in FIG. 9.
It will be appreciated by those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the inventions. Thus, it is intended that the present invention covers the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.
Both apparatus and method inventions are mentioned in this specification and descriptions of both of the apparatus and method inventions may be complementarily applicable to each other.
A module, a unit or a block according to embodiments of the present invention is a processor/hardware executing a sequence of instructions stored in a memory (or storage unit). The steps or the methods in the above described embodiments can be operated in/by hardwares/processors. In addition, the method of the present invention may be implemented as a code that may be written on a processor readable recording medium and thus, read by the processors provided in the apparatus according to embodiments of the present invention.

## Claims

1. A method for receiving broadcast signals, the method comprising:
receiving the broadcast signals;
demodulating the received broadcast signals by an OFDM (Orthogonal Frequency Division Multiplex) scheme;
parsing a signal frame from the demodulated broadcast signals, wherein the signal frame includes service data corresponding to each of a plurality of physical paths, wherein the service data is time interleaved data by a TI (Time Interleaving) block in each physical path;
time deinterleaving the service data in the each physical path, the time deinterleaving comprising:
diagonal-wise writing data corresponding to a TI block of the service data based on positions of virtual cells which are located in front of a number of FEC blocks in the TI block and the virtual cells are skipped during a reading operation of a time interleaving; and
column-wise reading out the written data corresponding to the number of FEC blocks; and
decoding the time deinterleaved service data.

2. The method of claim 1, wherein the time deinterleaving further includes:
diagonal-wise writing other data corresponding to different TI block simultaneously during the column-wise reading out the written data.

3. The method of claim 2, wherein the diagonal-wise writing the at least one TI block into a memory further includes:
calculating the positions of the virtual cells.

4. The method of claim 1, wherein a number of the at least one virtual FEC block having the virtual cells in the TI block is denoted by a difference between the maximum number of FEC blocks and the number of FEC blocks in the TI block.

5. An apparatus for receiving broadcast signals, the apparatus comprising:
a receiver to receive the broadcast signals;
a demodulator to demodulate the received broadcast signals by an OFDM (Orthogonal Frequency Division Multiplex) scheme;
a frame parser to parse a signal frame from the demodulated broadcast signals, wherein the signal frame includes service data corresponding to each of a plurality of physical paths, wherein the service data is time interleaved data by a TI (Time Interleaving) block in each physical path;
a time deinterleaver to time deinterleave the service data in the each physical path, wherein the time deinterleaver further diagonal-wise writes data corresponding to a TI block of the service data based on positions of virtual cells which are located in front of a number of FEC blocks in the TI block and the virtual cells are skipped during a reading operation of a time interleaving and column-wise read out the written data corresponding to the number of FEC block; and
a decoder to decode the time deinterleaved service data.

6. The apparatus of claim 5, wherein the time deinterleaver further diagonal-wise writes other data corresponding to different TI block simultaneously during the column-wise reading out the written data.

7. The apparatus of claim 6, wherein the diagonal-wise writing the at least one TI block into a memory further includes:
calculating the positions of the virtual cells.

8. The apparatus of claim 5, wherein a number of the at least one virtual FEC block having the virtual cells in the TI block is denoted by a difference between a maximum number of FEC blocks and the number of FEC blocks in the TI block.