Circuit and method for automatically detecting Baud rate of multiple paths of serial communication interfaces

A serial communication interface, automatic detection technology, applied in electrical components, digital transmission systems, transmission systems, etc., can solve the problems of complex device circuits, do not know the working baud rate of communication equipment, difficult to adapt, etc., to achieve on-site work convenience. , The effect of convenient and fast data communication

Inactive Publication Date: 2014-05-07
杭州哈希环境科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In industrial control systems and other equipment, serial communication interfaces such as RS-232 / RS-485 are often used as console or monitoring interfaces. During use, sometimes the baud rate of the communication equipment is not known and cannot Correctly set the working parameters of the system
Whenever this happens, the usual method is to check the manual or ask the designer or try the commonly used baud rates one by one. This method brings a lot of inconvenience to the use of communication equipment.
[0003] However, most of the existing serial communication interface baud rate automatic detection devices have complex circuits and only one serial communication interface. This situation will be difficult to adapt to the increasingly complex industrial control field.

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
  • Circuit and method for automatically detecting Baud rate of multiple paths of serial communication interfaces
  • Circuit and method for automatically detecting Baud rate of multiple paths of serial communication interfaces
  • Circuit and method for automatically detecting Baud rate of multiple paths of serial communication interfaces

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Such as figure 1 Shown is a specific example of the multi-channel serial communication interface baud rate automatic detection circuit of the present invention, as can be seen from this figure, the circuit includes a PLC23XX logic device, 2-way RS-232 interface circuits and 2-way RS-485 Interface circuit, the PLC23XX logic device is configured with a start baud rate detection register 2, a detection mode selection register 3, an overtime restart register 5, a rate counter 4, a shift register 1, a divisor latch 6 and a fractional baud rate The generator is prescaled by 7.

[0031] Start baud rate detection register 2, used to start auto-baud rate detection, if the auto-baud rate is completed, this bit is automatically cleared.

[0032] Detection mode selection register 3 is used to select the baud rate detection mode. The automatic baud rate of the serial communication has two automatic baud rate measurement modes, which can be selected by the user through the detectio...

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 the field of industrial control in the field of communication, in particular to a method for automatically detecting a Baud rate of multiple paths of serial communication interfaces and a circuit for realizing the method. In the invention, automatic detection of the Baud rate of the multiple paths of serial communication interfaces is realized by depending on automatic Baud rate detection capacity and mechanism for realizing software flow control by using an LPC23xx chip. The communication Baud rate is set by an automatic Baud rate functional part of the LPC23xx chip through measuring time consumed by a bit of receiving a data stream. The circuit is suitable for occasions for carrying out serial communication at a standard Baud rate or non-standard Baud rate.

Description

technical field [0001] The invention relates to the field of industrial control in the communication field, and adopts a circuit and a realization method of multi-channel serial communication automatic baud rate. Background technique [0002] In industrial control systems and other equipment, serial communication interfaces such as RS-232 / RS-485 are often used as console or monitoring interfaces. During use, sometimes the baud rate of the communication equipment is not known and cannot Correctly set the working parameters of the system. Whenever this happens, the usual method is to check the manual or ask the designer or try the commonly used baud rates one by one. This method brings a lot of inconvenience to the use of communication equipment. [0003] However, most of the existing serial communication interface baud rate automatic detection devices have complex circuits and only have one serial communication interface. This situation will be difficult to adapt to the incr...

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 Patents(China)
IPC IPC(8): H04L12/26
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