KR960015388B1 - General-function remote control transmitter and controlling method for it - Google Patents

General-function remote control transmitter and controlling method for it Download PDF

Info

Publication number
KR960015388B1
KR960015388B1 KR1019930008305A KR930008305A KR960015388B1 KR 960015388 B1 KR960015388 B1 KR 960015388B1 KR 1019930008305 A KR1019930008305 A KR 1019930008305A KR 930008305 A KR930008305 A KR 930008305A KR 960015388 B1 KR960015388 B1 KR 960015388B1
Authority
KR
South Korea
Prior art keywords
remote control
control code
pulse
code
pulses
Prior art date
Application number
KR1019930008305A
Other languages
Korean (ko)
Other versions
KR940027486A (en
Inventor
임병진
Original Assignee
엘지전자 주식회사
구자홍
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사, 구자홍 filed Critical 엘지전자 주식회사
Priority to KR1019930008305A priority Critical patent/KR960015388B1/en
Publication of KR940027486A publication Critical patent/KR940027486A/en
Application granted granted Critical
Publication of KR960015388B1 publication Critical patent/KR960015388B1/en

Links

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

Abstract

a remote control code sensing part(31) receiving a remote control code; an amplifying/wave compensating part(32) amplifying the output signal and compensating the wave of the remote control code sensing part(31); an interrupt generating part(34) generating an interrupt; a timer part(35) counting the period of the remote control code; a count part(36) counting the number of the pulse outputted from the amplifying/wave compensating part(32); a central processing unit(37) controlling the transmitting operation; a ROM(38) stored with an operation program of the CPU; a RAM(39) storing the remote control code; a remote control code outputting part(40) transmitting the remote control code; and a key matrix part(41) inputting the operation order of the CPU.

Description

만능원격제어 송신기 및 그의 제어방법Universal remote control transmitter and its control method

제 1 도는 종래의 만능 원격제어 송신기의 구성을 보인 블럭도.1 is a block diagram showing the configuration of a conventional universal remote control transmitter.

제 2 도의 a-c는 종래의 만능 원격제어 송신기의 압축과정을 보인 도면.2 a-c is a view showing a compression process of a conventional universal remote control transmitter.

제 3 도는 본 발명의 만능 원격제어 송신기의 구성을 보인 블럭도.3 is a block diagram showing the configuration of the universal remote control transmitter of the present invention.

제 4 도는 제 3 도의 제어신호 감지부의 실시예 구성을 보인 상세 회로도.4 is a detailed circuit diagram illustrating an exemplary embodiment of the control signal detector of FIG. 3.

제 5 도의 a-d는 제 3 도 및 제 4 도의 각부의 동작 파형도.A-d of FIG. 5 is operation waveform diagram of each part of FIG. 3 and FIG.

제 6 도의 a-d는 본 발명의 제어방법에 의한 중앙처리장치의 동작을 보인 도면으로서,Figure 6 a-d is a view showing the operation of the central processing unit according to the control method of the present invention,

a는 메인루틴을 보인 신호 흐름도.a is a signal flow diagram showing the main routine.

b는 키 인터럽트루틴을 보인 신호 흐름도.b is a signal flow diagram showing a key interrupt routine.

c는 학습루틴을 보인 신호 흐름도.c is a signal flow diagram showing a learning routine.

d는 출력루틴을 보인 신호 흐름도.d is a signal flow diagram showing the output routine.

제 7 도의 a-e는 본 발명에 의한 압축과정을 설명하는 도면.7 is a view for explaining the compression process according to the present invention.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

31 : 원격제어코드 감지부 32 : 증폭/파형 보정부31: remote control code detector 32: amplification / waveform correction unit

33 : 포락선 검출부 34 : 인터럽트 발생부33: envelope detector 34: interrupt generator

35 : 타이머부 36 : 카운트부35: timer unit 36: count unit

37 : 중앙처리장치 38 : 롬37: central processing unit 38: ROM

39 : 램 40 : 원격제어코드 출력부39: RAM 40: remote control code output unit

41 : 키 매트릭스부 43 : 동작 표시부41: key matrix portion 43: operation display portion

43 : 클럭 발생부 SW : 스위칭 소자43: clock generator SW: switching element

본 발명은 텔레비젼 수상기 및 비디오 카세트 데이프 레코더 등과 같이 원격제어 기능이 있는 다수의 원격제어 기기들을 하나의 원격제어 송신기로 원격제어할 수 있도록 하는 만능 원격제어 송신기 및 그의 제어방법에 관한 것으로 특히 각각의 원격제어 기기들의 해당 원격제어코드를 수신하여 1차 및 2차 압축하고, 원격제어코드의 반복패턴에 따라 3차 압축을 수행하여 저장할 정보량을 줄이고, 필요한 메모리의 용량을 줄일 수 있도록 하는 만능 원격제어 송신기 및 그의 제어방법에 관한 것이다.The present invention relates to a universal remote control transmitter and a control method thereof capable of remotely controlling a plurality of remote control devices having a remote control function such as a television receiver and a video cassette tape recorder. Receives the corresponding remote control codes of the control devices and compresses the first and second, and performs the third compression according to the repetitive pattern of the remote control code to reduce the amount of information to be stored, and to reduce the amount of memory required And a control method thereof.

최근에 일상생활의 편의를 도모하기 위하여 각 가정에 보급되는 각종 전기 및 전자기기에 원격제어 기능을 구비하고, 원격제어 송신기의 조작에 따라 기기의 동작이 제어되도록 하고 있다.In recent years, for convenience of daily life, various electric and electronic devices that are distributed in homes are provided with a remote control function, and the operation of the device is controlled according to the operation of the remote control transmitter.

그러나 이들 원격제어 기기들은 제조회사 및 제품에 따라 각기 독특한 원격제어코드를 사용하므로 특정기기의 원격제어 송신기로 다른 원격제어 기기들을 원격제어할 수 없었다.However, since these remote control devices use unique remote control codes depending on the manufacturer and the product, the remote control transmitter of a specific device cannot remotely control other remote control devices.

그러므로 각각의 가정에서 구입 및 사용하는 원격제어 기기의 수가 증가함에 따라 원격제어 송신기의 수도 증가하게 되고, 이로 인하여 원격제어 기기들을 원격제어할 경우에 사용자들은 종종 원격제어할 기기에 적합한 원격제어 송신기를 선택함에 있어서 혼란을 일으키게 되는 문제점이 있었다.Therefore, as the number of remote control devices purchased and used in each home increases, the number of remote control transmitters increases, so that when the remote control devices are remotely controlled, users often have a remote control transmitter suitable for the device to be remotely controlled. There was a problem that caused confusion in choosing.

이러한 혼란을 방지하기 위하여 대한민국 특허 등록번호 제39280호(공고번호 제90-7131호)에서는 다수의 원격제어 송신기의 원격제어코드를 수신한 후 압축하여 저장하고, 제어할 원격제어 기기가 선택될 경우에 그에 적합한 압축 데이타를 원래의 원격제어코드로 신장하여 출력함으로써 다수의 원격제어 기기의 동작을 원격제어할 수 있도록 하는 프로그램 작성 가능한 원격제어 송신기를 제안하고 있다.In order to prevent such confusion, Korean Patent Registration No. 39280 (Notice No. 90-7131) receives and stores the remote control codes of a plurality of remote control transmitters, compresses them, stores them, and selects a remote control device to control. In order to remotely control the operation of a plurality of remote control devices by extending and outputting the compressed data suitable for the original remote control code, a remote control transmitter is proposed.

이 종래의 기술을 제 1 도 및 제 2 도의 도면을 참조하여 상세히 설명한다.This conventional technique will be described in detail with reference to the drawings of FIGS. 1 and 2.

제 1 도에 도시된 바와 같이, 제어될 원격제어 기기에 대한 해당 원격제어 송신기(1)로부터 펄스 버스트(burst)성분 및 펄스 오프 성분을 포함하는 원격제어코드를 학습모드에서 수신하는 검출기(2)와, 상기 검출기(2)가 수신한 원격제어코드를 입력받고 원격제어코드의 펄스 버스트성분 및 펄스 오프성분을 주어진 형태의 코드로 변환하여 1차 압축하는 제 1 반복패턴 판별기(6)와, 상기 제 1 반복패턴 판별기(6)로부터 1차 압축데이타를 입력받고 1차 압축 데이타를 구성하는 두 인접코드로 각기 구성된 조합을 주어진 형태와는 다른 형태의 코드로 2차 압축하는 제 2 반복패턴 판별기(9)와, 상기 제 2 반복패턴 판별기(9)가 출력하는 2차 압축데이타를 저장하고 출력하는 메모리(10)와, 원격제어 모드에서 선택된 원격제어 기기의 해당 2차 압축 데이타를 상기 메모리(10)로부더 입력받고 입력된 2차 압축 데이타를 1차 압축 데이타를 구성하는 두 인접코드의 대응 조합으로 변환하는 제 3 반복패턴 판별기(11)와, 상기 제 3 반복패턴 판별기(11)로부터 1차 압축 데이타를 입력받고 이 1차 압축 데이타를 제어할 원격제어 기기의 해당 원격제어코드로 변환하는 제 4 반복패턴 판별기(14)와, 상기 제 4 반복패턴 판별기(14)로부터 원격제어코드를 입력받고 발신기(18)를 통해 해당원격제어 기기(19)로 송신하는 발신기 드라이버(17)로 구성하였다.As shown in FIG. 1, a detector 2 for receiving in the learning mode a remote control code comprising a pulse burst component and a pulse off component from a corresponding remote control transmitter 1 for a remote control device to be controlled. And a first repetitive pattern discriminator 6 which receives the remote control code received by the detector 2 and converts the pulse burst component and the pulse off component of the remote control code into a code of a given form and first compresses them. A second repeating pattern which receives the first compressed data from the first repeating pattern discriminator 6 and secondarily compresses a combination composed of two adjacent codes constituting the first compressed data into a code having a different form from a given form A discriminator 9, a memory 10 for storing and outputting secondary compressed data output by the second repeating pattern discriminator 9, and corresponding secondary compressed data of the remote control device selected in the remote control mode. Meme A third repeating pattern discriminator 11 for converting the second compressed data inputted from the log 10 into a corresponding combination of two adjacent codes constituting the first compressed data, and the third repeating pattern discriminator ( A fourth repeating pattern discriminator 14 which receives primary compressed data from 11) and converts the primary compressed data into a corresponding remote control code of a remote control device to control the first compressed data, and the fourth repeating pattern discriminator 14; It is composed of a transmitter driver 17 for receiving a remote control code from the transmitter and transmitting it to the corresponding remote control device 19 through the transmitter 18.

제 1 도의 도면 설명중 미설명부호 3은 게이트이고, 4, 7, 13 및 16은 레지스터이며, 5, 8, 12 및 15는 래치이며, 6A, 9A, 11A 및 14A는 메모리이며, 20은 키스위치부이며, 21은 제어부이며, 22는 펄스발생기이며, 23은 표시기이며, SW1은 학습모드 설정스위치이며, CL1 및 CL2는 클럭신호이다.In FIG. 1, reference numeral 3 is a gate, 4, 7, 13, and 16 are registers, 5, 8, 12, and 15 are latches, 6A, 9A, 11A, and 14A are memories, and 20 is a kiss. The position part, 21 is a control part, 22 is a pulse generator, 23 is an indicator, SW1 is a learning mode setting switch, and CL1 and CL2 are clock signals.

이와 같이 구성된 종래의 원격제어 송신기는 원격제어코드를 학습할 경우에 먼저 학습모드 설정스위치(SW1)를 조작하여 학습모드를 설정한 후 해당 원격제어 송신기(1)를 조작하여 검출기(2)로 원격제어코드를 송신하게 한다.In the conventional remote control transmitter configured as described above, when learning the remote control code, the learning mode is first set by operating the learning mode setting switch SW1 and then the remote control transmitter 1 is operated to remotely detect the remote control code. Send control code.

그러면 검출기(2)는 원격제어 송신기(1)가 송신하는 원격제어코드를 수신하고, 수신한 원격제어코드는 제어부(21)의 제어에 따라 게이트(3), 레지스터(4) 및 래치(5)를 순차적으로 통해 제 1 반복패턴 판별기(6)에 입력된다.Then, the detector 2 receives a remote control code transmitted by the remote control transmitter 1, and the received remote control code is gated 3, a register 4, and a latch 5 according to the control of the controller 21. Are sequentially input to the first repeating pattern discriminator 6.

제 1 반복패턴 판별기(6)는 입력된 원격제어코드 즉, 제 2 도의 a에 도시된 바와같이 펄스 버스트성분 및 펄스 오프 성분을 갖는 원격제어코드의 펄스수 및 펄스오프기간을 판단하고, 판단한 펄스수 및 오프기간을 메모리(6A)에 미리 저장되어 있는 패턴과 비교하여 제 2 도의 b에 도시된 바와 같이 소정의 데이타로 1차 압축하여 출력하며, 출력한 1차 압축 데이타는 레지스터(7) 및 래치(8)를 통해 제 2 반복패턴 판별기(9)에 입력된다.The first repeating pattern discriminator 6 determines the number of pulses and the pulse off period of the input remote control code, i.e., the remote control code having the pulse burst component and the pulse off component as shown in a of FIG. The number of pulses and the off period are compared with the patterns previously stored in the memory 6A, and are first compressed and output as predetermined data as shown in b of FIG. 2, and the output primary compressed data is stored in the register 7. And a second repeating pattern discriminator 9 through a latch 8.

제 2 반복패턴 판별기(9)는 입력된 1차 압축 데이타를 구성하는 두 인접코드의 조합을 메모리(9A)에 미리 저장되어 있는 기준패턴과 비교하여 제 2 도의 c에 도시된 바와같이 2차 압축하고, 2차 압축 데이타는 메모리(10)의 소정의 영역에 저장된다.The second repetition pattern discriminator 9 compares a combination of two adjacent codes constituting the input primary compressed data with a reference pattern previously stored in the memory 9A, as shown in FIG. Compressed, and the secondary compressed data is stored in a predetermined area of the memory 10.

이와 같은 상태에서 원격제어 기기를 원격제어할 경우에 학습모드를 해제하고, 원격제어 모드에서 해당원격제어 기기에 해당되는 제어모드가 선택되고, 제어할 동작에 따라 키스위치부(20)의 키스위치를 조작한다.In such a state, when remotely controlling the remote control device, the learning mode is canceled, the control mode corresponding to the remote control device is selected in the remote control mode, and the keyswitch of the key switch unit 20 according to the control operation. Manipulate

그러면, 제어부(21)는 조작된 키스위치에 응답하여 메모리(10)를 액세스(access)하고, 소정의 2차 압축데이타를 리드하여 출력한다.Then, the control unit 21 accesses the memory 10 in response to the operated key switch, reads out and outputs predetermined secondary compressed data.

메모리(10)에서 출력되는 2차 압축 데이타는 제 3 반복패턴 판별기(11)에 입력되고, 메모리(11A)에 저장된 패턴과 비교되어 1차 압축 데이타의 형태로 신장되며, 제 3 반복패턴 판별기(11)에서 신장된 신호는 래치(12) 및 레지스터(13)를 순차적으로 통해 제 4 반복패턴 판별기(14)에 입력된다.Secondary compressed data output from the memory 10 is input to the third repeating pattern discriminator 11, is compared with the pattern stored in the memory 11A, and expanded in the form of the first compressed data, and the third repeated pattern discrimination is performed. The signal extended from the device 11 is input to the fourth repetition pattern discriminator 14 through the latch 12 and the register 13 sequentially.

제 4 반복패턴 판별기(14)는 입력된 신호의 패턴과 메모리(4A)에 저장된 패턴을 비교하여 원래의 원격제어코드로 신장하고, 신장한 원격제어코드는 래치(15), 레지스터(16) 및 발신기 드라이버(17)를 통하고, 발신기(18)에서 송신되어 원격제어 기기의 동작을 제어하게 된다.The fourth repetition pattern discriminator 14 compares the pattern of the input signal with the pattern stored in the memory 4A and extends the original remote control code, and the extended remote control code is latch 15 and register 16. And transmitted from the transmitter 18 via the transmitter driver 17 to control the operation of the remote control device.

그러나 상기와 같은 종래의 원격제어 송신기는 학습시 원격제어코드의 구성요소를 펄스 버스트성분과 펄스 오프 성분으로 인식하는 것으로 학습할 기존의 원격제어코드와 학습되어 메모리에 압축저장된 신호를 신장하여 송신하는 원격제어코드간에 시간오차가 발생하였고, 또한 원격제어코드를 그의 반복패턴에 관계없이 압축하므로 저장할 정보량이 많아 메모리의 용량이 커야 되었다.However, the conventional remote control transmitter as described above recognizes the components of the remote control code as a pulse burst component and a pulse-off component during learning, and extends and transmits the signals stored in the memory that have been learned and compressed in the memory. A time error occurred between the remote control codes, and since the remote control codes were compressed regardless of the repetition pattern, the amount of information to be stored had to be large and the memory capacity had to be large.

즉, 원격제어코드의 학습시 각각의 블록의 출력특성에서 포락선 검파출력파형과 같이 펄스 버스트 기간과 포락선의 실제 인터럽트를 발생할 수 있는 부논리의 기기의 동작에 에러가 발생하게 되고, 원격제어되지 않는 등의 문제점이 있었다.That is, when learning the remote control code, an error occurs in the operation of the negative logic device that can generate the pulse burst period and the actual interrupt of the envelope, such as the envelope detection output waveform, in the output characteristics of each block. There was a problem.

그리고 학습된 원격제어코드의 압축시 동일한 원격제어코드가 반복되어 수신될 경우에 최소한의 기본 정보와 반복의 연속성을 판별하지 않고, 모든 원격제어코드를 순차적으로 1차 및 2차 압축하여 저장하므로 저장할 정보량이 매우 많아 메모리의 용량이 매우 커야됨은 물론 이로 인하여 전지의 소모전력이 많아 사용수명이 단축되고, 전지를 빈번하게 교환해야 되는 등의 문제점이 있었다.When the same remote control code is repeatedly received when the trained remote control code is compressed, all remote control codes are sequentially stored as primary and secondary compression and stored without determining the minimum basic information and continuity of repetition. As the amount of information is very large, the capacity of the memory must be very large, and as a result, the battery consumes a lot of power, which shortens the service life and frequently changes the battery.

본 발명은 상기와 같은 종래의 제반 문제점을 해결하기 위하여 창안한 것으로, 원격제어코드의 학습시 하나의 펄스 버스트 신호의 시작시간부터 다음의 펄스 버스트성분의 시작시간까지를 하나의 펄스의 주기로 인식하는 것을 기본으로 하여 연속되는 펄스 버스트성분을 읽고, 원격제어코드의 연속성에 기인하는 반복되는 펄스 버스트성분 및 펄스 오프 성분의 형태를 인식하여 저장해야 될 정보량을 줄임으로써 오차가 발생됨이 없이 원래의 원격제어코드를 정확히 발생시켜 제어할 원격제어 기기의 오동작을 방지하고, 메모리의 용량을 줄여 전지의 소모전력을 줄이는 만능 원격제어 송신기 및 그의 제어방법을 제공하는데 그 목적이 있는 것으로 이를 첨부된 제 3 도 내지 제 7 도의 도면을 참조하여 상세히 설명한다.The present invention has been devised to solve the above-mentioned general problems, and recognizes from the start time of one pulse burst signal to the start time of the next pulse burst component in one pulse period when learning the remote control code. Based on this, it reads consecutive pulse burst components and recognizes the form of repeated pulse burst components and pulse off components due to the continuity of the remote control code, and reduces the amount of information to be stored. It is an object of the present invention to provide a universal remote control transmitter and a control method thereof, which prevents malfunction of a remote control device to accurately generate a code and reduces the power consumption of a battery by reducing a memory capacity. A detailed description will be given with reference to the drawing of FIG.

제 3 도는 본 발명의 만능 원격제어 송신기의 구성을 보인 블록도로서 이에 도시된 바와 같이, 원격제어기기의 원격제어 송신기로부터 원격제어코드를 수신하는 원격제어코드 감지부(31)와, 상기 원격제어코드 감지부(31)의 출력신호를 증폭하고 파형을 보정하는 증폭/파형 보정부(32)와, 상기 증폭/파형 보정부(32)의 출력신호의 포락선을 검출하는 포락선 검출부(33)와, 상기 포락선 검출부(33)의 출력신호의 정 및 부논리의 변화에 연계(連繫)하여 인터럽트를 발생하는 인터럽트 발생부(34)와, 상기 인터럽트 발생부(34)의 출력신호에 따라 리세트되면서 원격제어코드의 기간을 카운트하는 타이머부(35)와, 상기 증폭/파형 보정부(32)에서 출력되는 펄스의 수를 카운트하는 카운트부(36)와, 수신되는 원격제어코드를 압축하여 저장하고 신장하여 송신하는 동작을 제어하는 중앙처리장치(37)와, 상기 중앙처리장치(37)의 동작 프로그램이 저장되는 롬(38)과, 상기 중앙처리장치(37)의 제어로 압축된 원격제어코드를 저장하고 출력하는 램(39)과, 상기 중앙처리장치(37)의 제어로 신장된 원격제어코드를 송신하는 원격제어코드 출력부(40)와, 상기 중앙처리장치(37)의 동작 명령을 입력시키는 키매트릭스부(41)와, 상기 중앙처리장치(37)의 제어로 동작 상태를 표시하는 동작 표시부(42)와, 발진하여 동작 클럭신호를 공급하는 클럭 발생부(43)로 구성하였다.3 is a block diagram showing the configuration of the universal remote control transmitter of the present invention, as shown therein, a remote control code detection unit 31 for receiving a remote control code from a remote control transmitter of a remote control device, and the remote control An amplification / waveform correction unit 32 for amplifying an output signal of the code detector 31 and correcting a waveform; an envelope detection unit 33 for detecting an envelope of the output signal of the amplification / waveform correction unit 32; The interrupt generator 34 generates an interrupt in association with changes in the positive and negative logic of the output signal of the envelope detector 33 and is reset according to the output signal of the interrupt generator 34. Compress and store the timer unit 35 for counting the period of the remote control code, the count unit 36 for counting the number of pulses output from the amplification / waveform correcting unit 32, and the received remote control code. Expand and send A central processing unit (37) for controlling, a ROM (38) in which an operation program of the central processing unit (37) is stored, and a RAM for storing and outputting a compressed remote control code under the control of the central processing unit (37). (39), a remote control code output unit 40 for transmitting the remote control code extended by the control of the central processing unit 37, and a key matrix unit for inputting an operation command of the central processing unit 37 ( 41), an operation display unit 42 for displaying an operation state under the control of the central processing unit 37, and a clock generator 43 for oscillating and supplying an operation clock signal.

여기서 원격제어코드 감지부(31)는, 제 4 도에 도시된 바와같이 전원(B+)이 중앙처리장치(37)의 출력신호에 제어되는 스위칭소자(SW)를 통해 수광다이오드(PD)의 캐소드에 인가되게 접속되고, 수광다이오드(PD)의 애노드는 접지 저항(R) 및 콘덴서(C)를 통해 증폭/파형 보정부(32)의 입력단자에 접속하였다.In this case, the remote control code detector 31 includes a power supply B + of the light receiving diode PD through a switching element SW in which the power source B + is controlled to the output signal of the central processing unit 37, as shown in FIG. It was connected to the cathode, and the anode of the photodiode PD was connected to the input terminal of the amplification / waveform correction unit 32 through the ground resistor R and the capacitor C.

이와 같이 구성된 본 발명의 만능 원격제어 송신기는 원격제어코드를 압축하여저장하는 학습모드일 경우에 원격제어 기기의 해당 원격제어 송신기가 송신하는 원격제어코드를 원격제어코드 감지부(31)가 수신하여 수신된 원격제어코드를 판별하게 된다.The universal remote control transmitter of the present invention configured as described above receives the remote control code transmitted from the corresponding remote control transmitter of the remote control device in the learning mode in which the remote control code is compressed and stored. The received remote control code is determined.

이때 원격제어코드 감지부(31)는 전원절환 수단이 구비되어 학습모드에서만 원격제어코드를 수신하고, 일반 출력동작이나 대기상태에서는 동작이 정지되어 전력소모를 줄이게 구성된다.At this time, the remote control code detection unit 31 is provided with a power switching means to receive the remote control code only in the learning mode, the operation is stopped in the normal output operation or standby state is configured to reduce the power consumption.

즉, 원격제어코드 감지부(31)는 제 4 도에 도시된 바와같이 중앙처리장치(37)의 출력신호에 따라 제어되어 전원(B+)의 공급을 스위칭하는 스위칭소자(SW)가 구비되어 있는 것으로서 일반 출력동작이나 대기상태일 경우에는 스위칭소자(SW)가 오프되고, 전원(B+)이 차단되어 원격제어코드 감지부(31)의 동작이 정지되며, 학습모드일 경우에는 스위칭소자(SW)가 온되어 전원(B+)이 정상으로 공급되고, 원격제어 송신기가 송신한 원격제어코드를 수광다이오드(PD)가 수광하여 저항(R) 및 콘덴서(C)를 통한 후 제 5 도의 a에 도시된 바와 같이 증폭/파형 보정부(32)의 입력단자로 입력된다.That is, the remote control code detection unit 31 is provided with a switching element (SW) for controlling the supply of power (B + ) is controlled in accordance with the output signal of the central processing unit 37 as shown in FIG. In the normal output operation or standby state, the switching device SW is turned off, the power source B + is cut off, and the operation of the remote control code detector 31 is stopped. SW) is turned on and power supply (B + ) is normally supplied, and the photodiode (PD) receives the remote control code transmitted by the remote control transmitter through the resistor (R) and the capacitor (C). As shown in FIG. 2, the input terminal of the amplification / waveform correcting unit 32 is input.

증폭/파형 보정부(32)는 원격제어코드 감지부(31)로부터 입력되는 미약한 레벨의 원격제어코드를 증폭하고, 파형을 보정하여 제 5 도의 b에 도시된 바와같이 출력하는 것으로 정 및 부논리가 정확히 판별될 수 있도록 함과 아울러 후단의 포락선 검출부(33), 인터럽트 발생부(34) 및 카운트부(36)에 연결되어 출력분지(fan-out)의 조건을 충분히 만족할 수 있는 레벨로 증폭하고, 시간의 지연이 발생되지 않게 파형을 보정하여 출력한다.The amplification / waveform correcting unit 32 amplifies the weak level of the remote control code input from the remote control code detecting unit 31, corrects the waveform, and outputs it as shown in b of FIG. The logic can be accurately determined, and is connected to the envelope detector 33, the interrupt generator 34, and the counter 36 at the rear end, and amplified to a level sufficient to satisfy the condition of the fan-out. The waveform is corrected and output so that time delay does not occur.

포락선 검출부(33)는 증폭/파형 보정부(32)의 출력신호에서 펄스 버스트성분을 제거하여 제 5 도의 c에 도시된 바와같이 포락선을 검출한다.The envelope detector 33 removes the pulse burst component from the output signal of the amplification / waveform corrector 32 to detect the envelope as shown in FIG.

여기서, 원격제어 송신기는 통상적으로 약 10-60KHz 범위의 주파수를 가지는 반송파에 원격제어코드를 실어 전송하고 있으므로 포락선 검출부(33)가 포락선을 검출하기 위한 대역 제거 필터는 60μsec이내의 반송파를 제거해야 되는 것으로 10KHz의 주파수를 가지는 원격제어 코드를 예로 들면, 포락선 검출부(33)에서 출력되는 포락선의 부논리변화는 제 5 도의 c에 도시된 바와같이 실제의 원격제어 코드의 펄스 버스트성분보다 약 50μsec의 범위내에서 지연되어 나타나고, 포락선의 정논리변화는 펄스 버스트성분의 시작점에 동기로 정확히 발생되어 시간오차는 발생하지 않게 된다.Here, since the remote control transmitter typically transmits a remote control code on a carrier having a frequency in the range of about 10-60 KHz, the band elimination filter for detecting the envelope by the envelope detector 33 must remove a carrier within 60 μsec. Taking a remote control code having a frequency of 10 KHz as an example, the negative logic change of the envelope output from the envelope detector 33 is in the range of about 50 μsec than the pulse burst component of the actual remote control code as shown in FIG. It appears delayed within, and the positive logic change of the envelope occurs exactly in synchronization with the start point of the pulse burst component so that no time error occurs.

인터럽트 발생부(34)는, 포락선 검출부(33)의 출력신호에 연계되어 포락선이 정논리에서 부논리로 변환되거나 부논리에서 정논리로 변환되는 순간에 제 5 도의 d에 도시된 바와같이 인터럽트 신호를 발생하는 것으로서 발생한 인터럽트 신호는 후술하는 타이머부(35)가 논리의 변화기간을 카운트한 시간과, 카운트부(36)가 카운트한 펄스수를 읽는 요인으로 동작하고, 카운트 시간을 읽는 오차를 줄이기 위하여 인터럽트 신호의 발생시점에 타이머부(35)의 카운트 값이 내장되어 있는 캡쳐 레지스터(도면에 도시되지 않았음)에 자동으로 대피되도록 하는 제어신호로 작용하는 것으로서 본 발명에서는 인터럽트 신호의 발생시점에 캡쳐 레지스터에 대피된 원격제어코드의 펄스 버스트 기간과 펄스 오프시간을 더하여 펄스의 주기로 사용한다.The interrupt generator 34, in conjunction with the output signal of the envelope detector 33, interrupts the signal from positive logic to negative logic or from negative logic to positive logic, as shown in d of FIG. The interrupt signal generated as a function of? Is operated as a factor of reading the time when the timer section 35, which will be described later, counts the logic change period, and the number of pulses counted by the count section 36, and reduces the error of reading the count time. For this purpose, the control signal acts as a control signal for automatically evacuating to a capture register (not shown) in which the count value of the timer unit 35 is embedded at the time of generating the interrupt signal. The pulse burst period and the pulse off time of the remote control code evacuated to the capture register are added and used as the pulse period.

타이머부(35)는 16비트 분주기에 1/8 분주기를 사용하는 것으로 1μsec의 주기를 가지는 기준펄스를 사용할 경우에 최대로 216×8×1μsec=524.288msec의 시간을 측정할 수 있고, 최대 측정시간 524.288msec 보다 긴 주기를 가지는 펄스가 입력될 경우에는 오버 플로우(overflow)가 발생하여 타이머부(35)에 의한 인터럽트의 발생요인으로 작용한다.The timer unit 35 uses a 1/8 divider for a 16-bit divider, and when using a reference pulse having a period of 1 μsec, it can measure a maximum time of 216 × 8 × 1 μsec = 524.288 msec. When a pulse having a period longer than the measurement time of 524.288 msec is input, an overflow occurs, which acts as a cause of interruption by the timer unit 35.

예를들면, 한정된 수의 펄스를 가지는 원격제어코드가 수신될 경우에 마지막 펄스의 버스트성분을 출력한후 524.244msec가 경과될 경우에 타이머부(35)에 의한 인터럽트가 발생하게 된다.For example, when a remote control code having a limited number of pulses is received, an interrupt by the timer unit 35 is generated when 524.244 msec has elapsed after outputting the burst component of the last pulse.

카운트부(36)는 증폭/파형 보정부(32)에서 증폭 및 파형이 보정되어 출력되는 전기적 펄스신호의 특정 논리의 변화 즉, 정논리 또는 부논리의 변화에 동기되어 카운트동작을 수행하는 것으로 부논리의 인터럽트 신호에 연계되는 인터럽트 작업 프로그램에서 카운트부(36)의 카운트 값이 읽혀진 후 초기화되어 다음의 펄스수를 카운트할 준비를 한다.The counting unit 36 performs a counting operation in synchronization with a change in a specific logic, that is, positive logic or negative logic, of an electrical pulse signal outputted by amplification and waveform correction by the amplification / waveform correcting unit 32. In the interrupt work program associated with the logic interrupt signal, the count value of the counting unit 36 is read and initialized to prepare for counting the next pulse number.

한편 중앙처리장치(37)는 제 6 도의 a에 도시된 바와 같이, 전지가 삽입되는 초기에 초기화 동작을 수행하고, 램(39)의 기억영역에 저장된 백업 데이타가 손상되었는지를 판단하여 손상되었을 경우에는 램(39)을 클리어하고, 미리 정해진 초기값을 설정한 후 현재 소정의 작업을 수행 즉, 학습, 통합키 찾기, 출력 및 메시지 표시등의 작업을 수행하는 도중인지를 판별하여 작업을 수행하고 있을 경우에는 대기상태를 유지한다.Meanwhile, as shown in a of FIG. 6, the CPU 37 performs an initialization operation at an initial stage when the battery is inserted and determines whether the backup data stored in the storage area of the RAM 39 is damaged. The RAM 39 is cleared, the predetermined initial value is set, and then the predetermined operation is performed, and the current task is determined by determining whether the learning, the search for the integrated key, the output, and the message indicator are in progress. In this case, the standby state is maintained.

이와같은 상태에서 작업수행이 완료되면, 정지모드의 입력을 준비 즉, 작업 완료후 클럭 발생부(43)의 발진을 정지시키기전에 발진정지시의 전력이 소모되는 요인을 제거하고, 전지의 교환 및 장시간동안 주전원이 차단된 후 저장된 데이타가 손상되었는지의 여부를 검사하기 위한 백업 데이타를 설정하며, 특정영역에 저장하며, 키 인터럽트를 인에이블시켜 키 인터럽트의 발생시 클럭발생부(43)가 발진하게 한후 동작정지상태로 클럭발생부(43)의 발진을 정지하고, 램(39)에만 전지의 전원이 공급되도록 하여 전력소모가 최소로 되도록한다.When the work execution is completed in this state, the power consumption at the time of oscillation stop is eliminated before the clock generation unit 43 stops oscillation after the completion of the work preparation. After setting the backup data to check whether the stored data is damaged after the main power is cut for a long time, save it in a specific area, enable the key interrupt, and let the clock generator 43 oscillate when the key interrupt occurs. The oscillation of the clock generator 43 is stopped in the operation stop state, and the power of the battery is supplied only to the RAM 39 so that the power consumption is minimized.

키 인터럽트가 발생할 경우에는 제 6 도의 b에 도시된 바와같이, 모드키를 입력 즉, 키 매트릭스부(41)에 구비되어 있는 모드키를 입력하여 설정하는 모드를 판단한다.When a key interrupt occurs, as shown in b of FIG. 6, the mode for inputting the mode key, that is, the mode key provided in the key matrix unit 41 is input, and the mode to be set is determined.

이때, 프로그램 모드키를 눌러 프로그램 모드가 설정될 경우에는 일반키를 입력하여 학습키 또는 통합키의 입력인지를 판단하고, 학습키가 입력될 경우에는 학습준비를 하며, 통합키가 입력될 경우에는 통합키찾기 준비를 한후 메시지를 표시하고, 통합코드찾기 및 학습작업을 대기한다.In this case, when the program mode is set by pressing the program mode key, the general key is input to determine whether the learning key or the integrated key is input. When the learning key is input, the learning preparation is performed. After preparing to find integrated key, it displays a message and waits for integrated code search and learning.

이때 학습키가 입력될 경우에는 학습된 정보를 리드하고, 원격제어코드를 복구 및 메시지를 표시한 후 원격제어코드의 출력작업을 대기하고, 일반키가 입력될 경우에는 통합키선택코드를 리드하고, 통합코드정보를 리드하며, 원격제어코드를 복구 및 메시지를 표시한 후 원격제어코드의 출력작업을 대기한다.At this time, if the learning key is input, it reads the learned information, recovers the remote control code and displays a message, waits for the output of the remote control code, and if the general key is input, leads to the integrated key selection code. It reads the integrated code information, recovers the remote control code, displays a message, and waits for the output of the remote control code.

한편, 학습준비상태로 원격제어코드를 학습하여 저장할 경우에 중앙처리장치(37)는 제 6 도의 c에 도시된 바와같이, 인터럽트 발생부(34)에서 상술한 바와같이 발생하는 인터럽트 신호의 논리를 판단한다.On the other hand, in the case of learning and storing the remote control code in the learning ready state, the central processing unit 37 performs the logic of the interrupt signal generated as described above in the interrupt generator 34, as shown in c of FIG. To judge.

이때, 인터럽트 신호가 부논리일 경우에는 카운트부(36)가 카운트한 원격제어코드의 펄스수를 입력하고, 타이머부(35)의 캡쳐 레지스터내에 저장된 펄스 버스트 기간을 입력한 후 카운트부(36)를 초기화하여 다음의 원격제어코드의 펄스를 카운트할 준비를 하고, 입력한 펄스수 및 펄스 버스트 기간을 저장하며, 정논리의 인터럽트 신호 입력시 대응할 준비를 하고, 작업 대기상태를 유지한다.At this time, when the interrupt signal is negative, the count unit 36 inputs the number of pulses of the remote control code counted by the count unit 36, inputs the pulse burst period stored in the capture register of the timer unit 35, and then counts the unit 36. Prepares to count the pulse of the next remote control code, saves the number of pulses entered and the pulse burst period, prepares to respond when positive interrupt signal is input, and maintains the work standby state.

그리고 입력되는 인터럽트 신호가 정논리일 경우에는 타이머부(35)의 캡쳐 레지스터내에 저장된 펄스 오프기간을 입력하고, 입력한 펄스 오프기간과 펄스 버스트 기간을 합산하여 펄스주기를 계산 및 버퍼에 저장한 후 부논리의 인터럽트 신호입력시 대응할 준비를 하고, 카운트부(6)가 원격제어코드의 펄스수를 카운트하게 하며, 펄스주기가 저장된 버퍼가 풀(full)상태인지를 판별하여 풀상태가 아닐 경우에 작업 대기상태를 유지한다.If the interrupt signal to be input is positive logic, the pulse off period stored in the capture register of the timer unit 35 is input, the pulse period and the pulse burst period are added, and the pulse period is calculated and stored in the buffer. When preparing to respond to the negative logic interrupt signal, the counter unit 6 counts the number of pulses of the remote control code, determines whether the buffer in which the pulse period is stored is in the full state, and is not in the full state. Keep your work waiting.

버퍼가 풀상태일 경우에는 펄스 버스트 신호의 주파수를 계산하여 에러의 발생인지를 판단 즉, 일정수 이상의 펄스수 및 펄스주기가 측정되면, 학습모드를 해제하고, 측정한 정보를 평가하여 유효한 정보로 판별될 경우에 압축 및 저장 동작을 수행하는 것으로 먼저 펄스 버스트 신호의 주파수를 계산하고, 계산한 주파수를 미리 설정된 최고주파수(FH) 및 최저주파수(FL)와 비교하여 최고주파수(FH) 이상이거나 또는 최저주파수(FL) 이하일 경우에는 학습모드를 해제하고 에러 메시지를 표시하며, 최고주파수(FH)와 최저주파수(FH)의 사이일 경우에는 2차 압축을 수행한다.When the buffer is in the full state, the frequency of the pulse burst signal is calculated to determine whether an error occurs. That is, when a certain number of pulses and pulse periods are measured, the learning mode is canceled and the measured information is evaluated. as performing compression and store operations in the case be determined by the first comparison and the highest frequency (F H) and the lowest frequency (F L) calculates the frequency of the pulse burst signal, and set the calculated frequency in advance the highest frequency (F H) If it is above or below the minimum frequency (F L ), the learning mode is canceled and an error message is displayed, and if it is between the highest frequency (F H ) and the lowest frequency (F H ), the second compression is performed.

2차 압축은 제 7 도의 a에 도시된 바와같이 입력된 펄스를 측정한 펄스수 및 펄스주기의 정보를 제 7 도의 b에 도시된 바와같이 하나의 펄스단위로 하여 특정오차의 범위내에서 유사한 펄스를 동일한 펄스로 하고, 대표되는 펄스의 정보값을 대표값으로 등록하는 것으로서 이러한 방법으로 등록할 경우에는 8가지의 펄스 종류 이하의 수로 제어명령코드가 구성된다.Secondary compression is similar pulses within a range of a specific error by using the pulse number and pulse period information of the input pulse as shown in a of FIG. 7 as one pulse unit as shown in b of FIG. If the same pulse is registered and the information value of the representative pulse is registered as the representative value, and registered in this manner, the control command code is composed of eight or less types of pulses.

따라서 등록된 순서에 의한 별도의 3비트 2진코드의 정보만으로도 제 7 도의 c에 도시된 바와같이 연속되는 펄스의 열을 나타낼 수 있고, 3비트 2진코드 000, 001, 010, 011, 100, 101, 110 및 111로 대표치에 해당되는 다른 펄스의 정보를 정의할 수 있는 것으로 이러한 일련의 과정을 수행한 후 출력되는 정보의 펄스의 주파수와, 최대로 8개 이하의 펄스수 및 펄스주기를 쌍으로 하는 펄스정보와, 3비트 2진코드 형태로 나타낸 펄스열과, 펄스수인 것으로 여기서 펄스의 종류가 미리 정의된 8가지 이상일 경우에는 에러로 처리한다.Therefore, only the information of the separate 3-bit binary code in the registered order can represent a sequence of consecutive pulses as shown in c of FIG. 7, and the 3-bit binary code 000, 001, 010, 011, 100, It is possible to define the information of other pulses corresponding to the representative values as 101, 110, and 111. After performing this series of processes, the frequency of the information pulses and the maximum number of pulses and pulse periods It is a pair of pulse information, a pulse string expressed in the form of a three-bit binary code, and the number of pulses. If there are eight or more predefined types of pulses, they are treated as an error.

이와같이 하여 수신된 원격제어코드의 2차 압축이 완료되면, 2차 압축된 정보로 3차 압축을 수행한 후 압축된 정보를 램(39)에 저장하고, 완료 메시지를 표시한다.When the second compression of the received remote control code is completed in this way, after performing the third compression with the second compressed information, the compressed information is stored in the RAM 39, and a completion message is displayed.

3차 압축은 제 7 도의 e에 도시된 바와같이 2차 압축시 처리된 정보들의 연속성을 인식하는 동작에 의하여 3비트 2진코드의 데이타 열로 된 펄스 다발의 시작 및 끝과, 반복펄스 다발의 시작 및 끝을 인식하여 반복펄스 다발의 끝에서 발생된 펄스데이타까지만 유효한 정보로 설정하는 것으로 저장될 정보량을 최소화하고, 학습준비의 동작중에 선택된 접점위치의 정의된 램(39)의 압축정보 기억영역에 기억되며, 해당 압축정보 기억영역에 다른 정보가 기억되어 있을 경우에는 기억되어 있는 정보가 무효화되고, 현재의 정보가 새로 저장되어 유효하게 된다.Tertiary compression is the beginning and end of a pulse bundle of data strings of 3-bit binary code and the start of a repetitive pulse bundle by an operation of recognizing the continuity of information processed in the second compression as shown in e of FIG. And minimizing the amount of information to be stored by recognizing the end and setting only valid data up to the pulse data generated at the end of the repetitive pulse bundle, and in the compressed information storage area of the defined RAM 39 of the selected contact position during the learning preparation operation. When other information is stored in the compressed information storage area, the stored information is invalidated and the current information is newly stored and valid.

연속성을 인식하는 방법은 원격제어코드의 펄스다발의 출력특징에 따라서 구분될 수 있는 것으로 제어코드 펄스다발이 반복되는 형태와, 하나의 펄스코드 다발에 반복펄스 코드다발의 형태와, 하나의 제어코드 펄스다발의 형태와, 일정 반송파만 출력되는 형태가 있다.The method of recognizing the continuity can be classified according to the output characteristics of the pulse bundle of the remote control code, in which a control code pulse bundle is repeated, a pulse code bundle in one pulse code bundle, and one control code. There are a form of a pulse bundle and a form in which only a constant carrier is output.

연속성 인식의 중요요소는 펄스의 종류로서 펄스의 시작위치로부터 펄스의 종류가 최소한 한번 이상 모두 나타나는 위치까지가 제어코드의 기본다발이라고 정의하고, 제어코드의 펄스다발 반복형태는 기본펄스의 다발이후에 다시 모든 펄스의 종류가 최소한 1회 이상 나타나는 위치까지를 반복펄스코드의 다발이 끝나는 것으로 한다.An important element of continuity recognition is the type of pulse, which is defined as the basic bundle of the control code from the start of the pulse to the position where the pulse type appears at least once, and the pulse bundle repetition form of the control code is defined after the bundle of basic pulses. Again, it is assumed that the bundle of repeated pulse codes ends until a position where all types of pulses appear at least once.

시작코드와 반복코드 형태는 상기 제어코드 펄스다발 반복형태와 같이 기본다발을 갖고 기본다발 이후에 발생하는 펄스의 종류를 추출하여 이러한 펄스를 모두가 한번 이상 나타나는 최초의 위치까지가 반복코드 펄스다발 형태의 끝 펄스이다.The start code and the repeat code form have the basic bundle like the control code pulse bundle repeat form and extract the types of pulses that occur after the basic bundle and repeat the pulse code form to the first position where all of these pulses appear at least once. Is the end pulse.

다발 제어코드 펄스다발 형태의 인식방법은 타이머부(35)의 오버플로우에 의한 인터럽트 신호가 발생할 때 입력된 펄스수가 제어코드 다발의 끝 펄스이다.In the bundle control code pulse bundle type recognition method, when the interrupt signal generated by the overflow of the timer unit 35 occurs, the number of pulses input is the end pulse of the bundle of control codes.

일정펄스만 출력되는 형태는 제어코드 정보가 특정 캐리어 주파수를 의미하므로 높은 주파수 성분을 가지는 캐리어가 입력될 경우에는 카운트부(36)에서 발생하는 인터럽트에 의해 일정펄스 출력형태가 판명되며 버스트 제거필터에 일치하는 펄스가 연속으로 인식될 경우에는 포락선이 하이레벨 상태에서 발생하는 타이머부(35)의 인터럽트에서 감지할 수가 있다.Since the control code information means a specific carrier frequency, when a carrier having a high frequency component is inputted, a constant pulse output type is determined by an interrupt generated by the counting unit 36. When the matching pulses are recognized continuously, the envelope can be detected by an interrupt of the timer section 35 occurring in the high level state.

제 7 도의 a에 도시된 원격제어코드를 예로들면, 학습된 제어코드의 다발은 제 7 도의 b 및 c에 도시된 바와같이 펄스수가 50개이고, 펄스주기가 2msec임을 나타내는 3비트 2진코드 000과, 펄스수가 30개이고, 펄스주기가 1msec임을 나타내는 3비트 2진코드 001과 펄스수가 30개이고, 펄스주기가 5msec임을 나타내는 3비트 2진코드 010의 3종류로 구성됨을 알 수 있다.Taking the remote control code shown in a of FIG. 7 as an example, the bundle of learned control codes has a three-bit binary code 000 representing 50 pulses and a pulse period of 2 msec as shown in b and c of FIG. It can be seen that it is composed of three types of three-bit binary code 001 indicating that the number of pulses is 30, the pulse period is 1 msec, and three-bit binary code 010 which indicates the number of pulses is 30 and the pulse period is 5 msec.

3종류의 3비트 2진코드를 10진수로 나타내면 2진수 펄스열의 순서에 따라서 제 7 도의 d에 도시된 바와같이 011010012011010012···로 표기되며, 사용되는 펄스의 수는 3이다.When three kinds of three-bit binary codes are represented in decimal, they are indicated by 011010012011010012 ... as shown in d of FIG. 7 according to the order of the binary pulse string, and the number of pulses used is three.

3가지 펄스가 모두 한번 이상 사용되는 최초의 펄스는 9번째이며 9번째 펄스 이후에 나타나는 펄스의 종류가 3이므로 이 3종류가 모두 한번 이상 사용되어지는 펄스가 18번째이다. 10번째 펄스에서 18번째 펄스의 배열이 최초펄스의 다발과 일치하므로 제어코드 다발의 시작펄스와 끝은 1과 9이며 반복의 시작과 끝도 역시 1과 9이다.The first pulse in which all three pulses are used more than once is the ninth pulse, and the type of pulses appearing after the ninth pulse is three, so the pulses in which all three are used more than once are the eighteenth. Since the arrangement of the 10th pulse to the 18th pulse coincides with the bundle of the first pulse, the start pulse and the end of the control code bundle are 1 and 9, and the start and end of the repetition are also 1 and 9.

그리고 펄스 버스트 신호의 주파수는 펄스 버스트 기간이 500msec라고 가정할 경우에 100KHz가 된다. 그러므로 최종적으로 저장해야 된 정보량은 다음과 같다.The frequency of the pulse burst signal is 100 KHz when the pulse burst period is assumed to be 500 msec. Therefore, the final amount of information to be stored is as follows.

이와같이 하여 램(39)에 저장된 소정의 정보는 출력모드에서 키매트릭스부(41)의 키를 누름에 따라 선택되고, 원래의 원격제어코드로 신장된 후 원격제어코드 출력부(40)를 통해 송신되는 것으로 출력모드에서 키매트릭스부의 소정의 학습키를 누를 경우에 눌러진 학습키에 해당되는 램(39)의 학습정보 저장영역에 저장된 정보를 리드하고, 이를 출력하기 위한 형태로 복구 즉, 원래의 원격제어코드로 신장한다.In this way, the predetermined information stored in the RAM 39 is selected by pressing the key of the key matrix unit 41 in the output mode, is extended to the original remote control code, and then transmitted through the remote control code output unit 40. When the predetermined learning key of the key matrix is pressed in the output mode, information stored in the learning information storage area of the RAM 39 corresponding to the pressed learning key is read and restored to a form for outputting the original information. Expand to remote control code.

정보의 신장은 먼저 3차 압축의 역동작인 연속성에 따라 펄스열을 나열하고, 2차 압축의 역동작인 펄스열에 따라 펄스수, 펄스기간 및 주파수 정보를 얻은 후 1차 압축의 역동작으로 펄스 버스트 기간과 펄스 오프기간을 전기적 신호형태로 나타낸 후 원격제어코드 출력부(40)를 통해 출력한다.The decompression of the information first lists the pulse trains according to the continuity, which is the reverse operation of the 3rd compression, and obtains the number of pulses, the pulse duration, and the frequency information according to the pulse train, which is the reverse operation of the secondary compression, and then bursts the pulses by the reverse operation of the primary compression. The period and the pulse off period are represented in the form of an electrical signal and then output through the remote control code output unit 40.

원격제어코드의 출력은 제 6 도의 d에 도시된 바와같이, 연속 출력다발인 경우에 시작 및 마지막 펄스의 순서를 재결정하고, 타이머부(35)의 동작을 시작하면서 원격제어코드의 펄스 버스트 신호를 출력한 후통합키 찾기중일 경우에는 출력이 완료되었는지를 판단하고, 출력완료이면, 다음의 대표 제어코드를 설정하며, 일정시간 지연하여 출력대기하며, 통합키 찾기중이 아니거나 또는 출력이 완료되지 않았을 경우에는 마지막 펄스인지를 판별하여 마지막 펄스가 아니면 키입력을 준비하고 출력대기하며, 마지막 펄스일 경우에는 출력을 종료한다.As shown in d of FIG. 6, the output of the remote control code re-determines the order of the start and the last pulse in the case of the continuous output bundle, and starts the operation of the timer unit 35 to generate the pulse burst signal of the remote control code. In case of searching for integrated key after outputting, it is determined whether the output is completed. If the output is completed, it sets the next representative control code, waits for a delay for a certain time, and is not searching for integrated key or output is not completed. If not, it is determined whether it is the last pulse. If it is not the last pulse, it prepares for key input and waits for output.

이상에서 상세히 설명한 바와같이 본 발명은 오차가 발생됨이 없이 원래의 원격제어 코드를 정확히 발생하여 송신하므로 원격제어 기기의 동작을 정확히 제어할 수 있고, 또한 원격제어코드 1차 및 2차 압축하고, 반복패턴에 따라 3차 압축함으로써 저장할 정보량이 줄어들어 필요한 메모리의 용량을 줄일 수 있고, 소비전력을 줄일 수 있는 효과가 있다.As described in detail above, the present invention accurately generates and transmits an original remote control code without causing an error, thereby precisely controlling the operation of the remote control device, and also compressing and repeating the first and second remote control codes. Third compression according to the pattern reduces the amount of information to be stored, thereby reducing the amount of memory required and reducing power consumption.

Claims (3)

원격제어 기기의 원격제어 송신기로부터 원격제어코드를 수신하는 원격제어코드 감지부(31)와, 상기 원격제어코드 감지부(31)의 출력신호를 증폭하고 파형을 보정하는 증폭/파형 보정부(32)와, 상기 증폭/파형 보정부(32)의 출력신호의 포락선을 검출하는 포락선 검출부(33)와, 상기 포락선 검출부(33)의 출력신호의 정 및 부논리의 변화에 연계(連繫)하여 인터럽트를 발생하는 인터럽트 발생부(34)와, 상기 인터럽트 발생부(34)의 출력신호에 따라 리세트되면서 원격제어코드의 기간을 카운트하는 타이머부(35)와, 상기 증폭/파형 보정부(32)에서 출력되는 펄스의 수를 카운트하는 카운트부(36)와, 수신되는 원격제어코드를 압축하여 저장하고 신장하며 송신하는 동작을 제어하는 중앙처리장치(37)와, 상기 중앙처리장치(37)의 동작 프로그램이 저장되는 롬(38)과, 상기 중앙처리장치(37)의 제어로 압축된 원격제어코드를 저장하고 출력하는 램(39)과, 상기 중앙처리장치(37)의 제어로 신장된 원격제어코드를 송신하는 원격제어코드 출력부(40)와, 상기 중앙처리장치(37)의 동작 명령을 입력시키는 키매트릭스부(41)로 구성함을 특징으로 하는 만능 원격제어 송신기.A remote control code detector 31 for receiving a remote control code from a remote control transmitter of a remote control device, and an amplification / waveform corrector 32 for amplifying an output signal and correcting a waveform of the remote control code detector 31. ), The envelope detector 33 for detecting the envelope of the output signal of the amplification / waveform corrector 32, and the positive and negative logic changes in the output signal of the envelope detector 33 An interrupt generator 34 for generating an interrupt, a timer 35 for counting the period of the remote control code while being reset according to the output signal of the interrupt generator 34, and the amplification / waveform corrector 32 A counting unit 36 for counting the number of pulses outputted from the subfield, a central processing unit 37 for controlling the operation of compressing, storing, extending and transmitting the received remote control code, and the central processing unit 37 ROM 38 is stored in the operating program of, RAM 39 for storing and outputting the compressed remote control code under the control of the central processing unit 37, and a remote control code output unit for transmitting the extended remote control code under the control of the central processing unit 37 ( 40) and a key matrix unit (41) for inputting an operation command of the central processing unit (37). 제 1 항에 있어서, 원격제어코드 감지부(31)는 중앙처러장치(37)에 의해 제어되어 학습모드에서만 전원을 공급하는 스위칭 소자(SW)를 구비한 것을 특징으로 하는 만능 원격제어 송신기.The universal remote control transmitter according to claim 1, wherein the remote control code detector (31) comprises a switching element (SW) controlled by a central handling device (37) to supply power only in the learning mode. 학습모드와 통합키동작모드를 판단하는 과정과, 판단결과 학습모드이면 원격제어 기기의 원격제어 송신기로부터 송신되는 원격제어코드를 수신하여 수신된 원격제어코드의 입력주파수를 판단하는 과정과, 판단결과 수신된 원격제어코드의 입력주파수가 판단되었으면 상기 판단된 원격제어코드의 펄스 버스트성분의 시작위치부터 다음 펄스 버스트 성분의 시작위치까지를 하나의 펄스단위로 하는 펄스기간 및 펄스수를 측정하여 압축하는 제 1 압축과정과, 상기 제 1 압축과정에서 측정하여 압축된 펄스수들을 비교하고 설정된 오차범위내에서는 동일한 펄스로 판단한 후 동일한 펄스끼리 대표값 및 축소된 부호로 재배열하여 압축하는 제 2 압축과정과, 상기 제 2 압축과정에서 축소된 부호로 재배열된 펄스열에서 연속성을 갖는 다발을 찾아 시작펄스 및 끝펄스와 반복명령의 펄스시작 및 끝을 찾아 해당 키 정보가 할당되게 압축저장하는 제 3 압축과정과, 상기 판단결과 통합키동작모드이면 제 3 압축과정에서 압축저장된 압축키코드중에서 입력된 키신호에 해당되는 압축코드를 찾아 상기 제 3 압축과정 이전의 상태로 신장하는 제 1 신장과정과, 상기 제 1 신장과정에서 신장된 정보를 상기 제 2 압축과정 이전의 상태로 신장하는 제 2 신장과정과, 상기 제 2 신장과정에서 신장된 정보를 상기 제 1 압축과정 이전의 상태로 신장하는 제 3 신장과정과, 상기 제 3 신장과정에서 신장된 정보로 원격제어코드를 발생시켜 키정보 할당코드가 출력되게 송신하는 송신과정으로 제어됨을 특징으로 하는 만능 원격제어 송신기의 제어방법.Judging the learning mode and the integrated key operation mode; and in the judging result, receiving the remote control code transmitted from the remote control transmitter of the remote control device to determine the input frequency of the received remote control code; When the input frequency of the received remote control code is determined, the pulse period and the number of pulses are measured and compressed from the start position of the pulse burst component of the determined remote control code to the start position of the next pulse burst component in one pulse unit. A second compression process of comparing the first compression process with the number of pulses measured and measured in the first compression process, determining the same pulse within the set error range, and then rearranging and compressing the same pulses as representative values and reduced codes And a starting pulse by finding a bundle having continuity in the pulse sequence rearranged by the reduced code in the second compression process. And a third compression step of compressing and storing the end pulse and the pulse start and end of the repetitive command so as to allocate corresponding key information. A first decompression process for finding a compression code corresponding to a signal and decompressing it to a state before the third compression process, and a second decompression process for decompressing information decompressed in the first decompression process to a state before the second compression process And a third decompression process for decompressing the information decompressed in the second decompression process to a state before the first compression process, and generating a remote control code with the information decompressed in the third decompression process to generate a key information allocation code. The control method of the universal remote control transmitter, characterized in that controlled by the transmission process to transmit to be output.
KR1019930008305A 1993-05-14 1993-05-14 General-function remote control transmitter and controlling method for it KR960015388B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930008305A KR960015388B1 (en) 1993-05-14 1993-05-14 General-function remote control transmitter and controlling method for it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930008305A KR960015388B1 (en) 1993-05-14 1993-05-14 General-function remote control transmitter and controlling method for it

Publications (2)

Publication Number Publication Date
KR940027486A KR940027486A (en) 1994-12-10
KR960015388B1 true KR960015388B1 (en) 1996-11-11

Family

ID=19355413

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930008305A KR960015388B1 (en) 1993-05-14 1993-05-14 General-function remote control transmitter and controlling method for it

Country Status (1)

Country Link
KR (1) KR960015388B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101247264B1 (en) * 2006-07-03 2013-03-26 삼성전자주식회사 Audio/Video system for compensating data transmitting/receiving error and method for restoring data

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100400014B1 (en) * 2001-11-12 2003-09-29 삼성전자주식회사 Apparatus and method for controlling to be prevented from repetition signal processing in signal processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101247264B1 (en) * 2006-07-03 2013-03-26 삼성전자주식회사 Audio/Video system for compensating data transmitting/receiving error and method for restoring data

Also Published As

Publication number Publication date
KR940027486A (en) 1994-12-10

Similar Documents

Publication Publication Date Title
US6097520A (en) Remote control receiver and method of operation
KR940003445B1 (en) Reconfigurable remote control
KR920002229B1 (en) Reconfigurable remote control transmitter
KR970002765B1 (en) Reconfigurable remote control apparatus and method of using the same
KR900007131B1 (en) Programable remote control transmitter
US6178527B1 (en) Systems and methods for intermittently communicating diagnostic information from user input devices
JP3704148B2 (en) Method and apparatus for remote operation
EP0213577A2 (en) Apparatus providing data backup upon power failure in a micro-computer controlled television receiver
JP3315695B2 (en) Receiver for receiving information transmitted wirelessly
US20100141472A1 (en) Decoding Method and Apparatus for Infrared Remote Control Commands
CN101123035A (en) Remote control receiving device and method based on infrared
EP1538516B1 (en) Position indicator and position detector
KR960015388B1 (en) General-function remote control transmitter and controlling method for it
JP2885447B2 (en) Position detecting device and position indicator
JPH04248475A (en) Measuring circuit for waveform width of remote control signal
US5326961A (en) Bar code reader with comparison of bar widths and signal transitions
EP1021758B1 (en) Method, keyboard, and system for transmitting key characters
US7528743B2 (en) Information transmitting device
KR950004420B1 (en) Remote control receiver
JPH03189717A (en) Position detector and its position pointer
KR0184500B1 (en) Optical coupler data detecting method
US20040164874A1 (en) Waveform learning apparatus of remote controller
JP2674061B2 (en) Remote control device
WO1993015488A1 (en) Pre-programmed universal remote control method and apparatus with learning capability
JP2553687B2 (en) Remote control receiver circuit

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J2X1 Appeal (before the patent court)

Free format text: APPEAL AGAINST DECISION TO DECLINE REFUSAL

B90T Transfer of trial file for re-examination
G160 Decision to publish patent application
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20071017

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee