KR20010002657A - Method for channel distortion compensating - Google Patents

Method for channel distortion compensating Download PDF

Info

Publication number
KR20010002657A
KR20010002657A KR1019990022565A KR19990022565A KR20010002657A KR 20010002657 A KR20010002657 A KR 20010002657A KR 1019990022565 A KR1019990022565 A KR 1019990022565A KR 19990022565 A KR19990022565 A KR 19990022565A KR 20010002657 A KR20010002657 A KR 20010002657A
Authority
KR
South Korea
Prior art keywords
value
channel
difference
equalizer
maximum
Prior art date
Application number
KR1019990022565A
Other languages
Korean (ko)
Other versions
KR100290854B1 (en
Inventor
남호준
Original Assignee
구자홍
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 구자홍, 엘지전자 주식회사 filed Critical 구자홍
Priority to KR1019990022565A priority Critical patent/KR100290854B1/en
Priority to US09/476,793 priority patent/US6515713B1/en
Publication of KR20010002657A publication Critical patent/KR20010002657A/en
Application granted granted Critical
Publication of KR100290854B1 publication Critical patent/KR100290854B1/en

Links

Classifications

    • AHUMAN NECESSITIES
    • A23FOODS OR FOODSTUFFS; TREATMENT THEREOF, NOT COVERED BY OTHER CLASSES
    • A23NMACHINES OR APPARATUS FOR TREATING HARVESTED FRUIT, VEGETABLES OR FLOWER BULBS IN BULK, NOT OTHERWISE PROVIDED FOR; PEELING VEGETABLES OR FRUIT IN BULK; APPARATUS FOR PREPARING ANIMAL FEEDING- STUFFS
    • A23N12/00Machines for cleaning, blanching, drying or roasting fruits or vegetables, e.g. coffee, cocoa, nuts
    • A23N12/02Machines for cleaning, blanching, drying or roasting fruits or vegetables, e.g. coffee, cocoa, nuts for washing or blanching
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47JKITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
    • A47J43/00Implements for preparing or holding food, not provided for in other groups of this subclass
    • A47J43/24Devices for washing vegetables or the like

Abstract

PURPOSE: A method for compensating channel distortion is provided to detect and remove moving ghost inserted into inputted signal and to execute equalizing using data part as well as training sequence if moving ghost is inserted into inputted signal. CONSTITUTION: A method for compensating channel distortion includes several steps. The first step is to calculate DC value from inputted data and read the DC value predetermined times periodically and detect maximum and minimum and store them.(406) The second step is to move values of memories one by one and to store the minimum in the last memory.(407,408) The third step is to determine whether difference between the maximum and the minimum is larger than predetermined first threshold value(409). If the difference between the maximum and the minimum is smaller than predetermined first threshold value, a fourth step is to determine whether difference between values stored in the memories and maximum is larger than prescribe second threshold value.(412) If the difference between the maximum and the minimum is larger than predetermined first threshold value or if the difference between values stored in the memories and maximum is larger than prescribe second threshold value, a fifth step is to determine that there is moving ghost on channel and execute equalizing as data mode.

Description

채널 왜곡 보상 방법{Method for channel distortion compensating}Method for channel distortion compensating

본 발명은 디지털 텔레비전(Digital Television ; DTV)의 송수신에 관한 것으로서, 특히 방송국에서 송출한 신호를 수신하는 과정에서 삽입된 움직임 고스트(Moving Ghost)를 제거하는 채널 왜곡 보상 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the transmission and reception of digital televisions (DTVs), and more particularly, to a method for compensating for channel distortion by removing moving ghosts inserted in a process of receiving a signal transmitted from a broadcasting station.

통상, DTV 시스템은 수신된 신호에 채널상에서 발생된 고스트 신호가 섞여있으면 등화기를 이용하여 제거한다.In general, a DTV system removes a received signal using an equalizer if the received signal contains a ghost signal generated on a channel.

즉, DTV 시스템에는 수신기에서의 등화를 도와주기 위하여 매 필드마다 필드 동기(Field Sync) 구간에 트레이닝 시퀀스(Training Sequence)를 실어 보낸다. 따라서, 수신기에서는 이 트레이닝 시퀀스를 이용하여 채널상에서 발생한 왜곡을 보상한다.That is, in order to help equalization in the receiver, the DTV system carries a training sequence in a field sync section in every field. Therefore, the receiver uses this training sequence to compensate for distortion occurring on the channel.

도 1은 일반적인 DTV의 1 프레임(frame) 구조를 보이고 있으며, 도 2는 필드 동기의 구조를 보다 자세히 보여주고 있다.1 shows a structure of one frame of a general DTV, and FIG. 2 shows a structure of field synchronization in more detail.

여기서, 1 데이터 세그먼트를 먼저 살펴보면, 4 심볼의 데이터 세그먼트 동기 신호와 828 심볼의 데이터로 구성된다. 그리고, 필드(Field)는 313 데이터 세그먼트로 이루어지는데, 313 데이터 세그먼트는 트레닝 시퀀스(Training sequence) 신호가 포함되어 있는 하나의 필드 동기 세그먼트와 312의 일반 데이터 세그먼트로 이루어진다.Here, one data segment will be described first, and is composed of a data segment synchronization signal of 4 symbols and data of 828 symbols. A field consists of 313 data segments, and the 313 data segment consists of one field sync segment and a 312 general data segment including a training sequence signal.

이때, 하나의 필드 동기 신호는 도 2에 도시된 바와 같이, 1 데이터 세그먼트 길이로 이루어지며, 처음 4개의 심볼(symbol)에 데이터 세그먼트 동기 패턴이 존재하고, 그 다음에 유사 랜덤 시퀀스(Pseudo Random Sequence)인 PN 511, PN 63, PN 63, PN 63이 존재하며 그 다음 24 심볼에는 VSB 모드 관련 정보가 존재한다. 여기서, 세 개의 PN 63 구간 중 두 번째 PN 63은 매번 극성이 바뀐다. 즉, '1'은 '0'으로, '0'은 '1'로 바뀐다. 따라서, 두 번째 PN 63의 극성에 따라 짝수(even)/홀수(odd) 필드로 나눌 수 있다.In this case, as shown in FIG. 2, one field sync signal has a length of one data segment, a data segment sync pattern exists in the first four symbols, and then a pseudo random sequence. ), PN 511, PN 63, PN 63, and PN 63 exist, and the next 24 symbols include VSB mode related information. Here, the second PN 63 of the three PN 63 section is changed in polarity every time. That is, '1' is changed to '0' and '0' is changed to '1'. Therefore, it may be divided into even / odd fields according to the polarity of the second PN 63.

도 3은 움직임 고스트가 없는 일반적인 채널을 모델링(Modelling)한 것이다. 보통의 경우 즉, 채널상에 움직임 고스트가 존재하지 않는 경우에 HDTV 수신기에서는 도 3과 같이 (원 신호(original signal) + 고스트 신호(ghost signal))을 수신하게 된다.3 is a modeling of a general channel without a motion ghost. In general, that is, when there is no motion ghost on the channel, the HDTV receiver receives (original signal + ghost signal) as shown in FIG. 3.

이렇게 채널상에서 실려 들어온 고스트는 수신기의 등화기 부분에서 필드 동기에 실려있는 도 2와 같은 트레이닝 시퀀스를 이용하여 제거한다.The ghosts carried on the channel are removed using the training sequence shown in FIG. 2 loaded in the field synchronization in the equalizer portion of the receiver.

이때, 도 3과 같이 움직임 고스트가 없는 일반적인 경우 고스트 신호는 HDTV 수신기의 입장에서 보면 언제나 거의 일정하기 때문에 수신기는 매 필드 동기에 실려있는 트레이닝 시퀀스만 가지고도 충분히 고스트를 제거할 수 있게 된다.In this case, as shown in FIG. 3, the ghost signal is almost always constant from the standpoint of the HDTV receiver. Therefore, the receiver can sufficiently remove the ghost even with the training sequence included in every field synchronization.

그러나, 도 4에서와 같이 채널 상에 움직임 고스트가 실리는 경우에는 고스트의 상태가 매 순간 변하고 있기 때문에 예를 들어, 도 4에서 보는 바와 같이 비행기에 의해 발생된 움직임 고스트는 1 -> 2 -> 3의 순서로 변하기 때문에 매 필드마다의 트레이닝 시퀀스만으로는 효과적으로 고스트를 제거하지 못한다.However, when the motion ghost is loaded on the channel as shown in FIG. 4, since the state of the ghost is changed every moment, for example, as shown in FIG. 4, the motion ghost generated by the plane is 1-> 2-> Because they change in the order of 3, the training sequence for each field alone does not effectively eliminate ghosts.

즉, 트레이닝 시퀀스만으로 채널상에서 발생한 고스트를 제거하던 종래의 방법으로는 채널 상에 움직임 고스트가 있는 경우 효과적으로 대처할 수 없어 수신기에서는 수신한 그림이 깨어지는 등 시스템의 성능 저하를 가져오는 문제점이 있다.In other words, the conventional method of removing ghosts generated on a channel using only a training sequence cannot effectively cope with movement ghosts on a channel, resulting in a performance degradation of a system such as a broken picture received by a receiver.

따라서, 이러한 문제점을 해결하기 위한 특허(출원번호 : 98-62826)가 본 출원인에 의해 제안된 바 있다.Therefore, a patent (application number: 98-62826) has been proposed by the present applicant to solve this problem.

본 발명은 상기 특허를 보완한 것이다.The present invention complements the above patent.

본 발명의 목적은 수신된 신호에 삽입되는 움직임 고스트를 검출하여 제거하는 채널 왜곡 보상 방법을 제공함에 있다.An object of the present invention is to provide a channel distortion compensation method for detecting and removing a motion ghost inserted into a received signal.

본 발명의 다른 목적은 수신된 신호에 슬로우(slow)하게 움직이는 움직임 고스트가 삽입되어도 이를 검출하여 제거하는 채널 왜곡 보상 방법을 제공함에 있다.Another object of the present invention is to provide a method for compensating for channel distortion that detects and removes a slow moving motion ghost in a received signal.

본 발명의 또 다른 목적은 수신된 신호에 움직임 고스트가 삽입되었을 경우 트레이닝 시퀀스이외에 데이터 부분도 같이 이용하여 등화를 수행하는 채널 왜곡 보상 방법을 제공함에 있다.It is still another object of the present invention to provide a method for compensating for channel distortion by performing equalization using a data part in addition to a training sequence when a motion ghost is inserted into a received signal.

도 1은 일반적인 VSB 데이터 프레임 구조를 나타낸 도면1 illustrates a typical VSB data frame structure

도 2는 도 1의 데이터 필드 동기 부분의 구성을 보인 도면FIG. 2 is a diagram showing the configuration of the data field synchronization portion of FIG.

도 3은 움직임 고스트가 없는 일반적인 채널을 모델링한 도면3 is a model of a general channel without motion ghost

도 4는 움직임 고스트가 있는 일반적인 채널을 모델링한 도면4 is a model of a typical channel with a motion ghost

도 5는 본 발명에 따른 채널 왜곡 보상 장치를 나타낸 구성 블록도5 is a block diagram showing a channel distortion compensation device according to the present invention

도 6은 도 5의 등화기의 상세 블록도6 is a detailed block diagram of the equalizer of FIG.

도 7a, 도 7b는 본 발명의 실시예에 따른 채널 왜곡 보상 방법을 수행하기 위한 흐름도7A and 7B are flowcharts for performing a channel distortion compensation method according to an embodiment of the present invention.

도 8의 (a) 내지 (d)는 도 6의 슬라이서 내부를 나타낸 도면8A to 8D are views illustrating the slicer interior of FIG. 6.

도 9의 (a) 내지 (c)는 도 6에서의 블라인드 등화 방식을 나타낸 도면9 (a) to 9 (c) show a blind equalization scheme in FIG.

도 10은 본 발명의 다른 실시예에 따른 채널 왜곡 보상 방법을 수행하기 위한 흐름도10 is a flowchart for performing a channel distortion compensation method according to another embodiment of the present invention.

도 11은 본 발명의 또 다른 실시예에 따른 채널 왜곡 보상 방법을 수행하기 위한 흐름도11 is a flowchart for performing a channel distortion compensation method according to another embodiment of the present invention.

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

100 : 마이콤 101 : 튜너100: Micom 101: Tuner

102 : 복조부 103 : 리셋부102: demodulation unit 103: reset unit

200 : 채널 디코딩부 201 : A/D 컨버터200: channel decoding unit 201: A / D converter

202 : 동기 검출부 203 : VSB 모드 검출부202: Sync detector 203: VSB mode detector

204 : 입력 MSE 계산부 205 : DC 계산부204: input MSE calculator 205: DC calculator

206 : 등화기 207 : 출력 MSE 계산부206: equalizer 207: output MSE calculation unit

상기와 같은 목적을 달성하기 위한 본 발명에 따른 채널 왜곡 보상 방법은, 입력되는 데이터로부터 DC값을 계산하고 일정 주기로 소정 횟수동안 상기 DC값을 읽어 와 그 중 최대값과 최소값을 검출하여 저장하는 단계와, 다수개의 메모리로 이루어지며 상기 메모리들의 값을 하나씩 이동시키면서 마지막으로 남은 메모리에 상기 최소값을 저장하는 단계와, 상기 단계에서 저장한 최대값과 최소값의 차가 미리 정한 제 1 임계값보다 큰지를 비교하는 단계와, 상기 단계에서 최대값과 최소값의 차가 제 1 임계값보다 작다고 판별되면 상기 다수개의 메모리에 저장된 값들을 현재 읽어서 검출된 최대값과 각각 비교하여 그 차가 미리 정한 제 2 임계값보다 큰지를 판별하는 단계와, 상기 단계에서 최대값과 최소값의 차가 제 1 임계값보다 크거나 상기 단계에서 메모리들에 저장된 값과 현재 읽어서 검출된 최대값의 차가 제 2 임계값보다 크다고 판별되면 채널 상에 움직임 고스트가 존재한다고 판단하여 데이터 모드로 등화를 수행하는 단계를 포함하여 이루어지는 것을 특징으로 한다.The channel distortion compensation method according to the present invention for achieving the above object, the step of calculating the DC value from the input data, reading the DC value for a predetermined number of times at a predetermined period and detecting and storing the maximum value and the minimum value among them; And a step of storing the minimum value in the last remaining memory while moving the values of the memories one by one, and comparing whether the difference between the maximum value and the minimum value stored in the step is greater than a first predetermined threshold value. And if it is determined that the difference between the maximum value and the minimum value is smaller than the first threshold value, comparing the values stored in the plurality of memories with the currently detected maximum value, respectively, to determine whether the difference is greater than the second predetermined threshold value. Determining a difference between the maximum value and the minimum value in the step that is greater than or equal to the first threshold value. And determining that a motion ghost exists on the channel if it is determined that the difference between the value stored in the memories and the maximum value detected by the current reading is greater than the second threshold value, and performing equalization in the data mode.

입력되는 신호에 포함된 동기 신호를 검출하지 못하면 수신되는 데이터를 복조하는 복조부와 상기 등화기가 포함되는 채널 디코딩부를 리셋시키는 것을 특징으로 한다.If the synchronization signal included in the input signal is not detected, the demodulator for demodulating the received data and the channel decoder including the equalizer are reset.

상기 등화기에서 등화된 신호의 평균 제곱 오차(MSE) 값이 신호 파워보다 크다고 판별되면 수신되는 데이터를 복조하는 복조부와 상기 등화기가 포함되는 채널 디코딩부를 리셋시키는 것을 특징으로 한다.When the equalizer determines that the average square error (MSE) of the equalized signal is greater than the signal power, the demodulator for demodulating the received data and the channel decoder including the equalizer are reset.

상기 DC 값을 읽어오는 주기를 변화시키면서 채널 상에 존재하는 움직임 고스트의 존재 여부를 검출하는 것을 특징으로 한다.The presence or absence of a motion ghost existing on a channel is detected while changing the period of reading the DC value.

상기 데이터 모드로 등화를 수행하는 단계는 상기 등화기의 스텝 사이즈를 최대로 변경하여 등화를 수행하는 것을 특징으로 한다.Performing equalization in the data mode is characterized in that the equalization is performed by changing the step size of the equalizer to the maximum.

상기 등화 수행 단계는 움직임 고스트가 존재하지 않는다고 판별되고 스텝 사이즈가 최대로 판별되면 데이터 모드를 오프시키면서 스텝 사이즈는 일정 시간 간격을 두고 중간, 최소의 순으로 변경시키는 것을 특징으로 한다.The step of performing equalization is characterized in that, if it is determined that there is no motion ghost and the step size is determined to the maximum, the step size is changed in the order of medium and minimum with a predetermined time interval while turning off the data mode.

본 발명에 따른 채널 왜곡 보상 방법은, 입력되는 데이터로부터 DC값을 계산하고 일정 주기로 소정 횟수동안 상기 DC값을 읽어 와 그 중 최대값과 최소값을 검출하고 평균값을 계산하여 저장하는 단계와, 다수개의 메모리로 이루어지며 상기 메모리들의 값을 하나씩 이동시키면서 마지막으로 남은 메모리에 상기 평균값을 저장하는 단계와, 상기 단계에서 저장한 최대값과 최소값의 차가 미리 정한 제 1 임계값보다 큰지를 비교하는 단계와, 상기 단계에서 최대값과 최소값의 차가 제 1 임계값보다 작다고 판별되면 상기 다수개의 메모리에 저장된 값들을 현재 읽어서 계산된 평균값과 각각 비교하여 그 차가 미리 정한 제 2 임계값보다 큰지를 판별하는 단계와, 상기 단계에서 최대값과 최소값의 차가 제 1 임계값보다 크거나 상기 단계에서 메모리들에 저장된 값과 현재 읽어서 계산된 평균값의 차가 제 2 임계값보다 크다고 판별되면 채널 상에 움직임 고스트가 존재한다고 판단하여 데이터 모드로 등화를 수행하는 단계를 포함하여 이루어지는 것을 특징으로 한다.The channel distortion compensation method according to the present invention includes calculating a DC value from input data, reading the DC value for a predetermined number of times at a predetermined period, detecting a maximum value and a minimum value among them, calculating and storing an average value, and a plurality of Storing the average value in a memory remaining last while moving values of the memories one by one, comparing whether the difference between the maximum value and the minimum value stored in the step is greater than a first predetermined threshold value; If it is determined that the difference between the maximum value and the minimum value is smaller than the first threshold value, comparing the values stored in the plurality of memories with the average value calculated by reading the current value and determining whether the difference is greater than a second predetermined threshold value; The difference between the maximum value and the minimum value in the step is greater than the first threshold or stored in the memories in the step. If the value of the difference of the average value calculated to determine the current reading greater than the second threshold value to determine that a ghost movement present on a channel is characterized in that comprises a step of performing equalization in a data mode.

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

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

통상, DTV 송신에서는 수신기에서의 캐리어 복구(Carrier Recovery)를 위하여 DTV 신호를 송출하기전에 일정한 DC값을 삽입하게 되는데, 이 DC값이 주파수 스펙트럼 상에서는 파일롯(Pilot)으로 나타나게 되어 수신기에서의 캐리어 복구를 돕는다.In general, in a DTV transmission, a constant DC value is inserted before a DTV signal is sent for carrier recovery at a receiver. The DC value is represented as a pilot in the frequency spectrum, thereby performing carrier recovery at the receiver. Help.

이러한 파일롯에 의한 DC값은 항상 일정하기 때문에 채널상에 움직임 고스트가 없는 경우에 수신기에서 입력되는 데이터로부터 DC값을 계산해 보면 거의 일정한 값임을 알 수 있다.Since the DC value by the pilot is always constant, it can be seen that the DC value is almost constant when the DC value is calculated from the data input from the receiver when there is no motion ghost on the channel.

따라서, 본 발명에서는 채널 상에 움직임 고스트가 없을 경우에는 입력되는 데이터의 DC값이 일정하다는 점을 이용하여 채널 상에 움직임 고스트의 존재 여부를 판단하는데, 특히 아주 느리게 움직이는 고스트의 존재 여부도 판단하여 움직임 고스트가 있다고 판단되는 경우에는 등화(Equalizing)에 트레이닝 시퀀스가 있는 필드 동기뿐만 아니라 일반 데이터까지도 이용하는 데이터 모드(Data Mode)로 등화기의 모드를 변경한다.Therefore, in the present invention, when there is no motion ghost on the channel to determine the presence of the motion ghost on the channel by using a constant DC value of the input data, especially the presence of a very slow moving ghost If it is determined that there is a motion ghost, the mode of the equalizer is changed to a data mode that uses not only field synchronization with a training sequence for equalization but also general data.

또한, 등화기의 입력과 출력에서 계산한 Mean Square Error(MSE) 값을 이용하여 등화기의 발산(Diverge) 여부를 판단한 후 등화기가 발산할 가능성이 있다고 판단되는 경우에는 등화기의 모드를 블라인드 모드(Blind Mode)로 변환함으로써, 등화기를 채널 상태에 따라 적응적(adaptive)으로 동작시킨다. 여기서, 블라인드 모드란 일정 시간 간격을 두고 2-레벨 슬라이싱, 4-레벨 슬라이싱, 8-레벨 슬라이싱을 순차적으로 수행하는 것이다.In addition, if it is determined that the equalizer may diverge after determining whether the equalizer diverges using Mean Square Error (MSE) values calculated at the input and output of the equalizer, the mode of the equalizer is blind mode. By switching to (Blind Mode), the equalizer is adaptively operated according to the channel state. Here, the blind mode is to sequentially perform two-level slicing, four-level slicing, and eight-level slicing at predetermined time intervals.

이와 같이 본 발명은 매 순간 변하는 채널상의 움직임 고스트를 효과적이면서도 빠르게 제거토록 하였을뿐만 아니라 등화기가 발산할 가능성이 있는 경우에도 등화를 수행할 수 있도록 하여 채널 상태에 따른 수신기의 성능이 최대가 될 수 있게 한다.As described above, the present invention not only effectively and quickly removes the movement ghost on the channel that changes every moment, but also enables equalization even when the equalizer is likely to diverge so that the performance of the receiver according to the channel state can be maximized. do.

도 5는 이러한 채널 왜곡 보상 방법을 수행하기 위한 본 발명의 구성 블록도로서, 안테나를 통해 수신되는 RF 신호 중 원하는 채널을 튜닝한 후 튜닝된 채널의 RF 신호를 중간 주파수(IF) 신호로 변환하여 출력하는 튜너(101), 상기 튜너(101)에서 튜닝된 채널의 IF 신호를 복조하는 복조부(102), 상기 복조부(102)에서 복조된 데이터의 고스트를 제거하는 채널 디코딩부(200), 상기 채널 디코딩부(200)의 고스트 제거를 제어하는 마이콤(100), 및 상기 마이콤(100)의 제어에 의해 복조부(102)와 채널 디코딩부(200)를 리셋시키는 리셋부(103)로 구성된다.FIG. 5 is a block diagram of the present invention for performing such a channel distortion compensation method. After tuning a desired channel among RF signals received through an antenna, the RF signal of the tuned channel is converted into an intermediate frequency (IF) signal. An output tuner 101, a demodulator 102 for demodulating the IF signal of the channel tuned by the tuner 101, a channel decoder 200 for removing ghosts of the data demodulated by the demodulator 102, The microcomputer 100 controls the ghost removal of the channel decoder 200, and the reset unit 103 resets the demodulator 102 and the channel decoder 200 under the control of the microcomputer 100. do.

상기 채널 디코딩부(200)는 입력되는 데이터를 10비트의 디지털 데이터로 변환하는 아날로그/디지털 컨버터(Analog/Digital Converter ; ADC)(201), 상기 10비트의 디지털 데이터로부터 동기 신호를 검출하는 동기 검출부(202), 상기 10비트의 디지털 데이터로부터 VSB 모드를 검출하는 VSB 모드 검출부(203), 상기 10비트의 디지털 데이터의 MSE를 계산하는 입력 MSE 계산부(204), 상기 10비트의 디지털 데이터에 삽입된 DC값을 계산하는 DC 계산부(205), 상기 10비트의 디지털 데이터에 포함된 고스트 등을 제거하는 등화기(206), 및 상기 등화된 데이터의 MSE를 계산하는 MSE 계산부(207)로 구성된다.The channel decoding unit 200 may include an analog / digital converter (ADC) 201 for converting input data into 10-bit digital data, and a synchronization detector for detecting a synchronization signal from the 10-bit digital data. 202, a VSB mode detector 203 for detecting a VSB mode from the 10-bit digital data, an input MSE calculator 204 for calculating an MSE of the 10-bit digital data, and inserted into the 10-bit digital data DC calculation unit 205 for calculating the DC value, equalizer 206 for removing ghosts and the like contained in the 10-bit digital data, and MSE calculation unit 207 for calculating MSE of the equalized data. It is composed.

여기서, 마이콤(100)은 상기 동기 검출부(202), VSB 모드 검출부(203), 입력 MSE 계산부(204), DC 계산부(205), 출력 MSE 계산부(207)의 오퍼레이션 결과를 입력받아 상기 등화기(206)를 트레이닝 시퀀스 모드로 동작시킬 것인지, 데이터 모드로 동작시킬 것인지, 블라인드 모드로 동작시킬것인지를 결정하고 그에 따른 블라인드 모드 온/오프 신호, 데이터 모드 온/오프 신호 등을 상기 등화기(206)로 출력한다.Here, the microcomputer 100 receives the operation results of the synchronization detector 202, the VSB mode detector 203, the input MSE calculator 204, the DC calculator 205, and the output MSE calculator 207. Determine whether to operate the equalizer 206 in training sequence mode, data mode or blind mode, and accordingly the blind mode on / off signal, data mode on / off signal, etc. Output to (206).

도 6은 도 5의 등화기의 내부 구성 블록도로서, 공지된 블록도이다.FIG. 6 is a block diagram illustrating an internal configuration of the equalizer of FIG. 5.

즉, 도 6은 피드 포워드 필터(Feedforward filter)와 피드백 필터(Feedback filter) 부분으로 이루어진다. 여기서, 피드 포워드 필터 부분은 근접 고스트를 제거하는 역할을 수행하며, 피드백 포워드 필터 부분은 먼거리 고스트(Long ghost) 및 피드 포워드 필터에서 발생된 잔류 고스트를 제거하는 역할을 수행한다. 여기서, 스텝 사이즈를 크게 하면 등화기(206)의 수렴속도는 빨라지는 반면 수렴 후 잔류에러가 크다는 단점이 있으며, 반면에 스텝 사이즈를 작게 하면 등화기(206)의 수렴속도는 늦어지지만 수렴 후 잔류 에러가 작다는 장점이 있다.That is, FIG. 6 includes a feedforward filter and a feedback filter. Here, the feed forward filter portion serves to remove the proximity ghost, and the feedback forward filter portion serves to remove the residual ghost generated in the long ghost and the feed forward filter. Here, if the step size is increased, the convergence speed of the equalizer 206 is faster, but the residual error is larger after convergence. On the other hand, if the step size is smaller, the convergence speed of the equalizer 206 is slower but it remains after convergence. The advantage is that the error is small.

도 7a, 도 7b는 등화를 제어하는 상기 마이콤(100)의 동작 흐름도이다.7A and 7B are operation flowcharts of the microcomputer 100 for controlling equalization.

이와 같이 구성된 본 발명에서는 등화기(206)의 동작 모드를 트레이닝 시퀀스 모드, 데이터 모드, 블라인드 모드의 세가지 모드로 가정하고, 스텝 사이즈(step size)는 최대(Max), 중간(Mid), 최소(Min)의 세가지 모드를 가진다고 가정한다.In the present invention configured as described above, the operation mode of the equalizer 206 is assumed to be three modes of a training sequence mode, a data mode, and a blind mode, and the step size is Max, Mid, and Min. Suppose you have three modes of Min).

이때, 상기 트레이닝 시퀀스 모드, 데이터 모드, 블라인드 모드에 대해 간단히 설명하면 다음과 같다.In this case, the training sequence mode, data mode, and blind mode will be described briefly as follows.

상기 트레이닝 시퀀스 모드란 도 1에 도시된 바와 같이 매 필드마다 필드 동기 구간에 실려있는 트레이닝 시퀀스를 이용하여 등화를 수행하는 방법인데, 상기 트레이닝 시퀀스는 이미 우리가 알고 있기 때문에 이미 알고있는 트레이닝 시퀀스와 실제 입력되는 데이터의 트레이닝 시퀀스를 비교하여 채널의 왜곡 정보를 구한 다음 그 정보를 다시 입력되는 데이터에 적용하여 채널 상에서의 왜곡을 보상하여주는 방법이다.The training sequence mode is a method of performing equalization by using a training sequence included in a field sync interval for each field as shown in FIG. 1, since the training sequence is already known as the training sequence and the actual training sequence. This method compares training sequences of input data to obtain distortion information of a channel, and then applies the information to input data again to compensate for distortion on the channel.

상기 트레이닝 시퀀스 모드는 채널 상에 움직임 고스트가 없는, 즉 채널상의 왜곡이 항상 일정한 경우에는 아주 효과적으로 수신기에서 등화를 수행할 수 있도록 해준다.The training sequence mode enables equalization at the receiver very effectively if there is no motion ghost on the channel, i.e. if the distortion on the channel is always constant.

그러나, 상기 트레이닝 시퀀스는 매 필드마다 한번씩밖에 오지 않기 때문에 채널 상에 움직임 고스트 등이 존재하여 채널의 왜곡상태가 빠르게 변하는 도 4와 같은 경우에는 첫 번째 트레이닝 시퀀스를 가지고 구한 채널의 왜곡정보가 두번째 트레이닝 시퀀스를 가지고 다시 채널의 왜곡정보를 구하기 전에 이미 변하기 때문에 첫 번째 트레이닝 시퀀스를 가지고 구한 채널의 왜곡정보를 첫 번째 트레이닝 시퀀스 뒤에 연속하여 입력되는 데이터 부분에 적용하면 잘못된 채널의 왜곡정보를 데이터 부분에 보상해주는 결과가 된다.However, since the training sequence comes only once every field, the distortion information of the channel obtained with the first training sequence is the second training in the case of FIG. Since the distortion information of the channel obtained with the first training sequence is applied to the data part that is continuously input after the first training sequence, since the channel information is changed before the distortion information of the channel is obtained again with the sequence, the distortion information of the wrong channel is compensated to the data part. Will result.

따라서, 채널상에 움직임 고스트등이 존재하여 채널의 상태가 빠르게 변하고 있는 경우에는 등화에 트레이닝 시퀀스뿐만아니라 데이터 부분도 함께 이용함으로써 변하고 있는 채널상태를 빠르게 보상해주는 데이터 모드가 적용된다. 즉, 데이터 모드는 트레이닝 시퀀스와 8-레벨 슬라이싱을 이용하여 등화를 수행한다.Therefore, when the state of the channel is rapidly changing due to the presence of a motion ghost on the channel, a data mode is applied to quickly compensate for the changing channel state by using not only the training sequence but also the data portion for equalization. That is, the data mode performs equalization using training sequences and 8-level slicing.

한편, 블라인드 모드는 등화기가 발산할 가능성이 있는 경우 트레이닝 시퀀스의 정보에 의존하기보다는 슬라이싱에 의해 등화를 수행하는 방법이다.On the other hand, the blind mode is a method of performing equalization by slicing rather than relying on the information of the training sequence when the equalizer is likely to diverge.

이를 위해 먼저, 파워를 온하거나 채널 전환(channel change), 시스템 리셋등이 된 경우 본 발명에 적용된 알고리즘 부분을 초기화시킨다(단계 401). 즉, 일단 채널 상에 움직임 고스트가 없다고 가정하고서 데이터 모드와 블라인드 모드를 오프시키고, 또한 등화기(206)의 스텝 사이즈(Step Size)도 최소(Min)로 설정한다. 그리고, 움직임 고스트 존재 유무 판단에 사용되는 카운터인 Counter_1, Counter_2, Counter_3의 초기값을 0으로 설정한다. 또한, 타임은 20msec로, 메모리(메모리[20]∼메모리[1])는 0으로 초기값을 설정한다.To this end, first, when the power is turned on, a channel change, a system reset, or the like is initialized (step 401). That is, assuming that there is no motion ghost on the channel, the data mode and the blind mode are turned off, and the step size of the equalizer 206 is also set to minimum. The initial values of Counter_1, Counter_2, and Counter_3, which are counters used to determine the presence or absence of a motion ghost, are set to zero. In addition, the time is set to 20 msec, and the memory (memory [20] to memory [1]) is set to 0 at an initial value.

이렇게 초기화를 수행한 다음 동기 검출부(202)에서는 입력되는 데이터로부터 데이터 세그먼트 동기(즉, 수평동기), 필드 동기(즉, 수직동기)를 검출하고 검출 결과를 마이콤(100)으로 출력한다. 즉, 상기 동기 검출부(202)는 A/D 변환된 10비트의 디지털 데이터로부터 데이터 세그먼트 동기 신호와 필드 동기 신호를 검출하는데, 상기 두 동기신호들을 모두 검출하였을 경우에는 nSyncLock 신호를 '0'으로 만들고, 검출하지 못한 경우에는 nSyncLock 신호를 '1'로 만들어서 마이콤(100)으로 출력한다.After the initialization is performed, the synchronization detector 202 detects data segment synchronization (ie, horizontal synchronization) and field synchronization (ie, vertical synchronization) from the input data and outputs the detection result to the microcomputer 100. That is, the sync detector 202 detects a data segment sync signal and a field sync signal from A / D converted 10-bit digital data. When both sync signals are detected, the sync detector 202 is set to '0'. If it is not detected, the nSyncLock signal is made '1' and output to the microcomputer 100.

상기 마이콤(100)에서는 nSyncLock 신호가 0인지를 판별하여(단계 402), 만일 nSyncLock 신호가 '0' 인 경우에는 데이터 세그먼트 동기 신호와 필드 동기 신호가 모두 검출되었음을 의미하므로 움직임 고스트 판별을 위해 단계 404로 진행한다.The microcomputer 100 determines whether the nSyncLock signal is 0 (step 402). If the nSyncLock signal is '0', it means that both the data segment synchronization signal and the field synchronization signal are detected. Proceed to

그러나, nSyncLock신호가 '1'인 경우에는 동기 신호를 검출하지 못한 경우이므로 도 5의 복조부(102)와 채널 디코딩부(200)를 리셋시킨다(단계 403). 이는 디지털 데이터 처리에서 반드시 필요한 각종 동기신호들을 검출하지 못한 상태에서는 그 이후의 데이터 처리가 아무런 의미가 없기 때문이다. 즉, 동기 신호를 검출하지 못한 경우는 노이즈가 심각하거나 복조부(102)와 채널 디코딩부(200)를 잘못 셋팅한 경우에도 발생할 수 있으므로 복조부(102)와 채널 디코딩부(200)를 리셋시켜 처음부터 다시 수행하는 것이다.However, when the nSyncLock signal is '1', since the synchronization signal is not detected, the demodulator 102 and the channel decoder 200 of FIG. 5 are reset (step 403). This is because subsequent data processing has no meaning in a state where various synchronization signals necessary for digital data processing are not detected. That is, when the synchronization signal is not detected, the noise may be severe or may be generated even when the demodulator 102 and the channel decoder 200 are incorrectly set. Thus, the demodulator 102 and the channel decoder 200 may be reset. It will be done again from the beginning.

만일, 단계 402에서 nSyncLock 신호가 '0'으로 판별되면 상기 DC 계산부(205)는 10비트의 디지털 데이터에 실린 DC 값을 계산하고, 마이콤(100)에서는 이 DC 값을 읽어들이는데, 이때 상기 마이콤(100)은 계산된 DC값을 한번 읽어들일때 마다 Counter_1의 값을 1씩 증가시킨다(단계 404). 이렇게 읽어들인 DC값들은 마이콤(100) 내부의 메모리에 각각 저장되는데, 이는 Counter_1의 값이 10이 될 때까지 수행된다. 즉, Counter_1은 마이콤(100)이 몇번이나 DC값을 읽었는지 그 상태를 표시하고 있으며, DC 값을 한번 읽어들일때마다 1씩 증가한다.If the nSyncLock signal is determined to be '0' in step 402, the DC calculator 205 calculates a DC value contained in 10-bit digital data, and the microcomputer 100 reads the DC value. The microcomputer 100 increments the value of Counter_1 by 1 every time the read DC value is read once (step 404). The DC values thus read are stored in the memory inside the microcomputer 100, and this is performed until the value of Counter_1 becomes 10. That is, Counter_1 indicates the state of how many times the microcomputer 100 reads the DC value, and increases by 1 each time the DC value is read once.

그리고, Counter_1의 값이 10인지를 판별한다(단계 405). 본 발명에서는 10번을 기준으로 하였지만 이것은 설계자가 임의로 설정할 수 있는 값이다.Then, it is determined whether the value of Counter_1 is 10 (step 405). In the present invention, the number 10 is used as a reference, but this is a value that can be arbitrarily set by the designer.

만일, 상기 단계 405에서 Counter_1의 값이 10이 아니면 바로 움직임 고스트의 존재 여부를 판단하는 단계 417로 진행한다. 이는 마이콤(100)이 DC 계산부(205)로부터 DC 값을 10번을 읽어들이지 못해 채널 상의 움직임 고스트 존재 여부를 판단하기에는 미흡하더라도 등화기(206)가 발산했는지 여부등을 검사하여 시스템이 안정되게 동작하도록 하기 위해서이다.If the value of Counter_1 is not 10 in step 405, the process proceeds to step 417 in which it is determined whether there is a motion ghost. This is because even if the microcomputer 100 does not read the DC value 10 from the DC calculation unit 205 to determine whether there is a motion ghost on the channel, the system is stabilized by checking whether the equalizer 206 diverges. To make it work.

한편, 상기 단계 405에서 Counter_1의 값이 10이라고 판별되면 상기 Counter_1의 값을 다시 0으로 리셋시키고, 마이콤(100)이 10번을 읽어 내부 메모리에 저장해 둔 10개의 DC값들 중 최대값(maximum DC_Value)과 최소값(minimum DC_Value)을 DCmax, DCmin이라는 변수에 따로 저장한다(단계 406).On the other hand, if it is determined in step 405 that the value of Counter_1 is 10, the value of Counter_1 is reset to 0 again, and the maximum value (maximum DC_Value) of the 10 DC values stored in the internal memory by the microcomputer 100 reads 10 times. And minimum DC_Value are stored separately in variables DCmax and DCmin (step 406).

그리고 나서, 초기화 단계(401)에서 설정해 놓은 20개의 메모리의 값들을 각각 하나씩 이동시킨다(단계 407). 즉, 메모리[19]의 값은 메모리[20]으로, 메모리[18]의 값은 메모리[19]로,..., 메모리[1]의 값은 메모리[2]로 이동시키는 방법으로 20개의 메모리 값을 각각 이동시키고 난 후에는 마지막으로 메모리[1]에는 상기 단계 406에서 검출된 최소값(DCmin)을 저장한다(단계 408).Then, the values of the 20 memories set in the initialization step 401 are moved one by one (step 407). In other words, the value of memory [19] is moved to memory [20], the value of memory [18] is moved to memory [19], and the value of memory [1] is moved to memory [2]. After each movement of the memory values, the minimum value DCmin detected in the step 406 is finally stored in the memory [1] (step 408).

상기 메모리들에 저장된 값들은 시간에 따른 DC의 변동값이 작은 즉, 아주 슬로우(slow)하게 움직이는 움직임 고스트를 검출하는데 이용된다. 즉, 슬로우하게 움직이는 움직임 고스트는 시간에 따른 DC값의 변화가 작아서 채널 상에 움직임 고스트가 없다고 판단하기 쉬운데, 본 발명에서는 이러한 슬로우하게 움직이는 움직임 고스트도 검출할 수 있도록 함으로써, 채널의 상태에 따라 시스템이 최적으로 동작할 수 있도록 한다.The values stored in the memories are used to detect a moving ghost with a small change in DC over time, that is, a very slow moving. That is, it is easy to determine that there is no motion ghost on the channel due to the small change of the DC value with time in the slow moving motion ghost. Make this work optimally.

이때, 상기 메모리들을 이용하여 슬로우하게 움직이는 고스트를 검출하기 전에 먼저 DCmax-DCmin의 값이 얼마인지를 계산하여 움직임이 빠른 고스트를 먼저 검출한다(단계 409).At this time, before detecting the slow moving ghost using the memories, the value of the DCmax-DCmin is first calculated to detect the fast moving ghost first (step 409).

즉, 상기 단계 409에서 DCmax-DCmin ≥ 6이면 채널 상에 움직임 고스트가 있다고 판단하고 Counter_2의 값을 1로 바꾼다(단계 410). 여기서, 상기 Counter_2는 채널상에서 움직임 고스트의 존재 유무를 표시하는 일종의 플래그로서, Counter_2의 값이 0이면 채널 상에 움직임 고스트가 없음을, 1이면 움직임 고스트가 있음을 의미한다. 그리고, 상기 기준값 6은 실험적으로 정한 값이며, 설계자가 실험에 의해 다르게 정할 수도 있다.That is, if DCmax-DCmin? 6 in step 409, it is determined that there is a motion ghost on the channel, and the value of Counter_2 is changed to 1 (step 410). Here, Counter_2 is a kind of flag indicating the presence or absence of a motion ghost on a channel. If the value of Counter_2 is 0, it means that there is no motion ghost on the channel, and if it is 1, there is a motion ghost. The reference value 6 is an experimentally determined value, and may be determined differently by an experimenter.

이렇게 Counter_2의 값을 1로 변경시키고 난 후에는 Counter_3의 값을 3으로 셋팅시킨다(단계 411). 여기서, 상기 Counter_3은 일단 DCmax-DCmin ≥ 6이 되어 채널 상에 움직임 고스트가 존재한다고 판단되면 그 다음에 DCmax-DCmin < 6이 되더라도 금방 채널 상에 움직임 고스트가 없다고 판단하지 않고 3번 연속해서 DCmax-DCmin < 6이 되어야만 비로소 채널 상에 나타났던 움직임 고스트가 사라졌다고 판단하게 하는 역할을 한다. 그 이유는 채널 상에 움직임 고스트가 존재하더라도 때에 따라서는 DCmax-DCmin ≥ 6이 되지 않는 경우가 발생할 수 있게 되는데, 이 경우에 채널 상에 움직임 고스트가 존재하는데도 불구하고 한번 DCmax-DCmin < 6이 되었다고 금방 채널 상에 움직임 고스트가 없다고 판단하여 데이터 모드를 오프시키게 되면 화상이 깨어지기 때문이다. 반대로 실제로 채널 상에 움직임 고스트가 사라진 경우에도 잠시 더 데이터 모드를 온시켜 두더라도 수신된 화상이 깨어지지는 않는다. 여기서도 상기 Counter_3의 기준값으로 본 발명에서 설정된 3이라는 값은 설계자가 임의로 변경할 수 있는 값이다.After the value of Counter_2 is changed to 1, the value of Counter_3 is set to 3 (step 411). In this case, once Countermax is determined that DCmax-DCmin ≥ 6 and there is a motion ghost on the channel, DCmax- 3 times in a row without determining that there is no motion ghost on the channel immediately after DCmax-DCmin <6 DCmin <6 only plays the role of judging the disappearance of the motion ghost that appeared on the channel. The reason is that even if there is a motion ghost on the channel, sometimes DCmax-DCmin ≥ 6 may occur. In this case, even though there is a motion ghost on the channel, once DCmax-DCmin <6 This is because the image is broken when the data mode is turned off by determining that there is no motion ghost on the channel. On the contrary, even if the motion ghost disappears on the channel, even if the data mode is turned on for a while, the received image is not broken. Here again, the value 3 set in the present invention as the reference value of Counter_3 is a value that can be arbitrarily changed by the designer.

한편, 상기 단계 409에서 DCmax-DCmin < 6이라고 판별되면 채널 상에 움직임 고스트가 없다고 판단할 수도 있으나, 이 경우에는 채널 상에 아주 슬로우하게 움직임는 움직임 고스트가 존재할 수 있으므로 데이터 모드를 오프시키기 전에 먼저 채널 상에 아주 슬로우하게 움직이는 고스트가 있는지를 판별한다(단계 412).On the other hand, if it is determined in step 409 that DCmax-DCmin <6, it may be determined that there is no motion ghost on the channel, but in this case, the motion ghost may be very slow on the channel. It is determined whether there is a ghost moving very slowly on the phase (step 412).

즉, 마이콤(100)에서 10번 읽어들인 DC값의 차이로는 채널 상에 아주 슬로우하게 움직이는 움직임 고스트를 판별할 수 없을수도 있기 때문에 마이콤(100)에서 매 10번씩 DC값을 읽어들일 때마다 그 최소값 즉, DCmin값을 저장해둔 메모리[20] ∼메모리[1]의 값들과 현재 읽어서 계산된 최대값 즉, DCmax값과 비교한다.That is, the difference in the DC value read 10 times from the microcomputer 100 may not be able to determine the moving ghost moving very slowly on the channel, so that the microcomputer 100 reads the DC value every 10 times. The minimum value, that is, the values of the memory [20] to the memory [1] storing the DCmin value are compared with the maximum value currently read and calculated, that is, the DCmax value.

여기서, 메모리[20] ∼ 메모리[1]의 값들은 도 5에서 보면, 마이콤(100)이 DC 계산부(205)에서 검출된 DC 값을 10번 읽어들일때마다 그 중 최소값들을 저장해두고 있다. 그리고, 상기 초기화 단계(401)에서 타임=20msec라고 초기화시켰는데, 이것은 마이콤(100)이 DC 계산부(205)로부터 DC값을 읽어들이는 주기를 20msec 단위로 하기 위한 것이다. 이 값 역시 설계자가 임의로 설정할 수 있는 값이다.Here, the values of the memory [20] to the memory [1] are stored in the minimum value every time the microcomputer 100 reads the DC value detected by the DC calculation unit 205 ten times. In addition, in the initialization step 401, time = 20 msec was initialized. This is to set the period in which the microcomputer 100 reads the DC value from the DC calculator 205 in 20 msec units. This value can also be set by the designer.

또한, 마이콤(100)이 20msec마다 10번 읽어들인 DC값들 중 최소값은 메모리[20] ∼ 메모리[1]을 하나씩 이동시키고 난 후 메모리[1]에 기록한 값이므로 메모리[20] ∼ 메모리[1]에 저장된 값들은 200msec 단위로 20번 읽어 저장해놓은 최소값들임을 알 수 있다.In addition, the minimum value among the DC values read by the microcomputer 100 10 times every 20 msec is the value recorded in the memory [1] after moving the memory [20] to the memory [1] one by one, and thus the memory [20] to the memory [1]. It can be seen that the values stored in are the minimum values stored 20 times in 200msec units.

따라서, 상기 메모리[20] ∼ 메모리[1]에 저장된 값들을 이용하면 총 200msec × 20 = 4000msec(약 4초)동안의 채널 상의 DC값 변동을 알 수 있다. 본 발명에서는 메모리의 수를 20으로 하였으나 이것 역시 설계자가 임의로 설정할 수 있다.Therefore, using the values stored in the memory [20] to the memory [1] it can be seen that the DC value variation on the channel for a total of 200msec × 20 = 4000msec (about 4 seconds). In the present invention, the number of memories is 20, but this can also be arbitrarily set by the designer.

이때, 현재 읽어서 검출된 DCmax값을 이미 저장되어 있는 메모리[20] ∼ 메모리[1]의 값들과 비교하여 그 차가 6이상이면 비록 상기 단계 409에서 DCmax-DCmin < 6으로 판별되었다 하더라도 채널 상에는 슬로우하게 DC값을 변화시키는 움직임 고스트가 존재한다고 판단한다. 그리고, 현재에 검출된 DCmax값과 메모리[20] ∼ 메모리[1]의 값들을 비교하여서도 그 차가 6미만인 경우에야 비로소 채널 상에 움직임 고스트가 없다고 판단하는 근거로 삼는다.At this time, the DCmax value detected by reading is compared with the values of the memory [20] to the memory [1] already stored, and if the difference is 6 or more, even if it is determined that DCmax-DCmin < It is determined that there is a moving ghost that changes the DC value. In addition, even when the detected DC max value and the values of the memory [20] to the memory [1] are compared with each other, the difference is less than 6, and it is used as the basis for determining that there is no motion ghost on the channel.

상기 단계 412에서 diff=abs(메모리[i] - DCmax)를 취하게 되는데, abs는 절대값을 취한다는 의미이다. 절대값을 취하는 이유는 현재 시간에 검출된 DCmax의 값이 메모리[20] ∼ 메모리[1]에 저장된 값보다도 작을 수 있기 때문이다.In step 412, diff = abs (memory [i]-DCmax) is taken, which means that abs takes an absolute value. The reason for taking the absolute value is that the value of DCmax detected at the present time may be smaller than the value stored in the memory [20] to the memory [1].

따라서, 상기 단계 412에서 diff의 값이 6보다 크면 채널 상에 아주 슬로우하게 움직이는 고스트가 있다고 판단하여 Counter_2의 값을 1로 셋트시키고(단계 410), Counter_3의 값을 3으로 셋트시킨다(단계 411).Therefore, if the diff value is greater than 6 in step 412, it is determined that there is a ghost moving very slowly on the channel, and the value of Counter_2 is set to 1 (step 410), and the value of Counter_3 is set to 3 (step 411). .

한편, 상기 단계 412에서 현재 검출된 DCmax 값과 메모리[20] ∼ 메모리[1]에 저장된 값들을 비교하여서도 그 차가 6미만인 경우에는 Counter_3의 값이 0인지를 판별한다(단계 413).On the other hand, the DCmax value currently detected in step 412 is compared with the values stored in the memory [20] to memory [1], and if the difference is less than 6, it is determined whether the value of Counter_3 is 0 (step 413).

상기 단계 413에서 Counter_3의 값이 0인지를 판별하는 이유는 전술된 바와 같이 비록 현재 마이콤(100)에서 10번 읽어들인 값들 중 DCmax와 DCmin의 차이가 6미만이고 또한, DCmax와 메모리[20] ∼ 메모리[1]에 저장된 값들과의 비교에서도 그 차이가 6미만인 경우에도 한번 채널 상에 움직임 고스트가 있다고 판단하여 데이터 모드를 온시킨 것을 바로 오프시키지 않기 위해서이다.The reason for determining whether the value of Counter_3 is 0 in step 413 is as described above, although the difference between DCmax and DCmin among the values read ten times in the microcomputer 100 is less than 6, and DCmax and the memory [20]- Even if the difference is less than 6 even in comparison with the values stored in the memory [1], it is determined that there is a motion ghost on the channel and does not immediately turn off the data mode.

그러므로, 상기 단계 413에서 Counter_3의 값이 0이 아닌 경우에는 Counter_3의 값을 1 감소시키고 다음 루틴을 수행하며(단계 414), Counter_3의 값이 0인 경우에는 채널 상에 움직임 고스트가 없다고 판단하여 Counter_2를 0으로 리셋시킨다(415).Therefore, if the value of Counter_3 is not 0 in step 413, the value of Counter_3 is decreased by 1 and the next routine is performed (step 414). If the value of Counter_3 is 0, it is determined that there is no motion ghost on the channel. Resets to zero (415).

상기 단계 415에서 Counter_3의 값을 0으로 리셋시킨 후에는 상기 초기화 단계 401에서 셋팅한 타임=20msec의 값을 바꾼다(단계 416).After resetting the value of Counter_3 to 0 in step 415, the value of time = 20msec set in the initialization step 401 is changed (step 416).

본 발명에서는 타임의 값을 20msec, 30msec, 40msec, 50msec의 4가지 모드를 가지도록 하였으나 이것은 설계자가 임의로 변경할 수 있다. 여기서의 타임 값은 마이콤(100)이 DC 계산부(205)로부터 계산된 DC 값을 읽어오는 주기이다.In the present invention, the time value has four modes of 20msec, 30msec, 40msec, and 50msec, but this can be arbitrarily changed by the designer. The time value here is a period in which the microcomputer 100 reads the DC value calculated from the DC calculator 205.

즉, 처음에 20msec 주기로 DC값을 읽어 채널 상의 움직임 고스트의 존재 여부를 판단해 본 결과 채널 상에 움직임 고스트가 존재하지 않는다고 판단된 경우에는 다시 타임의 값을 30msec로 변경하고 마이콤(100)은 30msec마다 DC 계산부(205)로부터 DC값을 읽어 와 채널 상에 움직임 고스트의 존재 여부를 판단하게 된다.That is, when it is determined that there is no motion ghost on the channel by first reading the DC value at 20msec period, if it is determined that there is no motion ghost on the channel, the time value is changed to 30 msec again and the microcomputer 100 is 30 msec. Each DC value is read from the DC calculator 205 to determine whether there is a motion ghost on the channel.

이러한 방법으로 타임의 값을 50msec까지 변경해 가면서 DC값을 읽어들여 채널 상의 움직임 고스트 존재 여부를 판단한다.In this way, the time value is changed to 50msec and the DC value is read to determine whether there is a motion ghost on the channel.

이 타임 값의 변경은 상기 단계 412에서 슬로우하게 변하는 움직임 고스트를 검출하는데 도움을 준다.Changing this time value helps to detect a slowly changing motion ghost in step 412.

만일 타임의 값이 50msec인 경우를 가정하면, 마이콤(100)은 50msec 주기로 DC값을 10번 읽어들이게 되고 그 중의 최소값을 메모리[1]에 저장해 두는 동작을 반복하게 된다.If it is assumed that the time value is 50 msec, the microcomputer 100 reads the DC value 10 times in a 50 msec period and repeats the operation of storing the minimum value in the memory [1].

따라서, 메모리[20] ∼ 메모리[1]에 저장된 값들은 마이콤(100)이 50msec마다 10번 읽어들인 DC값들 중 최소값을 메모리[20] ∼ 메모리[1]을 하나씩 이동시키고 난 후 메모리[1]에 기록한 값들이므로 결국, 메모리[20] ∼ 메모리[1]에 저장된 값들은 500msec 단위로 20번 읽어 저장해 놓은 최소값들임을 알 수 있다.Therefore, the values stored in the memory [20] to the memory [1] are moved after the memory [20] to the memory [1] by one of the minimum DC values read by the microcomputer 100 ten times every 50 msec. In the end, the values stored in the memory [20] to the memory [1] are the minimum values read and stored 20 times in 500 msec units.

그러므로, 상기 메모리[20] ∼ 메모리[1]에 저장된 값들을 이용하면 총 50msec × 20 = 10000msec(약 10초)동안의 채널 상의 DC값 변동을 알 수 있다.Therefore, by using the values stored in the memory [20] to the memory [1], it is possible to know the DC value variation on the channel for a total of 50 msec x 20 = 10000 msec (about 10 seconds).

이와 같이, 타임의 값이 20msec인 때는 전술된 바와 같이 약 4초 동안의 채널 상의 DC 변동을 알 수 있지만 타임이 50msec인 경우에는 약 10초 동안의 채널 상의 DC 변동을 알 수 있게 된다. 이는, 타임이 50msec인 경우가 타임이 20msec인 경우보다 훨씬 더 채널 상에서 슬로우하게 변하는 움직임 고스트를 검출할 수 있음을 의미한다.As described above, when the time value is 20 msec, the DC variation on the channel for about 4 seconds can be known as described above, but when the time is 50 msec, the DC variation on the channel for about 10 seconds can be known. This means that a time of 50 msec can detect motion ghosts that change slowly on the channel much more than a time of 20 msec.

한편, 상기 단계 405, 단계 411, 단계 414, 단계 416중 어느 하나의 단계가 수행되고 나면 Counter_2의 현재값과 VSB 모드 검출부(203)에서 입력되는 데이터의 VSB 모드가 무엇인지를 판단한다(단계 417). 만일 상기 단계 417에서 Counter_2의 값이 1이면서 VSB 모드 검출부(203)에서 입력되는 데이터의 VSB 모드가 지상 8VSB(=8TVSB)이면 채널 상에 움직임 고스트가 존재한다고 판단된 경우이므로 데이터 모드를 온시키고 등화기(206)의 스텝 사이즈를 최대(Max)로 한다(단계 418). 즉, 채널 상에 움직임 고스트가 존재하는 경우에는 고스트의 상태가 매 순간 변하고 있기 때문에 등화에 트레이닝 시퀀스뿐만 아니라 데이터 부분도 함께 이용하도록 데이터 모드를 온시키고 더불어, 등화기의 스텝 사이즈를 최대로 만들어서 고스트의 변화에 빠르게 쫓아갈 수 있게 한다. 여기서, 지상 8VSB 모드를 체크하는 이유는 VSB 모드에는 지상 방송에서 사용되는 8VSB 모드와 케이블 방송에서 사용되는 16VSB 모드가 있는데, 움직임 고스트는 지상 방송 채널에만 존재하기 때문이다. 움직임 고스트가 존재하지 않는 경우에는 스텝 사이즈를 작게 한다.On the other hand, after any one of steps 405, 411, 414, and 416 is performed, it is determined whether the current value of Counter_2 and the VSB mode of the data input from the VSB mode detector 203 (step 417). ). If the value of Counter_2 is 1 in step 417 and the VSB mode of the data input from the VSB mode detector 203 is 8VSB (= 8TVSB) above the ground, it is determined that a motion ghost exists on the channel. The step size of the machine 206 is made to the maximum (step 418). In other words, if there is a motion ghost on the channel, the state of the ghost changes every moment, and the data mode is turned on to use not only the training sequence but also the data portion for equalization, and the ghost size is maximized by maximizing the step size of the equalizer. To be able to quickly follow The reason for checking the terrestrial 8VSB mode is that the VSB mode has an 8VSB mode used for terrestrial broadcasting and a 16VSB mode used for cable broadcasting, because the motion ghost exists only in the terrestrial broadcasting channel. If there is no motion ghost, the step size is reduced.

그러나, 상기 단계 417에서 두 조건 중 어느 하나라도 만족시키지 못하면 스텝 사이즈가 최대인지를 판별한다(단계 419). 이 경우는 처음부터 채널 상에 움직임 고스트가 존재하지 않았거나 또는, 움직임 고스트가 존재하였으나 현재의 채널에서는 사라져 버린 경우에 해당된다.However, if either of the two conditions is not satisfied in step 417, it is determined whether the step size is maximum (step 419). This case corresponds to the case where there is no motion ghost on the channel from the beginning or the motion ghost exists but disappears in the current channel.

이때, 상기 단계 419에서 등화기(206)의 스텝 사이즈의 현재 상태가 최대라면 채널 상에 움직임 고스트가 존재하였으나 지금은 사라졌거나 또는, 등화기(206)가 블라인드 모드를 수행하였다는 것을 의미한다. 이는 상기 두 가지의 경우가 스텝 사이즈를 최대로 만들기 때문이다.At this time, if the current state of the step size of the equalizer 206 is the maximum in step 419, it means that there is a motion ghost on the channel but now disappears, or the equalizer 206 has performed the blind mode. This is because the above two cases maximize the step size.

또한, 스텝 사이즈가 최대가 아니면 이 경우는 처음부터 채널 상에 움직임 고스트가 없었다거나 또는, 어떤 이유에서든 채널 디코딩부(200)가 리셋된 경우이다.In addition, if the step size is not maximum, this is the case that there is no motion ghost on the channel from the beginning, or the channel decoding unit 200 is reset for some reason.

따라서, 상기 단계 419에서 스텝 사이즈가 최대가 아니라고 판별되면 데이터 모드를 오프시키고 스텝 사이즈를 최소(Min)로 한다(단계 420).Therefore, if it is determined in step 419 that the step size is not the maximum, the data mode is turned off and the step size is made to the minimum (Min) (step 420).

한편, 상기 단계 419에서 스텝 사이즈가 최대라고 판별되면 이때는 채널 상에 움직임 고스트가 없다고 데이터 모드를 오프시키고 동시에 스텝 사이즈를 최소로 만드는 것이 아니라 일단 데이터 모드는 오프시키면서 스텝 사이즈는 중간(Min)으로 만든다(단계 421). 그리고, 다시 일정 시간이 지난 후에 스텝 사이즈를 최소(Min)로 바꾼다(단계 422). 이 부분은 기어 쉬프트(gear shift)라고도 하는데, 스텝 사이즈가 최대에서 바로 최소로 변화시킬 때보다 최대 -> 중간 -> 최소로 변화시키는 것이 좀더 등화기의 수렴 시간을 줄일 수 있기 때문이다.On the other hand, if it is determined in step 419 that the step size is maximum, then the data mode is not turned off because there is no motion ghost on the channel, and at the same time, the step size is made to be minimum while the data mode is turned off. (Step 421). After a certain time, the step size is changed to the minimum (Min) (step 422). This part is also known as gear shift, because changing the step size from maximum to medium to minimum can reduce the equalizer's convergence time more than changing the maximum from the maximum to the minimum.

그리고, 상기 단계 418, 단계 420, 단계 422중 어느 하나의 단계가 수행되고 나면, 등화기(206)의 발산 여부를 판별하기 위하여, 등화기(206)의 출력단에서의 MSE값(MSEOUT)을 체크한다(단계 423). 즉, 마이콤(100)은 채널 디코딩부(200)의 출력 MSE 계산부(207)에서 계산된 MSE 값(MSEOUT)이 8VSB의신호 파워보다 큰지 여부를 판별한다(단계 424).After any one of the steps 418, 420, and 422 is performed, the MSE value MSEOUT is checked at the output of the equalizer 206 to determine whether the equalizer 206 is divergent. (Step 423). That is, the microcomputer 100 determines whether the MSE value MSEOUT calculated by the output MSE calculator 207 of the channel decoder 200 is greater than the signal power of 8 VSB (step 424).

여기서, 등화기(206)의 출력 MSE값이 신호 파워보다 더 크다는 것은 등화기(206)가 완전히 발산한 경우로서, 이 경우에는 블라인드 모드로 등화를 수행하더라도 수렴이 거의 불가능하다. 따라서, 상기 단계 424에서 출력 MSE 값(MSEOUT)이 신호 파워보다 크다고 판별되면 복조부(102)와 채널 디코딩부(200)를 리셋시켜 발산 상태에서 빠르게 벗어날 수 있도록 한다(단계 425).Here, the output MSE value of the equalizer 206 is greater than the signal power, which is the case where the equalizer 206 completely diverges, and in this case, convergence is almost impossible even if the equalization is performed in the blind mode. Therefore, if it is determined in step 424 that the output MSE value MSEOUT is greater than the signal power, the demodulator 102 and the channel decoder 200 are reset so as to quickly escape from the divergence state (step 425).

즉, 블라인드 모드는 발산할 가능성이 있는 경우에 동작시키며, 등화기(206)가 완전히 발산한 경우에는 아예 복조부(102)와 채널 디코딩부(200)를 리셋시켜 처음부터 다시 하는게 더 효과적이다. 여기서, 복조부(102)를 리셋시키는 이유는 출력 MSE값이 신호 파워보다 더 크면 복조부(102)에서 캐리어 복구(Carrier recovery)가 되지 않을 수도 있기 때문이다.In other words, the blind mode is operated when there is a possibility of divergence, and when the equalizer 206 is completely diverged, it is more effective to reset the demodulator 102 and the channel decoder 200 again from the beginning. Here, the reason for resetting the demodulator 102 is that carrier recovery may not be performed in the demodulator 102 if the output MSE value is greater than the signal power.

따라서, 본 발명은 등화기(206)의 출력 MSE값이 신호 파워보다 크지 않은 경우에만 블라인드 모드에서 등화를 수행할 것인지 여부를 결정한다.Thus, the present invention determines whether to perform equalization in blind mode only if the output MSE of equalizer 206 is not greater than the signal power.

즉, 상기 단계 424에서 출력 MSE값(MSEOUT)이 신호 파워보다 작다고 판별되면 상기 출력 MSE값(MSEOUT)이 임계값(여기서의 임계값 등화기(206)의 발산여부를 판단하는 임계값이며, 이 값은 실험에 의해 설계자가 설정할 수 있다)보다 큰지를 판별한다(단계 426).That is, when it is determined in step 424 that the output MSE value MSEOUT is smaller than the signal power, the output MSE value MSEOUT is a threshold value (the threshold value for determining whether the threshold equalizer 206 diverges here). It is determined whether the value is greater than the value set by the designer by experiment (step 426).

만일, 등화기(206)의 출력 MSE값(MSEOUT)이 설정된 임계값보다 크면 등화기(206)가 발산할 가능성이 크다고 판단하고, 작으면 등화기(206)가 수렴할 가능성이 크다고 판단할 수 있다.If the output MSE value MSEOUT of the equalizer 206 is greater than the set threshold, it is determined that the equalizer 206 is likely to diverge, and if it is small, the equalizer 206 is likely to converge. have.

따라서, 상기 단계 426에서 등화기(206)의 출력 MSE값(MSEOUT)이 설정된 임계값보다 작은 경우에는 블라이드 모드를 수행하지 않고 상기 단계 402로 되돌아가 지금까지 설명한 과정들을 반복한다.Therefore, when the output MSE value MSEOUT of the equalizer 206 is smaller than the set threshold in step 426, the process returns to step 402 without repeating the blade mode and repeats the processes described so far.

한편, 상기 단계 426에서 등화기(206)의 출력 MSE값(MSEOUT)이 설정된 임계값보다도 크다고 판단되면, 등화기(206)를 블라인드 모드로 동작시켜 시스템이 빠르게 안정된 상태로 되돌아올 수 있게 한다.On the other hand, if it is determined in step 426 that the output MSE value MSEOUT of the equalizer 206 is greater than the set threshold value, the equalizer 206 is operated in the blind mode so that the system can quickly return to a stable state.

이를 위해, 등화기(206)의 스텝 사이즈를 최대(Max)로 만들어 빨리 수렴할 수 있게 만들며(단계 427), 스텝 사이즈를 최대(Max)로 만들고 난 다음에는 일단 2-레벨 슬라이싱을 수행한다(단계 428).To this end, the step size of the equalizer 206 is maximized to allow quick convergence (step 427), and after the step size is maximized, two-level slicing is performed ( Step 428).

상기 2-레벨 슬라이싱이 어느정도 진행되고 나면, 그 다음에는 4-레벨 슬라이싱을 수행하며(단계 429), 4-레벨 슬라이싱이 어느정도 진행되고 나면 그다음에는 8-레벨 슬라이싱을 수행하게 된다(단계 430).After the two-level slicing proceeds to some degree, a four-level slicing is then performed (step 429), and after a four-level slicing is performed to some extent, an eight-level slicing is then performed (step 430).

여기서 2-레벨 슬라이싱 이후 얼마나 있다가 4-레벨 슬라이싱으로 넘어갈지, 또한 4-레벨 슬라이싱 이후 얼마나 있다가 8-레벨 슬라이싱으로 넘어갈지는 설계자가 임의로 설정할 수 있으나 실험적으로 보면 필드 동기주기인 약 24.2ms정도가 적당하다.Here, how long after 2-level slicing goes to 4-level slicing and how long after 4-level slicing goes to 8-level slicing can be arbitrarily set by the designer, but experimentally, the field synchronization period is about 24.2 ms. Is suitable.

도 6에서 슬라이서(312)는 다시 4개의 세부 슬라이서로 이루어진다. 즉, 2,4,8,16 슬라이서가 그것이다. 이들에 대한 개념을 도 8의 (a) 내지 (d)에 도시하였다. 도 8의 (a) 내지 (d)에서 보듯이 각 슬라이스 모드에 따라 2,4,8,16 레벨의 슬라이싱이 이루어진다. 이때, 도 8의 (d)의 16 레벨 슬라이서는 케이블 방송에서 사용될 수 있는것이며, 지상방송에서는 사용하지 않는다.In FIG. 6, the slicer 312 is further composed of four detailed slicers. That is, 2, 4, 8, 16 slicers. The concept for these is shown in Figs. 8A to 8D. As shown in (a) to (d) of FIG. 8, 2, 4, 8 and 16 levels of slicing are performed according to each slice mode. At this time, the 16-level slicer of Figure 8 (d) can be used in cable broadcasting, not used in terrestrial broadcasting.

도 9의 (a) 내지 (d)에서는 본 발명의 블라인드 등화에 적용된 방식을 보여주고 있다.9 (a) to 9 (d) show the scheme applied to the blind equalization of the present invention.

도 9의 (a)와 같이 2-레벨 슬라이싱이 24.2ms(필드 동기 구간)동안 진행되고 난 후에 도 9의 (b)와 같이 4-레벨 슬라이싱이 진행되고, 다시 4-레벨 슬라이싱이 24.2ms동안 진행되고 난 후에 도 9의 (c)와 같이 8-레벨 슬라이싱이 진행되는 구조로 되어있다.After the two-level slicing proceeds for 24.2 ms (field synchronization interval) as shown in FIG. 9A, the four-level slicing proceeds as shown in FIG. 9B, and again, the four-level slicing is performed for 24.2 ms. After progressing, as shown in FIG. 9C, 8-level slicing proceeds.

즉, 도 6에서 등화기(206)의 출력 데이터를 멀티플렉서(314)의 선택 신호(select signal)에 의해 선택된 슬라이스 모드에 따라 슬라이싱한 결정 데이터(decision data)와 등화기(206)의 출력 데이터와의 차를 에러 검출기(315)에서 구하고 이 값을 에러 신호로하여 피드 포워드필터(301)와 피드백 필터(307)는 등화를 수행하게 된다.That is, in FIG. 6, the output data of the equalizer 206 is sliced according to the slice mode selected by the select signal of the multiplexer 314 and the output data of the equalizer 206. The difference between is obtained by the error detector 315 and this value is used as an error signal so that the feed forward filter 301 and the feedback filter 307 perform equalization.

이렇게 2 -> 4 -> 8-레벨 슬라이싱이 끝나고 나면 다시 단계 402로 되돌아가 동일한 루프(Loop)를 반복한다.After 2-> 4-> 8-level slicing is completed, the process returns to step 402 and repeats the same loop.

한편, 도 10은 본 발명의 다른 실시예로서, 상기된 도 7과 다른 부분만 설명한다. 이때, 도 10에서이후의 동작은 도 7b와 동일하므로 도시와 상세 설명을 생략한다.On the other hand, Figure 10 is another embodiment of the present invention, only the portion different from the above described Figure 7 will be described. At this time, in FIG. Subsequent operations are the same as in FIG. 7B, and thus, detailed descriptions thereof will be omitted.

즉, 도 7에서는 마이콤(100)이 DC 계산부(205)로부터 DC값을 몇번이나 읽었는지를 나타내는 Counter_1의 값이 10이 아니면 바로 움직임 고스트의 존재 여부를 판단하는 단계로 진행하였으나, 도 10에서는 마이콤(100)이 DC 값을 10번 읽어들이지 못한 경우 즉, Counter_1 = 10이 아닌 경우에는 단계 504로 되돌아가 계속 DC값을 읽어들이는 과정을 Counter_1 = 10이 될 때까지 반복한다.That is, in FIG. 7, if the value of Counter_1 indicating how many times the microcomputer 100 reads the DC value from the DC calculator 205 is not 10, the microcomputer 100 proceeds to the step of determining whether there is a motion ghost. If the microcomputer 100 fails to read the DC value 10 times, that is, if Counter_1 = 10, the process returns to step 504 and repeats the process of reading the DC value until Counter_1 = 10.

상기된 도 7과 도 10의 알고리즘을 구현하여 실험 결과에 의하면 성능은 거의 대동소이하다.According to the experimental results of implementing the algorithm of FIGS. 7 and 10 described above, the performance is almost the same.

한편, 도 11은 본 발명의 또 다른 실시예로서, 상기된 도 7과 다른 부분만 설명한다. 마찬가지로, 도 11에서이후의 동작은 도 7b와 동일하므로 도시와 상세 설명을 생략한다.On the other hand, Figure 11 is another embodiment of the present invention, only the portion different from the above described Figure 7 will be described. Likewise, in FIG. Subsequent operations are the same as in FIG. 7B, and thus, detailed descriptions thereof will be omitted.

즉, 메모리[20] ∼ 메모리[1]에 저장하는 값에는 여러 가지 방법이 있을 수 있는데, 도 7에서는 메모리[20] ∼ 메모리[1]에 마이콤(100)이 10번 읽어들인 DC값들 중 최소값을 저장하고 있으나, 도 11에서는 다른 예로 마이콤(100)이 10번 읽어들인 DC값들의 평균값을 저장한다.That is, there may be various methods for the values stored in the memory [20] to the memory [1]. In FIG. 7, the minimum value among the DC values read by the microcomputer 100 into the memory [20] to the memory [1] 10 times. In FIG. 11, the microcomputer 100 stores an average value of DC values read by the microcomputer 100 as another example.

이를 위해 먼저, 단계 605에서 Counter_1의 값이 10이라고 판별되면 상기 Counter_1의 값을 다시 0으로 리셋시킨 후, 마이콤(100)이 10번을 읽어 내부 메모리에 저장해 둔 10개의 DC값들 중 최대값(maximum DC_Value)과 최소값(minimum DC_Value)을 DCmax, DCmin이라는 변수에 따로 저장하고, 10개의 DC값들의 평균값을 DCvar라는 변수에 저장한다(단계 606).To this end, if it is determined in step 605 that the value of Counter_1 is 10, the value of Counter_1 is reset to 0 again, and then the maximum value among the 10 DC values stored in the internal memory by the microcomputer 100 is read 10 times. DC_Value) and minimum DC_Value are stored separately in the variables DCmax and DCmin, and the average value of 10 DC values is stored in the variable DCvar (step 606).

그리고 나서, 초기화 단계(601)에서 설정해 놓은 20개의 메모리의 값들을 각각 하나씩 이동시킨다(단계 607). 즉, 메모리[19]의 값은 메모리[20]으로, 메모리[18]의 값은 메모리[19]로,..., 메모리[1]의 값은 메모리[2]로 이동시키는 방법으로 20개의 메모리 값을 각각 이동시키고 난 후에는 마지막으로 메모리[1]에는 상기 단계 606에서 검출된 평균값(DCvar)을 저장한다(단계 608).Then, the values of the 20 memories set in the initialization step 601 are moved one by one (step 607). In other words, the value of memory [19] is moved to memory [20], the value of memory [18] is moved to memory [19], and the value of memory [1] is moved to memory [2]. After moving the memory values, the average value DCvar detected in step 606 is stored in the memory [1].

그리고, DCmax-DCmin의 값이 얼마인지를 계산하여 움직임 고스트를 검출한다(단계 609).Then, the motion ghost is detected by calculating what the value of DCmax-DCmin is (step 609).

즉, 상기 단계 609에서 DCmax-DCmin ≥ 6 이면 채널 상에 움직임 고스트가 있다고 판단하고 Counter_2의 값을 1로 바꾸고(단계 610), Counter_3의 값을 3으로 셋팅시킨다(단계 611).That is, if DCmax-DCmin? 6 in step 609, it is determined that there is a motion ghost on the channel, the value of Counter_2 is changed to 1 (step 610), and the value of Counter_3 is set to 3 (step 611).

한편, 상기 단계 609에서 DCmax-DCmin < 6이라고 판별되면 데이터 모드를 오프시키기 전에 먼저 채널 상에 아주 슬로우하게 움직이는 고스트가 있는지를 판별한다(단계 612).On the other hand, if it is determined in step 609 that DCmax-DCmin <6, it is first determined whether there is a ghost moving very slowly on the channel before turning off the data mode (step 612).

즉, 마이콤(100)에서 매 10번씩 DC값을 읽어들일 때마다 그 평균값 즉, DCvar값을 저장해둔 메모리[20] ∼메모리[1]의 값들과 현재 읽어서 계산된 평균값 즉, DCvar값과 비교한다.That is, each time the DC value is read by the microcomputer 100 every 10 times, the average value, that is, the values of the memory [20] to the memory [1] storing the DCvar value are compared with the average value calculated by reading the current value, that is, DCvar value. .

이때, 현재 읽어서 검출된 DCvar값을 이미 저장되어 있는 메모리[20] ∼ 메모리[1]의 값들과 비교하여 그 차가 6이상이면 비록 상기 단계 609에서 DCmax-DCmin < 6으로 판별되었다 하더라도 채널 상에는 슬로우하게 DC값을 변화시키는 움직임 고스트가 존재한다고 판단한다. 그리고, 현재에 검출된 DCvar값과 메모리[20] ∼ 메모리[1]의 값들을 비교하여서도 그 차가 6미만인 경우에야 비로소 채널 상에 움직임 고스트가 없다고 판단하는 근거로 삼는다.At this time, the current read and detected DCvar value is compared with the values of the memory [20] to the memory [1] already stored, and if the difference is 6 or more, even if it is determined that DCmax-DCmin <6 in the step 609, the channel is slow. It is determined that there is a moving ghost that changes the DC value. In addition, even when the detected DCvar value and the values of the memory [20] to the memory [1] are less than 6, it is used as the basis for determining that there is no motion ghost on the channel.

따라서, 상기 단계 612에서 diff의 값이 6보다 크면 채널 상에 아주 슬로우하게 움직이는 고스트가 있다고 판단하여 Counter_2의 값을 1로 셋트시키고(단계 610), Counter_3의 값을 3으로 셋트시킨다(단계 611).Therefore, if the diff value is greater than 6 in step 612, it is determined that there is a ghost moving very slowly on the channel, and the value of Counter_2 is set to 1 (step 610), and the value of Counter_3 is set to 3 (step 611). .

한편, 상기 단계 612에서 현재 검출된 DCvar 값과 메모리[20] ∼ 메모리[1]에 저장된 값들을 비교하여서도 그 차가 6미만인 경우에는 Counter_3의 값이 0인지를 판별한다(단계 613).On the other hand, the DCvar value currently detected in step 612 is compared with the values stored in the memory [20] to the memory [1], and if the difference is less than 6, it is determined whether the value of Counter_3 is 0 (step 613).

이후의 동작은 상기된 도 7과 동일하므로 상세 설명을 생략한다.Since the subsequent operation is the same as in FIG. 7 described above, a detailed description thereof will be omitted.

이와 같이 본 발명은 채널상에 빠르게 움직이는 움직임 고스트뿐만 아니라 아주 슬로우하게 움직이는 움직임 고스트도 검출하며, 특히 채널 상에 움직임 고스트가 없으면서 등화기(206)가 발산하지 않은 경우에는 등화기(206)를 트레이닝 시퀀스 모드로 동작시킨다. 또한, 채널 상에 움직임 고스트는 없으나 등화기(206)가 발산할 가능성이 있는 경우에는 블라인드 모드로 동작시키고, 채널 상에 슬로우하게 움직이는 고스트를 포함하여 움직임 고스트가 존재하면서 등화기(206)가 발산하지 않은 경우에는 데이터 모드로, 채널 상에 움직임 고스트도 존재하고 등화기(206)도 발산한 경우에는 데이터 모드와 블라인드 모드로 동시에 동작시킨다.As such, the present invention detects not only fast-moving motion ghosts on the channel but also very slow-moving motion ghosts, and trains the equalizer 206, particularly when the equalizer 206 does not diverge without a motion ghost on the channel. Operate in sequence mode. Also, if there is no motion ghost on the channel, but the equalizer 206 is likely to diverge, operate in blind mode, and the equalizer 206 diverges while there is a motion ghost, including a ghost moving slowly on the channel. If not, in the data mode, if there is a motion ghost on the channel and the equalizer 206 also diverges, the data mode and the blind mode are operated simultaneously.

이상에서와 같이 본 발명에 따른 채널 왜곡 보상 방법에 의하면, 채널상에 존재하는 움직임 고스트에 대하여 효과적으로 빠르게 제거할 수 있도록 하며, 특히 채널 상에서 아주 슬로우하게 움직이는 움직임 고스트도 검출하여 제거할 수 있도록 한다. 또한, 발산한 가능성이 있는 경우 또는, 시스템이 발산한 경우라도 최대한 빠르고 안정되게 등화기가 동작할 수 있도록 한다.As described above, according to the channel distortion compensation method of the present invention, it is possible to effectively and quickly remove the motion ghost existing on the channel, and in particular, to detect and remove the motion ghost moving very slowly on the channel. In addition, the equalizer can be operated as quickly and stably as possible even when there is a possibility of divergence or when the system diverges.

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

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

Claims (8)

트레이닝 시퀀스 모드, 데이터 모드, 블라인드 모드 중 적어도 어느 하나 이상의 모드로 등화를 수행하는 등화기를 이용하여 채널 상에 존재하는 고스트를 제거하는 채널 왜곡 보상 방법에 있어서,A channel distortion compensation method for removing ghosts present on a channel by using an equalizer that performs equalization in at least one of a training sequence mode, a data mode, and a blind mode, 입력되는 데이터로부터 DC값을 계산하고 일정 주기로 소정 횟수동안 상기 DC값을 읽어 와 그 중 최대값과 최소값을 검출하여 저장하는 단계;Calculating a DC value from input data, reading the DC value for a predetermined number of times at a predetermined period, and detecting and storing a maximum value and a minimum value among the DC values; 다수개의 메모리로 이루어지며 상기 메모리들의 값을 하나씩 이동시키면서 마지막으로 남은 메모리에 상기 최소값을 저장하는 단계;Storing the minimum value in a memory remaining last while shifting values of the memories one by one; 상기 단계에서 저장한 최대값과 최소값의 차가 미리 정한 제 1 임계값보다 큰지를 비교하는 단계;Comparing whether the difference between the maximum value and the minimum value stored in the step is greater than a first predetermined threshold value; 상기 단계에서 최대값과 최소값의 차가 제 1 임계값보다 작다고 판별되면 상기 다수개의 메모리에 저장된 값들을 현재 읽어서 검출된 최대값과 각각 비교하여 그 차가 미리 정한 제 2 임계값보다 큰지를 판별하는 단계; 그리고If it is determined that the difference between the maximum value and the minimum value is smaller than a first threshold, determining whether the difference is greater than a second predetermined threshold by comparing the values stored in the plurality of memories with the currently detected maximum value; And 상기 단계에서 최대값과 최소값의 차가 제 1 임계값보다 크거나 상기 단계에서 메모리들에 저장된 값과 현재 읽어서 검출된 최대값의 차가 제 2 임계값보다 크다고 판별되면 채널 상에 움직임 고스트가 존재한다고 판단하여 데이터 모드로 등화를 수행하는 단계를 포함하여 이루어지는 것을 특징으로 하는 채널 보상 방법.If it is determined in this step that the difference between the maximum value and the minimum value is greater than the first threshold value or in this step that the difference between the value stored in the memories and the currently detected maximum value is greater than the second threshold value, it is determined that there is a motion ghost on the channel. And performing equalization in a data mode. 제 1 항에 있어서,The method of claim 1, 입력되는 신호에 포함된 동기 신호를 검출하지 못하면 수신되는 데이터를 복조하는 복조부와 상기 등화기가 포함되는 채널 디코딩부를 리셋시키는 것을 특징으로 하는 채널 왜곡 보상 방법.And a demodulator for demodulating the received data and a channel decoder including the equalizer if the synchronization signal included in the input signal is not detected. 제 1 항에 있어서,The method of claim 1, 상기 등화기에서 등화된 신호의 평균 제곱 오차(MSE) 값이 신호 파워보다 크다고 판별되면 수신되는 데이터를 복조하는 복조부와 상기 등화기가 포함되는 채널 디코딩부를 리셋시키는 것을 특징으로 하는 채널 왜곡 보상 방법.And reconstructing a demodulator for demodulating received data and a channel decoder including the equalizer when it is determined that the average square error (MSE) value of the equalized signal is greater than the signal power in the equalizer. 제 1 항에 있어서,The method of claim 1, 상기 DC 값을 읽어오는 주기를 변화시키면서 채널 상에 존재하는 움직임 고스트의 존재 여부를 검출하는 것을 특징으로 하는 채널 왜곡 보상 방법.And detecting the presence or absence of a motion ghost existing on the channel while changing the period of reading the DC value. 제 1 항에 있어서,The method of claim 1, 상기 데이터 모드로 등화를 수행하는 단계는Performing equalization in the data mode 상기 등화기의 스텝 사이즈를 최대로 변경하여 등화를 수행하는 것을 특징으로 하는 채널 왜곡 보상 방법.And performing equalization by changing the step size of the equalizer to the maximum. 제 1 항에 있어서, 상기 등화 수행 단계는The method of claim 1, wherein performing equalization 움직임 고스트가 존재하지 않는다고 판별되고 스텝 사이즈가 최대로 판별되면 데이터 모드를 오프시키면서 스텝 사이즈는 일정 시간 간격을 두고 중간, 최소의 순으로 변경시키는 것을 특징으로 하는 채널 왜곡 보상 방법.And determining that there is no motion ghost and determining the maximum step size, while changing the data mode, changing the step size in the order of medium and minimum at regular intervals. 제 1 항에 있어서, 상기 등화 수행 단계는The method of claim 1, wherein performing equalization 움직임 고스트가 존재하지 않는다고 판별되어도 바로 데이터 모드를 오프시키지 않고, 움직임 고스트가 존재하지 않는다는 판정이 연속적으로 다수번 계속되면 데이터 모드를 오프시키는 것을 특징으로 하는 채널 왜곡 보상 방법.And turning off the data mode even if it is determined that there is no motion ghost, and turning off the data mode if the determination that there is no motion ghost continues a plurality of times. 트레이닝 시퀀스 모드, 데이터 모드, 블라인드 모드 중 적어도 어느 하나 이상의 모드로 등화를 수행하는 등화기를 이용하여 채널 상에 존재하는 고스트를 제거하는 채널 왜곡 보상 방법에 있어서,A channel distortion compensation method for removing ghosts present on a channel by using an equalizer that performs equalization in at least one of a training sequence mode, a data mode, and a blind mode, 입력되는 데이터로부터 DC값을 계산하고 일정 주기로 소정 횟수동안 상기 DC값을 읽어 와 그 중 최대값과 최소값을 검출하고 평균값을 계산하여 저장하는 단계;Calculating a DC value from input data, reading the DC value for a predetermined number of times at a predetermined period, detecting a maximum value and a minimum value therefrom, and calculating and storing an average value; 다수개의 메모리로 이루어지며 상기 메모리들의 값을 하나씩 이동시키면서 마지막으로 남은 메모리에 상기 평균값을 저장하는 단계;Storing the average value in a memory remaining last while shifting values of the memories one by one; 상기 단계에서 저장한 최대값과 최소값의 차가 미리 정한 제 1 임계값보다 큰지를 비교하는 단계;Comparing whether the difference between the maximum value and the minimum value stored in the step is greater than a first predetermined threshold value; 상기 단계에서 최대값과 최소값의 차가 제 1 임계값보다 작다고 판별되면 상기 다수개의 메모리에 저장된 값들을 현재 읽어서 계산된 평균값과 각각 비교하여 그 차가 미리 정한 제 2 임계값보다 큰지를 판별하는 단계; 그리고If it is determined that the difference between the maximum value and the minimum value is less than a first threshold value, determining whether the difference is greater than a second predetermined threshold value by comparing the values stored in the plurality of memories with an average value currently calculated; And 상기 단계에서 최대값과 최소값의 차가 제 1 임계값보다 크거나 상기 단계에서 메모리들에 저장된 값과 현재 읽어서 계산된 평균값의 차가 제 2 임계값보다 크다고 판별되면 채널 상에 움직임 고스트가 존재한다고 판단하여 데이터 모드로 등화를 수행하는 단계를 포함하여 이루어지는 것을 특징으로 하는 채널 보상 방법.If it is determined that the difference between the maximum value and the minimum value is greater than the first threshold value in the step or the difference between the value stored in the memories and the average value currently calculated in the step is greater than the second threshold value, it is determined that there is a motion ghost on the channel. And performing equalization in a data mode.
KR1019990022565A 1998-12-31 1999-06-16 Method for channel distortion compensating KR100290854B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1019990022565A KR100290854B1 (en) 1999-06-16 1999-06-16 Method for channel distortion compensating
US09/476,793 US6515713B1 (en) 1998-12-31 1999-12-30 Method and apparatus which compensates for channel distortion

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990022565A KR100290854B1 (en) 1999-06-16 1999-06-16 Method for channel distortion compensating

Publications (2)

Publication Number Publication Date
KR20010002657A true KR20010002657A (en) 2001-01-15
KR100290854B1 KR100290854B1 (en) 2001-05-15

Family

ID=19592832

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990022565A KR100290854B1 (en) 1998-12-31 1999-06-16 Method for channel distortion compensating

Country Status (1)

Country Link
KR (1) KR100290854B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100390433B1 (en) * 2001-02-28 2003-07-07 엘지전자 주식회사 Apparatus for tracking error of digital TV receiver
KR100464956B1 (en) * 2000-08-17 2005-01-05 매그나칩 반도체 유한회사 Efficient system for controlling operation mode of adaptive equalizer and controlling method
KR100603202B1 (en) * 2004-06-28 2006-07-24 삼성전자주식회사 Method and apparatus for auto selecting step size of LMS type equalizer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100464956B1 (en) * 2000-08-17 2005-01-05 매그나칩 반도체 유한회사 Efficient system for controlling operation mode of adaptive equalizer and controlling method
KR100390433B1 (en) * 2001-02-28 2003-07-07 엘지전자 주식회사 Apparatus for tracking error of digital TV receiver
KR100603202B1 (en) * 2004-06-28 2006-07-24 삼성전자주식회사 Method and apparatus for auto selecting step size of LMS type equalizer

Also Published As

Publication number Publication date
KR100290854B1 (en) 2001-05-15

Similar Documents

Publication Publication Date Title
KR0165507B1 (en) Equalizing method and equalizer using standard signal
US6222592B1 (en) TV receiver equalizer storing channel characterizations for each TV channel between times of reception therefrom
JP4845246B2 (en) Adaptive channel equalizer with training mode
KR960010495B1 (en) Channel equalizer
US7463679B2 (en) Equalizer mode selection based on distribution of symbol error
JP2004519971A (en) Two-stage equalizer for trellis coded system
KR20010100756A (en) Adaptive channel equalizer
KR100320477B1 (en) Apparatus for timing recovery of digital tv
JP2007537677A (en) Dual mode equalizer in ATSC-DTV receiver
US7133481B2 (en) Synchronization detection apparatus
US6313882B1 (en) TV reception apparatus using same ghost-cancellation circuitry for receiving different types of TV signals
KR100290854B1 (en) Method for channel distortion compensating
JP2005523635A (en) Equalizer mode switch
US6201564B1 (en) Method of operating the channel equalizer in a receiver for DTV signals subject to co-channel NTSC interference
JP2000506716A (en) Method of operating channel equalizer in receiver for DTV signal subject to co-channel interference
KR100278008B1 (en) Channel distortion compensation method and apparatus
KR100273763B1 (en) Tv reception apparatus using same ghost-cancellarion circuitry for receiving different types of tv signals
US20040091070A1 (en) Equalizer for a single-carrier receiver and equalization method therefor
US20040032529A1 (en) Equalizer for high definition television and equalization method thereof
US6882690B1 (en) Soft trellis slicer for improving the performance of a decision-directed phase tracker
JP2006166402A (en) Waveform equalizer, waveform equalization method and integrated circuit
EP1745585B1 (en) Symbol timing ambiguity correction
US20080025449A1 (en) Dual Mode Sync Generator in an Atsc-Dtv Receiver
JP4902889B2 (en) VSB demodulator and television receiver
Lee et al. A hardware efficient phase/gain tracking loop for the Grand Alliance VSB HDTV receiver

Legal Events

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

Payment date: 20111220

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee