Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A rs485 bus communication method based on group call and time slot allocation

A technology of RS485 and time slot allocation, which is applied in the field of communication, can solve the problems of loss of versatility, inability to quickly transmit important and urgent information from slaves, and increase of signal lines, etc.

Active Publication Date: 2022-04-26
CHINA COAL TECH & ENG GRP CHONGQING RES INST CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Now the RS485 bus communication adopts the host to call the slave to answer, point-to-point polling one by one, causing the slave to have important and urgent information that cannot be quickly transmitted to the host
A feasible method is to add an additional input signal line to each device - chip select or arbitration signal line. The slave device obtains the priority through active application or preemption to realize fast transmission of its own information. The method is simple, but the signal line is added. , lost the versatility, lost the advantages of RS485

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 communication method based on group call and time slot allocation
  • A rs485 bus communication method based on group call and time slot allocation

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0042] An embodiment of an RS485 bus communication method based on group call and time slot allocation, the embodiment includes host E 0 For example, mining intrinsically safe substations, RS485 bus connection slave E 1 ~E n For example, 4 bus-type sensorS 1 ~E 4 (not limited to 4) corresponding addresses 1 to 4, communication baud rate of 2400bps, time slot length Δτ (about 10ms duration), the specific working process is as follows:

[0043](1) Preparation stage: power-on initialization, the host completes the point-to-point polling of all slaves, and the 4 slaves communicate normally, the addresses are 1 to 4, and the default address linked list A 1 ~A n Corresponds to 1 to 4;

[0044] (2) Host group call: Group call information includes address chain list 1~4 and time slot length of 10ms;

[0045] (3) Slave answer time slot allocation: After the host is sent, a total of 10 time slots are allocated, each time slot is 10ms, and the waiting time slot and priority queue time slot ...

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 RS485 bus communication method based on group call and time slot allocation, which belongs to the field of communication technology, comprising: a master connects n slaves through an RS485 bus, the master and different slaves perform point-to-point polling to complete the initialization process, and the master performs the initialization according to The address of all the slaves received establishes an address link list; the master sends a group call command; the slave responds to the time slot allocation; the slave priority queue sends back; the slave normal queue sends back. The present invention directly utilizes the existing RS485 bus without any change in hardware, shortens the bus polling cycle by adopting group call and sequential response, and adopts a priority management mechanism to ensure priority transmission of important and urgent data.

Description

Technical field [0001] The present invention belongs to the field of communication technology, relates to an RS485 bus communication method based on group call and time slot allocation. Background [0002] With the development of technology and the improvement of living standards, more and more industrial control, medical, communications, consumer and other electronic products are becoming more and more intelligent, and embedded systems with microprocessors as the core have been increasingly widely used, and the management of these intelligent devices has also become a focus of embedded applications. When networking multiple embedded devices, because the RS485 bus has the unique advantages of master and slave networking: one master and multiple slaves, can drive up to 32 to 256 slave nodes; half-duplex communication, simple and convenient; differential transmission, high anti-interference, high speed, long distance; transmission lines are the fewest, only two lines, the lowest c...

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): G06F13/42G06F13/16
CPCG06F13/4286G06F13/1642G06F2213/0002
Inventor 张加易徐瑞刘亚辉苟怡柏思忠邵严周代勇胡英杰张金豪胡亮赵光绪胡宇马书敏黄倩
Owner CHINA COAL TECH & ENG GRP CHONGQING RES INST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products