CN1719488A - Infrared remote control anti interference detection method - Google Patents

Infrared remote control anti interference detection method Download PDF

Info

Publication number
CN1719488A
CN1719488A CN 200510021403 CN200510021403A CN1719488A CN 1719488 A CN1719488 A CN 1719488A CN 200510021403 CN200510021403 CN 200510021403 CN 200510021403 A CN200510021403 A CN 200510021403A CN 1719488 A CN1719488 A CN 1719488A
Authority
CN
China
Prior art keywords
remote control
code
infrared remote
detection method
interference detection
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 200510021403
Other languages
Chinese (zh)
Other versions
CN100373418C (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CNB2005100214035A priority Critical patent/CN100373418C/en
Publication of CN1719488A publication Critical patent/CN1719488A/en
Application granted granted Critical
Publication of CN100373418C publication Critical patent/CN100373418C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The present invention provides an infrared remote control anti-interference detection method. It can effectively reduce influence of interference signal on the remote control command. Said invention includes the following steps: a. cyclically detecting received signals; and b. if the continuous brevity codes are detected, considering that the key is continued; if the continuous brevity codes are not detected, considering that the key is released; the detection cycle is greater than cycle of two brevity codes.

Description

Infrared remote control anti interference detection method
Technical field
The present invention relates to electronic technology, particularly infrared remote control technology.
Background technology
At present, the remote control of general household electrical appliances receives emission, reception has the NEC sign indicating number of NEC Corporation and the RC-5 sign indicating number dual mode of PHILIPS company.For the RC-5 sign indicating number when the user by volume+/-, CH+/CH-etc. arbitrarily continuously during key, whenever press primary key, all have a command code to send, and know what the order of this time button is after the CPU reception, so say on the principle that the strong interference immunity of RC-5 sign indicating number is a little.For the NEC sign indicating number, simply set out for remote control cost and control, its transmitter code mode for when the user by volume+/-, CH+/CH-etc. are arbitrarily continuously during key, whenever press primary key, for the first time there is a command code to send, just have only duplication code to send later on, no command code when having disturbing pulse to scurry into during having only duplication code to send, has upset normal duplication code and has received, because do not have command code and send this moment, CPU does not just know how to operate, and the deadlock phenomenon occurs, and the user shows as remote control pause, the ineffective phenomenon of button.
Summary of the invention
Technical matters to be solved by this invention is, provides a kind of infrared remote control anti-detection method, can effectively reduce the influence of undesired signal to guidance command.
The technical scheme that the present invention solve the technical problem employing is that infrared remote control anti interference detection method may further comprise the steps: a, the periodic signal that receives that detects; B, if detect continuous brevity code, think that then button continues; If do not detect continuous brevity code, think that then button unclamps; It is characterized in that sense cycle is greater than two brevity code cycles.
Further, sense cycle is less than switching time.Be meant the time of people's quick switching key described switching time, is generally 500ms.Further, sense cycle is 400ms.Signal among the described step a is a NEC form coded signal.
The invention has the beneficial effects as follows, can under different interference environments, improve the infrared remote control receptivity of household appliances such as TV greatly, greatly improve the anti-interference adaptability that infrared remote control receives, can solve the ineffective problem of straighforward operation.And the present invention realizes by software programming, need not increase the hardware cost of circuitry.
The invention will be further described below in conjunction with the drawings and specific embodiments.
Description of drawings
Fig. 1 is the substandard all-key synoptic diagram of NEC.
Fig. 2 is the presentation format of NEC substandard " 0 " and " 1 ".
Fig. 3 is the ultimate principle figure of NEC continuation code.
Fig. 4 has suffered the main process flow diagram of processing for infrared remote control.
Fig. 5 is the disturbing pulse synoptic diagram.
Fig. 6 is the sense cycle synoptic diagram of prior art to the NEC continuation code.
Fig. 7 is the sense cycle synoptic diagram of the present invention to the NEC continuation code.
Embodiment
General Infrared Ray Remote Control Technology mainly contains RC-5, technology such as NEC.Here be example with the NEC technology mainly: at first we know that the NEC technical standard is (being example with upd6122): the frequency of remote control carrier wave is 38KHz; When certain button was pressed, system at first launched a complete all-key, launched a series of brevity codes again through time-delay then, unclamped up to button, promptly stopped emission.Brevity code repeats the 108ms that delays time, and the interval between per two pilot pulse rising edges all is 108ms.A complete all-key as shown in Figure 1.Wherein, preamble code high level 9ms, low level 4.5ms; 16 of systematic codes, 8 of numeric data codes, 8 of data radix-minus-one complements, totally 32; Data 0 usefulness " high level 0.5625ms+ low level 0.5625ms " expression, data 1 usefulness " high level 0.5625ms+ low level 1.6875ms " expression, as shown in Figure 2: radix-minus-one complement+stop bit (0.5625ms) high level of a brevity code=preamble code+systematic code position 0.Preamble code is used for notifying receiver to be remote-control data thereafter.It is the data of which type that systematic code is used for distinguishing, and receiving end judges according to this whether follow-up data are the instruction that must carry out.It is which key is pressed that numeric data code is used for distinguishing, and receiving end is made the judgement that carry out what action according to numeric data code.Brevity code is the sign indicating number that sends when continuing button.It informs receiving end, certain key whether by continuously according to.
In the prior art, one that receive that sense cycle software does is 200ms, if system during this 200ms does not find continuation code because there is interference code to occur, the operation of continuation code will be interrupted, because do not have command code and send this moment, CPU does not just know how to operate, and the deadlock phenomenon occurs, and the user shows as remote control pause, the ineffective phenomenon of button.Special signal wire ground connection when user family in some cases is bad, when the power supply EMC design of complete machine is not fine, the power supply interference of 50Hz can interfere with remote control and receive head, because it is relatively sensitiveer that remote control receives head, the oscillating impulse that it is the cycle that remote control reception head is easy to generate a 20ms is because this impulse magnitude is the same with normal burst, and frequency is very low, is difficult to filter out with hardware mode.When we know the NEC remote-control transmitting by top principle, crack it open behind button and always launch a complete all-key, even disturbing pulse is arranged, it can not occur interrupting at once.So if we do not put by next key, it launches a brevity code in the time interval of 108ms so, judge whether the appearance of continuation code with this, if but inside has disturbing pulse to occur, we are to survey interference waveform, and approximately disturbing pulse of 20ms (the roomy about 2ms of pulse) (as Fig. 4) appearance (annotating: relevant with the interval with the width of pulse) is an example:
In the prior art, as Fig. 5, it is to be a time interval of detecting brevity code with 200ms (because timer internal is into being that multiple carries out: 100ms, 200ms, 400ms, 800ms) that actual software is write, promptly we judge the appearance that none continuation code is arranged in 200ms, but this moment is because every 20ms of internal random has the appearance of a disturbing pulse to interrupt this brevity code pulse.Experiment finds that the probability that recognizes a continuation code is very little, is very big so indignant rate that continuation code interrupts occurs.If filtering a disturbing pulse of this every 20ms appearance with circuit is not all right, because the frequency of TV is 50Hz, if so adopt circuit to filter this disturbing pulse, that will be carrier frequency that the remote control mode of 38KHz filters out together, so can only start with from software;
The key that addresses this problem is to improve the probability of discovery brevity code (if there is not disturbing pulse certainly, during this be 100% can be found to continuation code, but because the appearance of disturbing pulse is arranged, through experiment with calculate indignant rate that discovery can be found to continuation code and disturbing pulse: the time interval of pulse width, pulse, the reference position of pulse are relevant; Relevant with the external interference coefficient; Relevant with the time interval of finding brevity code; ), because external interference coefficient, the pulsewidth of disturbing pulse, disturb the time interval of affectionately dashing, the reference position of disturbing pulse can't change, just can only increase interval detection time of finding brevity code so improve this probability, in the longer time, find continuation code, promptly can not continue to use this time interval of the 200ms that ultimate principle adopted of NEC standard again, the time interval that the present invention will detect brevity code changes 400ms into, as Fig. 6, during this, increased the number of emission continuation code pulse, through experimental demonstration, find that the probability of a continuation code just becomes bigger, can occur the interruption of continuation code hardly again this moment.
In addition, change 800ms into if will detect the time interval of brevity code, as Fig. 7,, experimental results show that though the probability of finding a continuation code finds that the probability of continuation code is bigger during than 400ms, the phenomenon of error code appears this moment possibly, because during 800ms,, work as the user so and in 800ms, press another key if do not put by next key, it still can think a continuation code, has promptly become error code; And error code can not appear in 400ms, be because artificial quick switching key time at least more than 500ms.Therefore, detect the time interval of brevity code, i.e. sense cycle can not be greater than artificial quick switching key time, i.e. 500ms.

Claims (4)

1, infrared remote control anti interference detection method may further comprise the steps:
A, the periodic signal that receives that detects;
B, if detect continuous brevity code, think that then button continues; If do not detect continuous brevity code, think that then button unclamps;
It is characterized in that sense cycle is greater than two brevity code cycles.
2, infrared remote control anti interference detection method as claimed in claim 1 is characterized in that, sense cycle is less than switching time.
3, infrared remote control anti interference detection method as claimed in claim 2 is characterized in that, sense cycle is 400ms.
4, infrared remote control anti interference detection method as claimed in claim 2 is characterized in that, the signal among the described step a is a NEC form coded signal.
CNB2005100214035A 2005-08-03 2005-08-03 Infrared remote control anti interference detection method Expired - Fee Related CN100373418C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100214035A CN100373418C (en) 2005-08-03 2005-08-03 Infrared remote control anti interference detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100214035A CN100373418C (en) 2005-08-03 2005-08-03 Infrared remote control anti interference detection method

Publications (2)

Publication Number Publication Date
CN1719488A true CN1719488A (en) 2006-01-11
CN100373418C CN100373418C (en) 2008-03-05

Family

ID=35931312

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100214035A Expired - Fee Related CN100373418C (en) 2005-08-03 2005-08-03 Infrared remote control anti interference detection method

Country Status (1)

Country Link
CN (1) CN100373418C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783067B (en) * 2009-01-16 2012-01-11 海洋王照明科技股份有限公司 Infrared remote control receiving circuit with electromagnetic interference resistance and implementation method thereof
CN101211506B (en) * 2007-12-25 2012-01-25 康佳集团股份有限公司 Remote control coding method
CN101465050B (en) * 2007-12-19 2013-05-08 深圳Tcl新技术有限公司 Method for controlling controlled electric appliance through remote controller and remote controller
CN104992538A (en) * 2015-05-13 2015-10-21 青岛海信宽带多媒体技术有限公司 Interaction method between terminal and remote controller, and terminal
CN106101790A (en) * 2016-07-18 2016-11-09 乐视控股(北京)有限公司 Signal processing method and device
CN107040806A (en) * 2017-04-12 2017-08-11 青岛海信电器股份有限公司 Remote control anti-interference control method and device
CN112735117A (en) * 2020-12-28 2021-04-30 深圳市路畅科技股份有限公司 Filtering method, system and application of IR analysis based on NEC standard
CN114973630A (en) * 2022-05-25 2022-08-30 深圳市易优电气有限公司 Anti-interference execution method, device and equipment for infrared signal instruction and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07284172A (en) * 1994-04-06 1995-10-27 Sakai Jukogyo Kk Communication method for infrared ray remote controller
US6172065B1 (en) * 1997-03-04 2001-01-09 Warner-Lambert Company Urea and thiourea derivatives of substituted quinoxaline 2,3-diones as glutamate receptor antagonists
JP2002016621A (en) * 2000-06-30 2002-01-18 Haamorinku:Kk Control/supervisory signal transmitting system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465050B (en) * 2007-12-19 2013-05-08 深圳Tcl新技术有限公司 Method for controlling controlled electric appliance through remote controller and remote controller
CN101211506B (en) * 2007-12-25 2012-01-25 康佳集团股份有限公司 Remote control coding method
CN101783067B (en) * 2009-01-16 2012-01-11 海洋王照明科技股份有限公司 Infrared remote control receiving circuit with electromagnetic interference resistance and implementation method thereof
CN104992538A (en) * 2015-05-13 2015-10-21 青岛海信宽带多媒体技术有限公司 Interaction method between terminal and remote controller, and terminal
CN104992538B (en) * 2015-05-13 2019-08-09 青岛海信宽带多媒体技术有限公司 Exchange method and terminal between a kind of terminal and remote controler
CN106101790A (en) * 2016-07-18 2016-11-09 乐视控股(北京)有限公司 Signal processing method and device
CN107040806A (en) * 2017-04-12 2017-08-11 青岛海信电器股份有限公司 Remote control anti-interference control method and device
CN112735117A (en) * 2020-12-28 2021-04-30 深圳市路畅科技股份有限公司 Filtering method, system and application of IR analysis based on NEC standard
CN114973630A (en) * 2022-05-25 2022-08-30 深圳市易优电气有限公司 Anti-interference execution method, device and equipment for infrared signal instruction and storage medium
CN114973630B (en) * 2022-05-25 2024-02-02 深圳市易优电气有限公司 Anti-interference execution method, device, equipment and storage medium for infrared signal instruction

Also Published As

Publication number Publication date
CN100373418C (en) 2008-03-05

Similar Documents

Publication Publication Date Title
CN100373418C (en) Infrared remote control anti interference detection method
US6529189B1 (en) Touch screen stylus with IR-coupled selection buttons
US20030011579A1 (en) Methods and apparatuses using control indicators for data processing system
CN1787030A (en) Remote controller with touchpad and method
CN100381014C (en) Remote control receiving system
CN101465050B (en) Method for controlling controlled electric appliance through remote controller and remote controller
CN2909700Y (en) Push-button device and TV. set with the push-button device
CN102194311A (en) All-in-one remote control device of household electrical appliances and realization method thereof
CN104378865A (en) Method for controlling intelligent switch through single live wire
CN112905047A (en) Anti-interference method, touch control chip and active pen refill sheet
CN110307575A (en) Non-contact control system and method for range hood
CN101155278A (en) Electrical equipment with multi-remote controller control function and implementing method thereof
CN101727246B (en) Electronic device with infrared touch function and control method thereof
CN101727247A (en) Electronic device with infrared touch function and control method thereof
CA1122294A (en) Power line signalling system
CN102394624B (en) Touch type key and detection method therefor
CN101127156B (en) Universal code identifying device for universal remote control receiver
CN112764596B (en) Capacitive touch anti-interference detection device, system and method
CN111427097A (en) Gesture recognition control method
CN202795740U (en) Remote controller
CN103325237A (en) Method and device for producing universal infrared carrier signal
CN107040806A (en) Remote control anti-interference control method and device
CN110876076B (en) Separated household electrical appliance control device
CN110297569B (en) Detection method and device
CN106251548B (en) Transmitting circuit and acoustic magnetic anti-theft system

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

Termination date: 20170803

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