KR101132950B1 - Universal receiver and pattern recognition method thereof - Google Patents

Universal receiver and pattern recognition method thereof Download PDF

Info

Publication number
KR101132950B1
KR101132950B1 KR1020100096843A KR20100096843A KR101132950B1 KR 101132950 B1 KR101132950 B1 KR 101132950B1 KR 1020100096843 A KR1020100096843 A KR 1020100096843A KR 20100096843 A KR20100096843 A KR 20100096843A KR 101132950 B1 KR101132950 B1 KR 101132950B1
Authority
KR
South Korea
Prior art keywords
edge
information
pattern
memory
edge information
Prior art date
Application number
KR1020100096843A
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 KR1020100096843A priority Critical patent/KR101132950B1/en
Application granted granted Critical
Publication of KR101132950B1 publication Critical patent/KR101132950B1/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/14Calling by using pulses
    • H04Q9/16Calling by using pulses by predetermined number of pulses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

PURPOSE: A universal receiver and a pattern recognition method thereof are provided to compare edge information with received information by previously storing reference pattern information. CONSTITUTION: An edge detection unit(250) detects edge of a received pulse signal. An edge extraction unit(300) extracts information about the detected edge. A DMA(Direct Memory Access) control unit(350) directly stores extracted edge information to a memory(400). A computation unit(500) analyzes edge information pattern.

Description

범용 수신 장치 및 그 패턴 인식 방법{UNIVERSAL RECEIVER AND PATTERN RECOGNITION METHOD THEREOF}Universal receiver and its pattern recognition method {UNIVERSAL RECEIVER AND PATTERN RECOGNITION METHOD THEREOF}

본 발명은 범용 수신 장치 및 그 패턴 인식 방법에 관한 것이며, 특히 검출된 에지와 관련된 시간 정보, 상승 또는 하강 여부 등을 포함하는 에지 정보를 추출하고 추출한 에지 정보 사이 시간 간격을 연산하여 패턴을 분석하는 범용 수신 장치 및 그 패턴 인식 방법 에 관한 것이다. The present invention relates to a general-purpose receiving apparatus and a pattern recognition method thereof, and particularly, extracts edge information including time information related to a detected edge, whether it is rising or falling, and calculates a time interval between extracted edge information to analyze a pattern. A general purpose receiving apparatus and a pattern recognition method thereof.

TV, VTR, DVD 플레이어/레코더, 오디오 시스템, 에어 컨디셔너, 조명 장치 등 다양한 전자 기기를 원격에서 제어하기 위한 휴대형 컨트롤러를 통상적으로 리모트 컨트롤러(remote controller)라 한다.Portable controllers for remotely controlling various electronic devices such as TVs, VTRs, DVD players / recorders, audio systems, air conditioners, lighting devices, etc. are commonly referred to as remote controllers.

최근에는 점차 다양한 전자 기기를 하나의 리모트 컨트롤러를 이용하여 통합적으로 관리하는 통합 리모트 컨트롤러가 개발되어 널리 이용되고 있으며, 통합 리모트 컨트롤러의 경우 신호를 송수신하는 대상이 되는 전자 기기 및 사용자의 식별을 위하여 신호로부터 패턴을 추출하는 기술이 채택되어 사용되고 있다.Recently, an integrated remote controller has been developed and widely used to manage various electronic devices by using a single remote controller. In the case of an integrated remote controller, a signal is used to identify an electronic device and a user to which a signal is transmitted and received. The technique of extracting a pattern from is adopted and used.

한편 리모트 컨트롤러는 원격에 위치한 마스터 장치(TV, VTR, DVD 플레이어, 오디오 시스템 등의 장치를 말함)와 통신하기 위하여 적외선(Infrared, IR)을 이용하는 경우가 많은데, 이는 가시광선 대역의 광선을 이용하는 경우 사용자의 시야를 불편하게 만들 수 있기 때문이다. 따라서 리모트 컨트롤러는 마스터 장치로부터 전송되는 적외선 펄스 신호를 수신하기 위한 적외선 센서(IR sensor)를 포함하는 경우가 일반적이다.Remote controllers often use infrared (IR) signals to communicate with remotely located master devices (ie, devices such as TVs, VTRs, DVD players, and audio systems). This is because the user's view may be uncomfortable. Therefore, the remote controller generally includes an infrared sensor (IR sensor) for receiving an infrared pulse signal transmitted from the master device.

리모트 컨트롤러 등에 이용되는 적외선 센서는 태양광의 적외선 성분에 의한 노이즈, 형광등의 적외선 성분에 의한 노이즈 또는 여타의 전자기기에 의해 발생하는 적외선 성분의 노이즈에 의하여 간섭을 받을 수 있으며, 주변 장치의 리모트 컨트롤 신호, 적외선 센서 자체의 노이즈에 의해서도 영향을 받을 수 있다.도 1은 종래의 펄스 신호를 수신하는 범용 수신 장치(Universal Receiver)를 설명하는 블록도이다. 도면에는 미도시된 수신부(IR Sensor)가 펄스 신호를 수신하면, 에지 검출부(110)에서 에지를 검출하고, 메인 프로세서(120)는 검출된 에지를 바탕으로 패턴 또는 종류를 분석한다. 필요한 경우 메모리(130)를 사용하여 검출된 에지의 정보를 저장할 수 있다. An infrared sensor used in a remote controller or the like may interfere with noise caused by infrared components of sunlight, noise caused by infrared components such as fluorescent lights, or infrared components generated by other electronic devices. It may also be affected by the noise of the infrared sensor itself. FIG. 1 is a block diagram illustrating a conventional receiver for receiving a conventional pulse signal. When the receiver IR sensor (not shown) receives a pulse signal, the edge detector 110 detects an edge, and the main processor 120 analyzes a pattern or type based on the detected edge. If necessary, the memory 130 may be used to store the detected edge information.

이러한 방법을 사용하는 경우 메인 프로세서(120)가 펄스 신호가 오는 경우 항상 동작을 해야 한다. 리모트 컨트롤러는 일반적으로 배터리에 의하여 구동되므로, 메인 프로세서(120)가 계속적으로 동작하여 전력을 소비하는 경우, 사용 가능 시간이 단축되고 자주 충전 또는 배터리를 교체해야 하는 불편함이 있다.When using this method, the main processor 120 should always operate when a pulse signal comes. Since the remote controller is generally driven by a battery, when the main processor 120 continuously operates to consume power, the remote controller may be inconvenient to shorten the usable time and to frequently charge or replace the battery.

이를 위하여 신호를 해석하여 패턴을 검출하기 위한 모듈을 전용 하드웨어로 구현하여 메인 프로세서(120)의 부담을 줄이고자 하는 노력이 있었으나, 이 경우 각각의 약속된 패턴마다 전용 하드웨어가 구현되어야 하므로, 전용 하드웨어의 리소스가 너무 크게 요구되는 문제점이 있었다.To this end, efforts have been made to reduce the burden on the main processor 120 by implementing a module for detecting patterns by interpreting signals, but in this case, dedicated hardware must be implemented for each promised pattern. There was a problem that requires too large resources.

이 같은 문제점은 범용 수신장치를 3차원 영상을 제공하는 셔터 안경(shutter glasses)에 탑재되어 이용되는 경우에는 더욱 심화되었다. 종래의 일반적인 리모트 컨트롤러는 간헐적으로 마스터 장치와의 사이에서 통신을 복원하면 되었지만, 3차원 영상을 제공하는 셔터 안경의 경우, 좌안 영상과 우안 영상의 동기화를 위하여 지속적으로 마스터 장치( = 디스플레이 장치)와 통신 및 동기화를 수행해야 하기 때문이다. 구체적으로는, 셔터 안경에서 노이즈에 의하여 패턴 인식의 오류가 발생하면, 패턴 검출을 위하여 셔터 안경 컨트롤러의 메인 프로세서가 동작하는 회수가 빈번하여 배터리의 전력 소모가 증가하고, 한번 충전 (또는 배터리의 교체) 후 사용할 수 있는 시간이 단축되어 사용자의 불편함을 초래하였다.This problem is further exacerbated when a general-purpose receiver is used mounted on shutter glasses that provide a 3D image. Conventional remote controllers only need to restore communication between the master device intermittently, but in the case of shutter glasses that provide three-dimensional images, the master device (= display device) is continuously connected to synchronize the left and right eye images. This is because communication and synchronization must be performed. Specifically, when an error in pattern recognition occurs due to noise in the shutter glasses, the number of times the main processor of the shutter glasses controller is operated for pattern detection increases frequently, thereby increasing the power consumption of the battery, and charging once (or replacing the battery). After that, the usable time is shortened, causing inconvenience to the user.

3차원 영상을 제공하는 셔터 안경은 근거리에서 입체감을 인식하게 하는 요인인 양안시차(binocular parallax)를 이용하여 물체의 입체감을 제공하는 원리를 이용한다. 따라서 디스플레이 장치는 번갈아가며 좌안 영상 프레임과 우안 영상 프레임을 제공하고, 셔터 안경은 이에 호응하여 좌안 셔터와 우안 셔터를 번갈아가며 개방 또는 폐쇄하여 착용자에게 좌안 영상과 우안 영상에 의한 입체감을 제공한다.Shutter glasses that provide a three-dimensional image uses a principle of providing a three-dimensional effect of an object using a binocular parallax, which is a factor that allows a three-dimensional image to be recognized at a short range. Therefore, the display device alternately provides a left eye image frame and a right eye image frame, and the shutter glasses alternately open or close the left eye shutter and the right eye shutter in response to this to provide a wearer with a 3D effect by the left eye image and the right eye image.

이 때 좌안 영상 프레임과 우안 영상 프레임을 제공하는 동기화 패턴은 디스플레이 장치의 제조사마다, 제품마다 상이하여 셔터 안경은 다양한 패턴에 대응할 수 있는 솔루션을 구비하고 있어야 한다. 이 때 각 디스플레이 장치는 제조사 또는 제품마다 식별 가능한 ID를 적외선 신호에 실어 전송하며, 셔터 안경은 IR sensor의 후처리 과정에 의하여 적외선 신호로부터 패턴을 검출하여 디스플레이 장치를 식별하는 과정이 필요하다.In this case, the synchronization pattern for providing the left eye image frame and the right eye image frame is different for each manufacturer of the display device and for each product, so that the shutter glasses must have a solution that can cope with various patterns. In this case, each display device transmits an ID that can be identified for each manufacturer or product in an infrared signal, and the shutter glasses need to identify a display device by detecting a pattern from the infrared signal by a post-processing process of the IR sensor.

따라서 노이즈에 의하여 적외선 신호가 오염되면, 메인 프로세서의 패턴 식별 과정이 빈번하게 이루어지고, 이에 따라 배터리의 전력이 빨리 소모되어, 배터리를 자주 충전하거나 교체하여야 하는 불편함이 존재하였다.Therefore, when the infrared signal is contaminated by noise, the pattern identification process of the main processor is frequently performed, and thus, the power of the battery is quickly consumed, and there is an inconvenience of frequently recharging or replacing the battery.

본 발명은 상기와 같은 종래 기술의 문제점을 해결하고자 도출된 것으로서, 리모트 컨트롤러 또는 3차원 영상 셔터 안경 등에 이용되는 범용 수신 장치(Universal Receiver)의 소비전력을 절감하는 것을 목적으로 한다. 이 때 범용 수신 장치는 적외선 센서(IR sensor)를 동반하는 경우가 많겠으나, 본 발명의 목적은 적외선 수신장치에만 국한되는 것은 아니고, RF 수신장치 등 다양한 분야의 범용 수신장치에 적용 가능하다.The present invention is derived to solve the above problems of the prior art, an object of the present invention is to reduce the power consumption of the universal receiver (Universal Receiver) used in a remote controller or three-dimensional image shutter glasses. In this case, the general purpose receiver may be accompanied by an infrared sensor, but the object of the present invention is not limited to the infrared receiver, but may be applied to a general purpose receiver such as an RF receiver.

또한 본 발명은 비교적 간단한 하드웨어 구성으로 패턴 검출 과정을 수행할 수 있어 메인 프로세서 또는 컨트롤러의 부하를 줄일 수 있는 범용 수신장치를 제공하는 것을 목적으로 한다. 본 발명은 계층적으로 패턴 검출 과정을 수행함으로써 메인 프로세서 또는 컨트롤러의 부하를 줄이고, 소비전력을 절감하는 것을 목적으로 한다.In addition, an object of the present invention is to provide a general-purpose receiver that can perform a pattern detection process with a relatively simple hardware configuration to reduce the load of the main processor or controller. An object of the present invention is to reduce the load of the main processor or controller and to reduce power consumption by performing a pattern detection process hierarchically.

또한 본 발명은 범용적인 신호의 패턴 해석에 대응할 수 있는 하드웨어 구성을 제공하는 것을 목적으로 한다. 본 발명은 효율적인 패턴 인식 수단을 구현하여 다양한 마스터 장치와의 통신이 가능하고, 다양한 패턴을 추출해낼 수 있도록 한다.It is also an object of the present invention to provide a hardware configuration that can cope with pattern analysis of general purpose signals. The present invention implements an efficient pattern recognition means to enable communication with various master devices, and to extract various patterns.

본 발명의 범용 수신장치를 채택한 리모트 컨트롤러 또는 3차원 셔터 안경의 소비전력 절감은 배터리의 교체 또는 재충전 시간 간격을 연장할 수 있어 사용자의 불편함을 해소할 수 있는 특징이 있다.Reduction of power consumption of the remote controller or the three-dimensional shutter glasses using the general-purpose receiver of the present invention can extend the battery replacement or recharging time interval, thereby eliminating user inconvenience.

상기와 같은 목적을 달성하기 위하여, 본 발명의 일 실시예에 따른 범용 수신 장치는 검출된 에지에 대한 에지 정보를 추출하는 에지 추출부, 순차적으로 어드레스를 추출하고, 추출된 에지 정보를 어드레스를 이용하여 메인 프로세서를 거치지 않고 메모리에 직접 저장하는 직접 메모리 접근 컨트롤러, 및 미리 정해진 연산 조건이 발생하면, 메모리에 순차적으로 저장된 에지 정보를 함께 읽어 시간 정보를 추출하고 패턴을 분석하는 연산부를 포함한다. In order to achieve the above object, a general-purpose receiving apparatus according to an embodiment of the present invention is an edge extractor for extracting edge information on a detected edge, sequentially extracting addresses, and using the extracted edge information as addresses. A direct memory access controller that directly stores the memory in the memory without passing through the main processor, and an operation unit that extracts time information and analyzes patterns by reading edge information sequentially stored in the memory when a predetermined operation condition occurs.

또한 미리 저장된 기준 패턴과 순차적으로 저장된 에지 정보를 비교하여 일치하는 경우 신속하게 기준 패턴을 인식하는 패턴 인식부를 추가적으로 포함한다.The apparatus further includes a pattern recognizing unit configured to quickly recognize the reference pattern when comparing the previously stored reference pattern with sequentially stored edge information.

또한, 상기와 같은 목적을 달성하기 위하여, 본 발명의 일 실시예에 따른 패턴 인식 방법은 수신된 펄스 신호 각각의 에지를 검출하는 단계, 검출된 에지로부터 상승 또는 하강, 시간 간격 정보를 추출하여 에지 정보를 추출하는 단계, 추출된 에지 정보를 메인 프로세서를 거치지 않고 직접 메모리에 순차적으로 저장하는 단계 및 상기 메모리에 저장된 에지 정보의 개수가 기준값 N에 도달하면 N개의 에지 정보를 읽어 시간 간격 정보를 추출하고 패턴을 분석하는 단계를 포함한다. In addition, in order to achieve the above object, the pattern recognition method according to an embodiment of the present invention is to detect the edge of each of the received pulse signal, the rising or falling from the detected edge, extract the time interval information edge Extracting information, sequentially storing the extracted edge information directly in a memory without passing through the main processor, and extracting time interval information by reading N edge information when the number of edge information stored in the memory reaches a reference value N And analyzing the pattern.

또한, N개의 에지 정보를 읽는 것과 별개로, 추출된 에지 정보를 미리 저장된 기준 패턴들과 비교하여 패턴이 일치하는 경우 신속하게 기준 패턴을 인식하는 패턴 인식부를 포함하여, 낮은 소비전력으로도 실시간으로 신속하게 패턴을 인식한다.In addition to reading the N edge information, a pattern recognition unit which compares the extracted edge information with pre-stored reference patterns and quickly recognizes the reference pattern when the patterns match, can be used in real time with low power consumption. Quickly recognize patterns.

본 발명의 범용 수신 장치 및 방법은 TV 또는 DVD 플레이어 등의 마스터 장치로부터 수신되는 펄스 신호의 에지에 대응하는 정보를 소정의 데이터 필드로 정리하여 저장할 수 있다.The general-purpose receiving apparatus and method of the present invention can organize and store information corresponding to the edge of a pulse signal received from a master device such as a TV or a DVD player into a predetermined data field.

본 발명에 따르면, 기준 패턴에 대응하는 정보를 미리 저장하여 순차적으로 수신되는 에지 정보와 비교함으로써 다양한 패턴에 신속하게 대응할 수 있다. 또한 이 과정에서 메인 프로세서 또는 컨트롤러의 동작을 줄일 수 있어 소비전력을 크게 절감할 수 있다.According to the present invention, information corresponding to a reference pattern may be stored in advance and compared with edge information sequentially received, thereby rapidly responding to various patterns. In addition, this process can reduce the operation of the main processor or controller, which can significantly reduce the power consumption.

또한 본 발명에 따르면, 마스터 장치(TV, DVD 플레이어 등)로부터 수신되는 펄스의 에지 정보를 데이터 필드로 정리하여 저장함으로써 최소한의 하드웨어 리소스를 사용하면서도 신속하게 패턴을 인식함은 물론, 다양한 패턴에 용이하게 대응할 수 있다.In addition, according to the present invention, by storing the edge information of the pulse received from the master device (TV, DVD player, etc.) into a data field, it is possible to recognize the pattern quickly while using a minimum of hardware resources, and to easily perform various patterns. Can respond.

본 발명에 따르면, 펄스의 에지 정보를 계층적으로 처리함으로써, 메인 프로세서 또는 컨트롤러의 부하를 줄이고, 전체적인 소비 전력을 절감할 수 있다.According to the present invention, by processing the edge information of the pulse hierarchically, it is possible to reduce the load of the main processor or controller, and reduce the overall power consumption.

또한 본 발명의 범용 수신 장치는 펄스의 에지 정보를 저장하는 메모리 영역의 어드레스를 순환적으로 생성하여 데이터 구조를 단순화하고, 용이하게 시간 순으로 배열함으로써 패턴의 추출을 더욱 용이하게 할 수 있다.In addition, the general-purpose receiving apparatus of the present invention simplifies the data structure by cyclically generating the address of the memory area storing the edge information of the pulse, and easily arranges the patterns in chronological order.

도 1은 종래의 범용 수신 장치를 도시하는 블록도이다.
도 2는 본 발명의 일 실시예에 따른 범용 수신 장치를 도시하는 블록도이다.
도 3은 도 2의 범용 수신 장치의 에지 검출부의 일 실시예를 도시하는 블록도이다.
도 4는 도 2의 범용 수신 장치의 에지 추출부의 일 실시예를 도시하는 블록도이다
도 5는 도 4의 에지 추출부에서 생성되는 에지 정보의 데이터 필드의 일 예를 도시하는 도면이다.
도 6은 수신되는 펄스 신호 및 추출되는 에지 정보의 예를 도시하는 도면이다. 도 7은 도 2의 범용 수신 장치의 직접 메모리 접근 컨트롤러를 도시 하는 도면이다.
도 8은 도 2의 범용 수신 장치의 메모리의 어드레스 구조의 일 예를 도시하는 도면이다.
도 9는 도 2의 범용 수신 장치의 연산부를 상세히 도시하는 블록도이다.
도 10은 도 2의 범용 수신 장치의 패턴 인식부를 도시하는 블록도이다.
1 is a block diagram showing a conventional general-purpose receiving apparatus.
2 is a block diagram illustrating a general-purpose receiving apparatus according to an embodiment of the present invention.
FIG. 3 is a block diagram illustrating an example embodiment of an edge detector of the general-purpose receiver of FIG. 2.
4 is a block diagram illustrating an example embodiment of an edge extracting unit of the general-purpose receiving apparatus of FIG. 2.
FIG. 5 is a diagram illustrating an example of a data field of edge information generated by the edge extractor of FIG. 4.
6 is a diagram illustrating an example of a received pulse signal and extracted edge information. FIG. 7 is a diagram illustrating a direct memory access controller of the general purpose receiver of FIG. 2.
FIG. 8 is a diagram illustrating an example of an address structure of a memory of the general purpose receiving apparatus of FIG. 2.
9 is a block diagram illustrating in detail a calculator of the general-purpose receiver of FIG. 2.
FIG. 10 is a block diagram illustrating a pattern recognition unit of the general-purpose receiver of FIG. 2.

이하에서, 본 발명의 실시예를 첨부된 도면을 참조하여 상세하게 설명한다. 그러나, 본 발명이 실시예들에 의해 제한되거나 한정되는 것은 아니다. 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited or limited by the embodiments. Like reference numerals in the drawings denote like elements.

도 2는 본 발명의 일 실시예에 따른 범용 수신 장치(200)를 도시하는 블록도이다. 도 2를 참조하면, 범용 수신 장치(200)는 에지 검출부(250), 에지 추출부(300), 직접 메모리 접근 컨트롤러(350), 메모리(400), 메인 프로세서(450), 연산부(500) 및 패턴 인식부(550)를 포함한다. 에지 검출부(250)는 수신된 펄스 신호의 에지를 검출하고, 에지 추출부(300)는 하드웨어적으로 수신된 에지의 정보를 추출한다. 에지의 정보는 수신된 에지가 상승 또는 하강 여부, 수신된 에지의 시간, 하나의 패킷을 형성하는 것으로 간주되는 경우 패킷에 포함된 에지의 개수, 에지가 검출된 후 기준 시간 이상 에지가 검출되지 않은 상태가 지속되는지 여부 중 적어도 하나 이상을 포함할 수 있다. 직접 메모리 접근 컨트롤러(350)는 추출된 상기 에지 정보를 메인 프로세서(450)를 거치지 않고 메모리(400)에 저장하기 위한 수단이다. 메모리(400)는 순차적으로 생성되는 어드레스에 따라 추출된 에지 정보를 순차적으로 저장한다.2 is a block diagram illustrating a general-purpose receiving apparatus 200 according to an embodiment of the present invention. Referring to FIG. 2, the general purpose reception apparatus 200 may include an edge detector 250, an edge extractor 300, a direct memory access controller 350, a memory 400, a main processor 450, an operation unit 500, and the like. The pattern recognition unit 550 is included. The edge detector 250 detects an edge of the received pulse signal, and the edge extractor 300 extracts information of the edge received in hardware. The information on the edges is determined whether the received edge is rising or falling, the time of the received edge, the number of edges contained in the packet if it is considered to form one packet, and no edge is detected beyond the reference time after the edge is detected. It may include at least one of whether the state persists. The direct memory access controller 350 is a means for storing the extracted edge information in the memory 400 without passing through the main processor 450. The memory 400 sequentially stores the extracted edge information according to sequentially generated addresses.

연산부(500)는 미리 정해진 연산 조건이 발생하면, 메모리(400)에 순차적으로 저장된 에지 정보를 읽어 시간 정보를 추출하고 패턴을 분석한다. 패턴 인식부(550)는 추출된 에지 정보를 순차적으로 레지스터에 저장하고, 프로그램 가능한 제어 레지스터에 미리 저장된 기준 패턴과 상기 레지스터에 순차적으로 저장된 에지 정보를 비교하여 패턴 일치 여부를 판정한다. 에지 추출부(250)에서 추출된 에지 정보는 메모리(400)와는 별도로 패턴 인식부(550)에 순차적으로 저장될 수 있다. 연산부(500)는 메모리(400)에 저장된 에지 정보의 개수가 일정 개수를 넘는 경우 또는 패턴 인식부(550)에서 일치하는 패턴을 찾지 못하는 경우 (또는 일치하는 패턴을 찾지 못한 채 일정 시간 이상이 경과한 경우) 메모리에 저장된 모든 에지 정보를 모두 읽고 패턴을 분석할 수 있다.When a predetermined calculation condition occurs, the calculation unit 500 reads edge information sequentially stored in the memory 400, extracts time information, and analyzes a pattern. The pattern recognition unit 550 sequentially stores the extracted edge information in a register, and compares the reference pattern previously stored in the programmable control register with the edge information sequentially stored in the register to determine whether the pattern matches. The edge information extracted by the edge extractor 250 may be sequentially stored in the pattern recognizer 550 separately from the memory 400. If the number of edge information stored in the memory 400 exceeds a certain number or the pattern recognition unit 550 does not find a matching pattern (or the predetermined time is elapsed without finding a matching pattern). In one case, you can read all edge information stored in memory and analyze the pattern.

에지 정보의 패턴을 추출하는 과정은 일차적으로 패턴 인식부(550)에 의하여 수행될 수 있다. 패턴 인식부(550)는 순차적으로 수신된 에지의 정보를 미리 저장된 기준 패턴과 비교하여 패턴 일치 여부를 판정한다.The process of extracting the pattern of the edge information may be primarily performed by the pattern recognizer 550. The pattern recognition unit 550 sequentially compares the information of the received edges with a pre-stored reference pattern to determine whether the pattern matches.

패턴 인식부(550)가 노이즈 등 방해 요인으로 인하여 일치하는 특정 패턴을 찾지 못하는 경우에는 연산부(500)에서 수신된 신호의 패턴을 인식할 수 있다. 연산부(550)는 메모리(400)에 저장된 에지 정보의 수가 일정 기준을 초과하거나, 패턴 인식부(550)가 패턴을 인식하지 못한 채로 일정 기준 시간을 초과하는 경우에 메모리(400)에 저장된 에지 정보를 함께 읽어 들여 패턴을 추출할 수 있다.When the pattern recognizing unit 550 does not find a matching specific pattern due to interference factors such as noise, the pattern recognizing unit 500 may recognize the pattern of the signal received by the operation unit 500. The calculation unit 550 may store the edge information stored in the memory 400 when the number of edge information stored in the memory 400 exceeds a predetermined criterion or when the pattern recognition unit 550 exceeds a predetermined reference time without recognizing a pattern. Can be read together to extract the pattern.

메인 프로세서(450)는 연산부(550) 및 패턴 인식부(550)가 패턴을 인식하지 못하는 경우에 메모리(400)에 접근하여 에지 정보를 읽고 소프트웨어적인 처리로 패턴을 인식할 수 있다. 범용 수신 장치(200)는 이와 같은 계층적인 패턴 인식 과정을 이용하여 메인 프로세서(450)의 부담을 덜고 전체적인 소비 전력을 절감할 수 있으면서도 신속하게 실시간으로 다양한 패턴을 인식할 수 있다.When the operation unit 550 and the pattern recognition unit 550 do not recognize the pattern, the main processor 450 may access the memory 400 to read edge information and recognize the pattern by software processing. By using the hierarchical pattern recognition process, the general purpose reception apparatus 200 may recognize various patterns in real time quickly while reducing the burden on the main processor 450 and reducing the overall power consumption.

도 3은 도 2의 범용 수신 장치(200)의 에지 검출부(250)의 일 예를 도시하는 블록도이다. 에지 검출부(250)는 고주파 노이즈 제거부(260), 신호 필터(270), 에지 판별부(280)를 포함하며, 변조된 신호의 복조를 수행하는 경우도 있다. 마스터 장치에서 전송되는 펄스 신호는 캐리어 주파수(carrier frequency)에 의하여 변조되어 전송될 수도 있고, 또는 기저 대역(baseband)의 신호가 그대로 전송될 수도 있다. 고주파 노이즈 제거부(260)는 수신된 변조된 신호 또는 기저대역의 신호 중 신호와 관계없는 고주파 대역 부분을 제거하고, 신호 필터(270)는 원하는 대역의 신호만 걸러낸다. 변조된 신호의 경우, 캐리어 주파수 대역 근처의 신호만이 통과하며, 기저대역 신호의 경우, 낮은 주파수 대역의 신호가 필터(270)를 통과한다. 에지 판별부(280)는 노이즈가 제거된 신호에서 에지를 검출 또는 판별한다. 검출된 에지의 정보는 에지 추출부(300)로 송신된다.FIG. 3 is a block diagram illustrating an example of the edge detector 250 of the general purpose reception apparatus 200 of FIG. 2. The edge detector 250 includes a high frequency noise remover 260, a signal filter 270, and an edge discriminator 280. In some cases, the edge detector 250 may demodulate a modulated signal. The pulse signal transmitted from the master device may be modulated by a carrier frequency and transmitted, or the baseband signal may be transmitted as it is. The high frequency noise removing unit 260 removes a portion of the received modulated signal or baseband signal that is not related to the signal, and the signal filter 270 filters only signals of a desired band. For modulated signals, only signals near the carrier frequency band pass, and for baseband signals, low frequency band signals pass through filter 270. The edge determination unit 280 detects or determines an edge in the signal from which the noise is removed. Information of the detected edge is transmitted to the edge extraction unit 300.

도 4는 도 2의 범용 수신 장치(200)의 에지 추출부(300)의 일 실시예를 도시하는 블록도이다. 에지 추출부(300)는 에지 검출부(250)로부터 검출된 에지에 대한 정보를 수신하고, 상기 검출된 에지에 대한 정보를 추출하여 직접 메모리 접근 컨트롤러(350)를 통하여 메모리(400)에 저장한다. 에지 추출부(250)는 추출된 에지 정보를 메모리(400)와는 별개의 데이터 경로를 거쳐 순차적으로 패턴 인식부(550)에 제공할 수도 있다.FIG. 4 is a block diagram illustrating an example embodiment of the edge extractor 300 of the general purpose receiver 200 of FIG. 2. The edge extractor 300 receives information on the detected edge from the edge detector 250, extracts information on the detected edge, and stores the information on the detected edge in the memory 400 through the direct memory access controller 350. The edge extractor 250 may sequentially provide the extracted edge information to the pattern recognizer 550 through a data path separate from the memory 400.

에지 추출부(300)는 타이머(310), 시간 정보 해석기(320), 에지 정보 저장부(330)를 포함한다. 타이머(310)는 에지가 검출된 시간에 대한 정보를 시간 정보 해석기(320)에 제공할 수 있다. 시간 정보 해석기(320)는 타이머(310)로부터 제공된 상기 시간에 대한 정보를 해석한다. 예를 들어, 시간 정보 해석기(320)는 직전 에지와 현재 에지 사이의 시간 간격을 연산할 수 있으며, 에지가 검출된 후 기준 시간이 경과하였는지 또는 에지가 수신된 후 일정 시간 동안 에지가 검출되지 않았는지를 판단하는 것도 가능하다. 이와 같은 이벤트(event)를 본 명세서에서는 설명의 편의상 널 에지(null edge)라 명명하기로 한다. 또한, 여러 개의 에지를 하나의 패킷으로 간주하는 판단 조건 - 예를 들어 이웃하는 두 에지 사이 간격이 상대적으로 좁고 일정한 경우 - 을 포함하여, 이러한 판단 조건을 만족하는 복수 개의 에지를 하나의 패킷으로 간주할 수도 있다. 이 때 널 에지의 판단 기준 또는 복수의 펄스(에지)를 하나의 패킷으로 간주하기 위한 기준을 이루는 시간 간격은 외부에서 프로그램될 수도 있다. The edge extractor 300 includes a timer 310, a time information analyzer 320, and an edge information storage unit 330. The timer 310 may provide the time information interpreter 320 with information about the time at which the edge was detected. The time information interpreter 320 interprets the information about the time provided from the timer 310. For example, the time information interpreter 320 may calculate the time interval between the previous edge and the current edge, and whether the reference time has elapsed since the edge was detected or if no edge was detected for a certain time after the edge was received. It is also possible to judge the Such an event will be referred to herein as a null edge for convenience of description. In addition, a plurality of edges satisfying such a determination condition are regarded as one packet, including a decision condition that considers multiple edges as one packet, for example, when a distance between two neighboring edges is relatively narrow and constant. You may. In this case, a time interval that forms a criterion for considering a null edge or a criterion for considering a plurality of pulses (edges) as one packet may be externally programmed.

범용 수신 장치(200)가 인식하고자 하는 패턴은 소정의 개수의 에지와, 에지가 검출된 후 소정의 시간 동안 다른 에지가 검출되지 않는 널 에지로 구성될 수 있다. 이 때, 노이즈에 의한 영향이 없다면 에지 추출부(300)에서 추출된 에지 정보 (에지의 종류(상승, 하강), 개수, 널 에지)로도 간단하게 패턴의 검출이 가능하다.The pattern to be recognized by the general purpose reception apparatus 200 may include a predetermined number of edges and a null edge in which no other edge is detected for a predetermined time after the edge is detected. At this time, if there is no influence due to noise, the pattern can be easily detected even by the edge information (type of edge (rising, falling), number, null edges) extracted by the edge extraction unit 300.

에지 추출부(300)는 한 개의 에지를 하나의 에지 정보로 추출할 수도 있고, 여러 개의 에지를 그룹핑하여 하나의 에지 정보로 추출할 수도 있다. 에지 추출부(300)는 복수의 검출된 에지가 소정의 조건을 만족하면 상기 복수의 검출된 에지가 하나의 패킷을 형성하는 것으로 간주할 수 있다. 복수의 검출된 에지가 하나의 패킷으로 간주되면, 에지 추출부(300)는 모든 에지에 대해 에지 정보를 추출하지 않고, 간단히 상기 패킷 내에 존재하는 에지의 개수를 에지 정보(이하 에지 개수)로 추출할 수 있다. The edge extractor 300 may extract one edge as one edge information, or may group several edges to extract one edge information. The edge extractor 300 may consider the plurality of detected edges to form one packet when the plurality of detected edges satisfy a predetermined condition. When a plurality of detected edges are regarded as one packet, the edge extractor 300 does not extract edge information for all edges, and simply extracts the number of edges existing in the packet as edge information (hereinafter referred to as the number of edges). can do.

도 5는 도 4의 에지 추출부(300)에서 추출된 에지 정보의 일 실시예의 데이터 필드 구조를 도시하는 도면이다. 에지 정보는 수신단 구분, 에지의 종류, 에지가 수신된 시간을 포함하며, 에지의 종류는 상승 에지(rising edge), 하강 에지(falling edge), 널 에지, (하나의 패킷 내의) 에지의 개수를 포함할 수 있다. 수신단 구분은 서로 다른 캐리어 주파수를 가지는 신호에 대응하는 각각의 수신단을 나타낸다. 적외선 센서 및 그 후처리 구성(에지 검출부(250) 및 에지 추출부(300))은 여러 캐리어 주파수를 동시에 처리할 수 있는 하나의 하드웨어로 구현될 수도 있으나, 복수의 하드웨어가 각각 하나의 캐리어 주파수에 대응하도록 구현되는 것이 경제적일 수도 있다. FIG. 5 is a diagram illustrating a data field structure of an embodiment of edge information extracted by the edge extractor 300 of FIG. 4. Edge information includes the receiving end classification, the type of edge, and the time at which the edge was received. The type of edge includes the number of rising edge, falling edge, null edge, and number of edges (in one packet). It may include. Receiving end segmentation represents each receiving end corresponding to a signal having a different carrier frequency. The infrared sensor and its post-processing configuration (edge detector 250 and edge extractor 300) may be implemented in one piece of hardware capable of simultaneously processing multiple carrier frequencies, but a plurality of pieces of hardware may each be assigned to one carrier frequency. It may be economical to implement to correspond.

복수의 수신단이 각각 하나의 캐리어 주파수에 대응하는 경우, 복수의 캐리어 주파수 신호에 대해서는 각 처리 모듈이 병렬적으로 에지를 검출하고 에지 정보를 추출한다. 에지 정보를 각각의 수신단에 대하여 독립적으로 처리하는 경우, 메모리(400)에 저장되는 에지 정보는 수신단 구분 필드를 포함할 필요가 있다.When a plurality of receivers respectively correspond to one carrier frequency, each processing module detects edges and extracts edge information in parallel with respect to the plurality of carrier frequency signals. When edge information is processed independently for each receiver, the edge information stored in the memory 400 needs to include a receiver segment field.

검출된 에지가 상승 에지인지 하강 에지인지, 널 에지인지, 또는 복수의 에지들이 하나의 패킷으로 간주되는 경우 상기 패킷 내의 에지의 개수가 에지 정보로 생성되므로, 에지 정보에 의하여 패턴을 추출하기 위한 최소의 하드웨어 리소스를 이용하여 신속한 패턴 인식이 가능하다.If the detected edge is a rising edge, a falling edge, a null edge, or if a plurality of edges are regarded as one packet, the number of edges in the packet is generated as edge information, so that the minimum for extracting a pattern by edge information Fast pattern recognition is possible using hardware resources.

도 6은 수신되는 펄스 신호 및 추출되는 에지 정보의 일 실시예를 도시하는 도면이다. 신호 1과 신호 2는 서로 다른 수신단에 의하여 수신된 신호를 나타낸다. 여기서 추출되는 에지 정보는 도 5의 에지 정보의 데이터 구조를 일부 참고하였다. 도 5의 에지 정보와 비교하면, (패킷 내의) 에지 개수가 있는 경우 에지 개수를 따로 표시하는 부분(이하 에지 개수 데이터)이 추가되었으며, 에지가 검출된 시간의 정보는 생략되었다. 신호 1 채널에서, 최초로 상승 에지가 검출되었다. 에지 정보의 수신단 구분 영역 필드는 신호 1을 의미하는 0, 에지 종류 필드에는 상승 에지를 의미하는 00이 할당되며, 데이터 필드에는 제1 상승 에지가 검출된 시간에 대응하는 타이머 값이 할당된다 (xxxxxx). 제1 상승 에지는 시간적으로 가장 먼저 검출된 에지므로, 직접 메모리 접근 컨트롤러(350)에서 가장 빠른 주소를 할당받는다(addr=0). 6 is a diagram illustrating an embodiment of a received pulse signal and extracted edge information. Signal 1 and signal 2 represent signals received by different receivers. The edge information extracted here refers to a part of the data structure of the edge information of FIG. 5. Compared with the edge information of FIG. 5, when there is an edge number (in the packet), a portion (hereinafter, referred to as edge number data) indicating the number of edges is added, and information of the time at which the edge is detected is omitted. In the signal 1 channel, the rising edge was first detected. The receiving node division area field of the edge information is assigned 0, which means signal 1, 00, which means rising edge, and the data field, which is assigned a timer value corresponding to the time when the first rising edge is detected (xxxxxx). ). The first rising edge is the earliest detected edge in time and therefore is assigned the fastest address in the direct memory access controller 350 (addr = 0).

이후 제1 하강 에지가 검출되면, 수신단 구분 영역 필드는 0, 에지 종류 필드는 하강 에지를 의미하는 01이 할당되고, 데이터 필드에는 제1 하강 에지가 검출된 시간에 대응하는 타이머 값이 할당된다 (yyyyyyy). 제1 하강 에지는 직접 메모리 접근 콘트롤러(350)에서 제1 상승 에지의 다음 주소를 할당받는다(addr=1). 직접 메모리 접근 콘트롤러(350)는 수신단과 관계없이 순차적으로 주소를 생성하므로, 그 후 시간적으로 가장 빨리 검출된 에지인 신호 2 채널에서 추출된 패킷이 이후 주소를 할당받는다(addr=2). 신호 2에서는 복수 개의 에지가 패킷으로 간주될 수 있다. 에지 추출부(300)는 하나하나의 에지 정보를 추출하는 대신 패킷 내의 에지 개수를 하나의 에지 정보로서 생성할 수 있다. 이 때 생성되는 에지 정보의 수신단 구분은 신호 2에 대응하는 1, 에지 종류 필드는 패킷 내의 에지 개수를 의미하는 11이 있으며, 데이터 필드에는 에지의 개수인 0000003이 할당된다. 직접 메모리 접근 콘트롤러(350)가 6번 주소를 생성했을 때 (addr=6), 에지 추출부(300)는 신호 1 채널에서 널 에지(null edge)를 추출한다. 수신단 구분 필드는 신호 1을 의미하는 0, 에지 종류 필드는 널 에지를 의미하는 10이 할당되고, 데이터 필드에는 타이머 값이 저장되거나, 또는 널 에지임을 알리는 오버플로우된 값이 저장될 수 있다.Thereafter, when the first falling edge is detected, 0 is assigned to the receiving end division region field, 01 means a falling edge, and a data value is assigned a timer value corresponding to the time when the first falling edge is detected ( yyyyyyy). The first falling edge is assigned the next address of the first rising edge in the direct memory access controller 350 (addr = 1). Since the direct memory access controller 350 generates addresses sequentially irrespective of the receiving end, packets extracted from the signal 2 channel, which is the earliest detected edge in time, are subsequently assigned an address (addr = 2). In signal 2, a plurality of edges may be considered as packets. The edge extractor 300 may generate the number of edges in the packet as one edge information instead of extracting one edge information one by one. In this case, the receiving end of the edge information generated is 1 corresponding to signal 2, and the edge type field has 11 representing the number of edges in the packet, and the data field is allocated 0000003, which is the number of edges. When the direct memory access controller 350 generates address 6 (addr = 6), the edge extractor 300 extracts a null edge from the signal 1 channel. The receiving end division field may be assigned 0, which means signal 1, and the edge type field, 10, which means a null edge, and a data value may store a timer value or an overflowed value indicating that it is a null edge.

도 7은 도 2의 범용 수신 장치(200)의 직접 메모리 접근 컨트롤러(350)를 도시하는 도면이다. 직접 메모리 접근 컨트롤러(350)는 메인 프로세서(450)의 처리를 통하지 않고 메모리(400)에 접근하기 위한 수단으로, 직접 메모리접근 버퍼(360)와 Read/Write 제어부(370)를 포함한다. Read/Write 제어부(370)는 메모리(400)에 담긴 정보를 읽거나 메모리(400)에 정보를 기록할 수 있다. 직접 메모리접근 버퍼(360)는 메모리(400)에 담긴 정보를 읽거나 메모리(400)에 정보를 기록하려는 요청이 들어왔으나, Read/Write 제어부(370)에서 다른 작업을 수행하는 중이므로 요청에 즉시 응답할 수 없는 경우, 요청에 대한 내용을 저장하였다가 Read/Write 제어부(370)의 다른 작업이 끝나면 저장된 요청을 Read/Write 제어부(370)에 전송하는 역할을 한다. FIG. 7 is a diagram illustrating a direct memory access controller 350 of the general purpose reception apparatus 200 of FIG. 2. The direct memory access controller 350 is a means for accessing the memory 400 without the main processor 450 processing. The direct memory access controller 350 includes a direct memory access buffer 360 and a read / write controller 370. The read / write control unit 370 may read information contained in the memory 400 or record information in the memory 400. The direct memory access buffer 360 receives a request to read the information contained in the memory 400 or write the information to the memory 400, but immediately responds to the request because the read / write controller 370 is performing another task. If it cannot, it stores the contents of the request and transmits the stored request to the read / write control unit 370 when other operations of the read / write control unit 370 are finished.

도 8은 메모리(400)의 순환적 어드레스 구조를 도시하는 도면이다. 메모리(400)는 시작 주소(410)와 현재 주소(420)를 포함하며, 일정한 영역을 순환해서 사용하도록 설정될 수 있다(링 버퍼 형태). 메모리는 시작 주소(410)로부터 생성된 에지 정보를 순차적으로 저장하며, 링 버퍼 형태로 미리 정해진 N개의 에지 정보만 저장되도록 구현할 수 있다. 이 때 N은 링 버퍼의 크기이다. 도 6에서 설명되었듯이, 시간 순서대로 주소가 생성되므로, 메모리(400)는 시작 주소(410)로부터 시간 순서대로 추출된 에지 정보를 저장하고, , 현재 주소(420)는 시작 주소(410)로부터 출발하여 저장된 에지 정보의 개수가 증가함에 따라 이동한다. 링 버퍼 형태이므로, 에지 정보의 개수가 N개 (링 버퍼 크기)에 도달할 때 현재 주소(420)는 시작 주소(410)로 되돌아오며 링 버퍼 메모리의 저장 공간이 꽉 찬 상황이므로, 이 때 연산부(500)는 메모리(400)에 저장된 에지 정보를 모두 읽어 시간 정보를 추출하고 패턴을 분석한다. 앞에서 설명한 바와 같이 메모리(400)에 저장된 에지 정보는 시간 순서대로 순차적으로 저장되어 있으므로, 연산부(500)는 수신단 구분 필드, 에지 종류 필드, 데이터 필드 값에 따라 용이하게 펄스 신호를 시계열적으로 재구성할 수 있고, 패턴을 인식할 수 있다.8 is a diagram illustrating a recursive address structure of the memory 400. The memory 400 includes a start address 410 and a current address 420, and may be set to cyclically use a predetermined area (ring buffer type). The memory sequentially stores the edge information generated from the start address 410 and may be implemented such that only N pieces of predetermined edge information are stored in the form of a ring buffer. Where N is the size of the ring buffer. As described in FIG. 6, since addresses are generated in chronological order, the memory 400 stores edge information extracted in chronological order from the start address 410, and the current address 420 is stored from the start address 410. Starting and moving as the number of stored edge information increases. Since the ring buffer form, when the number of edge information reaches N (ring buffer size), the current address 420 is returned to the start address 410 and the storage space of the ring buffer memory is full. 500 reads all the edge information stored in the memory 400 to extract time information and to analyze the pattern. As described above, since the edge information stored in the memory 400 is sequentially stored in chronological order, the calculation unit 500 may easily reconstruct the pulse signal in time series according to the receiver segment field, edge type field, and data field value. Can recognize the pattern.

도 9는 도 2의 범용 수신 장치(200)의 연산부(500) 및 직접 메모리 접근 컨트롤러(350)를 도시하는 블록도이다. 도 9를 참조하면, 직접 메모리 접근 컨트롤러(350) 중 Read/Write 제어부(370)는 어드레스 제어부(380)와 Read/Write 회로(390)를 포함하며, 어드레스 제어부(380)는 메모리(400)에 원하는 어드레스를 발생시키거나 원하는 어드레스에 접근할 수 있도록 제어한다. Read/Write 회로(390)는 원하는 어드레스에 접근한 후 상기 어드레스에 저장된 값을 읽어서 저장하거나, 이미 저장된 값을 상기 어드레스에 기록하는 수단이다. FIG. 9 is a block diagram illustrating an operation unit 500 and a direct memory access controller 350 of the general purpose reception apparatus 200 of FIG. 2. 9, the read / write controller 370 of the direct memory access controller 350 includes an address controller 380 and a read / write circuit 390, and the address controller 380 is stored in the memory 400. Generate the desired address or control to access the desired address. The read / write circuit 390 is a means of reading and storing a value stored in the address after accessing a desired address, or writing a value already stored in the address.

연산부(500)는 뺄셈기(510), 서브 메모리(520), DSP 코어(530)를 포함한다. Read/Write 회로(390)는 제1 어드레스에 저장된 에지 정보 중 검출된 시간에 대한 정보를 읽는다. 이 때 제1 어드레스는 어드레스 제어부(380)에 의하여 생성된다. 그 후 어드레스 제어부(380)는 제1 어드레스에 인접한 제2 어드레스를 생성하고 Read/Write 회로(390)는 제2 어드레스에 저장된 에지 정보 중 검출된 시간에 대한 정보를 읽는다. Read/Write 회로(390)가 읽은 2개의 값을 바탕으로 뺄셈기(510)가 2개의 시간 값의 차이를 계산하고 서브 메모리(520)는 계산된 차이값을 저장한다. DSP 코어(530)는 서브 메모리(520)에 순차적으로 저장된 차이값을 바탕으로 패턴을 인식한다. 이러한 연산을 통하여, 연산부(500)는 메인 프로세서(450)와 무관하게 메모리(400)에 접근하여 수신된 펄스 신호의 패턴을 인식할 수 있다.The calculator 500 includes a subtractor 510, a sub memory 520, and a DSP core 530. The read / write circuit 390 reads information on a detected time of edge information stored at the first address. In this case, the first address is generated by the address controller 380. The address controller 380 then generates a second address adjacent to the first address, and the read / write circuit 390 reads information about the detected time from the edge information stored at the second address. Based on the two values read by the read / write circuit 390, the subtractor 510 calculates a difference between the two time values, and the sub memory 520 stores the calculated difference value. The DSP core 530 recognizes the pattern based on the difference values sequentially stored in the sub memory 520. Through this operation, the operation unit 500 may recognize the pattern of the received pulse signal by approaching the memory 400 regardless of the main processor 450.

본 발명의 범용 수신 장치(200)는 리모트 컨트롤러 또는 3D 셔터 안경에 적용될 수 있다. 디스플레이 측으로부터 서로 다른 시간 동안 좌안, 우안 영상을 받아 좌안 및 우안의 개폐 상태를 조절하는 3D 셔터 안경의 경우, 디스플레이 장치는 제조 회사가 정한 일정한 패턴의 신호를 일정한 주기로 3D 셔터 안경에 전송하므로, 모든 제조 회사가 정한 전송하는 신호의 패턴을 인식하고 있는 경우, 모든 제품에서 수신된 신호의 패턴을 연산부(500)의 동작만으로도 패턴을 인식할 수 있다.The general-purpose receiver 200 of the present invention may be applied to a remote controller or 3D shutter glasses. In the case of 3D shutter glasses that receive left and right eye images for different times from the display side and adjust the opening and closing states of the left and right eyes, the display device transmits a predetermined pattern of signals determined by the manufacturer to the 3D shutter glasses at regular intervals. When the pattern of the signal to be determined by the manufacturer is recognized, the pattern of the signal received in all products can be recognized only by the operation of the operation unit 500.

도 10은 도 2의 범용 수신 장치(200)의 중 패턴 인식부(550)를 도시하는 블록도이다. 패턴 인식부(550)는 추출된 에지 정보를 순차적으로 레지스터에 저장하고, 프로그램 가능한 M개의 제어 레지스터(560)에 미리 저장된 기준 패턴과 상기 순차적으로 저장된 에지 정보를 비교하여 일치하는 경우 수신한 신호를 가 기준 패턴으로 인식하며, 제어레지스터부(560)와 패턴 비교부(570)를 포함한다. 도 10에서는 설명의 편의를 위해 기준 패턴이 1개인 경우를 가정한다. 패턴 인식부(550)는 에지 추출부(300) 로부터 추출된 에지 정보를 입력받아 순차적으로 레지스터에 저장한다. 제어레지스터부(560)에서는 기준 패턴에 대한 에지 정보가 미리 저장되어 있으며, 기준 패턴에 대응하는 M개의 에지 정보는 외부에서 프로그램 가능하다. 패턴 비교부(570)는 가장 먼저 저장된 에지 정보와 제어레지스터부(560) 중 제1 제어레지스터에 저장된 값와 비교한다. 만약 서로 다르면 기준 패턴이 아니므로 더 이상 확인할 필요가 없으며, 같다면 그 후 레지스터에 저장된 추출된 에지정보와 제2 제어레지스터에 저장된 값을 비교한다. 이러한 과정을 통하여, M개의 제어레지스터에 저장된 정보와 레지스터에 저장된 추출된 에지 정보가 모두 같다면 패턴 인식부(550)는 수신한 신호의 패턴을 기준 패턴으로 인식한다. 도 10에서는 기준 패턴이 1개인 경우를 예로 들어 설명하였으나, 병렬적으로 레지스터에 순차적으로 추출된 에지 정보와 미리 저장된 N개의 기준 패턴을 비교하는 경우, 수신한 신호가 N개의 기준 패턴 중 어느 하나에 해당하는지 여부를 신속하게 실시간으로 판단할 수 있다.FIG. 10 is a block diagram illustrating the pattern recognition unit 550 of the general purpose reception apparatus 200 of FIG. 2. The pattern recognition unit 550 sequentially stores the extracted edge information in a register, compares the reference pattern previously stored in the programmable M control registers 560 with the sequentially stored edge information, and matches the received signal when the match is performed. Is recognized as a reference pattern, and includes a control register unit 560 and a pattern comparison unit 570. In FIG. 10, it is assumed that there is one reference pattern for convenience of description. The pattern recognition unit 550 receives the edge information extracted from the edge extraction unit 300 and sequentially stores the edge information. In the control register unit 560, edge information of the reference pattern is stored in advance, and M edge information corresponding to the reference pattern is externally programmable. The pattern comparison unit 570 compares the edge information stored first with a value stored in the first control register among the control registers 560. If different from each other, it is not a reference pattern, so it is not necessary to check any more. If the same is different, the extracted edge information stored in the register is compared with the value stored in the second control register. Through this process, if the information stored in the M control registers and the extracted edge information stored in the register are the same, the pattern recognition unit 550 recognizes the pattern of the received signal as a reference pattern. In FIG. 10, the case where one reference pattern is one is described as an example. However, when comparing edge information sequentially extracted in registers to N reference patterns stored in advance, a received signal is included in any one of N reference patterns. It can be quickly determined in real time.

패턴 인식부(550)가 원활히 동작하고 있는 경우, 실시간으로 수신한 신호의 패턴을 인식할 수 있으며, 신속하게 실시간으로 패턴을 인식함에도 불구하고 연산부(500) 및 메인 프로세서(450)에 추가적인 부담을 주지 않는다. 다만, 노이즈가 심하여 에지 검출부(250) 등에서 노이즈가 충분히 제거되지 못하는 경우에는, 원치 않는 에지가 검출될 수 있다. 노이즈에 의하여 원치 않는 에지가 검출되면 널 에지의 생성 조건을 충족하지 못하여 패턴 인식부(550)가 패턴을 원활하게 인식하지 못할 수 있으므로 패턴 인식부(550)가 패턴을 인식하지 못한 채로 소정의 시간이 경과하거나, 메모리(400)에 에지 정보가 링 버퍼 크기만큼 저장되는 경우, 메모리(400)에 축적된 에지 정보를 이용하여 연산부(500)가 패턴을 인식한다.When the pattern recognition unit 550 operates smoothly, the pattern of the received signal can be recognized in real time, and even though the pattern is recognized in real time, additional burden is placed on the operation unit 500 and the main processor 450. Do not give. However, when the noise is severe and the edge detector 250 or the like is not sufficiently removed, unwanted edges may be detected. If an unwanted edge is detected by noise, the pattern recognition unit 550 may not recognize the pattern smoothly because it does not satisfy the condition for generating the null edge, and thus the pattern recognition unit 550 does not recognize the pattern for a predetermined time. When the elapsed time or the edge information is stored in the memory 400 by the ring buffer size, the calculation unit 500 recognizes the pattern by using the edge information stored in the memory 400.

또한, 본 발명에 따른 범용 수신장치(200)의 패턴 인식 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.In addition, the pattern recognition method of the general-purpose receiving apparatus 200 according to the present invention may be implemented in the form of program instructions that can be executed by various computer means and recorded in a computer-readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the media may be those specially designed and constructed for the purposes of the present invention, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, such as floppy disks. Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The foregoing description is merely illustrative of the technical idea of the present invention, and various changes and modifications may be made by those skilled in the art without departing from the essential characteristics of the present invention. Therefore, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention but to describe the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The protection scope of the present invention should be interpreted by the following claims, and all technical ideas within the equivalent scope should be interpreted as being included in the scope of the present invention.

200 : 범용 수신장치
250 : 에지 검출부
300 : 에지 추출부
350 : 직접 메모리 접근 컨트롤러
400 : 메모리
450 : 메인 프로세서
500 : 연산부
550 : 패턴 인식부
200: general purpose receiver
250: edge detector
300: edge extraction unit
350: direct memory access controller
400: memory
450: main processor
500: calculation unit
550: pattern recognition unit

Claims (8)

수신된 펄스 신호의 에지를 검출하는 에지 검출부;
상기 검출된 에지에 대한 에지 정보 - 상기 에지 정보는 상기 검출된 에지와 관련된 시간 정보를 포함함 - 를 추출하는 에지 추출부;
순차적으로 어드레스를 추출하고, 상기 추출된 에지 정보를 상기 어드레스를 이용하여 메인 프로세서를 거치지 않고 메모리에 직접 저장하는 직접 메모리 접근 컨트롤러; 및
상기 메모리에 순차적으로 저장된 에지 정보의 개수가 미리 정해진 N개를 초과하는 경우, 상기 메모리에 순차적으로 저장된 에지 정보를 함께 읽어 시간 정보를 추출하고 패턴을 분석하는 연산부;
를 포함하는 범용 수신 장치.
An edge detector detecting an edge of the received pulse signal;
An edge extractor for extracting edge information for the detected edge, the edge information including time information associated with the detected edge;
A direct memory access controller which sequentially extracts an address and stores the extracted edge information directly in a memory without passing through the main processor using the address; And
An operation unit for extracting time information and analyzing patterns by reading edge information sequentially stored in the memory together when the number of edge information sequentially stored in the memory exceeds N pieces;
Universal receiving device comprising a.
수신된 펄스 신호의 에지를 검출하는 에지 검출부;
상기 검출된 에지에 대한 에지 정보 - 상기 에지 정보는 상기 검출된 에지와 관련된 시간 정보를 포함함 - 를 추출하는 에지 추출부;
순차적으로 어드레스를 추출하고, 상기 추출된 에지 정보를 상기 어드레스를 이용하여 메인 프로세서를 거치지 않고 메모리에 직접 저장하는 직접 메모리 접근 컨트롤러;
레지스터를 구비하고, 상기 추출된 에지 정보를 순차적으로 상기 레지스터에 저장하고, 프로그램 가능한 M개의 제어 레지스터에 미리 저장된 기준 패턴과 상기 레지스터에 순차적으로 저장된 에지 정보를 비교하여 패턴 일치 여부를 판정하는 패턴 인식부; 및
상기 메모리에 순차적으로 저장된 에지 정보의 개수가 미리 정해진 N개를 초과하거나 또는 상기 패턴 인식부가 기준 시간 동안 일치하는 패턴을 찾지 못하는 경우, 상기 메모리에 순차적으로 저장된 에지 정보를 함께 읽어 시간 정보를 추출하고 패턴을 분석하는 연산부;
를 포함하는 범용 수신 장치.
An edge detector detecting an edge of the received pulse signal;
An edge extractor for extracting edge information for the detected edge, the edge information including time information associated with the detected edge;
A direct memory access controller which sequentially extracts an address and stores the extracted edge information directly in a memory without passing through the main processor using the address;
A pattern recognition having a register, and sequentially storing the extracted edge information in the register, and comparing the reference pattern stored in advance in the M programmable control registers with the edge information sequentially stored in the register to determine pattern matching. part; And
If the number of edge information sequentially stored in the memory exceeds a predetermined number of N or the pattern recognition unit cannot find a matching pattern for a reference time, the edge information stored in the memory is sequentially read together to extract time information. An operation unit analyzing a pattern;
Universal receiving device comprising a.
삭제delete 제1항에 있어서,
상기 에지 추출부는,
상기 검출된 에지의 상승 여부, 상기 검출된 에지의 하강 여부, 상기 검출된 에지에 대응하는 타이머 정보, 하나의 패킷을 형성하는 것으로 간주되는 일련의 검출된 에지의 개수, 또는 상기 에지가 검출된 후 기준 시간이 경과하였는지 여부 중 적어도 하나 이상을 포함하는 정보를 상기 에지 정보로 추출하는 범용 수신 장치.
The method of claim 1,
The edge extraction unit,
Whether the detected edge is raised, whether the detected edge is falling, timer information corresponding to the detected edge, the number of a series of detected edges deemed to form one packet, or after the edge is detected General purpose receiving apparatus for extracting information including at least one or more of whether a reference time has elapsed as the edge information.
제1항에 있어서,
상기 직접 메모리 접근 컨트롤러는,
상기 메모리에 상기 추출된 에지 정보가 저장되기 시작한 시작 어드레스 포인터, 및 가장 최근의 에지 정보가 저장된 현재 어드레스 포인터를 이용하여 상기 메모리를 링 버퍼 구조로 관리하는 범용 수신 장치.
The method of claim 1,
The direct memory access controller,
And managing the memory in a ring buffer structure by using a start address pointer at which the extracted edge information starts to be stored in the memory, and a current address pointer in which the latest edge information is stored.
일련의 펄스 신호를 수신하고 패턴을 분석하는 범용 수신 장치의 패턴 인식 방법에 있어서,
수신된 펄스 신호 각각의 에지를 검출하는 단계;
상기 검출된 에지로부터 상승 또는 하강, 시간 간격 정보를 추출하여 에지 정보를 추출하는 단계;
상기 추출된 에지 정보를 메인 프로세서를 거치지 않고 직접 메모리에 순차적으로 저장하는 단계; 및
상기 메모리에 저장된 에지 정보의 개수가 기준값 N에 도달하면 상기 N개의 에지 정보를 읽어 시간 간격 정보를 추출하고 패턴을 분석하는 단계
를 포함하는 범용 수신 장치의 패턴 인식 방법.
In the pattern recognition method of a general-purpose receiver for receiving a series of pulse signals and analyzing a pattern,
Detecting an edge of each of the received pulse signals;
Extracting edge information by extracting rising or falling time interval information from the detected edge;
Sequentially storing the extracted edge information directly in a memory without passing through the main processor; And
When the number of edge information stored in the memory reaches the reference value N, reading the N edge information to extract the time interval information and analyze the pattern
Pattern recognition method of a general-purpose receiving device comprising a.
제6항에 있어서,
상기 메모리에 저장된 에지 정보의 개수에 무관하게 상기 추출된 에지 정보를 프로그램 가능한 M개의 제어 레지스터에 미리 저장된 기준 패턴과 비교하여 패턴 일치 여부를 판정하는 단계;
를 더 포함하는 범용 수신 장치의 패턴 인식 방법.
The method of claim 6,
Determining whether the pattern matches by comparing the extracted edge information with a reference pattern previously stored in the M programmable registers regardless of the number of edge information stored in the memory;
Pattern recognition method of a general-purpose receiving device further comprising.
제6항 및 제7항 중 어느 한 항의 방법을 실행하기 위한 프로그램이 기록되어 있는 것을 특징으로 하는 컴퓨터에서 판독 가능한 기록 매체.A computer-readable recording medium in which a program for executing the method of any one of claims 6 and 7 is recorded.
KR1020100096843A 2010-10-05 2010-10-05 Universal receiver and pattern recognition method thereof KR101132950B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100096843A KR101132950B1 (en) 2010-10-05 2010-10-05 Universal receiver and pattern recognition method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100096843A KR101132950B1 (en) 2010-10-05 2010-10-05 Universal receiver and pattern recognition method thereof

Publications (1)

Publication Number Publication Date
KR101132950B1 true KR101132950B1 (en) 2012-04-09

Family

ID=46143195

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100096843A KR101132950B1 (en) 2010-10-05 2010-10-05 Universal receiver and pattern recognition method thereof

Country Status (1)

Country Link
KR (1) KR101132950B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010011805A (en) * 1999-07-30 2001-02-15 정경진 Remote control signal analyzer and apparatus and method for developing multibrand remote controller using the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010011805A (en) * 1999-07-30 2001-02-15 정경진 Remote control signal analyzer and apparatus and method for developing multibrand remote controller using the same

Similar Documents

Publication Publication Date Title
US10043064B2 (en) Method and apparatus of detecting object using event-based sensor
US20140168057A1 (en) Gyro aided tap gesture detection
CN109446942A (en) Method for tracking target, device and system
CN105700363A (en) Method and system for waking up smart home equipment voice control device
CN103295028A (en) Gesture operation control method, gesture operation control device and intelligent display terminal
CN105989581A (en) Image stabilizing apparatus and method
KR20140014129A (en) Method and system for multimodal and gestural control
KR102357965B1 (en) Method of recognizing object and apparatus thereof
KR20160087738A (en) Method and apparatus of detecting object using event-based sensor
CN105676693A (en) Method and system for data synchronization of vehicle sensor in automatic driving
CN109086734A (en) The method and device that pupil image is positioned in a kind of pair of eye image
US9608470B2 (en) Bank card presence detection to avoid a wireless charger demagnetizing a bank card
WO2015185022A1 (en) Apparatus and method for extracting residual videos in dvr hard disk and deleted videos
CN104061749A (en) Refrigerator food storage position recording method, device and terminal and refrigerator
CN107831987B (en) False touch control method and device for preventing gesture operation
WO2018095194A1 (en) Image analysis method and device
CN105392045B (en) Video playing processing method and system
CN105492868A (en) Half step frequency feature for reliable motion classification
US20170316669A1 (en) Information processing device, information processing method, and computer program
CN107851129B (en) Information processing apparatus, information processing method, and program
CN109714233B (en) Home control method and corresponding routing equipment
KR101132950B1 (en) Universal receiver and pattern recognition method thereof
KR101132951B1 (en) Universal receiver and pattern recognition method thereof
CN105590330A (en) Indoor plane generation method, server and system based on crowd sensing
CN106375654B (en) Apparatus and method for controlling web camera

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: 20150119

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20151223

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20161227

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20180102

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20190102

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20200102

Year of fee payment: 9