Asynchronous serial port communication baud rate automatic detection device and method

An automatic detection device and asynchronous serial port technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as low accuracy, CPU hardware resource occupation, and long detection time

Inactive Publication Date: 2021-02-26
CHENGDU AERONAUTIC POLYTECHNIC
View PDF9 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage is that the software sequentially executes the process, and the detection time is long, which needs to be completed by running the corresponding application software with the CPU processor or MCU microcontroller
[0008] This interrupt calculation method through the CPU occupies CPU hardware resources, and the software driver is not conducive to transplantation, and the accuracy is low

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The specific embodiments of the present invention are described below so that those skilled in the art can understand the present invention, but it should be clear that the present invention is not limited to the scope of the specific embodiments. For those of ordinary skill in the art, as long as various changes Within the spirit and scope of the present invention defined and determined by the appended claims, these changes are obvious, and all inventions and creations using the concept of the present invention are included in the protection list.

[0038] Such as figure 1 As shown, the asynchronous serial communication baud rate automatic detection device includes an edge detection module, a pulse width counting module, a minimum pulse width module and a table lookup module connected in sequence.

[0039] Wherein, the edge detection module is used to receive the asynchronous serial port signal, and sample the asynchronous serial port signal through a sampling clock si...

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 discloses an asynchronous serial port communication baud rate automatic detection device and method. The detection device comprises an edge detection module, a pulse width counting module, a minimum pulse width module and a table look-up module which are connected in sequence. The detection method comprises the following steps: receiving an asynchronous serial port signal, and sampling the asynchronous serial port signal through a sampling clock signal with a fixed frequency to obtain a rising edge signal and a falling edge signal of the asynchronous serial port signal; generating a counting enable signal according to the rising edge signal or the falling edge signal, and obtaining the effective time length of the enable signal in real time to obtain a high-level or low-levelbit width count value; comparing the high-level or low-level bit width count value with the minimum pulse width count value, and outputting a smaller value ; and querying a Baud rate and bit width relation table stored in the minimum pulse width module according to the value output by the minimum pulse width module to obtain the Baud rate of the asynchronous serial port sending data.

Description

technical field [0001] The invention relates to a baud rate detection technology, in particular to an asynchronous serial port communication baud rate automatic detection device and a method thereof. Background technique [0002] GPS / Beidou satellite positioning, navigation and timing and synchronous timing between mobile communication base stations, position and time information are all sent through the asynchronous serial port, and the TOD message is sent regularly, and the device receiving the serial TOD message receives the TOD message , parse the message data to obtain the synchronization time information. [0003] The baud rate of the TOD message sending the timing information is configurable, usually the default is 9600bps, and it can also be set to other common baud rates, such as the lowest 4800bps and the highest 115200bps. Therefore, the device receiving the TOD message needs to know the baud rate of the TOD message to communicate normally. When the baud rate of ...

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): H04L12/26
CPCH04L43/0876H04L43/50
Inventor 陈虎刘纪门正兴
Owner CHENGDU AERONAUTIC POLYTECHNIC
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