KR980010736A - How to generate vertical sync signal and horizontal sync signal using microcomputer - Google Patents

How to generate vertical sync signal and horizontal sync signal using microcomputer Download PDF

Info

Publication number
KR980010736A
KR980010736A KR1019960031033A KR19960031033A KR980010736A KR 980010736 A KR980010736 A KR 980010736A KR 1019960031033 A KR1019960031033 A KR 1019960031033A KR 19960031033 A KR19960031033 A KR 19960031033A KR 980010736 A KR980010736 A KR 980010736A
Authority
KR
South Korea
Prior art keywords
sync signal
microcomputer
horizontal sync
vertical sync
horizontal
Prior art date
Application number
KR1019960031033A
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 KR1019960031033A priority Critical patent/KR980010736A/en
Publication of KR980010736A publication Critical patent/KR980010736A/en

Links

Landscapes

  • Synchronizing For Television (AREA)

Abstract

본 발명은 마이콤을 이용한 수직싱크 신호 및 수평싱크 신호 발생방법에 관한 것이다. 본 발명에 따른 수직싱크 신호 및 수평싱크 신호 발생방법은, OSD를 디스플레이하기 위한 수직싱크 신호 및 수평싱크 신호 발생방법에 있어서, 마이콤의 PWM에 CPU클락을 입력시켜 출력으로 수평싱크 신호를 발생시키고, 상기 마이콤의 타이머에 상기 수평싱크 신호를 입력시켜 출력으로 수직싱크 신호를 발생시키는 것을 특징으로 한다. 따라서 본 발명은, 원가상승을 방지하고 OSD를 디스플레이할 때 OSD가 흔들리는 문제를 해결할 수 있는 장점이 있다.The present invention relates to a method of generating a vertical sync signal and a horizontal sync signal using a microcomputer. A method of generating a vertical sync signal and a horizontal sync signal according to the present invention includes generating a horizontal sync signal by inputting a CPU clock to a PWM of a microcomputer, And the horizontal sync signal is input to the timer of the microcomputer to generate a vertical sync signal. Therefore, the present invention has an advantage of solving the problem that the OSD is shaken when the cost increase is prevented and the OSD is displayed.

Description

마이콤을 이용한 수직 싱크 신호 및 수평 싱크 신호 발생방법How to generate vertical sync signal and horizontal sync signal using microcomputer

본 발명은 마이크로콘트롤러(Microcontroller, 이하 마이콤이라 함)에 관한 것으로, 특히 마이콤을 이용한 수직싱크(Vertical Sync.) 신호 및 수평싱크(Horizontal) 신호 발생방법에 관한 것이다.The present invention relates to a microcontroller (hereinafter referred to as a microcomputer), and more particularly, to a method of generating a vertical sync signal and a horizontal sync signal using a microcomputer.

종래에는 마이콤에서 OSD(On Screen Display)를 디스플레이하기 위해 수직싱크 신호와 수평싱크 신호가 상기 마이콤으로 유입되며, 상기 신호를 기준으로 하여 OSD 데이터를 출력시킨다.Conventionally, a vertical sync signal and a horizontal sync signal are input to the microcomputer to display an OSD (On Screen Display) on a microcomputer, and the OSD data is output based on the signal.

상기 종래기술에서는, 수직싱크 신호 및 수평싱크 신호가 없는 시스템에서 OSD를 나타내기 위해서는 주변 응용회로에 의해 수직싱크 신호 및 수평싱크 신호를 만들어 주어야 한다. 그러나 이 응용회로는, 회로가 복잡하고 OSD를 디스플레이할 때 OSD가 흔들리는등 회로의 신뢰성이 떨어지는 단점이 있으며, 또한 제조원가를 상승시키는 요인이 된다.In the prior art, a vertical sync signal and a horizontal sync signal must be generated by a peripheral application circuit in order to indicate an OSD in a system without a vertical sync signal and a horizontal sync signal. However, this application circuit is disadvantageous in that the circuit is complicated and the OSD is shaken when the OSD is displayed, and the reliability of the circuit is deteriorated, and also the manufacturing cost is increased.

따라서 본 발명의 목적은, 원가상승을 방지하고 OSD를 디스플레이할 때 OSD가 흔들리는 문제를 해결할 수 있는, 마이콤을 이용한 수직싱크 신호 및 수평싱크 신호 발생방법을 제공하는 데 있다.Accordingly, it is an object of the present invention to provide a vertical sync signal and a horizontal sync signal generating method using a microcomputer, which can solve the problem that the OSD is shaken when the OSD is displayed while preventing cost increase.

제1도는 본 발명의 실시예에 따른 수직싱크 신호 및 수평싱크 신호 발생방법을 구현한 블락도.FIG. 1 is a block diagram illustrating a method of generating a vertical sync signal and a horizontal sync signal according to an embodiment of the present invention.

제2도는 수평싱크 신호의 타이밍도.FIG. 2 is a timing chart of the horizontal sync signal. FIG.

제3도는 수직싱크 신호의 타이밍도.Figure 3 is a timing diagram of the vertical sync signal;

상기 목적을 달성하기 위한 본 발명에 따른 마이콤을 이용한 수직싱크 신호 및 수평싱크 신호 발생방법은, OSD를 디스플레이하기 위한 수직싱크 신호 및 수평싱크 신호 발생방법에 있어서, 마이콤의 PWM에 CPU클락을 입력시켜 출력으로 수평싱크 신호를 발생시키고, 상기 마이콤의 타이머에 상기 수평싱크 신호를 입력시켜 출력으로 수직싱크 신호를 발생시키는 것을 특징으로 한다.According to another aspect of the present invention, there is provided a method of generating a vertical sync signal and a horizontal sync signal using a microcomputer, the method including generating a vertical sync signal and a horizontal sync signal for displaying an OSD, A horizontal sync signal is generated by the output of the microcomputer, and the horizontal sync signal is input to the timer of the microcomputer to generate a vertical sync signal as an output.

이하 첨부도면을 참조하여 본 발명의 바람직한 실시예를 설명하고자 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

제1도는 본 발명의 실시예에 따른 수직싱크 신호 및 수평싱크 신호 발생방법을 구현한 블락도이다.FIG. 1 is a block diagram illustrating a method of generating a vertical sync signal and a horizontal sync signal according to an embodiment of the present invention.

제1도를 참조하면, 마이콤의 PWM 모듈(10)에 CPU클락(CLK)이 입력되고 이에 따라 출력으로 수평싱크 신호(HSYNC)가 발생된다. 또한 상기 마이콤의 타이머(20)에 상기 수평싱크 신호(HSYNC)가 입력되어 출력으로 수직싱크 신호(VSYNC)가 발생된다. 여기에서 상기 CPU클락(CLK)은 마이콤 내부의 CPU를 구동시키기 위한 클락을 의미한다. 상기 PWM(Pulse Width Modulation)은 보통의 경우 펄스폭으로 전압을 조절할 때 사용되고, 신호의 주파수는 입력단의 프리스케일러(Prescaler)에 따라 변화되며 PWM 출력신호의 논리"하이" 구간은 PWM 데이터에 따라 결정된다. 상기 타이머(Timer)는 입력신호를 선택할 수 있고(CPU 클락, 외부 입력신호등.) 신호의 주파수는 입력단의 프리스케일러에 따라 변화되며 또한 타이머 출력신호의 논리"하이" 구간은 타이머 데이터에 따라 결정된다.Referring to FIG. 1, a CPU clock CLK is input to the PWM module 10 of the microcomputer, and a horizontal sync signal HSYNC is generated as an output. Also, the horizontal sync signal HSYNC is input to the timer 20 of the microcomputer, and a vertical sync signal VSYNC is generated as an output. Here, the CPU clock (CLK) means a clock for driving the CPU in the microcomputer. The PWM (Pulse Width Modulation) is usually used to adjust the voltage with a pulse width, the frequency of the signal changes according to the prescaler of the input stage, and the logical high period of the PWM output signal is determined according to the PWM data . The timer can select an input signal (CPU clock, external input signal, etc.), the frequency of the signal changes according to the prescaler of the input stage, and the logical high period of the timer output signal is determined according to the timer data.

본 발명의 수직싱크 신호 및 수평싱크 신호 발생방법을 상세히 설명하면 다음과 같다.The vertical sync signal and the horizontal sync signal generating method of the present invention will be described in detail as follows.

통상 수직싱크 신호는 60Hz 정도이고 수평싱크 신호는 15,6Khz 정도이므로, 먼저 수평싱크 신호를 만들고 이 신호를 이용하여 수직싱크 신호를 만든다. 예컨데 상기 PWM 모듈(10)에 입력되는 CPU클락(CLK)이 8Mhz, 상기 PWM 모듈(10)의 입력 프리스케일러가 2, 논리"하이" 구간은 10%이하 이므로 PWM 데이터가 20일 때, 상기 PWM 모듈(10)은 출력으로 제2도와 같은 수평싱크 신호(HSYNC)를 발생시킨다.Since the vertical sync signal is about 60 Hz and the horizontal sync signal is about 15, 6 KHz, a horizontal sync signal is first generated and a vertical sync signal is generated using this signal. For example, when the PWM clock signal CLK input to the PWM module 10 is 8 MHz, the input prescaler of the PWM module 10 is 2, and the logic high period is 10% or less, (10) generates a horizontal sync signal (HSYNC) like the second figure as an output.

다음에 상기 수평싱크 신호(HSYNC)가 타이머(20)에 입력되고, 상기 타이머(20)의 입력 프리스케일러가 1, 논리"하이" 구간은 10%이하 이므로 타이머 데이터가 20일 때, 상기 타이머(20)는 출력으로 도 3와 같은 수직싱크 신호(VSYNC)를 발생시킨다.When the timer 20 receives the horizontal sync signal HSYNC and the input prescaler of the timer 20 is 1 and the logic high period is 10% or less, the timer 20 Generates a vertical sync signal VSYNC as shown in FIG. 3 as an output.

따라서 상술한 본 발명에 따른 마이콤을 이용한 수직싱크 신호 및 수평싱크 신호 발생방법은, 원가상승을 방지하고 OSD를 디스플레이할 때 OSD가 흔들리는 문제를 해결할 수 있는 장점이 있다.Therefore, the above-described method of generating a vertical sync signal and a horizontal sync signal using a microcomputer according to the present invention has an advantage of preventing cost increase and solving the problem of OSD shaking when displaying an OSD.

Claims (1)

OSD를 디스플레이하기 위한 수직싱크 신호 및 수평싱크 신호 발생방법에 있어서, 마이콤의 PWM에 CPU클락을 입력시켜 출력으로 수평싱크 신호를 발생시키고, 상기 마이콤의 타이머에 상기 수평싱크 신호를 입력시켜 출력으로 수직싱크 신호를 발생시키는 것을 특징으로 하는 마이콤을 이용한 수직싱크 신호 및 수평싱크 신호 발생방법.A method of generating a vertical sync signal and a horizontal sync signal for displaying an OSD, the method comprising: generating a horizontal sync signal by inputting a CPU clock to a PWM of a microcomputer; inputting the horizontal sync signal to a timer of the microcomputer And generating a sync signal by using the microcomputer. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: It is disclosed by the contents of the first application.
KR1019960031033A 1996-07-29 1996-07-29 How to generate vertical sync signal and horizontal sync signal using microcomputer KR980010736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960031033A KR980010736A (en) 1996-07-29 1996-07-29 How to generate vertical sync signal and horizontal sync signal using microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960031033A KR980010736A (en) 1996-07-29 1996-07-29 How to generate vertical sync signal and horizontal sync signal using microcomputer

Publications (1)

Publication Number Publication Date
KR980010736A true KR980010736A (en) 1998-04-30

Family

ID=66249950

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960031033A KR980010736A (en) 1996-07-29 1996-07-29 How to generate vertical sync signal and horizontal sync signal using microcomputer

Country Status (1)

Country Link
KR (1) KR980010736A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9518855B2 (en) 2013-12-18 2016-12-13 Samsung Electronics Co., Ltd. Oil detection device, compressor having the same and method of controlling the compressor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9518855B2 (en) 2013-12-18 2016-12-13 Samsung Electronics Co., Ltd. Oil detection device, compressor having the same and method of controlling the compressor

Similar Documents

Publication Publication Date Title
KR100365497B1 (en) Liquid Crystal Display and Driving Method Thereof
KR100744135B1 (en) Display driving integrated circuit and system clock generation method generating system clock signal using oscillator's clock signal
KR970067081A (en) Liquid crystal display device
KR100186556B1 (en) Lcd device
US6628254B1 (en) Display device and interface circuit for the display device
KR980010736A (en) How to generate vertical sync signal and horizontal sync signal using microcomputer
KR920007931Y1 (en) Scan line drive circuit in display device
JPH10213789A (en) Liquid crystal display device
KR900006290B1 (en) Crt display control device
US6288713B1 (en) Auto mode detection circuit in liquid crystal display
KR970072961A (en) Scanning line inverter
KR100590915B1 (en) Controlling circuit for polarity inversion signal of LC in LCD
JP3057346B2 (en) Driving method of liquid crystal display element
JP2588433B2 (en) 16 color generation circuit of color liquid crystal display
KR970031912A (en) Synchronous signal generator for on screen display
JP2005165315A (en) Display driver generating charge pumping signal synchronized to different clocks for multiple modes
KR930002827Y1 (en) Driving circuit of super twist namastic
KR100314962B1 (en) Circuit For Switching Synchronous Signal in Display Apparatus and Method thereof
KR100480559B1 (en) On-screen-displayer comprising color blinking function
KR0123651Y1 (en) Circuit for motion control of osd generation
KR960006515A (en) How to select the monitor mode
JPS6269288A (en) Display circuit for computer
KR19980026903A (en) Information Enlarging Method Using Display Enable Signal
KR970024897A (en) Synchronous Signal Generator
KR960019057A (en) Wide Vision Implementation Method Using Liquid Crystal Display

Legal Events

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