Implementation method for achieving self-adaption of baud rate

An implementation method and baud rate technology, applied in the field of serial port communication, can solve problems such as the inability to realize baud rate self-adaptation, and achieve the effect of universality

Inactive Publication Date: 2014-01-15
THE 3RD ACAD 8358TH RES INST OF CASC
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is: the existing technology needs external equipment to meet different baud rate design requirements, and cannot realize baud rate self-adaptation

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
  • Implementation method for achieving self-adaption of baud rate
  • Implementation method for achieving self-adaption of baud rate
  • Implementation method for achieving self-adaption of baud rate

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] A method for implementing an adaptive baud rate of the present invention will be described in detail below in conjunction with the drawings and embodiments.

[0024] Step 1: Set the serial communication packet format

[0025] Such as figure 1 As shown, a packet of serial communication data includes a start bit "0", 8 data bits "D0~D7" and a stop bit "1" from first to last, and the time taken by each bit is determined by the baud determined by the rate.

[0026] When the baud rate is B1, the time taken by each bit is about 1 / B1, and when the baud rate is B2, the time taken by each bit is about 1 / B2. In this embodiment, B1 can select 614.4kbps, and B2 can select 19.2kbps, then the time that each bit takes is about 1.63us when the baud rate is 614.4kbps, and the time that each bit takes is about 1.63us when the baud rate is 19.2kbps It is 52us, the difference between the two is 32 times.

[0027] The automatic baud rate detection technology involved in the present inve...

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 serial communication, and particularly relates to an implementation method for achieving self-adaption of the baud rate. The method includes the following steps of setting the format of a serial communication data package, detecting the baud rate and automatically adjusting the baud rate. The method solves the technical problem that an existing technology can meet different design requirements for the baud rate unless external equipment is provided and cannot achieve self-adaption of the baud rate. The method has the advantages that when the method is utilized to carry out serial communication with other subsystems, labor hardware jumper arrangement or program selection is needless, and plug and play performance is achieved; the baud rate used at present can be automatically analyzed according to the serial communication data package, the baud rate of a system is automatically adjusted to be baud rate used at present, and thus the system is universally used for different baud rate systems.

Description

technical field [0001] The invention belongs to the technical field of serial port communication, and in particular relates to a method for realizing an adaptive baud rate. Background technique [0002] The full-duplex serial communication interface (hereinafter referred to as the serial port) is a common way to transmit instructions between the various subsystems on the bomb. Due to the real-time requirements, the communication on the bomb usually uses a relatively high baud rate, such as 614.4kbps. However, the serial port of the test computer used in the production test process cannot reach such a high baud rate, and it needs to be connected with a special serial port board to use it, which brings inconvenience to the production test. In order to facilitate production testing, serial communication requires a relatively low baud rate, such as 19.2kbps. [0003] The same system uses different baud rates under different conditions. In order to solve the problem of commonali...

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/38
Inventor 康敏慧谢轲
Owner THE 3RD ACAD 8358TH RES INST OF CASC
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