CN101465050A - Method for controlling controlled electric appliance through remote controller and remote controller - Google Patents

Method for controlling controlled electric appliance through remote controller and remote controller Download PDF

Info

Publication number
CN101465050A
CN101465050A CN 200710125256 CN200710125256A CN101465050A CN 101465050 A CN101465050 A CN 101465050A CN 200710125256 CN200710125256 CN 200710125256 CN 200710125256 A CN200710125256 A CN 200710125256A CN 101465050 A CN101465050 A CN 101465050A
Authority
CN
China
Prior art keywords
remote control
control mode
telepilot
bit
electric appliance
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.)
Granted
Application number
CN 200710125256
Other languages
Chinese (zh)
Other versions
CN101465050B (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN 200710125256 priority Critical patent/CN101465050B/en
Publication of CN101465050A publication Critical patent/CN101465050A/en
Application granted granted Critical
Publication of CN101465050B publication Critical patent/CN101465050B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention provides a method for controlling a controlled electrical appliance through a remote controller, and the remote controller. The remote controller comprises a check bit generation module and a triggering bit generation module, wherein, the triggering bit generation module is used for generating a triggering bit, the triggering bit is used for the controlled electrical appliance to identify a continuation code; the check bit generation module is used for generating a check bit, and the check bit is used for the controlled electrical appliance to judge whether a remote control code emitted by the remote controller is correct or not. The technical scheme provided by the invention enables the controlled electrical appliance to judge the remote control code according to a parity check bit in the remote control code, so that the correction of the remote control code is easily identified; meanwhile, the technical scheme avoids the problems that a check code is carried after each bit crosses the code, thereby causing longer time of emission of an infrared light by each code, and higher battery consumption of the remote controller.

Description

A kind of method and telepilot by telepilot control controlled electric appliance
Technical field
The present invention relates to the telecontrol engineering field, particularly the Infrared Ray Remote Control Technology of radio and television receiving trap.
Background technology
Popularize along with household electrical appliances such as televisor, disc player, air-conditionings, the quantity of these household electrical appliance constantly increases, and these household electrical appliance major parts all will be equipped with telepilot, therefore causes the quantity of telepilot surprising.Prior remote controller generally adopts dry cell power supply, and the annual dry cell that consumes of these telepilots also is an enormous amount, and resource and environmental protection have all been caused adverse influence.
Adopt specific remote control agreement to carry out the transmission of signal between telepilot and the controlled electric appliance, remote control agreement commonly used at present has tens kinds of RC5, RCA, NEC etc., the remote control mode that adopts the telepilot emission of RC5 agreement is the remote control mode of tape verifying position not, causes error code easily.
In addition, the carrier wave dutycycle of supposing the remote control mode of above-mentioned remote control agreement emission is 1/4, RC5 agreement self is the tape verifying sign indicating number not, cause error code easily, every yard emission infrared light time of NEC agreement is 6.73ms ((9+32*0.56)/4), continuation code is only sent out the part sign indicating number, causes the directionkeys continuation code to be decoded into opposite directionkeys easily; Every yard emission infrared light time of RCA agreement is 4.125 ((4+25*0.5)/4), is not with the continuation code identifying information, is not easy to solve the continuation code problem; In sum, the not tape verifying sign indicating number that the prior remote controller agreement has causes error code easily, has plenty of behind every bit string sign indicating number and all carries check code, causes every yard emission infrared light time longer, and remote controller battery consumption is bigger.
Summary of the invention
The object of the present invention is to provide a kind of method and telepilot, be intended to solve the error code problem that exists in the prior art by telepilot control controlled electric appliance.
Another object of the present invention is to provide a kind of telepilot, described telepilot comprises parity check bit generation module and trigger bit generation module, described trigger bit generation module is with generating trigger bit, described trigger bit is used for for controlled electric appliance identification continuation code, described parity check bit generation module is with generating parity check bit, and described parity check bit is used for judging for controlled electric appliance whether the remote control mode of described telepilot emission is correct.
Described check bit is an odd parity bit, is used for supplying whether described controlled electric appliance is that odd number carries out verification to the number of the logical one in the remote control mode of described telepilot emission, thereby judges whether described remote control mode is correct.
Described check bit is an even parity bit, is used for supplying whether described controlled electric appliance is that even number carries out verification to the number of the logical one in the remote control mode of described telepilot emission, thereby judges whether described remote control mode is correct.
Also comprise pilot pulse before the remote control mode of described telepilot emission.
The remote control mode of described telepilot emission adopts the pulse distance modulated.
The present invention also provides a kind of method by telepilot control controlled electric appliance, and described method comprises following step:
After a, controlled electric appliance receive the remote control mode of telepilot emission, judge according to the parity check bit in the described remote control mode whether described remote control mode is correct,, change step b, otherwise change step c if correct;
Address code and command code in b, the described remote control mode of intercepting are carried out operation accordingly;
C, do not carry out any operation.
Wherein step a specifically comprises:
After a1, controlled electric appliance receive the remote control mode of telepilot emission, the number of adding up logical one in the described remote control mode, if the number of described logical one is an odd number, the check bit in the described remote control mode is 0, judges that then described remote control mode is correct, changes step b, otherwise changes step c.
Wherein step a also comprises:
Whether described controlled electric appliance is discerned described remote control mode according to the trigger bit in the described remote control mode is continuation code.
The present invention overcomes the deficiencies in the prior art, employing is provided with parity check bit in the remote control mode of telepilot emission, controlled electric appliance judges whether according to this parity check bit whether described remote control mode is correct, if it is correct, intercept address code and command code in the described remote control mode, carry out corresponding operation, otherwise do not carry out the technical scheme of any operation, make controlled electric appliance to judge it according to the parity check bit in the remote control mode, whether the identification remote control mode is correct easily, avoided simultaneously behind every bit string sign indicating number, all carrying check code, caused every yard emission infrared light time longer, the problem that remote controller battery consumption is bigger.
Description of drawings
Fig. 1 is the described telepilot theory diagram of the embodiment of the invention;
Fig. 2 is the logical one and the logical zero oscillogram of the remote control agreement of the described telepilot employing of the embodiment of the invention;
Fig. 3 is the synoptic diagram of the remote control agreement of the described telepilot employing of the embodiment of the invention;
Fig. 4 is the described coding/decoding method process flow diagram of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The described system of the embodiment of the invention comprises telepilot and controlled electric appliance, telepilot emission remote control mode, controlled electric appliance is decoded after receiving remote control mode, finish relevant function according to decoded result then, wherein: the theory diagram of telepilot as shown in Figure 1, comprise that the school odd even tests a generation module, trigger bit generation module and control and coding module, this parity check bit generation module is with generating parity check bit, the parity check bit that is generated is positioned at the end position of telepilot to the remote control mode of controlled electric appliance emission, described telepilot also comprises the trigger bit generation module, with generating trigger bit, be positioned at the first place of telepilot to the remote control mode of controlled electric appliance emission; Whether controlled electric appliance receives after the remote control mode of telepilot emission, according to the parity check bit of position, remote control mode end remote control mode is carried out verification, correct with the remote control mode of judging this emission of telepilot, if it is correct, then carry out the operation of remote control mode correspondence, otherwise abandon, do not carry out any operation.Controlled electric appliance receives after the remote control mode of telepilot emission, judge according to trigger bit wherein whether the remote control mode of this emission of telepilot and the remote control mode of emission last time are triggered by a same button, if the trigger bit of this remote control mode is different from the trigger bit of remote control mode last time, show that twice remote control mode is by the not button triggering of homogeneous, the trigger bit of this remote control mode is identical with the trigger bit of remote control mode last time, show that the user pins the remote control mode of launching continuously behind the same button of telepilot, be convenient to controlled electric appliance identification continuation code.
In the embodiment of the invention, telepilot is 15 to the remote control mode of controlled electric appliance emission, wherein the first place is the trigger bit that telepilot trigger bit generation module generates, the position, end is the parity check bit that telepilot parity check bit generation module generates, and 5 bit address sign indicating numbers and 8 order of the bit sign indicating numbers after the trigger bit adopt the pulse distance modulated, each pulse is formed (about 500US) by 28 56KHZ carrier cycles, all the other are empty, carrierfree, and carrier frequency is 56KHZ; Logical one wherein accounts for 2.5ms, and logical zero accounts for 1.5ms; There are 4ms pilot pulse, controlled electric appliance to detect 4ms (single is 8ms along triggering) pulse before the remote control mode, just carry out initialization, under situation about pressing ﹠ hold, send a string same code every 128ms (from beginning to beginning).
Fig. 2 is the logical one and the logical zero oscillogram of the remote control agreement of the described telepilot employing of the embodiment of the invention.As shown in the figure, logical one accounts for 2.5ms, and logical zero accounts for 1.5ms, and bit time is longer, and a phenomenon is lost in difficult generation.Fig. 3 is the synoptic diagram of the remote control agreement of the described telepilot employing of the embodiment of the invention, as shown in the figure, owing to adopt the pulse distance modulated, just can directly differentiate " 0 " or " 1 " according to pulsewidth, anteroposterior position is not related, because the 4ms pilot pulse is arranged, detects 4ms (single is 8ms along triggering) pulse, just carry out initialization, perform the preliminary work that receives string of code, C represents parity check bit among the figure, and T represents trigger bit, LSB representative coding low level, MSB representative coding is high-order.
String sign indicating number controlled electric appliance receives after the remote control mode of telepilot emission, judge according to trigger bit wherein whether the remote control mode of this emission of telepilot and the remote control mode of emission last time are triggered by a same button, if the trigger bit of this remote control mode is different from the trigger bit of remote control mode last time, show that twice remote control mode is by the not button triggering of homogeneous, the trigger bit of this remote control mode is identical with the trigger bit of remote control mode last time, show that the user pins the remote control mode of launching continuously behind the same button of telepilot, be convenient to controlled electric appliance identification continuation code.
The position, end is an odd parity bit, whether the number by statistics string sign indicating number logical one is odd number, judge whether correctly to receive string of code,, just abandon if incorrect, do not carry out any action, prepare to receive string of code down,, just intercept address code (systematic code) and command code if correct, and button is set receives sign, carry out corresponding operation by system.
Fig. 4 is the described method flow diagram by telepilot control controlled electric appliance of the embodiment of the invention, as shown in the figure, specifically comprises following step:
1, each register of initialization IR receiver module makes it the negative edge triggering and interrupts enabling.
2, wait for interruption, after interrupting taking place, read the value of pulsewidth counter.
3, judge according to the value of pulsewidth register,, change step 4, otherwise change step 5 if pulsewidth between 6ms to 10ms, shows that what receive is pilot pulse (can have+-25% deviation).
4, each variable of initialization, the zero clearing of string sign indicating number variable, the pilot pulse indexed variable is put TRUE, has received the zero clearing of string code bit number variable, performs the preliminary work that receives string of code, changes step 2.
5, judged (judging) according to whether having received pilot pulse before according to pilot pulse indexed variable value, if (TRUE), change step 6, (before do not received pilot pulse otherwise change step 2, the remote control mode that is not correct is described, continues to wait for next pulse).
6, judge according to the value of pulsewidth counter, if pulsewidth between 1ms to 1.9ms, explanation is " 0 " pulse (can have+-25% deviation), a string sign indicating number variable moves to left one, the position, end adds 0, has received string code bit number variable and has added 1; If pulsewidth is between 2ms to 3ms, explanation is " 1 " pulse (can have+-25% deviation), and string sign indicating number variable moves to left one, and the position, end adds 1, has received string code bit number variable and has added 1; Otherwise illustrate that this pulse is not the part of remote control mode, but disturbing pulse receives commentaries on classics step 12 again.
7, whether judge according to having received string code bit number variable, if change step 8 more than or equal to 15; Otherwise change step 2.
8, whether 1 number is that odd number is judged in the statistics string sign indicating number variable, if change step 9; Otherwise change step 12.
9, getting string sign indicating number variable least-significant byte is command code, gets the 14th of string sign indicating number variable and is trigger bit, gets 13 to 8 of string sign indicating number variablees and is address code, changes step 10.
10, whether be zero judge (the televisor address code is zero) according to address code, if change step 11; Otherwise change step 12.
11, button being set, to examine indexed variable be TRUE, removes pilot pulse indexed variable (FALSE), changes step 13.
12, remove pilot pulse indexed variable (FALSE), change step 2.
13, whether equal the last time command code according to the current command sign indicating number and judge,, change step 14 if equal; Otherwise change step 16.
14, whether equal to trigger last time place value according to current triggering place value and judge,, change step 15 if equal; Otherwise change step 16.
15, whether allow to repeat to judge according to the current command sign indicating number,, change step 16 if allow; Otherwise change step 17.
16, carry out the corresponding function of the current command sign indicating number, change step 17.
17, the current command sign indicating number is composed to the key variable, current triggering place value is composed to the trigger bit variable, button is examined indexed variable be changed to FALSE, change step 18.
18, finish.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1, a kind of telepilot, it is characterized in that, described telepilot comprises parity check bit generation module and trigger bit generation module, described trigger bit generation module is with generating trigger bit, described trigger bit is used for for controlled electric appliance identification continuation code, described parity check bit generation module is with generating parity check bit, and described parity check bit is used for judging for controlled electric appliance whether the remote control mode of described telepilot emission is correct.
2, telepilot according to claim 1, it is characterized in that, described parity check bit is an odd parity bit, is used for supplying whether described controlled electric appliance is that odd number carries out verification to the number of the logical one in the remote control mode of described telepilot emission, thereby judges whether described remote control mode is correct.
3, telepilot according to claim 1, it is characterized in that, described parity check bit is an even parity bit, is used for supplying whether described controlled electric appliance is that even number carries out verification to the number of the logical one in the remote control mode of described telepilot emission, thereby judges whether described remote control mode is correct.
4, telepilot according to claim 1 is characterized in that, also comprises pilot pulse before the remote control mode of described telepilot emission.
5, telepilot according to claim 1 is characterized in that, the remote control mode of described telepilot emission adopts the pulse distance modulated.
6, a kind of method by telepilot control controlled electric appliance is characterized in that described method comprises following step:
After a, controlled electric appliance receive the remote control mode of telepilot emission, judge according to the parity check bit in the described remote control mode whether described remote control mode is correct,, change step b, otherwise change step c if correct;
Address code and command code in b, the described remote control mode of intercepting are carried out operation accordingly;
C, do not carry out any operation.
7, method according to claim 6 is characterized in that, wherein step a specifically comprises:
After a1, controlled electric appliance receive the remote control mode of telepilot emission, the number of adding up logical one in the described remote control mode, if the number of described logical one is an odd number, the check bit in the described remote control mode is 0, judges that then described remote control mode is correct, changes step b, otherwise changes step c.
8, method according to claim 6 is characterized in that, wherein step a also comprises:
Whether described controlled electric appliance is discerned described remote control mode according to the trigger bit in the described remote control mode is continuation code.
CN 200710125256 2007-12-19 2007-12-19 Method for controlling controlled electric appliance through remote controller and remote controller Expired - Fee Related CN101465050B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710125256 CN101465050B (en) 2007-12-19 2007-12-19 Method for controlling controlled electric appliance through remote controller and remote controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710125256 CN101465050B (en) 2007-12-19 2007-12-19 Method for controlling controlled electric appliance through remote controller and remote controller

Publications (2)

Publication Number Publication Date
CN101465050A true CN101465050A (en) 2009-06-24
CN101465050B CN101465050B (en) 2013-05-08

Family

ID=40805612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710125256 Expired - Fee Related CN101465050B (en) 2007-12-19 2007-12-19 Method for controlling controlled electric appliance through remote controller and remote controller

Country Status (1)

Country Link
CN (1) CN101465050B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877613A (en) * 2010-06-18 2010-11-03 苏州本控电子科技有限公司 Infrared communication method used for a remote controller
CN101964768A (en) * 2010-08-20 2011-02-02 苏州本控电子科技有限公司 Adaptive infrared anti-jamming transmission method
CN102945596A (en) * 2012-10-31 2013-02-27 四川长虹电器股份有限公司 Signal reception method of remote controller
CN103595469A (en) * 2013-02-02 2014-02-19 彭海涛 Infrared photoconduction remote control system
CN103729998A (en) * 2013-12-09 2014-04-16 乐视致新电子科技(天津)有限公司 Decoding method and device
WO2017005065A1 (en) * 2015-07-07 2017-01-12 深圳Tcl数字技术有限公司 Remote control method and system based on electromagnetic induction
CN106448129A (en) * 2016-10-26 2017-02-22 青岛海信电器股份有限公司 Method and device for removing interference pulse in infrared remote control data
CN106448128A (en) * 2016-10-26 2017-02-22 青岛海信电器股份有限公司 Processing method and system of infrared remote control data

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005117303A1 (en) * 2004-05-28 2005-12-08 Koninklijke Philips Electronics N.V. Uart-encoded pulse-modulation technique
KR100698173B1 (en) * 2004-12-31 2007-03-22 엘지전자 주식회사 Remote controller, receiver, method for transmitting/receiving remote controller's signal, and data structure for remote controller's signal
CN100373418C (en) * 2005-08-03 2008-03-05 四川长虹电器股份有限公司 Infrared remote control anti interference detection method
CN1804925A (en) * 2006-01-24 2006-07-19 上海广电(集团)有限公司中央研究院 Data transmission method
CN101086802B (en) * 2007-05-30 2011-12-28 康佳集团股份有限公司 A repeated control method for remote control key

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877613A (en) * 2010-06-18 2010-11-03 苏州本控电子科技有限公司 Infrared communication method used for a remote controller
CN101877613B (en) * 2010-06-18 2013-07-10 苏州本控电子科技有限公司 Infrared communication method used for a remote controller
CN101964768A (en) * 2010-08-20 2011-02-02 苏州本控电子科技有限公司 Adaptive infrared anti-jamming transmission method
CN101964768B (en) * 2010-08-20 2013-10-02 苏州本控电子科技有限公司 Adaptive infrared anti-jamming transmission method
CN102945596A (en) * 2012-10-31 2013-02-27 四川长虹电器股份有限公司 Signal reception method of remote controller
CN102945596B (en) * 2012-10-31 2014-12-24 四川长虹电器股份有限公司 Signal reception method of remote controller
CN103595469A (en) * 2013-02-02 2014-02-19 彭海涛 Infrared photoconduction remote control system
CN103729998A (en) * 2013-12-09 2014-04-16 乐视致新电子科技(天津)有限公司 Decoding method and device
WO2017005065A1 (en) * 2015-07-07 2017-01-12 深圳Tcl数字技术有限公司 Remote control method and system based on electromagnetic induction
CN106448129A (en) * 2016-10-26 2017-02-22 青岛海信电器股份有限公司 Method and device for removing interference pulse in infrared remote control data
CN106448128A (en) * 2016-10-26 2017-02-22 青岛海信电器股份有限公司 Processing method and system of infrared remote control data

Also Published As

Publication number Publication date
CN101465050B (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN101465050B (en) Method for controlling controlled electric appliance through remote controller and remote controller
CN101388142B (en) Instruction recognizing method of remote controller, recognizing apparatus and household appliances
CN102025854B (en) Method for implementing learning type mobile phone remote controller and learning type mobile phone remote controller
CN107220199B (en) The host computer of refrigerator, the slave computer of refrigerator, the communication means of refrigerator and system
CN100373418C (en) Infrared remote control anti interference detection method
CN102750812A (en) Method for matching reception device and remote controller, reception device and remote controller
US20240088772A1 (en) Switch control method, receiving end control method, self-generating switch and receiving end
CN101155278A (en) Electrical equipment with multi-remote controller control function and implementing method thereof
WO2021128070A1 (en) Coding method, coding device, active pen, and coding system
CN101510116B (en) Energy-conserving method and system of terminal equipment with standby function
CN101727246B (en) Electronic device with infrared touch function and control method thereof
CN112599168B (en) Misoperation detection device and system of memory resistor memory computing system
CN105046911B (en) A kind of multi-channel switch amount transmission method and device
CN101727247A (en) Electronic device with infrared touch function and control method thereof
CN103729998A (en) Decoding method and device
CN203386343U (en) Learning infrared remote controller based on WIFI (wireless fidelity)
CN110942612A (en) Remote controller control method, remote controller and remote controller system
CN108319534B (en) Test vector generation method and device
CN102693623B (en) Method and device for realizing infrared remote control based on Android system
CN101751772B (en) Infrared remote control system for controlling household appliance and remote control method thereof
CN110868481A (en) Smart water ecological hardware equipment unique ID generation method
CN112100101A (en) Data output method, device and computer readable medium
CN101211285A (en) EMS memory error emulation devices and method
CN109407999A (en) A kind of signal antidote, system and device
CN113568767B (en) Data writing file verification method suitable for intelligent power utilization terminal

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130508

Termination date: 20171219

CF01 Termination of patent right due to non-payment of annual fee