KR20040099605A - Method of detecting input clock error - Google Patents

Method of detecting input clock error Download PDF

Info

Publication number
KR20040099605A
KR20040099605A KR1020030031637A KR20030031637A KR20040099605A KR 20040099605 A KR20040099605 A KR 20040099605A KR 1020030031637 A KR1020030031637 A KR 1020030031637A KR 20030031637 A KR20030031637 A KR 20030031637A KR 20040099605 A KR20040099605 A KR 20040099605A
Authority
KR
South Korea
Prior art keywords
clock
signal
predetermined
counter value
value
Prior art date
Application number
KR1020030031637A
Other languages
Korean (ko)
Other versions
KR100961947B1 (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 KR1020030031637A priority Critical patent/KR100961947B1/en
Publication of KR20040099605A publication Critical patent/KR20040099605A/en
Application granted granted Critical
Publication of KR100961947B1 publication Critical patent/KR100961947B1/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/003Details of a display terminal, the details relating to the control arrangement of the display terminal and to the interfaces thereto
    • G09G5/006Details of the interface to the display terminal
    • G09G5/008Clock recovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

PURPOSE: A method for detecting an input clock of an LCD device including a liquid crystal layer having dielectric anisotropy is provided to detect an error due to an abnormal input clock such as a non-toggling state or an abnormal high-frequency state by using a signal controller. CONSTITUTION: A fixed clock is received from an oscillator(S10). A first signal of a predetermined period having a predetermined signal level is generated during a predetermined period of fixed clocks(S20). A second signal and a third signal are generated by delaying the first signal according to predetermined periods(S30). After a rising edge of the second signal and after a falling edge of the second signal, a clock synchronous signal synchronized with a first clock of external input signals is generated respectively(S40). A clock counter value is increased according to the clock number of the input clocks when the clock synchronous signal is the predetermined signal level whereas the clock counter is reset when the clock synchronous signal is an opposite signal level to the predetermined signal level(S50). A difference value between the clock counter value and an initial clock counter value is stored into the counter and the previous memorized counter value is stored into the previous counter value when the first signal is the predetermined signal level(S60). An error of the input clock is detected by using a counter value and a previous counter value when the clock synchronous signal is the predetermined signal level(S70).

Description

입력 클록 에러 검출 방법 {METHOD OF DETECTING INPUT CLOCK ERROR}How to detect input clock error {METHOD OF DETECTING INPUT CLOCK ERROR}

본 발명은 입력 클록 에러 검출 방법에 관한 것으로서 특히 액정 표시 장치의 입력 클록 에러 검출 방법에 관한 것이다.The present invention relates to an input clock error detection method, and more particularly, to an input clock error detection method of a liquid crystal display device.

일반적인 액정 표시 장치는 두 표시판과 그 사이에 들어 있는 유전율이방성(dielectric anisotropy)을 갖는 액정층을 포함한다. 액정층에 전기장을 인가하고, 이 전기장의 세기를 조절하여 액정층을 통과하는 빛의 투과율을 조절함으로써 원하는 화상을 얻는다. 이러한 액정 표시 장치는 휴대가 간편한 평판 표시 장치(flat panel display, FPD) 중에서 대표적인 것으로서, 이 중에서도 박막 트랜지스터(thin film transistor, TFT)를 스위칭 소자로 이용한 TFT-LCD가 주로 이용되고 있다.A general liquid crystal display device includes two display panels and a liquid crystal layer having dielectric anisotropy interposed therebetween. An electric field is applied to the liquid crystal layer, and the intensity of the electric field is adjusted to adjust the transmittance of light passing through the liquid crystal layer to obtain a desired image. Such liquid crystal displays are typical among portable flat panel displays (FPDs) that are easy to carry. Among them, TFT-LCDs using thin film transistors (TFTs) as switching elements are mainly used.

TFT-LCD를 구동하기 위한 제어 신호 및 영상 데이터는 대부분의 경우 컴퓨터 또는 그래픽 제어기에서 CMOS 또는 LVDS(low voltage differential signal) 형태로 액정 표시 장치의 신호 제어부로 전송되고, 신호 제어부에서 데이터 복원 또는 영상 처리 과정을 거친 후 CMOS 데이터 형태로 전환되어 TFT-LCD의 데이터 구동부로 전송된다.Control signals and image data for driving a TFT-LCD are in most cases transmitted from a computer or a graphics controller to a signal controller of a liquid crystal display in the form of CMOS or low voltage differential signal (LVDS), and data restoration or image processing from the signal controller. After the process, it is converted into CMOS data and transmitted to the data driver of the TFT-LCD.

이처럼 TFT-LCD는 그 특성상 디지털로 구동된다. 신호 제어부는 디지털로 구동되는 디지털 로직 칩으로서 통상 ASIC(application specific integrated circuit)으로 이루어진다. 그런데 신호 제어부가 제대로 동작을 하기 위하여 내부 로직에 문제가 없어야 함은 당연하고, 규격에 맞는 정확한 클록(clock)과 수평 동기 신호(Hsync), 데이터 인에이블 신호(DE) 등과 같은 입력 신호들이 입력되어야 한다. 특히 클록은 액정 표시 장치 내에서 동작하는 각 구성 요소의 모든 동작을 동기화(synchronization)하고, 특정한 조작을 위한 동작 시간을 조절하는 등의 기능을 한다. 따라서 신호 제어부에 입력되는 입력 클록에 문제가 있는 경우 신호 제어부는 제대로 동작하지 못하게 되고 따라서 액정 표시 화면에 불량이 발생하게 된다.As such, the TFT-LCD is digitally driven due to its characteristics. The signal controller is a digital logic chip that is digitally driven and is usually composed of an application specific integrated circuit (ASIC). However, in order for the signal controller to operate properly, there should be no problem in the internal logic. Input signals such as accurate clock, horizontal sync signal (H sync ), and data enable signal (DE) complying with the standard are input. Should be. In particular, the clock functions to synchronize all operations of each component operating in the liquid crystal display, to adjust an operation time for a specific operation, and the like. Therefore, when there is a problem in the input clock input to the signal control unit, the signal control unit may not operate properly, thereby causing a defect in the liquid crystal display screen.

그런데 실제로 액정 표시 장치를 사용할 때 여러 가지 원인에 의하여 비정상인 클록이 입력되는 경우가 발생한다. 비정상인 클록의 예로 클록이 토글(toggle)하지 않거나 이상 고주파 클록이 발생하는 경우 등이 있다.However, when a liquid crystal display is actually used, an abnormal clock may be input due to various causes. Examples of abnormal clocks include clocks that do not toggle, or abnormal high frequency clocks.

본 발명이 이루고자 하는 기술적 과제는 비정상인 클록이 신호 제어부에 입력되는 경우 이를 검출하는 방법을 제공하는 것이다.An object of the present invention is to provide a method for detecting an abnormal clock when it is input to the signal controller.

도 1은 본 발명의 한 실시예에 따른 액정 표시 장치의 블록도이다.1 is a block diagram of a liquid crystal display according to an exemplary embodiment of the present invention.

도 2는 본 발명의 한 실시예에 따른 액정 표시 장치의 한 화소에 대한 등가 회로도이다.2 is an equivalent circuit diagram of one pixel of a liquid crystal display according to an exemplary embodiment of the present invention.

도 3은 본 발명의 한 실시예에 따른 입력 클록 에러 검출 방법을 도시한 흐름도이다.3 is a flowchart illustrating an input clock error detection method according to an embodiment of the present invention.

도 4는 본 발명의 한 실시예에 따른 각종 신호에 대한 파형도이다.4 is a waveform diagram of various signals according to an embodiment of the present invention.

도 5는 입력 클록(MCLK)이 토글하지 않는 경우의 각종 신호에 대한 파형도이다.5 is a waveform diagram of various signals when the input clock MCLK does not toggle.

도 6은 입력 클록(MCLK)이 이상 고주파 클록인 경우의 각종 신호에 대한 파형도이다.6 is a waveform diagram of various signals when the input clock MCLK is an abnormal high frequency clock.

이러한 기술적 과제를 이루기 위한 본 발명의 한 실시예에 따른 입력 클록 에러 검출 방법은, 발진자(oscillator)로부터 생성된 고정 클록을 수신하는 단계, 상기 고정 클록의 소정 개수의 주기 동안만 소정 신호 레벨을 가지는 소정 주기의 제1 신호를 생성하는 단계, 상기 제1 신호를 상기 소정 개수의 주기만큼 차례로 지연시킨 제2 신호 및 제3 신호를 생성하는 단계, 상기 제2 신호의 상승 에지 후 그리고 하강 에지 후 각각의 경우에 외부로부터의 입력 클록의 첫 번째 클록에 동기하여 토글(toggle)하는 클록 동기 신호를 생성하는 단계, 상기 클록 동기 신호가 소정 신호 레벨인 경우 상기 입력 클록의 클록수에 따라 클록 카운터의 값을 증가시키고, 상기 소정 신호 레벨과 반대 신호 레벨인 경우 상기 클록 카운터를 리셋하는 단계, 상기 제1 신호가 상기 소정 신호 레벨인 경우, 상기 클록 카운터의 값에서 초기 클록 카운터의 값을 뺀 값을 카운터 값에 기억하고, 이전에 기억되어 있는상기 카운터 값은 이전 카운터 값에 기억하는 단계, 그리고 상기 제2 신호가 상기 소정 신호 레벨인 경우, 상기 카운터 값과 상기 이전 카운터 값을 이용하여 상기 입력 클록의 에러를 검출하는 단계를 포함하고, 상기 초기 클록 카운터는 상기 제3 신호가 상기 소정 신호 레벨인 동안의 상기 클록 카운터의 값을 기억한다.In accordance with an aspect of the present invention, there is provided a method for detecting an input clock error, the method comprising: receiving a fixed clock generated from an oscillator and having a predetermined signal level only for a predetermined number of periods of the fixed clock; Generating a first signal of a predetermined period, generating a second signal and a third signal of sequentially delaying the first signal by the predetermined number of periods, after a rising edge and a falling edge of the second signal, respectively Generating a clock synchronizing signal that toggles in synchronization with the first clock of an input clock from an external source; and when the clock synchronizing signal is at a predetermined signal level, a value of a clock counter according to the number of clocks of the input clock Increasing a value and resetting the clock counter when the signal level is opposite to the predetermined signal level. In the case of the signal level, storing the value obtained by subtracting the value of the initial clock counter from the value of the clock counter in the counter value, and storing the previously stored counter value in the previous counter value, and the second signal Detecting an error of the input clock using the counter value and the previous counter value when the signal level is predetermined, wherein the initial clock counter comprises the clock counter while the third signal is the predetermined signal level. Remember the value of.

본 발명에 따르면, 상기 소정 개수의 주기는 적어도 2주기인 것이 바람직하다.According to the present invention, the predetermined number of periods is preferably at least two periods.

본 발명의 한 특징에 따르면, 상기 이전 카운터 값에 소정 제1 계수를 곱한 값보다 상기 카운터 값이 크거나 상기 이전 카운터 값에 소정 제2 계수를 곱한 값보다 상기 카운터 값이 작으면 상기 입력 클록의 에러를 검출하는 것이 바람직하다.According to an aspect of the present invention, if the counter value is greater than the previous counter value multiplied by a predetermined first coefficient or the counter value is less than the previous counter value multiplied by a predetermined second coefficient, It is desirable to detect errors.

또한 상기 소정 제1 계수는 2이고, 상기 소정 제2 계수는 0.5일 수 있다.In addition, the predetermined first coefficient may be 2 and the predetermined second coefficient may be 0.5.

본 발명에서, 상기 카운터 값이 "0"이면 상기 입력 클록(MCLK)의 에러를 검출하는 것이 바람직하다.In the present invention, when the counter value is "0", it is preferable to detect an error of the input clock MCLK.

첨부한 도면을 참고로 하여 본 발명의 실시예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다.DETAILED DESCRIPTION Embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention.

도면에서 여러 층 및 영역을 명확하게 표현하기 위하여 두께를 확대하여 나타내었다. 명세서 전체를 통하여 유사한 부분에 대해서는 동일한 도면 부호를 붙였다. 층, 막, 영역, 판 등의 부분이 다른 부분 "위에" 있다고 할 때, 이는 다른 부분 "바로 위에" 있는 경우뿐 아니라 그 중간에 또다른 부분이 있는 경우도 포함한다. 반대로 어떤 부분이 다른 부분 "바로 위에" 있다고 할 때에는 중간에 다른 부분이 없는 것을 뜻한다.In the drawings, the thickness of layers, films, panels, regions, etc., are exaggerated for clarity. Like parts are designated by like reference numerals throughout the specification. When a portion of a layer, film, region, plate, etc. is said to be "on top" of another part, this includes not only when the other part is "right on" but also another part in the middle. On the contrary, when a part is "just above" another part, there is no other part in the middle.

이제 본 발명의 실시예에 따른 입력 클록 에러 검출 방법에 대하여 도면을 참고로 하여 상세하게 설명한다.An input clock error detection method according to an embodiment of the present invention will now be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 한 실시예에 따른 액정 표시 장치의 블록도이고, 도 2는 본 발명의 한 실시예에 따른 액정 표시 장치의 한 화소에 대한 등가 회로도이다.1 is a block diagram of a liquid crystal display according to an exemplary embodiment of the present invention, and FIG. 2 is an equivalent circuit diagram of one pixel of the liquid crystal display according to an exemplary embodiment of the present invention.

도 1에 도시한 바와 같이, 본 발명의 한 실시예에 따른 액정 표시 장치는 액정 표시판 조립체(liquid crystal panel assembly)(300) 및 이에 연결된 게이트 구동부(400), 데이터 구동부(500), 데이터 구동부(500)에 연결된 계조 전압 생성부(800), 이들을 제어하는 신호 제어부(600), 그리고 발진자(oscillator)(40)를 포함한다.As shown in FIG. 1, a liquid crystal display according to an exemplary embodiment of the present invention includes a liquid crystal panel assembly 300, a gate driver 400, a data driver 500, and a data driver The gray voltage generator 800 connected to the signal generator 500, a signal controller 600 for controlling them, and an oscillator 40 are included.

액정 표시판 조립체(300)는 등가 회로로 볼 때 복수의 표시 신호선(G1-Gn, D1-Dm)과 이에 연결되어 있으며 대략 행렬의 형태로 배열된 복수의 화소(pixel)를 포함한다.The liquid crystal panel assembly 300 includes a plurality of display signal lines G 1 -G n , D 1 -D m and a plurality of pixels connected to the plurality of display signal lines G 1 -G n , D 1 -D m , and arranged in a substantially matrix form. .

표시 신호선(G1-Gn, D1-Dm)은 게이트 신호("주사 신호"라고도 함)를 전달하는 복수의 게이트선(G1-Gn)과 데이터 신호를 전달하는 데이터 신호선 또는 데이터선(D1-Dm)을 포함한다. 게이트선(G1-Gn)은 대략 행 방향으로 뻗어 있으며 서로가 거의 평행하고 데이터선(D1-Dm)은 대략 열 방향으로 뻗어 있으며 서로가 거의평행하다.The display signal lines G 1 -G n and D 1 -D m are a plurality of gate lines G 1 -G n for transmitting a gate signal (also called a “scan signal”) and a data signal line or data for transmitting a data signal. Line D 1 -D m . The gate lines G 1 -G n extend substantially in the row direction and are substantially parallel to each other, and the data lines D 1 -D m extend substantially in the column direction and are substantially parallel to each other.

각 화소는 표시 신호선(G1-Gn, D1-Dm)에 연결된 스위칭 소자(Q)와 이에 연결된 액정 축전기(liquid crystal capacitor)(CLC) 및 유지 축전기(storage capacitor)(CST)를 포함한다. 유지 축전기(CST)는 필요에 따라 생략할 수 있다.Each pixel includes a switching element Q connected to a display signal line G 1 -G n , D 1 -D m , and a liquid crystal capacitor C LC and a storage capacitor C ST connected thereto. It includes. The holding capacitor C ST can be omitted as necessary.

스위칭 소자(Q)는 하부 표시판(100)에 구비되어 있으며, 삼단자 소자로서 그 제어 단자 및 입력 단자는 각각 게이트선(G1-Gn) 및 데이터선(D1-Dm)에 연결되어 있으며, 출력 단자는 액정 축전기(CLC) 및 유지 축전기(CST)에 연결되어 있다.The switching element Q is provided on the lower panel 100, and the control terminal and the input terminal are connected to the gate line G 1 -G n and the data line D 1 -D m, respectively. The output terminal is connected to the liquid crystal capacitor C LC and the storage capacitor C ST .

액정 축전기(CLC)는 하부 표시판(100)의 화소 전극(190)과 상부 표시판(200)의 공통 전극(270)을 두 단자로 하며 두 전극(190, 270) 사이의 액정층(3)은 유전체로서 기능한다. 화소 전극(190)은 스위칭 소자(Q)에 연결되며 공통 전극(270)은 상부 표시판(200)의 전면에 형성되어 있고 공통 전압(Vcom)을 인가받는다. 도 2에서와는 달리 공통 전극(270)이 하부 표시판(100)에 구비되는 경우도 있으며 이때에는 두 전극(190, 270)이 모두 선형 또는 막대형으로 만들어진다.The liquid crystal capacitor C LC has two terminals, the pixel electrode 190 of the lower panel 100 and the common electrode 270 of the upper panel 200, and the liquid crystal layer 3 between the two electrodes 190 and 270. It functions as a dielectric. The pixel electrode 190 is connected to the switching element Q, and the common electrode 270 is formed on the front surface of the upper panel 200 and receives a common voltage V com . Unlike in FIG. 2, the common electrode 270 may be provided in the lower panel 100. In this case, both electrodes 190 and 270 may be linear or rod-shaped.

유지 축전기(CST)는 하부 표시판(100)에 구비된 별개의 신호선(도시하지 않음)과 화소 전극(190)이 중첩되어 이루어지며 이 별개의 신호선에는 공통 전압(Vcom) 따위의 정해진 전압이 인가된다. 그러나 유지 축전기(CST)는 화소 전극(190)이 절연체를 매개로 바로 위의 전단 게이트선과 중첩되어 이루어질 수 있다.The storage capacitor C ST is formed by overlapping a separate signal line (not shown) and the pixel electrode 190 provided on the lower panel 100, and a predetermined voltage such as a common voltage V com is applied to the separate signal line. Is approved. However, the storage capacitor C ST may be formed such that the pixel electrode 190 overlaps the front end gate line directly above the insulator.

한편, 색 표시를 구현하기 위해서는 각 화소가 색상을 표시할 수 있도록 하여야 하는데, 이는 화소 전극(190)에 대응하는 영역에 적색, 녹색, 또는 청색의 색 필터(230)를 구비함으로써 가능하다. 도 2에서 색 필터(230)는 상부 표시판(200)의 해당 영역에 형성되어 있지만 이와는 달리 하부 표시판(100)의 화소 전극(190) 위 또는 아래에 형성할 수도 있다.Meanwhile, in order to implement color display, each pixel must display color, which is possible by providing a red, green, or blue color filter 230 in a region corresponding to the pixel electrode 190. In FIG. 2, the color filter 230 is formed in a corresponding region of the upper panel 200. Alternatively, the color filter 230 may be formed above or below the pixel electrode 190 of the lower panel 100.

액정 표시판 조립체(300)의 두 표시판(100, 200) 중 적어도 하나의 바깥 면에는 빛을 편광시키는 편광자(도시하지 않음)가 부착되어 있다.A polarizer (not shown) for polarizing light is attached to an outer surface of at least one of the two display panels 100 and 200 of the liquid crystal panel assembly 300.

계조 전압 생성부(800)는 화소의 투과율과 관련된 두 벌의 복수 계조 전압을 생성한다. 두 벌 중 한 벌은 공통 전압(Vcom)에 대하여 양의 값을 가지고 다른 한 벌은 음의 값을 가진다.The gray voltage generator 800 generates two sets of gray voltages related to the transmittance of the pixel. One of the two sets has a positive value for the common voltage (V com ) and the other set has a negative value.

게이트 구동부(400)는 액정 표시판 조립체(300)의 게이트선(G1-Gn)에 연결되어 외부로부터의 게이트 온 전압(Von)과 게이트 오프 전압(Voff)의 조합으로 이루어진 게이트 신호를 게이트선(G1-Gn)에 인가하며 통상 복수의 집적 회로로 이루어진다.The gate driver 400 is connected to the gate lines G 1 -G n of the liquid crystal panel assembly 300 to receive a gate signal formed by a combination of a gate on voltage V on and a gate off voltage V off from the outside. It is applied to the gate lines G 1 -G n and usually consists of a plurality of integrated circuits.

데이터 구동부(500)는 액정 표시판 조립체(300)의 데이터선(D1-Dm)에 연결되어 계조 전압 생성부(800)로부터의 계조 전압을 선택하여 데이터 신호로서 화소에 인가하며 통상 복수의 집적 회로로 이루어진다.The data driver 500 is connected to the data lines D 1 -Dm of the liquid crystal panel assembly 300 to select the gray voltage from the gray voltage generator 800 and apply the gray voltage to the pixel as a data signal. Is made of.

신호 제어부(600)는 게이트 구동부(400) 및 데이터 구동부(500) 등의 동작을 제어하는 제어 신호를 생성하여, 각 해당하는 제어 신호를 게이트 구동부(400) 및 데이터 구동부(500)에 제공한다.The signal controller 600 generates control signals for controlling operations of the gate driver 400 and the data driver 500, and provides the corresponding control signals to the gate driver 400 and the data driver 500.

그러면 이러한 액정 표시 장치의 표시 동작에 대하여 좀더 상세하게 설명한다.Next, the display operation of the liquid crystal display will be described in more detail.

신호 제어부(600)는 외부의 그래픽 제어기(도시하지 않음)로부터 RGB 영상 신호(R, G, B) 및 이의 표시를 제어하는 입력 제어 신호, 예를 들면 수직 동기 신호(Vsync)와 수평 동기 신호(Hsync), 입력 클록(MCLK), 데이터 인에이블 신호(DE) 등을 제공받는다. 신호 제어부(600)는 입력 제어 신호를 기초로 게이트 제어 신호(CONT1) 및 데이터 제어 신호(CONT2) 등을 생성하고 영상 신호(R, G, B)를 액정 표시판 조립체(300)의 동작 조건에 맞게 적절히 처리한 후, 게이트 제어 신호(CONT1)를 게이트 구동부(400)로 내보내고 데이터 제어 신호(CONT2)와 처리한 영상 신호(R', G', B')는 데이터 구동부(500)로 내보낸다.The signal controller 600 inputs an input control signal for controlling the RGB image signals R, G, and B and their display from an external graphic controller (not shown), for example, a vertical sync signal V sync and a horizontal sync signal. (H sync ), an input clock MCLK, a data enable signal DE, and the like. The signal controller 600 generates a gate control signal CONT1 and a data control signal CONT2 based on the input control signal, and adjusts the image signals R, G, and B to match the operating conditions of the liquid crystal panel assembly 300. After appropriately processing, the gate control signal CONT1 is sent to the gate driver 400, and the data control signal CONT2 and the processed image signals R ', G', and B 'are sent to the data driver 500.

게이트 제어 신호(CONT1)는 게이트 온 펄스(게이트 신호의 하이 구간)의 출력 시작을 지시하는 수직 동기 시작 신호(STV), 게이트 온 펄스의 출력 시기를 제어하는 게이트 클록 신호(CPV) 및 게이트 온 펄스의 폭을 한정하는 출력 인에이블 신호(OE) 등을 포함한다.The gate control signal CONT1 includes a vertical synchronization start signal STV for indicating the start of output of the gate-on pulse (high period of the gate signal), a gate clock signal CPV for controlling the output timing of the gate-on pulse, and a gate-on pulse. And an output enable signal OE that defines the width of the signal.

데이터 제어 신호(CONT2)는 영상 데이터(R', G', B')의 입력 시작을 지시하는 수평 동기 시작 신호(STH)와 데이터선(D1-Dm)에 해당 데이터 전압을 인가하라는로드 신호(LOAD), 공통 전압(Vcom)에 대한 데이터 전압의 극성(이하 "공통 전압에 대한 데이터 전압의 극성"을 줄여 "데이터 전압의 극성"이라 함)을 반전시키는 반전 신호(RVS) 및 데이터 클록 신호(HCLK) 등을 포함한다.The data control signal CONT2 is a load for applying a corresponding data voltage to the horizontal synchronization start signal STH indicating the start of input of the image data R ', G', and B 'and the data lines D 1 -D m . Signal LOAD, inverted signal RVS and data that inverts the polarity of the data voltage with respect to common voltage V com (hereinafter referred to as " polarity of data voltage " by reducing " polarity of data voltage with respect to common voltage "). Clock signal HCLK and the like.

데이터 구동부(500)는 신호 제어부(600)로부터의 데이터 제어 신호(CONT2)에 따라 한 행의 화소에 대응하는 영상 데이터(R', G', B')를 차례로 입력받고, 계조 전압 생성부(800)로부터의 계조 전압 중 각 영상 데이터(R', G', B')에 대응하는 계조 전압을 선택함으로써, 영상 데이터(R', G', B')를 해당 데이터 전압으로 변환한다.The data driver 500 sequentially receives image data R ′, G ′, and B ′ corresponding to one row of pixels according to the data control signal CONT2 from the signal controller 600, and generates a gray voltage generator ( The image data R ', G', B 'is converted into the corresponding data voltage by selecting the gray voltage corresponding to each of the image data R', G ', and B' among the gray voltages from the 800.

게이트 구동부(400)는 신호 제어부(600)로부터의 게이트 제어 신호(CONT1)에 따라 게이트 온 전압(Von)을 게이트선(G1-Gn)에 인가하여 이 게이트선(G1-Gn)에 연결된 스위칭 소자(Q)를 턴온시킨다.The gate driver 400 applies the gate-on voltage V on to the gate lines G 1 -G n in response to the gate control signal CONT1 from the signal controller 600, thereby applying the gate lines G 1 -G n. Turn on the switching element (Q) connected to.

하나의 게이트선(G1-Gn)에 게이트 온 전압(Von)이 인가되어 이에 연결된 한 행의 스위칭 소자(Q)가 턴 온되어 있는 동안[이 기간을 "1H" 또는 "1 수평 주기(horizontal period)"이라고 하며 수평 동기 신호(Hsync), 데이터 인에이블 신호(DE), 게이트 클록(CPV)의 한 주기와 동일함], 데이터 구동부(500)는 각 데이터 전압을 해당 데이터선(D1-Dm)에 공급한다. 데이터선(D1-Dm)에 공급된 데이터 전압은 턴온된 스위칭 소자(Q)를 통해 해당 화소에 인가된다.The gate-on voltage V on is applied to one gate line G 1 -G n so that a row of switching elements Q connected thereto is turned on (this period is "1H" or "1 horizontal period). (horizontal period) "and equal to one period of the horizontal sync signal Hsync, the data enable signal DE, and the gate clock CPV], and the data driver 500 converts each data voltage to a corresponding data line D. 1 -D m ). The data voltage supplied to the data lines D 1 -D m is applied to the corresponding pixel through the turned-on switching element Q.

이러한 방식으로, 한 프레임(frame) 동안 모든 게이트선(G1-Gn)에 대하여 차례로 게이트 온 전압(Von)을 인가하여 모든 화소에 데이터 전압을 인가한다. 한 프레임이 끝나면 다음 프레임이 시작되고 각 화소에 인가되는 데이터 전압의 극성이 이전 프레임에서의 극성과 반대가 되도록 데이터 구동부(500)에 인가되는 반전 신호(RVS)의 상태가 제어된다("프레임 반전"). 이때, 한 프레임 내에서도 반전 신호(RVS)의 특성에 따라 한 데이터선을 통하여 흐르는 데이터 전압의 극성이 바뀌거나("라인 반전"), 한 화소행에 인가되는 데이터 전압의 극성도 서로 다를 수 있다("도트 반전").In this manner, the gate-on voltages V on are sequentially applied to all the gate lines G 1 -G n during one frame to apply data voltages to all the pixels. At the end of one frame, the next frame starts and the state of the inversion signal RVS applied to the data driver 500 is controlled so that the polarity of the data voltage applied to each pixel is opposite to that of the previous frame ("frame inversion). "). In this case, the polarity of the data voltage flowing through one data line may be changed (“line inversion”) within one frame or the polarity of the data voltage applied to one pixel row may be different according to the characteristics of the inversion signal RVS ( "Dot reversal").

한편 도 1에 도시한 것처럼, 본 발명의 한 실시예에 따른 액정 표시 장치는 고정 클록(osc_clk)을 생성하는 발진자(oscillator)(40)를 포함한다. 외부 장치로부터 신호 제어부(600)로 입력되는 입력 클록(MCLK)의 이상 여부를 파악하기 위하여 신호 제어부(600)는 발진자(40)로부터 고정 클록(osc_clk)을 입력받는다. 발진자(40)는 LC 발진 회로, RC 발진 회로, 윈 브리지(Wien bridge)형 발진기, 수정 발진기 등을 사용할 수 있다. 도 1에서 발진자(40)는 신호 제어부(600)의 외부에 있는 것으로 도시하였지만 신호 제어부(600)가 이를 포함하고 있어도 무방하다. 발진자(40)로부터의 고정 클록 주파수는 입력 클록(MCLK)의 주파수와 유사하게 선택한다.Meanwhile, as shown in FIG. 1, the liquid crystal display according to the exemplary embodiment of the present invention includes an oscillator 40 generating a fixed clock osc_clk. The signal controller 600 receives the fixed clock osc_clk from the oscillator 40 to determine whether the input clock MCLK inputted from the external device to the signal controller 600 is abnormal. The oscillator 40 may use an LC oscillator circuit, an RC oscillator circuit, a Wien bridge type oscillator, a crystal oscillator, or the like. Although the oscillator 40 is illustrated as being outside the signal controller 600 in FIG. 1, the signal controller 600 may include the oscillator 40. The fixed clock frequency from the oscillator 40 is selected similar to the frequency of the input clock MCLK.

그러면, 도 3 및 도 4를 참고로 하여 본 발명의 한 실시예에 따른 액정 표시 장치의 입력 클록 에러 검출 방법에 대하여 상세하게 설명한다.Next, an input clock error detection method of the liquid crystal display according to the exemplary embodiment of the present invention will be described in detail with reference to FIGS. 3 and 4.

도 3은 본 발명의 한 실시예에 따른 입력 클록 에러 검출 방법을 도시한 흐름도이고, 도 4는 본 발명의 한 실시예에 따른 각종 신호에 대한 파형도이다.3 is a flowchart illustrating a method of detecting an input clock error according to an embodiment of the present invention, and FIG. 4 is a waveform diagram of various signals according to an embodiment of the present invention.

도 3에 도시한 바와 같이, 발진자(40)로부터 생성된 고정 클록(osc_clk)을 수신한다(S10).As shown in FIG. 3, the fixed clock osc_clk generated from the oscillator 40 is received (S10).

다음, 고정 클록(osc_clk)의 소정 개수의 주기 동안만 소정 신호 레벨을 가지는 소정 주파수의 제1 동기 신호(osc_sync1)를 생성한다(S20). 여기서 고정 클록(osc_clk)의 소정 개수의 주기는 바람직하게는 적어도 2주기이다. 이것은 입력 클록(MCLK)이 토글함에 따라 후술할 클록 동기 신호(clk_sync)를 생성할 때 에러를 방지하기 위한 것이다. 한편 단계(S20)에서 소정 신호 레벨은 로우("L") 레벨이든 하이("H") 레벨이든 상관없지만 본 실시예에서는 "L" 레벨을 기준으로 하여 설명한다. 그리고 소정 주파수는 입력 클록(MCLK) 및 고정 클록(osc_clk)의 주파수보다 상당히 작다면 어떠하더라도 무방하다. 예를 들어 입력 클록(MCLK)이 65MHz라면 소정 주파수는 2.5kHz∼4kHz 정도이다.Next, the first synchronization signal osc_sync1 having a predetermined signal level is generated only during a predetermined number of periods of the fixed clock osc_clk (S20). Here, the predetermined number of periods of the fixed clock osc_clk is preferably at least two periods. This is to prevent an error when generating the clock synchronizing signal clk_sync to be described later as the input clock MCLK toggles. Meanwhile, in step S20, the predetermined signal level may be a low ("L") level or a high ("H") level, but the present embodiment will be described based on the "L" level. The predetermined frequency may be any if the frequency is considerably smaller than the frequencies of the input clock MCLK and the fixed clock osc_clk. For example, if the input clock MCLK is 65 MHz, the predetermined frequency is about 2.5 kHz to 4 kHz.

다음, 제1 동기 신호(osc_sync1)를 단계(S20)에서의 소정 개수의 주기만큼 차례로 지연시켜 제2 동기 신호(osc_sync2) 및 제3 동기 신호(osc_sync3)를 생성한다(S30). 즉, 제1 동기 신호(osc_sync1)의 상승 에지에서 제2 동기 신호(osc_sync2)가 하강하며, 제2 동기 신호(osc_sync2)의 상승 에지에서 제3 동기 신호(osc_sync3)가 하강하도록 위의 신호를 생성한다. 도 4에 각각의 동기 신호를 나타내고 있다.Next, the first synchronization signal osc_sync1 is sequentially delayed by a predetermined number of cycles in step S20 to generate the second synchronization signal osc_sync2 and the third synchronization signal osc_sync3 (S30). That is, the above-mentioned signal is generated such that the second synchronization signal osc_sync2 falls on the rising edge of the first synchronization signal osc_sync1 and the third synchronization signal osc_sync3 falls on the rising edge of the second synchronization signal osc_sync2. do. Each synchronization signal is shown in FIG.

제2 동기 신호(osc_sync2)의 상승 에지 후 그리고 하강 에지 후 각각의 경우에 외부로부터의 입력 클록(MCLK)의 첫 번째 클록에 동기하여 토글(toggle)되는 클록 동기 신호(clk_sync)를 생성한다(S40). 예를 들면, 제2 동기 신호(osc_sync2)의 하강 에지 후 입력 클록(MCLK)의 첫 번째 상승 에지 시 클록 동기 신호(clk_sync)가 하강한다. 그런 후 제2 동기 신호(osc_sync2)의 상승 에지 후 입력 클록(MCLK)의 첫 번째 상승 에지 시 클록 동기 신호(clk_sync)는 상승한다.In each case after the rising edge and the falling edge of the second synchronization signal osc_sync2, a clock synchronization signal clk_sync is toggled in synchronization with the first clock of the input clock MCLK from the outside (S40). ). For example, the clock synchronization signal clk_sync falls on the first rising edge of the input clock MCLK after the falling edge of the second synchronization signal osc_sync2. Thereafter, the clock synchronization signal clk_sync rises on the first rising edge of the input clock MCLK after the rising edge of the second synchronization signal osc_sync2.

클록 동기 신호(clk_sync)가 소정 신호 레벨인 경우 입력 클록(MCLK)의 클록수에 따라 클록 카운터(clk_cnt)의 값을 증가시키고, 소정 신호 레벨과 반대 신호 레벨인 경우 클록 카운터(clk_cnt)를 리셋한다(S50). 여기서 소정 신호 레벨은 "H" 레벨이든 "L" 레벨이든 상관없지만 본 실시예에서는 "H" 레벨을 기준으로 하여 설명한다.When the clock synchronizing signal clk_sync is at a predetermined signal level, the value of the clock counter clk_cnt is increased according to the number of clocks of the input clock MCLK. When the clock synchronizing signal clk_sync is at a predetermined signal level, the clock counter clk_cnt is reset. (S50). Although the predetermined signal level may be either an "H" level or an "L" level, the present embodiment will be described based on the "H" level.

제1 동기 신호(osc_sync1)가 단계(S20)에서와 같은 소정 신호 레벨인 경우, 즉 "L" 레벨인 경우, 클록 카운터(clk_cnt)의 값에서 초기 클록 카운터(start_clk_cnt)의 값을 뺀 값을 카운터 값(cnt_value)에 기억하고, 이전에 기억되어 있는 카운터 값(cnt_value)은 이전 카운터 값(pre_cnt_value)에 기억한다(S60). 여기서 초기 클록 카운터(start_clk_cnt)는 제3 동기 신호(osc_sync3)가 단계(S20)에서와 같은 소정 신호 레벨인 동안, 즉 "L" 레벨인 동안의 클록 카운터(clk_cnt)의 값을 기억한다. 이렇게 초기 클록 카운터(start_clk_cnt)를 설정하여 계산하는 이유는 제2 동기 신호(osc_sync2)의 하강 에지가 있은 후에 입력 클록(MCLK)이 토글하지 않으면 클록 동기 신호(clk_sync)가 "L" 레벨이 되지 않아 클록 카운터(clk_cnt)가 리셋되지 않고 잘못된 값을 가지게 되기 때문이다. 따라서 제3 동기 신호(osc_sync3)가 "L" 레벨인동안의 클록 카운터(clk_cnt)의 값을 초기 클록 카운터(start_clk_cnt)에 기억시켜 두고 제1 동기 신호(osc_sync1) 다음 주기의 "L" 레벨인 구간에서 이를 클록 카운터(clk_cnt)에서 뺀 값을 카운터 값(cnt_value)에 기억시키면 클록 동기 신호(clk_sync)가 "L" 레벨이 되지 않아 클록 카운터(clk_cnt)가 리셋되지 않더라도 제1 동기 신호(osc_sync1)의 한 주기내에서 입력 클록(MCLK)의 정확한 클록수가 카운터 값(cnt_value)에 기억된다.When the first synchronization signal osc_sync1 is at the predetermined signal level as in step S20, that is, at the "L" level, the value obtained by subtracting the value of the initial clock counter start_clk_cnt from the value of the clock counter clk_cnt is countered. The value cnt_value is stored, and the previously stored counter value cnt_value is stored in the previous counter value pre_cnt_value (S60). Here, the initial clock counter start_clk_cnt stores the value of the clock counter clk_cnt while the third synchronization signal osc_sync3 is at the predetermined signal level as in step S20, that is, at the "L" level. The reason for calculating by setting the initial clock counter start_clk_cnt is that if the input clock MCLK does not toggle after the falling edge of the second synchronization signal osc_sync2, the clock synchronization signal clk_sync does not become “L” level. This is because the clock counter clk_cnt is not reset and has a wrong value. Therefore, the value of the clock counter clk_cnt while the third synchronization signal osc_sync3 is at the "L" level is stored in the initial clock counter start_clk_cnt, and the interval is the "L" level of the next period of the first synchronization signal osc_sync1. If the value obtained by subtracting it from the clock counter clk_cnt is stored in the counter value cnt_value, the clock sync signal clk_sync does not become the “L” level, and thus the clock sync clk_cnt is not reset. The correct clock number of the input clock MCLK is stored in the counter value cnt_value within one period.

제2 동기 신호(osc_sync2)가 단계(S20)에서와 같은 소정 신호 레벨인 경우, 즉 "L" 레벨인 경우, 카운터 값(cnt_value)과 이전 카운터 값(pre_cnt_value)을 이용하여 입력 클록(MCLK)의 에러를 검출한다(S70). 단계(S70)에서는 이전 카운터 값(pre_cnt_value)에 소정 제1 계수를 곱한 값보다 카운터 값(cnt_value)이 크면 입력 클록(MCLK)의 에러라고 판정한다. 즉 입력 클록(MCLK)이 이상 고주파 클록인 경우이다. 여기서 소정 제1 계수가 2라면 입력 클록(MCLK)의 클록수가 정상 입력 클록수의 거의 2배 이상인 경우이다. 또한 단계(S70)에서는 이전 카운터 값(pre_cnt_value)에 소정 제2 계수를 곱한 값보다 카운터 값(cnt_value)이 작으면 입력 클록(MCLK)의 에러라고 판정한다. 즉 입력 클록(MCLK)이 정상적으로 토글하지 않는 경우이다. 여기서 소정 제2 계수가 0.5이면 제1 동기 신호(osc_sync1)의 한 주기내에서 입력 클록(MCLK)이 정상 입력 클록수의 반이상 토글되지 않는 경우이다. 또한 카운터 값(cnt_value)이 "0"인 경우에도 입력 클록(MCLK)의 에러라고 판정한다. 이러한 경우는 주로 제1 동기 신호(osc_sync1)의 2주기 이상 연속하여 입력 클록(MCLK)이 토글되지 않아서 이전 카운터 값(pre_cnt_value)이 "0"이 되어적절한 비교를 할 수 없는 경우를 대비하기 위한 것이다. 위에서 언급한 계수값들은 변경될 수 있는 값이다.When the second synchronization signal osc_sync2 is at the predetermined signal level as in step S20, that is, at the "L" level, the counter clock cnt_value and the previous counter value pre_cnt_value are used to determine the input clock MCLK. An error is detected (S70). In step S70, when the counter value cnt_value is larger than the value obtained by multiplying the previous counter value pre_cnt_value by a predetermined first coefficient, it is determined that the input clock MCLK is an error. In other words, the input clock MCLK is an abnormal high frequency clock. In this case, when the predetermined first coefficient is 2, the number of clocks of the input clock MCLK is almost twice or more than the number of normal input clocks. In operation S70, when the counter value cnt_value is smaller than the value obtained by multiplying the previous counter value pre_cnt_value by a predetermined second coefficient, it is determined that an error of the input clock MCLK is obtained. In other words, the input clock MCLK does not normally toggle. Herein, when the predetermined second coefficient is 0.5, the input clock MCLK does not toggle more than half of the normal input clock within one period of the first synchronization signal osc_sync1. Further, even when the counter value cnt_value is " 0 ", it is determined that the input clock MCLK is an error. This is mainly to prepare for the case where the proper counter value pre_cnt_value becomes "0" because the input clock MCLK is not toggled for two or more consecutive periods of the first synchronization signal osc_sync1 and thus an appropriate comparison cannot be performed. . The above mentioned coefficient values are values that can be changed.

도 5를 참조하여 입력 클록(MCLK)이 토글하지 않는 경우에 에러를 검출하는 방법에 대하여 설명한다.A method of detecting an error when the input clock MCLK does not toggle will be described with reference to FIG. 5.

도 5는 입력 클록(MCLK)이 토글하지 않는 경우의 각종 신호에 대한 파형도이다.5 is a waveform diagram of various signals when the input clock MCLK does not toggle.

본 예에서 제1 동기 신호(osc_sync1)의 한 주기 동안에 정상적으로 입력되는 입력 클록(MCLK)의 클록수는 대략 16,386회인 것으로 한다. 동기되지 않은 두 개의 클록을 사용하여 에러를 검출하는 것이므로 카운트 시 1∼2 클록의 오차는 발생할 수 있으나 본 발명은 보다 큰 범위의 클록 에러를 검출하는 것이므로 작은 수의 클록 오차는 무시한다.In this example, it is assumed that the clock number of the input clock MCLK normally input during one period of the first synchronization signal osc_sync1 is approximately 16,386 times. Since error is detected using two clocks which are not synchronized, errors of 1 to 2 clocks may occur during counting. However, since the present invention detects a larger range of clock errors, a small number of clock errors is ignored.

우선 정상적으로 입력 클록(MCLK)이 입력되는 첫 부분부터 설명한다. 제1 동기 신호(osc_sync1)의 신호 레벨이 "L"이 되면 이전에 기억되어 있던 카운터 값(cnt_value) 16,380은 이전 카운터 값(pre_cnt_value)에 기억되고, 클록 카운터(clk_cnt)의 값 16,382에서 초기 클록 카운터(start_clk_cnt)의 값 2를 뺀 값 16,380이 카운터 값(cnt_value)에 기억된다. 제2 동기 신호(osc_sync2)의 신호 레벨이 "L"이 되면 기억된 카운터 값(cnt_value)과 이전 카운터 값(pre_cnt_value)을 이용하여 에러가 발생하였는지 판정한다. 카운터 값(cnt_value) 16,380은 이전 카운터 값(pre_cnt_value) 16,380의 2배보다 작고, 1/2배보다 크며, 0이 아니기 때문에 입력 클록(MCLK)은 정상이라고 판정한다.First, the first part where the input clock MCLK is normally input will be described. When the signal level of the first synchronization signal osc_sync1 becomes "L", the previously stored counter value cnt_value 16,380 is stored in the previous counter value pre_cnt_value, and the initial clock counter at the value 16,382 of the clock counter clk_cnt. The value 16,380 minus the value 2 of (start_clk_cnt) is stored in the counter value (cnt_value). When the signal level of the second synchronization signal osc_sync2 becomes "L", it is determined whether an error has occurred using the stored counter value cnt_value and the previous counter value pre_cnt_value. Since the counter value cnt_value 16,380 is less than twice the previous counter value pre_cnt_value 16,380, is greater than 1/2 times, and not zero, the input clock MCLK is determined to be normal.

클록 동기 신호(clk_sync)가 "L" 레벨이 되면 클록 카운터(clk_cnt)는 "0"으로 리셋된다. 그 후 클록 동기 신호(clk_sync)가 "H" 레벨이 되면 클록 카운터(clk_cnt)는 다시 카운트하기 시작한다. 제3 동기 신호(osc_sync3)의 신호 레벨이 "L"인 동안의 클록 카운터(clk_cnt)의 값 "2"가 초기 클록 카운터(start_clk_cnt)에 기억된다.When the clock synchronizing signal clk_sync reaches the "L" level, the clock counter clk_cnt is reset to "0". After that, when the clock synchronizing signal clk_sync reaches the " H " level, the clock counter clk_cnt starts counting again. The value "2" of the clock counter clk_cnt while the signal level of the third synchronization signal osc_sync3 is "L" is stored in the initial clock counter start_clk_cnt.

입력 클록(MCLK)이 클록 카운터(clk_cnt)가 리셋된 후 4개만 입력되고 그 후 토글되지 않는다면 제1 동기 신호(osc_sync1)의 다음 주기 "L" 레벨에서 클록 카운터(clk_cnt)의 값은 4이고 초기 클록 카운터(start_clk_cnt)의 값은 2이므로 카운터 값(cnt_value)은 2가 된다. 이전 카운터 값(pre_cnt_value)은 16,380이므로 카운터 값(cnt_value)은 이전 카운터 값(pre_cnt_value)의 1/2배보다 작다. 따라서 비정상인 입력 클록(MCLK)이 입력되었다고 판정한다.If only four input clocks MCLK are input after the clock counter clk_cnt is reset and not toggled thereafter, the value of the clock counter clk_cnt is 4 at the next period " L " level of the first synchronization signal osc_sync1 and the initial value is 4. Since the value of the clock counter start_clk_cnt is 2, the counter value cnt_value is 2. Since the previous counter value (pre_cnt_value) is 16,380, the counter value (cnt_value) is less than 1/2 times the previous counter value (pre_cnt_value). Therefore, it is determined that an abnormal input clock MCLK is input.

다음, 도 6을 참조하여 입력 클록(MCLK)이 이상 고주파 클록인 경우에 에러를 검출하는 방법에 대하여 설명한다.Next, a method of detecting an error when the input clock MCLK is the abnormal high frequency clock will be described with reference to FIG. 6.

도 6은 입력 클록(MCLK)이 이상 고주파 클록인 경우의 각종 신호에 대한 파형도이다.6 is a waveform diagram of various signals when the input clock MCLK is an abnormal high frequency clock.

클록 동기 신호(clk_sync)가 정상적으로 "L" 레벨이 되어 클록 카운터(clk_cnt)가 리셋되고, 입력 클록(MCLK)이 4개까지 정상으로 입력된 후 제1 동기 신호(osc_sync1)가 "L" 레벨이 될 때까지 비정상인 고주파 클록으로 입력되어 클록 카운터(clk_cnt)의 값이 32,862가 되었다고 가정한다. 초기 클록 카운터(start_clk_cnt)의 값은 위의 경우와 마찬가지로 2이다. 그러면 제1 동기신호(osc_sync1)의 다음 "L" 레벨에서 카운터 값(cnt_value)은 32,860이 되고 이전 카운터 값(pre_cnt_value) 16,380의 2배보다 큰 값이므로 비정상인 입력 클록(MCLK)이 입력되었다고 판정한다.When the clock synchronization signal clk_sync is normally at the "L" level, the clock counter clk_cnt is reset, the input clock MCLK is input to up to four normally, and then the first synchronization signal osc_sync1 is at the "L" level. It is assumed that the value of the clock counter clk_cnt is 32,862, which is inputted into an abnormal high frequency clock until The value of the initial clock counter start_clk_cnt is 2 as in the above case. Then, the counter value cnt_value becomes 32,860 at the next " L " level of the first synchronization signal osc_sync1 and is greater than twice the previous counter value pre_cnt_value 16,380, thereby determining that an abnormal input clock MCLK has been input. .

위에서 설명한 카운터 값(cnt_value)은 입력 클록(MCLK) 및 고정 클록(osc_clk)의 주파수에 따라 변화되는 값이며, 위의 예시에서의 각 변수들의 값은 임의의 예에 불과하다.The counter value cnt_value described above is a value that changes according to the frequencies of the input clock MCLK and the fixed clock osc_clk, and the values of the variables in the above example are merely arbitrary examples.

이상에서 본 발명의 바람직한 실시예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.Although the preferred embodiments of the present invention have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements of those skilled in the art using the basic concepts of the present invention defined in the following claims are also provided. It belongs to the scope of rights.

이와 같이 본 발명에 의하면 입력 클록이 토글되지 않거나 이상 고주파인 경우와 같이 비정상인 입력 클록이 신호 제어부에 입력되는 경우 에러를 검출할 수 있다.As described above, according to the present invention, an error can be detected when an abnormal input clock is input to the signal controller, such as when the input clock is not toggled or at an abnormal high frequency.

Claims (5)

발진자(oscillator)로부터 생성된 고정 클록을 수신하는 단계,Receiving a fixed clock generated from an oscillator, 상기 고정 클록의 소정 개수의 주기 동안만 소정 신호 레벨을 가지는 소정 주기의 제1 신호를 생성하는 단계,Generating a first signal of a predetermined period having a predetermined signal level only for a predetermined number of periods of the fixed clock; 상기 제1 신호를 상기 소정 개수의 주기만큼 차례로 지연시킨 제2 신호 및 제3 신호를 생성하는 단계,Generating a second signal and a third signal which sequentially delay the first signal by the predetermined number of periods, 상기 제2 신호의 상승 에지 후 그리고 하강 에지 후 각각의 경우에 외부로부터의 입력 클록의 첫 번째 클록에 동기하여 토글(toggle)하는 클록 동기 신호를 생성하는 단계,Generating a clock synchronizing signal that toggles in synchronization with the first clock of an input clock from outside in each case after the rising edge and the falling edge of the second signal, 상기 클록 동기 신호가 소정 신호 레벨인 경우 상기 입력 클록의 클록수에 따라 클록 카운터의 값을 증가시키고, 상기 소정 신호 레벨과 반대 신호 레벨인 경우 상기 클록 카운터를 리셋하는 단계,Increasing a value of a clock counter according to the number of clocks of the input clock when the clock synchronization signal is at a predetermined signal level, and resetting the clock counter when the clock synchronization signal is at a signal level opposite to the predetermined signal level; 상기 제1 신호가 상기 소정 신호 레벨인 경우, 상기 클록 카운터의 값에서 초기 클록 카운터의 값을 뺀 값을 카운터 값에 기억하고, 이전에 기억되어 있는 상기 카운터 값은 이전 카운터 값에 기억하는 단계, 그리고When the first signal is at the predetermined signal level, storing a value obtained by subtracting an initial clock counter value from a value of the clock counter in a counter value, and storing the previously stored counter value in a previous counter value; And 상기 제2 신호가 상기 소정 신호 레벨인 경우, 상기 카운터 값과 상기 이전 카운터 값을 이용하여 상기 입력 클록의 에러를 검출하는 단계Detecting an error of the input clock by using the counter value and the previous counter value when the second signal is at the predetermined signal level. 를 포함하고,Including, 상기 초기 클록 카운터는 상기 제3 신호가 상기 소정 신호 레벨인 동안의 상기 클록 카운터의 값을 기억하는The initial clock counter stores a value of the clock counter while the third signal is at the predetermined signal level. 입력 클록 에러 검출 방법.Input clock error detection method. 제1항에서,In claim 1, 상기 소정 개수의 주기는 적어도 2주기인 입력 클록 에러 검출 방법.And the predetermined number of periods is at least two periods. 제1항 또는 제2항에서,The method of claim 1 or 2, 상기 이전 카운터 값에 소정 제1 계수를 곱한 값보다 상기 카운터 값이 크거나 상기 이전 카운터 값에 소정 제2 계수를 곱한 값보다 상기 카운터 값이 작으면 상기 입력 클록의 에러를 검출하는 입력 클록 에러 검출 방법.An input clock error detection for detecting an error of the input clock when the counter value is greater than the previous counter value multiplied by a predetermined first coefficient or when the counter value is smaller than the previous counter value multiplied by a predetermined second coefficient Way. 제3항에서,In claim 3, 상기 소정 제1 계수는 2이고, 상기 소정 제2 계수는 0.5인 입력 클록 에러 검출 방법.And the predetermined first coefficient is two and the predetermined second coefficient is 0.5. 제1항 또는 제2항에서,The method of claim 1 or 2, 상기 카운터 값이 "0"이면 상기 입력 클록(MCLK)의 에러를 검출하는 입력 클록 에러 검출 방법.And detecting the error of the input clock (MCLK) when the counter value is "0".
KR1020030031637A 2003-05-19 2003-05-19 Method of detecting input clock error KR100961947B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030031637A KR100961947B1 (en) 2003-05-19 2003-05-19 Method of detecting input clock error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030031637A KR100961947B1 (en) 2003-05-19 2003-05-19 Method of detecting input clock error

Publications (2)

Publication Number Publication Date
KR20040099605A true KR20040099605A (en) 2004-12-02
KR100961947B1 KR100961947B1 (en) 2010-06-10

Family

ID=37377118

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030031637A KR100961947B1 (en) 2003-05-19 2003-05-19 Method of detecting input clock error

Country Status (1)

Country Link
KR (1) KR100961947B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101314863B1 (en) * 2010-05-04 2013-10-22 (주)엠씨테크놀로지 Display device and driving method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101765864B1 (en) 2010-12-28 2017-08-23 엘지디스플레이 주식회사 Timing controller and liquid crystal display using the same

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5642069A (en) 1994-04-26 1997-06-24 Unisys Corporation Clock signal loss detection and recovery apparatus in multiple clock signal system
US5930275A (en) 1996-06-06 1999-07-27 Tandem Computers Incorporated Clock error detection circuit
US7024509B2 (en) 2000-08-31 2006-04-04 Hewlett-Packard Development Company, L.P. Passive release avoidance technique

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101314863B1 (en) * 2010-05-04 2013-10-22 (주)엠씨테크놀로지 Display device and driving method thereof

Also Published As

Publication number Publication date
KR100961947B1 (en) 2010-06-10

Similar Documents

Publication Publication Date Title
KR101242727B1 (en) Signal generation circuit and liquid crystal display comprising the same
US9910329B2 (en) Liquid crystal display device for cancelling out ripples generated the common electrode
KR101432717B1 (en) Display apparaturs and method for driving the same
US8184085B2 (en) Liquid crystal display and method for driving the same
KR101252090B1 (en) Liquid Crystal Display
JP2007011334A (en) Timing controller for display devices, display device including same, and method of controlling same
JP3846469B2 (en) Projection display device and liquid crystal panel
US20080084412A1 (en) Liquid crystal display device and method for driving the same
KR100961947B1 (en) Method of detecting input clock error
WO2016065863A1 (en) Gate drive circuit, gate driving method, and display device
JP4275434B2 (en) Liquid crystal display device and driving method thereof
KR100984347B1 (en) Liquid crystal display and driving method thereof
KR100973807B1 (en) Liquid crystal display and driving method thereof
KR102582158B1 (en) Display Device And Driving Method Of The Same
KR101213858B1 (en) Driving circuit and driving method
KR101194850B1 (en) Liquid crystal display and driving method for the same
KR100961958B1 (en) Driving apparatus of liquid crystal display
KR20050077573A (en) Liquid crystal display
KR100980013B1 (en) Liquid crystal display and driving method thereof
KR20050052767A (en) Liquid crystal display and driving method thereof
KR101012797B1 (en) Liquid crystal display
KR20070078006A (en) Gate line driver for liquid crystal display and gate line driving method using the same
KR20050031645A (en) Liquid crystal display and driving device thereof
KR101006443B1 (en) Apparatus and method for processing signals
KR100940564B1 (en) Liquid crystal display and driving method thereof

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee