CN101582717A - Method for processing infrared pulse received by receiving terminal of infrared ray corresponding emission device - Google Patents
Method for processing infrared pulse received by receiving terminal of infrared ray corresponding emission device Download PDFInfo
- Publication number
- CN101582717A CN101582717A CNA200910099933XA CN200910099933A CN101582717A CN 101582717 A CN101582717 A CN 101582717A CN A200910099933X A CNA200910099933X A CN A200910099933XA CN 200910099933 A CN200910099933 A CN 200910099933A CN 101582717 A CN101582717 A CN 101582717A
- Authority
- CN
- China
- Prior art keywords
- infrared
- infrared ray
- injection device
- pulse
- receiving terminal
- 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
Links
Images
Abstract
The invention relates to a method for processing infrared pulse received by a receiving terminal of an infrared ray corresponding emission device, and the receiving terminal of the infrared ray corresponding emission device comprises an infrared receiver module and a processor. The method is characterized by comprising the steps: (1) pulse time sequence waveform of a standard infrared pulse signal which is successfully matched with the receiving terminal and sent by a sending terminal is stored inside the processor; (2) pulse time sequence of the infrared pulse signal that is actually received at present is compared with the pulse time sequence of the infrared pulse signal stored in the step (1) by the processor; (3) if the comparison result is consistent, synchronous tracking is successful, and a clock is regulated to be consistent with the sending terminal to generate tracking pulse time sequence; if not, the synchronous tracking is not successful, and the step (2) is returned back; (4) the processor adopts the tracking pulse time sequence generated in the step (3) to control a power supply of the infrared receiver module. The invention can better ensure the clocks between the receiving terminal and the sending terminal to be synchronous, thus having better energy-saving effect.
Description
Technical field
The present invention relates to the processing method of a kind of infrared ray to the injection device pulse received by receiving terminal of infrared.
Background technology
Present known infrared ray to the injection device receiving terminal when receiving infrared pulse signal, it all is continuous reception, that is to say, the infrared pulse signal that the injection device transmitting terminal is sent at infrared ray, in a single day infrared ray is opened the power supply of injection device receiving terminal, and infrared ray is to be in operating state uninterruptedly to the infrared ray receiver module of injection device receiving terminal all the time.Adopt such receiving handling method certainly will cause infrared ray to the bigger power consumption of injection device receiving terminal consumption.
Present most infrared ray all adopts mains-supplied to the injection device receiving terminal, though power consumption is bigger, can not influence the normal use of infrared ray to the injection device receiving terminal; But application along with the new type solar energy electric supply installation, infrared ray all is directly to take from these power supplys by solar energy converting by connecting line to the working power of injection device transmitting terminal and receiving terminal, because solar panels are with illumination time length relation to be arranged, how to have maximally utilised solar energy, infrared ray just counts for much to the power consumption of injection device.These solar powered infrared rays to injection device in, the weather that how to solve long-time a run of wet weather brings continuous power supply to have defective, wherein how many electric energy of correlation consumption has substantial connection, and some will be unable to do what one wishes, can't obtain round-the-clock popularization in a lot of places.The direct battery-powered infrared ray that has is to injection device, and the consideration of power consumption also is very important, becomes technical emphasis naturally so how to reduce the work energy consumption.
Summary of the invention
Technical problem to be solved by this invention is to provide the processing method of a kind of infrared ray to the injection device pulse received by receiving terminal of infrared at above-mentioned prior art, utilize infrared ray after this method can not only better must keep to the injection device receiving terminal and infrared ray to clock between the injection device transmitting terminal synchronously, can also effectively reduce self energy consumption.
The present invention solves the problems of the technologies described above the technical scheme that is adopted: this infrared ray is to the processing method of injection device pulse received by receiving terminal of infrared, be used to handle the infrared pulse signal that infrared ray sends the injection device transmitting terminal, described infrared ray comprises infrared ray receiver module and the processor that links to each other with the infrared ray receiver module to the injection device receiving terminal, it is characterized in that: may further comprise the steps:
Step 1, at the inner pulse sequence waveform of preserving the standard infrared pulse signal that the infrared ray of injection device receiving terminal successful matching is sent the injection device transmitting terminal with described infrared ray of processor;
Step 2, processor with current actual reception to the pulse sequence waveform of infrared pulse signal and step 1 in the pulse sequence waveform of the infrared pulse signal preserved compare;
If the step 3 comparison is consistent, the expression infrared ray is followed the tracks of success to injection device receiving terminal and infrared ray synchronously to the injection device transmitting terminal, the clock of injection device receiving terminal is adjusted to infrared ray consistent to the injection device transmitting terminal with infrared ray, and producing a trace pulse sequential, the waveform of this trace pulse sequential meets the following conditions;
1, the rising edge of the pulse sequence waveform of the infrared pulse signal that arrives than current actual reception of the rising edge of trace pulse timing waveform is early to the t time;
2, the trailing edge of the pulse sequence waveform of the infrared pulse signal that arrives of the trailing edge of trace pulse timing waveform and current actual reception is synchronous;
If compare inconsistently, the expression infrared ray is followed the tracks of synchronously the injection device transmitting terminal injection device receiving terminal and infrared ray and is got nowhere, and returns step 2;
The power supply of the trace pulse sequencing control infrared ray receiver module that produces in step 4, the processor adopting step 3, make power supply t before each infrared ray arrives to the infrared pulse of injection device transmitting terminal of infrared ray receiver module open during the time, after each infrared ray finishes receiving the infrared pulse of injection device transmitting terminal, close.
Since the power supply of infrared ray receiver module only before each infrared ray arrives to the infrared pulse of injection device transmitting terminal t open during second, treat just to close after each infrared ray finishes receiving the infrared pulse of injection device transmitting terminal, rather than in the prior art, infrared ray is in operating state uninterruptedly all the time to the infrared ray receiver module of injection device receiving terminal, greatly reduces the energy consumption of whole infrared ray to the injection device receiving terminal.
Preferably, the present invention can also comprise
Step 5, described processor enter holding state after each infrared ray finishes receiving the infrared pulse of injection device transmitting terminal, wait for of the arrival of next infrared ray to the infrared pulse of injection device transmitting terminal, processor neither equally be in the operating state of highly energy-consuming like this, but is in the holding state of low energy consumption between two continuous infrared pulses.
Described t is better more than or equal to the pulse sequence width of zero infrared pulse signal that arrives smaller or equal to two current actual reception.
As improvement, the present invention can also comprise
Step 6, processor are every a Fixed Time Interval cycle, receive in real time the infrared pulse signal that the infrared ray of injection device receiving terminal successful matching is sent the injection device transmitting terminal with described infrared ray, the time interval of the respective pulses in the waveform of the time interval of this infrared pulse signal that receives and standard is compared, calculate the clock offset of transmitting terminal and receiving terminal, the pulse sequence waveform of the standard infrared pulse signal preserved in the described step 1 is revised according to the side-play amount of clock.
This step is used for the correction to the preprocessor clock drift that works long hours, and can guarantee the transmitting terminal that works long hours and the clock synchronization of receiving terminal.
Compared with prior art, the invention has the advantages that:
1,, can guarantee preferably that infrared ray is to synchronous to clock between the injection device transmitting terminal of injection device receiving terminal and infrared ray by step 2, step 3;
2, pass through step 4, make power supply t before each infrared ray is to the infrared pulse arrival of injection device transmitting terminal of infrared ray receiver module open during second, after each infrared ray finishes receiving the infrared pulse of injection device transmitting terminal, close, make infrared ray reach energy-saving effect preferably the injection device receiving terminal.
Description of drawings
Fig. 1 is the hardware block diagram of embodiment of the invention middle infrared (Mid-IR) to the injection device receiving terminal;
Fig. 2 is the schematic diagram of the pulse sequence waveform of the waveform of trace pulse sequential in the embodiment of the invention and the infrared pulse signal that current actual reception arrives;
Fig. 3 embodiment of the invention middle infrared (Mid-IR) is to the workflow diagram of injection device receiving terminal.
Embodiment
Embodiment describes in further detail the present invention below in conjunction with accompanying drawing.
Infrared ray as shown in Figure 1 comprises infrared ray receiver module, processor, photocell input module, power supply/battery management module, parameter detection module, output indicating module, breaking-proof switch, wireless sending module to the injection device receiving terminal, and its middle infrared (Mid-IR) receiver module is used for the infrared pulse signal that receiving infrared-ray sends the injection device receiving terminal and sends to processor processing; Processor produces the open and close of trace pulse sequencing control infrared ray receiver module power supply, and realizes the function control of complete machine; The photocell input module is generally solar powered module, for infrared ray provides power supply to the injection device transmitting terminal; Power supply/battery management module manages discharging and recharging of rechargeable battery, and the voltage of control rechargeable battery is within normal range of operation, for infrared ray provides working power to the injection device receiving terminal; Parameter detection module, to the voltage of rechargeable battery, operating ambient temperature, intensity of illumination, or the like detect, for the action of processor provides foundation; Breaking-proof switch provides the tamper signal to make respective handling for processor; The output indicating module is used to refer to outside line and whether normally moves and provide when mounted the visible light of being convenient to calibrate to the injection device receiving terminal; Wireless sending module sends to external alarm host machine to the various state informations of injection device receiving terminal by wireless mode with infrared ray.
Infrared ray may further comprise the steps the processing method of injection device pulse received by receiving terminal of infrared:
Step 1, at the inner pulse sequence waveform of preserving the standard infrared pulse signal that the infrared ray of injection device receiving terminal successful matching is sent the injection device transmitting terminal with described infrared ray of processor;
Step 2, processor with current actual reception to the pulse sequence waveform of infrared pulse signal and step 1 in the pulse sequence waveform of the infrared pulse signal preserved compare;
If the step 3 comparison is consistent, the expression infrared ray is followed the tracks of success to injection device receiving terminal and infrared ray synchronously to the injection device transmitting terminal, the clock of injection device receiving terminal is adjusted to infrared ray consistent to the injection device transmitting terminal with infrared ray, and producing a trace pulse sequential, the waveform of this trace pulse sequential meets the following conditions;
1, the rising edge of the pulse sequence waveform of the infrared pulse signal that arrives than current actual reception of the rising edge of trace pulse timing waveform is early to the t time, the value of t can be the pulse sequence width more than or equal to zero infrared pulse signal that arrives smaller or equal to two current actual reception, in the present embodiment, t is half of pulse sequence width of the infrared pulse signal that arrives of current actual reception;
2, the trailing edge of the pulse sequence waveform of the infrared pulse signal that arrives of the trailing edge of trace pulse timing waveform and current actual reception is synchronous; Referring to shown in Figure 2;
If compare inconsistently, the expression infrared ray is followed the tracks of synchronously the injection device transmitting terminal injection device receiving terminal and infrared ray and is got nowhere, and returns step 2;
The power supply of the trace pulse sequencing control infrared ray receiver module that produces in step 4, the processor adopting step 3, make power supply t before each infrared ray arrives to the infrared pulse of injection device transmitting terminal of infrared ray receiver module open during the time, after each infrared ray finishes receiving the infrared pulse of injection device transmitting terminal, close;
Step 5, described processor enter holding state after each infrared ray finishes receiving the infrared pulse of injection device transmitting terminal, wait for the arrival of next infrared ray to the infrared pulse of injection device transmitting terminal.
Infrared ray to the workflow of injection device receiving terminal is: referring to shown in Figure 3, after infrared ray is started shooting to the injection device receiving terminal, carry out system initialization earlier, with infrared ray the injection device transmitting terminal is matched study then, if successful matching, then processor is preserved the pulse sequence waveform of the standard infrared pulse signal that the injection device transmitting terminal is sent with the infrared ray of successful matching in inside, if pairing is unsuccessful, then continuation seizure infrared ray matches until successful matching to the infrared pulse signal of injection device transmitting terminal; At this moment infrared ray begins the infrared pulse signal that real receiving infrared-ray sends the injection device transmitting terminal to the injection device receiving terminal, processor with current actual reception to the pulse sequence waveform of infrared pulse signal and step 1 in the pulse sequence waveform of the infrared pulse signal preserved compare; If comparison is consistent, the expression infrared ray is followed the tracks of success to injection device receiving terminal and infrared ray synchronously to the injection device transmitting terminal, the clock of injection device receiving terminal is adjusted to infrared ray consistent to the injection device transmitting terminal with infrared ray, and producing a trace pulse sequential, the waveform of this trace pulse sequential satisfies previously described condition; If compare inconsistently, the expression infrared ray is followed the tracks of unsuccessful synchronously to the injection device transmitting terminal to injection device receiving terminal and infrared ray, need to continue tracking; Processor is according to the power supply of trace pulse sequencing control infrared ray receiver module, make power supply t before each infrared ray arrives to the infrared pulse of injection device transmitting terminal of infrared ray receiver module open during the time, after each infrared ray finishes receiving the infrared pulse of injection device transmitting terminal, close; And processor enters holding state at once after each infrared ray finishes receiving the infrared pulse of injection device transmitting terminal, wait for the arrival of next infrared ray to the infrared pulse of injection device transmitting terminal.
In the present embodiment, processor can be every a Fixed Time Interval cycle, receive in real time the infrared pulse signal that the infrared ray of injection device receiving terminal successful matching is sent the injection device transmitting terminal with described infrared ray, the time interval of the respective pulses in the waveform of the time interval of this infrared pulse signal that receives and standard is compared, calculate the clock offset of transmitting terminal and receiving terminal, the pulse sequence waveform of the standard infrared pulse signal preserved in the described step 1 is revised according to the side-play amount of clock.This method is used for the correction to the preprocessor clock drift that works long hours, and can guarantee the transmitting terminal that works long hours and the clock synchronization of receiving terminal.Here the Fixed Time Interval cycle can be provided with as required.
Infrared ray provided by the invention is specially adapted to handle the infrared pulse signal that the transmitting terminal through at least twice coding sends to the processing method of injection device pulse received by receiving terminal of infrared.
Claims (4)
1, a kind of infrared ray is to the processing method of injection device pulse received by receiving terminal of infrared, be used to handle the infrared pulse signal that infrared ray sends the injection device transmitting terminal, described infrared ray comprises infrared ray receiver module and the processor that links to each other with the infrared ray receiver module to the injection device receiving terminal, it is characterized in that: may further comprise the steps:
Step 1, at the inner pulse sequence waveform of preserving the standard infrared pulse signal that the infrared ray of injection device receiving terminal successful matching is sent the injection device transmitting terminal with described infrared ray of processor;
Step 2, processor with current actual reception to the pulse sequence waveform of infrared pulse signal and step 1 in the pulse sequence waveform of the infrared pulse signal preserved compare;
If the step 3 comparison is consistent, the expression infrared ray is followed the tracks of success to injection device receiving terminal and infrared ray synchronously to the injection device transmitting terminal, the clock of injection device receiving terminal is adjusted to infrared ray consistent to the injection device transmitting terminal with infrared ray, and producing a trace pulse sequential, the waveform of this trace pulse sequential meets the following conditions;
(1) rising edge of the pulse sequence waveform of the infrared pulse signal that arrives than current actual reception of the rising edge of trace pulse timing waveform is early to the t time;
(2) trailing edge of the pulse sequence waveform of the infrared pulse signal that arrives of the trailing edge of trace pulse timing waveform and current actual reception is synchronous;
If compare inconsistently, the expression infrared ray is followed the tracks of synchronously the injection device transmitting terminal injection device receiving terminal and infrared ray and is got nowhere, and returns step 2;
The power supply of the trace pulse sequencing control infrared ray receiver module that produces in step 4, the processor adopting step 3, make power supply t before each infrared ray arrives to the infrared pulse of injection device transmitting terminal of infrared ray receiver module open during the time, after each infrared ray finishes receiving the infrared pulse of injection device transmitting terminal, close.
2, the processing method of reception infrared pulse according to claim 1 is characterized in that: also comprise
Step 5, described processor enter holding state after each infrared ray finishes receiving the infrared pulse of injection device transmitting terminal, wait for the arrival of next infrared ray to the infrared pulse of injection device transmitting terminal.
3, the processing method of reception infrared pulse according to claim 1 and 2 is characterized in that: described t is more than or equal to the pulse sequence width of zero infrared pulse signal that arrives smaller or equal to two current actual reception.
4, the processing method of reception infrared pulse according to claim 1 and 2 is characterized in that: also comprise
Step 6, processor are every a Fixed Time Interval cycle, receive in real time the infrared pulse signal that the infrared ray of injection device receiving terminal successful matching is sent the injection device transmitting terminal with described infrared ray, the time interval of the respective pulses in the waveform of the time interval of this infrared pulse signal that receives and standard is compared, calculate the clock offset of transmitting terminal and receiving terminal, the pulse sequence waveform of the standard infrared pulse signal preserved in the described step 1 is revised according to the side-play amount of clock.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910099933XA CN101582717B (en) | 2009-06-19 | 2009-06-19 | Method for processing infrared pulse received by receiving terminal of infrared ray corresponding emission device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910099933XA CN101582717B (en) | 2009-06-19 | 2009-06-19 | Method for processing infrared pulse received by receiving terminal of infrared ray corresponding emission device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101582717A true CN101582717A (en) | 2009-11-18 |
CN101582717B CN101582717B (en) | 2011-08-10 |
Family
ID=41364709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910099933XA Active CN101582717B (en) | 2009-06-19 | 2009-06-19 | Method for processing infrared pulse received by receiving terminal of infrared ray corresponding emission device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101582717B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ES2378624A1 (en) * | 2012-02-14 | 2012-04-16 | Jcm Technologies, S.A. | Automatic door system having a security sensor device and method for using said system |
CN105139631A (en) * | 2015-08-11 | 2015-12-09 | 广东博威尔电子科技有限公司 | Code pairing method for infrared opposite-type sensor and sensor |
CN107463100A (en) * | 2016-06-02 | 2017-12-12 | 广州卓居智能科技有限公司 | Application of the mobile phone flashlight to injection device in intelligent domestic system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2726042Y (en) * | 2004-07-05 | 2005-09-14 | 郝全文 | Wireless and infrared remote-controlled stepless light modulating switch |
CN1941820A (en) * | 2005-09-28 | 2007-04-04 | 揭雪强 | Wirless telephone with infrared remote-controlled signal self-studying and converting functions |
-
2009
- 2009-06-19 CN CN200910099933XA patent/CN101582717B/en active Active
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
ES2378624A1 (en) * | 2012-02-14 | 2012-04-16 | Jcm Technologies, S.A. | Automatic door system having a security sensor device and method for using said system |
WO2013121055A1 (en) * | 2012-02-14 | 2013-08-22 | Jcm Technologies, S.A. | Automatic door system having a security sensor device and method for using said system |
CN105139631A (en) * | 2015-08-11 | 2015-12-09 | 广东博威尔电子科技有限公司 | Code pairing method for infrared opposite-type sensor and sensor |
CN107463100A (en) * | 2016-06-02 | 2017-12-12 | 广州卓居智能科技有限公司 | Application of the mobile phone flashlight to injection device in intelligent domestic system |
Also Published As
Publication number | Publication date |
---|---|
CN101582717B (en) | 2011-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202210263U (en) | Face recognition device | |
CN102375973B (en) | Face recognition method and system, and infrared back light compensation method and system | |
US20160190863A1 (en) | Electronic device, communication system, and method of controlling electronic device | |
CN101582717B (en) | Method for processing infrared pulse received by receiving terminal of infrared ray corresponding emission device | |
CN108401281B (en) | Wireless low-power meter reading method based on channel detection | |
CN201976219U (en) | General three-dimensional spectacles | |
CN101430229B (en) | Method for signal collection | |
CN104749941A (en) | Control method of pointer type CDMA quartz clock | |
CN203012814U (en) | Fingerprint identification and wireless identification door control system based on ARM (Advanced RISC Machines) | |
CN104239833A (en) | Low-power-consumption card reader and using method thereof | |
CN112235742A (en) | Gas meter with NB-IoT communication module embedded with program and data processing method | |
CN102564556B (en) | Control method and system of intelligent power-saving electronic scale | |
CN103258415A (en) | Universal wireless sensor node with low power consumption and working method thereof | |
CN111480279B (en) | Hybrid power control system, corresponding method and sensor device | |
CN102368825B (en) | Energy-saving control method of 3D glasses | |
CN102799839A (en) | Method for synchronous awakening communication of active RFID (Radio Frequency Identification Devices) system | |
CN104916104A (en) | Intelligent water meter wireless communication and control method | |
CN102271274B (en) | Method for improving performance of three-dimensional (3D) shutter glasses and hardware system | |
CN101519929B (en) | Electronic door lock and sensing method | |
CN203444487U (en) | Low power consumption card reader | |
EP3902158B1 (en) | Optical networking method, optical communication device, and optical networking system | |
CN102331571B (en) | Device for automatically switching working mode of ground wave radar | |
CN110350971B (en) | Optical networking method, optical communication equipment and optical networking system | |
JP5459297B2 (en) | Wireless receiver, wireless communication system, program | |
CN103137074A (en) | Energy-saving method and device for displayer and displayer |
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 |