Short-distance wireless communication anti-interference simple encoding method for single-chip

A technology of short-distance wireless and encoding method, which is applied in the direction of digital transmission system, electrical components, and error prevention. It can solve the problems of poor anti-interference ability of serial communication, and achieve the goal of avoiding data error judgment, small storage space, and saving storage space. Effect

Inactive Publication Date: 2009-04-08
广西龙润地福生物科技有限公司
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to eliminate the misjudgment of data by single-chip microcomputer due to data attenuation and distortion, the present invention provides a new type of communication coding method, which can effe

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Short-distance wireless communication anti-interference simple encoding method for single-chip
  • Short-distance wireless communication anti-interference simple encoding method for single-chip
  • Short-distance wireless communication anti-interference simple encoding method for single-chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] figure 1 Middle: 1. Representation method of start bit, 2. Representation method of data bit '1', 3. Representation method of data bit '0'.

[0015] The present invention will be further described below in conjunction with the drawings and specific implementation process.

[0016] Take the AT89c2051 microcontroller as the sending end and the PIC16F73 as the receiving end to illustrate the design idea of ​​the present invention. If other types of single-chip microcomputers are used, the method is similar.

[0017] For example, the content of the data frame is (the form of the data frame can be other types, but the representation of each data bit is similar):

[0018] Start bit (1 bit) + data bit (8 bits) + stop bit (1 bit)

[0019] Such as figure 1 Shown, the present invention represents the start bit (1) with the equal rectangular wave of high and low level duration; Short with high level duration, the long rectangular wave of low level duration represents data bit ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a simple anti-interference coding method for single-chip microcomputer short-distance wireless communication, and is particularly suitable for occasions with low functional requirements for communication equipment. A start bit of a data frame is represented by a square wave having the same high level duration and low level duration on a sending terminal; a data bit '1' is represented by a square wave having a short high level duration and a long low level duration; a data bit '0' is represented by a square wave having a long high level duration and a short low level duration; a fixed sampling time is set on a receiving terminal to sample the received data waveform; and finally the data bits are discriminated according to the number of the sampled high levels and the sampled low levels. The method achieves the anti-interference purpose of the single-chip microcomputer short-distance wireless communication by a simple data coding method, greatly reduces the probability of wrong data discrimination caused by ingression of interference signals during the data transmission; a small memory space is occupied after programming, and a great memory space is saved for the single-chip microcomputer.

Description

technical field [0001] The invention relates to a single chip microcomputer short-distance wireless communication anti-interference simple encoding method, which is especially suitable for occasions where the function requirements of communication equipment are not high. Background technique [0002] Because of its flexibility and low cost, the wireless serial communication of single-chip microcomputer has a wide application prospect in the fields of production, life and industrial control. The serial I / O port of the one-chip computer is usually used to complete the data communication, and the general method of the serial port detection data is to sample three times from the middle part of the data. Only when the same value occurs at least twice in the three sampled values, the data is confirmed. However, the anti-interference ability of this data detection method is very poor. Due to the existence of various electromagnetic interference signals in the space, the data rece...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L1/00
Inventor 杨慧中陈定三周达左陈刚石晨曦潘国锋
Owner 广西龙润地福生物科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products