Serial port baud rate adaptive system and method

An adaptive system, baud rate technology, applied in the field of serial communication, can solve the problems of troublesome operation, poor scalability, abnormal data, etc., to achieve the effect of simple operation, low delay, and preventing data loss

Inactive Publication Date: 2017-08-11
深圳市顺讯电子有限公司
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the serial port communication needs to send and receive at the same transmission rate to ensure the correct transmission of data, so the baud rate matching is required when sending and receiving. Now the general practice is to predict the baud rate of the sending end in advance, and the receiving end is fixed to receive; or The baud rate required by the receiving end is predicted in advance, and the user uses the specified baud rate to send. This operation is troublesome, and the scalability is poor, and it is easy to cause data abnormalities due to negligence.

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
  • Serial port baud rate adaptive system and method
  • Serial port baud rate adaptive system and method
  • Serial port baud rate adaptive system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0033] Such as figure 1 As shown, the serial port baud rate adaptive system provided by the present invention includes: a filter, a buffer module, a baud rate analysis module, a first serial port receiving module, and a serial port sending module.

[0034] The filter is used to filter out the glitch of the serial port level signal before the serial port level buffer module receives the serial port level signal;

[0035] The serial port level buffer module is used to receive and buffer the serial port level signal in real time, and output the delayed serial port level signal;

[0036] The baud rate analysis module is used to analyze the baud rate of the cached serial port level signal in real time, find the minimum pulse width of the serial port level signal, and obtain the baud rate of the serial port according to the duration; send it to the serial port lev...

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 present invention discloses a serial port baud rate adaptive system and method. The system comprises: a cache module, a baud rate analysis module, a first serial port receiving module, and a serial port sending module. According to the system and method disclosed by the present invention, serial port level baud rate can be analyzed in real time and serial port data is analyzed, without predicting a baud rate at a sending terminal in advance for a receiving terminal to receive the data fixedly, so that the user can more conveniently transmit the serial port data; by means of strict time sequence logic and cache control, data loss during identification of baud rate is prevented; resource consumption is lower, accuracy of analysis of baud rate is high, frame synchronization and speed matching are realized; real-time data is completely restored, with low delay, strong expansibility and good robustness.

Description

technical field [0001] The invention relates to the technical field of serial port communication, in particular to a serial port baud rate adaptive system and method. Background technique [0002] Nowadays, serial port (RS232, RS485, etc.) control is a convenient and efficient control method, which is widely used in multi-host communication and man-machine control interface. However, the serial port communication needs to send and receive at the same transmission rate to ensure the correct transmission of data, so the baud rate matching is required when sending and receiving. Now the general practice is to predict the baud rate of the sending end in advance, and the receiving end is fixed to receive; or The baud rate required by the receiving end is predicted in advance, and the user uses the specified baud rate to send. This operation is troublesome, and the scalability is poor, and it is easy to cause data abnormalities due to negligence. Contents of the invention [00...

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): G06F13/38G06F13/40G06F13/42
CPCG06F13/385G06F13/4022G06F13/4282G06F2213/0002
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