Search

CN-122027390-A - Industrial field bus communication method and system based on two-dimensional pulse modulation

CN122027390ACN 122027390 ACN122027390 ACN 122027390ACN-122027390-A

Abstract

The invention discloses an industrial field bus communication method and system based on two-dimensional pulse modulation, and belongs to the technical field of industrial automation communication. The method includes defining a division of a symbol period into a preamble and a data sub-slot, the preamble sub-slot transmitting a first pulse of a fixed width, the data sub-slot transmitting a second pulse selected from a plurality of predefined width classes to characterize a multi-bit binary symbol, constructing a communication frame including a mode indicator encoded by at least one of the aforementioned symbols for indicating that a subsequent data segment employs either conventional single-dimensional modulation or the present invention two-dimensional modulation, and scheduling communication with a new and old slave device by a master device in accordance therewith. The system comprises a master device and a slave device. The invention realizes lossless compatibility and smooth network upgrading with the stock of traditional pulse bus equipment by integrating the pulse position and the width in a single symbol to bear information in two dimensions, doubling the efficiency of a physical layer and simultaneously realizing lossless compatibility and smooth network upgrading with the stock of traditional pulse bus equipment by a dynamic frame and mixed scheduling mechanism.

Inventors

  • WANG TIEJING

Assignees

  • 苏州航智路通科技有限公司

Dates

Publication Date
20260512
Application Date
20260211

Claims (10)

  1. 1. An industrial field bus communication method based on two-dimensional pulse modulation, applied to a two-wire bus system comprising a master device and at least one slave device, characterized in that it comprises the following steps: a symbol definition step of dividing a symbol period of communication into a preamble sub-slot and a data sub-slot; Transmitting a second pulse having a second width in the data sub-slot, the second width being selected from a plurality of predefined width classes, different width classes corresponding to different multi-bit binary symbols; a frame construction step of constructing a communication frame including a mode indicator encoded by at least one symbol generated based on the two-dimensional modulation step for indicating a modulation mode of a subsequent data segment in the communication frame; and the step of scheduling communication, namely distinguishing and scheduling communication with the first type of slave devices adopting traditional single-dimensional pulse modulation and the second type of slave devices adopting the double-dimensional pulse modulation by the master device according to the mode indicator.
  2. 2. The two-dimensional pulse modulation based industrial field bus communication method of claim 1, wherein the mode indicator comprises at least a first mode value and a second mode value; When the mode indicator is a first mode value, indicating that the subsequent data segment is transmitted by adopting traditional single-dimensional pulse modulation, wherein the presence or absence of pulses in the traditional single-dimensional pulse modulation respectively represents a binary bit; and when the mode indicator is a second mode value, indicating that the subsequent data segment is transmitted by adopting the two-dimensional pulse modulation.
  3. 3. The industrial fieldbus communication method based on two-dimensional pulse modulation according to claim 2, characterized in that said step of scheduling communication comprises in particular: A window dividing step, namely dividing a communication period into a traditional communication window and a high-efficiency communication window by the main equipment; A first scheduling sub-step, in which the master device sends a communication frame with a mode indicator being a first mode value to communicate with the first type slave device in the traditional communication window; And a second scheduling sub-step, wherein the master device transmits a communication frame with a mode indicator being a second mode value in the efficient communication window, and allocates independent communication time slots for a plurality of second-class slave devices to communicate in a time division multiple access mode.
  4. 4. The method of claim 1, wherein the second pulse has at least four width levels, each corresponding to at least two binary symbols, such that one symbol period carries a total amount of information greater than two bits.
  5. 5. A method of industrial field bus communication based on two-dimensional pulse modulation according to claim 2 or 3, characterized in that when the mode indicator is a second mode value, the address field of the communication frame uses a compressed short address having a mapping relation with the long address used by the first type of slave device, which mapping relation is maintained by the master device.
  6. 6. The method of claim 1, wherein the first pulse has a width that is configured to be recognized by the first type of slave device as a valid logical signal such that the first type of slave device recognizes the same logical value regardless of the width of the second pulse when receiving a symbol containing the first pulse.
  7. 7. The industrial field bus communication method based on two-dimensional pulse modulation according to claim 1, wherein the method further comprises a checking step of performing cyclic redundancy check according to the multi-bit binary symbols characterized by the second pulse width for data using two-dimensional pulse modulation.
  8. 8. An industrial fieldbus communication system for carrying out the method of any one of claims 1 to 7, comprising a master device and at least one slave device connected by a two-wire bus; the master device includes: The two-dimensional pulse modulation demodulation module is used for generating and analyzing two-dimensional modulation symbols; the mixed scheduling management module is used for constructing a communication frame and executing a scheduling communication step; The slave device comprises a second class of slave devices, wherein a two-dimensional pulse processing module is arranged in the second class of slave devices and is used for identifying the leading sub-time slot and the data sub-time slot and analyzing the width grade of the second pulse to obtain corresponding multi-bit binary code elements.
  9. 9. The industrial fieldbus communication system of claim 8 wherein the slave devices further comprise a first class of slave devices having a single dimensional pulse identification module built-in to identify the presence or absence of only pulses and to identify the received first pulses as valid logic signals.
  10. 10. The industrial field bus communication system of claim 8, wherein the two-wire bus is a bus having power lines multiplexed with signal lines, and wherein the two-dimensional pulse modem module comprises a pulse width generation circuit and a pulse width detection circuit having logic to sample before the end of a data sub-slot to determine a width class.

Description

Industrial field bus communication method and system based on two-dimensional pulse modulation Technical Field The invention relates to the technical field of industrial automation control, in particular to an industrial field bus communication method and system based on two-dimensional pulse modulation. Background In the field of industrial automation, a fieldbus is a nerve hub that connects a controller to devices such as field sensors, actuators, and the like. The two-wire bus has the remarkable advantages of simple wiring, low cost, convenience in realizing intrinsic safety and the like due to the adoption of a power line and signal line multiplexing mode, and is widely applied to scenes with extremely high requirements on reliability and wiring simplicity, such as fire alarm, mine monitoring and the like. The traditional two-wire pulse bus adopts a single-dimensional modulation mode, the data transmission efficiency is low, and the network capacity is limited. With the development of industrial internet of things, the amount of data that field devices need to transmit back increases, and this inefficient communication mode has become a performance bottleneck. If performance is to be improved, it is often necessary to replace all stock equipment and lines, which is costly and affects the continuity of production. On the other hand, other high-performance buses such as CAN, RS-485 and the like need independent communication wires, so that wiring is complex, and single-Wire buses such as Dallas1-Wire and the like have the problems of weak driving capability, short communication distance, insufficient anti-interference capability and the like, so that the method is difficult to be applied to industrial sites with complex environments. Therefore, on the premise of keeping the existing two-wire wiring and fully compatible with mass storage pulse bus equipment, the data transmission efficiency and the network management capability of the field bus are obviously improved. There is a need in the marketplace for a new industrial bus technology that enables a smooth evolution of network performance. Disclosure of Invention The invention aims to overcome the defects of the prior art and provides an industrial field bus communication method and system based on two-dimensional pulse modulation. The method has the core purposes of greatly improving the bearing capacity of single-symbol information through an innovative two-dimensional pulse modulation technology at a physical layer, and designing a dynamic compatibility and intelligent scheduling mechanism at a link layer and a network layer at the same time, so that lossless compatibility and efficient cooperative communication between novel high-speed equipment and stock traditional equipment are realized on the same two-wire bus network, and finally the technical problems of smooth upgrading and performance multiplication of an industrial field bus are solved. In order to achieve the aim of the invention, the invention adopts the following technical scheme: An industrial field bus communication method based on two-dimensional pulse modulation, applied to a two-wire bus system comprising a master device and at least one slave device, the method comprising the steps of: a symbol definition step of dividing a symbol period of communication into a preamble sub-slot and a data sub-slot; Transmitting a second pulse having a second width in the data sub-slot, the second width being selected from a plurality of predefined width classes, different width classes corresponding to different multi-bit binary symbols; a frame construction step of constructing a communication frame including a mode indicator encoded by at least one symbol generated based on the two-dimensional modulation step for indicating a modulation mode of a subsequent data segment in the communication frame; and the step of scheduling communication, namely distinguishing and scheduling communication with the first type of slave devices adopting traditional single-dimensional pulse modulation and the second type of slave devices adopting the double-dimensional pulse modulation by the master device according to the mode indicator. Further, the mode indicator includes at least a first mode value and a second mode value. And when the mode indicator is a second mode value, the subsequent data segment is instructed to be transmitted by adopting the two-dimensional pulse modulation. The scheduling communication step specifically comprises a window dividing step of dividing a communication period into a traditional communication window and an efficient communication window by the main equipment, a first scheduling sub-step of transmitting a communication frame with a mode indicator being a first mode value to communicate with the first type of slave equipment in the traditional communication window, and a second scheduling sub-step of transmitting a communication frame with a mode indicator being a second mode val