A competition model RS-485
bus multimaster communication
system and a working method thereof relate to a communication
system. At present, the
data transmission time of the nodes on an RS-485
bus is long, and the nodes only can detect the conflict of the
bus while can not avoid actively, once the conflict occurs, competition needs to be carried out again. The competition model RS-485 bus multimaster communication
system of the present invention comprises a plurality of nodes and an interface
chip, and is characterized in that the nodes are equipped with an
XNOR gate circuit, a double-path D-type rising edge trigger and an XOR gate circuit, and the output end of the XOR gate circuit and a node receiving
signal end are connected with the interface
chip; a first
resistor is arranged between the
anode output end of the interface
chip and the
anode of a power supply, and a second
resistor is arranged between the
cathode output end of the interface chip and a grounding end. The competition model RS-485 bus multimaster communication system and the working method thereof of the technical scheme are based on a hardware conflict detection mode, and take the bit as the unit. Once the conflict occurs, the failed party quits automatically, and the party obtained the control right can send the data continuously, thereby guaranteeing that the data is sent correctly.