Communication enhancement method and system based on 485 bus

A technology for enhancing systems and buses, which is applied in the field of communication and can solve problems such as poor communication effects

Active Publication Date: 2021-09-14
深圳市常工电子计算机有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The traditional 485 bus is generally used in the master-slave communication transmission network, which is not suitable for scenarios with high real-time response requirements for communication, and the communication effect is poor.

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
  • Communication enhancement method and system based on 485 bus
  • Communication enhancement method and system based on 485 bus
  • Communication enhancement method and system based on 485 bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] In the master-slave communication transmission network based on the 485 bus in the prior art, the master generally needs to send a command to the slave, and the slave returns data to the master through the 485 bus after receiving the command. In this case, multiple hosts may send data to the 485 bus at the same time, resulting in communication blockage, and the data signal received by the host is chaotic and delayed, which cannot guarantee the real-time signal and the accuracy and efficiency of communication, that is to say The 485 bus in the prior art cannot meet the requirements of accuracy, real-time and efficiency of active communication. Therefore, see figure 1 , on the basis of not changing the original passive communication, the present invention provides a communication enhancement method based on 485 bus, including:

[0030] Step S1: monitor the signal on the 485 bus by a single-chip microcomputer every predetermined period within the first monitoring time;

...

Embodiment 2

[0056] refer to image 3 , the present invention provides a communication enhancement system based on 485 bus, comprising:

[0057] The monitoring module M1 is used to monitor the signal on the 485 bus by the single chip microcomputer within the first monitoring time;

[0058] The signal interruption judging module M2 is used to judge whether the signal is interrupted; if the signal is not interrupted, it is determined that the bus is in an idle state, and after the first monitoring time, the single-chip microcomputer is started to send data to the On the 485 bus, until the data is sent; if the received signal is interrupted, it is determined that the 485 bus is in a busy state, the number of times of conflict is increased by 1, and the anti-collision algorithm is used to calculate the second monitoring time;

[0059] Conflict times judging module M3, for judging whether the number of conflicts is greater than a set threshold; if the number of conflicts is less than the set t...

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 communication enhancement method and system based on a 485 bus. The method comprises the following steps: monitoring a signal on the 485 bus by using a single-chip microcomputer within a first monitoring time; judging the state of the bus by judging whether the signal is interrupted or not, and updating the monitoring time by adopting an anti-collision algorithm when the bus is determined to be in the busy state, so that the problems of communication collision and signal interference when the equipment is converted from passive communication to active communication are solved, the application of the 485 bus in a communication scene with a high real-time requirement is realized, and the communication accuracy and efficiency are improved.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a method and system for enhancing communication based on 485 bus. Background technique [0002] The 485 bus is widely used in various industrial control fields and networking communication methods of various sensor acquisition systems. It adopts half-duplex polling working mode to support multi-point data communication, and can form a one-to-one or one-to-many network. The 485 bus can carry 128 nodes, and the ideal communication distance is 1200 meters. It is a commonly used economical traditional industrial bus. [0003] The traditional 485 bus is generally used in a master-slave communication transmission network, which is not suitable for use in scenarios requiring high real-time response to communication, and the communication effect is poor. [0004] Therefore, there is an urgent need for a communication enhancement method and system based on the 485 bus to m...

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 Applications(China)
IPC IPC(8): H04L12/26H04L12/801H04L12/40
CPCH04L43/16H04L47/10H04L12/40H04L2012/40208Y02D30/70
Inventor 黄万良王俊元杨斌江渊杨婧张丽文
Owner 深圳市常工电子计算机有限公司
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