KR19990079538A - How to set the clock of a broadcast receiving device - Google Patents

How to set the clock of a broadcast receiving device Download PDF

Info

Publication number
KR19990079538A
KR19990079538A KR1019980012175A KR19980012175A KR19990079538A KR 19990079538 A KR19990079538 A KR 19990079538A KR 1019980012175 A KR1019980012175 A KR 1019980012175A KR 19980012175 A KR19980012175 A KR 19980012175A KR 19990079538 A KR19990079538 A KR 19990079538A
Authority
KR
South Korea
Prior art keywords
clock
power
mode
external interrupt
clock data
Prior art date
Application number
KR1019980012175A
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 KR1019980012175A priority Critical patent/KR19990079538A/en
Publication of KR19990079538A publication Critical patent/KR19990079538A/en

Links

Abstract

본 발명은, 방송신호에 실려있는 방송프로그램 식별코드(KBPS)를 이용하여 방송프로그램을 수신하는 경우에 있어서 방송수신 장치가 슬립 모드로 동작하는 것을 정지 모드로 절환하고, 전원이 재공급될 때 방송프로그램 식별코드의 시계 데이터를 이용하여 시계를 설정할 수 있는 방송수신 장치의 시계 설정방법에 관한 것으로서, 본 발명은, 전원 차단 모드의 상태를 확인하는 단계(S21); 전원 차단 모드가 로우 상태일 경우 외부 인터럽트가 발생하였는지 확인하는 단계(S22); 외부 인터럽트가 발생하지 않았으면, 정지 모드로 절환하는 단계(S23); 외부 인터럽트가 발생하였거나, 전원 차단 모드가 하이 상태일 경우에는, 전원 차단 포트의 상태를 확인하여 로우 상태일 경우 프로그램을 종료하는 단계(S24); 전원 코드가 삽입되고, 전원 차단 포트를 확인하여 하이 상태가 되었을 경우, 외부 인터럽트를 초기화하는 단계(S25); 외부 인터럽트를 초기화한 후에, KBPS 패킷의 시계 데이터를 검출하는 단계(S26); 및 검출한 시계 데이터에 상응하여 시계 데이터를 갱신하는 단계(S27)로 이루어져, 본 발명은 KBPS 시계 데이터를 이용하여 자동으로 시계 설정을 실행할 수 있으므로 사용자가 수동으로 설정하지 않아도 되고, 또한 시계용 수정발진기와 백업용 배터리를 사용하지 않아도 되므로 재료비 절감시킬 수 있는 유용한 발명인 것이다.According to the present invention, when a broadcast program is received using a broadcast program identification code (KBPS) included in a broadcast signal, the broadcast receiving device switches the operation to the sleep mode to the stop mode and broadcasts when the power is supplied again. The present invention relates to a clock setting method of a broadcast receiving apparatus capable of setting a clock by using clock data of a program identification code, the present invention comprising: checking a state of a power down mode (S21); Checking whether an external interrupt has occurred when the power down mode is low (S22); If an external interrupt has not occurred, switching to a stop mode (S23); When an external interrupt occurs or the power down mode is in a high state, checking the state of the power down port and ending the program in the low state (S24); Inserting a power cord and checking a power-off port to initialize the external interrupt when it is in a high state (S25); After initializing the external interrupt, detecting clock data of the KBPS packet (S26); And updating the clock data corresponding to the detected clock data (S27), and the present invention can automatically execute the clock setting using the KBPS clock data, so that the user does not need to set it manually. Since the oscillator and backup battery do not need to be used is a useful invention that can reduce the material cost.

Description

방송수신 장치의 시계 설정방법How to set the clock of a broadcast receiving device

본 발명은 방송수신 장치의 시계 설정방법에 관한 것으로서, 더욱 상세하게는, 방송신호에 실려있는 방송프로그램 식별코드(KBPS)를 이용하여 방송프로그램을 수신하는 경우에 있어서 방송수신 장치가 슬립 모드로 동작하는 것을 정지 모드로 절환하고, 전원이 재공급될 때 방송프로그램 식별코드의 시계 데이터를 이용하여 시계를 설정할 수 있는 방송수신 장치의 시계 설정방법에 관한 것이다.The present invention relates to a clock setting method of a broadcast receiving apparatus. More particularly, the broadcast receiving apparatus operates in a sleep mode when receiving a broadcast program using a broadcast program identification code (KBPS) included in a broadcast signal. The present invention relates to a clock setting method of a broadcast receiving apparatus capable of switching to a stop mode and setting a clock using clock data of a broadcast program identification code when power is supplied again.

도 1은 방송수신 장치의 개략적 구성도로서, 전원 차단 모드에 따른 방송수신 장치(2)는 방송수신 신호를 수신하는 안테나(1); 시계용 발진 주파수를 공급하는 시계용 발진기(4); 전원 차단 모드에서 시계용 발진기(4)에 백업 전원을 공급하는 백업용 배터리(5) 및 상기 시계용 발진기(4)의 발진주파수에 의해 시계 데이터를 출력하는 마이컴(3)으로 구성되어 있다.1 is a schematic configuration diagram of a broadcast receiving apparatus, in which a broadcast receiving apparatus 2 according to a power cut mode includes an antenna 1 for receiving a broadcast receiving signal; A watch oscillator 4 for supplying a watch oscillation frequency; A backup battery 5 for supplying backup power to the clock oscillator 4 in the power-off mode, and a microcomputer 3 for outputting clock data by the oscillation frequency of the clock oscillator 4.

예를 들어, 상기 방송수신 장치 중에 영상녹화 장치의 타이머(Timer)는 시스콘(System Control)과 마찬가지로 사용자와 영상녹화 장치간의 중계 역할을 하며, 마이컴(3)을 이용하여 자체적 기능을 수행하거나, 상기 시스콘과 인계 동작을 하게 된다. 즉, 조작한 기능 버튼이 시계 설정과 같이 자체적 기능인 경우 독립적으로 동작되지만, 예약녹화와 같이 덱 메커니즘(Deck Mechanism)과 관련되는 경우에는 시스콘으로 관련 데이터를 전송하며 인계 동작을 행한다.For example, the timer of the video recording device of the broadcast receiving device plays a role of relaying between the user and the video recording device like the system control, and performs its own function using the microcomputer 3, Take over with the sheath. In other words, if the function button operated is an independent function such as a clock setting, the function button is independently operated. However, if the function button is related to a deck mechanism such as a reservation recording, it transfers the relevant data to the system and takes over.

상기 마이컴(3)에 내장된 타이머는 디스플레이를 이용하여 시계 기능을 수행하며 시간 설정 및 변경이 가능하게 한다. 상기 시계 기능을 수행하기 위해서는 전원 발진주파수를 이용하는 방식과 32.768㎑의 수정발진기(Crystal)를 이용하는 방식이 있으며, 현재는 주로 전원 백업 기능(Power Backup)을 살리기 위해서 수정발진기를 사용하는 방식이 많이 이용된다. 또한 상기 예약녹화 기능은 상기 타이머의 시계 기능을 이용하여 녹화 시작 시간과 녹화 마침 시간을 설정하여 자동으로 녹화하는 기능을 말하며, 상기 전원 백업 기능은 타이머 백업이라고도 하며, 순간 정전 또는 일정시간 정전 현상에 대해 타이머 마이컴의 프로그램을 보존하기 위하여 타이머부의 전원을 일정시간 동안 보상하여 주는 기능을 말한다.The timer built in the microcomputer 3 performs a clock function using a display and enables time setting and change. In order to perform the clock function, there is a method of using a power oscillation frequency and a method of using a crystal oscillator of 32.768 ((Crystal). Currently, a method of using a crystal oscillator is mainly used to make a power backup function. do. In addition, the reservation recording function refers to a function of automatically recording by setting a recording start time and a recording end time by using the clock function of the timer, and the power backup function is also referred to as a timer backup. It is a function to compensate the power of timer for a certain time in order to preserve the program of timer microcomputer.

한편, 도 2는 종래의 기술에 따른 방송수신 장치 중에 영상녹화 장치의 시계 설정방법의 동작흐름도로서, 먼저 전원 차단 플래그의 상태를 체크하여 전원 차단 모드인지 확인하고(S11), 상기 전원 차단 모드가 로우 상태일 경우에, 도 1의 전원 차단 포트(Power Fail Port)의 상태를 확인하여 상기 전원 차단 포트가 하이 상태일 경우 액티브 모드로 절환하고 프로그램을 종료하게 된다(S12).On the other hand, Figure 2 is a flow chart of the clock setting method of the video recording apparatus in the broadcast receiving apparatus according to the prior art, first checks the state of the power off flag to determine whether the power off mode (S11), the power off mode In the case of the low state, the state of the power fail port (Power Fail Port) of FIG. 1 is checked, and when the power-off port is the high state, it switches to the active mode and ends the program (S12).

그런데 상기 전원 차단 포트의 상태가 로우 상태일 경우, 전원 차단 플래그를 세트로 설정하고(S13), 다음에 상기 전원 차단 모드가 하이 상태이거나, 상기 전원 차단 플래그를 설정한 후에는, 슬립 모드(Sleep Mode)로 절환하게 된다(S14). 여기에서 상기 슬립 모드는 서브 액티브 모드(Sub Active Mode)로서, 최소한의 백업용 배터리 전원을 이용하여 32.768㎑의 수정발진기를 발진시켜 시계를 동작시키는 모드를 말한다.However, when the state of the power-off port is low, the power-off flag is set to set (S13), and after the power-off mode is high or after setting the power-off flag, the sleep mode (Sleep) Mode) (S14). Here, the sleep mode is a sub active mode, and refers to a mode in which a clock is operated by oscillating a 32.768 GHz crystal oscillator using a minimum backup battery power.

다음에 상기 슬립 모드로 절환하였으면 1초 인터럽트가 발생하였는지 판단하고(S15), 상기 1초 인터럽트가 발생하였을 경우에 시계 갱신 루틴을 수행하여 시계 데이터를 갱신하며(S16), 상기 1초 인터럽트가 발생하지 않았거나, 상기 시계 데이터를 갱신한 후에 다시 전원 차단 모드인지 판단하여, 전원 차단 모드가 하이 상태일 경우라면, 상기 슬립 모드 절환 단계로 되돌아가게 된다(S17). 여기에서 상기 전원 차단 모드(S17)가 로우 상태일 경우 전원 차단 상태에서 빠져 나오면서 프로그램을 종료하게 된다.Next, if it is switched to the sleep mode, it is determined whether a 1 second interrupt has occurred (S15), and when the 1 second interrupt occurs, a clock update routine is performed to update clock data (S16), and the 1 second interrupt is generated. If not, or after the clock data is updated, it is determined whether the power-off mode is again, and if the power-off mode is a high state, the process returns to the sleep mode switching step (S17). In this case, when the power cutoff mode S17 is in a low state, the program is terminated while exiting the power cutoff state.

따라서 상기 전원 차단 포트가 하이 상태가 될 때까지, 즉, 전원 코드를 삽입할 때까지 상기 프로그램을 계속 반복 실행하게 되고, 이때 최소한의 전원인 백업용 배터리를 이용하여 시계 갱신과 같은 동작을 수행하게 된다. 다시 말하면, 종래의 전원 차단 모드에서는 슬립 모드에서 최소한의 전원을 이용하여 32.768㎑의 수정발진기를 이용하여 시계를 설정하게 되는 것이다. 여기에서 32.768㎑ 수정발진기는 시계 기준용 발진을 위해 사용하는 발진기로서, 타이머 기능 중 하나인 시계 기능을 수행할 수 있게 한다.Therefore, the program is repeatedly executed until the power-off port becomes high, that is, until the power cord is inserted, and at this time, an operation such as clock update is performed by using a backup battery having minimal power. . In other words, in the conventional power-off mode, the clock is set using the crystal oscillator of 32.768 하여 with the minimum power in the sleep mode. Here, the 32.768 ㎑ crystal oscillator is an oscillator used for clock reference oscillation, and can perform a clock function, which is one of timer functions.

그러나, 종래의 방송수신 장치, 예를 들어 영상녹화 장치의 시계 설정방법은 시계 설정을 위해 32.768㎑의 수정발진기가 계속해서 발진해야만 하고, 이를 위해 최소한의 전원을 공급해야 하는 별도의 백업용 배터리가 필요하기 때문에 재료비가 상승하며. 또한 전원 차단 모드가 해제되어 전원이 재공급될 때 사용자가 다시 시계를 설정해야만 한다는 문제점이 있다.However, the conventional clock setting method of a broadcast receiving device, for example, a video recording device, has to continuously oscillate a crystal oscillator of 32.768 을 to set the clock, and requires a separate backup battery which must supply minimum power for this. Material costs rise. In addition, there is a problem that the user must set the clock again when the power off mode is released and the power is supplied again.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위해 창작된 것으로서, 방송수신 장치에서 전원 재공급시 방송프로그램 식별코드의 시계 데이터를 이용하여 시계를 설정함에 따라 슬립 모드로 동작하는 것을 정지 모드로 절환시킴으로써, 수정발진기와 백업용 배터리를 사용하지 않아도 되므로 재료비를 절감시키고, 또한 자동으로 시계가 설정되어 사용자가 다시 시계를 설정하지 않아도 되는 편리성을 주는데 그 목적이 있는 것이다.Therefore, the present invention was created to solve the above problems, and when the power is supplied again by the broadcast receiving apparatus, the clock mode is set using the clock data of the broadcast program identification code. By doing so, it is not necessary to use a crystal oscillator and a backup battery, thereby reducing material costs, and also providing a convenience in that the clock is automatically set so that the user does not need to set the clock again.

도 1은 종래의 기술에 따른 방송수신 장치의 개략적 구성도이고,1 is a schematic configuration diagram of a broadcast receiving apparatus according to the prior art;

도 2는 종래의 기술에 따른 전원차단 모드에서 시계 설정방법의 흐름도이고,2 is a flowchart illustrating a clock setting method in a power down mode according to the prior art;

도 3은 KBPS 기능을 갖는 일반적인 예약녹화 장치의 구성도이고,3 is a configuration diagram of a general reserved recording apparatus having a KBPS function,

도 4는 KBPS 방송프로그램 시간표를 예시한 것이고,4 illustrates a KBPS broadcast program timetable,

도 5는 KBPS 패킷 데이터 형식 중에서 시계 데이터 형식을 도시하고 있고,5 illustrates a clock data format among KBPS packet data formats.

도 6은 본 발명에 따른 전원차단 모드에서 시계 설정방법의 일실시예의 흐름도이다.6 is a flowchart of an embodiment of a clock setting method in a power down mode according to the present invention.

※ 도면의 주요부분에 대한 부호의 설명※ Explanation of code for main part of drawing

10 : 안테나 20 : 동조부10: antenna 20: tuning unit

30 : Y/C 신호처리부 40 : 신호라인 선택기30: Y / C signal processor 40: signal line selector

50 : 데이터 검출부 60 : 마이컴(u-COM)50: data detector 60: microcomputer (u-COM)

70 : 메모리 80 : 녹화부70: memory 80: recording unit

상기와 같은 목적을 달성하기 위한 본 발명에 따른 전원 차단 모드인지 판단하는 제1 단계; 전원 차단 모드시 정지 모드로 절환하는 제2 단계; 전원 재공급시 수신영상신호로부터 시계 데이터를 검출하는 제3 단계: 및 상기 검출한 시계 데이터에 상응하여 현재 시각을 갱신설정하는 제4 단계를 포함하여 이루어지는 것에 특징이 있는 것이다.A first step of determining whether the power off mode according to the present invention for achieving the above object; Switching to a stop mode in a power off mode; And a fourth step of detecting clock data from the received video signal when the power is supplied again, and a fourth step of updating and setting the current time according to the detected clock data.

상기와 같이 이루어지는 본 발명에 따른 방송수신 장치의 시계 설정방법은, 코드 전원이 차단되면 정지 모드로 절환하고, 코드 전원 차단 상태에서 전원이 재공급되면, KBPS 동작을 수행하여 시계 데이터를 검출하고, 상기 검출한 시계 데이터에 상응하여 방송수신 장치의 현재 시각을 설정함으로써, 32.768㎑의 수정발진기와 백업용 배터리를 필요로 하지 않는 특징이 있다.In the clock setting method of the broadcast receiving apparatus according to the present invention, the code power is switched off to a stop mode, and when the power is supplied again in the code power off state, KBPS operation is performed to detect clock data, By setting the current time of the broadcast receiving apparatus in correspondence with the detected clock data, the crystal oscillator of 32.768 ㎑ and a backup battery are not required.

이하, 본 발명에 따른 방송수신 장치의 시계 설정방법의 바람직한 실시예가 적용된 영상녹화 장치의 시계 설정 방법에 대해 첨부된 도면에 의거하여 상세히 설명하겠다.Hereinafter, the clock setting method of the video recording apparatus to which the preferred embodiment of the clock setting method of the broadcast receiving apparatus according to the present invention is applied will be described in detail with reference to the accompanying drawings.

도 3을 참고로 하여, 일반적인 영상녹화 장치는, 안테나(ANT)(10)로부터 수신되는 방송신호 중에서 목적하는 방송신호를 동조하여 영상신호를 복조 출력하는 동조부(Tuner)(20); 상기 동조부(20)로부터 출력되는 영상신호의 휘도와 색신호를 신호변환하는 Y/C 신호처리부(30); 상기 복조된 영상신호의 수직 귀선 구간내의 지정된 수평라인을 선택하여 출력하는 신호라인 선택기(40); 상기 선택된 수평라인의 신호에 실려있는 데이터를 검출하는 데이터 검출부(50); 상기 데이터 검출부(50)에 의해 검출된 방송시간 데이터를 저장하는 메모리(70); 상기 Y/C 신호처리부(30)에 의해 변환된 신호를 녹화하는 녹화부(80); 및 시청자의 예약녹화 방송프로그램 선택에 따라 상기 녹화부(80)의 녹화를 제어하는 마이컴(60)을 포함하여 구성되어 있다.Referring to FIG. 3, a general video recording apparatus includes a tuner 20 that demodulates and outputs a video signal by tuning a desired broadcast signal among broadcast signals received from an antenna ANT 10; A Y / C signal processing unit 30 for converting the luminance and color signals of the image signal output from the tuning unit 20; A signal line selector 40 for selecting and outputting a designated horizontal line in a vertical retrace section of the demodulated video signal; A data detector (50) for detecting data contained in the signal of the selected horizontal line; A memory 70 for storing broadcast time data detected by the data detector 50; A recording unit (80) for recording the signal converted by the Y / C signal processing unit (30); And a microcomputer 60 that controls the recording of the recording unit 80 according to the viewer's selection of the reserved recording program.

상기와 같이 구성된 영상녹화 장치의 예약녹화에서는, 먼저, 상기 동조부(20)에 의해 동조되어 영상신호로 출력되는 신호의 특정 수평라인이 상기 신호라인 선택기(40)에 의해 선택되고, 이 수평라인에 존재하는 방송시간 데이터는 상기 데이터검출부(50)에 의해 검출되어 상기 마이컴(60)에 전달된다. 상기 마이컴(60)은 검출된 방송시간 데이터를 일정한 형식에 맞게 재구성하여 상기 메모리(70)에 저장하고, 상기 마이컴(70)은 내장된 타이머를 통해 현재 시각을 설정하거나 변경할 수 있다. 도 4는 상기 메모리(70)에 저장되는 방송시간 정보중 일부분을 발췌하여 예로서 도시한 것이다. 이와 같은 방송시간 정보가 상기 메모리(70)에 저장된 후에 시청자가 방송시간 정보를 화면에 표시하게 하는 해당 모드를 선택하면, 상기 마이컴(60)은 상기 메모리(70) 내의 도 4와 같은 방송시간표를 화면에 표시한다. 시청자가 업(Up)/다운(Down) 키를 통해 예약녹화하고자 하는 프로그램을 선택한 뒤 예약녹화 모드를 선택하면, 상기 마이컴(60)은 상기 메모리(70)에 함께 저장되어 있는 해당 프로그램의 식별코드를 검출한다. 이어서 동작전원이 차단되면, 상기 마이컴(60)은 상기 동조부(20)를 제어하여 예약 지정된 채널을 동조시켜 영상신호를 복조 출력한다. 상기 복조된 영상신호는 상기 Y/C 신호처리부(30)와 상기 신호라인 선택기(40)로 각각 입력되는데, 상기 신호라인 선택기(40)는 전술한 바와 같이 특정 수평라인을 선택하고 상기 데이터 검출부(50)는 선택된 수평라인의 신호에 실려있는 방송프로그램 정보를 추출하여 상기 마이컴(60)으로 전송한다. 상기 마이컴(60)은 수신되는 방송프로그램 정보 중에 현재 방송되고 있는 프로그램에 대한 방송중 코드(On-Air ID)와 기검출된 프로그램 식별코드를 비교하고, 양 코드가 일치하면 상기 녹화부(80)를 제어하여 상기 Y/C 신호처리부(30)에서 변환된 영상신호를 녹화하게 한다. 상기 녹화부(80)에서 녹화가 시작되면 상기 마이컴(60)은 상기 데이터 검출부(50)에서 계속 검출되는 방송중 코드를 확인하여 기선택되어 검출된 프로그램 식별코드와 상이하면 상기 녹화부(80)를 제어하여 녹화를 종료시키게 된다.In the reserved recording of the video recording apparatus configured as described above, first, a specific horizontal line of a signal tuned by the tuning unit 20 and output as a video signal is selected by the signal line selector 40, and this horizontal line is selected. The broadcast time data existing at is detected by the data detector 50 and transferred to the microcomputer 60. The microcomputer 60 reconfigures the detected broadcast time data to a predetermined format and stores the data in the memory 70, and the microcomputer 70 may set or change the current time through a built-in timer. 4 illustrates an example of a part of broadcast time information stored in the memory 70. After such broadcasting time information is stored in the memory 70, when the viewer selects a corresponding mode for displaying the broadcasting time information on the screen, the microcomputer 60 displays the broadcasting time table shown in FIG. 4 in the memory 70. Display on the screen. When the viewer selects a program to be reserved by using the Up / Down keys and selects the reserved recording mode, the microcomputer 60 identifies an ID code of the corresponding program stored together in the memory 70. Detect. Subsequently, when the operating power is cut off, the microcomputer 60 controls the tuning unit 20 to tune the reserved channel to demodulate and output the video signal. The demodulated video signal is input to the Y / C signal processor 30 and the signal line selector 40, respectively. The signal line selector 40 selects a specific horizontal line as described above and the data detector ( 50) extracts the broadcast program information contained in the signal of the selected horizontal line and transmits it to the microcomputer 60. The microcomputer 60 compares the on-air ID of the currently broadcast program with the previously detected program identification code among the received broadcast program information, and if the two codes match, the recording unit 80. Control to record the video signal converted by the Y / C signal processing unit 30. When recording is started in the recording unit 80, the microcomputer 60 checks the in-broadcast code that is continuously detected by the data detection unit 50. Control ends the recording.

도 6은 본 발명의 실시예가 적용된 영상녹화 장치의 시계 설정방법의 동작흐름도로서, 이하에서는 도 3의 영상녹화 장치의 구성을 참조하여, 병행하여 상세히 설명하겠다.6 is a flowchart illustrating a method of setting a clock of an image recording apparatus to which an embodiment of the present invention is applied. Hereinafter, the configuration of the image recording apparatus of FIG. 3 will be described in detail.

먼저, 도 3과 같은 영상녹화 장치를 사용하여 예약녹화를 하는 중에 전원 차단 모드가 발생하여 시계 데이터를 잃어버릴 경우가 있다. 그리고 일정 시간이 지나서 전원 차단 모드가 해제되면 상기 시계 데이터를 복구하여야만 한다.First, a power off mode may occur during scheduled recording using the video recording apparatus as shown in FIG. 3, and thus the clock data may be lost. When the power off mode is released after a certain time, the clock data must be restored.

따라서, 도 6에 도시된 바와 같이, 전원 차단 모드의 상태를 확인하고(S21), 상기 전원 차단 모드가 로우 상태일 경우 외부 인터럽트가 발생하였는지 확인하며(S22), 다음에 상기 외부 인터럽트가 발생하지 않았으면, 정지 모드(Stop Mode)로 절환하고 프로그램을 종료하게 된다(S23).Therefore, as shown in FIG. 6, the state of the power-off mode is checked (S21), and when the power-off mode is low, an external interrupt is generated (S22). Next, the external interrupt does not occur. If not, the mode is switched to the stop mode and the program is terminated (S23).

상기 외부 인터럽트가 발생하였거나, 상기 전원 차단 모드가 하이 상태일 경우에는, 전원 차단 포트의 상태를 확인하여 로우 상태일 경우 프로그램을 종료하게 된다(S24). 즉, 전원 차단 포트를 감시하여 전원 차단 포트 상태가 로우 상태로 떨어질 때 영상녹화 시스템을 정지 모드로 절환하게 되고, 이때는 어떤 동작도 수행하지 않게 되므로 전원을 소비하지 않는다.When the external interrupt occurs or when the power down mode is high, the program is terminated when the power down port is checked in the low state (S24). That is, when the power off port is monitored and the power down port drops to the low state, the video recording system is switched to the stop mode. At this time, since no operation is performed, power consumption is not consumed.

다음에 전원 코드가 삽입되고, 전원 차단 포트를 지속적으로 확인하여 하이 상태가 되었을 경우, 외부 인터럽트를 초기화하는데(S25), 즉, 외부에 어떤 인터럽트 요소를 가하여 마이컴(60)이 액티브 상태로 절환할 수 있도록 하고, 상기 마이컴(60)이 되살아났을 경우에, KBPS 패킷의 시계 데이터를 검출하게 된다(S26).Next, when the power cord is inserted and the power-off port is continuously checked and becomes high, the external interrupt is initialized (S25), that is, the microcomputer 60 switches to the active state by applying an external interrupt element. When the microcomputer 60 is revived, clock data of the KBPS packet is detected (S26).

도 5를 참고로 하여, 상기 KBPS 패킷의 시계 데이터는, 현재일/시간에 대해 년, 월, 일, 시, 분, 초의 아이템에 대해 모두 33 비트 데이터 형태로 수신된다.Referring to FIG. 5, clock data of the KBPS packet is received in 33-bit data format for items of year, month, day, hour, minute, and second for the current date / time.

그리고 상기 검출한 시계 데이터를 이용하여 시계 루틴을 수행하여 시계 데이터를 갱신하게 된다(S27). 즉, 전원 차단 포트가 코드 전원 입력에 의해 하이 상태로 돌아올 경우 액티브 모드를 절환하여, KBPS 패킷의 시계 데이터를 참조하여 현재 시각을 곧바로 갱신한다. 이때 상기 마이컴(70)에 내장된 타이머를 통해 상기 갱신된 현재 시각부터 시계 기능이 수행되게 된다.The clock data is updated by performing a clock routine using the detected clock data (S27). That is, when the power-off port returns to the high state by the code power input, the active mode is switched and the current time is immediately updated by referring to the clock data of the KBPS packet. At this time, the clock function is performed from the updated current time through the timer built in the microcomputer 70.

결국, 본 발명은 전원 차단 모드시에 정지 모드로 절환하고, 또한 전원 코드 입력이 있을 경우 KBPS를 수행하여 시계 데이터 검출 및 시계 설정을 함으로써, 시계 설정과 관련된 수정발진기와 백업용 배터리를 사용하지 않아도 되는 것이다.As a result, the present invention switches to the stop mode in the power-off mode, and when there is a power cord input, performs KBPS to detect and set clock data, thereby eliminating the need for using a crystal oscillator and backup battery related to clock setting. will be.

상기와 같이 이루어지는 본 발명에 따른 방송수신 장치의 시계 설정방법은 KBPS 시계 데이터를 이용하여 자동으로 시계 설정을 실행할 수 있으므로 사용자가 수동으로 설정하지 않아도 되고, 또한 시계용 수정발진기와 백업용 배터리를 사용하지 않아도 되므로 재료비 절감 효과를 가져올 수 있는 유용한 발명인 것이다.In the clock setting method of the broadcast receiving apparatus according to the present invention, the clock setting method can be automatically executed using KBPS clock data, so that the user does not need to set the clock manually, and also does not use the clock crystal oscillator and the backup battery. It is a useful invention that can bring a material cost reduction effect.

Claims (3)

전원 차단 모드인지 판단하는 제1 단계;Determining a power-off mode; 전원 차단 모드시 정지 모드로 절환하는 제2 단계;Switching to a stop mode in a power off mode; 전원 재공급시 수신영상신호로부터 시계 데이터를 검출하는 제3 단계: 및A third step of detecting clock data from a received video signal when power is supplied again; and 상기 검출한 시계 데이터에 상응하여 현재 시각을 갱신설정하는 제4 단계를 포함하여 이루어지는 방송수신 장치의 시계 설정방법.And a fourth step of updating and setting a current time corresponding to the detected clock data. 제1 항에 있어서,According to claim 1, 상기 제3 단계는 외부 인터럽트를 초기화하는 단계를 더 포함하여 이루어지는 방송수신 장치의 시계 설정방법.The third step further comprises the step of initializing the external interrupt clock setting method of the broadcast receiving device. 제1 항에 있어서,According to claim 1, 상기 제2 단계는 전원 차단 모드시 외부 인터럽트의 발생 여부에 따라 정지 모드로 절환하는 것을 특징으로 하는 방송수신 장치의 시계 설정방법.The second step is a clock setting method of the broadcast receiving device, characterized in that switching to the stop mode according to whether or not the external interrupt occurs in the power off mode.
KR1019980012175A 1998-04-06 1998-04-06 How to set the clock of a broadcast receiving device KR19990079538A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980012175A KR19990079538A (en) 1998-04-06 1998-04-06 How to set the clock of a broadcast receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980012175A KR19990079538A (en) 1998-04-06 1998-04-06 How to set the clock of a broadcast receiving device

Publications (1)

Publication Number Publication Date
KR19990079538A true KR19990079538A (en) 1999-11-05

Family

ID=65861028

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980012175A KR19990079538A (en) 1998-04-06 1998-04-06 How to set the clock of a broadcast receiving device

Country Status (1)

Country Link
KR (1) KR19990079538A (en)

Similar Documents

Publication Publication Date Title
JPH0983897A (en) Television receiver
JPH09139655A (en) Channel selection method for channel selection device
KR100268373B1 (en) Broadcasting program reserve device using remote trancerver
KR19990079538A (en) How to set the clock of a broadcast receiving device
WO2006016344A1 (en) Low power download of software applications for digital hybrid tv
JPS60146587A (en) Portable television
KR100314465B1 (en) Method for controlling display of broadcasting additional imformation
JP2007049539A (en) Television receiver
KR100382519B1 (en) Method for reserved watching using program guide information
KR0173677B1 (en) Remote controller having channel changing function and television program display
JPH11122586A (en) Data broadcast receiver
KR100188203B1 (en) Apparatus and method for upgrading control program of television by running network communication
JPH11266406A (en) Channel selection device and television receiver
KR100223573B1 (en) Batteryless power-shutdown compansating tv
KR20010018706A (en) Method for time correction in a television and in a tvcr
JP2005191937A (en) Multi-system compatible receiver
WO2006035404A1 (en) Detection of new software image for download for digital/hybird tv during play mode
KR20010027666A (en) Child-lock setting method for TV
JP3676169B2 (en) Television broadcast receiver
KR19990026839A (en) How to set up a reservation for a satellite broadcast receiver
KR20030004539A (en) A method of offering channel information
KR100202274B1 (en) Method for changing channel
JPH0430811Y2 (en)
JP2001292069A (en) Broadcast receiver and its channel selection method
KR100257684B1 (en) Method for automatically upgrading program in internet television

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E902 Notification of reason for refusal
E601 Decision to refuse application