WO2017126077A1 - 通信システム、通信装置及び通信方法 - Google Patents

通信システム、通信装置及び通信方法 Download PDF

Info

Publication number
WO2017126077A1
WO2017126077A1 PCT/JP2016/051691 JP2016051691W WO2017126077A1 WO 2017126077 A1 WO2017126077 A1 WO 2017126077A1 JP 2016051691 W JP2016051691 W JP 2016051691W WO 2017126077 A1 WO2017126077 A1 WO 2017126077A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
communication device
time interval
timing
frames
Prior art date
Application number
PCT/JP2016/051691
Other languages
English (en)
French (fr)
Inventor
佑磨 林
大介 長川
一哉 稲妻
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to DE112016002783.4T priority Critical patent/DE112016002783B4/de
Priority to US15/740,068 priority patent/US10382188B2/en
Priority to KR1020187001823A priority patent/KR101875362B1/ko
Priority to JP2016544647A priority patent/JP6192847B1/ja
Priority to CN201680043784.3A priority patent/CN107852322A/zh
Priority to PCT/JP2016/051691 priority patent/WO2017126077A1/ja
Publication of WO2017126077A1 publication Critical patent/WO2017126077A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/02Speed or phase control by the received code signals, the signals containing no special synchronisation information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling
    • H04L12/4035Bus networks with centralised control, e.g. polling in which slots of a TDMA packet structure are assigned based on a contention resolution carried out at a master unit

Definitions

  • the present invention relates to a communication system, a communication apparatus, and a communication method that perform timing synchronization.
  • timing synchronization In a system in which a plurality of devices connected to the network operate in cooperation, it is necessary to match the control timing of each device by matching the time measured by each device. Matching the control timings of a plurality of devices is called timing synchronization.
  • the timing at which one device transports the material matches the timing at which the other device cuts the material, the material is being transported. Also, the desired part of the material is cut.
  • a synchronization master device that is a timing synchronization master and a synchronization slave device that is a timing synchronization slave communicate with each other at a predetermined communication time interval. Accordingly, the synchronization slave device performs timing synchronization with the synchronization master device.
  • the transmission time interval of the transmission data of the synchronization master device may fluctuate and the timing synchronization accuracy may decrease.
  • the cause of the fluctuation of the transmission time interval is exemplified by a failure of the synchronization master device or a disturbance from a device other than the synchronization master device.
  • Patent Document 1 describes a reference time transmitted from a corresponding time master device among a plurality of time master devices that transmit a reference time indicating a reference time, and a propagation delay from the time master device.
  • a plurality of estimated time calculation units for calculating the estimated time of the corresponding time master device based on the time, and a current time indicating the current time based on the plurality of estimated times calculated by the plurality of estimated time calculation units.
  • a time synchronization device comprising: a current time calculation unit for calculating, wherein the estimated time calculation unit discards a reference time at which a reception interval of a reference time transmitted from a corresponding time master device is equal to or greater than a threshold value (Claim 5).
  • the time synchronizer described in Patent Document 1 compares the reference time reception interval with a threshold value, and discards the reference time having a long reception interval, which is considered to have caused a collision between frames. Has improved.
  • the present invention has been made in view of the above, and an object of the present invention is to obtain a communication system capable of improving the accuracy of timing synchronization.
  • the present invention includes a first communication device that transmits a plurality of frames at a transmission time interval shorter than the time required for transmitting the minimum frame.
  • the present invention also includes a second communication device that performs timing synchronization with the first communication device based on the plurality of frames when the reception time intervals of the received frames match the transmission time interval.
  • the second communication device can detect that the reception time interval of the received frames is shorter than the transmission time interval.
  • the communication system according to the present invention has the effect of improving the accuracy of timing synchronization.
  • FIG. 3 is a flowchart showing processing of the synchronization master communication device of the communication system according to the first exemplary embodiment.
  • FIG. 1 is a flowchart showing processing of a synchronous slave communication device of a communication system according to a first exemplary embodiment.
  • FIG. 1 is a diagram illustrating a hardware configuration of a hub of a communication system according to a first embodiment.
  • FIG. 1 is a diagram illustrating a configuration of a communication system according to the first embodiment.
  • the communication system 1 includes a synchronization master communication device 2 that transmits a plurality of frames, a hub 3 that is connected to the synchronization master communication device 2 via a cable C1 and transfers a plurality of frames received from the synchronization master communication device 2, A synchronization slave connected to the hub 3 via the cable C2 and receiving a plurality of frames transmitted from the synchronization master communication device 2 from the hub 3 and performing timing synchronization with the synchronization master communication device 2 based on the plurality of frames Communication device 4.
  • the synchronization master communication device 2 corresponds to the first communication device of the present invention.
  • the synchronous slave communication device 4 corresponds to the second communication device of the present invention.
  • the synchronization master communication device 2 transmits a frame in which the MAC address of the synchronization slave communication device 4 is stored in the destination MAC (Media Access Control) address field of the frame to the hub 3.
  • MAC Media Access Control
  • the hub 3 refers to the MAC address stored in the destination MAC address field of the frame received from the synchronization master communication device 2, determines that the frame destination is the synchronization slave communication device 4, and the synchronization master communication device The frame received from 2 is transferred to the synchronous slave communication device 4.
  • the communication system 1 includes a communication device 5 connected to the hub 3 via the cable C3 and a communication device 6 connected to the hub 3 via the cable C4.
  • the communication device 5 transmits to the hub 3 a frame in which the MAC address of the communication device 6 is stored in the destination MAC address field of the frame.
  • the hub 3 refers to the MAC address stored in the destination MAC address field of the frame received from the communication device 5, determines that the destination of the frame is the communication device 6, and communicates the frame received from the communication device 5. Transfer to device 6.
  • FIG. 2 is a functional block diagram of the synchronization master communication device of the communication system according to the first embodiment.
  • the synchronization master communication device 2 includes a frame generation unit 21 that generates a plurality of frames, a transmission time interval measurement unit 22 that measures transmission time intervals between the plurality of frames, and a transmission time that is shorter than the time required to transmit the minimum frame. And a transmission unit 23 that transmits a plurality of frames to the synchronous slave communication device 4 at intervals.
  • the minimum frame and the time required to transmit the minimum frame will be described later.
  • the transmission time interval is a time interval between the transmission completion timing of one frame and the transmission start timing of the next frame.
  • FIG. 3 is a diagram illustrating a hardware configuration of the synchronization master communication device of the communication system according to the first embodiment.
  • the synchronization master communication device 2 includes a transmission unit 23, a CPU (Central Processing Unit) 24, and a storage unit 25.
  • the transmission unit 23, the CPU 24, and the storage unit 25 are connected via a bus B1.
  • the storage unit 25 stores a frame generation program 26 and a transmission time interval measurement program 27.
  • the storage unit 25 is exemplified by a flash memory (registered trademark).
  • the frame generation program 26 is a program for generating a plurality of frames.
  • the frame generation unit 21 that generates a plurality of frames is realized.
  • the frame generation unit 21 generates a plurality of frames such that the transmission time interval between the plurality of frames is shorter than the time required for transmitting the minimum frame.
  • the transmission time interval measurement program 27 is a program for measuring transmission time intervals between a plurality of frames.
  • the transmission time interval measurement unit 22 that measures the transmission time intervals between a plurality of frames is realized.
  • the transmission unit 23 is a physical layer circuit that bears the physical layer that is the first layer of the OSI reference model (Open Systems Interconnection reference model, ISO (International Organization for Standardization) / IEC (International Electrotechnical Commission) 7498).
  • OSI reference model Open Systems Interconnection reference model, ISO (International Organization for Standardization) / IEC (International Electrotechnical Commission) 7498.
  • Ethernet registered trademark, IEEE (The Institute of Electrical and Electronics Engineers, Inc.) 802.3).
  • the transmission unit 23 is connected to the hub 3 via the cable C1.
  • the transmitting unit 23 transmits a plurality of frames to the synchronous slave communication device 4 at a transmission time interval shorter than the time required for transmitting the minimum frame.
  • the communication physical layer has the following characteristics.
  • the physical layer of communication can be branched.
  • a third device can be connected to the physical layer of communication.
  • the other one is awaited. For example, when communication between the first device and the second device is in progress, the communication between the third device and the fourth device is awaited.
  • the minimum frame is a frame having a minimum frame length.
  • the minimum frame In Ethernet (registered trademark), the minimum frame is 64 bytes long. Therefore, in Ethernet (registered trademark), the time required to transmit the minimum frame can be defined by a value obtained by dividing 64 bytes by the communication bit rate.
  • the communication bit rate is exemplified by 100 Mbps (bit per second) or 1000 Mbps.
  • Ethernet (registered trademark) is an example of a physical layer of communication, and the minimum frame is not limited to 64 bytes.
  • the communication delay is constant under the condition where there is no frame collision. For example, if communication does not occur between the third device and the fourth device during communication between the first device and the second device, no frame collision occurs. When no frame collision occurs, the communication delay between the first device and the second device is constant.
  • FIG. 4 is a functional block diagram of the synchronous slave communication device of the communication system according to the first embodiment.
  • the synchronous slave communication device 4 includes a reception unit 41 that receives a plurality of frames, a reception time interval measurement unit 42 that measures a reception time interval between the plurality of frames, and a reception time interval that matches the transmission time interval. And a synchronization unit 43 that performs timing synchronization with the synchronization master communication device 2 based on the frame.
  • the reception time interval is a time interval between the reception completion timing of one frame and the reception start timing of the next frame.
  • FIG. 5 is a diagram illustrating a hardware configuration of the synchronous slave communication device of the communication system according to the first embodiment.
  • the synchronous slave communication device 4 includes a receiving unit 41, a CPU 44, and a storage unit 45.
  • the receiving unit 41, the CPU 44, and the storage unit 45 are connected via a bus B3.
  • the receiving unit 41 is a physical layer circuit that bears the physical layer that is the first layer of the OSI reference model.
  • the receiver 41 is connected to the hub 3 via the cable C2.
  • the storage unit 45 stores a reception time interval measurement program 46 and a synchronization program 47.
  • the storage unit 45 is exemplified by a flash memory (registered trademark).
  • the reception time interval measurement program 46 is a program for measuring reception time intervals between a plurality of frames.
  • the reception time interval measurement unit 42 that measures reception time intervals between a plurality of frames is realized.
  • the synchronization program 47 is a program for performing timing synchronization with the synchronization master communication device 2 based on a plurality of frames when the reception time interval matches the transmission time interval.
  • the synchronization unit 43 that performs timing synchronization with the synchronization master communication device 2 is realized based on a plurality of frames.
  • FIG. 6 is a flowchart of a process performed by the synchronization master communication device of the communication system according to the first embodiment.
  • the synchronization master communication device 2 starts the process shown in FIG.
  • step S100 the frame generation unit 21 generates a synchronization signal for timing synchronization.
  • the synchronization signal is exemplified by a signal at the reference time of the synchronization master communication device 2 that is a reference for timing synchronization.
  • the synchronization slave communication device 4 can perform timing synchronization by setting the time obtained by adding the communication delay time to the synchronization signal to the timing at which the frame is received from the synchronization master communication device 2.
  • step S102 the frame generation unit 21 generates a plurality of frames F1 and frames F2.
  • the frame generation unit 21 generates the frames F1 and F2 so that the transmission time interval between the frames F1 and F2 is shorter than the time required for transmission of the minimum frame in the communication physical layer.
  • FIG. 7 is a diagram illustrating a format of a frame transmitted and received by the communication system according to the first embodiment.
  • the frame F1 and the frame F2 include a destination MAC address field 52, a transmission source MAC address field 53, a type field 54, a data field 55, and an FCS (Frame Check Sequence) field 56.
  • the destination MAC address field 52 is 6 bytes long and stores the MAC address of the synchronous slave communication device 4.
  • the source MAC address field 53 is 6 bytes long, and stores the MAC address of the synchronization master communication device 2.
  • the type field 54 stores a bit string that specifies a protocol higher than the physical layer of communication.
  • the data field 55 has a variable length from 46 bytes to 1500 bytes, and stores data to be transmitted.
  • the frame generation unit 21 stores the synchronization signal generated in step S100 in the data field 55 of the frame F1.
  • the synchronization master communication device 2 may send a synchronization signal to the synchronization slave communication device 4 in advance before starting the processing shown in FIG.
  • the transmission time interval T0 measured by the transmission time interval measurement unit 22 is stored.
  • the FCS field 56 has a length of 4 bytes and stores a bit string for checking whether there is a transmission error in the frame F1 or the frame F2.
  • a CRC Cyclic Redundancy Check
  • the frame length of the frames F1 and F2 is a minimum of 64 bytes and a maximum of 1518 bytes.
  • the transmission time interval measuring unit 22 measures the transmission time interval T0 between the frame F1 and the frame F2 in step S104.
  • the transmission time interval measuring unit 22 stores the measured transmission time interval T0 in the data field 55 of the frame F2.
  • step S106 the transmission unit 23 transmits the frame F1 and the frame F2 at the transmission time interval T0, and ends the process.
  • step S ⁇ b> 106 executed by the transmission unit 23 is described after step S ⁇ b> 104 executed by the transmission time interval measurement unit 22. However, actually, the transmission time interval measurement unit 22 and the transmission unit 23 operate in parallel.
  • the transmission time interval measurement unit 22 can measure the transmission time interval T0 between the frames F1 and F2 by monitoring the transmission status of the frames F1 and F2 of the transmission unit 23.
  • the transmission time interval measuring unit 22 stores the measured transmission time interval T0 in the data field 55 of the frame F2.
  • FIG. 8 is a flowchart of a process performed by the synchronous slave communication device of the communication system according to the first embodiment.
  • the receiving unit 41 receives the frame F1 and the frame F2 from the hub 3 in step S200.
  • the reception time interval measurement unit 42 measures the reception time interval T between the frame F1 and the frame F2 in step S202.
  • step S204 the synchronization unit 43 determines whether the reception time interval T matches the transmission time interval T0 stored in the data field 55 of the frame F2. If the synchronization unit 43 determines that the reception time interval T matches the transmission time interval T0 (Yes in step S204), the synchronization unit 43 advances the process to step S206. If the synchronization unit 43 determines that the reception time interval T does not match the transmission time interval T0 (No in step S204), the synchronization unit 43 ends the process.
  • step S206 the synchronization unit 43 performs timing synchronization with the synchronization master communication device 2 based on the frame F1 and the frame F2.
  • FIG. 9 is a diagram illustrating a first timing example of communication of the communication system according to the first embodiment.
  • Synchronization master communication apparatus 2 at a timing t 0, it starts transmitting to the hub 3 of the frame F1.
  • Hub 3 After starting the reception of frame F1 from the synchronization master communication apparatus 2, at timing t 1, starts to transfer to the synchronous slave communication apparatus 4 of the frame F1.
  • Synchronization slave communication device 4 at the timing t 2 starts receiving the frame F1 from the hub 3.
  • Synchronization master communication apparatus 2 at the timing t 3, and terminates the transmission to the hub 3 of the frame F1.
  • Hub 3 when finished the reception of the frame F1 from the synchronization master communication apparatus 2, at a timing t 4, and terminates the transfer to the synchronous slave communication apparatus 4 of the frame F1.
  • Synchronization slave communication device 4 at the timing t 5, and terminates the reception of the frame F1 from the hub 3.
  • Synchronization master communication apparatus 2 at the timing t 6 after the transmission time interval T0 from the timing t 3, begins to transmit to the hub 3 of the frame F2.
  • the transmission time interval T0 is shorter than the time required for transmitting the minimum frame.
  • Communication device 5 or the communication device 6 does not transmit a frame, if a collision or an interrupt is generated to the frame F1 and the frame F2, the delay in the network is constant, between the timing t 4 and time t 7 Is equal to the transmission time interval T0.
  • Synchronization slave communication device 4 at the timing t 8 starts receiving a frame F2 from the hub 3.
  • Communication device 5 or the communication device 6 does not transmit a frame, if a collision or an interrupt is generated to the frame F1 and the frame F2, the delay in the network is constant, between the timing t 5 and the timing t 8 Is equal to the transmission time interval T0.
  • Synchronization master communication apparatus 2 at a timing t 9, and terminates the transmission to the hub 3 of the frame F2.
  • Hub 3 when finished the reception of the frame F2 from the synchronization master communication apparatus 2, at a timing t 10, and terminates the transfer to the synchronous slave communication apparatus 4 of the frame F2.
  • Synchronization slave communication device 4 at the timing t 11, and terminates the reception of the frame F2 from the hub 3.
  • the synchronization unit 43 of the synchronization slave communication device 4 performs timing synchronization.
  • the reception time interval T is between the timing t 5 and the timing t 8 is the transmission time stored in the data field 55 of the frame F2 determined to match the interval T0, based on the synchronization signals stored in the data field 55 of the communication delay time Td and the frame F1 between timing t 0 and time t 2, performs timing synchronization.
  • the reference time is a synchronization signal that is stored in the data field 55 of frame F1, a time obtained by adding a communication delay time Td, at the timing t 2 Set to the time of the synchronous slave communication device 4.
  • the communication device 5 or The communication device 6 does not transmit a frame, and no collision or interruption with the frames F1 and F2 occurs. Therefore, the timing t 0, the timing t 2 to synchronize the slave communication apparatus 4 starts receiving a frame F1, the communication delay time Td between a constant.
  • the synchronous slave communication device 4 can perform timing synchronization with high accuracy.
  • FIG. 10 is a diagram illustrating a second timing example of communication of the communication system according to the first embodiment.
  • Synchronization master communication apparatus 2 at a timing t 20, starts to transmit to the hub 3 of the frame F1.
  • Hub 3 at the timing t 20 is performed to forward frames C from the communication device 5 to the communication device 6. That is, a collision between the frame C and the frame F1 occurs.
  • the hub 3 at the timing t 20 can not initiate a transfer to a synchronous slave communication apparatus 4 of the frame F1.
  • Synchronization master communication apparatus 2 at a timing t 23, and terminates the transmission to the hub 3 of the frame F1.
  • Synchronization master communication apparatus 2 at a timing t 24 after the transmission time interval T0 from the timing t 23, starts to transmit to the hub 3 of the frame F2.
  • Synchronization slave communication device 4 at the timing t 26, and terminates the reception of the frame F1 from the hub 3.
  • the hub 3 at the timing t 26 starts to transfer to the synchronous slave communication apparatus 4 of the frame F2.
  • the timing t 25 to the hub 3 has finished the transfer of frame F1
  • the transfer time interval T between the timing t 26 to the hub 3 begins forwarding a frame F2
  • the transmission time interval T0 is shorter than the transmission time interval T0.
  • the timing t 26 to synchronize the slave communication apparatus 4 ends the reception of the frame F1
  • the timing t 27 to synchronize the slave communication apparatus 4 starts receiving a frame F2
  • Synchronization master communication apparatus 2 at a timing t 28, and terminates the transmission to the hub 3 of the frame F2.
  • Synchronization slave communication device 4 at the timing t 30, and terminates the reception of the frame F2 from the hub 3.
  • the hub 3 is synchronous master communication apparatus 2 at the timing t 20 to start sending the frame F1, is performed to forward frames C from the communication device 5 to the communication device 6. Therefore, a timing t 20, the timing t 23 to synchronize the slave communication apparatus 4 starts receiving a frame F1, the communication delay time Td between, than the communication delay time Td of the first timing example shown in FIG. 9 It will be long.
  • Impact of the hub 3 is performing the transfer of frames C from the communication device 5 at the timing t 20 to the communication device 6, and that the communication delay time Td is longer than the first timing example, the reception time interval T is shorter than in the first timing example. Therefore, in the second timing example, the synchronization slave communication device 4 cannot perform timing synchronization with high accuracy.
  • the synchronization slave communication device 4 is consistent with the transmission time interval T0 of the reception time interval T is stored in the data field 55 of frame F2 between timing t 26 and timing t 27 It can be determined that the timing synchronization cannot be performed with high accuracy. Therefore, in the second timing example, the synchronous slave communication device 4 does not perform timing synchronization.
  • FIG. 11 is a diagram of a third timing example of communication of the communication system according to the first embodiment.
  • Synchronization master communication apparatus 2 at a timing t 40, starts to transmit to the hub 3 of the frame F1.
  • Hub 3 at the timing t 40 is performed to forward frames C1 from the communication device 5 to the communication device 6. That is, a collision between the frame C1 and the frame F1 occurs.
  • the hub 3 at the timing t 40 can not initiate a transfer to a synchronous slave communication apparatus 4 of the frame F1.
  • Synchronization master communication apparatus 2 at a timing t 43, and terminates the transmission to the hub 3 of the frame F1.
  • Synchronization master communication apparatus 2 at a timing t 45 after the transmission time interval T0 from the timing t 43, starts to transmit to the hub 3 of the frame F2.
  • Synchronization slave communication device 4 at the timing t 47, and terminates the reception of the frame F1 from the hub 3.
  • Hub 3 at the timing t 47, to initiate a transfer from the communication device 5 to the communication device 6 of a frame C2 received. That is, an interrupt for the frame C2 occurs between the frames F1 and F2.
  • the timing t 46 to the hub 3 has finished the transfer of frame F1
  • the transfer time interval T between the timing t 50 to the hub 3 begins forwarding a frame F2
  • the transmission time interval T0 is longer than the transmission time interval T0.
  • Synchronization master communication apparatus 2 at a timing t 48, and ends the transmission of the frame F2.
  • Hub 3 at the timing t 50 starts to transfer to the synchronous slave communication apparatus 4 of the frame F2.
  • Synchronization slave communication device 4 at the timing t 51 starts receiving a frame F2 from the hub 3.
  • the reception time interval T between the timing t 47 when the synchronization slave communication device 4 ends the reception of the frame F1 and the timing t 51 when the synchronization slave communication device 4 starts the reception of the frame F2 is a transmission time interval. It becomes longer than T0.
  • Synchronization slave communication device 4 at the timing t 53, and terminates the reception of the frame F2 from the hub 3.
  • the hub 3 is synchronous master communication apparatus 2 at the timing t 40 to start sending the frame F1, is performed to forward frames C1 from the communication device 5 to the communication device 6. Therefore, a timing t 40, the timing t 44 to synchronize the slave communication apparatus 4 starts receiving a frame F1, the communication delay time Td between, than the communication delay time Td of the first timing example shown in FIG. 9 It will be long. Therefore, in the third timing example, the synchronization slave communication device 4 cannot perform timing synchronization with high accuracy.
  • the reception time interval T may coincide with the transmission time interval T0.
  • the synchronization master communication device 2 transmits the frames F1 and F2 at a transmission time interval T0 that is shorter than the time required for transmitting the minimum frame. Therefore, even if the frame C2 is the minimum frame, the reception time interval T is always longer than the transmission time interval T0.
  • the synchronization slave communication device 4 the reception time interval T between the timing t 47 and timing t 51 matches a transmission time interval T0 stored in the data field 55 of the frame F2 By determining that it is not, it can be determined that timing synchronization cannot be performed with high accuracy. Therefore, in the third timing example, the synchronous slave communication device 4 does not perform timing synchronization.
  • the communication system 1 performs timing synchronization only when the timing synchronization illustrated in the first timing example can be performed with high accuracy, and illustrated in the second and third timing examples. If timing synchronization cannot be performed with high accuracy, timing synchronization is not performed.
  • the communication system 1 can improve the accuracy of timing synchronization.
  • the synchronization slave communication device 4 performs timing synchronization with the synchronization master communication device 2, but the hub 3 can also perform timing synchronization with the synchronization master communication device 2.
  • FIG. 12 is a diagram illustrating a hardware configuration of the hub of the communication system according to the first embodiment.
  • the hub 3 includes communication units 31-1, 31-2, 31-3, and 31-4, a CPU 32, and a storage unit 33.
  • the communication units 31-1, 31-2, 31-3 and 31-4, the CPU 32, and the storage unit 33 are connected via a bus B2.
  • Each of the communication units 31-1, 31-2, 31-3, and 31-4 is a physical layer circuit that bears the physical layer that is the first layer of the OSI reference model.
  • the communication unit 31-1 is connected to the synchronization master communication device 2 via the cable C1.
  • the communication unit 31-2 is connected to the synchronous slave communication device 4 via the cable C2.
  • the communication unit 31-3 is connected to the communication device 5 via the cable C3.
  • the communication unit 31-4 is connected to the communication device 6 via the cable C4.
  • the storage unit 33 stores a transfer program 35, a reception time interval measurement program 46, and a synchronization program 47.
  • the storage unit 33 is exemplified by a flash memory (registered trademark).
  • the transfer program 35 refers to the MAC address stored in the destination MAC address field of the frame received by the communication unit 31-1, 31-2, 31-3, or 31-4, and sets the received frame as the destination.
  • the transfer unit 34 that transfers the frame received by the communication unit 31-1, 31-2, 31-3, or 31-4 to the destination communication device is realized.
  • the reception time interval measurement unit 42 that measures reception time intervals between a plurality of frames is realized.
  • the synchronization unit 43 that performs timing synchronization with the synchronization master communication device 2 is realized based on a plurality of frames.
  • the hub 3 can perform timing synchronization with the synchronization master communication device 2 by the above configuration.
  • the configuration described in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and can be combined with other configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

通信システムは、最小フレームの送信に要する時間よりも短い送信時間間隔で複数のフレームを送信する第1の通信装置と、受信した複数のフレームの受信時間間隔が送信時間間隔と一致したら、複数のフレームに基づいて、第1の通信装置とのタイミング同期を行う第2の通信装置と、を備える。

Description

通信システム、通信装置及び通信方法
 本発明は、タイミング同期を行う通信システム、通信装置及び通信方法に関する。
 ネットワーク接続された複数の装置が連携して動作するシステムでは、各装置が計時する時刻を一致させて、各装置の制御タイミングを一致させることが必要である。複数の装置の制御タイミングを一致させることを、タイミング同期と称する。
 例えば、資材を搬送しながら切断するシステムにおいて、1つの装置が資材を搬送するタイミングと、他の1つの装置が資材を切断するタイミングと、が一致していれば、資材の搬送中であっても、資材の所望の箇所が切断される。
 しかし、1つの装置が資材を搬送するタイミングと、他の1つの装置が資材を切断するタイミングと、がずれていれば、資材の所望の箇所とは異なる箇所が切断されてしまう。
 タイミング同期を必要とするシステムにおいては、一般に、タイミング同期のマスタである同期マスタ装置と、タイミング同期のスレーブである同期スレーブ装置とが、予め決められた通信時間間隔で通信を行う。これにより、同期スレーブ装置は、同期マスタ装置とのタイミング同期を行う。
 しかし、同期マスタ装置の送信データの送信時間間隔が変動し、タイミング同期の精度が低下することがある。送信時間間隔が変動する原因は、同期マスタ装置の故障又は同期マスタ装置以外の装置からの外乱が例示される。
 関連する技術として、下記の特許文献1には、基準となる時刻を示す基準時刻を送信する複数のタイムマスタ装置のうち対応するタイムマスタ装置から送信される基準時刻とタイムマスタ装置からの伝播遅延時間とに基づいて、対応するタイムマスタ装置の推定時刻を算出する複数の推定時刻算出部と、複数の推定時刻算出部が算出した複数の推定時刻に基づいて、現在の時刻を示す現在時刻を算出する現在時刻算出部と、を備え、推定時刻算出部は、対応するタイムマスタ装置から送信される基準時刻の受信間隔が閾値以上の基準時刻を破棄することを特徴とする時刻同期装置が記載されている(請求項5)。
特開2014-235013号公報
 複数の機器がネットワーク接続されたシステムでは、フレームとフレームとの衝突又は2つのフレーム間への他のフレームの割込みが発生するので、通信遅延が不定期に発生する。
 特許文献1記載の時刻同期装置は、基準時刻の受信間隔を閾値と比較して、フレームとフレームとの衝突が発生したと考えられる、受信間隔の長い基準時刻を破棄することで、同期の精度を向上させている。
 しかし、特許文献1記載の時刻同期装置では、フレームとフレームとの衝突が常に発生している場合又はフレームとフレームとの衝突による受信間隔の増大幅が微小な場合を検出できないので、タイミング同期の精度が低下するという問題があった。
 本発明は、上記に鑑みてなされたものであって、タイミング同期の精度の向上を実現できる通信システムを得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本発明は、最小フレームの送信に要する時間よりも短い送信時間間隔で複数のフレームを送信する第1の通信装置を備える。また、本発明は、受信した複数のフレームの受信時間間隔が送信時間間隔と一致したら、複数のフレームに基づいて、第1の通信装置とのタイミング同期を行う第2の通信装置を備える。
 第2の通信装置は、受信した複数のフレームの受信時間間隔が送信時間間隔より短くなったことを検知できる。
 本発明にかかる通信システムは、タイミング同期の精度の向上を実現できるという効果を奏する。
実施の形態1にかかる通信システムの構成を示す図 実施の形態1にかかる通信システムの同期マスタ通信装置の機能ブロックを示す図 実施の形態1にかかる通信システムの同期マスタ通信装置のハードウェア構成を示す図 実施の形態1にかかる通信システムの同期スレーブ通信装置の機能ブロックを示す図 実施の形態1にかかる通信システムの同期スレーブ通信装置のハードウェア構成を示す図 実施の形態1にかかる通信システムの同期マスタ通信装置の処理を示すフローチャート 実施の形態1にかかる通信システムで送受信されるフレームのフォーマットを示す図 実施の形態1にかかる通信システムの同期スレーブ通信装置の処理を示すフローチャート 実施の形態1にかかる通信システムの通信の第1のタイミング例を示す図 実施の形態1にかかる通信システムの通信の第2のタイミング例を示す図 実施の形態1にかかる通信システムの通信の第3のタイミング例を示す図 実施の形態1にかかる通信システムのハブのハードウェア構成を示す図
 以下に、本発明の実施の形態にかかる通信システム、通信装置及び通信方法を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
実施の形態1.
 図1は、実施の形態1にかかる通信システムの構成を示す図である。
 通信システム1は、複数のフレームを送信する同期マスタ通信装置2と、同期マスタ通信装置2にケーブルC1を介して接続され、同期マスタ通信装置2から受信した複数のフレームを転送するハブ3と、ハブ3にケーブルC2を介して接続され、同期マスタ通信装置2から送信された複数のフレームをハブ3から受信し、複数のフレームに基づいて、同期マスタ通信装置2とのタイミング同期を行う同期スレーブ通信装置4と、を含む。
 同期マスタ通信装置2が、本発明の第1の通信装置に対応する。同期スレーブ通信装置4が、本発明の第2の通信装置に対応する。
 同期マスタ通信装置2は、フレームの宛先MAC(Media Access Control)アドレスフィールド内に同期スレーブ通信装置4のMACアドレスが格納されたフレームを、ハブ3に送信する。
 ハブ3は、同期マスタ通信装置2から受信したフレームの宛先MACアドレスフィールド内に格納されているMACアドレスを参照して、フレームの宛先が同期スレーブ通信装置4であると判定し、同期マスタ通信装置2から受信したフレームを同期スレーブ通信装置4に転送する。
 更に、通信システム1は、ハブ3にケーブルC3を介して接続された通信装置5と、ハブ3にケーブルC4を介して接続された通信装置6と、を含む。
 通信装置5は、フレームの宛先MACアドレスフィールド内に通信装置6のMACアドレスが格納されたフレームを、ハブ3に送信する。
 ハブ3は、通信装置5から受信したフレームの宛先MACアドレスフィールド内に格納されたMACアドレスを参照して、フレームの宛先が通信装置6であると判定し、通信装置5から受信したフレームを通信装置6に転送する。
 図2は、実施の形態1にかかる通信システムの同期マスタ通信装置の機能ブロックを示す図である。
 同期マスタ通信装置2は、複数のフレームを生成するフレーム生成部21と、複数のフレーム間の送信時間間隔を測定する送信時間間隔測定部22と、最小フレームの送信に要する時間よりも短い送信時間間隔で複数のフレームを同期スレーブ通信装置4に送信する送信部23と、を含む。
 最小フレーム及び最小フレームの送信に要する時間については、後で説明する。
 送信時間間隔は、1つのフレームの送信完了タイミングと、次のフレームの送信開始タイミングと、の間の時間間隔である。
 図3は、実施の形態1にかかる通信システムの同期マスタ通信装置のハードウェア構成を示す図である。
 同期マスタ通信装置2は、送信部23と、CPU(Central Processing Unit)24と、記憶部25と、を含む。送信部23、CPU24及び記憶部25は、バスB1を介して接続されている。
 記憶部25は、フレーム生成プログラム26と、送信時間間隔測定プログラム27と、を記憶する。記憶部25は、フラッシュメモリ(登録商標)が例示される。
 フレーム生成プログラム26は、複数のフレームを生成するためのプログラムである。CPU24がフレーム生成プログラム26を実行することで、複数のフレームを生成するフレーム生成部21が実現される。
 フレーム生成部21は、複数のフレーム間の送信時間間隔が最小フレームの送信に要する時間よりも短くなるように、複数のフレームを生成する。
 送信時間間隔測定プログラム27は、複数のフレーム間の送信時間間隔を測定するためのプログラムである。CPU24が送信時間間隔測定プログラム27を実行することで、複数のフレーム間の送信時間間隔を測定する送信時間間隔測定部22が実現される。
 送信部23は、OSI参照モデル(Open Systems Interconnection reference model、ISO(International Organization for Standardization)/IEC(International Electrotechnical Commission) 7498)の第1層である物理層を担う物理層回路である。
 通信の物理層は、Ethernet(登録商標、IEEE(The Institute of Electrical and Electronics Engineers, Inc.) 802.3)が例示される。
 送信部23は、ケーブルC1を介して、ハブ3に接続されている。
 送信部23は、最小フレームの送信に要する時間よりも短い送信時間間隔で複数のフレームを同期スレーブ通信装置4へ送信する。
 実施の形態1では、通信の物理層は、下記の特徴を有する。
 第1に、通信の物理層は、分岐可能である。例えば、第1の機器と、第1の機器と通信を行う第2の機器と、の他に、第3の機器が通信の物理層に接続可能である。
 第2に、1つの通信が実施中の場合には、他の1つの通信は待たされる。例えば、第1の機器と第2の機器との間の通信が実施中の場合には、第3の機器と第4の機器との間の通信は待たされる。
 第3に、最小フレームの送信に要する時間が規定できる。最小フレームとは、フレーム長が最小となるフレームである。Ethernet(登録商標)では、最小フレームが64バイト長である。従って、Ethernet(登録商標)では、最小フレームの送信に要する時間は、64バイトを通信ビットレートで除した値で規定できる。通信ビットレートは、100Mbps(bit per second)又は1000Mbpsが例示される。
 Ethernet(登録商標)は通信の物理層の例示であり、最小フレームは64バイトに限定されない。
 第4に、フレームの衝突がない条件下では、通信遅延は一定である。例えば、第1の機器と第2の機器との間で通信を実施中に、第3の機器と第4の機器との間で通信が発生しなければ、フレームの衝突が発生しない。フレームの衝突が発生しない場合は、第1の機器と第2の機器との間での通信遅延は、一定である。
 図4は、実施の形態1にかかる通信システムの同期スレーブ通信装置の機能ブロックを示す図である。
 同期スレーブ通信装置4は、複数のフレームを受信する受信部41と、複数のフレーム間の受信時間間隔を測定する受信時間間隔測定部42と、受信時間間隔が送信時間間隔と一致したら、複数のフレームに基づいて、同期マスタ通信装置2とのタイミング同期を行う同期部43と、を含む。
 受信時間間隔は、1つのフレームの受信完了タイミングと、次のフレームの受信開始タイミングと、の間の時間間隔である。
 図5は、実施の形態1にかかる通信システムの同期スレーブ通信装置のハードウェア構成を示す図である。
 同期スレーブ通信装置4は、受信部41と、CPU44と、記憶部45と、を含む。受信部41、CPU44及び記憶部45は、バスB3を介して接続されている。
 受信部41は、OSI参照モデルの第1層である物理層を担う物理層回路である。受信部41は、ケーブルC2を介して、ハブ3に接続されている。
 記憶部45は、受信時間間隔測定プログラム46と、同期プログラム47と、を記憶する。記憶部45は、フラッシュメモリ(登録商標)が例示される。
 受信時間間隔測定プログラム46は、複数のフレーム間の受信時間間隔を測定するためのプログラムである。
 CPU44が受信時間間隔測定プログラム46を実行することで、複数のフレーム間の受信時間間隔を測定する受信時間間隔測定部42が実現される。
 同期プログラム47は、受信時間間隔が送信時間間隔と一致したら、複数のフレームに基づいて、同期マスタ通信装置2とのタイミング同期を行うためのプログラムである。
 CPU44が同期プログラム47を実行することで、受信時間間隔が送信時間間隔と一致したら、複数のフレームに基づいて、同期マスタ通信装置2とのタイミング同期を行う同期部43が実現される。
 次に実施の形態1にかかる通信システム1の動作について説明する。
 図6は、実施の形態1にかかる通信システムの同期マスタ通信装置の処理を示すフローチャートである。同期マスタ通信装置2は、タイミング同期の開始要求を受けると、図6に示す処理を開始する。
 フレーム生成部21は、ステップS100において、タイミング同期のための同期信号を生成する。同期信号は、タイミング同期の基準になる同期マスタ通信装置2の基準時刻の信号が例示される。同期スレーブ通信装置4は、同期信号に通信遅延時間を加えた時刻を同期マスタ通信装置2からフレームを受信したタイミングに設定することで、タイミング同期を行うことができる。
 フレーム生成部21は、ステップS102において、複数のフレームF1及びフレームF2を生成する。フレーム生成部21は、フレームF1とフレームF2との間の送信時間間隔が通信の物理層で最小フレームの送信に要する時間よりも短くなるように、フレームF1及びフレームF2を生成する。
 図7は、実施の形態1にかかる通信システムで送受信されるフレームのフォーマットを示す図である。
 フレームF1及びフレームF2は、宛先MACアドレスフィールド52と、送信元MACアドレスフィールド53と、タイプフィールド54と、データフィールド55と、FCS(Frame Check Sequence)フィールド56と、を含む。
 宛先MACアドレスフィールド52は、6バイト長であり、同期スレーブ通信装置4のMACアドレスが格納される。
 送信元MACアドレスフィールド53は、6バイト長であり、同期マスタ通信装置2のMACアドレスが格納される。
 タイプフィールド54は、通信の物理層よりも上位層のプロトコルを特定するビット列が格納される。
 データフィールド55は、46バイト長から1500バイト長までの可変長であり、送信するデータが格納される。
 フレーム生成部21は、ステップS100で生成した同期信号を、フレームF1のデータフィールド55内に格納する。
 なお、同期マスタ通信装置2が、図6に示す処理を開始する前に、同期信号を予め同期スレーブ通信装置4に送っておいても良い。
 フレームF2のデータフィールド55には、送信時間間隔測定部22によって測定される送信時間間隔T0が格納される。
 FCSフィールド56は、4バイト長であり、フレームF1又はフレームF2に伝送エラーがないかを調べるためのビット列が格納される。FCSフィールド56内には、宛先MACアドレスフィールド52、送信元MACアドレスフィールド53、タイプフィールド54及びデータフィールド55に格納されているビット列から計算されたCRC(Cyclic Redundancy Check)が格納される。
 従って、フレームF1及びフレームF2のフレーム長は、最小で64バイトであり、最大で1518バイトである。
 再び図6を参照すると、送信時間間隔測定部22は、ステップS104において、フレームF1とフレームF2との間の送信時間間隔T0を測定する。送信時間間隔測定部22は、測定した送信時間間隔T0を、フレームF2のデータフィールド55内に格納する。
 送信部23は、ステップS106において、フレームF1及びフレームF2を送信時間間隔T0で送信し、処理を終了する。
 なお、図6のフローチャートでは、送信部23が実行するステップS106は、送信時間間隔測定部22が実行するステップS104の後に、記載されている。しかし、実際には、送信時間間隔測定部22と送信部23とは、並行して動作している。
 従って、送信時間間隔測定部22は、送信部23のフレームF1及びフレームF2の送信状況を監視することで、フレームF1とフレームF2との間の送信時間間隔T0を測定することができる。送信時間間隔測定部22は、測定した送信時間間隔T0をフレームF2のデータフィールド55内に格納する。
 図8は、実施の形態1にかかる通信システムの同期スレーブ通信装置の処理を示すフローチャートである。
 受信部41は、ステップS200において、フレームF1及びフレームF2をハブ3から受信する。
 受信時間間隔測定部42は、ステップS202において、フレームF1とフレームF2との間の受信時間間隔Tを測定する。
 同期部43は、ステップS204において、受信時間間隔TがフレームF2のデータフィールド55内に格納されている送信時間間隔T0と一致しているか否かを判定する。同期部43は、受信時間間隔Tが送信時間間隔T0と一致していると判定したら(ステップS204でYes)、処理をステップS206に進める。同期部43は、受信時間間隔Tが送信時間間隔T0と一致していないと判定したら(ステップS204でNo)、処理を終了する。
 同期部43は、ステップS206において、フレームF1及びフレームF2に基づいて、同期マスタ通信装置2とのタイミング同期を行う。
 図9は、実施の形態1にかかる通信システムの通信の第1のタイミング例を示す図である。
 同期マスタ通信装置2は、タイミングtにおいて、フレームF1のハブ3への送信を開始する。ハブ3は、同期マスタ通信装置2からのフレームF1の受信を開始したら、タイミングtにおいて、フレームF1の同期スレーブ通信装置4への転送を開始する。
 同期スレーブ通信装置4は、タイミングtにおいて、ハブ3からのフレームF1の受信を開始する。
 同期マスタ通信装置2は、タイミングtにおいて、フレームF1のハブ3への送信を終了する。ハブ3は、同期マスタ通信装置2からのフレームF1の受信を終了したら、タイミングtにおいて、フレームF1の同期スレーブ通信装置4への転送を終了する。
 同期スレーブ通信装置4は、タイミングtにおいて、ハブ3からのフレームF1の受信を終了する。
 同期マスタ通信装置2は、タイミングtから送信時間間隔T0後のタイミングtにおいて、フレームF2のハブ3への送信を開始する。
 実施の形態1では、送信時間間隔T0は、最小フレームの送信に要する時間よりも短い。
 ハブ3は、同期マスタ通信装置2からのフレームF2の受信を開始したら、タイミングtにおいて、フレームF2の同期スレーブ通信装置4への転送を開始する。
 通信装置5又は通信装置6がフレームを送信せず、フレームF1及びフレームF2への衝突又は割込みが発生しなければ、ネットワークでの遅延は一定であるので、タイミングtとタイミングtとの間の時間間隔は、送信時間間隔T0と一致する。
 同期スレーブ通信装置4は、タイミングtにおいて、ハブ3からのフレームF2の受信を開始する。
 通信装置5又は通信装置6がフレームを送信せず、フレームF1及びフレームF2への衝突又は割込みが発生しなければ、ネットワークでの遅延は一定であるので、タイミングtとタイミングtとの間の受信時間間隔Tは、送信時間間隔T0と一致する。
 同期マスタ通信装置2は、タイミングtにおいて、フレームF2のハブ3への送信を終了する。
 ハブ3は、同期マスタ通信装置2からのフレームF2の受信を終了したら、タイミングt10において、フレームF2の同期スレーブ通信装置4への転送を終了する。
 同期スレーブ通信装置4は、タイミングt11において、ハブ3からのフレームF2の受信を終了する。
 第1のタイミング例では、同期スレーブ通信装置4の同期部43は、タイミングtとタイミングtとの間である受信時間間隔Tが、フレームF2のデータフィールド55内に格納されている送信時間間隔T0と一致していると判定し、タイミングtとタイミングtとの間の通信遅延時間Td及びフレームF1のデータフィールド55内に格納されている同期信号に基づいて、タイミング同期を行う。
 具体的には、同期スレーブ通信装置4の同期部43は、フレームF1のデータフィールド55内に格納されている同期信号である基準時刻に、通信遅延時間Tdを加算した時刻を、タイミングtにおける同期スレーブ通信装置4の時刻に設定する。
 第1のタイミング例では、同期マスタ通信装置2がフレームF1の送信を開始するタイミングtから、同期スレーブ通信装置4がフレームF2の受信を終了するタイミングt11までの間に、通信装置5又は通信装置6がフレームを送信せず、フレームF1及びフレームF2への衝突又は割込みが発生していない。従って、タイミングtと、同期スレーブ通信装置4がフレームF1の受信を開始するタイミングtと、の間の通信遅延時間Tdは、一定である。
 従って、同期スレーブ通信装置4は、タイミング同期を高い精度で行うことができる。
 図10は、実施の形態1にかかる通信システムの通信の第2のタイミング例を示す図である。
 同期マスタ通信装置2は、タイミングt20において、フレームF1のハブ3への送信を開始する。
 ハブ3は、タイミングt20において、通信装置5から通信装置6へのフレームCの転送を行っている。つまり、フレームCと、フレームF1と、の衝突が発生する。
 従って、ハブ3は、タイミングt20において、フレームF1の同期スレーブ通信装置4への転送を開始できない。
 ハブ3は、タイミングt21において、通信装置5から通信装置6へのフレームCの転送を終了する。
 ハブ3は、タイミングt22において、フレームF1の同期スレーブ通信装置4への転送を開始する。
 同期マスタ通信装置2は、タイミングt23において、フレームF1のハブ3への送信を終了する。
 同期スレーブ通信装置4は、タイミングt23において、ハブ3からのフレームF1の受信を開始する。
 同期マスタ通信装置2は、タイミングt23から送信時間間隔T0後のタイミングt24において、フレームF2のハブ3への送信を開始する。
 ハブ3は、タイミングt25において、フレームF1の同期スレーブ通信装置4への転送を終了する。
 同期スレーブ通信装置4は、タイミングt26において、ハブ3からのフレームF1の受信を終了する。
 ハブ3は、フレームF1の同期スレーブ通信装置4への転送を終了するタイミングt25よりも前のタイミングt24において、フレームF2の受信を開始している。従って、ハブ3は、タイミングt26において、フレームF2の同期スレーブ通信装置4への転送を開始する。
 同期スレーブ通信装置4は、タイミングt27において、ハブ3からのフレームF2の受信を開始する。
 従って、ハブ3がフレームF1の転送を終了するタイミングt25と、ハブ3がフレームF2の転送を開始するタイミングt26と、の間の転送時間間隔Tは、送信時間間隔T0よりも短くなる。また、同期スレーブ通信装置4がフレームF1の受信を終了するタイミングt26と、同期スレーブ通信装置4がフレームF2の受信を開始するタイミングt27と、の間の受信時間間隔Tは、送信時間間隔T0よりも短くなる。
 同期マスタ通信装置2は、タイミングt28において、フレームF2のハブ3への送信を終了する。
 ハブ3は、タイミングt29において、フレームF2の同期スレーブ通信装置4への転送を終了する。
 同期スレーブ通信装置4は、タイミングt30において、ハブ3からのフレームF2の受信を終了する。
 第2のタイミング例では、ハブ3が、同期マスタ通信装置2がフレームF1の送信を開始するタイミングt20において、通信装置5から通信装置6へのフレームCの転送を行っている。従って、タイミングt20と、同期スレーブ通信装置4がフレームF1の受信を開始するタイミングt23と、の間の通信遅延時間Tdは、図9に示す第1のタイミング例の通信遅延時間Tdよりも長くなってしまう。
 ハブ3がタイミングt20において通信装置5から通信装置6へのフレームCの転送を行っていることによる影響は、通信遅延時間Tdが第1のタイミング例に比べて長くなることと、受信時間間隔Tが第1のタイミング例に比べて短くなることである。従って、第2のタイミング例では、同期スレーブ通信装置4は、タイミング同期を高い精度で行うことができない。
 そこで、第2のタイミング例では、同期スレーブ通信装置4は、タイミングt26とタイミングt27との間の受信時間間隔TがフレームF2のデータフィールド55に格納された送信時間間隔T0と一致していないと判定することで、タイミング同期を高い精度で行うことができないと判定できる。従って、第2のタイミング例では、同期スレーブ通信装置4は、タイミング同期を行わない。
 図11は、実施の形態1にかかる通信システムの通信の第3のタイミング例を示す図である。
 同期マスタ通信装置2は、タイミングt40において、フレームF1のハブ3への送信を開始する。
 ハブ3は、タイミングt40において、通信装置5から通信装置6へのフレームC1の転送を行っている。つまり、フレームC1と、フレームF1と、の衝突が発生する。
 従って、ハブ3は、タイミングt40において、フレームF1の同期スレーブ通信装置4への転送を開始できない。
 ハブ3は、タイミングt41において、通信装置5から通信装置6へのフレームC1の転送を終了する。
 ハブ3は、タイミングt42において、フレームF1の同期スレーブ通信装置4への転送を開始する。
 同期マスタ通信装置2は、タイミングt43において、フレームF1のハブ3への送信を終了する。
 同期スレーブ通信装置4は、タイミングt44において、ハブ3からのフレームF1の受信を開始する。
 同期マスタ通信装置2は、タイミングt43から送信時間間隔T0後のタイミングt45において、フレームF2のハブ3への送信を開始する。
 ハブ3は、タイミングt46において、フレームF1の同期スレーブ通信装置4への転送を終了する。
 同期スレーブ通信装置4は、タイミングt47において、ハブ3からのフレームF1の受信を終了する。
 ハブ3は、タイミングt47において、通信装置5から受信したフレームC2の通信装置6への転送を開始する。つまり、フレームF1とフレームF2との間にフレームC2の割込みが発生する。
 従って、ハブ3がフレームF1の転送を終了するタイミングt46と、ハブ3がフレームF2の転送を開始するタイミングt50と、の間の転送時間間隔Tは、送信時間間隔T0よりも長くなる。
 同期マスタ通信装置2は、タイミングt48において、フレームF2の送信を終了する。
 ハブ3は、タイミングt49において、通信装置5から通信装置6へのフレームC2の転送を終了する。
 ハブ3は、タイミングt50において、フレームF2の同期スレーブ通信装置4への転送を開始する。
 同期スレーブ通信装置4は、タイミングt51において、ハブ3からのフレームF2の受信を開始する。
 従って、同期スレーブ通信装置4がフレームF1の受信を終了するタイミングt47と、同期スレーブ通信装置4がフレームF2の受信を開始するタイミングt51と、の間の受信時間間隔Tは、送信時間間隔T0よりも長くなる。
 ハブ3は、タイミングt52において、フレームF2の同期スレーブ通信装置4への転送を終了する。
 同期スレーブ通信装置4は、タイミングt53において、ハブ3からのフレームF2の受信を終了する。
 第3のタイミング例では、ハブ3が、同期マスタ通信装置2がフレームF1の送信を開始するタイミングt40において、通信装置5から通信装置6へのフレームC1の転送を行っている。従って、タイミングt40と、同期スレーブ通信装置4がフレームF1の受信を開始するタイミングt44と、の間の通信遅延時間Tdは、図9に示す第1のタイミング例の通信遅延時間Tdよりも長くなってしまう。従って、第3のタイミング例では、同期スレーブ通信装置4は、タイミング同期を高い精度で行うことができない。
 なお、フレームC2のフレーム長が非常に短い場合に、受信時間間隔Tが送信時間間隔T0に偶々一致してしまうことも考えられる。
 しかしながら、同期マスタ通信装置2は、最小フレームの送信に要する時間よりも短い送信時間間隔T0で、フレームF1及びフレームF2を送信する。従って、もしフレームC2が最小フレームであった場合であっても、受信時間間隔Tは送信時間間隔T0よりも必ず長くなる。
 そこで、第3のタイミング例では、同期スレーブ通信装置4は、タイミングt47とタイミングt51との間の受信時間間隔Tが、フレームF2のデータフィールド55に格納された送信時間間隔T0と一致していないと判定することで、タイミング同期を高い精度で行うことができないと判定できる。従って、第3のタイミング例では、同期スレーブ通信装置4は、タイミング同期を行わない。
 なお、第3のタイミング例では、フレームC1とフレームF1との衝突と、フレームF1とフレームF2との間のフレームC2の割込みと、の両方が発生した場合について説明したが、フレームF1とフレームF2との間のフレームC2の割込みだけが発生した場合も同様である。
 以上説明したように、実施の形態1にかかる通信システム1は、第1のタイミング例で例示した、タイミング同期を高い精度で行える場合だけタイミング同期を行い、第2及び第3のタイミング例で例示した、タイミング同期を高い精度で行えない場合はタイミング同期を行わない。
 従って、通信システム1は、タイミング同期の精度の向上を実現できる。
 なお、上記では、同期スレーブ通信装置4が同期マスタ通信装置2とのタイミング同期を行うこととしたが、ハブ3が同期マスタ通信装置2とのタイミング同期を行うこともできる。
 図12は、実施の形態1にかかる通信システムのハブのハードウェア構成を示す図である。
 ハブ3は、通信部31-1、31-2、31-3及び31-4と、CPU32と、記憶部33と、を含む。通信部31-1、31-2、31-3及び31-4、CPU32並びに記憶部33は、バスB2を介して接続されている。
 通信部31-1、31-2、31-3及び31-4の各々は、OSI参照モデルの第1層である物理層を担う物理層回路である。通信部31-1は、ケーブルC1を介して、同期マスタ通信装置2に接続されている。通信部31-2は、ケーブルC2を介して、同期スレーブ通信装置4に接続されている。通信部31-3は、ケーブルC3を介して、通信装置5に接続されている。通信部31-4は、ケーブルC4を介して、通信装置6に接続されている。
 記憶部33は、転送プログラム35と、受信時間間隔測定プログラム46と、同期プログラム47と、を記憶する。記憶部33は、フラッシュメモリ(登録商標)が例示される。
 転送プログラム35は、通信部31-1、31-2、31-3又は31-4で受信したフレームの宛先MACアドレスフィールド内に格納されているMACアドレスを参照して、受信したフレームを宛先の通信装置に転送するためのプログラムである。
 CPU32が転送プログラム35を実行することで、通信部31-1、31-2、31-3又は31-4で受信したフレームを宛先の通信装置に転送する転送部34が実現される。
 CPU32が受信時間間隔測定プログラム46を実行することで、複数のフレーム間の受信時間間隔を測定する受信時間間隔測定部42が実現される。
 CPU32が同期プログラム47を実行することで、受信時間間隔が送信時間間隔と一致したら、複数のフレームに基づいて、同期マスタ通信装置2とのタイミング同期を行う同期部43が実現される。
 ハブ3は、上記構成により、同期マスタ通信装置2とのタイミング同期を行うことができる。
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。
 1 通信システム、2 同期マスタ通信装置、3 ハブ、4 同期スレーブ通信装置、5,6 通信装置、21 フレーム生成部、22 送信時間間隔測定部、23 送信部、24,32,44 CPU、25,33,45 記憶部、41 受信部、42 受信時間間隔測定部、43 同期部。

Claims (7)

  1.  最小フレームの送信に要する時間よりも短い送信時間間隔で複数のフレームを送信する第1の通信装置と、
     受信した前記複数のフレームの受信時間間隔が前記送信時間間隔と一致したら、前記複数のフレームに基づいて、前記第1の通信装置とのタイミング同期を行う第2の通信装置と、
     を備えることを特徴とする通信システム。
  2.  前記送信時間間隔は、1つのフレームの送信完了タイミングと、次のフレームの送信開始タイミングと、の間の時間間隔であり、
     前記受信時間間隔は、1つのフレームの受信完了タイミングと、次のフレームの受信開始タイミングと、の間の時間間隔である
     ことを特徴とする請求項1に記載の通信システム。
  3.  前記第1の通信装置は、
     前記複数のフレームを生成するフレーム生成部と、
     前記送信時間間隔を測定して前記フレームに格納するフレーム間隔測定部と、
     前記複数のフレームを前記送信時間間隔で送信する送信部と、
     を備えることを特徴とする請求項1に記載の通信システム。
  4.  前記第2の通信装置は、
     前記複数のフレームを受信する受信部と、
     前記受信時間間隔を測定するフレーム間隔測定部と、
     前記受信時間間隔が前記送信時間間隔と一致したら、前記複数のフレームに基づいて、前記第1の通信装置とのタイミング同期を行う同期部と、
     を備えることを特徴とする請求項1に記載の通信システム。
  5.  最小フレームを送信する時間よりも短い送信時間間隔で複数のフレームを送信する他の通信装置から、前記複数のフレームを受信し、前記複数のフレームの受信時間間隔が前記送信時間間隔と一致したら、前記複数のフレームに基づいて、前記他の通信装置とのタイミング同期を行うことを特徴とする通信装置。
  6.  最小フレームを送信する時間よりも短い送信時間間隔で複数のフレームを他の通信装置へ送信する通信装置であって、
     前記他の通信装置は、前記複数のフレームを受信し、前記複数のフレームの受信時間間隔が前記送信時間間隔と一致したら、前記複数のフレームに基づいて、前記通信装置とのタイミング同期を行うことを特徴とする通信装置。
  7.  第1の通信装置と、前記第1の通信装置と通信する第2の通信装置と、を備える通信システムで実行される方法であって、
     前記第1の通信装置が、最小フレームの送信に要する時間よりも短い送信時間間隔で複数のフレームを送信するステップと、
     前記第2の通信装置が、受信した前記複数のフレームの受信時間間隔が前記送信時間間隔と一致したら、前記複数のフレームに基づいて、前記第1の通信装置とのタイミング同期を行うステップと、
     を備えることを特徴とする通信方法。
PCT/JP2016/051691 2016-01-21 2016-01-21 通信システム、通信装置及び通信方法 WO2017126077A1 (ja)

Priority Applications (6)

Application Number Priority Date Filing Date Title
DE112016002783.4T DE112016002783B4 (de) 2016-01-21 2016-01-21 Datenübertragungssystem, Datenübertragungsvorrichtung und Datenübertragungsverfahren
US15/740,068 US10382188B2 (en) 2016-01-21 2016-01-21 Communication system, communication device, and communication method
KR1020187001823A KR101875362B1 (ko) 2016-01-21 2016-01-21 통신 시스템, 통신 장치 및 통신 방법
JP2016544647A JP6192847B1 (ja) 2016-01-21 2016-01-21 通信システム、通信装置及び通信方法
CN201680043784.3A CN107852322A (zh) 2016-01-21 2016-01-21 通信系统、通信装置及通信方法
PCT/JP2016/051691 WO2017126077A1 (ja) 2016-01-21 2016-01-21 通信システム、通信装置及び通信方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2016/051691 WO2017126077A1 (ja) 2016-01-21 2016-01-21 通信システム、通信装置及び通信方法

Publications (1)

Publication Number Publication Date
WO2017126077A1 true WO2017126077A1 (ja) 2017-07-27

Family

ID=59361774

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/051691 WO2017126077A1 (ja) 2016-01-21 2016-01-21 通信システム、通信装置及び通信方法

Country Status (6)

Country Link
US (1) US10382188B2 (ja)
JP (1) JP6192847B1 (ja)
KR (1) KR101875362B1 (ja)
CN (1) CN107852322A (ja)
DE (1) DE112016002783B4 (ja)
WO (1) WO2017126077A1 (ja)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023193212A1 (en) * 2022-04-08 2023-10-12 Zte Corporation Methods and systems for timing synchronization for device-to-device positioning

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009218652A (ja) * 2008-03-07 2009-09-24 Fujitsu Telecom Networks Ltd フレーム伝送システム及びフレーム伝送方法
JP2012023654A (ja) * 2010-07-16 2012-02-02 Kddi Corp ネットワークを介した時刻同期装置
JP2013030892A (ja) * 2011-07-27 2013-02-07 Nippon Telegr & Teleph Corp <Ntt> 時刻同期方法および時刻同期装置

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102781040B (zh) 2003-06-12 2017-11-07 皇家飞利浦电子股份有限公司 用于数据传输的级联帧结构
US7317687B2 (en) 2003-06-12 2008-01-08 Koninklijke Philips Electronics N.V. Transmitting data frames with less interframe space (ifs) time
JP2007519294A (ja) 2003-07-16 2007-07-12 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ 少ないフレーム間隔(ifs)時間のデータフレームの送信
JP2005217787A (ja) 2004-01-29 2005-08-11 Fainaaku Kk 独立したクロック源を備えた複数の機器の同期方法、同期システム及びコンピュータプログラム
CN100521654C (zh) * 2006-05-30 2009-07-29 杭州华三通信技术有限公司 一种同步帧在ip网络上传输的方法及用于传输的网络设备
US9374263B2 (en) * 2006-09-29 2016-06-21 Avaya Ecs Ltd. Latency differential mitigation for real time data streams
DE102007003937B4 (de) * 2007-01-26 2008-10-23 Rittal Gmbh & Co. Kg Tragvorrichtung für Stromsammelschienen
CN101578806B (zh) * 2007-03-28 2013-02-13 株式会社安川电机 通信装置、同步通信系统及同步通信方法
US8233470B2 (en) * 2007-06-28 2012-07-31 Intel Corporation Multi-radio wireless communication device method for synchronizing wireless network and bluetooth communications
JP5307466B2 (ja) * 2008-07-29 2013-10-02 ソニー株式会社 半導体レーザ及びその駆動方法、並びに、半導体レーザ装置
EP2341743B1 (en) * 2008-09-26 2018-08-08 NEC Corporation Wireless communication system, router apparatus, wireless communication method, and program
JP5369814B2 (ja) 2009-03-26 2013-12-18 ソニー株式会社 受信装置および受信装置の時刻修正方法
JP5644226B2 (ja) 2010-07-16 2014-12-24 日本電気株式会社 冗長ペア、信号伝送方法およびプログラム
JP5488305B2 (ja) * 2010-07-28 2014-05-14 富士通株式会社 試験プログラム、試験装置、および試験方法
WO2014081359A1 (en) * 2012-11-23 2014-05-30 Telefonaktiebolaget L M Ericsson (Publ) Methods and apparatuses for radio resource management
KR102061650B1 (ko) * 2013-04-30 2020-01-03 삼성전자주식회사 비승인 대역들에서 디바이스간 직접 통신을 위한 동기화 방법 및 장치
JP6079442B2 (ja) 2013-05-31 2017-02-15 三菱電機株式会社 時刻同期装置、時刻同期システム及び時刻同期方法
EP3609269A1 (en) * 2014-03-21 2020-02-12 Telefonaktiebolaget LM Ericsson (publ) Method and device for switching a transmission time interval
WO2015156729A1 (en) 2014-04-09 2015-10-15 Transmode Systems Ab Methods and nodes for transmission of a synchronous data over packet data network
JP2016139990A (ja) 2015-01-28 2016-08-04 富士通株式会社 通信システム
ES2880776T3 (es) * 2015-08-21 2021-11-25 Ntt Docomo Inc Terminal de usuario y método de comunicación inalámbrica

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009218652A (ja) * 2008-03-07 2009-09-24 Fujitsu Telecom Networks Ltd フレーム伝送システム及びフレーム伝送方法
JP2012023654A (ja) * 2010-07-16 2012-02-02 Kddi Corp ネットワークを介した時刻同期装置
JP2013030892A (ja) * 2011-07-27 2013-02-07 Nippon Telegr & Teleph Corp <Ntt> 時刻同期方法および時刻同期装置

Also Published As

Publication number Publication date
US10382188B2 (en) 2019-08-13
JP6192847B1 (ja) 2017-09-06
US20180191484A1 (en) 2018-07-05
CN107852322A (zh) 2018-03-27
DE112016002783B4 (de) 2021-07-29
DE112016002783T5 (de) 2018-03-08
JPWO2017126077A1 (ja) 2018-01-25
KR20180011855A (ko) 2018-02-02
KR101875362B1 (ko) 2018-07-05

Similar Documents

Publication Publication Date Title
US10713106B2 (en) Communication device, communication method and non-transitory storage medium
EP3540982B1 (en) Delay management for distributed communications networks
JP6214008B2 (ja) 時間認識デバイス間で時間情報を通信する方法および装置
US8737240B2 (en) Link band estimating apparatus and link band estimating method
JP5249682B2 (ja) 保護継電装置用通過時間固定装置
US20150124839A1 (en) Method of Packaging and Unpackaging Packet and Appartuses Using the Same
US8675501B2 (en) Transmission apparatus and reporting method for reporting fault
JP2006127514A (ja) 低ジッタ同期によるモジュラー方式数値制御装置
US10311005B2 (en) Message translator
US11489604B2 (en) Maintaining synchronization in wireless networks
JP2014078781A (ja) 通信制御装置
EP1842299A2 (en) Method to synchronize receiver&#39;s clock to transmitter&#39;s clock at sub-100nsec
US20140307562A1 (en) Packet loss counter
JP6231453B2 (ja) 通信制御装置
JP6192847B1 (ja) 通信システム、通信装置及び通信方法
JP2016119616A (ja) リング型ネットワークシステム、そのマスタノード
CN104618057A (zh) 一种分组传送网无损伤保护倒换方法及系统
CN110249591B (zh) 用于优化利用测试数据包的冗余协议的故障识别的方法
KR102313636B1 (ko) 차량 네트워크에서 시간 동기화를 위한 통신 노드의 동작 방법
WO2016151811A1 (ja) 通信装置及び通信方法
KR102024521B1 (ko) 전송 장치 및 프레임 전송 방법
EP2884810A1 (en) Deterministic medium access control
KR20150016735A (ko) 중앙 집중 제어 평면을 이용한 네트워크 시각 동기 시스템
JP4412068B2 (ja) 無瞬断切替システム及び無瞬断切替方法並びにそれに用いる通信局
EP4199466A1 (en) Active-active tdm pw with asymmetry control

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016544647

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16886318

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 112016002783

Country of ref document: DE

ENP Entry into the national phase

Ref document number: 20187001823

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 16886318

Country of ref document: EP

Kind code of ref document: A1