Unlock instant, AI-driven research and patent intelligence for your innovation.

RS485 bus multiplexing control method based on slave devices with different Baud rates

A technology of RS485 and control method, which is applied in the direction of bus network, data exchange through path configuration, digital transmission system, etc. It can solve the problems that cannot meet the application requirements, and achieve the effect of less resources and convenient use

Active Publication Date: 2020-06-12
FUJIAN NORMAL UNIV
View PDF13 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] If there are slave devices with different baud rates in the same RS485 bus, the mode in conventional technology that only slave devices with the same baud rate as the master can complete communication cannot meet the requirements of such applications

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
  • RS485 bus multiplexing control method based on slave devices with different Baud rates
  • RS485 bus multiplexing control method based on slave devices with different Baud rates
  • RS485 bus multiplexing control method based on slave devices with different Baud rates

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] figure 1 Among them, 101 is the master device, 102 is the RS485 bus, 1011, 1012, 1013 are slave devices 1, 2, m with baud rate 1, m≤255, 1021, 1022, 1023 are slave devices 1, 1023 with baud rate 2, 2. n, n≤255, 1031, 1032, 1033 are slave devices 1, 2, p, p≤255 with a baud rate of 3, and (m+n+p)≤255, 101 and 102 are connected, and 102 are respectively Connect with 1011, 1012, 1013, 1021, 1022, 1023, 1031, 1032, 1033, RS485 bus communicates in half-duplex mode.

[0029] figure 2 Among them, 201 is a microprocessor, 202 is a power module, 203 is an RS485 device, 204 is other functional circuits, 202 is connected to 201, 203, 204 respectively, 201 is connected to 204, and the serial port receiving end RX1 and sending end TX1 of 201 are respectively It is connected to the sending end TX2 and the receiving end RX2 of 203, and the DE1 and RE1 pins of 201 are respectively connected to DE2 and RE2 of 203.

[0030] image 3 Among them, 301 is a bit rate unit, 302 is a time-...

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 an RS485 bus multiplexing control method based on slave devices with different Baud rates. The system is a distributed system composed of an RS485 bus and is composed of a master device, the RS485 bus and a slave device group, the master device is connected with the RS485 bus, and the RS485 bus is connected with the slave device group. The microprocessor stores a slave device configuration unit group mySlave[n] defined by a slave device attribute configuration structure body. The method comprises the following steps: checking whether serial port baud rate configurationof a microprocessor is consistent with mySlave[Ask]. BitRate or not, if not, reconfiguring the serial port baud rate and a delay D1, configuring an RS485 device to send, delay D2, send an instructionand delay D3, and then configuring the RS485 device to receive. According to the invention, 485 related circuits do not need to be additionally added, and the communication of different baud rates between the master device and the slave device on the same RS485 bus can be realized.

Description

technical field [0001] The invention relates to the technical field of RS485 bus communication, in particular to an RS485 bus multiplexing control method based on slave devices with different baud rates. Background technique [0002] The RS485 bus has been widely used in the distributed application field of a master and multiple slave architecture because of its strong anti-interference ability, good reliability, and suitability for medium and long-distance communication. There are full-duplex and half-duplex There are three modes: half-duplex mode and simplex mode, among which the half-duplex mode is the most common, the baud rate is fixed, and the communication protocol is fixed. This working mode has disadvantages such as long training time and slow data collection when there are many slave machines. Therefore, focusing on how to improve the data reporting efficiency of slaves in such systems, the "Software Design for Improving the Efficiency of Master-Slave Communication...

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/40
CPCH04L12/4013
Inventor 吴允平苏伟达王廷银
Owner FUJIAN NORMAL UNIV