CN100438518C - Radio communication coding and decoding method using variable length signal to express digital data - Google Patents

Radio communication coding and decoding method using variable length signal to express digital data Download PDF

Info

Publication number
CN100438518C
CN100438518C CNB021191913A CN02119191A CN100438518C CN 100438518 C CN100438518 C CN 100438518C CN B021191913 A CNB021191913 A CN B021191913A CN 02119191 A CN02119191 A CN 02119191A CN 100438518 C CN100438518 C CN 100438518C
Authority
CN
China
Prior art keywords
data
digital data
coding
decoding
bit
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.)
Expired - Fee Related
Application number
CNB021191913A
Other languages
Chinese (zh)
Other versions
CN1458772A (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.)
Elan Microelectronics Corp
Original Assignee
Elan Microelectronics Corp
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 Elan Microelectronics Corp filed Critical Elan Microelectronics Corp
Priority to CNB021191913A priority Critical patent/CN100438518C/en
Publication of CN1458772A publication Critical patent/CN1458772A/en
Application granted granted Critical
Publication of CN100438518C publication Critical patent/CN100438518C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

The present invention relates to a radio communication coding and decoding method by using a variable length signal to express digital data. In the coding method of the present invention, firstly, unit time T is defined, and a high level bit element in a continuous digital data string is transmitted by N kinds of unit time (N*T); a low level bit element in the digital data is transmitted by M kinds of unit time (M*T); the total transmission time of the data is greatly shortened when a large amount of data is transmitted by endowing different transmission time length to bit element signals of high and low different levels. The power consumption of a transmitting / receiving device is reduced, and the transmission synchronization requirement for a signal transmitting / receiving end is kept.

Description

Radio communication coding and decoding method with variable length signal to express digital data
Technical field
The present invention is a kind of radio communication coding and decoding method with variable length signal to express digital data, especially refer to a kind ofly define different delivery time length and give high and low level signal in the numerical data respectively, the total time length that data are transmitted can shorten dramatically, and reduces the transmission/reception power consumption of signal.
Background technology
Basic conception about Radio Transmission Technology, transmitting terminal is after the digital data strings that tendency to develop is sent is encoded in advance, again it is modulated to analog format, and data promptly with analog format in transmission medium (radio wave for example, infrared ray or the like) transmits in, thereafter receiving terminal is when receiving this a series of analog signal, then amplify this analog signal and in addition demodulation be reduced into digital signal, this a series of digital signal is again through promptly becoming initial numberical data after the decoding step.
And, shortened in the transmission time of data at the decoding method of wireless transmission, and emission/receiving terminal wants to reach signal Synchronization, so that data transmit correctly.The most direct influence of transmission time of data promptly is emission and the power consumption situation that receives two ends, especially more obvious in its influence of data transmission end, for example present modal wireless type computer peripheral, Wireless Keyboard, slide-mouse etc. all carry out the signal transmission with wireless transmission method and host side, right above-mentioned wireless type ancillary equipment, its working power is to come from battery, so the power consumption situation is topmost Consideration, when data transmission period is longer, for emitter, promptly meaning and must carry out the data transmission with the longer operating time, its power consumption increases naturally relatively.
Please refer to shown in Figure 6, the transmission means of data is that unit transmits with " packet " generally, single packet can be divided into several sections, is respectively the SFT section that preamble (Preamble) section, head (Header) section, control (Control) section, data (Data) section and last representative data finish from front to back in regular turn.Wherein in the coded system of expression data (Data) section, please refer to shown in Figure 7ly, at present more common having is following several:
(1.NRZ-L non-return-to-zero (level) system) coding: in the transport process of numerical data, for the representative " 1 " digital signal promptly with high level (+V) expression, otherwise for the representative " 0 " digital signal be low level (V).
(2.NRZ-M non-return-to-zero (mark) system) coding: this kind coded system is only when digital signal transfers " 1 " to by " 0 ", just with high level (+V) be reduced to low level (V), as for the variation of other digital signal then all maintain high level (+V).
3.Unipolar RZ (one pole return-to zero system) coding: its when " 1 " of digital signal, produce high-low level (+V ,-V) variation, the digital signal of " 0 " then is maintained at low level.
4. Manchester code (Manchester): this kind coded system is no matter " 1 " or " 0 " of digital signal all produces once in each unit interval and changes, and distinguished with rising edge or falling edge, in the unit interval, have falling edge and promptly represent " 1 ", otherwise rising edge is promptly represented " 0 ".
5. postpone modulation (Delay Modulation): during expression numerical data " 1 ", be to have level to change in the unit interval.Its practice is postpone the level state of last bit in the unit interval after, just change its previous level, and the level of last position is then all kept in single " 0 " position in the unit interval, if occur continuously twice above " 0 ", then the level of second " 0 " will differ from the expression level of last position.
If adopt the aforementioned the 1st to the 3rd kind of coded system change owing to can't produce level in each unit interval, cause emission and receive two ends difficulty reach signal Synchronization, so general less use.Aforementioned Manchester's code mode then possesses has synchronizing function all to change when each unit, meets the requirement that wireless data transmits the reception aspect.Yet adopt Mancunian coded system when transferring large number of data, often because its each position (bit) all takies the same units time, so make data volume heal when big proportional relation prolongation of transmission time.
For example, please refer to shown in Figure 8, be the schematic diagram that utilizes the Manchester's code mode that two bytes (2Bytes=16bits) are encoded, the data that tendency to develop is sent are 01100011_01011110, kenel after then its transmitting terminal (TX) is encoded to this two byte promptly as shown in FIG., and because of each bit all must expend same units time (2T) expression, so its total consumed time is 16 * 2T=32T, this kind coded system that hence one can see that is when data volume is huge, cause the delivery time to be elongated, make the device power consumption at emission/reception two ends increase.
Summary of the invention
For effectively overcoming above-mentioned located by prior art disappearance, main purpose of the present invention provides a kind of radio communication coding and decoding method with variable length signal to express digital data, represent with different time length with " 1 " by to digital data " 0 ", thereby the shortening data transmission period, and obtain the effect that reduces power consumption.
Another purpose of the present invention provides a kind of radio communication coding and decoding method with variable length signal to express digital data, owing to also exist the characteristic that high and low level changes between the every bit data of this case, data transmission/receiving terminal more can reach the synchronous effect of Data Receiving easily, guarantees stability of data transmission.
For reaching above-mentioned purpose, the present invention is with the concrete means of an embodiment of the radio communication coding and decoding method of variable length signal to express digital data, and it includes:
Define a unit interval (T);
The position " 1 " of definition numerical data is with N unit interval (N * T) expression;
(M * T) represents, and N is not equal to M with M unit interval in the position " 0 " of definition numerical data;
Wherein two-phase ortho position metadata is different voltage levels and represents.
The present invention comprises with the concrete means of an embodiment of the radio communication coding and decoding method of variable length signal to express digital data:
The definition unit interval (T);
The data that to represent with N unit interval are considered as digit order number " 0 ";
The data that to represent with M unit interval look digit order number " 1 ", and M are not equal to N.
The invention provides a kind of is the method for transmission signals with digital data conversion, and this numerical data comprises a bit at least, and this method comprises: carry out the conversion of transmission signals in regular turn according to the content of this numerical data, when this bit is 1, count N unit interval; When this bit was 0, counting M should the unit interval; The changing voltage level; And repeat above-listed step, up to the conversion of finishing this transmission signals.
The present invention also provides a kind of coding/decoding method of wireless telecommunications: receive a wireless signal transmission; Calculate in this transmission signals the time interval between the voltage level conversion twice; When this time interval is N unit interval, then obtain bit " 0 "; When this time interval is M unit interval, then obtain bit " 1 "; And repetition above-mentioned steps.
Description of drawings
For enabling further to understand architectural feature of the present invention and other purposes, attached now with graphic detailed description as the back:
Fig. 1: be coding method schematic diagram of the present invention.
Fig. 2 (A), (B): be to adopt the present invention to carry out the comparison schematic diagram of digital data coding and Manchester's code commonly used.
Fig. 3 (A), (B): be an embodiment schematic diagram that adopts coded system of the present invention.
Fig. 4 (A)~(C): be the decoding process schematic diagram that the present invention adopts periodic sampling and noise removing.
Fig. 5: be to adopt the various coded combination schematic diagram that coded system of the present invention is promoted.
Fig. 6: each section schematic diagram that is a composition packet.
Fig. 7: be coded system schematic diagram commonly used.
Fig. 8: for carrying out the emission of numerical data " 01100011_01011110 " coding and the signal bias example schematic behind the receiving demodulation in Manchester commonly used.
Embodiment
Notion of the present invention represents " 1 " in the numerical data and " 0 " with the signal encoding of different in width (T), particularly, please refer to shown in Figure 1, for utilizing an encode embodiment of notion of the present invention.When " 0 " signal of numerical data is sent in tendency to develop, be to represent with a unit time width (T), and if the numerical data that will transmit during for " 1 ", then represent with two unit time width (2T), and be varying level (transfer low level to by high level, or transfer high level to) between the adjacent data from low level.
See also shown in Figure 2, for adopting a coded system of the present invention and a coded system comparison diagram commonly used, suppose that the numerical data that tendency to develop is passed is 01100011_01011110, coding then of the present invention is to utilize aforementioned " 0 " with a unit interval, after " 1 " carries out digital coding in the mode of two unit interval, can obtain as the transfer of data kenel shown in Fig. 2 (A) is between section.Wherein in section, data of the present invention must the transmission activity duration only be 25T, because data " 0 " only account for a unit time width (1T), the fixedly pattern that is 2T with the width of each data of Manchester's code shown in Fig. 2 (B) is compared, its transmission time, the coded system of variable-length of the present invention that hence one can see that can shorten the transmission time of data up to 32T.
Again with reference to shown in Figure 3, if utilize coding method of the present invention, (00h was hexadecimal when the data of sending when tendency to develop were 00h, promptly all bit data are " 0 "), its activity duration can be reduced to 16 unit interval (16T), if when the transmission data are FFh (all bit data are " 1 "), its delivery time is 32T, maximum is also come longlyer unlike coded system commonly used.And just under the situation of general numerical data, it is about about 25% that the total transmission time of data can reduce, and has the benefit that reduces the transmission time really.
In the above description, be with a unit interval (1T) coding for " 0 " of digital signal, " 1 " then adopts two unit interval (2T) to be encoded to the example explanation.Variation then can be given in the practical application aspect, can be represented by 2T as " 0 ", and " 1 " is then represented with 1T.
And aspect receiving terminal, its decoding process is that the mode of adopting periodic sampling is carried out, and the suitable error amount of tolerable.Please refer to shown in Fig. 4 (A), if definition of data " 0 " width is 5t, and " 1 " when the 10t width (t is the sampling period of receiving terminal), when receiving, can define a suitable error amount at the data length of " 0 " and " 1 " in advance, for example working as signal is that 12t~8t promptly is represented as " 1 ", signal length is that 3t~7t then is expressed as " 0 ", so the data of receiving when receiving terminal be shown in Fig. 4 (B) have error the time, still can correctly recognize.Moreover, when signal is subjected to influencing of external environment in transmittance process, causing being mingled with in the data-signal noise (noise), shown in Fig. 4 (C),, can differentiate easily for belonging to abnormal signal because of noise only accounts for single time t, reach the effect of filtered noise.
Please refer to shown in Figure 5, the present invention is except that by different time width means " 0 ", " 1 " data, also can utilize the different voltage level of different time width (1T, 2T, 3T) collocation, be combined into the coded representation of multiple different kenels, to represent specific transmission data string.As shown in Figure 5, present the coded representation gimmick of nine kinds of different kenels altogether, so can be applied to the coding of nine kinds of different serial datas respectively.
By in the above detailed description as can be known, the present invention is with the radio communication coding and decoding method of variable length signal to express digital data, it advantage that possesses is to have:
1. " 0 " by to digital data defines different time length respectively with " 1 ", can shorten data transmission period.
2. owing to shorten data transmission period, in the processing time that can reduce emission/receiving end device, meet the economize on electricity requirement with the power consumption that reduces device.
3. this data transmission/received code mode can reach the data sync characteristic easily, guarantees the stability that data transmit.
The present invention has really possessed aforementioned advantages, and also possesses significant effect improvement than prior art, is specifying of preferred embodiment of the present invention in sum, but not in order to limit claim of the present invention.

Claims (6)

1. one kind is the method for transmission signals with digital data conversion, and this numerical data comprises a bit at least, and this method comprises:
Carry out the conversion of transmission signals in regular turn according to the content of this numerical data, when this bit is 1, count N unit interval;
When this bit was 0, counting M should the unit interval;
The changing voltage level; And
Repeat above-listed step, up to the conversion of finishing this transmission signals.
2. the wireless telecommunications coding method with variable length signal to express digital data as claimed in claim 1, wherein N is greater than M.
3. the wireless telecommunications coding method with variable length signal to express digital data as claimed in claim 1, wherein N is less than M.
4. the coding/decoding method of wireless telecommunications:
Receive a wireless signal transmission;
Calculate in this transmission signals the time interval between the voltage level conversion twice;
When this time interval is N unit interval, then obtain bit " 0 ";
When this time interval is M unit interval, then obtain bit " 1 "; And
Repeat above-mentioned steps.
5. the wireless telecommunications coding/decoding method with variable length signal to express digital data as claimed in claim 4, wherein N is greater than M.
6. the wireless telecommunications coding/decoding method with variable length signal to express digital data as claimed in claim 4, wherein N is less than M.
CNB021191913A 2002-05-13 2002-05-13 Radio communication coding and decoding method using variable length signal to express digital data Expired - Fee Related CN100438518C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021191913A CN100438518C (en) 2002-05-13 2002-05-13 Radio communication coding and decoding method using variable length signal to express digital data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021191913A CN100438518C (en) 2002-05-13 2002-05-13 Radio communication coding and decoding method using variable length signal to express digital data

Publications (2)

Publication Number Publication Date
CN1458772A CN1458772A (en) 2003-11-26
CN100438518C true CN100438518C (en) 2008-11-26

Family

ID=29426749

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021191913A Expired - Fee Related CN100438518C (en) 2002-05-13 2002-05-13 Radio communication coding and decoding method using variable length signal to express digital data

Country Status (1)

Country Link
CN (1) CN100438518C (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1862565B (en) * 2005-05-11 2010-04-28 盛群半导体股份有限公司 Coding method for passive RF identifying system
CN1893404B (en) * 2005-07-01 2010-09-08 海尔集团公司 Serial communication method and interface circuit
JP4593621B2 (en) * 2005-07-14 2010-12-08 富士通株式会社 Data decoding method and data decoding apparatus to which the method is applied
CN101207609A (en) 2006-12-20 2008-06-25 华为技术有限公司 System and method for transmitting information among communication systems
CN101640540B (en) * 2008-07-30 2012-03-14 鸿富锦精密工业(深圳)有限公司 Digital signal decoding method
CN101604161B (en) * 2009-04-17 2012-05-23 北京铱钵隆芯科技有限责任公司 Bit synchronization decoding method
CN103378923A (en) * 2012-04-18 2013-10-30 北京鼎合远传技术有限公司 FM (frequency modulation)-based baseband transmission encoding method and apparatus thereof
CN103973311B (en) * 2014-04-11 2017-08-04 北京工业大学 A kind of quick braiding decoding algorithm that son is described to elongated binaryzation
CN108574535A (en) * 2017-03-09 2018-09-25 深圳光启智能光子技术有限公司 For the coding method of optic communication, sender unit and reception device and method
CN112822226A (en) * 2019-11-15 2021-05-18 杭州海康威视数字技术股份有限公司 Data transmission method and device, electronic equipment and machine-readable storage medium
CN112333812A (en) * 2020-11-30 2021-02-05 紫光展锐(重庆)科技有限公司 Data transmission method, device, apparatus and storage medium
CN112910603A (en) * 2021-01-20 2021-06-04 宁波方太厨具有限公司 Digital data coding method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002041518A2 (en) * 2000-11-15 2002-05-23 Telefonaktiebolaget Lm Ericsson (Publ) System and method for compensating for frequency offset

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002041518A2 (en) * 2000-11-15 2002-05-23 Telefonaktiebolaget Lm Ericsson (Publ) System and method for compensating for frequency offset

Also Published As

Publication number Publication date
CN1458772A (en) 2003-11-26

Similar Documents

Publication Publication Date Title
CN100438518C (en) Radio communication coding and decoding method using variable length signal to express digital data
JP2003264598A (en) Encoding and decoding techniques using variable length codes in wireless communication
CN100568738C (en) The pulse-width modulation type optical fiber communication coding coding/decoding method and the circuit of band synchronised clock
US20050058150A1 (en) Method and apparatus for enhancing packet communication
US4771440A (en) Data modulation interface
WO2009158456A3 (en) Compression scheme for interval data
CN104618086A (en) Single-core cable data transmission system and method
CN101201970A (en) Self-adaptive decoding method for wireless remote control receiving chip
CN101729198A (en) Method, device and system for encoding and decoding
CN103166732B (en) The data transmission method that clock pulse embeds and packet data coding/decoding method
CN101431389A (en) Circuit and its signal transmission method
CN106911334B (en) Fire-fighting industrial bus coding method
CN102104375A (en) Low voltage differential signaling (LVDS) interface circuit based on field programmable gate array (FPGA) and data transmission method
CN101534127A (en) Encoding and decoding method for improving decoding efficiency by pilot frequency information and device thereof
CN101540754A (en) Two-line self-powered bus communication method
AU767167B2 (en) Clock slew control for serial communication systems
CN101685576B (en) Infrared remote controller and infrared remote control signal generating method
WO1990007242A1 (en) Apparatus and method for binary data transmission
CN102571209B (en) Optical fiber communication device of laser marking control system and coding method
CN103051440A (en) 16:66 way signal conversion and parallel synchronous detection method
EP1117212A3 (en) Burst and packet wireless transmission using product codes with iterative decoding
CN108667558B (en) Coding method suitable for transmitting short content
CN106803762B (en) A kind of coding method applied to digital communication
CN102006083A (en) Method for decoding phase code
CN103365814A (en) Serial data transmission method and system

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20081126

Termination date: 20170513