CN114499726A - Sensor communication method based on TSN (time sensitive network) standard - Google Patents

Sensor communication method based on TSN (time sensitive network) standard Download PDF

Info

Publication number
CN114499726A
CN114499726A CN202011119750.2A CN202011119750A CN114499726A CN 114499726 A CN114499726 A CN 114499726A CN 202011119750 A CN202011119750 A CN 202011119750A CN 114499726 A CN114499726 A CN 114499726A
Authority
CN
China
Prior art keywords
communication
sensor
communication method
time
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011119750.2A
Other languages
Chinese (zh)
Inventor
竜正城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Bertai Digital Technology Co ltd
Original Assignee
Suzhou Bertai Digital Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Bertai Digital Technology Co ltd filed Critical Suzhou Bertai Digital Technology Co ltd
Priority to CN202011119750.2A priority Critical patent/CN114499726A/en
Publication of CN114499726A publication Critical patent/CN114499726A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0078Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
    • H04L1/0083Formatting with frames or packets; Protocol or part of protocol for error control

Abstract

A sensor communication method based on TSN (Time-Sensitive Networking) network standard belongs to an improvement scheme in the prior communication technical field, and an information processing unit and a communication processing unit are added between a sensor unit and a sensor interface unit, so that the problems that the sensors in a new and old equipment mixed system cannot realize high-real-Time and high-reliability communication and the problems that the sensors with different communication standards in the same system cannot intercommunicate with each other are solved. The invention of the communication method can be widely used for realizing simultaneous acquisition of physical quantity information and transmission to an upper information processing system which need to carry out high speed and real time on a plurality of signal sources.

Description

Sensor communication method based on TSN (time sensitive network) standard
Technical Field
The invention relates to a sensor communication method based on TSN (time sensitive network) network standard, which can be widely used for realizing simultaneous acquisition of physical quantity information and transmission to an upper information processing system for a plurality of signal sources at high speed and in real time.
Background
1. The existing sensors:
the sensor is a detection device which can sense the physical quantity to be measured and convert the sensed physical quantity into an electric signal or other information in a required form according to a certain rule for output so as to meet the requirements of information transmission, processing, storage, display, recording, control and the like. Sensors are widely used in fields such as industrial production, space development, marine exploration, environmental protection, resource investigation, medical diagnostics, bioengineering, and even cultural relic protection. Every modern project of the modern generation cannot depart from a wide variety of sensors. For example, in modern industrial processes, particularly automated processes, various sensors are used to monitor and control various parameters of the process to operate the equipment in a normal or optimal state to achieve the best quality of the product.
The sensor is a solid-state sensor composed of solid-state elements such as semiconductors, dielectrics, and magnetic materials, in most cases, from the conventional structure-type sensors that sense and convert signals by using changes in structural parameters. In recent years, the development of miniaturization, multi-functionalization, digitalization, intellectualization, systemization and networking is rapidly progressing.
Secondly, as an important component of the sensor, the sensor interface is responsible for the function of information output, and in the development process of the sensor towards multifunction, digitalization, intellectualization, systemization and networking, a means of bidirectional communication with an external system is needed for sending measurement and state information and receiving and processing external commands. In order to realize the corresponding functions, the system is divided into two parts, namely signal processing and communication, wherein the former part is used for realizing the transmission of effective information, preprocessing collected information, storing and packaging data for communication, and the latter part is used for realizing two-way communication according to relevant standards and protocols between an external network or a system. In the aspect of wired communication interfaces, the physical interfaces of the wired communication interfaces comprise standard interfaces such as RJ45, optical fibers, RS232, RS485, RS422, IEEE1394 and the like, and in the aspect of the wired communication interfaces, the wired communication interfaces comprise industrial Ethernet based on TCP/IP such as PROFINET, EtherCAT, POWERLINK, Ethnet/IP, CANopen of field bus type, Modbus, PROFIBUS, CC-Link and the like.
2. The problems existing in the prior art are as follows:
with the development of the current industrial internet, the technical requirements of the sensor and the communication interface thereof, which are important components, are increasing day by day, and in the prior art, the problems of the communication interface of the sensor are mainly embodied in the following three points:
the method solves the problem of interface communication with high real-time performance and high reliability of a sensor in a system with new and old equipment mixed. Communication interfaces such as RS232, RS485, RS422 and the like and communication standards thereof are more applied to some long-term equipment, but the communication protocols thereof cannot meet the existing interface communication requirements of high real-time performance and high reliability.
Secondly, how to solve the problems of data independence and data isolated island caused by sensors with different communication standards in the same system. Aiming at the communication requirements of high real-time performance and high reliability, relatively recent CANopen, Modbus, PROFIBUS and CC-Link modify or add some specific protocols on the basis of standard Ethernet to ensure real-time performance and certainty, non-standard Ethernet thereof causes the communication protocols not to be communicated with each other, data cannot be effectively used, meanwhile, the coordination problem of different data acquisition in the system is difficult to solve, and the communication protocol has defects in usability, interoperability, bandwidth and equipment cost.
And thirdly, how to solve the problem of complex and high-freedom data communication which is necessary for more intelligent sensors and is possibly brought in the future. From the output of primary analog quantity data information to the output of digital quantity signals in the current digital conversion, the increase of data quantity in a communication period caused by the improvement of data precision and the increase of complexity of a data structure caused by the intelligent development of a sensor are expected in the future, and the requirements need a communication technology with higher degree of freedom to realize.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a sensor communication method based on a TSN (time sensitive network) network standard.
By adopting a TSN (Time-Sensitive Networking) network standard at a communication interface of the sensor, the real-Time performance and the reliability of standard Ethernet communication under the condition of not increasing or replacing the existing hardware are improved, and the problems of low Time synchronism of a plurality of groups of sensors on information communication and limited data architecture freedom under different application occasions are solved.
The invention adopts the following technical scheme:
1. and an information processing unit and a communication processing unit are added between the sensor unit and the sensor interface unit. The information processing unit is used for information acquisition of the sensor unit or processing of control information, and has the functions of signal conditioning, data shaping, data storage and the like. The communication processing unit is used for processing information communication facing the interface unit, and comprises a data packet and communication processing.
2. In the communication processing unit, the following communication design requirements are met by adopting the following modes:
the universality is as follows: the method meets the respective existing requirements of a distributed peer-to-peer architecture of standard Ethernet and a polling/bundling frame technology adopted by a deterministic network by adopting a Virtual Local Area Network (VLAN) conforming to IEEE802.1Q, and enables the network to exert respective advantageous functions.
Real-time performance: real-time transmission of high-priority data is ensured through PTP time synchronization and taprio flow channel configuration.
Expansion (compatibility): the compatibility of the data frame is realized by encapsulating other protocol data frames into real-time data packets while supporting OPC UA, MQTT protocol and the like by using a protocol supporting a network layer and a transport layer.
3. The system adopts an independent communication protocol structure design to realize real-time communication with different grade requirements in the network, and directly addresses based on the MAC address, and ensures that data completes a real-time data transmission task within a determined time interval through a real-time channel.
4. A user-defined data frame architecture is adopted to define the data type and determine the field length of the transmission data, and data communication is realized according to different application occasions.
After the existing sensor communication method is adopted, the following advantages can be realized:
1. on the premise of the existing standard Ethernet bandwidth performance, the communication speed of the highest nanosecond level is realized, so that the high real-time performance and the high reliability of the communication between the sensor and an external network and an upper system are achieved.
2. Time synchronization on information communication of multiple groups of sensors is realized, and complete state detection and control at a system level are provided.
3. The self-defining degree of the communication data architecture is improved, the self-defining of the data architecture different from the existing communication protocol or field bus is realized, and the sensor is efficiently applied to sensors in different occasions.
FIG. 1 shows the basic structure of a sensor for the communication method of the present invention
FIG. 2 is a structural design of a protocol stack of the communication method of the present invention
FIG. 3 is a self-defined data frame structure of the communication method of the present invention
FIG. 4 is a graph of error statistics for the number of transmitted communications sampled within a unit period for the communications method of the present invention
FIG. 5 is a graph of error statistics for transmitted communication data sampled in a unit period of a communication method of the present invention
Detailed Description
On the premise of adopting the invention, the sensor of the Hall current is used for sampling data from the machine tool equipment, and the test result of real-time and reliability verification is obtained when the data is transmitted to an external network (system) by taking 1ms as a period. In the whole system test:
1.4 groups of independent sensors are adopted to simultaneously transmit data;
2. framing the acquired data according to the custom data frame, wherein the byte capacity of each transmission is 1400;
3. the sensor data uploading period is 1 ms.
From the test results it follows: an information processing unit and a communication processing unit based on a Time-Sensitive network (TSN) network standard are added in the existing sensor, and after improvement and transplantation of a Time synchronization function are added, the following test targets can be completely achieved:
1.4 data time strict synchronization between the sensors;
2. in the test of more than ten million times of communication, the error in the sampling period of 1ms is stably less than 35 nanoseconds;
3. the frame loss phenomenon is not observed in the complete test process, and the requirement of high reliability can be met
In fig. 4 and 5, partial results of the experimental results at any time period are shown.

Claims (4)

1. A sensor communication method is characterized in that the communication method conforms to the TSN (Time-Sensitive Networking) standard, and can realize simultaneous physical quantity information acquisition and transmission to an upper information processing system for a plurality of signal sources at high speed and in real Time.
2. The sensor communication method according to claim 1, wherein an information processing unit for information acquisition of the sensor unit or processing of control information and a processing communication processing unit for information communication to the interface unit are incorporated between the sensor unit and the sensor interface unit.
3. The method of claim 2, wherein the information processing comprises signal processing, signal conditioning, data shaping, and data storage functions.
4. The sensor communication method according to claim 2, wherein the communication processing comprises data packet packing and communication processing functions.
CN202011119750.2A 2020-10-23 2020-10-23 Sensor communication method based on TSN (time sensitive network) standard Pending CN114499726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011119750.2A CN114499726A (en) 2020-10-23 2020-10-23 Sensor communication method based on TSN (time sensitive network) standard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011119750.2A CN114499726A (en) 2020-10-23 2020-10-23 Sensor communication method based on TSN (time sensitive network) standard

Publications (1)

Publication Number Publication Date
CN114499726A true CN114499726A (en) 2022-05-13

Family

ID=81470099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011119750.2A Pending CN114499726A (en) 2020-10-23 2020-10-23 Sensor communication method based on TSN (time sensitive network) standard

Country Status (1)

Country Link
CN (1) CN114499726A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055611A (en) * 2010-12-02 2011-05-11 电子科技大学 Low-power wireless data acquisition system
CN105828038A (en) * 2016-03-31 2016-08-03 顾佳捷 Industrial onsite multimedia wireless monitoring system and method based on CAN bus
CN109218342A (en) * 2017-06-29 2019-01-15 上海金艺检测技术有限公司 Equipment operating data acquisition processing system based on intelligence sensor
CN109743128A (en) * 2019-01-29 2019-05-10 领目科技(上海)有限公司 A kind of vehicle-mounted multi information synchronous control system and method
CN110321982A (en) * 2019-07-03 2019-10-11 南京睿铁信息科技有限公司 A kind of rail traffic section volume of the flow of passengers real-time computing technique
CN110830943A (en) * 2019-11-06 2020-02-21 湖南银河电气有限公司 Equipment state monitoring system based on edge calculation and big data analysis
CN110943899A (en) * 2019-12-13 2020-03-31 重庆邮电大学 EPA industrial bus and time sensitive network adaptation system and method
CN111093055A (en) * 2019-11-13 2020-05-01 中国电力科学研究院有限公司 Safety monitoring vehicle-mounted platform, ground platform and monitoring system for insulating bucket arm vehicle
CN111262796A (en) * 2019-12-31 2020-06-09 南昌大学 Ethernet communication system and method based on time sensitivity
CN111478960A (en) * 2020-04-03 2020-07-31 河海大学常州校区 Data acquisition and edge calculation system based on edge calculation

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055611A (en) * 2010-12-02 2011-05-11 电子科技大学 Low-power wireless data acquisition system
CN105828038A (en) * 2016-03-31 2016-08-03 顾佳捷 Industrial onsite multimedia wireless monitoring system and method based on CAN bus
CN109218342A (en) * 2017-06-29 2019-01-15 上海金艺检测技术有限公司 Equipment operating data acquisition processing system based on intelligence sensor
CN109743128A (en) * 2019-01-29 2019-05-10 领目科技(上海)有限公司 A kind of vehicle-mounted multi information synchronous control system and method
CN110321982A (en) * 2019-07-03 2019-10-11 南京睿铁信息科技有限公司 A kind of rail traffic section volume of the flow of passengers real-time computing technique
CN110830943A (en) * 2019-11-06 2020-02-21 湖南银河电气有限公司 Equipment state monitoring system based on edge calculation and big data analysis
CN111093055A (en) * 2019-11-13 2020-05-01 中国电力科学研究院有限公司 Safety monitoring vehicle-mounted platform, ground platform and monitoring system for insulating bucket arm vehicle
CN110943899A (en) * 2019-12-13 2020-03-31 重庆邮电大学 EPA industrial bus and time sensitive network adaptation system and method
CN111262796A (en) * 2019-12-31 2020-06-09 南昌大学 Ethernet communication system and method based on time sensitivity
CN111478960A (en) * 2020-04-03 2020-07-31 河海大学常州校区 Data acquisition and edge calculation system based on edge calculation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
袁少光: ""输电线缆制造全过程质量管控系统架构设计"", 《河南省电机工程学会2020年优秀科技论文集》 *
赵峰: "\"基于5G技术的智能车间故障预测与健康管理系统\"", 《电子制作》 *

Similar Documents

Publication Publication Date Title
US8065455B2 (en) Method for data communication of bus users in an open automation system
CN111670567B (en) Method, control method, device, computer program and computer-readable medium for data communication, in particular in an industrial network
Pigan et al. Automating with PROFINET: Industrial communication based on Industrial Ethernet
CN102594627A (en) Gigabit Ethernet field bus communication device based on FPGA
CN113079133B (en) Data transmission method of gateway and gateway equipment
Yang et al. Analysis of PROFINET IO communication protocol
US9438519B2 (en) Bypass-RTA
US11558217B2 (en) Bus converter
Schriegel et al. A migration strategy for profinet toward Ethernet TSN-based field-level communication: An approach to accelerate the adoption of converged IT/OT communication
CN108173817B (en) Self-conversion method based on Modbus-TCP protocol
Zhong et al. Industrial wireless communication protocol WIA-PA and its interoperation with foundation fieldbus
CN114499726A (en) Sensor communication method based on TSN (time sensitive network) standard
US8824283B2 (en) Control node, a network of control nodes and a network configurator
CN114726674B (en) PROFIBUS bus process data extraction method based on FPGA
Fuchs et al. Monitoring of real-time behavior of industrial ethernet for industry 4.0
EP3017560B1 (en) A merging unit
CN202551082U (en) FPGA-based gigabit ethernet fieldbus communication apparatus
Qi et al. Networked motion control system design based on EtherCAT
CN108900596B (en) WTB physical layer data frame acquisition device and data frame acquisition method
CN107222278B (en) A kind of method for synchronizing time and system based on high speed data acquisition system
Wang et al. The real-time networked data gathering systems based on EtherCAT
Zheng et al. Design of time-triggered service processing flow on ethernet end system
Li et al. Design and application of H1000 super high speed packer’s control network diagnostic system
Babel Fieldbuses, Communication Protocols, User Interfaces, Hardware ASICs
Wang et al. Analysis of real-time Ethernet communication technologies of summation frame and individual frames

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination