Multi-device real-time communication module

A technology of real-time communication and device communication, applied in the field of communication

Pending Publication Date: 2022-07-29
谱线光电科技(武汉)有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, this method is not suitable for scenarios with a large number of modules, usually within ten

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
  • Multi-device real-time communication module
  • Multi-device real-time communication module
  • Multi-device real-time communication module

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0049] see Figure 1-8 , the present invention provides a kind of technical scheme:

[0050] A multi-device real-time communication module, see figure 1 , The real-time communication module uses FPGA as the core controller to realize the communication between the computer and multiple devices.

[0051] Specifically, the communication modes include single-device communication and multi-device communication.

[0052] Single device communication:

[0053] In the single-device communication mode, the computer selects a device for communication; in this mode, the computer sends commands to the FPGA, and the FPGA sends the valid commands to the corresponding device according to the sent commands, and sends the received feedback data to the computer. ; The format of the command sent is as follows figure 2 .

[0054] like figure 2 , The command format in single-device communication mode consists of command header, valid command and command tail. The command header identifies t...

Embodiment 2

[0075] The present invention provides a technical scheme:

[0076] A multi-device real-time communication module, single-device communication mode:

[0077] First, number the three devices, namely D1, D2, and D3. If you need to read the status of device 1, send "D1E?\r\n". In this command, "D1" is the command header, indicating that this command is to be sent to device 1. "E?" is a valid command to read status. "\r\n" is the end of the command, indicating the end of the command.

[0078] When device 1 receives the turntable read command, device 1 returns the status information "Enable\r\n". When the FPGA receives the status information, add the command header "D1" to get the feedback data "D1Enable\r\n", and then upload the data to the computer. The computer first takes out the first two bytes of the read data according to the length of the command header is two bytes. According to these two bytes, you can know which device the feedback data comes from. Then remove the c...

Embodiment 3

[0080] The present invention provides a technical scheme:

[0081] A multi-device real-time communication module, multi-device communication mode:

[0082] The computer sends a multi-device communication request "CM1R\r\n" to the FPGA. Among them, "CM1" is the command header, indicating that this is a multi-device communication request command. "R" indicates read status. "\r\n" is the command tail. When the FPGA receives this command, it sends a read status command to the three devices at the same time. In this case, we need to read the operating status, voltage value, current value, power and temperature value of the three devices respectively.

[0083]The FPGA first sends "E?\r\n" to the first device, and the device sends back the feedback data "Enable\r\n". Then the FPGA sends "V?\r\n" to the first device, and the device sends back the feedback data "3.5643V\r\n". The FPGA continues to send "A?\r\n" to the first device, and the device sends back the feedback data "345...

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 discloses a multi-device real-time communication module, which belongs to the field of communication, and is characterized in that in a single-device communication mode, a computer terminal selects one device for communication, a command is sent to an FPGA (Field Programmable Gate Array) through the computer terminal, and the FPGA sends an effective command to a corresponding device according to the sent command and sends received feedback data to the computer terminal; the FPGA is used as a processor based on a digital circuit, and parallel processing is the biggest characteristic of the FPGA; in the multi-device communication mode, the computer side sends a multi-device communication request command to the FPGA, and after receiving the command, the FPGA communicates with the devices at the same time and sends feedback data of the devices to the computer side in a framing mode. According to the invention, simultaneous communication of multiple devices is realized, and the communication efficiency is improved; a plurality of devices can be freely expanded, and the communication speed is not multiplied along with the increase of the number of the devices; and a communication protocol can be customized to adapt to different application scenes.

Description

technical field [0001] The present invention relates to the field of communication, and more particularly, to a multi-device real-time communication module. Background technique [0002] In order to make the device universal and expandable, each part of a system is usually designed as an independent module. Each module can implement specific functions independently. When building the system, you can choose the required modules according to your needs and use them together. During the use of each module, it is especially important to control and monitor the status of the equipment. Therefore, it is indispensable to establish a communication connection between the computer and the module. [0003] When multiple modules need to be used at the same time, there are mainly two ways to establish a communication connection between the module and the computer. One is to directly establish a communication connection between each module and the computer. For example, after convert...

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): H04L69/22H04L67/54
CPCH04L69/22
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