Network and method for clock synchronization of clusters in a time triggered network

Information

  • Patent Grant
  • 8089991
  • Patent Number
    8,089,991
  • Date Filed
    Tuesday, August 28, 2007
    17 years ago
  • Date Issued
    Tuesday, January 3, 2012
    12 years ago
Abstract
An embodiment of the invention includes a method and network for clock synchronization within a time triggered network using time slots, having at least two clusters. The clusters are connected to a coupling unit that includes a clock alignment control logic. The clock alignment control logic includes a coupling unit clock source which is more accurate than the node clock source. The accuracy of the coupling unit clock source is due to the coupling unit clock source including an oscillator crystal with smaller guaranteed deviations than the guaranteed deviations of the node clock source and/or the coupling unit clock source receiving a clock signal from an external clock device or from a GPS device. The method includes using a rate correction for offset correction.
Description

The invention relates to a network operating on a time triggered protocol using time slots, wherein at least two clusters are included in the network, each cluster includes at least a node. Further, it relates to a method for clock synchronization within a time triggered network.


Modern communication systems generally do not consist of a single communication domain. Instead, multiple such communication domains are connected possibly each using a different communication protocol.


Current automotive networks generally consist of multiple CAN and LIN clusters interconnected by gateway nodes. These protocols are not prepared for exchanging safety-relevant information in real time. Since the demand for safety-relevant functions realized within automobiles increases, the need to connect safety-relevant nodes with a network is further increased. Therefore safety-relevant protocols need to be integrated into such networks. Especially, multiple safety-relevant communication clusters have to be interconnected. When multiple communications cluster are used in the same environment without further coordination each communications cluster has its own timing, meaning that each cycle length is different and that the cycle starts are not synchronized. Even when the communications clusters are configured identically, due to the nature of the distributed startup and the cluster internal clock synchronization or due to oscillator inaccuracies, these parameters will drift apart resulting in unsynchronized clusters. However, the transmission of safety-relevant in real time requires tightly synchronized clusters.


It is therefore known to use communication units in form of gateways or cluster couplers that have access to all such communication clusters. Such coupling units can naturally distribute information for aligning the communication clusters, but these mechanisms are working slowly as not to disturb the ongoing communications. EP 1280024 A1 describes a method for clock synchronization in a distributed time triggered network. The local clocks of the nodes are adjusted by using of offset correction values and clock rate corrections values. The clock rate correction values are calculated based on a set of clock rate deviations between the local clock and the clocks of other nodes.


Thus, it is an object of the present invention to provide a network and a method reducing the amount of time needed for aligning multiple communication clusters as much as possible.


The object is solved by the features of the independent claims.


The invention is based on the thought, that by using a central clock alignment control logic having a clock source with higher accuracy than the accuracy of the clock source in the node the deviation of cycle length and offset in the timing of the clusters is adjusted really faster without having the risk to force a node within the clusters out of the timing limits. Since the coupling unit clock source is estimating a standard cycle length more accurate than the nodes within the clusters it is possible to change the rates and/or the offsets in the clusters by use of most possible steps. Thereby, guaranteeing the operation of all nodes in the clusters.


According to the invention the network is operating on a time triggered protocol using time slots meaning the time is sliced into recurring cycles, wherein each cycle consist of several segments. Each cycle has a cycle length, a cycle start and cycle end. The network is composed of at least two clusters, wherein each cluster includes at least one node. A node maybe realized as application having a certain task within the network, e.g. a sensor for measuring a state within the vehicle. Each node includes a communication controller having an own node clock source for determining a timing of the node. The clusters of the networks are coupled by use of a coupling unit. The coupling unit maybe realized as gateway or cluster coupler. Each coupling unit includes a clock alignment control logic comprising a coupling unit clock source which is more accurate than the node clock source, wherein the coupling unit clock source is used for aligning the timing between the at least two clusters.


Gateways or cluster couplers in between multiple time-triggered communication clusters are used to synchronize those networks to achieve low propagation delay and to minimize memory requirements. By using protocols like the time-triggered FlexRay protocol external or central clock corrections means could be used to achieve a faster synchronization. The invention proposes an architecture and algorithm to significantly speed up the synchronization between multiple communication clusters by more than tenfold and thereby first enables the use of longer communication cycle times than 2 ms in such environments.


Further advantageous implementations and embodiments of the invention are set forth in the respective sub claims.


In a preferred embodiment the coupling unit includes as many protocol engines as clusters connected to coupling unit. Each protocol engine provides the timing of the connected cluster to the clock alignment control logic. Thus, the clock alignment control logic is able to change the cycle length or offset of the timing within the connected clusters. The change is achieved by increasing or decreasing a cycle length λ in the connected clusters depending on the information provided by the protocol engines, wherein the start and/or end of a cycle in the connected clusters is shifted depending on the information provided by the protocol engines. By using a more accurate clock source in the central alignment control logic it is possible to align the rates of the cycles in the clusters for offset correction without forcing the timing of the nodes outside predetermined limits.


By combining the increasing or decreasing of the cycle length λ in the connected clusters and the shifting of the cycle start and/or cycle end in the connected clusters based on the accurate clock source depending on the information provided by the protocol engines a faster alignment of the timing within the connected clusters could be achieved. The speed up is achieved, in particular, by using a rate alignment for correcting the offset. Due to the accurate clock source the rate alignment of the central alignment control logic will efficient amend the consecutive cycles within the clusters without disturbing the cycle length in the clusters so much, that nodes will terminate due to deviate from predetermined limits.


According to a further embodiment it is only allowed for the cluster coupler extend the cycle length by a predetermined maximum amount ρcum of time. The predetermined maximum amount ρcum depends on the accuracy of the precise coupling unit clock source. Only due to the more precise coupling unit clock source the predetermined maximum amount ρcum is larger than 0, thereby enabling an adaptation of the cycle length for offset correction. Thus, the cluster coupler can control the increasing or decreasing of the cycle length to stay within the range around the nominal cycle length and within the limits of the nodes.


Due to restrictions of the time triggered protocol the clock alignment control logic may increase or decrease the cycle length λ in the connected clusters only by a predetermined maximum amount ρ of cycle length modification between two cycles. Thus, it is guaranteed not to disturb the ongoing traffic by forcing the timing too much in one direction.


The same applies for the shifting of the cycle start and/or cycle end in the connected clusters. Also the cycle start and/or cycle end maybe shifted by maximum amount of offset σ only depending on the information provided by the protocol engines.


In particular it is preferred if the more accurate coupling unit clock source signal is received from an external clock device or from a GPS device having a very accurate clock. Thus, it is not required to incorporate an expensive oscillator into the coupling unit.


The object is also solved by a method for clock synchronization within a time triggered network using time slots, having at least two clusters, wherein each cluster includes at least one node, each node comprises a node clock source and a communication controller and the clusters are connected to a coupling unit having a clock alignment control logic comprising a coupling unit clock source which is more accurate than the node clock source, the method comprising the steps of: monitoring the timing of the connected clusters within the coupling unit; increasing or decreasing a cycle length λ of the timing within the clusters by use of coupling unit clock source.


In a preferred embodiment the method for clock synchronization, comprising further the step of monitoring the timing within the respective cluster by each node, wherein as long as the timing is within predetermined limits no action of a communication controller of the node is required, wherein if the timing within the cluster differs from the timing limits the node will terminate. Thus, it is achieved that in case of forcing the timing in a cluster too much in one direction the nodes will recognize this deviation and will terminate to not disturb the traffic.





The invention is described in detail below with reference to the accompanying schematic drawings. In the drawings it is shown:



FIG. 1 a network including a plurality of clusters having a plurality of nodes;



FIG. 2 a configuration of a node according as used in FlexRay environment;



FIG. 3 a schematic block diagram of a coupling unit according to the invention;



FIG. 4 a diagram of the maximum number of double-cycles needed for alignment;



FIG. 5 a diagram illustrating the achievable speedup by using the method or the network according to the invention;



FIG. 6 a diagram illustrating the correction length by using the method or the network according to the invention;



FIG. 7 a diagram illustrating the correction length by using the method or the network;



FIG. 8 a diagram illustrating the correction length by using the method or the network.





A typical fault-tolerant time-triggered network, as illustrated in FIG. 1, consists of two or more communication channels Channel A, Channel B, to which communication nodes 11 are connected. FIG. 2 illustrates a node 11 as used in the time-triggered network. Each of those nodes 11 consists of bus drivers 17, a communication controller 15, a bus guardian device 14 for each bus driver 17 and the application host 13. The bus driver 17 transmits the bits and bytes that the communication controller 15 provides onto its connected channel and in turn provides the communication controller 15 with the information it receives on the channel. The communication controller 15 is connected to both channels and delivers relevant data to the host application 13 and receives data from it that it in turn assembles to frames and delivers to the bus driver 17. The communication controller 15 is mainly composed of a protocol engine and a controller host interface (not illustrated). The controller host interface is responsible for buffer management and data transfer between the host application 13 and the communication controller 15.


Those networks systems are at least partially time-triggered, meaning that the time is sliced into recurring cycles, where each cycle consists of several segments. Each node 11 determines the start of a new cycle according to its own built-in clock 18. At least one segment is divided into a fixed number of slots, where each slot is assigned up to at most one communication controller 15, wherein that communication controller 15 and alone that communication controller 15 has the right to transmit. Other segments of the cycle can be used for dynamic arbitration schemes or other purposes.


The bus guardian 14 is a device with an independent set of configuration data that enables the transmission on the bus only during those slots, which are specified by the configuration set.


The host application 13 contains the data source and sink and is generally not concerned with the protocol activity. Only decisions that the communication controller 15 cannot do alone are made by the host application 13.


A single node 11, called cold-starting node 11, initiates a communication schedule by transmitting startup/synchronization information to the bus, i.e. startup frames for FlexRay. This node 11 is selected either by configuration or by some algorithm, that determines which of several potential nodes 11 performs the startup. This algorithm generally consists of transmitting frames or similar constructs over the attached channels, whenever no existing schedule could be detected.


The communication controller 15 of the (potential) cold-starting node 11 thereby has to listen to all attached channels and has to transmit its startup data on all attached (potentially redundant) channels at the same time. There is only one single control logic for the startup inside the communication controller 15 for all attached channels.


Each other node 11 within the cluster listens to its attached channels. If it receives specific frames or similar constructs indicating a startup it will adopt the timing scheme from the observed communication and integrate into the network.


Two exemplary systems match to this description, e.g. the TTP (time triggered protocol) and the FlexRay protocol.


The node clock source 18 has a predetermined accuracy depending on the quality of the oscillator. Since each node has its own node clock source having different accuracies the cycle length in each node will be different. Thus, the synchronization between the nodes needs to be maintained by a synchronization algorithm.



FIG. 3 illustrates an inventive coupling unit 10 or gateway, which is connected to a plurality of clusters A-X. There are three protocol engines 12 connected to the clusters A, B, X, respectively. The protocol engines 12 monitor the timing of each cluster. These timings are provided to the central clock alignment control logic 20. The coupling unit 10 also includes a coupling unit clock source 21 having a higher accuracy than the clock sources 18 within the nodes 11 in the clusters A, B, X.


Now the central synchronization of a plurality of clusters connected to a coupling unit 10 will be described in more detail.


In a situation, where multiple communication clusters A, B, X need to be synchronized, a coupling unit 10 has access to all communication clusters. This invention describes how such a coupling unit 10 can be modified to significantly speed up the synchronization of the independently started attached communication clusters.


The synchronization of multiple communication clusters encompasses to different values: clock rate and clock offset. The rate influences the cycle length and the offset the phase difference of the cycles. Both need to be closely aligned for the synchronization to be stable. If the rate or cycle length is not closely aligned, it is difficult to keep the offset or phase in check, while the offset needs to be small to reduce the propagation delay for intercommunication between the communication clusters and the required memory for message storage in a gateway component.


The explanation of the invention is made in respect to the FlexRay protocol. However the invention is not limited to the FlexRay protocol. The rate difference will generally be small and easier to compensate than the offset. For the FlexRay protocol there is a fixed maximum deviation of the cycle length of ±1500 ppm. For other protocols similar upper boundaries can be easily found or defined. Be λ the ideal length of a cycle, then 2λ(1500/1000000) is the maximum necessary rate correction for FlexRay, while for offset λ/2 is the maximum. As can be seen the necessary rate correction is smaller by several orders of magnitude and is therefore neglected.


The amount of possible offset correction per cycle is also generally limited, especially regarding shortening a cycle. Also lengthening is generally restricted, since else the regular transmission of messages becomes distorted. Therefore it is practical to use the possibility to influence the cycle length to help correcting the offset.


Let ρ be the maximum amount that the cycle length may be modified between any two cycles and σ the maximum amount of offset that can be corrected at the end of any cycle. Please note the fundamental difference between the two methods of influencing the cycle length. The rate correction proportionally influences all time slots in a cycle, while the offset correction only changes a dedicated interval during the cycle, leaving all others intact. Thereby the rate correction enables closer alignment of all time slots, not only the one following the offset correction.


For FlexRay, the specification prescribes a maximum for both ρ and σ of 7 ‘microticks’, wherein a microtick is defined time amount of 25 ns. For alignment within a cluster, larger shifts of the cycle length are possible, but ρ and σ for the correction of the rate and/or the offset give the additional correction driven from a higher layer by the central alignment control logic 21. Thus, the central alignment control logic 21 may only use these values of 7 microticks to correct the rate and/or the offset among the clusters.


The cycle length can be influenced once in each correction period and changes to it accumulate. Thereby cycle length can be used to shift the offset much faster than using only the offset correction on its own.


To shift two communication clusters by λ/2, the offset correction needs obviously λ/(4*σ) correction periods to shift each cluster by cycle λ/4.


Using only rate correction and assuming that the cycle lengths are initially already synchronized to simplify the equation, this can be accomplished using approximately only







-
1

+


1
+

λ
ρ








cycles. Thereby, for each cycle the rate of one cluster is enlarged while the one of the other is diminished until half the offset is corrected. Then the rates are being aligned again. So the unrestricted rate correction is more effective whenever the cycle length is






λ
>

8



σ


(


2
ρ

-
1

)


.






Since the maximum correction for the offset σ is generally very small compared to the cycle length λ, using rate correction is nearly always more effective than using offset correction, e.g. for FlexRay λ may be up to 640000 μT (microticks) while σ is restricted to be smaller or equal to 7 μT.


However, offset correction may be used additionally, which reduces the amount of cycles to







-

(

1
+


2

σ

ρ


)


+





(

1
+


2

σ

ρ


)

2

+

λ
ρ



.





However, by using one of the latter two algorithms there may be a problem with the precautions against the cycle length being changed too much from the nominal value. During central alignment of the timing of the clusters the cycle length within the clusters may not be changed so much that a node measuring the cycle length with respect to its local clock detects a deviation from the nominal cycle length so large that it assumes itself to be faulty. Each node operating based on a certain protocol has predetermined limits for the deviation of the cycle length. For FlexRay these limits are ±3000 ppm (double of the nominal clock frequency deviation). Within these limits the node will operate and will adapt to the alignment of the central coupling unit. However, if the alignment of the central coupling unit forces the cycle length of a node out of these limits the node will terminate.


The following example will explain this. Assume two nodes and the gateway. One node has +1500 ppm deviation, one node has −1500 ppm deviation and the cluster coupler has −1500 ppm deviation from the nominal cycle length. If the cluster coupler influences the cycle length by additional −100 ppm, then the node having +1500 ppm deviation would measure a cycle length deviation of 3100 ppm and assume itself to be faulty, while the node having −1500 ppm deviation would measure 100 ppm and be fine.


Taking this into account reduces the effectiveness a bit as will be pointed out. Generally each node, in particular the communication controller 15 observes its own rate or cycle length and determines that it is faulty if this rate or cycle length leaves a certain range. This range is normally determined using estimation about the quality of the used oscillators or similar clock sources. Without the invention this problem usually prevents using a rate correction to speed up the offset correction, since any meddling with the rate may result in any node of the cluster exceeding its own target range.


However at this point the invention will be used. By using a more accurate clock source 21 in the central alignment control logic 20 this problem can be solved, since the central node 10 steering the clock alignment has access to a superior clock source 21. This coupling unit clock source 21 may either be a more expensive oscillator crystal with smaller guaranteed deviations, or a source externally derived, e.g. from GPS, or by extensive measurement and characterization of a specific clock source, so its deviation under known circumstances can be accurately estimated. This invention disclosure does not restrict the superior clock source to be from this list.


The real cycle length in a cluster must be always allowed to deviate up to the maximum allowed oscillator deviation (e.g. for FlexRay ±1500 ppm). These extremes are defined to be λmax and λmin. As long as the current cycle length stays within these boundaries, no node will generate an exception and terminate. The coupling unit 10 including the clock alignment control logic 20 generally tries to align all cycle lengths of the clusters to its own view of what is the nominal cycle length λ′. As long as this coupling unit node 10 is not faulty, it follows λmin≦λ′≦λmax.


How much rate correction can be used to speed up the offset correction is thereby much dependent on how accurate the guess of the clock aligning node is about λ′. Be θ the accuracy of this guess so that

λmin<λ−θ≦λ′≦λ+θ<λmax


Then it can reduce the rate of aligned communication clusters by up to ρcumdec=λ−θ−λmin and increase by up to ρcumincmax−λ−θ without leaving the allowed cycle length range or limits as mentioned above, wherein ρcuminc is the maximum amount of time that the clock aligning node 10 may lengthen the cycle length of an attached cluster without it becoming larger than λmax and ρcuminc is the maximum amount of time that the clock aligning node may shorten the cycle length of an attached cluster without it becoming smaller than λmin.


Assuming that ρcumdeccuminccum, and that ρcum<λ/8, rate correction can then be performed in







λ

4


ρ
cum



+


ρ
cum

ρ

-

1






cycles
.






By additional using offset correction the rate correction can be performed in







λ

4


(


ρ
cum

+
σ

)



+


ρ
cum
2


ρ


(


ρ
cum

+
σ

)



-

1






cycles
.






Thus by using the more accurate clock source 21 within the coupling unit 10 it is possible to use the more effective a rate correction for offset correction without leaving the limits. Thereby, the alignment of the timings in the clusters maybe speed up drastically.


If the clock source 18 in the nodes 11 would be also more accurate this invention will not work, since the rate correction will force the timing of the nodes out of the limits.


It is very advantageous, since only the clock source of the coupling unit 10 requires higher costs. No further amendments need to be performed. By providing a very accurate clock source from outside, e.g. GPS the central coupling unit does not need to have such own accurate clock source.


Based on FIGS. 4-8 the effects of the invention are illustrated in comparison to the conventional central alignment.


Referring to FIG. 4 the maximum number of double cycles needed for alignment is shown. It is assumed that rate and offset may be influenced by up to 175 ns per double cycle (that are 7 microticks for a microtick length of 25 ns) and that the clock of the aligning coupling unit 10 has a worst case deviation of only ±750 ppm compared to ±1500 ppm for the other nodes. Naturally the performance increases, if an even more accurate clock is used. As could be easily seen by using the conventional offset correction a drastically higher number of double cycles is necessary to align the timing of the connected clusters by using a conventional offset correction. In FIG. 4 two curves are shown illustrating the application of the more accurate clock source. There is an unrestricted curve illustrating the application of rate correction for offset correction. The unrestricted curve is valid for the first set of formulas, which do not observe the limitation to cycle length imposed by the self-checking of the nodes. Further, there is a restricted curve illustrating a rate correction by using the limitation of cycle length and the checking of the limits within the nodes. By using the restricted rate correction the cycle length adjustment is restricted by clock improvements of cluster coupler.


The following FIG. 5 illustrates an unrestricted and a restricted curve using a combination of rate and offset correction in comparison with the conventional offset correction. It is shown that by using the unrestricted rate and offset correction the number of double cycles is the lowest. Note that for unrestricted rate and offset correction no limits are set within the nodes to be monitored. Thus, a faster alignment is possible since no limits need to be considered when adjusting the cycle length.



FIG. 6 shows the amount of time passing before the communication clusters are synchronized. As can be seen, even if the restricted rate correction is slower than the unrestricted optimum, in terms of real time passing, the difference is not so big. Essentially cycle times of more than 1 ms become feasible only with the proposed approach.



FIGS. 7 and 8 illustrate the achievable speed up factor for the same base parameters. The highest speed up is achieved by using a combined unrestricted rate and offset correction as shown in FIG. 8. In this case the values of ρ and σ of 7 ‘microticks’ are not used. The values ρ and σ of 7 ‘microticks’ are defined in the FlexRay protocol due to several reasons. However, just for speeding up the alignment of the clusters by use of the more accurate clock source 21 in the cluster coupler is possible without such limitations of the values ρ and σ to 7 ‘microticks’. Nevertheless, in comparison with the conventional offset correction the gain could be easily recognized.


In the following derivation of the formulas as used above is explained in more detail. To compensate for an offset difference of λ/2, both communication clusters need to be shifted by λ/4. As mentioned above a rate correction is cumulative. Be m the searched number of cycles (assumed to be divisible by 2 for simplicities sake), then it follows:










λ
4

=







i
=
1


m
/
2







j
=
1

i


ρ


+




i
=
1


m
/
2







j
=
1



m
/
2

-
i
+
1



ρ









=



ρ


(





i
=
1


m
/
2



i

+




i
=
1


m
/
2




m
2


-
i
+
1

)








=



ρ


(




m
2

+

2

m


8

+


m
2

4

+

m
2

-



m
2

+

2

m


8


)








=



ρ


(



m
2

+

2

m


4

)











0
=


m
2

+

2

m

-

λ
ρ









m

1
,
2


=


-
1

±


1
+

λ
ρ









If the maximal correction of cycle length for offset alignment is restricted by ρcum, then the following gives the necessary number of correction periods










λ
4

=




m





σ

+





m
/
2



i
=
1







j
=
1

i


ρ


+




i
=
1


m
/
2







j
=
1



m
/
2

-
i
+
1



ρ









=




m





σ

+

ρ


(





i
=
1


m
/
2



i

+




i
=
1


m
/
2




m
2


-
i
+
1

)









=




m





σ

+

ρ


(




m
2

+

2

m


8

+


m
2

4

+

m
2

-



m
2

+

2

m


8


)









=




m





σ

+

ρ


(



m
2

+

2

m


4

)












0
=



m
2

+


(

2
+


4

σ

ρ


)


m

-


λ
ρ







m

1
,
2




=


-

(

1
+


2

σ

ρ


)


±




(

1
+


2

σ

ρ


)

2

+

λ
ρ









Using these variables, the time for correction amounts to










λ
4

=







i
=
1



ρ
cum

/
ρ







j
=
1

i


ρ


+


(

m
-

2



ρ
cum

ρ



)



ρ
cum


+




i
=
1



ρ
cum

/
ρ







j
=
1




ρ
cum

/
ρ

-
i
+
1



ρ









=




ρ


(



ρ
cum
2


ρ
2


+


ρ
cum

ρ


)


+


(

m
-

2



ρ
cum

ρ



)



ρ
cum









=





ρ
cum
2

ρ

+

ρ
cum

+

m






ρ
cum


-

2



ρ
cum
2

ρ









m
=




1

ρ
cum




(


λ
4

+


ρ
cum
2

ρ

-

ρ
cum


)








=




λ

4






ρ
cum



+


ρ
cum

ρ

-
1








And including offset correction:










λ
4

=




m





σ

+






ρ
cum

/
ρ



i
=
1







j
=
1

i


ρ


+


(

m
-

2



ρ
cum

ρ



)



ρ
cum


+




i
=
1



ρ
cum

/
ρ







j
=
1




ρ
cum

/
ρ

-
i
+
1



ρ









=




m





σ

+

ρ


(



ρ
cum
2


ρ
2


+


ρ
cum

ρ


)


+


(

m
-

2



ρ
cum

ρ



)



ρ
cum









=




m





σ

+


ρ
cum
2

ρ

+

ρ
cum

+

m






ρ
cum


-

2



ρ
cum
2

ρ









m
=




1


ρ
cum

+
σ




(


λ
4

+


ρ
cum
2

ρ

-

ρ
cum


)








=




λ

4


(






ρ
cum

+
σ

)



+


ρ
cum
2


ρ


(


ρ
cum

+
σ

)



-
1








Thus, by using the invention it is possible only with one more accurate clock source in the cluster coupler to achieve a very strong time reduction for synchronizing different cluster within a time triggered network.

Claims
  • 1. A network operating on a time triggered protocol using time slots, wherein the network comprises at least two clusters, each cluster comprising at least a node, wherein the node comprises a communication controller comprising a node clock source for determining a timing for the node, wherein the clusters are connected to a coupling unit comprising a clock alignment control logic comprising: a coupling unit clock source which is more accurate than the node clock source, wherein the accuracy of the coupling unit clock source is due to at least one of:the coupling unit clock source comprising an oscillator crystal with smaller guaranteed deviations than guaranteed deviations of the node clock source; or the coupling unit clock source receiving a clock signal from an external clock device or from a GPS device,wherein the coupling unit clock source is used for aligning the timing between the at least two clusters, wherein the clock alignment control logic increases or decreases cycle length λ in the connected clusters by amount ρ of cycle length modification between two cycles and/or the clock alignment control logic shifts a cycle start and/or a cycle end in the connected clusters by amount of offset σ, wherein the clock alignment control logic shifts by depending on information provided by a protocol engine connected to each of the clusters, wherein the clock alignment control logic uses a rate correction for offset correction.
  • 2. The network as claimed in claim 1, wherein the coupling unit comprises as many of the protocol engines as there are clusters that are connected to the coupling unit, wherein each of the protocol engines provides timing of the connected cluster to the clock alignment control logic.
  • 3. The network as claimed claim 1, wherein the clock alignment control logic is increasing or decreasing the cycle length λ in the connected clusters depending on the information provided by the protocol engines.
  • 4. The network as claimed in claim 1, wherein the clock alignment control logic increases or decreases the cycle length λ in the connected clusters but keeps the cycle length λ inside a predetermined range around a nominal cycle length as defined by the more accurate clock source depending on the information provided by the protocol engines.
  • 5. The network as claimed in claim 1, wherein the greater accuracy of the coupling unit clock source is due to the coupling unit clock source comprising a clock source with a more precise measuring capability than the node clock source.
  • 6. The network as claimed in claim 1, wherein the greater accuracy of the coupling unit clock source over the node clock source is due to the coupling unit clock source comprising an accurately estimated deviation under known circumstances, the deviation having been extensively measured and characterized.
  • 7. The network as claimed in claim 1, wherein the amount ρ of cycle length modification is within a predetermined range below or equal to a maximum amount.
  • 8. The network as claimed in claim 1, wherein the amount of offset σ, is within a predetermined range below or equal to a maximum amount.
  • 9. A method for clock synchronization within a time triggered network using time slots, comprising at least two clusters, wherein each cluster comprises at least one node, each node comprises a node clock source and a communication controller, wherein the clusters are connected to a coupling unit comprising a clock alignment control logic, wherein the clock alignment control logic comprises a coupling unit clock source which is more accurate than the node clock source, the method comprising: monitoring timing of the connected clusters within the coupling unit; andincreasing or decreasing a cycle length λ of the timing within the clusters by amount ρ of cycle length modification between two cycles, wherein the increasing or the decreasing depends upon information from the coupling unit clock source, wherein the accuracy of the coupling unit clock source is due to at least one of: the coupling unit clock source comprising an oscillator crystal with smaller guaranteed deviations than guaranteed deviations of the node clock source; orthe coupling unit clock source receiving a clock signal from an external clock device or from a GPS device;shifting a cycle start and/or a cycle end in the connected clusters by amount of offset σ, wherein the shifting depends upon information from the coupling unit clock source;using a rate correction for offset correction.
  • 10. The method for clock synchronization as claimed in claim 9, further comprising: monitoring the timing within the respective cluster by each node, wherein as long as the timing is within predetermined limits no action of the communication controller of the node is required, wherein if the timing within the cluster differs from the timing limits the node will terminate.
  • 11. The method for clock synchronization as claimed in claim 9, wherein the greater accuracy of the coupling unit clock source is due to the coupling unit clock source comprising a clock source with a more precise measuring capability than the node clock source.
  • 12. The method for clock synchronization as claimed in claim 9, wherein the greater accuracy of the coupling unit clock source over the node clock source is due to the coupling unit clock source comprising an accurately estimated deviation under known circumstances, the deviation having been extensively measured and characterized.
  • 13. The method for clock synchronization as claimed in claim 9, wherein the clock alignment control logic increases or decreases the cycle length λ in the connected clusters but keeps the cycle length λ inside a predetermined range around a nominal cycle length as defined by the more accurate clock source depending upon information from the coupling unit clock source.
  • 14. The method for clock synchronization as claimed in claim 9, wherein the amount ρ of cycle length increase or decrease is within a predetermined range below or equal to a maximum amount.
  • 15. The method for clock synchronization as claimed in claim 9, wherein the amount offset σ is within a predetermined range below or equal to a maximum amount.
Priority Claims (1)
Number Date Country Kind
06120215 Sep 2006 EP regional
PCT Information
Filing Document Filing Date Country Kind 371c Date
PCT/IB2007/053430 8/28/2007 WO 00 3/6/2009
Publishing Document Publishing Date Country Kind
WO2008/029319 3/13/2008 WO A
US Referenced Citations (5)
Number Name Date Kind
3798650 McComas et al. Mar 1974 A
7356617 Suzuki et al. Apr 2008 B2
20050159174 Bar-On et al. Jul 2005 A1
20070116058 Rausch et al. May 2007 A1
20080046774 Hirai et al. Feb 2008 A1
Foreign Referenced Citations (5)
Number Date Country
0223031 May 1987 EP
1280024 Jan 2003 EP
2404121 Jan 2005 GB
2004105278 Dec 2004 WO
2005013523 Feb 2005 WO
Related Publications (1)
Number Date Country
20090279651 A1 Nov 2009 US