KR0140343B1 - Interface circuit and method to reduce receiving error of remote control signal - Google Patents
Interface circuit and method to reduce receiving error of remote control signalInfo
- Publication number
- KR0140343B1 KR0140343B1 KR1019940018770A KR19940018770A KR0140343B1 KR 0140343 B1 KR0140343 B1 KR 0140343B1 KR 1019940018770 A KR1019940018770 A KR 1019940018770A KR 19940018770 A KR19940018770 A KR 19940018770A KR 0140343 B1 KR0140343 B1 KR 0140343B1
- Authority
- KR
- South Korea
- Prior art keywords
- remote control
- control signal
- variation
- time
- reference time
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements 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/04—Arrangements for synchronous operation
Abstract
1. 청구범위에 기재된 발명이 속한 기술분야1. TECHNICAL FIELD OF THE INVENTION
원격제어 신호의 수신Receive Remote Control Signal
2. 발명이 해결하려고 하는 기술적 과제2. The technical problem to be solved by the invention
원격제어신호의 수신시 에러 발생을 최소화시킴Minimize the error when receiving the remote control signal
3. 발명의 해결 방법의 요지3. Summary of the Solution of the Invention
원격제어신호의 변이들을 검출하고 검출된 변이들의 주기를 계산한 후, 계산된 변이들 간의 주기를 미리 설정한 기준시간들과 비교 분석하며, 비교분석 과정에서 변이의 주기가 기준시간 들의 범위를 만족하면 정상 원격제어신호로 처리하고 그렇지 않으면 에러 처리함.Detects the variations of the remote control signal, calculates the period of the detected variations, and compares the period between the calculated variations with preset reference times, and the period of the variation meets the range of reference times in the comparison analysis process. If it does, it handles with normal remote control signal, otherwise it handles error.
4. 발명의 중요한 용도4. Important uses of the invention
원격제어신호를 수신하여 기기를 제어하는 장치에서 수신 에러를 최소화시킴Receives a remote control signal to minimize the reception error in the device controlling the device
Description
제1도는 원격제어신호를 인터페이스하는 종래의 회로도1 is a conventional circuit diagram for interfacing a remote control signal.
제2a도는 정상 원격제어신호 수신시 제1도 각 부 동작 파형도이고, 제2b도는 에러 원격 제어신호 수신시 제1도 각 부 동작 파형도FIG. 2A is a waveform diagram of each of the first and second sub-waves when receiving a normal remote control signal. FIG.
제3도는 원격제어신호를 인터페이스하는 본 발명의 회로도3 is a circuit diagram of the present invention for interfacing a remote control signal.
제4a도는 정상 원격제어신호 수신시 제3도 각 부 동작 파형도이고, 제4b도는 에러 원격 제어신호 수신시 제3도 각 부의 동작 파형도FIG. 4A is an operation waveform diagram of each part of FIG. 3 when receiving a normal remote control signal. FIG. 4B is an operation waveform diagram of each part of FIG. 3 when an error remote control signal is received.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
111 : 수신부 112 : 범용 중앙처리장치111: receiver 112: general-purpose central processing unit
113 : 메모리 114 : 타이머113: memory 114: timer
121-123 : 인버터121-123: Inverter
본 발명은 원격제어신호의 인터페이스 회로 및 방법에 관한 것으로, 특히 원격 제어신호의 상태를 분석하여 원격제어신호를 정확하게 처리할 수 있는 회로 및 방법에 관한 것이다.The present invention relates to an interface circuit and method of a remote control signal, and more particularly, to a circuit and a method capable of accurately processing a remote control signal by analyzing a state of the remote control signal.
일반적으로 텔리비젼등의 가전제품 동작은 리모콘(REMOTE CONTROLLER)을 이용 하여 원격 제어한다. 이때 원격 제어를 수행하는 가전제품들은 대부분 적외선 리모콘 인터페이스를 갖는 전용 마이컴을 사용하여 수신 에러를 최소화하였다. 그러나 범용 중앙처리장치를 사용하는 제품에서는 상황이 다르게 된다. 즉, 수신측에서는 리모콘 송신기로 부터 발생되는 원격제어신호(remote control signal)를 인터럽트 신호로 수신하는데, 상기 범용 중앙처리장치는 상기 원격제어신호의 하강 변이(falling edge) 또는 상승 변이(rising edge) 중 어느 한 변이만을 인터럽트신호로 선택할 수 있다.In general, the operation of home appliances such as televisions is controlled remotely using a remote controller. At this time, most home appliances that perform remote control minimize reception errors by using a dedicated microcomputer with an infrared remote control interface. However, the situation is different for products that use a general-purpose central processing unit. That is, the receiving side receives a remote control signal generated from a remote controller transmitter as an interrupt signal, and the general-purpose central processing unit receives a falling edge or a rising edge of the remote control signal. Only one variation can be selected as the interrupt signal.
제1도는 종래의 원격제어신호 인터페이스 회로도이며, 제2a도의 동작 파형도를 참조하여 종래의 원격제어신호 처리 과정을 살펴보면, 리모콘 송신기로 부터 발생되는 원격제어신호는수신부 111에서 전기적신호로 변환된 후 제2a도의 211과 같이 디지탈 레벨로 파형정형된다. 상기 수신부 111를 출력하는 원격제어신호는 인버터 115를 통해 반전된 후 범용 중앙처리장치 112의 인터럽트 단자로 인가된다.FIG. 1 is a conventional remote control signal interface circuit diagram. Referring to the operation of the remote control signal processing process with reference to the operation waveform diagram of FIG. 2A, the remote control signal generated from the remote control transmitter is converted into an electrical signal at the receiver 111. Waveform shaping is performed at the digital level as shown in 211 of FIG. 2A. The remote control signal outputting the receiver 111 is inverted through the inverter 115 and then applied to the interrupt terminal of the general purpose CPU 112.
따라서 상기 범용 중앙처리장치 112는 상기 제2a도의 211과 같은 원격제어신호의 하강 변이(falling edge) 들을 212와 같이 인터럽트신호로 수신하게 된다. 그리고 상기 범용 중앙처리장치 112는 타이머 114로 일정 주기의 타이머신호를 수신하여 상기 원격제어신호의 하강 변이 주기를 계수한다. 상기 원격제어신호는 211에 도시된 바와 같이 하이 논리 데이타와 로우 논리 데이타의 주기가 다르다. 일반적으로 임의 논리를 갖는 데이타가 다른 논리를 갖는 데이타의 N배가 되도록 주기를 설정 한다. 여기서는 로우 논리의 데이타가 하이 논리의 데이타보다 2배의 주기를 갖는다고 가정한다. 그러므로 상기 범용 중앙처리장치 112는 상기 원격제어신호들의 하강 변이들 주기를 계수하여 제2a도의 213과 같이 논리를 결정한다.Accordingly, the general purpose CPU 112 receives falling edges of the remote control signal as shown in 211 of FIG. 2A as an interrupt signal as shown in 212. In addition, the general-purpose central processing unit 112 receives a timer signal of a predetermined period with a timer 114 and counts the falling transition period of the remote control signal. As shown in 211, the remote control signal has a different period between the high logic data and the low logic data. In general, the period is set so that data having arbitrary logic is N times that of data having other logic. It is assumed here that the data of the low logic has a period twice as long as the data of the high logic. Therefore, the general-purpose central processing unit 112 counts the periods of falling transitions of the remote control signals to determine the logic as shown at 213 in FIG. 2A.
그러나 리모콘 송신기로 부터 발생되는 신호는 적외선 신호이므로 형광등의 다른 빛에 의해 잡음 성분이 포함될 수 있다. 이런 경우 수신측에서는 원격제어신호에 포함된 잡음 신호를 판정할 수 있어야한다.However, since the signal generated from the remote control transmitter is an infrared signal, noise components may be included by other lights such as fluorescent lamps. In this case, the receiving side should be able to determine the noise signal included in the remote control signal.
제2b도의 221과 같이 원격제어신호에 잡음성분 250 및 251이 포함되는 경우, 상기 범용중앙처리장치 112는 상기 잡음성분 250 및 251의 하강 변이에서도 이를 인터럽트신호로 인지한다. 이때 상기 범용 중앙처리장치 112는 이전의 하강 변이와 현재의 하강 변이간의 시간을 계수하여 데이타의 논리를 판단하는 관계로, 251과 같이 하이 논리를 갖는 데이타 주기에서 잡음이 포함되는 경우, 상기 범용 중앙처리장치는 이를 223과 같이 로우 논리를 갖는 데이타로 판정할 수 있다. 이는 상기한 바와 같이 상기 범용 중앙처리장치 112가 인터럽트 발생시마다 정규적인 타이머신호의 갯수만을 계수하므로서 외부 인터럽트신호의 발생 간격이 크고 적음을 판단하기 때문이다. 따라서 제2b도에 도시된 바와 같이 하이 데이타 주기에서 발생한 잡음 250에 의해 하이 데이타를 두개의 로우 데이타로 판정할 수 있게 된다.When the noise control components 250 and 251 are included in the remote control signal as shown in 221 of FIG. 2B, the general-purpose central processing unit 112 recognizes this as an interrupt signal even in the falling transitions of the noise components 250 and 251. In this case, the general-purpose central processing unit 112 determines the logic of the data by counting the time between the previous falling variation and the current falling variation. When the noise is included in the data period having a high logic as shown in 251, the general-purpose central processing unit 112 The processor may determine this as data having low logic, such as 223. This is because the general-purpose CPU 112 determines that the generation interval of the external interrupt signal is large and small by counting only the number of regular timer signals each time the interrupt occurs. Therefore, as shown in FIG. 2B, the high data can be determined as two low data by the noise 250 generated in the high data period.
그러므로 종래의 원격제어신호 인터페이스 방식은 하강 변이 또는 상승 변이 중 어느 한 변이 신호만을 인터럽트신호로 수신하므로서, 방해파 등의 잡음성분이 포함되는 경우 이를 다른 데이타로 오판할 수 있는 확률이 크며, 이경우 가전제품이 오 동작을 수행할 수 있는 문제점이 있었다.Therefore, the conventional remote control signal interface method receives only one transition signal of the falling transition or the rising transition as an interrupt signal, so that if a noise component such as a jamming wave is included, the probability of misinterpreting it as other data is large. There was a problem that can perform this malfunction.
따라서 본 발명의 목적은 원격제어신호의 변이들을 검출하고 변이들 간의 시간을 계수하여 원격제어신호에 포함된 잡음 성분을 정확하게 판정할 수 있는 회로 및 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a circuit and a method capable of accurately determining noise components included in a remote control signal by detecting variations of the remote control signal and counting the time between the variations.
본 발명의 다른 목적은 수신되는 원격제어신호의 하강 변이 및 상승변이를 검출하고, 이들 변이들 간의 시간 주기를 검사하여 데이타의 논리를 판정하며, 기준 시간 이내의 펄스를 잡음으로 간주하여 시스템의 제어를 정확하게 수행할 수 있는 원격제어신호의 인터페이스 회로 및 방법을 제공함에 있다.Another object of the present invention is to detect the falling and rising variations of the received remote control signal, examine the time period between these variations to determine the logic of the data, and control the system by considering the pulse within the reference time as noise To provide an interface circuit and method of the remote control signal that can accurately perform.
이러한 상기 목적들을 달성하기 위하여 본 발명은, 원격제어신호를 수신하는 수단과, 상기 원격제어신호의 제1변이를 검출하는 수단과, 상기 원격제어신호의 제 2변이를 검출하는 수단과, 타이머신호를 발생하는 수단과, 상기 원격제어신호의 에러 발생 유무를 판단하기 위한 기준시간을 구비하며 상기 제1변이 및 제2변이를 인터럽트신호로 수신하고 상기 인터럽트신호 수신시 상기 타이머신호를 계수하여 상기 변이들 간의 시간을 계산하는 제어수단을 구비하여, 상기 제어수단이 상기 변이들 간의 시간을 상기 기준시간과 비교 분석하며, 분석 결과 상기 변이들 간의 시간이 상기 기준시간을 초과하면 정상적인 원격제어신호로 처리하고 상기 기준시간 이내일시 에러 원격제어신호로 처리함을 특징으로 한다.In order to achieve the above objects, the present invention provides means for receiving a remote control signal, means for detecting a first variation of the remote control signal, means for detecting a second variation of the remote control signal, and a timer signal. And a reference time for determining whether an error occurs in the remote control signal, and receiving the first and second transitions as an interrupt signal and counting the timer signal when the interrupt signal is received. And a control means for calculating the time between the two, the control means compares the time between the variations with the reference time, and if the time between the variations is greater than the reference time as a result of the analysis is processed as a normal remote control signal And processing the error remote control signal within the reference time.
이하 본 발명의 바람직한 실시예가 첨부된 도면의 참조와 함께 상세히 설명될 것이다. 도면들중 동일한 부품들은 가능한한 어느곳에서든지 동일한 부호들을 나타내고 있음을 유의하여야 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the same parts in the figures represent the same reference signs wherever possible.
하기 설명에서 제1변이-제2변이, 제1기준시간 T1 - 제4기준시간 T4 등과 같은 많은특정 상세들이 본 발명의 보다 전반적인 이해를 제공하기 위해 나타나 있다. 이들 특정 상세들 없이 본 발명이 실시될 수 있다는 것은 이 기술분야에서 통상의 지식을 가진자에게 자명할 것이다.In the following description, numerous specific details are set forth in order to provide a more general understanding of the invention, such as first variation-second variation, first reference time T1-fourth reference time T4, and the like. It will be apparent to those skilled in the art that the present invention may be practiced without these specific details.
여기에서 사용되는 제1변이라는 용어는 원격제어신호의 하강 변이(falling edge)를 나타내고, 제2변이라는 용어는 원격제어신호의 상승 변이(rising edge)를 나타낸다. 여기서 상기 제1변이를 원격제어신호의 상승변이로 설정하고 제2변이를 하강변이로 설정하여도 가능하다는 것은 이 분야의 통상의 지식을 가진 자에게 자명할 것이다.As used herein, the term "first edge" refers to a falling edge of a remote control signal, and the term "second edge" refers to a rising edge of a remote control signal. It will be apparent to those skilled in the art that the first variation may be set as the rising variation of the remote control signal and the second variation as the falling variation.
또한 제1기준시간 T1이라는 용어는 제1논리데이타를 판정하기 위한 기준시간 이고, 제2기준시간 T2이라는 용어는 제2논리데이타를 판정하기 위한 기준시간이며, 제3기준시간 T3은 제1논리데이타 및 제2논리데이타에 공통으로 사용되는 기준시간이다. 따라서 제1논리데이타는 제1기준시간 T1 + 제3기준시간 T3의 범위에 들어야 하며, 제2논리데이타는 제2기준시간T2 + 제3기준시간T3의 범위에 들어야한다.In addition, the first reference time T1 is a reference time for determining the first logical data, the second reference time T2 is a reference time for determining the second logical data, and the third reference time T3 is the first logic. It is a reference time commonly used for data and second logical data. Therefore, the first logical data should be in the range of the first reference time T1 + the third reference time T3, and the second logical data should be in the range of the second reference time T2 + the third reference time T3.
여기서 제1논리데이타는 하이 논리 데이타를 의미하고 제2논리데이타는 로우 논리 데이타라고 가정한다.Here, it is assumed that the first logical data means high logic data and the second logical data is low logic data.
제3도는 본 발명에 따른 원격제어신호의 인터페이스 회로도로서, 수신부 111은 리모콘 송신기로 부터 발생되는 원격제어의 적외선 신호를 수신한다. 상기 수신부 111은 수신되는 적외선 신호를 전기적신호로 변환한 후, 디지탈 레벨의 원격제어신호로 변환한다. 인버터 121은 제1버퍼로서 상기 원격제어신호를 반전하여 범용 중앙처리장치 112의 하강 변이 감지로 세팅된 제1인터럽트단자(INT1)에 출력한다. 인버터 122 및 123은 제2버퍼로서 상이 원격제어신호를 비반전하여 상기 범용 중앙처리장치 112의 상승 변이 감지로 세팅된 제2인터럽트단자(INT2)에 출력한다. 따라서 상기 인버터 121은 상기 원격제어신호의 제1변이를 검출하여 상기 범용 중앙처리장치 112에 제1인터럽트신호로 인가하며, 인버터 122 및 123은 상기 원격제어신호의 제2 변이를 검출하여 상기 범용중앙처리장치 112에 제2인터럽트신호로 인가한다. 타이머 114는 일정 주기의 타이머신호를 발생하여 상기 범용 중앙처리장치 112의 타이머 인터럽트신호로 출력한다. 상기 범용 중앙처리장치 112는 상기 제1인터럽트단자 및 제 2인터럽트단자로 수신되는 상기 제1변이 및 제2변이를 각각 제1인터럽트신호 및 제 2인터럽트신호로 수신하며, 상기 타이머 인터럽트신호를 수신한다. 상기 범용 중앙처리장치 112는 상기 제1인터럽트신호 또는 제2인터럽트신호 수신시 다음 인터럽트 신호가 수신될 때 까지의 시간을 상기 타이머 인터럽트신호로 계수하여 상기 원격 제어신호의 변이들 간의 시간을 산출한다. 그리고 상기 산출된 변이들간의 시간을 설정된 소정의 기준시간들과 비교하여 잡음 유무 및 데이타의 논리를 판정한다. 메모리 113은 상기 범용 중앙처리장치 112의 프로그램을 저장하고 있으며, 또한 프로그램 수행중에 발생되는 데이타를 일시 저장한다.3 is an interface circuit diagram of a remote control signal according to the present invention, and the receiver 111 receives an infrared signal of a remote control generated from a remote control transmitter. The receiver 111 converts the received infrared signal into an electrical signal and then converts it into a digital level remote control signal. The inverter 121 inverts the remote control signal as a first buffer and outputs the remote control signal to the first interrupt terminal INT1 set to detect the falling edge of the general-purpose central processing unit 112. Inverters 122 and 123, as the second buffer, non-invert the different remote control signals and output them to the second interrupt terminal INT2 set to sense the rising edge of the general-purpose CPU 112. Accordingly, the inverter 121 detects the first variation of the remote control signal and applies it to the general-purpose CPU 112 as a first interrupt signal, and the inverters 122 and 123 detect the second variation of the remote control signal. The second interrupt signal is applied to the processing apparatus 112. The timer 114 generates a timer signal of a predetermined period and outputs it as a timer interrupt signal of the general purpose CPU 112. The general-purpose central processing unit 112 receives the first and second transitions received as the first interrupt terminal and the second interrupt terminal as a first interrupt signal and a second interrupt signal, respectively, and receives the timer interrupt signal. . The general-purpose central processing unit 112 calculates the time between variations of the remote control signal by counting the time until the next interrupt signal is received when receiving the first interrupt signal or the second interrupt signal as the timer interrupt signal. The time between the calculated variations is compared with the predetermined reference times to determine the presence of noise and the logic of the data. The memory 113 stores a program of the general purpose CPU 112, and temporarily stores data generated while the program is being executed.
제4a도는 정상적인 원격제어신호가 수신되는 경우, 상기 제3도에서 수신된 원격제어신호의 데이타 논리를 판정하는 과정을 도시하고 있다. 그리고 제4b도는 잡음이 포함된 원격제어신호가 수신된 경우, 상기 제3도와 같은 구성들이 잡음 성분을 판단하는 과정을 도시하고 있다.4A illustrates a process of determining data logic of the remote control signal received in FIG. 3 when a normal remote control signal is received. 4B illustrates a process in which components such as those of FIG. 3 determine noise components when a remote control signal including noise is received.
여기서 상기 제4a도 및 제4b도에 도시된 바와 같이 논리 하이 데이타는 논리 로우 데이타 주기의 2배를 갖는다고 가정한다. 그리고 상기 논리 하이 데이타에서 펄스의 로우 대 하이 듀티 비율은 3:1이라고 가정하며, 논리 로우 데이타에서 펄스의 로우 대 하이 듀티 비율은 1:1이라고 가정한다.It is assumed here that the logic high data has two times the logic low data period as shown in FIGS. 4A and 4B. In addition, it is assumed that the low-to-high duty ratio of the pulse in the logic high data is 3: 1, and the low-to-high duty ratio of the pulse in the logic low data is 1: 1.
상기 수신부 111은 리모콘 송신기로 부터 발생되는 적외선신호를 전기적 신호로 변환한 후, 제4a도의 411과 같이 디지탈 형태의 원격제어신호로 변환한다. 그러면 인버터 121은 상기 원격제어신호를 반전하여 제4a도의 412와 같이 원격제어신호의 하강 변이인 제1변이를 상기 범용 중앙처리장치 112에 하강 변이 감지로 세팅된 제1 인터럽트신호로 인가한다. 그리고 인버터122 및 123은 상기 원격제어신호를 비반전하여 제4a도의 413과 같이 원격제어신호의 제2변이인 상승 변이를 상기 범용 중앙처리장치 112에 상승 변이 감지로 세팅된 제2인터럽트신호로 인가한다.The receiver 111 converts the infrared signal generated from the remote control transmitter into an electrical signal, and then converts the infrared signal into a digital remote control signal as shown in 411 of FIG. 4a. Then, the inverter 121 inverts the remote control signal and applies the first transition, which is the falling transition of the remote control signal, as 412 of FIG. 4A to the general-purpose CPU 112 as the first interrupt signal set as the falling transition detection. Inverters 122 and 123 non-invert the remote control signal and apply a rising transition, which is a second variation of the remote control signal, as the second interrupt signal set to the rising edge detection in the general-purpose CPU 112 as shown in 413 of FIG. do.
그러면 상기 범용 중앙처리장치 112는 412와 같은 제1인터럽트신호 또는 413과 같은 제2인터럽트신호를 수신할 시, 상기 타이머 114로 부터 출력되는 타이머 인터럽트신호를 계수하여 412와 같이 변이들 간의 시간을 산출한다. 그리고 상기 범용 중앙처리장치 112는 변이들 간의 시간 값들을 상기 제1기준시간 T1 - 제3기준시간 T3들과 비교 분석하여 수신 데이타들의 논리를 분석한다. 이때 상기 원격제어신호의 제 1변이에서 제2변이 까지의 시간은 상기 제1기준시간 T1 또는 제2기준시간 T2의 범위를 만족하여야하고, 원격제어신호의 제2변이에서 제1변이 까지의 시간은 상기 제3기준시간 T3의 범위를 만족하여야한다. 따라서 상기 범용 중앙처리장치112는 상기 제1 인터럽트신호에서 제2인터럽트신호의 주기가 상기 제1기준시간 T1을 만족하고 상기 제2인터럽트신호에서 상기 제1인터럽트신호의 주기가 상기 제3기준시간 T3을 만족하면, 제4a도의 415와 같이 수신된 원격제어신호를 논리 하이 데이타로 판정한다. 또한 상기 범용 중앙처리장치 112는 상기 제1인터럽트신호에서 제2인터럽트신호의 주기가 상기 제2기준시간 T2를 만족하고 상기 제2인터럽트신호에서 상기 제1인터럽트 신호의 주기가 상기 제3기준시간 T3을 만족하면, 제4a도의 415와 같이 수신된 원격 제어신호를 논리 로우 데이타로 판정한다.Then, when receiving the first interrupt signal such as 412 or the second interrupt signal such as 413, the general-purpose central processing unit 112 counts the timer interrupt signal output from the timer 114 to calculate the time between mutations such as 412. do. In addition, the general-purpose CPU 112 analyzes the logic of the received data by comparing and analyzing the time values between the variations with the first reference time T1-the third reference time T3. In this case, the time from the first to the second transition of the remote control signal should satisfy the range of the first reference time T1 or the second reference time T2, and the time from the second to first variation of the remote control signal. Must satisfy the range of the third reference time T3. Therefore, the general-purpose CPU 112 has a period of the second interrupt signal in the first interrupt signal satisfying the first reference time T1 and a period of the first interrupt signal in the second interrupt signal is the third reference time T3. If is satisfied, the received remote control signal is determined as logic high data as shown at 415 in FIG. 4A. In addition, the general-purpose CPU 112 has a period of the second interrupt signal in the first interrupt signal satisfies the second reference time T2 and a period of the first interrupt signal in the second interrupt signal is the third reference time T3. If is satisfied, the received remote control signal is determined as logical low data as shown at 415 in FIG. 4A.
상기와 같이 정상적인 원격제어신호에 제4b도의 450과 같이 잡음 성분이 포함된 경우의 동작 과정을 살펴보면, 상기 450과 같은 잡음 성분은 상기 인버터 121 및 인버터 122 - 123을 통해 422 및 423과 같이 하강변이 및 상승변이가 검출되고, 상기 각 변이들이 상기 범용 중앙처리장치 112에 제1인터럽트신호 및 제2인터럽트신호로 인가된다. 그러면 상기 범용 중앙처리장치112는 상기 잡음 성분들의 변이들도 인터럽트신호로 수신하게 되므로, 상기 타이머 인터럽트신호에 의해 424와 같이 잡음 성분의 주기를 계수하게된다. 그러나 상기 450과 같은 잡음 성분의 주기는 정상적인 원격제어신호의 제1기준시간 T1 - 제3기준시간 T3 보다 짧게 된다. 또한 원치않는 잡음신호가 더해져 정상적인 원격제어신호의 듀티보다 더 길어질 수도 있다. 따라서 상기 범용 중앙처리장치 112는 상기와 같은 잡음신호를 검출할 수 있어야한다.Looking at the operation process when the normal remote control signal includes a noise component as shown in 450 of FIG. 4b, the noise component such as 450 is the falling side as shown in 422 and 423 through the inverter 121 and the inverter 122-123 This and rising shifts are detected, and the shifts are applied to the general-purpose central processing unit 112 as a first interrupt signal and a second interrupt signal. Then, the general-purpose CPU 112 also receives the variation of the noise components as an interrupt signal, thereby counting the period of the noise component as shown in 424 by the timer interrupt signal. However, the period of the noise component such as 450 is shorter than the first reference time T1 to the third reference time T3 of the normal remote control signal. Unwanted noise signals can also be added and longer than the duty of a normal remote control signal. Therefore, the general purpose CPU 112 should be able to detect such noise signals.
이때 상기 범용 중앙처리장치 112는 수신되는 원격제어신호의 변이들 간의 주기가 상기 제1기준시간 T1-제3기준시간 T3보다 작거나 또는 크게 되면, 제4b도의 425와 같이 수신된 원격제어신호를 에러 처리한다. 즉, 상기 범용 중앙처리장치 112는 수신된 원격제어신호의 주기가 기준시간 들의 범위를 벗어나면 수신된 원격제어신호를 에러 처리한다.In this case, when the period between the variations of the received remote control signal is less than or greater than the first reference time T1-the third reference time T3, the general purpose CPU 112 receives the received remote control signal as shown in 425 of FIG. 4B. Error handling That is, when the period of the received remote control signal is out of the range of reference times, the general purpose CPU 112 processes the received remote control signal in error.
따라서 상기 범용 중앙처리장치 112는 수신되는 원격제어신호의 각 변이들 간의 주기를 계산하여 제1기준시간 T1-제3기준시간 T3을 만족하며 규칙적으로 일정한 규격의 펄스폭을 갖는 경우에는 정상적인 데이타로 처리하고, 불규칙적이고 일정 규격 펄스폭에 미달되거나 초과하는 원격제어신호를 수신하는 경우에는 수신된 원격제어 신호를 에러 처리한다. 이때 시스템은 수신된 원격제어신호를 에러처리하면 해당하는 제어 명령을 수행하지 않게되며, 따라서 해당하는 제어 명령의 원격제어신호의 재수신을 대기한다. 그러므로 일정 규칙을 벗어나는 펄스 폭을 갖는 원격제어신호 수신시 이를 잡음으로 판정하여 시스템의 오동작을 방지할 수 있는 효과도 있다.Therefore, the general-purpose central processing unit 112 calculates the period between each variation of the received remote control signal, satisfies the first reference time T1-the third reference time T3, and when the pulse width of the regular standard is regular, it is normal data. If a remote control signal is received that is irregular and falls below or exceeds a predetermined standard pulse width, the received remote control signal is error processed. At this time, if the error processing the received remote control signal does not perform the corresponding control command, and thus waits for the reception of the remote control signal of the corresponding control command. Therefore, when receiving a remote control signal having a pulse width that is out of a certain rule, it can be determined as noise to prevent the malfunction of the system.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019940018770A KR0140343B1 (en) | 1994-07-29 | 1994-07-29 | Interface circuit and method to reduce receiving error of remote control signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019940018770A KR0140343B1 (en) | 1994-07-29 | 1994-07-29 | Interface circuit and method to reduce receiving error of remote control signal |
Publications (2)
Publication Number | Publication Date |
---|---|
KR960006684A KR960006684A (en) | 1996-02-23 |
KR0140343B1 true KR0140343B1 (en) | 1998-08-17 |
Family
ID=19389433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019940018770A KR0140343B1 (en) | 1994-07-29 | 1994-07-29 | Interface circuit and method to reduce receiving error of remote control signal |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR0140343B1 (en) |
-
1994
- 1994-07-29 KR KR1019940018770A patent/KR0140343B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR960006684A (en) | 1996-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5436853A (en) | Remote control signal processing circuit for a microcomputer | |
US4405982A (en) | Arrangement for monitoring the function of a programmable electronic switching circuit | |
JPH04233337A (en) | Automatic system for adjustment and control of frequency | |
US7852777B2 (en) | Network hardware device | |
KR20020069143A (en) | Detection of Clock Signal Period Abnormalities | |
JPH04222130A (en) | Interference detection circuit | |
KR0140343B1 (en) | Interface circuit and method to reduce receiving error of remote control signal | |
US6931075B2 (en) | Event detection with a digital processor | |
US6163164A (en) | Noise detection circuit | |
KR100345328B1 (en) | Apparatus and method for detecting frequency of input signal | |
JP2553687B2 (en) | Remote control receiver circuit | |
US11016523B2 (en) | Control of redundant processing units | |
KR0182944B1 (en) | Remocon data receiving apparatus | |
JPH076545Y2 (en) | Signal discrimination circuit | |
JPH033020A (en) | Recognizing/preventing circuit for hit of control line | |
JPS63123216A (en) | Circuit for detecting clock interruption | |
JPS63169141A (en) | Transmission error detection circuit | |
KR940008244Y1 (en) | B6zs coding error detecting circuit | |
KR970057002A (en) | Remote control receiver and malfunction prevention method of TV receiver | |
KR950014167B1 (en) | Interrupt generating apparatus for supervising abnoxmal state | |
KR940009744B1 (en) | Input scanning method | |
KR100366800B1 (en) | Apparatus for detecting error of external clock in transmission system | |
JP2020144541A (en) | Semiconductor device | |
JPH04199404A (en) | Control device | |
JPH03270508A (en) | Pulse detection circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20050228 Year of fee payment: 8 |
|
LAPS | Lapse due to unpaid annual fee |