KR20070100543A - Method and system for receiving remote control signal using interval of generated interrupt - Google Patents

Method and system for receiving remote control signal using interval of generated interrupt Download PDF

Info

Publication number
KR20070100543A
KR20070100543A KR1020060031952A KR20060031952A KR20070100543A KR 20070100543 A KR20070100543 A KR 20070100543A KR 1020060031952 A KR1020060031952 A KR 1020060031952A KR 20060031952 A KR20060031952 A KR 20060031952A KR 20070100543 A KR20070100543 A KR 20070100543A
Authority
KR
South Korea
Prior art keywords
signal
remote control
control signal
interrupt
interval
Prior art date
Application number
KR1020060031952A
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 KR1020060031952A priority Critical patent/KR20070100543A/en
Publication of KR20070100543A publication Critical patent/KR20070100543A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • H04Q9/02Automatically-operated arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • H04Q9/04Arrangements for synchronous operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q2209/00Arrangements in telecontrol or telemetry systems
    • H04Q2209/80Arrangements in the sub-station, i.e. sensing device
    • H04Q2209/82Arrangements in the sub-station, i.e. sensing device where the sensing device takes the initiative of sending data

Abstract

A method for receiving a remote control signal by using an interrupt occurrence interval and a system thereof are provided to reduce abuse of ports of a system like an MCU or a microprocessor to which a remote control signal receipt system is connected by making it possible to read out a remote control signal in real time though using one port of a signal receipt unit. A system for receiving a remote control signal by using an interrupt occurrence interval comprises an interrupt generator(201), an interval measuring unit(202) and a signal reading unit(203). The interrupt generator(201) generates interrupts in case that a signal with a set waveform is received from a signal receiver(204). The interval measuring unit(202) measures the interrupt occurrence interval at the interrupt generator(201). The signal reading unit(203) checks whether a received signal is a remote control signal by using the measured interrupt interval. If so, reads out information included in the remote control signal by using the measured interrupt interval.

Description

인터럽트 발생 간격을 이용한 리모콘 신호 수신방법 및 그 시스템{Method and system for receiving remote control signal using interval of generated interrupt} Method and system for receiving remote control signal using interrupt occurrence interval {method and system for receiving remote control signal using interval of generated interrupt}

도 1은 종래 리모콘 신호 수신 시스템의 구성을 도시한 블록선도1 is a block diagram showing the configuration of a conventional remote control signal receiving system

도 2는 본 발명의 리모콘 신호 수신 시스템의 구성을 도시한 블록선도Figure 2 is a block diagram showing the configuration of a remote control signal receiving system of the present invention

도 3은 본 발명의 리모콘 신호 수신 방법을 도시한 흐름도3 is a flowchart illustrating a method for receiving a remote controller signal according to the present invention.

도 4는 일반적이 리모콘 신호의 구성을 도시한 도면4 is a diagram illustrating a configuration of a general remote control signal.

도 5는 리모콘 신호에서 각 비트의 파형을 도시한 도면5 is a diagram illustrating a waveform of each bit in a remote control signal.

본 발명은 리모콘 신호를 수신하는 시스템 및 방법에 관한 것이다.The present invention relates to a system and method for receiving a remote control signal.

일반적인 리모콘 수신 시스템의 일 예를 도 1에 도시하였다. An example of a general remote control receiving system is illustrated in FIG. 1.

도 1에서 보는 바와 같이, 일반적인 리모콘 신호 수신 시스템은 마이컴 또는 마이크로 프로세서 유닛(Micro Processor Unit: MCU)으로 구성된 시스템(100)에 설치되어 있으며, 별도의 적외선 센서(130)와 같이 리모콘 신호를 수신할 수 있는 신호수신부를 구비하고 있다. As shown in FIG. 1, a general remote control signal reception system is installed in a system 100 configured as a microcomputer or a micro processor unit (MCU), and receives a remote control signal like a separate infrared sensor 130. It is provided with a signal receiver.

MCU(100) 내에는 적외선 센서(130)로부터 신호가 수신되는 경우 인터럽트를 발생시키는 인터럽트 발생부(110)와 인터럽트가 발생한 경우 적외선 센서(130)로부터 입력되는 신호를 수신하여 수신된 신호가 리모콘 신호인지 여부 및 리모콘 신호인 경우 그 신호에 포함된 정보를 판독하는 작업을 수행하는 데이터판독부(120)를 구비하고 있으며, 이들을 통하여 리모콘 신호를 판독하게 된다. The MCU 100 receives a signal input from the interrupt generator 110 generating an interrupt when the signal is received from the infrared sensor 130 and the infrared sensor 130 when the interrupt is generated, and the received signal is a remote control signal. In the case of the recognition and the remote control signal, the data reading unit 120 performs a task of reading information included in the signal, thereby reading the remote control signal.

그런데, 종래의 MCU(100)가 적외선 센서(130)로부터 신호를 수신하기 위해서는 2개의 포트(111, 121)를 이용하여야만 했다.However, the conventional MCU 100 had to use two ports 111 and 121 to receive a signal from the infrared sensor 130.

즉, 하나의 포트(111)는 적외선 센서(130)로부터 발생된 신호를 인터럽트발생부(110)로 전송하는데 사용되고, 다른 하나의 포트(121)는 적외선 센서(130)로부터 발생된 신호를 데이터판독부(120)로 전송하는데 사용된다. That is, one port 111 is used to transmit the signal generated from the infrared sensor 130 to the interrupt generator 110, and the other port 121 reads the signal generated from the infrared sensor 130. It is used to transmit to the unit 120.

적외선 센서(130)로부터 신호가 수신되면 먼저 인터럽트를 걸고, 데이터 판독 작업을 하여야 하는데, 데이터를 판독하는 작업은 인터럽트가 걸리는 동시에 시작이 되어야 한다. When a signal is received from the infrared sensor 130, an interrupt must be interrupted first and a data read operation must be performed. The data read operation must be started at the same time as the interrupt is interrupted.

그런데 만약 하나의 포트만을 사용하게 되면 이 두 작업을 동시에 수행하기가 어렵기 때문에 두 개의 서로 다른 포트를 통해서 동시작업을 수행할 수 있도록 하고 있다. However, if only one port is used, it is difficult to perform these two tasks at the same time, so it is possible to perform simultaneous tasks through two different ports.

그러나, 이러한 방식으로 시스템을 구성하는 경우 MCU(100)의 포트로 사용되는 단자가 낭비된다는 단점이 있다. 즉, MCU와 같은 프로세서의 경우 포트로 사용할 수 있는 단자의 수가 제한되게 되므로 가능하면 하나의 작업을 수행하기 위해 사용되는 포트의 수를 줄이는 것이 바람직한데, 종래의 기술에 따르면 리모콘 신호 를 수신하는 작업을 위하여 2개의 포트를 사용해야 하므로 다른 작업을 위하여 할당될 포트가 제한되는 단점이 있었다. However, when configuring the system in this manner, there is a disadvantage in that a terminal used as a port of the MCU 100 is wasted. That is, in the case of a processor such as an MCU, since the number of terminals that can be used as ports is limited, it is desirable to reduce the number of ports used to perform one task if possible. Because two ports must be used for this purpose, there is a disadvantage in that the ports to be allocated for other tasks are limited.

상기한 문제를 해결하기 위해서 본 발명에서는 리모콘 신호를 수신하는 시스템에서 사용되는 포트의 수를 줄일 수 있는 방법을 제공하는 것을 목적으로 한다.In order to solve the above problem, an object of the present invention is to provide a method for reducing the number of ports used in a system for receiving a remote control signal.

상기한 문제를 해결하기 위해서 본 발명에서는 상기한 방법을 이용하여 사용되는 포트 수를 줄인 리모콘 신호 수신 시스템을 제공하는 것을 목적으로 한다.In order to solve the above problem, an object of the present invention is to provide a remote control signal receiving system which reduces the number of ports used by the above method.

상기한 목적을 달성하기 위해서 본 발명은 소정의 리모콘 신호를 수신할 수 있는 신호수신부를 구비한 리모콘신호수신장치를 이용하여 리모콘 신호를 수신하는 방법에 있어서, 상기 신호수신부로부터 소정 파형의 신호가 수신되는 경우 인터럽트를 발생시키는 단계; 상기 인터럽트가 발생하는 간격을 측정하는 단계; 상기 인터럽트가 발생하는 간격을 이용하여 상기 수신되는 신호가 리모콘 신호인지를 확인하는 단계; 상기 수신된 신호가 리모콘 신호인 경우 상기 인터럽트가 발생하는 간격을 이용하여 상기 리모콘 신호에 포함된 정보를 판독하는 단계;를 포함하는 것을 특징으로 하는 리모콘 신호 수신방법을 제공한다.In order to achieve the above object, the present invention provides a method for receiving a remote control signal using a remote control signal receiving apparatus having a signal receiving unit capable of receiving a predetermined remote control signal, wherein a signal of a predetermined waveform is received from the signal receiving unit. Generating an interrupt if so; Measuring an interval at which the interrupt occurs; Checking whether the received signal is a remote control signal using the interval at which the interrupt occurs; When the received signal is a remote control signal, the step of reading the information contained in the remote control signal using the interval in which the interrupt occurs; provides a remote control signal receiving method comprising a.

한편, 상기한 목적을 달성하기 위해서 본 발명은 소정의 리모콘 신호를 수신할 수 있는 신호수신부를 구비한 리모콘신호수신시스템에 있어서, 상기 신호수신부로부터 소정 파형의 신호가 수신되는 경우 인터럽트를 발생시키는 인터럽트발생부; 상기 인터럽트발생부로부터 인터럽트가 발생하는 시간적 간격을 측정하는 간격측정 부; 및 상기 간격측정부에서 측정된 인터럽트 간격을 이용하여 상기 수신된 신호가 리모콘 신호인지 확인하고, 상기 수신된 신호가 리모콘 신호인 경우 상기 측정된 인터럽트 간격을 이용하여 상기 리모콘 신호에 포함된 정보를 판독하는 신호판독부;를 포함하는 것을 특징으로 하는 리모콘 신호 수신시스템을 제공한다.In order to achieve the above object, the present invention provides a remote control signal receiving system having a signal receiving unit capable of receiving a predetermined remote control signal, wherein an interrupt for generating an interrupt when a signal having a predetermined waveform is received from the signal receiving unit. Generator; An interval measuring unit measuring a time interval at which an interrupt is generated from the interrupt generator; And checking whether the received signal is a remote controller signal using the interrupt interval measured by the interval measuring unit, and reading the information included in the remote controller signal using the measured interrupt interval when the received signal is a remote controller signal. It provides a remote control signal receiving system comprising a; signal reading unit.

여기서, 상기 소정 파형의 신호는 엣지(edge)인 것이 바람직하다.Here, the signal of the predetermined waveform is preferably an edge (edge).

또한, 상기 신호판독부는 상기 측정된 인터럽트 발생 간격이 리모콘 신호의 리드 코드에 해당하는 인터럽트 발생 간격과 일치하는지 여부를 판단하여 상기 수신된 신호가 리모콘 신호인지를 확인하는 것이 바람직하다.The signal reading unit may determine whether the received signal is a remote controller signal by determining whether the measured interrupt generation interval matches the interrupt generation interval corresponding to the read code of the remote controller signal.

또한, 상기 간격측정부는 시스템 클럭을 이용하여 인터럽트 발생 간격을 측정하는 것이 바람직하다.In addition, the interval measuring unit preferably measures an interrupt occurrence interval using a system clock.

한편, 상기한 목적을 달성하기 위해서 본 발명은 상기한 방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공한다.On the other hand, in order to achieve the above object, the present invention provides a computer readable recording medium having recorded thereon a program for realizing the above method.

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

도 1은 본 발명의 구성을 도시한 블록선도이다. 1 is a block diagram showing the configuration of the present invention.

본 발명의 리모콘 신호 수신시스템(200)은 리모콘 신호를 수신하는 신호수신부(204)로부터 신호를 받으며, 인터럽트발생부(201), 간격측정부(202) 및 신호판독부(203)을 포함하여 구성된다. The remote control signal receiving system 200 of the present invention receives a signal from the signal receiving unit 204 for receiving a remote control signal, and comprises an interrupt generator 201, an interval measuring unit 202, and a signal reading unit 203. do.

신호수신부(204)는 리모콘 신호를 수신한다. 일반적으로 원격제어를 위한 리모콘 신호는 적외선 신호를 이용하는 경우가 많으므로 신호수신부(204)는 적외선 센서인 경우가 일반적일 것이나, 본 발명에서 사용되는 신호수신부(204)는 적외선 센서에 제한되지 않으며, 리모콘 신호로 이용되는 신호의 종류에 따라 그 종류가 결정된다. The signal receiver 204 receives a remote controller signal. In general, since the remote control signal for remote control often uses an infrared signal, the signal receiver 204 will generally be an infrared sensor, but the signal receiver 204 used in the present invention is not limited to an infrared sensor. The type is determined according to the type of the signal used as the remote control signal.

예를 들어 RF 신호를 이용하여 원격제어를 하는 제품에 사용되는 리모콘 신호 수신시스템의 경우 RF 신호 수신장치가 신호수신부(204)로 사용이 될 것이다. For example, in the case of a remote control signal receiving system used in a product for remote control using an RF signal, the RF signal receiving device will be used as the signal receiving unit 204.

인터럽트발생부(201)는 신호수신부(204)로부터 소정 파형의 신호가 수신되는 경우 인터럽트를 발생시킨다. The interrupt generator 201 generates an interrupt when a signal of a predetermined waveform is received from the signal receiver 204.

일반적으로 리모콘 신호로 사용되는 신호는 펄스 형태의 신호가 될 것이며, 신호수신부(204)가 수신된 신호를 반전시켜서 본 발명의 리모콘 신호 수신시스템(200)에 제공하지 않는다면, 아무 신호가 수신되지 않고 있는 경우에는 신호수신부(204)에서 제공되는 신호는 항상 로우 상태에 있을 것이고, 리모콘 신호를 수신하는 경우에는 제공되는 신호가 하이 상태로 변경될 것이다. In general, the signal used as a remote control signal will be a pulse-shaped signal, and if the signal receiver 204 does not invert the received signal and provide it to the remote control signal receiving system 200 of the present invention, no signal is received. If present, the signal provided by the signal receiver 204 will always be in a low state, and when receiving a remote control signal, the provided signal will be changed to a high state.

인터럽트발생부(201)는 이렇게 신호가 하이 상태로 변경되는 라이징 엣지(rising edge)를 감지하여 라이징 엣지가 발생한 경우 인터럽트를 발생시킨다. 인터럽트를 발생시킨 후에는 바로 발생한 인터럽트가 해지되도록 하는 것이 바람직하다. The interrupt generator 201 detects a rising edge at which the signal is changed to a high state and generates an interrupt when a rising edge occurs. After generating the interrupt, it is desirable to cause the interrupt to be generated immediately.

만약, 신호수신부(204)가 수신된 리모콘 신호를 반전하여 전송하는 경우, 리모콘 신호가 수신된 경우에는 로우 신호가 발생할 것이며, 이 경우 인터럽트발생부(201)는 폴링 엣지(falling edge)가 발생한 경우 인터럽트를 발생할 것이다. If the signal receiver 204 inverts and transmits the received remote controller signal, a low signal will be generated when the remote controller signal is received. In this case, the interrupt generator 201 generates a falling edge. Will generate an interrupt.

간격측정부(202)는 인터럽트발생부(201)에서 인터럽트가 발생한 경우 이전 인터럽트와의 시간적 간격을 측정한다. The interval measuring unit 202 measures a time interval from a previous interrupt when an interrupt occurs in the interrupt generator 201.

만약 인터럽트발생부(201)에서 라이징 엣지(rising edge)에서 인터럽트를 발생시키는 경우 간격측정부(202)는 수신된 신호에서 라이징 엣지(rising edge)가 발생한 간격을 측정하게 될 것이다. If the interrupt generator 201 generates an interrupt at the rising edge, the interval measuring unit 202 may measure the interval at which the rising edge occurs in the received signal.

간격측정부(202)는 MCU, 마이컴 등의 시스템 내부의 시스템 클럭을 직접 이용하여 간격 측정을 할 수도 있고, MCU 등이 운영체제를 이용하는 경우 운영체제에서 제공하는 시간 정보를 이용하여 인터럽트의 간격을 측정할 수도 있다. The interval measuring unit 202 may measure the interval by directly using the system clock inside the system such as the MCU, the microcomputer, or the like. When the MCU uses the operating system, the interval measuring unit 202 may measure the interval of the interrupt using the time information provided by the operating system. It may be.

신호판독부(203)는 간격측정부(202)에 측정한 인터럽트간의 시간적 간격을 이용하여 수신된 신호가 리모콘 신호인지 여부를 확인하고, 수신된 신호가 리모콘 신호인 경우 측정된 인터럽트 간격을 이용하여 리모콘 신호에 포함된 정보를 판독한다. The signal reading unit 203 checks whether the received signal is a remote control signal using the time interval between the interrupts measured by the interval measuring unit 202, and uses the measured interrupt interval when the received signal is a remote control signal. Read the information contained in the remote control signal.

리모콘 신호의 일반적인 구성은 도 4에 도시한 바와 같다. The general configuration of the remote control signal is as shown in FIG.

일반적인 리모콘 신호는 리모콘 신호의 시작을 알리는 리드 코드(401), 각 업체별 고유번호를 나타내는 커스텀 코드(402), 커스텀 코드가 반전된 인버티드 커스텀 코드(403), 각 업체가 정한 데이터 값인 데이터 코드(404) 및 그 데이터 코드가 반전된 값인 인버티드 데이터 코드(405)로 구성된다. A typical remote control signal includes a lead code 401 indicating the start of the remote control signal, a custom code 402 indicating a unique number for each company, an inverted custom code 403 in which the custom code is inverted, and a data code that is a data value determined by each company ( 404 and its data code consists of an inverted data code 405 that is an inverted value.

도 4에서 보는 바와 같이 리모콘 신호는 처음에 9ms의 하이 신호와 4.5ms의 로우 신호로 구성된 리드 코드(401)로 시작이 되며, 그 후 32개의 데이터를 가지게 된다. As shown in FIG. 4, the remote control signal first starts with a read code 401 composed of a high signal of 9 ms and a low signal of 4.5 ms, and then has 32 data.

또한, 각 데이터를 나타내는 비트는 도 5에서와 같은 펄스 폭을 가지게 된다. In addition, the bits representing each data have a pulse width as shown in FIG. 5.

따라서, 리모콘 신호가 도 4 및 도 5와 같은 규약을 갖는 경우, 처음 리모콘 신호가 수신되면 최초에 신호가 수신되는 순간 인터럽트발생부(201)에 의해 인터럽트가 발생되며, 그 후 13.5ms가 경과된 후 다시 인터럽트가 발생하게 된다. Therefore, when the remote control signal has the same protocol as in FIGS. 4 and 5, when the first remote control signal is received, an interrupt is generated by the interrupt generator 201 the first time the signal is received, and then 13.5 ms has elapsed. The interrupt will be generated again.

또한, 0(로우)의 정보를 가지는 비트가 입력된 경우에는 최초로 인터럽트가 발생한 이후 1. 125ms 이후에 다시 인터럽트가 발생하게 되며, 1 (하이)의 정보를 가지는 비트가 입력된 경우에는 최초로 인터럽트가 발생한 이후 2.25ms가 경과된 후 다시 인터럽트가 발생하게 된다. In addition, if a bit with 0 (low) information is input, an interrupt occurs again after 1.125 ms after the first interrupt occurs. When a bit with 1 (high) information is input, an interrupt is first generated. After 2.25ms has elapsed, interrupt occurs again.

신호판독부(203)는 간격측정부(202)에 측정된 인터럽트의 시간적 간격이 리드 코드의 인터럽트 발생 간격과 같은지 여부를 가지고 리모콘 신호가 입력되는지 여부를 먼저 판단하고, 그 후 수신된 신호의 인터럽트 발생 간격을 이용하여 각 입력된 데이터가 0을 나타내는 비트인지 1을 나타내는 비트인지를 판단한 후, 이렇게 판단된 데이터로부터 리모콘으로부터 요청된 명령이 무엇인지를 판독하게 된다. The signal reading unit 203 first determines whether or not the remote control signal is input with the time interval of the interrupt measured by the interval measuring unit 202 equal to the interrupt generation interval of the read code, and then interrupts the received signal. After determining whether each input data is a bit representing 0 or a bit representing 1 using the generation interval, the requested command from the remote controller is read from the determined data.

이렇게 판독된 신호는 TV, 라디오, 네비게이션 등 본 발명의 리모콘 신호 수신시스템(200)이 장착된 전자제품의 제어부(미도시)에 제공되어 그 전자제품이 제어되도록 하게 된다. The signal thus read is provided to a controller (not shown) of an electronic product equipped with the remote control signal receiving system 200 of the present invention such as a TV, a radio, or a navigation so that the electronic product is controlled.

도 3은 본 발명의 방법을 도시한 흐름도이다. 3 is a flow chart illustrating a method of the present invention.

먼저, 인터럽트발생부(201)는 적외선 센서, RF 신호 수신기 등 리모콘 신호를 수신할 수 있는 신호수신부(204)를 통하여 입력되는 신호를 수신하여 소정 파형의 신호가 수신되는 경우(301) 인터럽트를 발생시킨다(302).First, the interrupt generator 201 receives an input signal through a signal receiver 204 capable of receiving a remote controller signal such as an infrared sensor, an RF signal receiver, and generates an interrupt when a signal having a predetermined waveform is received (301). (302).

이 때 소정 파형이란 도 4 및 도 5와 같은 규약(protocol)을 갖는 리모콘 신 호의 경우 엣지(edge)가 발생하는 파형이 될 것이지만, 리모콘 신호의 규약, 그리고 신호수신부(204)가 수신된 신호를 반전하여 제공하는지 여부 등에 따라 달라질 수 있음은 앞에서 살펴본 바와 같다. In this case, the predetermined waveform may be a waveform in which an edge occurs in the case of a remote controller signal having a protocol as shown in FIGS. 4 and 5, but the protocol of the remote controller signal and the signal receiving unit 204 receive the received signal. As described above, it may vary depending on whether the inversion is provided.

간격측정부(202)는 인터럽트발생부(201)에서 발생하는 인터럽트간의 시간적 간격을 측정한다(303). The interval measuring unit 202 measures the time interval between the interrupts generated by the interrupt generator 201 (303).

이 때 간격측정부(202)는 오실레이터 등을 이용하여 하드웨어적으로 제공되는 시스템 클럭을 이용하여 인터럽트간의 시간적 간격을 측정할 수 있고, 시스템 내에 운영체제가 설치된 경우 소프트웨어적으로 운영체제로부터 시간정보를 제공받아 인터럽트간의 시간적 간격을 측정할 수 있음은 앞에서 살펴본 바와 같다. At this time, the interval measuring unit 202 may measure the time interval between interrupts using a system clock provided in hardware using an oscillator or the like. When the operating system is installed in the system, the interval measuring unit 202 receives time information from the operating system in software. As described above, the time interval between interrupts can be measured.

신호판독부(203)는 간격측정부(202)에서 측정된 인터럽트 발생 간격을 이용하여 수신되는 신호가 리모콘 신호인지를 확인한다(304).The signal reading unit 203 checks whether the received signal is a remote control signal using the interrupt generation interval measured by the interval measuring unit 202 (304).

이 때 신호판독부(203)는 리모콘 신호 중 리드 코드만을 이용하여 수신된 신호가 리모콘 신호인지 여부를 판독할 수 있고, 각 비트마다 정해진 규약(protocol)에 맞는 인터럽트 발생 간격, 즉 정해진 비트 발생간격을 갖는 신호인지를 판단하여 리모콘 신호인지를 판독할 수도 있다.In this case, the signal reading unit 203 may read whether the received signal is a remote control signal using only a read code among the remote control signals, and for each bit, an interrupt occurrence interval that meets a predetermined protocol, that is, a predetermined bit occurrence interval. It may be determined whether or not the signal having a remote control signal.

즉, 인터럽트가 발생할 때마다 수신된 신호가 리모콘 신호인지를 확인하도록 하는 것도 가능하고, 일단 리드 코드가 수신된 것으로 확인되는 경우 그 이후의 32개의 신호에 대해서는 리모콘 신호인지 여부를 판단하지 않도록 하는 것도 가능하다. That is, whenever an interrupt occurs, it is possible to check whether the received signal is a remote control signal, and when it is confirmed that the read code has been received, it is not necessary to determine whether the remote control signal is detected for the 32 signals thereafter. It is possible.

수신된 신호가 리모콘 신호인 것으로 판독되는 경우 신호판독부(203)는 리드 코드에 연속하여 수신되는 각 신호의 정보를 판독하여 이를 본 발명의 리모콘 신호 수신시스템(200)에 설치된 전자 제품의 제어부(미도시)로 제공하게 된다(305).When the received signal is read as a remote control signal, the signal reading unit 203 reads information of each signal successively received in a read code and controls the control unit of the electronic product installed in the remote control signal receiving system 200 of the present invention. Not shown) (305).

본 발명의 상기 방법은 또한 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. 컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 기록매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다. 또한 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The method of the present invention can also be embodied as computer readable code on a computer readable recording medium. The computer-readable recording medium includes all kinds of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet). Include. The computer readable recording medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.

이상 설명한 바와 같이, 본 발명에 따르면 특정 파형이 발생할 때마다 인터럽트를 발생시키고, 그 인터럽트가 발생된 시간적 간격을 기준으로 리모콘 신호인지 여부 및 리모콘 신호의 정보를 판독하게 되므로 신호수신부로부터 하나의 포트만을 이용하더라도 실시간으로 리모콘 신호를 판독할 수 있어서 MCU, 마이컴 등 리모콘 신호 수신시스템이 장착된 시스템의 포트의 낭비를 줄일 수 있는 장점이 있다. As described above, according to the present invention, an interrupt is generated whenever a specific waveform is generated, and the information of the remote control signal and the information of the remote control signal are read based on the time interval at which the interrupt is generated. Even if it is used, it is possible to read the remote control signal in real time, which can reduce the waste of the port of the system equipped with the remote control signal receiving system such as MCU, microcomputer.

Claims (9)

소정의 리모콘 신호를 수신할 수 있는 신호수신부를 구비한 리모콘신호수신시스템에 있어서,In the remote control signal receiving system having a signal receiving unit capable of receiving a predetermined remote control signal, 상기 신호수신부로부터 소정 파형의 신호가 수신되는 경우 인터럽트를 발생시키는 인터럽트발생부;An interrupt generator for generating an interrupt when a signal of a predetermined waveform is received from the signal receiver; 상기 인터럽트발생부로부터 인터럽트가 발생하는 시간적 간격을 측정하는 간격측정부; 및 An interval measuring unit measuring a time interval at which an interrupt is generated from the interrupt generator; And 상기 간격측정부에서 측정된 인터럽트 간격을 이용하여 상기 수신된 신호가 리모콘 신호인지 확인하고, 상기 수신된 신호가 리모콘 신호인 경우 상기 측정된 인터럽트 간격을 이용하여 상기 리모콘 신호에 포함된 정보를 판독하는 신호판독부;를 포함하는 것을 특징으로 하는 리모콘 신호 수신시스템.Checking whether the received signal is a remote controller signal using the interrupt interval measured by the interval measuring unit, and reading the information included in the remote controller signal using the measured interrupt interval when the received signal is a remote controller signal. Signal reading unit; Remote control signal receiving system comprising a. 제1항에 있어서, 상기 소정 파형의 신호는 엣지(edge)인 것을 특징으로 하는 리모콘 신호 수신시스템.The remote control signal receiving system according to claim 1, wherein the signal of the predetermined waveform is an edge. 제1항에 있어서, 상기 신호판독부는 상기 측정된 인터럽트 발생 간격이 리모콘 신호의 리드 코드에 해당하는 인터럽트 발생 간격과 일치하는지 여부를 판단하여 상기 수신된 신호가 리모콘 신호인지를 확인하는 것을 특징으로 하는 리모콘 신호 수신시스템.The method of claim 1, wherein the signal reading unit determines whether the measured interrupt occurrence interval coincides with an interrupt occurrence interval corresponding to a read code of the remote control signal, and confirms whether the received signal is a remote control signal. Remote control signal receiving system. 제1항에 있어서, 상기 간격측정부는 시스템 클럭을 이용하여 인터럽트 발생 간격을 측정하는 것을 특징으로 하는 리모콘 신호 수신시스템.The remote control signal receiving system according to claim 1, wherein the interval measuring unit measures an interrupt occurrence interval using a system clock. 소정의 리모콘 신호를 수신할 수 있는 신호수신부를 구비한 리모콘신호수신장치를 이용하여 리모콘 신호를 수신하는 방법에 있어서, In the method for receiving a remote control signal using a remote control signal receiving apparatus having a signal receiving unit capable of receiving a predetermined remote control signal, 상기 신호수신부로부터 소정 파형의 신호가 수신되는 경우 인터럽트를 발생시키는 단계;Generating an interrupt when a signal of a predetermined waveform is received from the signal receiver; 상기 인터럽트가 발생하는 간격을 측정하는 단계;Measuring an interval at which the interrupt occurs; 상기 인터럽트가 발생하는 간격을 이용하여 상기 수신되는 신호가 리모콘 신호인지를 확인하는 단계;Checking whether the received signal is a remote control signal using the interval at which the interrupt occurs; 상기 수신된 신호가 리모콘 신호인 경우 상기 인터럽트가 발생하는 간격을 이용하여 상기 리모콘 신호에 포함된 정보를 판독하는 단계;를 포함하는 것을 특징으로 하는 리모콘 신호 수신방법.And reading the information included in the remote control signal by using the interval at which the interrupt occurs when the received signal is a remote control signal. 제5항에 있어서, 상기 소정 파형의 신호는 엣지(edge)인 것을 특징으로 하는 리모콘 신호 수신방법.The method of claim 5, wherein the signal of the predetermined waveform is an edge. 제5항에 있어서, 상기 수신된 신호가 리모콘 신호인지 확인하는 단계는 상기 측정된 인터럽트 발생 간격이 리모콘 신호의 리드 코드에 해당하는 인터럽트 발생 간격과 일치하는지 여부를 판단하여 상기 수신된 신호가 리모콘 신호인지를 확인하는 것을 특징으로 하는 리모콘 신호 수신방법.The method of claim 5, wherein the determining whether the received signal corresponds to a remote control signal comprises determining whether the measured interrupt generation interval corresponds to an interrupt generation interval corresponding to a read code of the remote control signal. Remote control signal receiving method characterized in that the check. 제5항에 있어서, 상기 인터럽트가 발생하는 간격을 측정하는 단계는 시스템 클럭을 이용하여 인터럽트 발생 간격을 측정하는 것을 특징으로 하는 리모콘 신호 수신방법. The method of claim 5, wherein the measuring of the interval between the interrupts is performed by measuring an interrupt occurrence interval using a system clock. 제5항 내지 제8항 중 어느 한 항에 기재된 리모콘 신호 수신방법을 실현시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for realizing the remote control signal receiving method according to any one of claims 5 to 8.
KR1020060031952A 2006-04-07 2006-04-07 Method and system for receiving remote control signal using interval of generated interrupt KR20070100543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020060031952A KR20070100543A (en) 2006-04-07 2006-04-07 Method and system for receiving remote control signal using interval of generated interrupt

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020060031952A KR20070100543A (en) 2006-04-07 2006-04-07 Method and system for receiving remote control signal using interval of generated interrupt

Publications (1)

Publication Number Publication Date
KR20070100543A true KR20070100543A (en) 2007-10-11

Family

ID=38805401

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020060031952A KR20070100543A (en) 2006-04-07 2006-04-07 Method and system for receiving remote control signal using interval of generated interrupt

Country Status (1)

Country Link
KR (1) KR20070100543A (en)

Similar Documents

Publication Publication Date Title
US5884146A (en) Apparatus and method for establishing a radio frequency communications link between a controller and a remote controllable system
JPH04222130A (en) Interference detection circuit
US5748887A (en) Inter-processor asynchronous serial communication transmission/reception apparatus using each other's memories
KR20070100543A (en) Method and system for receiving remote control signal using interval of generated interrupt
US5619515A (en) On-vehicle electronic apparatus
KR100306349B1 (en) Data communication systems and devices for them
US11188116B2 (en) Hard disk monitoring system and monitoring method using complex programmable logic device
GB2411013A (en) Electronic device and methods of interrupting a processor
CN110554246A (en) Electromagnetic sensor and mobile device including the same
JP2755235B2 (en) Remote control signal receiver
JPH08279803A (en) Burst signal detection circuit
KR100351460B1 (en) Method and apparatus for remoted-detecting a gas meter by using wireless data communication and wire network
JPS63164554A (en) Automatic recognizing system for data speed
KR100555644B1 (en) transmitting/receiving method of bit stream
JP2896478B2 (en) Remote control pulse receiving circuit
JP2009118315A (en) Communication system, transmitting device, receiving device, communication apparatus, semiconductor device, and communication scheme
JP2001325216A (en) Communication system switching device and communication system switching method
US20070290880A1 (en) Method and Apparatus for Universally Decoding Commands of a Remote Controller
KR100195645B1 (en) Method for detecting the code-data in remote controller signal
JPH10294772A (en) At command reception system
JPS59223095A (en) Remote control receiver
CN117351691A (en) Infrared control device, system, data transmission method, medium, and program product
JP2661583B2 (en) Clock signal distribution apparatus and method
JP2004336629A (en) Receiver for remote operation
JPH11205396A (en) Serial communication equipment

Legal Events

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