KR20050093453A - Apparatus for restoring synchronizing signal - Google Patents

Apparatus for restoring synchronizing signal Download PDF

Info

Publication number
KR20050093453A
KR20050093453A KR1020040018791A KR20040018791A KR20050093453A KR 20050093453 A KR20050093453 A KR 20050093453A KR 1020040018791 A KR1020040018791 A KR 1020040018791A KR 20040018791 A KR20040018791 A KR 20040018791A KR 20050093453 A KR20050093453 A KR 20050093453A
Authority
KR
South Korea
Prior art keywords
signal
horizontal
falling edge
vertical
caption
Prior art date
Application number
KR1020040018791A
Other languages
Korean (ko)
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 KR1020040018791A priority Critical patent/KR20050093453A/en
Publication of KR20050093453A publication Critical patent/KR20050093453A/en

Links

Classifications

    • EFIXED CONSTRUCTIONS
    • E04BUILDING
    • E04FFINISHING WORK ON BUILDINGS, e.g. STAIRS, FLOORS
    • E04F19/00Other details of constructional parts for finishing work on buildings
    • E04F19/08Built-in cupboards; Masks of niches; Covers of holes enabling access to installations
    • E04F19/083Covers with fixing means providing for snap locking

Abstract

손상된 수평 및 수직 동기신호를 보상하여 클로즈드 캡션 데이터를 안정하게 디코딩하고, 또한 클로즈드 캡션 디코더를 조정하기 위하여 사용되는 파라미터들을 줄인다.Compensates for damaged horizontal and vertical sync signals to reliably decode the closed caption data and also reduces the parameters used to adjust the closed caption decoder.

영상신호에서 클럭 런 인 신호 검출부가 클럭 런 인 신호를 검출하고, 검출한 클럭 런인 신호에 따라 캡션 시작비트 검출부가 영상신호에서 캡션 시작 비트신호를 검출하며, 수평 동기신호 보상값 설정부가 수평 동기신호의 하강에지부터 상기 클럭 런인 신호를 검출할 때까지의 시간 오차를 검출하고 검출한 시간 오차에 따른 보상 값을 설정하며, 수평 동기신호 보상부가 상기 캡션 시작비트신호가 검출될 경우에 수평 동기신호의 하강에지부터 상기 설정한 보상 값에 따른 폭의 수평 동기신호를 생성하며, 수직 동기신호 오차값 검출부가 수직 동기신호의 하강에지부터 상기 캡션 시작비트 검출부가 캡션 시작비트신호를 검출할 때까지의 수평 동기신호의 개수를 카운트하여 수직 동기신호의 오차값을 검출하고, 수직 동기신호의 하강에지부터 상기 수직 동기신호 오차값 검출부가 검출한 오차값에 따른 폭의 수직 동기신호를 수직 동기신호 보상부가 발생한다.The clock run-in signal detector detects the clock run-in signal from the video signal, the caption start bit detector detects the caption start bit signal from the video signal according to the detected clock run-in signal, and the horizontal synchronizing signal compensation value setting unit Detects the time error from the falling edge of the signal until the clock run-in signal is detected and sets a compensation value according to the detected time error. When the caption start bit signal is detected, the horizontal sync signal compensator A horizontal synchronizing signal having a width corresponding to the set compensation value is generated from the falling edge, and the horizontal synchronizing signal error value detection unit is horizontal from the falling edge of the vertical synchronizing signal until the caption start bit detecting unit detects the caption start bit signal. The error value of the vertical synchronization signal is detected by counting the number of synchronization signals, and starting from the falling edge of the vertical synchronization signal. A vertical sync signal with a width of the straight-sync signal error value by detecting a detection error value arises added vertical synchronizing signal compensation.

Description

동기신호 보상장치{Apparatus for restoring synchronizing signal}Apparatus for restoring synchronizing signal

본 발명은 디지털 텔레비전 수상기 및 셋 탑 박스 등과 같은 방송신호 수신기기에 있어서, 동기신호가 손상되었을 경우에 그 손상된 동기신호를 보상하여 클로즈드 캡션(closed caption) 디코더가 클로즈드 캡션 데이터를 정확하게 디코딩할 수 있도록 하는 동기신호 보상장치에 관한 것이다.The present invention provides a broadcast signal receiver such as a digital television receiver and a set top box, in which a closed caption decoder can accurately decode the closed caption data when the synchronization signal is damaged. It relates to a synchronization signal compensation device.

일반적으로 NTSC(National Television Standards Committee) 방식의 신호는 초당 제 1 필드 및 제 2 필드로 이루어지는 30개의 화면으로 구성되고, 각 필드의 사이에는 어떠한 데이터도 실려 있지 않는 빈 공간인 수직귀선소거구간(vertical blanking interval)이 존재한다.In general, the NTSC (National Television Standards Committee) signal consists of 30 screens each consisting of a first field and a second field per second, and a vertical blanking interval, which is an empty space without any data between each field. blanking interval).

상기 수직귀선소거구간 중에서 21번째 라인과 284번째 라인에 클로즈드 캡션 데이터와 텍스트(text)를 실어 전송하도록 규정하고 있고(Y, Pb, Pr과 S-video 입력 시스템에서는 Y신호에 실리고, 아날로그 RGB 시스템에서는 3개의 신호 모두에 실린다.), 또한 프로그램명, 시작과 종료시간, 프로그램 레이팅 및 기타 정보들을 서비스하는 확장 데이터 서비스(XDS: Extended data services)의 데이터들도 상기 수직귀선소거구간의 284번째 라인에 실어 전송할 수 있도록 하고 있다.The closed caption data and the text are transmitted on the 21st line and the 284th line of the vertical blanking section (Y, Pb, Pr and S-video input system are loaded on the Y signal, and the analog RGB system Is displayed on all three signals), and also the data of extended data services (XDS) serving program names, start and end times, program ratings, and other information. It can be loaded on the transmission.

클로즈드 캡션에 사용되는 신호는 도 1에 도시된 바와 같이 수평 동기신호 및 컬러 버스트 신호의 다음에 위치하는 클럭 런 인 신호와, 3비트의 시작 비트신호와, 그리고 두 개의 7비트 데이터(b0∼b6) 및 2개의 패리티 비트(p1, p2)로 이루어지는 2바이트의 클로즈드 캡션 데이터 즉, 문자신호 1 및 문자신호 2로 구성된다.The signal used for the closed caption is a clock run in signal next to the horizontal synchronization signal and the color burst signal, a 3-bit start bit signal, and two 7-bit data (b0 to b6) as shown in FIG. ) And two-byte closed caption data consisting of two parity bits p1 and p2, that is, a character signal 1 and a character signal 2.

상기 클로즈드 캡션 데이터의 신호들 중에서 클럭 런인 신호는 7주기를 가지는 사인파의 버스트(burst) 신호로서 클로즈드 캡션 데이터에 주파수 고정(frequency lock) 및 위상 고정(phase lock)되어 있으며, 이것은 클로즈드 캡션 디코더에 동기신호를 제공하게 되는 것으로서 클로즈드 캡션 디코더는 상기 클럭 런 인 신호를 기준으로 클로즈드 캡션 데이터의 유무를 판단하고, 디코딩하고자 하는 클로즈드 캡션 데이터의 주파수 및 위상을 결정하게 된다.Among the signals of the closed caption data, the clock run-in signal is a sine wave burst signal having seven periods, and is frequency locked and phase locked to the closed caption data, which is synchronized with the closed caption decoder. As to provide a signal, the closed caption decoder determines whether there is closed caption data based on the clock run-in signal, and determines the frequency and phase of the closed caption data to be decoded.

도 2는 일반적인 NTSC 신호 디코더 및 클로즈드 캡션 디코더의 구성을 보인 블록도이다. 여기서, 부호 100은 NTSC 방식의 신호를 디코딩하는 NTSC 신호 디코더이고, 부호 110은 상기 NTSC 신호 디코더(100)가 디코딩한 신호에서 클로즈드 캡션 데이터를 디코딩하는 클로즈드 캡션 디코더이다.2 is a block diagram showing the configuration of a general NTSC signal decoder and a closed caption decoder. Here, reference numeral 100 denotes an NTSC signal decoder for decoding an NTSC signal, and reference numeral 110 denotes a closed caption decoder for decoding closed caption data from a signal decoded by the NTSC signal decoder 100.

상기 NTSC 신호 디코더(100)는, 입력되는 NTSC 방식의 신호에서 수평 동기신호(HS) 및 수직 동기신호(VS)를 분리하는 동기신호 분리기(101)와, 입력되는 NTSC 방식의 신호를 처리하여 클로즈드 캡션 데이터가 포함된 이미지 데이터를 출력하는 신호 처리기(103)를 구비한다.The NTSC signal decoder 100 is closed by processing a signal of the NTSC signal and a synchronization signal separator 101 which separates the horizontal synchronization signal HS and the vertical synchronization signal VS from the input NTSC signal. And a signal processor 103 for outputting image data including caption data.

상기 클로즈드 캡션 디코더(110)는, 상기 NTSC 신호 디코더(100)의 신호 처리기(103)가 처리하여 출력하는 클로즈드 캡션 데이터가 포함된 이미지 데이터를 입력받아 잡음을 제거하는 잡음 제거부(111)와, 상기 NTSC 신호 디코더(100)의 동기신호 분리기(101)에서 분리된 수평 동기신호(HS) 및 수직 동기신호(VS)로 상기 잡음 제거부(111)에서 잡음이 제거된 신호에서 캡션 데이터가 실려 있는 라인을 판단하는 캡션 데이터 라인 판단부(113)와, 상기 수직 동기신호(HS)로 캡션 데이터 라인 판단부(113)가 판단한 캡션 데이터가 실려 있는 라인에서 캡션 데이터가 실려 있는지를 판단하는 캡션 데이터 판단부(115)와, 상기 캡션 데이터 판단부(115)가 캡션 데이터가 실려 있는지를 판단할 경우에 캡션 데이터를 추출하는 캡션 데이터 추출부(117)를 구비한다.The closed caption decoder 110 may include a noise removing unit 111 that receives image data including closed caption data processed and output by the signal processor 103 of the NTSC signal decoder 100 and removes noise; Caption data is loaded from a signal from which noise is removed from the noise canceling unit 111 by a horizontal sync signal HS and a vertical sync signal VS separated by the sync signal separator 101 of the NTSC signal decoder 100. Caption data determination to determine whether the caption data is included in the caption data line determination unit 113 for determining a line and the caption data determined by the caption data line determination unit 113 with the vertical synchronization signal HS. And a caption data extracting unit 117 for extracting caption data when the caption data determining unit 115 determines whether caption data is loaded.

이러한 구성을 가지는 NTSC 신호 디코더(100) 및 클로즈드 캡션 디코더(110)는 NTSC 방식의 신호가 입력될 경우에 NTSC 신호 디코더(100)의 동기신호 분리기(101)가 NTSC 방식의 신호에서 수평 동기신호(HS) 및 수직 동기신호(VS)를 분리하여 클로즈드 캡션 디코더(110)로 출력하고, NTSC 신호 디코더(100)의 신호 처리기(103)는 NTSC 방식의 신호를 처리하여 캡션 데이터가 포함된 이미지 데이터들을 클로즈드 캡션 디코더(110)로 출력하게 된다.In the NTSC signal decoder 100 and the closed caption decoder 110 having the above-described configuration, when the NTSC signal is input, the sync signal separator 101 of the NTSC signal decoder 100 is a horizontal synchronization signal ( HS) and the vertical sync signal VS are separated and output to the closed caption decoder 110, and the signal processor 103 of the NTSC signal decoder 100 processes an NTSC signal to process image data including caption data. Output to the closed caption decoder 110.

그러면, 클로즈드 캡션 디코더(110)는, 상기 신호 처리기(103)에서 출력되는 캡션 데이터가 포함된 이미지 데이터들을 저역 필터링하여 잡음을 제거하고, 캡션 데이터 라인 판단부(113)로 출력한다. 상기 캡션 데이터 라인 판단부(113)는 상기 수직 동기신호(VS)에 따라 수평 동기신호(HS)를 카운트하여 캡션 데이터가 실려 있는 라인 즉, 21번째 라인과 284번째 라인을 검출한다.Then, the closed caption decoder 110 low-pass filters the image data including the caption data output from the signal processor 103 to remove noise and outputs the noise to the caption data line determiner 113. The caption data line determination unit 113 counts a horizontal synchronization signal HS according to the vertical synchronization signal VS to detect a line including caption data, that is, a 21st line and a 284th line.

상기 캡션 데이터 라인 판단부(113)가 클로즈드 캡션 데이터가 실려 있는 라인을 검출하면, 캡션 데이터 판단부(115) 수평 동기신호(HS)에서 클럭 런 인 신호의 구간을 검출하고, 검출한 클럭 런 인 신호를 기준으로 캡션 데이터 라인 판단부(113)가 검출한 라인에 클로즈드 캡션 데이터가 실려 있는 지의 여부를 판단하고, 클로즈드 캡션 데이터가 실려 있을 경우에 이를 캡션 데이터 추출부(117)에 알려 캡션 데이터 추출부(117)가 2바이트의 캡션 데이터를 추출하게 된다.When the caption data line determination unit 113 detects a line containing the closed caption data, the caption data determination unit 115 detects a section of the clock run in signal from the horizontal synchronization signal HS and detects the clock run in. Based on the signal, the caption data line determining unit 113 determines whether the closed caption data is included in the detected line, and if the closed caption data is loaded, the caption data extraction unit 117 notifies the caption data extraction. The unit 117 extracts caption data of 2 bytes.

이러한 클로즈드 캡션 디코더(110)에 있어서, NTSC 신호 디코더(100)의 동기신호 분리기(101)에서 분리되는 수평 동기신호(HS) 및 수직 동기신호(VS)가 표준규격과 정확하게 일치되어야 클로즈드 캡션 디코더(110)가 클로즈드 캡션 데이터를 정확하게 추출할 수 있다. 즉, 도 3a에 도시된 바와 같은 수직 동기신호(VS)의 구간동안 수평 동기신호(HS)는 도 3b 및 도 3c에 도시된 바와 같이 등화펄스신호, 분리 펄스신호 및 등화 펄스신호로 이루어지고, 클로즈드 캡션 디코더(110)는 수직 동기신호(VS)의 하강 에지(falling edge)부터 수평 동기신호(HS)를 카운트하면서 21번째 라인 및 284번째 라인을 검출하여 캡션 데이터를 추출한다.In the closed caption decoder 110, the horizontal caption signal HS and the vertical synchronizing signal VS which are separated from the synchronizing signal separator 101 of the NTSC signal decoder 100 must exactly match the standard specifications. 110 may accurately extract the closed caption data. That is, during the period of the vertical synchronizing signal VS as shown in FIG. 3A, the horizontal synchronizing signal HS is composed of an equalization pulse signal, a separation pulse signal, and an equalization pulse signal as shown in FIGS. 3B and 3C. The closed caption decoder 110 detects the 21st line and the 284th line and counts the caption data while counting the horizontal sync signal HS from the falling edge of the vertical sync signal VS.

그러나 NTSC 방식의 신호가 방송국에서 공중파를 통해 방송되고, 이를 방송신호 수신기기가 수신할 때 수신 불량이 발생하거나, 케이블을 통한 전송불량 등에 의한 채널의 잡음이나, 비디오 테이프 및 광 디스크 등의 저장 매체에 NTSC 방식의 신호를 저장하고, 재생하는 과정에서 열화 등으로 표준 규격의 수직 동기신호(VS) 및 수평 동기신호(HS)를 정확하게 분리하지 못하고, 손상되어 분리되는 경우가 많이 발생한다.However, an NTSC signal is broadcasted by air over the airwaves, and when a broadcast signal receiver receives it, a bad reception occurs, or channel noise caused by a poor transmission over a cable, or a storage medium such as a video tape or an optical disk. In the process of storing and reproducing an NTSC signal, deterioration of the vertical synchronization signal VS and the horizontal synchronization signal HS of a standard standard cannot be performed correctly, and many cases are damaged and separated.

이와 같이 NTSC 방식의 신호에서 분리된 수직 동기신호(VS) 및 수평 동기신호(HS)가 표준규격과 많은 차이가 발생하게 되면, 클로즈드 캡션 디코더(110)가 21번째 라인 및 284번째 라인을 정확하게 검출하지 못하고, 이로 인하여 클로즈드 캡션 데이터를 정확하게 추출하지 못하는 에러가 발생하게 된다. 즉, NTSC 신호 디코더(100)의 동기신호 분리기(101)가 분리하는 수평 동기신호(HS) 및 수직 동기신호(VS)가 도 4a 및 도 4b에 도시된 바와 같은 표준규격을 이루지 못하고, 예를 들면, 도 4c에 도시된 바와 같이 수직 동기신호(VS)가 분리될 경우에 그 수직 동기신호(VS)의 하강에지를 기준으로 수평 동기신호(HS)의 21번째 라인에 클로즈드 캡션 데이터가 위치하지 못하고, 이로 인하여 그 클로즈드 캡션 데이터를 추출하지 못하게 되는 문제점이 발생하게 된다.As such, when the vertical sync signal VS and the horizontal sync signal HS separated from the NTSC signal are greatly different from the standard standard, the closed caption decoder 110 accurately detects the 21st line and the 284th line. As a result, an error in which the closed caption data is not extracted accurately may occur. That is, the horizontal synchronizing signal HS and the vertical synchronizing signal VS separated by the synchronizing signal separator 101 of the NTSC signal decoder 100 do not achieve the standard as shown in FIGS. 4A and 4B. For example, when the vertical sync signal VS is separated as shown in FIG. 4C, the closed caption data is not positioned on the 21st line of the horizontal sync signal HS based on the falling edge of the vertical sync signal VS. As a result, a problem arises that the closed caption data cannot be extracted.

그러므로 종래에는 21번째 라인을 기준으로 소정의 범위 예를 들면, 19∼23번째 라인에서 클로즈드 캡션 데이터가 존재하는지의 여부를 판단하도록 하여 수평 동기신호(HS) 및 수직 동기신호(VS)가 어느 정도 표준규격을 벗어나도 클로즈드 캡션 데이터를 추출할 수 있도록 하고 있으나, 수평 동기신호(HS) 및 수직 동기신호(VS)가 3라인 이상 표준규격을 벗어날 경우에 여전히 클로즈드 캡션 데이터를 추출하지 못하게 되고, 클로즈드 캡션 데이터의 디코딩을 위하여 사용자가 클로즈드 캡션 디코더에 동기신호에 대한 과도한 값의 파라미터를 입력시켜야 되는 등의 불편과 번거로움이 있었다.Therefore, in the related art, it is possible to determine whether there is closed caption data in a predetermined range, for example, the 19th to 23rd lines, based on the 21st line, so that the horizontal sync signal HS and the vertical sync signal VS are somewhat different. Although it is possible to extract closed caption data even if the standard is out of the standard, when the horizontal sync signal (HS) and the vertical sync signal (VS) are outside the standard of 3 lines or more, the closed caption data still cannot be extracted. In order to decode the caption data, there is an inconvenience and inconvenience that the user has to input an excessive value parameter for the synchronization signal to the closed caption decoder.

그러므로 본 발명의 목적은 클로즈드 캡션 디코더로 입력되는 동기신호를 보상하여 클로즈드 캡션 데이터를 안정하게 디코딩할 수 있도록 하는 동기신호 보상장치를 제공하는데 있다.It is therefore an object of the present invention to provide a synchronization signal compensation device capable of stably decoding closed caption data by compensating a synchronization signal input to a closed caption decoder.

본 발명의 다른 목적은 클로즈드 캡션 디코더를 조정하기 위하여 사용되는 파라미터들을 줄이고, 왜곡된 동기신호를 입력될 경우에 능동적으로 대처하여 사용자의 편의를 증진시키고, 클로즈드 캡션 데이터를 정확하게 검출할 수 있도록 하는 동기신호 보상장치를 제공하는데 있다.Another object of the present invention is to reduce the parameters used to adjust the closed caption decoder, to actively cope with the input of the distorted sync signal, to enhance user convenience, and to accurately detect the closed caption data. It is to provide a signal compensation device.

이러한 목적을 가지는 본 발명의 동기신호 보상장치에 따르면, 수직 귀선소거 구간에 클로즈드 캡션데이터 등이 포함된 영상물이 과도한 재생이나 복사로 인해 누적되어 생기는 열화나 전송상의 노이즈 때문에 원 신호가 심하게 손상되어 그 디코딩이 여의치 않을 경우나, 캡션 디코더의 특성에 따라 동기신호를 제대로 분리하지 못할 경우에, 원래의 영상신호에 대한 캡션 디코더의 디코딩 타이밍 구간을 조정하고, 왜곡된 신호에 대한 대응성을 높이기 위한 하드웨어 로직을 구성하여 추가적인 비용을 줄이고 캡션 데이터의 디코딩 성능을 향상시킨다.According to the synchronizing signal compensation device of the present invention having the above object, the original signal is severely damaged due to deterioration or transmission noise caused by the accumulation of images with closed caption data in the vertical blanking section due to excessive reproduction or copying. Hardware for improving the responsiveness to the distorted signal and adjusting the decoding timing interval of the caption decoder for the original video signal when the decoding is not suitable or the synchronization signal cannot be properly separated according to the characteristics of the caption decoder. Configure logic to reduce additional costs and improve the decoding performance of caption data.

본 발명의 동기신호 보상장치는 NTSC 방식의 신호에서 분리된 수직 및 수평 동기신호를 재구성할 수 있는 로직과, 클럭 런 인(clock run-in) 신호의 존재 여부를 판단하는 로직을 구성하고, 그 두 로직이 연동되어 수직 귀선소거 구간 탐색 구간을 자동으로 결정하게 하여, 사용자가 탐색구간을 지정해야 하는 번거로움을 제거한다. The synchronization signal compensator of the present invention comprises logic capable of reconstructing vertical and horizontal synchronization signals separated from an NTSC signal, and logic for determining the presence of a clock run-in signal. The two logics work together to automatically determine the vertical blanking section search section, eliminating the need for the user to specify the search section.

그러므로 본 발명의 동기신호 보상장치는, 영상신호에서 클럭 런 인 신호를 검출하는 클럭 런 인 신호 검출부와, 상기 클럭 런인 신호 검출부가 클럭 런인 신호를 검출할 경우에 상기 영상신호에서 캡션 시작 비트신호를 검출하는 캡션 시작비트 검출부와, 수평 동기신호의 하강에지부터 상기 클럭 런인 신호 검출부가 클럭 런인 신호를 검출할 때까지의 시간 오차를 검출하고 검출한 시간 오차에 따른 보상 값을 설정하는 수평 동기신호 보상값 설정부와, 상기 캡션 시작비트 검출부가 캡션 시작비트신호를 검출할 경우에 상기 수평 동기신호의 하강에지부터 상기 수평 동기신호 보상값 설정부가 설정한 보상 값에 따른 폭의 수평 동기신호를 생성하는 수평 동기신호 보상부와, 수직 동기신호의 하강에지부터 상기 캡션 시작비트 검출부가 캡션 시작비트신호를 검출할 때까지의 수평 동기신호의 개수를 카운트하여 수직 동기신호의 오차값을 검출하는 수직 동기신호 오차값 검출부와, 상기 수직 동기신호의 하강에지부터 상기 수직 동기신호 오차값 검출부가 검출한 오차값에 따른 폭의 수직 동기신호를 발생하는 수직 동기신호 보상부로 구성됨을 특징으로 한다.Therefore, the synchronization signal compensating apparatus of the present invention includes a clock run-in signal detector for detecting a clock run-in signal from an image signal, and a caption start bit signal from the video signal when the clock run-in signal detector detects a clock run-in signal. A caption start bit detection unit for detecting a horizontal synchronization signal compensation for detecting a time error from the falling edge of the horizontal synchronization signal until the clock run-in signal detection unit detects a clock run-in signal and setting a compensation value according to the detected time error. When the value setting unit and the caption start bit detection unit detects a caption start bit signal, generating a horizontal synchronization signal having a width corresponding to the compensation value set by the horizontal synchronization signal compensation value setting unit from the falling edge of the horizontal synchronization signal. The caption start bit detecting unit starts from the falling edge of the horizontal synchronizing signal compensation unit and the vertical synchronizing signal. A vertical sync signal error value detector for counting the number of horizontal sync signals until the signal is detected to detect an error value of the vertical sync signal, and a vertical sync signal error value detector detected from a falling edge of the vertical sync signal And a vertical synchronizing signal compensator for generating a vertical synchronizing signal having a width according to the error value.

상기 수평 동기신호 보상값 설정부는, 상기 수평 동기신호의 하강에지를 검출하는 하강에지 검출부와, 상기 하강에지 검출부가 수평 동기신호의 하강에지를 검출할 때부터 상기 클럭 런 인 신호 검출부가 클럭 런 인 신호를 검출할 때까지 클럭신호를 카운트하는 카운터와, 상기 카운터의 카운트 값과 미리 설정된 기준값을 비교하여 수평 동기신호의 시간오차를 검출하여 상기 수평 동기신호 보상부에 보상 값으로 출력하는 시간오차 검출부로 구성됨을 특징으로 한다.The horizontal synchronizing signal compensation value setting unit includes a falling edge detecting unit detecting a falling edge of the horizontal synchronizing signal, and the clock run in signal detecting unit is a clock run in when the falling edge detecting unit detects the falling edge of the horizontal synchronizing signal. A time error detection unit for detecting a time error of the horizontal synchronization signal by comparing a counter counting a clock signal until a signal is detected, a count value of the counter and a preset reference value, and outputting a compensation value to the horizontal synchronization signal compensation unit; Characterized in that consisting of.

상기 수평 동기신호 보상부는, 수직 동기신호의 하강에지부터 상기 수평 동기신호를 카운트하고, 카운트 값에 따라 소정 폭의 캡션 검출용 윈도우를 생성하는 캡션 검출용 윈도우 생성부와, 상기 캡션 검출용 윈도우 생성부가 생성한 캡션 검출용 윈도우와 상기 캡션 시작비트 검출부의 검출신호를 논리 곱하는 앤드 게이트와, 상기 앤드 게이트의 출력신호에 따라 상기 수평 동기신호의 하강에지부터 상기 수평 동기신호 보상값 설정부가 설정한 보상 값에 따른 폭의 수평 동기신호를 발생하는 수평 동기신호 발생부로 구성됨을 특징으로 한다.The horizontal synchronizing signal compensator includes: a caption detection window generating unit for counting the horizontal synchronizing signal from a falling edge of the vertical synchronizing signal, and generating a caption detection window having a predetermined width according to the count value; and generating the caption detection window. Compensation set by the horizontal synchronizing signal compensation value setting unit from the falling edge of the horizontal synchronizing signal according to an AND gate for logically multiplying the additionally generated caption detection window and the detection signal of the caption start bit detection unit. Characterized in that it comprises a horizontal synchronization signal generator for generating a horizontal synchronization signal of the width according to the value.

상기 수직 동기신호 오차값 검출부는, 수직 동기신호의 하강에지를 검출하는 하강에지 검출부와, 상기 하강에지 검출부가 수직 동기신호의 하강에지를 검출할 때부터 수평 동기신호를 카운트하는 수평 동기신호 카운터와, 상기 캡션 시작비트 검출부가 캡션 시작비트신호를 검출할 경우에 상기 수평 동기신호 카운터의 카운트 값을 저장하여 수직 동기신호의 오차값으로 출력하는 카운트값 저장부로 구성됨을 특징으로 한다.The vertical synchronizing signal error value detecting unit includes a falling edge detecting unit detecting a falling edge of the vertical synchronizing signal, a horizontal synchronizing signal counter counting a horizontal synchronizing signal from the falling edge detecting unit detecting the falling edge of the vertical synchronizing signal; When the caption start bit detection unit detects a caption start bit signal, the caption start bit detector stores a count value of the horizontal synchronization signal counter and outputs the count value as an error value of the vertical synchronization signal.

상기 수직 동기신호 보상부는, 상기 수직 동기신호 오차값 검출부가 검출한 수직 동기신호의 오차값에 따라 수직 동기신호를 보상할 보상값을 설정하는 수직 동기신호 보상값 설정부와, 상기 수직 동기신호의 하강에지부터 상기 수직 동기신호 보상값 설정부가 설정한 보상 값에 따른 폭의 수직 동기신호를 발생하는 수직 동기신호 발생부로 구성됨을 특징으로 한다.The vertical synchronizing signal compensator may include a vertical synchronizing signal compensating value setting unit configured to set a compensation value for compensating the vertical synchronizing signal according to the error value of the vertical synchronizing signal detected by the vertical synchronizing signal error value detecting unit; And a vertical synchronizing signal generator for generating a vertical synchronizing signal having a width corresponding to the compensation value set by the vertical synchronizing signal compensation value setting unit from the falling edge.

이하, 첨부된 도 5 내지 도 7의 도면을 참조하여 본 발명의 동기신호 보상장치를 상세히 설명한다. Hereinafter, the synchronization signal compensation apparatus of the present invention will be described in detail with reference to the accompanying drawings of FIGS. 5 to 7.

도 5는 본 발명의 동기신호 보상장치의 구성을 보인 블록도이다. 이에 도시된 바와 같이, 영상신호에서 클럭 런 인 신호를 검출하는 클럭 런 인 신호 검출부(200)와, 상기 클럭 런인 신호 검출부(200)가 클럭 런인 신호를 검출할 경우에 상기 영상신호에서 캡션 시작 비트신호를 검출하는 캡션 시작비트 검출부(210)와, 수평 동기신호(HS)의 하강에지부터 상기 클럭 런인 신호 검출부(200)가 클럭 런인 신호를 검출할 때까지의 시간 오차를 검출하고 검출한 시간 오차에 따른 보상 값을 설정하는 수평 동기신호 보상값 설정부(220)와, 상기 캡션 시작비트 검출부(210)가 캡션 시작비트신호를 검출할 경우에 상기 수평 동기신호(HS)의 하강에지부터 상기 수평 동기신호 보상값 설정부(220)가 설정한 보상 값에 따른 폭의 수평 동기신호를 생성하는 수평 동기신호 보상부(230)와, 수직 동기신호(VS)의 하강에지부터 상기 캡션 시작비트 검출부(210)가 캡션 시작비트신호를 검출할 때까지의 수평 동기신호의 개수를 카운트하여 수직 동기신호의 오차값을 검출하는 수직 동기신호 오차값 검출부(240)와, 상기 수직 동기신호(VS)의 하강에지부터 상기 수직 동기신호 오차값 검출부(240)가 검출한 오차값에 따른 폭의 수직 동기신호를 발생하는 수직 동기신호 보상부(250)로 구성하였다.5 is a block diagram showing the configuration of the synchronization signal compensation apparatus of the present invention. As shown in the figure, the caption start bit in the video signal when the clock run-in signal detector 200 detects the clock run-in signal from the video signal and the clock run-in signal detector 200 detects the clock run-in signal. A caption start bit detection unit 210 for detecting a signal and a time error from the falling edge of the horizontal synchronizing signal HS to the clock run-in signal detection unit 200 detecting a clock run-in signal. The horizontal synchronization signal compensation value setting unit 220 for setting a compensation value according to the horizontal direction, and when the caption start bit detection unit 210 detects a caption start bit signal, the horizontal synchronization signal HS falls from the falling edge of the horizontal synchronization signal HS. The caption start bit check is performed from the falling edge of the vertical synchronizing signal VS and the horizontal synchronizing signal compensator 230 generating a horizontal synchronizing signal having a width corresponding to the compensation value set by the synchronizing signal compensation value setting unit 220. A vertical sync signal error value detector 240 for counting the number of horizontal sync signals until the unit 210 detects a caption start bit signal to detect an error value of the vertical sync signal, and the vertical sync signal VS The vertical synchronization signal compensator 250 generates a vertical synchronization signal having a width corresponding to the error value detected by the vertical synchronization signal error value detection unit 240 from the falling edge of.

상기 수평 동기신호 보상값 설정부(220)는, 상기 수평 동기신호의 하강에지를 검출하는 하강에지 검출부(221)와, 상기 하강에지 검출부(221)가 수평 동기신호의 하강에지를 검출할 때부터 상기 클럭 런 인 신호 검출부(200)가 클럭 런 인 신호를 검출할 때까지 클럭신호(CLK)를 카운트하는 카운터(223)와, 상기 카운터(223)의 카운트 값과 미리 설정된 기준값을 비교하여 수평 동기신호의 시간오차를 검출하는 시간오차 검출부(225)로 구성하였다.The horizontal synchronizing signal compensation value setting unit 220 includes a falling edge detecting unit 221 for detecting a falling edge of the horizontal synchronizing signal, and a time when the falling edge detecting unit 221 detects a falling edge of the horizontal synchronizing signal. The counter 223 counts the clock signal CLK until the clock run in signal detection unit 200 detects the clock run in signal, and compares the count value of the counter 223 with a preset reference value to perform horizontal synchronization. The time error detector 225 detects a time error of the signal.

상기 수평 동기신호 보상부(230)는, 수직 동기신호(231)의 하강에지부터 상기 수평 동기신호(HS)를 카운트하고, 카운트 값에 따라 소정 폭의 캡션 검출용 윈도우를 생성하는 캡션 검출용 윈도우 생성부(231)와, 상기 캡션 검출용 윈도우 생성부(231)가 생성한 캡션 검출용 윈도우와 상기 캡션 시작비트 검출부(210)의 검출신호를 논리 곱하는 앤드 게이트(233)와, 상기 앤드 게이트(233)의 출력신호에 따라 상기 수평 동기신호(HS)의 하강에지부터 상기 수평 동기신호 보상값 설정부(220)가 설정한 보상 값에 따른 폭의 수평 동기신호를 발생하는 수평 동기신호 발생부(235)로 구성하였다.The horizontal synchronizing signal compensator 230 counts the horizontal synchronizing signal HS from the falling edge of the vertical synchronizing signal 231 and generates a caption detection window having a predetermined width according to the count value. An AND gate 233 which logically multiplies a generation unit 231, a caption detection window generated by the caption detection window generation unit 231, and a detection signal of the caption start bit detection unit 210, and the AND gate ( Horizontal sync signal generator for generating a horizontal sync signal of the width according to the compensation value set by the horizontal sync signal compensation value setting unit 220 from the falling edge of the horizontal sync signal (HS) according to the output signal of the (233) ( 235).

상기 수직 동기신호 오차값 검출부(240)는, 수직 동기신호(VS)의 하강에지를 검출하는 하강에지 검출부(241)와, 상기 하강에지 검출부(241)가 수직 동기신호(VS)의 하강에지를 검출할 때부터 수평 동기신호(HS)를 카운트하는 수평 동기신호 카운터(243)와, 상기 캡션 시작비트 검출부(210)가 캡션 시작비트신호를 검출할 경우에 상기 수평 동기신호 카운터(243)의 카운트 값을 저장하여 수직 동기신호의 오차값으로 출력하는 카운트값 저장부(245)로 구성하였다.The vertical synchronization signal error value detector 240 includes a falling edge detector 241 for detecting the falling edge of the vertical synchronization signal VS and a falling edge detector 241 for the falling edge of the vertical synchronization signal VS. The horizontal synchronizing signal counter 243 which counts the horizontal synchronizing signal HS from the time of detection, and the count of the horizontal synchronizing signal counter 243 when the caption start bit detecting unit 210 detects the caption start bit signal. The count value storage unit 245 stores the value and outputs the error value of the vertical synchronization signal.

상기 수직 동기신호 보상부(250)는, 상기 수직 동기신호 오차값 검출부(240)가 검출한 수직 동기신호의 오차값에 따라 수직 동기신호를 보상할 보상값을 설정하는 수직 동기신호 보상값 설정부(251)와, 상기 수직 동기신호(VS)의 하강에지부터 상기 수직 동기신호 보상값 설정부(251)가 설정한 보상 값에 따른 폭의 수직 동기신호를 발생하는 수직 동기신호 발생부(253)로 구성하였다. The vertical synchronizing signal compensator 250 is configured to set a compensation value for compensating the vertical synchronizing signal according to the error value of the vertical synchronizing signal detected by the vertical synchronizing signal error value detecting unit 240. 251 and a vertical synchronization signal generator 253 for generating a vertical synchronization signal having a width corresponding to the compensation value set by the vertical synchronization signal compensation value setting unit 251 from the falling edge of the vertical synchronization signal VS. It consisted of.

이와 같이 구성된 본 발명의 동기신호 보상장치는 입력되는 영상신호에서 클럭 런 인 신호 검출부(200)가 클럭 런 인 신호를 검출하고, 클럭 런 인 신호의 검출신호는 수평동기신호 보상값 설정부(220)의 카운터(223)의 디스에이블 단자(DIS)에 인가되며, 또한 클럭 런 인 신호 검출부(200)가 클럭 런 인 신호를 검출할 때부터 캡션 시작비트 검출부(210)가 영상신호에서 캡션 시작비트신호를 검출하여 캡션 데이터가 실려 있는 수평 동기신호 라인인지의 여부를 판단한다.In the synchronization signal compensating apparatus of the present invention configured as described above, the clock run in signal detecting unit 200 detects the clock run in signal from the input image signal, and the detection signal of the clock run in signal is the horizontal synchronizing signal compensation value setting unit 220. Is applied to the disable terminal DIS of the counter 223, and the caption start bit detection unit 210 performs the caption start bit in the video signal when the clock run in signal detection unit 200 detects the clock run in signal. The signal is detected to determine whether or not it is a horizontal synchronization signal line carrying caption data.

그리고 수평동기신호 보상값 설정부(220)의 하강에지 검출부(221)가 입력되는 수평 동기신호(HS)의 하강에지를 검출하고, 수평 동기신호(HS)의 하강에지의 검출신호는 카운터(223)의 리세트 단자(RST)에 인가된다. 그러면, 카운터(223)는 수평 동기신호(HS)의 하강에지의 검출신호에 따라 카운트 값이 리세트된 후 클럭신호(CLK)를 카운트하고, 클럭 런 인 신호 검출부(200)가 클럭 런 인 신호를 검출할 때 클럭신호(CLK)의 카운트를 정지한다. 즉, 카운터(223)는 수평 동기신호(HS)의 하강에지부터 클럭 런 인 신호가 검출될 때까지의 시간동안 클럭신호(CLK)를 카운트한다.The falling edge detector 221 of the horizontal synchronizing signal compensation value setting unit 220 detects the falling edge of the horizontal synchronizing signal HS, and the detection signal of the falling edge of the horizontal synchronizing signal HS is a counter 223. Is applied to the reset terminal RST. Then, the counter 223 counts the clock signal CLK after the count value is reset according to the detection signal of the falling edge of the horizontal synchronization signal HS, and the clock run in signal detection unit 200 performs the clock run in signal. Stops counting the clock signal CLK. That is, the counter 223 counts the clock signal CLK for a time from the falling edge of the horizontal synchronization signal HS until the clock run-in signal is detected.

상기 카운터(223)의 카운트 값은 시간오차 검출부(225)로 입력되는 것으로서 시간오차 검출부(225)는 카운터(223)의 카운트 값과 미리 설정된 기준값을 비교하여 시간 오차를 검출한다. 즉, 수평 동기신호(HS)의 하강에지부터 클럭 런 인 신호가 발생되는 시점까지의 시간은 10.50㎲로 규정되어 있는 것으로서 시간오차 검출부(225)는 카운터(223)의 카운트 값과 미리 설정된 기준값을 비교하여 시간오차를 검출하고, 검출한 시간오차의 값을 수평 동기신호의 보상값으로 출력한다. The count value of the counter 223 is input to the time error detector 225, and the time error detector 225 detects a time error by comparing the count value of the counter 223 with a preset reference value. That is, the time from the falling edge of the horizontal synchronization signal HS to the time when the clock run-in signal is generated is defined as 10.50 ms. The time error detection unit 225 determines the count value and the preset reference value of the counter 223. By comparison, time error is detected and the detected time error value is output as a compensation value of the horizontal synchronization signal.

그리고 수직 동기신호 오차값 검출부(240)는 하강에지 검출부(241)가 수직 동기신호(VS)의 하강에지를 검출하여 검출신호를 출력하고, 출력한 검출신호는 수평 동기신호 보상부(230)의 캡션 검출용 윈도우 생성부(231)로 출력한다.The vertical synchronization signal error value detector 240 detects the falling edge of the vertical synchronization signal VS and outputs a detection signal by the falling edge detector 241. The output signal is output by the horizontal synchronization signal compensation unit 230. The caption detection window generator 231 outputs the caption detection window.

그러면, 캡션 검출용 윈도우 생성부(231)는 상기 수직 동기신호(VS)의 하강에지의 검출신호에 따라 리세트되면서 수평 동기신호(HS)를 카운트하고, 카운트 값이 소정의 값일 경우에 캡션 데이터를 검출하기 위한 윈도우를 생성 예를 들면, 카운트한 수평 동기신호(HS)의 수가 19∼23일 경우에 고전위를 출력하여 앤드 게이트(233)의 일측 입력단자에 인가되고, 또한 앤드 게이트(233)의 타측 입력단자에는 상기 캡션 시작비트 검출부(210)가 캡션 시작비트 신호를 검출한 검출신호가 인가되므로 상기 캡션 검출용 윈도우 생성부(231)가 생성한 윈도우 기간동안 상기 캡션 시작비트 검출부(210)가 캡션 시작비트 신호를 검출할 때 앤드 게이트(233)가 고전위를 출력하여 수평 동기신호 발생부(235)에 입력된다.Then, the caption detection window generator 231 counts the horizontal synchronization signal HS while being reset according to the detection signal of the falling edge of the vertical synchronization signal VS, and the caption data when the count value is a predetermined value. For example, when the number of counted horizontal synchronization signals HS is 19 to 23, a high potential is output and applied to one input terminal of the AND gate 233, and the AND gate 233 is generated. The caption start bit detector 210 detects the caption start bit signal by the caption start bit detector 210, and thus the caption start bit detector 210 during the window period generated by the caption detection window generator 231. When AND detects the caption start bit signal, the AND gate 233 outputs a high potential and is input to the horizontal synchronization signal generator 235.

그리고 수평 동기신호 발생부(235)는 상기 하강에지 검출부(221)가 하강에지를 검출할 때부터 상기 시간오차 검출부(225)가 검출한 시간오차 즉, 보상 값에 따른 소정의 폭을 가지는 수평 동기신호를 발생하고, 그 발생한 수평 동기신호는 앤드 게이트(233)가 고전위를 출력할 경우에 출력하여 수평 동기신호를 보상한다.The horizontal synchronizing signal generator 235 is a horizontal synchronizing device having a predetermined width corresponding to a time error, that is, a compensation value, detected by the time error detecting unit 225 since the falling edge detecting unit 221 detects the falling edge. A signal is generated, and the generated horizontal synchronizing signal is output when the AND gate 233 outputs a high potential to compensate for the horizontal synchronizing signal.

예를 들면, 도 6a에 도시된 바와 같은 표준 규격의 수평 동기신호가 손상되어 도 6b에 도시된 바와 같이 수평 동기신호(HS)가 입력된다고 가정할 경우에 수평 동기신호 발생부(235)가 도 6c에 도시된 바와 같이 수평 동기신호를 발생하여 보상하고, 또한 도 6d에 도시된 바와 같이 수평 동기신호(HS)가 입력된다고 가정할 경우에 수평 동기신호 발생부(235)가 도 6e에 도시된 바와 같이 수평 동기신호를 발생하여 보상한다.For example, when the horizontal synchronization signal of the standard standard as shown in FIG. 6A is damaged and the horizontal synchronization signal HS is input as shown in FIG. 6B, the horizontal synchronization signal generator 235 is shown in FIG. When the horizontal synchronization signal is generated and compensated as shown in FIG. 6C, and the horizontal synchronization signal HS is input as shown in FIG. 6D, the horizontal synchronization signal generator 235 is shown in FIG. 6E. As described above, the horizontal synchronization signal is generated and compensated.

그리고 수직 동기신호 오차값 검출부(240)는, 하강에지 검출부(241)가 검출한 수직 동기신호(VS)의 하강 에지신호가 수평 동기신호 카운터(243)로 입력되므로 수평 동기신호 카운터(243)는 수직 동기신호(VS)의 하강에지부터 수평 동기신호(HS)의 개수를 카운트하고, 카운트 값은 상기 캡션 시작비트 검출부(210)가 캡션 시작비트 신호를 검출할 때 카운트 값 저장부(245)에 입력되어 저장된다. 즉, 카운트 값 저장부(245)에는 수직 동기신호(VS)의 하강에지부터 클로즈드 캡션 데이터가 실린 영상신호에서 캡션 시작비트 신호가 검출될 때까지의 수평 동기신호(HS)의 카운트 값이 저장된다.Since the falling edge signal of the vertical synchronizing signal VS detected by the falling edge detector 241 is input to the horizontal synchronizing signal counter 243, the vertical synchronizing signal error value detecting unit 240 receives the horizontal synchronizing signal counter 243. The number of horizontal sync signals HS is counted from the falling edge of the vertical sync signal VS, and the count value is counted to the count value storage unit 245 when the caption start bit detector 210 detects the caption start bit signal. It is entered and stored. That is, the count value storage unit 245 stores the count value of the horizontal sync signal HS from the falling edge of the vertical sync signal VS until the caption start bit signal is detected in the video signal containing the closed caption data. .

상기 카운트 값 저장부(245)에 저장된 카운트 값은 수직 동기신호 보상부(250)의 수직 동기신호 보상값 설정부(251)에 입력되는 것으로서 수직 동기신호 보상값 설정부(251)는 상기 카운트 값과 클로즈드 캡션 데이터가 실려 있는 수평 동기신호의 라인 즉, 21번째 라인과 비교하여 수직 동기신호의 보상 값을 설정하고, 설정한 보상값은 수직 동기신호 발생부(253)로 입력된다.The count value stored in the count value storage unit 245 is input to the vertical synchronizing signal compensation value setting unit 251 of the vertical synchronizing signal compensating unit 250, and the vertical synchronizing signal compensating value setting unit 251 performs the count value. And a compensation value of the vertical synchronization signal are set in comparison with the line of the horizontal synchronization signal, that is, the twenty-first line, containing the closed caption data, and the set compensation value is input to the vertical synchronization signal generator 253.

그러면, 수직 동기신호 발생부(253)는 상기 하강에지 검출부(241)가 수직 동기신호(VS)의 하강에지를 검출할 때부터 상기 수직 동기신호 보상값 설정부(251)가 설정한 보상 값에 따른 폭의 수직 동기신호를 발생하여 보상한다.Then, the vertical synchronizing signal generator 253 starts the compensation value set by the vertical synchronizing signal compensation value setting unit 251 when the falling edge detector 241 detects the falling edge of the vertical synchronizing signal VS. Compensate by generating a vertical synchronizing signal of the corresponding width.

즉, 본 발명은 도 7a에 도시된 바와 같은 표준 규격의 수평 동기신호에 대하여 도 7b에 도시된 바와 같은 표준 규격의 수직 동기신호가 입력되지 않고, 예를 들면, 도 7c에 도시된 바와 같이 수직 동기신호가 느리게 입력될 경우에 캡션 데이터가 18번째 라인에 위치하여 디코딩할 수 없게 되고, 또한 도 7e에 도시된 바와 같이 수직 동기신호가 빠르게 입력될 경우에도 캡션 데이터가 24번째 라인에 위치하여 디코딩할 수 없게 된다. 이러한 경우에 본 발명은 도 7d 및 도 7f에 도시된 바와 같이 수직 동기신호를 보상 발생함으로써 클로즈드 캡션 데이터가 21번째 라인에 정확하게 위치되고, 이로 인하여 클로즈드 캡션 데이터를 정확하게 디코딩할 수 있다.That is, in the present invention, the vertical synchronization signal of the standard standard as shown in FIG. 7B is not input to the horizontal synchronization signal of the standard standard as shown in FIG. 7A, for example, as shown in FIG. 7C. When the synchronization signal is input slowly, the caption data is located on the 18th line and cannot be decoded. Also, as shown in FIG. 7E, the caption data is located on the 24th line and decoded even when the vertical synchronization signal is input quickly. You will not be able to. In this case, the present invention compensates for the vertical synchronizing signal as shown in Figs. 7D and 7F, so that the closed caption data is correctly positioned on the 21st line, thereby accurately decoding the closed caption data.

한편, 상기에서는 본 발명을 특정의 바람직한 실시 예에 관련하여 도시하고 설명하였지만, 이하의 특허청구범위에 의해 마련되는 본 발명의 정신이나 분야를 이탈하지 않는 한도 내에서 본 발명이 다양하게 개조 및 변화될 수 있다는 것을 당 업계에서 통상의 지식을 가진 자는 용이하게 알 수 있다.On the other hand, while the present invention has been shown and described with respect to specific preferred embodiments, various modifications and changes of the present invention without departing from the spirit or field of the invention provided by the claims below It can be easily understood by those skilled in the art.

이상에서 설명한 바와 같이 본 발명은 클로즈드 캡션 데이터를 검출하기 위한 수평 동기신호 및 수직 동기신호가 손상되었을 경우에 그 수평 및 수직 동기신호를 보상하여 발생시킴으로써 영상신호에 포함되어 있는 클로즈드 캡션 데이터를 정확하게 디코딩할 수 있고, 클로즈드 캡션 디코더를 조정하기 위하여 사용되는 파라미터들을 줄일 수 있다.As described above, the present invention accurately decodes closed caption data included in an image signal by compensating for the horizontal and vertical sync signals when the horizontal and vertical sync signals for detecting the closed caption data are damaged. It is possible to reduce the parameters used to adjust the closed caption decoder.

도 1은 일반적인 클로즈드 캡션 데이터의 신호 구성을 보인 도면.1 is a diagram showing a signal configuration of general closed caption data.

도 2는 일반적인 NTSC 신호 디코더 및 클로즈드 캡션 디코더의 구성을 보인 블록도.2 is a block diagram showing the configuration of a general NTSC signal decoder and a closed caption decoder.

도 3a 내지 도 3c는 수평 동기신호에 캡션 데이터가 실린 라인을 설명하기 위한 도면.3A to 3C are diagrams for explaining a line in which caption data is loaded on a horizontal synchronization signal;

도 4a 내지 도 4c는 비정상적인 수직 동기신호에 의해 캡션 데이터를 분리하지 못하는 경우를 예로 들어 설명하기 위한 도면.4A to 4C are diagrams for explaining a case in which caption data cannot be separated by an abnormal vertical synchronization signal.

도 5는 본 발명의 동기신호 보상장치의 구성을 보인 블록도.Figure 5 is a block diagram showing the configuration of a synchronization signal compensation device of the present invention.

도 6a 내지 도 6e는 본 발명의 동기신호 보상장치에 따라 수평 동기신호가 보상되는 것을 설명하기 위한 도면.6A to 6E are diagrams for explaining that horizontal synchronization signals are compensated according to the synchronization signal compensation device of the present invention.

도 7a 내지 도 7f는 본 발명의 동기신호 보상장치에 따라 수직 동기신호가 보상되는 것을 설명하기 위한 도면.7A to 7F are diagrams for explaining that a vertical synchronization signal is compensated according to the synchronization signal compensation apparatus of the present invention.

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

200 : 클럭 런 인 신호 검출부 210 : 캡션 시작비트 검출부200: clock run-in signal detector 210: caption start bit detector

220 : 수평 동기신호 보상값 설정부 221, 241 : 하강에지 검출부220: horizontal sync signal compensation value setting unit 221, 241: falling edge detection unit

223 : 카운터 225 : 시간오차 검출부 223: counter 225: time error detection unit

230 : 수평 동기신호 보상부 231 : 캡션 검출용 윈도우 생성부230: horizontal synchronization signal compensation unit 231: caption detection window generation unit

233 : 앤드게이트 240 : 수직 동기신호 오차값 검출부233: AND gate 240: vertical sync signal error value detector

243 : 수평 동기신호 카운터 245 : 카운트값 저장부243: horizontal synchronizing signal counter 245: count value storing unit

250 : 수직 동기신호 보상부 251 : 수직 동기신호 보상값 설정부250: vertical sync signal compensation unit 251: vertical sync signal compensation value setting unit

253 : 수직 동기신호 발생부253: vertical synchronization signal generator

Claims (5)

영상신호에서 클럭 런 인(clock run-in) 신호를 검출하는 클럭 런 인 신호 검출부;A clock run-in signal detector for detecting a clock run-in signal from the image signal; 상기 클럭 런인 신호 검출부가 클럭 런인 신호를 검출할 경우에 상기 영상신호에서 캡션 시작 비트신호를 검출하는 캡션 시작비트 검출부;A caption start bit detector for detecting a caption start bit signal from the video signal when the clock run-in signal detector detects a clock run-in signal; 수평 동기신호의 하강에지부터 상기 클럭 런인 신호 검출부가 클럭 런인 신호를 검출할 때까지의 시간 오차를 검출하고 검출한 시간 오차에 따른 보상 값을 설정하는 수평 동기신호 보상값 설정부;A horizontal synchronization signal compensation value setting unit configured to detect a time error from the falling edge of the horizontal synchronization signal to the clock run-in signal detection unit detecting a clock run-in signal and to set a compensation value according to the detected time error; 상기 캡션 시작비트 검출부가 캡션 시작비트신호를 검출할 경우에 상기 수평 동기신호의 하강에지부터 상기 수평 동기신호 보상값 설정부가 설정한 보상 값에 따른 폭의 수평 동기신호를 생성하는 수평 동기신호 보상부;When the caption start bit detection unit detects a caption start bit signal, a horizontal synchronizing signal compensator for generating a horizontal synchronizing signal having a width corresponding to a compensation value set by the horizontal synchronizing signal compensation value setting unit from the falling edge of the horizontal synchronizing signal; ; 수직 동기신호의 하강에지부터 상기 캡션 시작비트 검출부가 캡션 시작비트신호를 검출할 때까지의 수평 동기신호의 개수를 카운트하여 수직 동기신호의 오차값을 검출하는 수직 동기신호 오차값 검출부; 및A vertical sync signal error value detector for counting the number of horizontal sync signals from the falling edge of the vertical sync signal until the caption start bit detector detects the caption start bit signal; And 상기 수직 동기신호의 하강에지부터 상기 수직 동기신호 오차값 검출부가 검출한 오차값에 따른 폭의 수직 동기신호를 발생하는 수직 동기신호 보상부로 구성된 동기신호 보상장치.And a vertical synchronizing signal compensator for generating a vertical synchronizing signal having a width corresponding to the error value detected by the vertical synchronizing signal error value detecting unit from the falling edge of the vertical synchronizing signal. 제 1 항에 있어서, 상기 수평 동기신호 보상값 설정부는;The method of claim 1, wherein the horizontal synchronization signal compensation value setting unit; 상기 수평 동기신호의 하강에지를 검출하는 하강에지 검출부;A falling edge detector for detecting a falling edge of the horizontal synchronization signal; 상기 하강에지 검출부가 수평 동기신호의 하강에지를 검출할 때부터 상기 클럭 런 인 신호 검출부가 클럭 런 인 신호를 검출할 때까지 클럭신호를 카운트하는 카운터; 및A counter counting a clock signal from the falling edge detector to the falling edge of the horizontal synchronization signal until the clock run-in signal detector detects the clock run-in signal; And 상기 카운터의 카운트 값과 미리 설정된 기준값을 비교하여 수평 동기신호의 시간오차를 검출하여 상기 수평 동기신호 보상부에 보상 값으로 출력하는 시간오차 검출부로 구성됨을 특징으로 하는 동기신호 보상장치.And a time error detector for detecting a time error of the horizontal synchronization signal by comparing the count value of the counter with a preset reference value and outputting the compensation value to the horizontal synchronization signal compensator. 제 1 항에 있어서, 상기 수평 동기신호 보상부는;The apparatus of claim 1, wherein the horizontal synchronization signal compensator; 수직 동기신호의 하강에지부터 상기 수평 동기신호를 카운트하고, 카운트 값에 따라 소정 폭의 캡션 검출용 윈도우를 생성하는 캡션 검출용 윈도우 생성부;A caption detection window generation unit for counting the horizontal synchronization signal from the falling edge of the vertical synchronization signal and generating a caption detection window having a predetermined width according to the count value; 상기 캡션 검출용 윈도우 생성부가 생성한 캡션 검출용 윈도우와 상기 캡션 시작비트 검출부의 검출신호를 논리 곱하는 앤드 게이트; 및An AND gate which logically multiplies the caption detection window generated by the caption detection window generator and the detection signal of the caption start bit detector; And 상기 앤드 게이트의 출력신호에 따라 상기 수평 동기신호의 하강에지부터 상기 수평 동기신호 보상값 설정부가 설정한 보상 값에 따른 폭의 수평 동기신호를 발생하는 수평 동기신호 발생부로 구성됨을 특징으로 하는 동기신호 보상장치.And a horizontal synchronizing signal generating unit for generating a horizontal synchronizing signal having a width corresponding to a compensation value set by the horizontal synchronizing signal compensation value setting unit from the falling edge of the horizontal synchronizing signal according to the output signal of the AND gate. Compensator. 제 1 항에 있어서, 상기 수직 동기신호 오차값 검출부는;The method of claim 1, wherein the vertical synchronization signal error value detector; 수직 동기신호의 하강에지를 검출하는 하강에지 검출부;A falling edge detector detecting a falling edge of the vertical synchronization signal; 상기 하강에지 검출부가 수직 동기신호의 하강에지를 검출할 때부터 수평 동기신호를 카운트하는 수평 동기신호 카운터; 및A horizontal synchronizing signal counter for counting a horizontal synchronizing signal from when the falling edge detecting unit detects a falling edge of the vertical synchronizing signal; And 상기 캡션 시작비트 검출부가 캡션 시작비트신호를 검출할 경우에 상기 수평 동기신호 카운터의 카운트 값을 저장하여 수직 동기신호의 오차값으로 출력하는 카운트값 저장부로 구성됨을 특징으로 하는 동기신호 보상장치.And a count value storage unit for storing the count value of the horizontal synchronization signal counter and outputting the count value of the horizontal synchronization signal counter when the caption start bit detection unit detects a caption start bit signal. 제 1 항에 있어서, 상기 수직 동기신호 보상부는;The method of claim 1, wherein the vertical synchronization signal compensation unit; 상기 수직 동기신호 오차값 검출부가 검출한 수직 동기신호의 오차값에 따라 수직 동기신호를 보상할 보상값을 설정하는 수직 동기신호 보상값 설정부; 및A vertical synchronization signal compensation value setting unit configured to set a compensation value for compensating the vertical synchronization signal according to the error value of the vertical synchronization signal detected by the vertical synchronization signal error value detector; And 상기 수직 동기신호의 하강에지부터 상기 수직 동기신호 보상값 설정부가 설정한 보상 값에 따른 폭의 수직 동기신호를 발생하는 수직 동기신호 발생부로 구성됨을 특징으로 하는 동기신호 보상장치.And a vertical synchronizing signal generating unit for generating a vertical synchronizing signal having a width corresponding to a compensation value set by the vertical synchronizing signal compensation value setting unit from the falling edge of the vertical synchronizing signal.
KR1020040018791A 2004-03-19 2004-03-19 Apparatus for restoring synchronizing signal KR20050093453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040018791A KR20050093453A (en) 2004-03-19 2004-03-19 Apparatus for restoring synchronizing signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040018791A KR20050093453A (en) 2004-03-19 2004-03-19 Apparatus for restoring synchronizing signal

Publications (1)

Publication Number Publication Date
KR20050093453A true KR20050093453A (en) 2005-09-23

Family

ID=37274558

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040018791A KR20050093453A (en) 2004-03-19 2004-03-19 Apparatus for restoring synchronizing signal

Country Status (1)

Country Link
KR (1) KR20050093453A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100709374B1 (en) * 2006-01-17 2007-04-20 삼성전자주식회사 Display apparatus having function of sync compensator and method thereof
KR100790979B1 (en) * 2006-02-07 2008-01-02 삼성전자주식회사 Apparatus for detecting synchronization

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100709374B1 (en) * 2006-01-17 2007-04-20 삼성전자주식회사 Display apparatus having function of sync compensator and method thereof
KR100790979B1 (en) * 2006-02-07 2008-01-02 삼성전자주식회사 Apparatus for detecting synchronization

Similar Documents

Publication Publication Date Title
KR101523390B1 (en) Reproduction apparatus, display apparatus, reproduction method, and display method
KR0126658B1 (en) The sample rate conversion device for signal processing of non-standard tv.
KR100344510B1 (en) Recording/reproducing apparatus and input/output device
US8254470B2 (en) Encoding and decoding of embedded data stream in analog video using copy protection pulses
US6064442A (en) Color video signal demodulating apparatus
KR20050093453A (en) Apparatus for restoring synchronizing signal
EP1340385A2 (en) Apparatus and method for correcting signal and color degradation in a video image using known icons from video image
KR20010090497A (en) Data processing device and method thereof
EP2571281A1 (en) Image processing apparatus and control method thereof
JP4209084B2 (en) Separation apparatus for separating a signal transmitted during a blanking period of a video signal and a method for correcting the distortion of the signal
US8203651B2 (en) Video signal synchronization
JP2006101364A (en) Video image and voice synchronizer and television receiver
KR100277993B1 (en) Synchronization signal generator of digital television receiver
KR0123244Y1 (en) Circuit for a kbps
KR940002658Y1 (en) Caption decoder error correction apparatus
KR100472445B1 (en) Display apparatus and method for processing digital versatile disc signal prevented copy
KR100246431B1 (en) Title broadcasting receipt apparatus and method for ghost effect removal
KR100762569B1 (en) Apparatus for detecting image in TV
EP0849939A2 (en) Motion detection circuit and memory control circuit in YC separating circuit of PAL signals
JP2579141B2 (en) Television receiver
JP3279803B2 (en) Video signal processing circuit
KR950009770B1 (en) Bit noise cancellor
JP3456712B2 (en) Composite video signal detection circuit
KR100283876B1 (en) Viewing-restriction method &apparatus by channel change
JP2004343516A (en) Recording and playback processing apparatus

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination