Competitive rs-485 bus multi-master communication system and its working method

A RS-485 and communication system technology, applied in the field of communication systems, can solve the problems of long node data transmission time, inability to actively avoid, bus conflicts, etc., and achieve the effect of simple and reliable control mode, high on-site practical value, and avoiding bus conflicts

Active Publication Date: 2018-05-18
STATE GRID CORP OF CHINA +3
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It needs to add a software module for node competition in the CPU. Due to the need for software processing and judgment time, the node data transmission time is long, and it can only detect bus conflicts and cannot actively avoid them. Once conflicts occur, communication fails and competition needs to be re-competed

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
  • Competitive rs-485 bus multi-master communication system and its working method
  • Competitive rs-485 bus multi-master communication system and its working method
  • Competitive rs-485 bus multi-master communication system and its working method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The technical solution of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0018] Such as Figure 4 , 5 As shown, the present invention includes a plurality of nodes located on the bus, an interface chip U2 connected to the bus, an NOR circuit U4 whose input terminal is connected to the node sending signal terminal TXD and the node receiving signal terminal RXD, and the same OR gate circuit The dual-channel D-type rising edge flip-flop U3A connected to the output terminal of U4, the OR gate circuit U1 connected to the output terminal of the dual-channel D-type rising edge trigger U3A and the node sending signal terminal TXD, the output terminal of the OR gate circuit U1, and the node The receiving signal terminal RXD is connected to the interface chip U2, a first resistor R2 is set between the positive output terminal of the interface chip U2 and the positive pole of the power supply, and a second resistor...

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 competitive RS-485 bus multi-master communication system and its working method, which relates to a communication system. At present, the RS-485 bus takes a long time for node data transmission, and it can only detect bus conflicts and cannot actively avoid them. Once a conflict occurs, it needs to re-compete. The present invention includes a plurality of nodes and an interface chip, and is characterized in that: the nodes are provided with an OR gate circuit, a dual-way D-type rising edge trigger, an OR gate circuit, and the output end of the OR gate circuit and the node receiving signal end are connected to the interface chip, A first resistor is set between the positive output terminal of the interface chip and the positive pole of the power supply, and a second resistor is set between the negative output terminal of the interface chip and the ground terminal. This technical solution adopts the hardware conflict detection method, and the bit is the unit. Once a conflict occurs, the failed party will automatically exit, and the party that obtains the control right can continue to send data to ensure that the data is sent correctly this time.

Description

technical field [0001] The present invention relates to a communication system. Background technique [0002] Such as figure 1 As shown, in the traditional RS-485 bus, there is always a unique master node, and other nodes are all slave nodes. Its working process is as figure 2 As shown, the communication is always initiated by the master node. After receiving the command, the slave node obtains the control right of the bus, and then sends information to the bus. After sending, the bus control is returned to the master node. Slave nodes can only send data when inquired by the master node, so emergency data such as alarms cannot be transmitted; slave nodes cannot communicate with each other, and can only be transferred through the master node, which affects the speed. In order to improve node data transmission, a competition mechanism of bus monitoring bus is introduced, and its workflow is as follows image 3 As shown, the bus monitoring bus competition mechanism relies...

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/413
Inventor 王伟峰李波陈清泰金家红周政汪岳荣甄荣国
Owner STATE GRID CORP OF CHINA
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