Anti-interference error-correcting and sampling system and method in process of receiving asynchronous serial communication data

An asynchronous serial communication and data technology, applied in the direction of digital transmission system, transmission system, error prevention, etc., can solve problems such as sampling error data, and achieve the effect of increasing stability

Inactive Publication Date: 2012-07-04
北京国睿中数科技股份有限公司
View PDF2 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, after adding the random pulse interference signal, the random pulse interference may also appear in the middle of the single bit period
Therefore, in this case, wrong data may be sampled

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
  • Anti-interference error-correcting and sampling system and method in process of receiving asynchronous serial communication data
  • Anti-interference error-correcting and sampling system and method in process of receiving asynchronous serial communication data
  • Anti-interference error-correcting and sampling system and method in process of receiving asynchronous serial communication data

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0048] Assuming that the baud rate frequency division factor N of asynchronous serial communication is 16, the correct input level should be high level under the condition of no interference, but at the middle moment, the external input generates random pulse interference, such as No. 5-9 A baud rate clock has 5 periods of low level in succession. The data receiving module in the traditional data receiving system samples only the wrong low-level signal at the eighth baud rate clock. However, by Figure 6 Shown according to the data receiving system that adds filter sampling module of the present invention, the addition and subtraction counter in the filter sampling module adds 1 operation at the 5th-9th baud rate clock, and carries out at other 10 baud rate clocks Subtract 1 operation. At the 16th baud rate clock, the data receiving module samples the sign bit of the up-down counter in the filter sampling module. Since the value of the up-down counter in the filter sampling...

example 2

[0050] Assume that the baud rate frequency division factor N of asynchronous serial communication is 32, and the correct input level is low level under the condition of no interference. On the 3rd-9th, 15th-16th, and 30th-31st baud rate clocks, interference high-level signals randomly appeared one after another. These signals passed Figure 6 The up-down counter in the filter sampling module according to the present invention shown in the present invention generates 11 minus-1 operations afterwards, and generates plus-1 operations in the other 20 baud rate sampling periods. At the 32nd baud rate clock, the data receiving module samples the sign bit of the up-down counter in the filter sampling module. Since the value of the counter at this time is +9 (=0-7-2-2+20), the output value of the data receiving module remains at the correct low level 0.

[0051] The advantages of the present invention are obvious through the above detailed description in conjunction with the embodim...

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 an anti-interference error-correcting and sampling system and an anti-interference error-correction sampling method in a process of receiving asynchronous serial communication data. The system provided by the invention comprises a sampling module, a control module and an error-correcting output module. When the data receiving is started, input signals are transmitted to the sampling module and the control module. The control module is used for determining a plurality of sampling moments and a receiving judging moment according to the input signals. The sampling module is used for sampling the input signals at a plurality of the sampling moments respectively. The error-correcting output module is used for receiving a sampling output result output by the sampling module, carrying out majority voting comparison on the sampling output result at the receiving judging moment and outputting a data receiving result according to a compared result of the majority voting. According to the invention, the disadvantage that a traditional asynchronous serial communication sampling module is easy to obtain incorrect sampling data under the condition of random pulse interference is overcome; and the system and the method are stronger in anti-interference capability and easy in realization.

Description

technical field [0001] The invention relates to the technical field of serial communication, in particular to a system and method for performing anti-interference and error correction sampling when data is received in asynchronous serial communication. Background technique [0002] In serial communication, "baud rate" is often used to describe the data transmission rate. The so-called baud rate is the number of binary digits transmitted per second, and its unit is BPS (bits per second). The baud rate is an important indicator to measure the speed of serial data. Sometimes "single bit period" is also used to indicate the transmission rate, which is the reciprocal of the baud rate. For example, the baud rate of 9600bps means that 9600 bits are transmitted per second, and the 9600 bits include character bits and other bits such as parity bits. [0003] During data transmission, all single-bit transmissions have the same transmission time set according to the baud rate, and t...

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
Patent Type & Authority Applications(China)
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