Method and system of wireless TDMA communication for industrial machine-to-machine communication
11424890 · 2022-08-23
Assignee
Inventors
Cpc classification
H04W72/21
ELECTRICITY
H04J3/0682
ELECTRICITY
H04J3/0667
ELECTRICITY
H04W56/005
ELECTRICITY
H04L5/0007
ELECTRICITY
H04W72/23
ELECTRICITY
H04L5/0053
ELECTRICITY
H04W56/0045
ELECTRICITY
H04W4/70
ELECTRICITY
International classification
H04W4/70
ELECTRICITY
H04L5/14
ELECTRICITY
Abstract
A communication method for wireless communication uses a TDMA (Time Division Multiple Access) super-frame structure for scheduling uplink and downlink transmissions between a first node and a second node, the second node receives receiving a downlink transmission from the first node and transmits an uplink response to the first node. The transmission of the uplink response is performed in an uplink frame of the super-frame structure. The uplink frame includes a field for uplink payload data and a field for time indicating data. The transmission of the uplink response includes transmitting time stamps in the time indicating data field, the time stamps indicating a time instance of the receiving of the downlink transmission, and the time instance of the transmitting of the uplink response. The time instances are determined using the clock of the second node.
Claims
1. A communication method for wireless communication using a TDMA (Time Division Multiple Access) super-frame structure for scheduling uplink and downlink transmissions between a first node and a second node that each comprise a clock, wherein the communication method is performed by the second node, the method comprising: receiving a downlink transmission from the first node; and transmitting an uplink response to the first node, the transmitting of the uplink response being performed in an uplink frame of the TDMA super-frame structure, wherein the uplink frame comprises a field for uplink payload data and a field for time indicating data, wherein transmitting the uplink response includes transmitting time stamps in the time indicating data field, the time stamps indicating a time instance of the receiving of the downlink transmission and a time instance of the transmitting of the uplink response, wherein the time instances are determined using the clock of the second node.
2. The communication method of claim 1, wherein the uplink frame comprises a field for acknowledgements and wherein transmitting the uplink response includes transmitting an acknowledgement indicating the receiving of the downlink transmission.
3. The communication method of claim 1, wherein the received downlink transmission comprises synchronization data, the method further comprising: synchronizing the clock based on the synchronization data, wherein the synchronizing is performed between the receiving of the downlink transmission and the transmitting of the uplink response; and adjusting the time instances in accordance with the synchronization data.
4. The communication method of claim 1, comprising receiving a further downlink transmission that comprises synchronization data, and synchronizing the clock based on the synchronization data of the further downlink transmission.
5. A communication node comprising: a communication interface; a clock; and a register configured to register times of reception and transmission and for time stamping transmissions, the communication node being configured to perform the communication method of claim 1.
6. The communication node according to claim 5, further comprising a synchronizer configured to adjust the clock.
7. A communication method for wireless communication using a TDMA (Time Division Multiple Access) super-frame structure for scheduling uplink and downlink transmissions, the communication method being performed by a first communication node that comprises a clock, the communication method comprising: transmitting a downlink beacon to a plurality of communication nodes; registering a time instance of transmitting the downlink beacon; receiving an uplink response from a second node of the communication nodes, wherein the uplink response comprises time stamps indicating a time instance of reception of the downlink beacon at the second node, and a time instance of transmitting the uplink response by the second node; registering a time instance of receiving the response; calculating a clock offset between the first communication node and the second node; calculating a propagation delay between the first communication node and the second node, wherein calculating the clock offset and the propagation delay is based on the registered time instances of the downlink transmission and uplink response and on the time stamps indicating time of reception of the downlink beacon and indicating the time of transmission of the response; and transmitting a further downlink beacon and including indicating the calculated clock offset and the calculated propagation delay in a field for synchronization data provided in the downlink beacon.
8. A communication node configured to perform the communication method of claim 7 as the first communication node, the communication node comprising: a communication interface for wireless communication with other communication nodes; a time register configured to perform the registering steps; a time offset calculator configured to perform the step of calculating the clock offset; and a propagation delay calculator configured to perform the step of the propagation delay.
9. The communication node according to claim 8 further comprising acknowledging means for acknowledging received transmissions, the communication node being configured to include acknowledgements of received uplink frames in a field in the transmitted downlink beacon.
10. A communication method for wireless communication using TDMA for communication between a first node and a plurality of second nodes, the TDMA communication comprising using a super-frame structure for scheduling uplink data transmissions from the second nodes to the first node and scheduling downlink data transmissions from the first node to the second nodes, the method comprising: transferring a downlink beacon from the first node to the second nodes; transferring an uplink transmission as a response to the downlink transmission from one second node of the second nodes to the first node, calculating a clock offset and a propagation delay between the first node and the one second node using a time instance of transmitting the downlink beacon by the first node, a time instance of receiving the downlink beacon by the one second node, a time instance of transmitting the response by the one second node and a time instance of receiving the response in the first node; and synchronizing the first node and the second node, the synchronizing including transferring a subsequent downlink beacon including an indication of the clock offset and the propagation delay in a synchronization field of the subsequent downlink beacon.
11. The communication method according to claim 10, further comprising: registering a time instance of transfer of a first frame by the first node as the time instance of transmitting the downlink beacon by the first node and a time instance of receiving the first frame by the one second node as the time instance of receiving the downlink beacon by the one second node; and registering a time of transfer of a response frame, as the time instance of transmitting the response by the one second node and the time of receiving the response frame by the first node as the time instance of receiving the response by the first node, wherein the calculating of offset and delay are based on the registered time instances.
12. The communication method according to claim 10, wherein the response includes a first and a second time stamp in a time indicating field of the response, wherein the first time stamp indicates the time of reception of the downlink beacon and the second time stamp indicates the time of transmission of the response.
13. The communication method according to claim 10, wherein the response includes an acknowledgement of the reception of the downlink beacon in an acknowledgement field of the response.
14. A communication method comprising: wirelessly communicating using TDMA (Time Division Multiple Access) between a first node and a plurality of second nodes using a TDMA super-frame structure for scheduling uplink data transmissions from the second nodes to the first node and scheduling downlink data transmissions from the first node to the second nodes; wherein the TDMA super-frame structure comprises a first frame configured for a downlink beacon and a set of second frames, each second frame dedicated for uplink transmissions from a respective one of the plurality of second nodes; and wherein each second frame comprises a field configured for transmitting time indicating data to the first node, or a fraction of the second frames comprises a field configured for transmitting time indicating data to the first node.
15. The communication method according to claim 14, wherein the communication method is performed by the first node such that wirelessly communicating between the first node and the plurality of second nodes comprises transmitting to the plurality of second nodes and receiving from the second nodes.
16. The communication method according to claim 14, wherein the communication method is performed by one of the second nodes so that wirelessly communicating between the first node and the plurality of second nodes comprises transmitting to the first node and receiving from the first node.
17. The communication method according to claim 14, wherein the time indicating data comprises a first and a second time stamp, where the first time stamp indicates reception of a downlink frame from the first node and the second time stamp indicates transmission of an uplink frame to the first node.
18. The communication method according to claim 14, wherein, for each respective second node, each second frame comprises a field configured to acknowledge of reception of downlink data from the first node.
19. The communication method according to claim 14, wherein, for ones of the second nodes, the second frames each comprise a field configured for transmitting time indicating data to the first node, and wherein the first frame comprises a field configured for transmitting synchronization data to the ones of the second nodes.
20. The communication method according to claim 19, wherein, for all of the second nodes, the second frames each comprise a field configured for transmitting time indicating data to the first node, and the first frame comprises a field configured for transmitting synchronization data to the second nodes.
21. The communication method according to claim 19, wherein the synchronization data of the field indicates a propagation delay and a clock offset.
22. The communication method according to claim 21, wherein the time indicating data comprises a first and a second time stamp, where the first time stamp indicates reception of a downlink frame from the first node and the second time stamp indicates transmission of an uplink frame to the first node; and wherein the first node and each second node comprises a respective clock, and the first node being configured to calculate the clock offset of a second node in question in accordance with the following equation:
Δ=(T.sup.3.sub.0−T.sup.2.sub.0+T.sup.3.sub.1−T.sup.2.sub.1)/2 where Δ is the clock offset of the second node in question; T.sup.2.sub.0 is a time instance when the first node transmits the downlink frame, the time instance being determined by the first node; T.sup.2.sub.1 is a time instance when the first node receives the uplink frame from the second node according to the clock of the first node; T.sup.3.sub.0 is a time instance when the second node receives the downlink frame; and T.sup.3.sub.1 is a time instance when the second node transmits the uplink frame according to the clock of the second node, and as provided to the first node by means of the second time stamp.
23. The communication method according to claim 22, wherein the first node is configured to calculate the propagation delay in accordance with the following equation:
d=T.sup.3.sub.0−T.sup.2.sub.0−Δ where d is the propagation delay between the first node and the second node in question, and wherein
Δ=(T.sup.3.sub.0−T.sup.2.sub.0+T.sup.3.sub.1−T.sup.2.sub.1)/2.
24. The communication method according to claim 14, wherein the first frame for each second node comprises a field configured to acknowledge of the reception of a second frame of a previous super-frame.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
(15)
(16)
(17) The beacon 11A, the dedicated downlink frames DL1-DLn, and the dedicated uplink frames UL1-ULn are shown in more detail in the lower view of the super-frame 10A in
(18) Each dedicated downlink frame DL1, DL2, . . . , DLn, in the embodiment of
(19)
(20) The downlink beacon 11B of the embodiment of
(21)
(22) The field for acknowledgements AUL1-AULn is provided for the first node 2 to acknowledge the reception of data in the uplink frames UL1-ULn, one acknowledgement for each of the second nodes 3.1, 3.2, 3.3, . . . , 3.n. Each acknowledgment preferably has the size of one bit and, i.e., the total size of the field AUL1-AULn for acknowledgements is n bits for acknowledging reception from the n second nodes 3.1-3.n.
(23) The number of synchronization fields may preferably be as high as the number of second nodes 3.1-3.n to enable accurate synchronization. To provide fast and reliable communication it is important to synchronize often, and in many industrial applications synchronization should be performed as often as every super-frame 10A, 10B and contribute to the control the industrial process with high accuracy.
(24) However, in another embodiment where the applications in question require less strict need for synchronization, the number of synchronization fields configured can be lower than the number of second nodes 3.1-3.n. The communication interface can be more efficiently used if the number of synchronization fields are limited, and each second node 3.1, 3.2, 3.3, . . . , 3.n may in some applications not need synchronization for each super-frame 10A, 10B. For example, the number of synchronization fields can be selected as half (n/2) of the number (n) of second nodes 3.1-3.n, so that each second node 3.k is synchronized every second super-frame 10A, 10B.
(25) The field for synchronization data S3.1-S3.n or S3.1-S3.m comprises data slots for transmitting synchronization data from the first node to each second node 3.1, 3.2, 3.3, . . . , 3.n. The synchronization data for each second node 3.1, 3.2, 3.3, . . . , 3.n is determined by the first node on the basis of time indicating data received from the second node 3.1, 3.2, 3.3, . . . , 3.n in question. The determining of the synchronization data for transmission in the synchronization field S3.1-S3.n or S3.1-S3.m will be described further in relation to
(26) The embodiment of
(27)
(28) Each uplink frame UL1, UL2, . . . , ULn of the set of uplink frames UL1-ULn of
(29) In these embodiments of
(30) Each second node 3.1, 3.2, 3.3, . . . , 3.n should be configured to use its acknowledgement field ADL1, ADL2, . . . , ADLn to acknowledge the reception of the beacon 11A, 11B and/or the dedicated downlink frame DL1, DL2, . . . , DLn, including acknowledging reception of the payload data in the dedicated downlink field DD1; DD2; . . . ; DDn. Each second node 3.1, 3.2, 3.3, . . . , 3.n should be configured to use the field for time indicating data T3.1, T3.2, . . . , T3.n, or T3.1, T3.2, . . . , T3.m, to transfer data indicating the time of its reception of downlink data, e.g. downlink beacon 11A, 11B or payload data of respective field DD1; DD2; . . . ; DDn, and the time of its transmission of uplink data UL1; UL2; . . . ; ULn, e.g. the uplink payload data field UD1; UD2; . . . ; UDn. The received time indicating data will be used by the first node 2 to provide synchronization data to each second node 3.1; 3.2; 3.3; . . . ; 3.n. Suitably, each second node 3.1; 3.2; 3.3; . . . ; 3.n is configured to use the time indicating data field T3.1; T3.2; . . . ; T3.n to time stamp reception of the beacon 11A, 11B and the transmission time instant of the uplink frame UL1, UL2, . . . , or ULn. These time stamps should subsequently be used by the first node 2 to provide synchronization data, such as propagation delay and clock offset data, to each second node 3.1, 3.2, 3.3, . . . , 3.n in the synchronization field S3.1-S3.n, or S3.1-S3.n, of a following beacon 11A, 11B. In the embodiment of
(31) Preferably, each synchronization field S3.1, S3.2, . . . , S3.n (or S3.1, S3.2, . . . , S3.m) from the first node 2 comprises an indication of a respective propagation delay and an indication of a respective time offset of respective ones of the second node 3.1, 3.2, . . . , 3.n, which propagation delay and time offset is derived using the time indicating data received from respective ones of the second node 3.1, 3.2, 3.3, . . . , 3.n.
(32) A preferred embodiment for the calculation of a propagation delay and a time offset is given in equations 1 and 2, and with reference to
(33) A time offset Δ, for a respective second node 3.1, 3.2, 3.3, . . . , 3.n, can be calculated as follows:
Δ=(T.sup.3.sub.0−T.sup.2.sub.0+T.sup.3.sub.1−T.sup.2.sub.1)/2 eq. 1
where
(34) T.sup.2.sub.0 is the time instance when the first node 2 transmits the beacon 11, and where the time instance is determined according to the first node 2;
(35) T.sup.2.sub.1 is the time instance when the first node 2 receives the uplink frame ULk from the second node 3.k (where “k” denotes any of 1 to n) according to the time of the first node 2;
(36) T.sup.3.sub.0 is the time instance when the second node 3.k receives the beacon 11 according to the time of the second node 3.k;
(37) T.sup.3.sub.1 is the time instance when the second node 3.k transmits the uplink frame ULk according to the time of the second node 3.k.
(38) The propagation delay “d” for the respective second node 3.1, 3.2, 3.3, . . . , 3.n, can be calculated as follows:
d=T.sup.3.sub.0−T.sup.2.sub.0−Δ eq. 2
with Δ according to equation 1.
(39) The second node 2 is configured to calculate the time offset Δ and propagation delay d for the second node 3.k and include the time offset Δ and the propagation delay d in the synchronization field S3.1-S3.m of the following beacon 11A, 11B, denoted “Next DL” in
(40) The two-way synchronization of the present invention provides an absolute time in the communication system, and facilitates synchronized control of an underlying industrial process, such as time-critical industrial automation processes.
(41) The downlink and uplink transmissions of
(42) The communication method 100 of
(43) The first frame, preferably the beacon frame 11A, 11B, includes a synchronization data field S3.k, an acknowledgement field AULk for acknowledging reception of a previous uplink transmission, and a payload data field DDk, as previously described with reference to the super-frame structure 10A, 10B in
(44) The response comprises transferring 106 a second frame, e.g. the uplink frame ULk, from the second node 3.k to the first node 2. Transferring 106 of the second frame ULk is preferably time stamped and the transfer includes the time stamp of the transfer of the first frame, according to the clock, or time, of the second node 3.k, and also includes the time stamp of the transfer of the second frame according to the clock of the second node 3.k. The method further includes registering 107 the time T.sup.2.sub.1 T.sup.3.sub.1 the second frame ULk is transferred. The registering 107 of the time instant of transferring T.sup.2.sub.1 T.sup.3.sub.1 the second frame ULk being made according to the clock of the first node 2 and the time of the second node 3.k. The time of transmission T.sup.3.sub.1 according to the clock of the second node 3.k, and the time of reception T.sup.2.sub.1 according to the clock of the first node 2. Thus, preferably the first node 2 obtains the time instances of both transferred frames 11A, 11B, and ULk as registered by both nodes 2, 3.k in relation to their respective clock; i.e. T.sup.2.sub.0 T.sup.3.sub.0 T.sup.2.sub.1 and T.sup.3.sub.1. These registered time instances are subsequently used for synchronization of the first 2 and the second node 3.k. The clock of the second node 3.k, which is a slave node, being adjusted in order to correspond to the time of the clock of the first node 2, which is the master node. Adjusting clock of every second node 3.1; 3.2; . . . ; 3.n provides a absolute time for the communication system; i.e. the first node 2 and all second nodes 3.1-3-n will have the same time. In time-critical operations performed in many industrial applications, an absolute time provided by the machine-to-machine communication enables controlling, e.g. synchronizing, actions taken in the industrial operations controlled.
(45) The transferring 106 of the response to the first frame 11A, 11B, DLk is performed by means of the transfer of the second frame ULk, which comprises an acknowledgement field ADLk for acknowledging reception of the first frame 11A, 11B, DLk, and a payload data field UDk for transfer of operational data to the first node 2, in addition to the time indicating fields T3.k that includes the time stamps.
(46) The communication method 100 further includes calculating 108 a time offset, such as the deviation of the clock, e.g. TDMA schedule, of the second node 3.k compared to the clock, e.g., TDMA schedule, of the first node 2. The calculation 108 of time offset is preferably made in accordance with equation 1.
(47) The communication method 100 further includes calculating 110 the propagation delay between the first node 2 and the second node 3.k, and preferably the propagation delay is determined in accordance with equation 2.
(48) The communication method preferably also includes synchronizing the clocks, preferably setting the clock of at least one second node 3.1-3.n, which means that the TDMA schedule of the at least one second node 3.1-3.n is adjusted. The synchronization 104 being performed by means of synchronization data added to a synchronization field S3.1-S3.m of the first frame 11A, 11B or DLk. The synchronization data being calculated from a previous transfer. Each clock of the second nodes 3.1-3.n may preferably be adjusted each super-frame 10. In other preferred embodiments, each clock is set for every mth super-frame 10, e.g. every second, every third, every fourth, . . . , or every nth super-frame.
(49) The communication method 100 further includes transfer 112 of a further frame, preferably a following beacon 11A, 11B, from the first node 2 to the second node 3.k. This transfer 112 is a repetition of the transfer 102 of the first frame 11A, 11B, DL, includes synchronization data in fields S3.1-S3.m of the previous downlink (e.g. 11A, 11B) and uplink (e.g. ULk) frames, preferably as calculated in accordance with equations 1 and 2.
(50) The communication method 100 continues with synchronization 114 of the two nodes, preferably the clock, or TDMA schedule, of second node 3.k is adjusted 104/114 based on the calculated (108) time offset and the calculated (110) propagation delay.
(51)
(52) The communication method 200 performed by the first node 2, or master node, comprises transmitting 202 a downlink frame, e.g. the beacon 11A, 11B, at time instance T.sup.2.sub.0 and registering 203 the time of transmission. The communication method 200 performed by the first node 2 further comprises receiving 206 an uplink response at time T.sup.2.sub.1. The uplink response ULk includes time stamps indicating reception of the first frame 11A, 11B, DLk, i.e. T.sup.3.sub.0, and transmission of the response ULk, i.e. T.sup.3.sub.1. The communication method continues with calculating 208 the time offset and calculating 210 the propagation delay based on the received time stamps and its own registered times of transmission T.sup.2.sub.0 and reception T.sup.2.sub.1. The calculated time offset and propagation delay is indicated in the next DL transmission 212. Each downlink transmission 202, 212, illustrated by the downlink transmission 202 and the next downlink transmission 212, preferably includes synchronization data to at least one of the second nodes 3.1; 3.2, . . . , 3.n calculated from the previous downlink and uplink transfers. Each downlink transmission 202, 212 also includes acknowledgement fields AULk for acknowledging the received previous uplink transmission, and a payload data field DDk.
(53) The method 300 performed by the second node 3.k comprises synchronizing 304/314 of its TDMA schedule based on synchronization data received in the downlink transmission 11a, 11B, DLk. Thus, the method 300 performed by the second node 3.k comprises receiving 302 a downlink transmission including synchronization data in a field S3.1, S3.2, . . . , S3.m, which synchronization data is used by the second node 3.k to synchronize its clock, i.e. adjust its clock in accordance with the time of the first node 2. The received 302 downlink transmission, e.g. beacon 11A, 11B, also includes the described acknowledgements of acknowledgement field AULk and downlink payload data in field DDk.
(54) The method 300 performed by the second node 3.k further comprises an uplink transmission 306 of payload data, in field UDk, that may include time stamps in a time indicating field T3.1-T3.m corresponding to the time T.sup.3.sub.0 of reception of the downlink transmission and the time T.sup.3.sub.1 of transmission of the uplink response, and acknowledgement of the received downlink transmission in acknowledging fields ADLk. The uplink transmission 306 should include time stamps for each second node 3.1-3.n that should be synchronized in the following super-frame 10A, 10B and obtain synchronization data when receiving 312 the following downlink transmission, e.g. when receiving 312 the next beacon 11A, 11B.
(55)
(56) The first node 2 of
(57) The second node 3.k of
(58) Embodiments of communication methods 100, 200, 300 for wireless TDMA communication using a super-frame structure 10A, 10B between a first 2 and at least one second node 3.k has been provided. In embodiments the second nodes 3.k transmit payload data in uplink frames ULk that comprises a piggybacked field for time indicating data T3.k, and preferably a field ADLk for acknowledging a received downlink transmission. The first node 2 is configured for calculating a clock offset and propagation delay based on the received time indicating data. In embodiments, the first node 2 is configured to transmit calculated clock offsets and propagation delay data, and preferably acknowledgements, in piggybacked fields of a downlink payload data frame, such as a beacon 10A, 10B, to the second nodes 3.1-3.n. These embodiments aims at providing high reliability and low latency for industrial machine-to-machine communications, where time indicating data, synchronization data, and acknowledgement are efficiently transferred and an efficient two-way synchronization process may provide absolute time useful for time critical control applications. The present invention is, however, not limited to these embodiments, but may be varied by the skilled person within the scope of the claims.