CN101699533A - Coding and decoding method applicable to remote controller - Google Patents

Coding and decoding method applicable to remote controller Download PDF

Info

Publication number
CN101699533A
CN101699533A CN200910059225A CN200910059225A CN101699533A CN 101699533 A CN101699533 A CN 101699533A CN 200910059225 A CN200910059225 A CN 200910059225A CN 200910059225 A CN200910059225 A CN 200910059225A CN 101699533 A CN101699533 A CN 101699533A
Authority
CN
China
Prior art keywords
yard
coding
level
pulsewidth
pulse width
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
CN200910059225A
Other languages
Chinese (zh)
Other versions
CN101699533B (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.)
HEXIN MICROELECTRONICS (SHANGHAI) CO Ltd
IPGoal Microelectronics Sichuan Co Ltd
Original Assignee
HEXIN MICROELECTRONICS (SHANGHAI) 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 HEXIN MICROELECTRONICS (SHANGHAI) CO Ltd filed Critical HEXIN MICROELECTRONICS (SHANGHAI) CO Ltd
Priority to CN2009100592253A priority Critical patent/CN101699533B/en
Publication of CN101699533A publication Critical patent/CN101699533A/en
Application granted granted Critical
Publication of CN101699533B publication Critical patent/CN101699533B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

The invention discloses a coding and decoding method applicable to remote controller. Coding is carried out on a control message in a transmitting device, the bits of the control message are expressed by a coded string formed by 0 and 1 codes, then message code is transmitted by the transmitting device, and a carrier transmitting device is controlled to transmit corresponding radio wave according to the bits of the message code; wherein the period for expressing 0 and 1 codes of the control message all ranges from 100us to 2000us, the pulse widths of the front part of levels of 0 and 1 codes are the same, the pulse width of the rear part of level of 0 code is 50us widen than the pulse width of the front part of level of 0 code, and the pulse width of the rear part of level of 1 code is twice of pulse width of the front part of level of 1 code. The coding of the invention adopts methods forming codes containing common wave form, coding is simple and convenient; and the decoding method of the invention is simple in utilization and saves storing space, by adopting the invention, product development period can be reduced and product cost can be reduced.

Description

A kind of coding, coding/decoding method that is applied to Digiplex
Technical field
The present invention relates to consumer electronics, intelligent distant control apparatus field, particularly a kind of coding, coding/decoding method that is applied to Digiplex.
Background technology
Under some environment, have only by Wireless transmission mode equipment is controlled or monitored, so just need the relevant wireless messages of transmission, will encode, decode information.
Some that exist are applied to the coding method of telepilot at present, high-low level all adopts the waveform of distinct pulse widths to distinguish 0 and 1 coded format, also there is the radix-minus-one complement of employing to distinguish 0 and 1 coded format, the coding method that these coding methods are distinguished for the waveform of 0 yard and 1 yard distinct pulse widths that all adopts is complexity when coding not only, and because the restriction of this waveform coding form, so must adopt the method for whole sign indicating number storage to the waveform that receives, to take bigger storage space like this, do not handle the method for storing for the waveform that receives simultaneously, so just take storage space more with regard to whole sign indicating number.
For coded format, as shown in Figure 1, this waveform has adopted the waveform of distinct pulse widths to distinguish 0 and 1 yard, need all will handle the high-low level of the whole waveform of sign indicating number when coding and decoding is handled, also needs whole sign indicating number storage in the time of storage.Therefore, the implementation method more complicated of coding and decoding, and take bigger storage space.
All in all, present coding, the coding/decoding method that exists because the waveform difference of sign indicating number be inconvenient to encode, yard form or the disposal route of sign indicating number all can not simple and conveniently be utilized, and can not utilize storage resources efficiently.
Summary of the invention
The invention provides a kind of coding, coding/decoding method that is applied to Digiplex, carry out distinctive agreement, use simple and conveniently, and can save storage space, reduce cost of products by a sign indicating number shape to 0,1 yard.
Technical scheme of the present invention is as follows:
A kind of coding, coding/decoding method that is applied to Digiplex, at first in transmitter, control information is encoded, control information is represented with binary mode each of control information then represented by the coded strings of 0 yard and 1 yard composition, forms information code; Transmit information code by carrier transmit equipment then, control carrier transmit equipment according to each yard position of information code and launch corresponding radiowave, it is characterized in that: in the described cataloged procedure, the cycle that is used to represent 0 yard of control information and 1 yard, all between 100uS-2000uS, promptly frequency range was 500hz-10KHZ; Wherein, 0 yard low-level pulse width is identical with 1 yard low-level pulse width, 0 yard the long 50uS of high level peak pulse duration low-level pulse width, and 1 yard high level pulsewidth is 2 times of low-level pulse width.
Perhaps, a kind of coding, coding/decoding method that is applied to Digiplex at first encoded to control information in transmitter, and control information is represented with binary mode, each of control information then represented by the coded strings of 0 yard and 1 yard composition, forms information code; Transmit information code by carrier transmit equipment then, control carrier transmit equipment according to each yard position of information code and launch corresponding radiowave, it is characterized in that: in the described cataloged procedure, the cycle that is used to represent 0 yard of control information and 1 yard, all between 100uS-2000uS, promptly frequency range was 500hz-10KHZ; Wherein, 0 yard high level pulsewidth is identical with 1 yard high level pulsewidth, and 0 yard low-level pulse width is than the long 50uS of high level pulsewidth, and 1 yard low-level pulse width is 2 times of high level pulsewidth.
Described 0 yard initial high-low level with 1 yard is relevant with the circuit of transmitter module, and in general, low earlier back is high if transmitter module is provided with reverser, and then the high back of elder generation is low if be added with reverser.
The error range of described each pulsewidth is ± 5uS.
The waveform of described information code all is square waves.
Described 0 yard pulsewidth with the level of 1 yard last portion waveshape is identical, is low level, and a part of waveform in back is a high level.
When transmitter module was provided with reverser, described 0 yard pulsewidth with the level of 1 yard last portion waveshape was identical, is high level, and a part of waveform in back is a low level.
Since we 0 with 1 yard pulsewidth waveform that identical part is all arranged, so during one section radiowave of transmitter emission, be to judge earlier that by transmitter module the position in the control information is 0 or 1, control transmitter again and launch that section radiowave, so just control information is encoded into by described 0 yard and the 1 yard sign indicating number of forming and ganged up transmitter and go out.
As carrier transmit, can demodulate the coded strings of emission behind the carrier wave receiving equipment reception carrier, this coded strings reads one section low level or high level by the receiver module of carrier wave receiving equipment from the carrier wave receiving equipment, because 0 yard level pulsewidth with a preceding part of 1 yard is identical, therefore can not need to read the pulsewidth length of this section level, up to reading the level saltus step, the pulsewidth length of ability opening entry level, 2 times of relations according to a part of level pulsewidth in back, just can identify 0 yard or 1 yard, store the pulsewidth width information if desired, only store the pulse width information of a part of level in back, just can be the complete storage of relevant information, and 0 yard level pulse width information identical with 1 yard does not need storage, has saved storage space.
Beneficial effect of the present invention is as follows:
The present invention encodes and adopts some to have common wave form to come the method for generated code, and it is simple and convenient to encode; Coding/decoding method utilization of the present invention is simple, and saves storage space; Adopt the present invention can shorten product development cycle, reduce cost of products.
Description of drawings
Fig. 1 is traditional coding waveforms synoptic diagram of background technology
Fig. 2 is a coding waveforms synoptic diagram of the present invention
Fig. 3 is the coding waveforms synoptic diagram of the embodiment of the invention 3
Embodiment
Embodiment 1
A kind of coding, coding/decoding method that is applied to Digiplex, at first in transmitter, control information is encoded, control information is represented with binary mode each of control information then represented by the coded strings of 0 yard and 1 yard composition, forms information code; Transmit information code by carrier transmit equipment then, control carrier transmit equipment according to each yard position of information code and launch corresponding radiowave, in the described cataloged procedure, the cycle that is used to represent 0 yard of control information and 1 yard, all between 100uS-2000uS, promptly frequency range was 500hz-10KHZ; Wherein, 0 yard low-level pulse width is identical with 1 yard low-level pulse width, 0 yard the long 50uS of high level peak pulse duration low-level pulse width, and 1 yard high level pulsewidth is 2 times of low-level pulse width.
The error range of described each pulsewidth is ± 5uS.
The waveform of described information code all is square waves.
Described 0 yard pulsewidth with the level of 1 yard last portion waveshape is identical, is low level, and a part of waveform in back is a high level.
Since we 0 with 1 yard pulsewidth waveform that identical part is all arranged, so during one section radiowave of transmitter emission, be to judge earlier that by transmitter module the position in the control information is 0 or 1, control transmitter again and launch that section radiowave, so just control information is encoded into by described 0 yard and the 1 yard sign indicating number of forming and ganged up transmitter and go out.
As carrier transmit, can demodulate the coded strings of emission behind the carrier wave receiving equipment reception carrier, this coded strings reads one section low level by the receiver module of carrier wave receiving equipment from the carrier wave receiving equipment, because 0 yard low-level pulse width with 1 yard is identical, therefore can not need to read low level pulsewidth length, up to reading low transition is high level, the pulsewidth length of ability opening entry high level, 2 times of relations according to the high level pulsewidth of 0 yard and 1 yard, just can identify 0 yard or 1 yard, store the pulsewidth width information if desired, only store the pulse width information of high level, just can be the complete storage of relevant information, and 0 yard low-level pulse width information identical with 1 yard does not need storage.
Embodiment 2
A kind of coding, coding/decoding method that is applied to Digiplex, at first in transmitter, control information is encoded, control information is represented with binary mode each of control information then represented by the coded strings of 0 yard and 1 yard composition, forms information code; Transmit information code by carrier transmit equipment then, control carrier transmit equipment according to each yard position of information code and launch corresponding radiowave, in the described cataloged procedure, the cycle that is used to represent 0 yard of control information and 1 yard, all between 100uS-2000uS, promptly frequency range was 500hz-10KHZ; Wherein, 0 yard high level pulsewidth is identical with 1 yard high level pulsewidth, and 0 yard low-level pulse width is than the long 50uS of high level pulsewidth, and 1 yard low-level pulse width is 2 times of high level pulsewidth.
The error range of described each pulsewidth is ± 5uS.
The waveform of described information code all is square waves.
Described 0 yard pulsewidth with the level of 1 yard last portion waveshape is identical, is high level, and a part of waveform in back is a low level.
Since we 0 with 1 yard pulsewidth waveform that identical part is all arranged, so during one section radiowave of transmitter emission, be to judge earlier that by transmitter module the position in the control information is 0 or 1, control transmitter again and launch that section radiowave, so just control information is encoded into by described 0 yard and the 1 yard sign indicating number of forming and ganged up transmitter and go out.
As carrier transmit, can demodulate the coded strings of emission behind the carrier wave receiving equipment reception carrier, this coded strings reads one section high level by the receiver module of carrier wave receiving equipment from the carrier wave receiving equipment, because 0 yard high level pulsewidth with 1 yard is identical, therefore can not need to read the pulsewidth length of high level, up to reading the high level saltus step is low level, the low level pulsewidth length of ability opening entry, 2 times of relations according to the low-level pulse width of 0 yard and 1 yard, just can identify 0 yard or 1 yard, store the pulsewidth width information if desired, only store low level pulse width information, just can be the complete storage of relevant information, and 0 yard high level pulse width information identical with 1 yard does not need storage, has saved storage space.
Embodiment 3
Operating process is as follows:
8052 single-chip microcomputers are the control module (coding) of master control, and--------------------------------8052 single-chip microcomputers are the controlled module (decoding) of master control to 433M receiver module (carrier wave receiving equipment) to carrier-wave transmission to 433M transmitter module (carrier transmit equipment)
Implementation process is described below:
Be to use software that control information is encoded in the control module of master control at first at 8052 single-chip microcomputers, the information that will be transmitted to controlled module is represented with binary mode, according to each position 0 or 1 of scale-of-two, represent with 0 yard or 1 yard of Fig. 3 respectively, so just realized information is encoded.
To information compiled the sign indicating number after, transmit this information coding by the 433M transmitter module, control the radiowave of 433M transmitter module emission 433MHZ according to each yard position of information code, since 0 yard with 1 yard pulsewidth waveform that identical part is all arranged, so in emission time, is the radiowave of one section identical time span of control transmitter emission earlier, have then emission software judge position present in the control information be 0 yard or 1 control again transmitter launch that section different time length radiowave.So just, launch by the 433M transmitter module 0 and 1 yard of control information.
As the 433MHZ radio wave transmission, the 433M receiver module receives this radiowave, receiving equipment can demodulate the coding of emission, this coding is that the software systems in the controlled module of master control are accepted by 8052 single-chip microcomputers, software systems can be got one section low level from 433M receiver module port reads earlier, here the length that receiving software can unevaluated low-level pulse width is 450uS, uprise by low level and be level up to reading 433M receiver module port, the length of software opening entry high level pulsewidth, if the high level pulsewidth that reads is 500US then is if that 0 yard high level pulsewidth that reads is 1000US then is 1 yard, controlled modular design has the E2ROM storer, and the pulsewidth length of only storing high level here is 500Us or 1000uS.

Claims (10)

1. coding, coding/decoding method that is applied to Digiplex, at first in transmitter, control information is encoded, control information is represented with binary mode each of control information then represented by the coded strings of 0 yard and 1 yard composition, forms information code; Transmit information code by carrier transmit equipment then, control carrier transmit equipment according to each yard position of information code and launch corresponding radiowave, it is characterized in that: in the described cataloged procedure, the cycle that is used to represent 0 yard of control information and 1 yard, all between 100uS-2000uS, promptly frequency range was 500hz-10KHZ; Wherein, 0 yard low-level pulse width is identical with 1 yard low-level pulse width, 0 yard the long 50uS of high level peak pulse duration low-level pulse width, and 1 yard high level pulsewidth is 2 times of low-level pulse width.
2. coding, coding/decoding method that is applied to Digiplex, at first in transmitter, control information is encoded, control information is represented with binary mode each of control information then represented by the coded strings of 0 yard and 1 yard composition, forms information code; Transmit information code by carrier transmit equipment then, control carrier transmit equipment according to each yard position of information code and launch corresponding radiowave, it is characterized in that: in the described cataloged procedure, the cycle that is used to represent 0 yard of control information and 1 yard, all between 100uS-2000uS, promptly frequency range was 500hz-10KHZ; Wherein, 0 yard high level pulsewidth is identical with 1 yard high level pulsewidth, and 0 yard low-level pulse width is than the long 50uS of high level pulsewidth, and 1 yard low-level pulse width is 2 times of high level pulsewidth.
3. according to claim 1 or 2 described a kind of coding, coding/decoding methods that are applied to Digiplex, it is characterized in that: the initial high-low level of described 0 yard and 1 yard is by the circuit decision of transmitter module, when being provided with reverser in the circuit of transmitter module and opposite when not having phase inverter.
4. according to claim 1 or 2 described a kind of coding, coding/decoding methods that are applied to Digiplex, it is characterized in that: the error range of described each pulsewidth is ± 5uS.
5. according to claim 1 or 2 described a kind of coding, coding/decoding methods that are applied to Digiplex, it is characterized in that: the waveform of described information code all is square waves.
6. according to described a kind of coding, the coding/decoding method that is applied to Digiplex of claim 1, it is characterized in that: described 0 yard pulsewidth with the level of 1 yard last portion waveshape is identical, is low level, and a part of waveform in back is a high level.
7. according to described a kind of coding, the coding/decoding method that is applied to Digiplex of claim 2, it is characterized in that: described 0 yard pulsewidth with the level of 1 yard last portion waveshape is identical, is high level, and a part of waveform in back is a low level.
8. according to claim 1 or 2 described a kind of coding, coding/decoding methods that are applied to Digiplex, it is characterized in that: during one section radiowave of transmitter emission, be to judge that by transmitter module the position of control information is the radiowave of 0 yard or the emission of 1 yard control transmitter, therefore go out by transmitter by control information being encoded into by described 0 yard and 1 yard coded strings of forming.
9. described according to Claim 8 a kind of coding that is applied to Digiplex, coding/decoding method, it is characterized in that: described coded strings is by behind the transmitter, demodulate the coded strings of emission behind the carrier wave receiving equipment reception carrier, this coded strings at first reads one section low level or high level by the receiver module of carrier wave receiving equipment from the carrier wave receiving equipment, because 0 yard level pulsewidth with a preceding part of 1 yard is identical, therefore do not read the pulsewidth length of this section level, up to reading the level saltus step, the pulsewidth length of ability opening entry level, relation according to 2 times of a part of level pulsewidths after 0 yard and 1 yard identifies 0 yard or 1 yard.
10. according to described a kind of coding, the coding/decoding method that is applied to Digiplex of claim 9, it is characterized in that: when storage pulsewidth width information, the pulse width information of only storing a part of distinct pulse widths level after 0 yard and 1 yard.
CN2009100592253A 2009-05-08 2009-05-08 Coding and decoding method applicable to remote controller Expired - Fee Related CN101699533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100592253A CN101699533B (en) 2009-05-08 2009-05-08 Coding and decoding method applicable to remote controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100592253A CN101699533B (en) 2009-05-08 2009-05-08 Coding and decoding method applicable to remote controller

Publications (2)

Publication Number Publication Date
CN101699533A true CN101699533A (en) 2010-04-28
CN101699533B CN101699533B (en) 2012-02-29

Family

ID=42147991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100592253A Expired - Fee Related CN101699533B (en) 2009-05-08 2009-05-08 Coding and decoding method applicable to remote controller

Country Status (1)

Country Link
CN (1) CN101699533B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779259A (en) * 2011-05-12 2012-11-14 国民技术股份有限公司 Communication mode self-adaptive method and module as well as noncontact IC card
CN103714690A (en) * 2013-12-23 2014-04-09 乐视致新电子科技(天津)有限公司 Method and device for resolving physical codes from remote control coded pulses
CN105118285A (en) * 2015-09-25 2015-12-02 广州视睿电子科技有限公司 Anti-interference infrared remote-control decoding method and system
CN107888339A (en) * 2017-11-27 2018-04-06 卫星电子(中山)有限公司 A kind of carrier wave sending method for being easy to reduce the binary code of transmission power
CN108259958A (en) * 2018-02-07 2018-07-06 深圳创维-Rgb电子有限公司 Remote keying response method, device, equipment and storage medium
CN113242032A (en) * 2021-05-13 2021-08-10 苏州英威腾电力电子有限公司 Method, device, equipment and medium for determining minimum pulse width of PWM signal
CN113327412A (en) * 2021-08-04 2021-08-31 深圳宇凡微电子有限公司 Wireless signal decoding method, device, equipment and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3751768T2 (en) * 1986-05-30 1996-08-22 Mitsubishi Electric Corp Digital remote control transmission device
JP3153084B2 (en) * 1994-11-15 2001-04-03 エスエムケイ株式会社 Pulse modulation method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779259A (en) * 2011-05-12 2012-11-14 国民技术股份有限公司 Communication mode self-adaptive method and module as well as noncontact IC card
CN102779259B (en) * 2011-05-12 2015-08-19 国民技术股份有限公司 A kind of communication mode adaptive approach, module and contactless IC card
CN103714690A (en) * 2013-12-23 2014-04-09 乐视致新电子科技(天津)有限公司 Method and device for resolving physical codes from remote control coded pulses
CN103714690B (en) * 2013-12-23 2018-03-06 乐视致新电子科技(天津)有限公司 The method and device of physics code is parsed from remote control code pulse
CN105118285A (en) * 2015-09-25 2015-12-02 广州视睿电子科技有限公司 Anti-interference infrared remote-control decoding method and system
CN107888339A (en) * 2017-11-27 2018-04-06 卫星电子(中山)有限公司 A kind of carrier wave sending method for being easy to reduce the binary code of transmission power
CN108259958A (en) * 2018-02-07 2018-07-06 深圳创维-Rgb电子有限公司 Remote keying response method, device, equipment and storage medium
CN108259958B (en) * 2018-02-07 2020-12-22 深圳创维-Rgb电子有限公司 Remote control key response method, device, equipment and storage medium
CN113242032A (en) * 2021-05-13 2021-08-10 苏州英威腾电力电子有限公司 Method, device, equipment and medium for determining minimum pulse width of PWM signal
CN113242032B (en) * 2021-05-13 2024-06-04 苏州英威腾电力电子有限公司 Method, device, equipment and medium for determining minimum pulse width of PWM (pulse Width modulation) signal
CN113327412A (en) * 2021-08-04 2021-08-31 深圳宇凡微电子有限公司 Wireless signal decoding method, device, equipment and system
CN113990059A (en) * 2021-08-04 2022-01-28 深圳宇凡微电子有限公司 Wireless signal decoding method, device, equipment and system based on single chip microcomputer
CN113990059B (en) * 2021-08-04 2022-10-14 深圳宇凡微电子有限公司 Wireless signal decoding method, device, equipment and system based on single chip microcomputer

Also Published As

Publication number Publication date
CN101699533B (en) 2012-02-29

Similar Documents

Publication Publication Date Title
CN101699533B (en) Coding and decoding method applicable to remote controller
CN101620664A (en) Method for transmitting data information from reader to label
CN101673195B (en) Information transmission method, system and device in radio frequency identification
WO2003061149A1 (en) Frequency hopping spread spectrum communications system
CN103428830A (en) Wireless communication system and method
CN101201970A (en) Self-adaptive decoding method for wireless remote control receiving chip
CN104966113A (en) RFID reading-writing system and coding and conflict processing method for label return signal thereof
CN102185817B (en) Method and device for transmitting information from reader-writer to label
CN203870628U (en) Radio frequency identification system with combination of time division multiple access and synchronous code division multiple access
CN100438518C (en) Radio communication coding and decoding method using variable length signal to express digital data
CN102129586B (en) Information encoding method, method and device for transmitting information from reader-writer to label
CN106508105B (en) For RF identification read write line to label information transferring method
CN101620663B (en) Data coding method in passive radio frequency identification system
CN101989329B (en) Data encoding method applying in radio frequency identification system
CN104598946B (en) A kind of method of testing of the minimum triggering power of the RFID label tag based on virtual instrument
CN101616109B (en) Data transmission method for reader to marker in radios frequency identification
CN103325237B (en) The generation method of infrared carrier signal and device
CN201965746U (en) Remote control encoding circuit based on FPGA (Field Programmable Gate Array)
RU2585992C2 (en) System and method for wireless communication
CN110831118B (en) Method for generating Chirp signal of wake-up code with low power consumption and communication method
CN102946255B (en) For the code and decode method of passive radio frequency identification system
US20120188060A1 (en) Method and system for counting tags in radio frequency identification system
CN103326981A (en) Method for modulating control signals of power line carrier communication based on OFDM
CN113242110A (en) Reliable reflection communication system based on channel coding
CN107124248B (en) A kind of communication means, apparatus and 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120229

Termination date: 20180508