Supercharge Your Innovation With Domain-Expert AI Agents!

Baud rate detection method and device for serial communication interface

A technology of serial communication interface and detection method, applied in the direction of digital transmission system, electrical components, transmission system, etc., can solve the problems such as the malfunction of the driven device, the handshake data packet does not conform to the data protocol, etc., to improve the versatility and wide applied effect

Active Publication Date: 2020-04-03
XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the commonly used baud rate detection method of the serial communication interface is that before the data is officially sent, the sending device sends a handshake data packet (0x55 or 0xAA) in a special format according to the agreement, and the receiving device measures the single pulse width in the serial data. , and get the baud rate of the sending device after conversion. This method is simple and efficient, but the handshake data packet used to detect the baud rate may not conform to the data protocol of the receiving device, resulting in misoperation of the driven device

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
  • Baud rate detection method and device for serial communication interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0023] figure 1 It is a schematic flowchart of a baud rate detection method suitable for a serial communication interface provided by the present invention. refer to figure 1 As shown, the method includes three steps: pulse width measurement, greatest common divisor calculation and candidate baud rate update.

[0024] The pulse width detection refers to measuring the width of all negative pulses on the serial data line, such as figure 1 In (W1, W2, ..., Wn) shown in;

[0025] The calculation of the greatest common divisor refers to calculating the approximate greatest common divisor WGCD of the pulse width (W1, W2, ..., Wn);

[0026] The updating of the candidate baud rate table refers to removing all baud rates that cannot be divisible by WGCD on the basis that the approximate greatest common divisor is WGCD.

[0027] refer to figure 1 A...

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 belongs to the technical field of digital circuits, and particularly relates to a Baud rate detection method and device for a serial communication interface. The method comprises three steps of pulse width measurement, maximum common divisor calculation and candidate Baud rate table screening. The pulse width measurement refers to the measurement of the widths of all negative pulseson a serial data line, the maximum common divisor calculation refers to the calculation of the approximate maximum common divisor of the widths of all the negative pulses, and the candidate baud ratetable screening refers to the elimination of non-target baud rates.

Description

technical field [0001] The invention belongs to the technical field of digital circuits, in particular to a method and device for detecting the baud rate of a serial communication interface. Background technique [0002] Serial communication interfaces are widely used in aviation, aerospace, shipbuilding, manufacturing and other industrial fields. In most application scenarios, before the communication starts, the sending device and the receiving device configure their respective baud rates according to the agreement, so as to realize the correct analysis of the serial data. However, in some special applications, in order to increase the applicability of the serial communication interface, the receiving device needs to detect the baud rate of the sending device, and analyze the received data according to the detection result. At present, the commonly used baud rate detection method of the serial communication interface is that before the data is officially sent, the sending...

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): H04L12/26
CPCH04L43/0876H04L43/50Y02D30/50
Inventor 屈盼让禹勇肖鹏梁哲赵君韩佳玮
Owner XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More