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

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

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

Active Publication Date: 2022-01-18
FUJIAN NORMAL UNIV
View PDF13 Cites 0 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
  • A RS485 bus multiplexing control method based on slave devices with different baud rates
  • A RS485 bus multiplexing control method based on slave devices with different baud rates
  • A 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 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-out un...

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 a method for multiplexing control of RS485 buses based on slave devices with different baud rates. The system is a distributed system composed of RS485 bus, which is composed of master device, RS485 bus, and slave device group, in which the master device is connected to RS485, and RS485 is connected to the slave device group respectively; The defined slave device configuration unit group mySlave[n], first check whether the serial port baud rate configuration of the microprocessor is consistent with mySlave[Ask].BitRate, if not, reconfigure the serial port baud rate, delay D1, and set The device is configured to send, delay D2, send the command, delay D3, and then configure the RS485 device to receive. Adopting the present invention does not need to add additional 485 related circuits, and can realize communication with different baud rates between the master device and the slave device on the same RS485 bus.

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/40
CPCH04L12/4013
Inventor 吴允平苏伟达王廷银
Owner FUJIAN NORMAL UNIV