rs-485 bus anti-collision method, interface chip and communication network thereof

A technology of RS-485 and interface chip, applied in the field of RS-485 interface chip and its RS-485 communication network, can solve the problem that the slave cannot report to the master in time

Active Publication Date: 2018-02-13
HANGZHOU VANGO TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides an RS-485 bus anti-collision method, an interface chip and a communication network thereof, so as to solve the problem that the slave cannot report to the master in time when there is an emergency on the premise of avoiding signal conflicts on the bus

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
  • rs-485 bus anti-collision method, interface chip and communication network thereof
  • rs-485 bus anti-collision method, interface chip and communication network thereof
  • rs-485 bus anti-collision method, interface chip and communication network thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0030] see figure 1 , the embodiment of the present invention discloses an RS-485 bus anti-collision method, so as to solve the problem that the slave cannot report to the master in time when there is an emergency on the premise of avoiding signal conflict on the bus, including:

[0031] Step 101: When the DE pin of the RS-485 interface chip is a high-level logic "1" and the REN pin is a low-level logic "0", the transmitter in the RS-485 interface chip The in...

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 application discloses an RS-485 bus anti-collision method, an interface chip and a communication network thereof. The method includes: the DE pin of the RS-485 interface chip is a high level logic "1", and the REN pin is a low power Under the situation of flat logic "0", sample the input signal of the transmitter in the described RS-485 interface chip, and delay output, obtain the first sampling value; To the receiver in the described RS-485 interface chip Sampling the output signal of the output signal to obtain the second sampling value; judging whether the first sampling value is consistent with the second sampling value; if consistent, connecting the output terminal of the receiver to the RS‑485 interface chip On the contrary, fix the RO pin to low level logic "0", and turn off the transmitter, so as to solve the emergency situation of the slave but not in time under the premise of avoiding signal conflict on the bus Issues reported to the host.

Description

technical field [0001] The invention relates to the technical field of communication, more specifically, to an RS-485 bus anti-collision method, an RS-485 interface chip and an RS-485 communication network. Background technique [0002] RS-485 supports a half-duplex communication mode with one master and multiple slaves. In the RS-485 communication network, the master polls the slaves on the bus one by one, and the slave responds to the master according to the polling mechanism to complete the communication, thus avoiding the situation caused by multiple subjects in the RS-485 communication network being in the sending state at the same time. Conflict of signals on the bus. However, this anti-collision mechanism has the following disadvantages: [0003] Since the slave machine does not have the initiative to send permission, even if the slave machine needs to report to the host machine in an emergency, it must wait for the host machine to query the slave machine according ...

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
Inventor 钟书鹏林玲
Owner HANGZHOU VANGO TECH
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