CN101452643B - Learning type infrared remote-controller - Google Patents

Learning type infrared remote-controller Download PDF

Info

Publication number
CN101452643B
CN101452643B CN2007101714494A CN200710171449A CN101452643B CN 101452643 B CN101452643 B CN 101452643B CN 2007101714494 A CN2007101714494 A CN 2007101714494A CN 200710171449 A CN200710171449 A CN 200710171449A CN 101452643 B CN101452643 B CN 101452643B
Authority
CN
China
Prior art keywords
infrared
signals
learning
signal
chip microcomputer
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN2007101714494A
Other languages
Chinese (zh)
Other versions
CN101452643A (en
Inventor
顾晓虹
王会刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRM ICBG Wuxi Co Ltd
Original Assignee
Wuxi China Resources Semico Co Ltd
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 Wuxi China Resources Semico Co Ltd filed Critical Wuxi China Resources Semico Co Ltd
Priority to CN2007101714494A priority Critical patent/CN101452643B/en
Publication of CN101452643A publication Critical patent/CN101452643A/en
Application granted granted Critical
Publication of CN101452643B publication Critical patent/CN101452643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • Details Of Television Systems (AREA)

Abstract

The invention discloses a learning-oriented infrared remote controller, which comprises an infrared transmitting device, an infrared receiving device, a memory, a keystroke operating device and a singlechip, wherein the infrared transmitting device, the infrared receiving device, the memory and the keystroke operating device are connected with the singlechip respectively; the infrared receiving device receives infrared transmitting signals of the remote controller required to be learnt, converts the infrared transmitting signals into square wave signals, and inputs the square wave signals into the singlechip; the singlechip identifies the code pattern of the received square wave signals through a timing program and an identification code identification program in the singlechip, compresses obtained data signals, and stores the data signals into the memory; and the infrared transmitting device reads signals which are decompressed by the singlechip and subjected to data processing according to code pattern marks from the memory, and transmits the signals. The learning-oriented infrared remote controller can perform learning, carrier wave and tracking on various turnover codes of the infrared transmitting signals of the remote controller required to be learnt, so as to effectively improve the learning ability of the learning-oriented infrared remote controller.

Description

A kind of learning type infrared remote-controller
Technical field
The present invention relates to a kind of electronic information control device, the Infrared remote controller of particularly a kind of tool turnover codes study and carrier track function.
Background technology
At present, set-top box uses popularity to improve, many cities have begun the use of digital TV network, but the replacing of considering TV is so not fast, so the set-top box short time becomes focus, set-top box remote controller also becomes essential product, thereby and possesses the study remote controller that learning functionality reaches the two-in-one complex function of set-top box+TV remote-control and become main flow.But there is defective in various degree in telepilot scheme in the market, lays particular stress on the remote control mode waveshape learning, lacks the comprehensive judgement to the sign indicating number type, thereby for RC5, RC6, turnover codes type learning abilities such as M4003 a little less than, and can not be fully up to expectations aspect carrier wave study.
Therefore our telepilot that need develop a kind of tool turnover codes study and carrier track ability solves the problem of current appearance.
Summary of the invention
In order to solve the problem that prior art exists, the invention provides a kind of learning type infrared remote-controller with turnover codes study and carrier track ability.
The present invention can be solved by the following technical programs:
A kind of learning type infrared remote-controller, comprise infrared emission and infrared receiving device, storer, key operation device, single-chip microcomputer, and infrared emission, infrared receiving device, storer, key operation device are connected with single-chip microcomputer respectively, infrared receiving device wherein, it receives the infrared emission signal of the telepilot that needs study, and be converted into the square-wave signal of being with carrier wave, be input to single-chip microcomputer; Single-chip microcomputer carries out a yard type identification through its inner timing program, identification code recognizer to this signal to the square-wave signal that receives, and after the gained data-signal compressed, it is stored in the storer; Infrared launcher reads from storer through single-chip microcomputer and decompresses, and carries out signal after the data processing according to the sign indicating number phenotypic marker, and it is sent out.
Identification code recognizer of the present invention comprises analyzing by the temporal information that obtains behind the timing program, and with eigenwert relatively, confirming the turnover codes model, and the flip bit of turnover codes is converted to 0.
When timing program of the present invention is included in second group of duplication code of the infrared emission signal that receives the telepilot that needs study, carrier wave to the high level of the infrared emission signal of first telepilot that need learn is counted, and calculates carrier cycle numerical value.
Timing program of the present invention uses common 8 bit timing devices, also can use 8 CCP/PWM timers.
Singlechip chip model of the present invention is CS8R01, also can adopt CS8K01.
Storer of the present invention is external EEPROM.
Owing to adopt above technical scheme, telepilot of the present invention can be learnt most TV remote-control sign indicating numbers, there are 35 kinds through what test at present, comprise width modulation sign indicating number and phase modulation (PM) sign indicating number, turnover codes such as RC5, RC6-MO, RC6-M6, M3004, THOMSON, the more special sign indicating number types of encoding ratio such as 708 pulse codes and IX0773, RCA-01, the longest study 160 bit codes, from 20KHz to 60KHz, error is less than 2% to the tracking of carrier wave, and needs only 64 bytes of the data of preserving.
Description of drawings
Fig. 1 is apparatus of the present invention block scheme;
Fig. 2 is turnover codes study part process flow diagram of the present invention;
Fig. 3 is a carrier track part process flow diagram of the present invention.
Embodiment
With reference to the accompanying drawings the present invention is further described below:
As shown in Figure 1, a kind of learning type infrared remote-controller, comprise infrared launcher 2, infrared receiving device 1, storer 4, key operation device 5, single-chip microcomputer 3, and infrared launcher 2, infrared receiving device 1, storer 4, key operation device 5 are connected with single-chip microcomputer 3 respectively, wherein infrared receiving device 1, it receive to need the infrared emission signal of the telepilot of study, and is converted into square-wave signal and is input to single-chip microcomputer 3; Single-chip microcomputer 3 carries out a yard type identification through its inner timing program, identification code recognizer to this signal to the square-wave signal that receives, and after the gained data-signal compressed, it is stored in the storer 4; Infrared launcher 2 reads from storer 4 through single-chip microcomputer 3 and decompresses, and carries out signal after the data processing according to the sign indicating number phenotypic marker, and it is sent out.The singlechip chip model is CS8R01, also can adopt CS8K01.Storer adopts external EEPROM among the present invention.
As shown in Figure 2, when carrying out turnover codes study, infrared receiving device 1 receives the infrared emission signal of the telepilot that needs study, be input to single-chip microcomputer 3 after being converted into square-wave signal, in single-chip microcomputer 3 by the temporal information of timing program gained is analyzed, relatively confirm the turnover codes model according to eigenwerts such as code length, high-low level number and time spans, in the storage data, have a byte to place turnover codes model data specially.In addition, flip bit may also may be 1 for 0 in the data of acquiring, and terse for launching procedure need be converted to a kind of when storage, is 0 in this scheme.In launching procedure, the emitting times variable is set, change the flip bit of turnover codes according to the parity of this variable, the mode that the position of turnover codes and data change obtains by turnover codes model data.
As shown in Figure 3, carrier track solves by following program in the CS8R01 scheme: infrared receiving device 1 is counted the carrier wave of first high level when second group of duplication code of the infrared emission signal that receives the telepilot that needs study, and first high level time with first group of duplication code of the infrared emission signal of the telepilot that need learn finishing after obtains cycle numerical value divided by count value.And dutycycle is not done metering, is fixed as 1/2.This mode is inoperative for the sign indicating number type of not sending out duplication code, and can only carrier frequency be set to the most frequently used 38KHz this moment.Because timing and counting process all need software that pin level is judged, unavoidably can produce error, have only that to measure ability when the carrier wave count value is big more accurate.Use timer 1 to produce carrier wave in addition when emission, its clock is a cpu clock, and when using the 4M crystal oscillator, each carrier cycle error is that 1us is to 2us.
Carrier track mainly solves by hardware in the CS8K01 scheme, 8 CCP/PWM timers of a special use in control chip, have been designed, when being set to the CCP pattern, can capture the cycle and the dutycycle of a square wave, and after one-period is finished, just stop, not influenced by waveform subsequent.This mode only needs software overhead seldom just can learn to follow the tracks of carrier frequency, can not produce the problem of study less than carrier wave, also can not produce error because of software.In order to improve precision, the clock of this timer is the crystal oscillator clock, does not pass through frequency division, and error in dipping is 0.25us when using the 4M crystal oscillator, and timer is set to PWM mode producing carrier wave during emission, does not produce the error increment.
For conserve memory, the learning remote control sign indicating number had only for the first bit code time directly stored, carry out encoding compression since second bit code, each timing finishes, all compare with the standard time of preserving in the past, in error range (± 64us) preserve the standard time sequence number, go beyond the scope and then set up the new standard time.Consider actual remote control coding rule, high-low level time substantially all is no more than 4 kinds, thereby only need preserve the 2bit compressed code.Receiving course is handled data after finishing.Except type is made accurate judgment, also need to carry out consolidation, and be 0 yard the flip bit unification to time data.The sign indicating number type handles laggard line time calibration, compression and duplication code is handled, be to save storage space, except that the recurrence interval the time all the other chronomeres be compressed to 16us.Final data is compressed to 64 bytes, writes external EEPROM.
Above embodiment is the unrestricted technical scheme of the present invention in order to explanation only.Any modification or partial replacement that does not break away from spirit and scope of the invention all should be encompassed in the middle of the claim scope of the present invention.

Claims (5)

1. a learning type infrared remote-controller is characterized in that, comprises infrared emission and infrared receiving device, storer, key operation device, single-chip microcomputer, and infrared emission, infrared receiving device, storer, key operation device be connected with single-chip microcomputer respectively, wherein
Infrared receiving device, it receives the infrared emission signal of the telepilot that needs study, and is converted into the square-wave signal of band carrier wave, is input to single-chip microcomputer;
Single-chip microcomputer carries out a yard type identification through its inner timing program, identification code recognizer to this signal to the square-wave signal that receives, and after the gained data-signal compressed, it is stored in the storer;
Infrared launcher reads from storer through single-chip microcomputer and decompresses, and carries out signal after the data processing according to the sign indicating number phenotypic marker, and it is sent out.
2. a kind of learning type infrared remote-controller according to claim 1, it is characterized in that, described identification code recognizer comprises analyzing by the temporal information that obtains behind the timing program, and with code length, high-low level number and time span combination in one or several eigenwerts relatively, confirming the turnover codes model, and the flip bit of turnover codes is converted to 0.
3. a kind of learning type infrared remote-controller according to claim 1 and 2, it is characterized in that, when described timing program is included in second group of duplication code of the infrared emission signal that receives the telepilot that needs study, carrier wave to first high level of described second group of duplication code is counted, and calculates carrier cycle numerical value.
4. a kind of learning type infrared remote-controller according to claim 1 and 2 is characterized in that, described timing program uses the CCP pattern of 8 bit timing devices.
5. a kind of learning type infrared remote-controller according to claim 1 and 2 is characterized in that, described timing program uses 8 PWM timers.
CN2007101714494A 2007-11-30 2007-11-30 Learning type infrared remote-controller Active CN101452643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101714494A CN101452643B (en) 2007-11-30 2007-11-30 Learning type infrared remote-controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101714494A CN101452643B (en) 2007-11-30 2007-11-30 Learning type infrared remote-controller

Publications (2)

Publication Number Publication Date
CN101452643A CN101452643A (en) 2009-06-10
CN101452643B true CN101452643B (en) 2010-12-08

Family

ID=40734856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101714494A Active CN101452643B (en) 2007-11-30 2007-11-30 Learning type infrared remote-controller

Country Status (1)

Country Link
CN (1) CN101452643B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063785B (en) * 2010-11-12 2013-03-13 四川长虹电器股份有限公司 Method for automatically emitting infrared remote control signals and system thereof
CN103426290B (en) * 2013-07-18 2016-12-28 惠州市和易科技有限公司 A kind of intelligent remote controller coding theory learning method
CN103426292B (en) * 2013-09-03 2015-11-11 湖南工业大学 A kind of Infrared remote controller and infrared coding learning method, launching technique
CN105281777B (en) * 2014-07-04 2018-09-18 Tcl集团股份有限公司 A kind of compression method, system and the remote controler of remote controler learning data
CN105355032B (en) * 2014-08-22 2019-06-04 无锡华润矽科微电子有限公司 It is built-in can repeatedly programmable memory learning-oriented remote-control circuit structure and learning method
CN105894792A (en) * 2014-12-02 2016-08-24 无锡比益特科技有限公司 Studying and encoding method for efficient infrared remote control
CN105959752A (en) * 2016-04-29 2016-09-21 镇江惠通电子有限公司 Terminal and remote control terminal matching method and device, and remote control terminal
CN105957332A (en) * 2016-06-30 2016-09-21 北京海尔广科数字技术有限公司 Method for learning and using infrared remote controller codes and learning type remote controller
CN106097701A (en) * 2016-07-29 2016-11-09 无锡思泰迪半导体有限公司 A kind of infrared chip test platform based on FPGA
CN106679107B (en) * 2017-01-10 2019-01-29 珠海格力电器股份有限公司 Air conditioning control method and device
CN106781425A (en) * 2017-01-18 2017-05-31 福建省光速达物联网科技股份有限公司 A kind of method of IR remote controller Signal Compression storage
CN107730868A (en) * 2017-09-11 2018-02-23 深圳市劳沃智能科技有限公司 The compression and storage method and device of infrared learning coded data
CN109709837A (en) * 2018-11-23 2019-05-03 上海琪埔维半导体有限公司 A kind of data processing method suitable for singlechip chip

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1119474A (en) * 1993-03-17 1996-03-27 德国汤姆逊-布朗特公司 Remote control method and device
EP0763806A1 (en) * 1995-09-15 1997-03-19 Thomson multimedia Method and device for learning an IR code
CN1300041A (en) * 1999-12-13 2001-06-20 胡章儒 Memory format or remote control command
CN2852287Y (en) * 2005-12-06 2006-12-27 揭雪强 Infrared remote control signal transfer apparatus
CN1941820A (en) * 2005-09-28 2007-04-04 揭雪强 Wirless telephone with infrared remote-controlled signal self-studying and converting functions

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1119474A (en) * 1993-03-17 1996-03-27 德国汤姆逊-布朗特公司 Remote control method and device
EP0763806A1 (en) * 1995-09-15 1997-03-19 Thomson multimedia Method and device for learning an IR code
CN1300041A (en) * 1999-12-13 2001-06-20 胡章儒 Memory format or remote control command
CN1941820A (en) * 2005-09-28 2007-04-04 揭雪强 Wirless telephone with infrared remote-controlled signal self-studying and converting functions
CN2852287Y (en) * 2005-12-06 2006-12-27 揭雪强 Infrared remote control signal transfer apparatus

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
李湘闽,唐宏,葛继.学习型红外遥控器.红外 8.2004,(8),33-36.
李湘闽,唐宏,葛继.学习型红外遥控器.红外 8.2004,(8),33-36. *
芦健,彭军,颜自勇,陈文芗.自学习型智能红外遥控器设计.国外电子测量技术25 8.2006,25(8),63-66.
芦健,彭军,颜自勇,陈文芗.自学习型智能红外遥控器设计.国外电子测量技术25 8.2006,25(8),63-66. *

Also Published As

Publication number Publication date
CN101452643A (en) 2009-06-10

Similar Documents

Publication Publication Date Title
CN101452643B (en) Learning type infrared remote-controller
CN102881150B (en) infrared remote control signal learning module and remote control device
CN103236891B (en) System and method for testing dedicated short range communication (DSRC) equipment
US20130300577A1 (en) Collecting utility data information and conducting reconfigurations, such as demand resets, in a utility metering system
CN102354443A (en) Wireless infrared (IR) remote control device and operating method thereof
CN101201970A (en) Self-adaptive decoding method for wireless remote control receiving chip
CN102298685A (en) Automotive electronic radio-frequency identification parameter detecting system based on virtual instrument
CN203673574U (en) Safety IC card intelligent gas meter capable of remotely and wirelessly transmitting
CN104869202A (en) Production line calibration comprehensive test method and production line calibration comprehensive test device
CN105553575A (en) System and method for binding SN (Serial Number) of intelligent refrigerator with MAC (Media Access Control) address
CN101609604A (en) The control method of infrared learning
CN203812005U (en) Gps time service system
KR20190093339A (en) Advanced remote meter reading system
CN102281457A (en) Remote monitoring device for digital TV signal quality, and implementation method thereof
CN104796938A (en) Micropower wireless communication error rate detection analyzer
CN102063785B (en) Method for automatically emitting infrared remote control signals and system thereof
CN114679716A (en) Ultra-low power consumption digital baseband system based on ultrahigh frequency RFID (radio frequency identification) tag chip
CN113114386B (en) Radio frequency parameter monitoring and early warning method and device for road side unit
CN102708665B (en) Broadband code signal detection circuit and wireless remote signal decoding circuit thereof
CN201364384Y (en) Frequency agility self-adapting radar frequency control device
CN109828247B (en) Method and device for simulating target signal in near zone of code phase modulation pulse Doppler fuze
CN116229699B (en) Output signal control system of infrared remote control receiving chip
CN202694547U (en) Broadband coded signal detection circuit and wireless remote control signal decoding circuit thereof
CN202282036U (en) Radio frequency identification (RFID) system capable of calibrating time
Golubic et al. Verification of the Legacy Compatibility of the MIPI I3C Master

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 214135 -6, Linghu Avenue, Wuxi Taihu international science and Technology Park, Wuxi, Jiangsu, China, 180

Patentee after: China Resources micro integrated circuit (Wuxi) Co., Ltd

Address before: 301 room 214000, information industry zone, Wuxi New District, Jiangsu

Patentee before: WUXI CHINA RESOURCES SEMICO Co.,Ltd.

CP03 Change of name, title or address