WO2008053378A1 - Network and method for setting a time-base of a node in the network - Google Patents

Network and method for setting a time-base of a node in the network Download PDF

Info

Publication number
WO2008053378A1
WO2008053378A1 PCT/IB2007/051823 IB2007051823W WO2008053378A1 WO 2008053378 A1 WO2008053378 A1 WO 2008053378A1 IB 2007051823 W IB2007051823 W IB 2007051823W WO 2008053378 A1 WO2008053378 A1 WO 2008053378A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
network
clock
base
master
Prior art date
Application number
PCT/IB2007/051823
Other languages
French (fr)
Inventor
Florian Bogenberger
Mathias Rausch
Original Assignee
Freescale Semiconductor, Inc.
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 Freescale Semiconductor, Inc. filed Critical Freescale Semiconductor, Inc.
Priority to EP07735894.3A priority Critical patent/EP2080301B1/en
Priority to US12/513,089 priority patent/US8060654B2/en
Priority to JP2009533987A priority patent/JP5230637B2/en
Publication of WO2008053378A1 publication Critical patent/WO2008053378A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0641Change of the master or reference, e.g. take-over or failure of the master

Definitions

  • This invention relates to a network, a node for in a network, a time-base controller, a kit of parts, an apparatus, a method for setting a time-base and a computer program product
  • the nodes in the network include an internal clock which provides a local time-base.
  • an internal clock which provides a local time-base.
  • two internal clocks are initially set to a common time-base and their frequency sources are running at exactly the same rate, they would remain synchronized.
  • clocks are set with limited precision, frequency sources run at different rates due to initial manufacturing tolerance, changes in temperature or pressure, and aging. Because of these inherent instabilities, a repeated synchronization may be used to maintain a correspondence between the local time-bases of the nodes in the network.
  • 'master-slave synchronisation' To set the nodes in the network to a common time-base, so called 'master-slave synchronisation' is known.
  • the nodes are connected to a common source.
  • the common source provides a common time-base to the nodes, and hence operates as a master, whereas the nodes set their internal time-base to the received common time- base and hence act as slaves.
  • a disadvantage of such a synchronisation is that in case the common source fails, the nodes will not be synchronised.
  • International Patent Application WO 2005/1 19951 discloses a method for establishing a global time base in a timed communications system comprising several subscribers.
  • One of the subscribers of the communications system is defined as the time master, with which the remaining subscribers are synchronised.
  • One or more additional subscribers are defined as a substitute time master. Firstly, an attempt is made to synchronise all subscribers of the communications system with the primary time master. If the attempt fails, a next respective substitute time master in a predetermined sequence is selected and an attempt is made to synchronise all subscribers of the communications system with the selected substitute time master.
  • a disadvantage of this master system is that while the synchronisation to the primary time master or the substitute time master may succeed, an error in the time base provided by the master will cause a malfunction of the timing in the network.
  • United States Patent Application Publication US 2005/005469 discloses a network with a master-slave configuration. Timers of a plurality of slave units are synchronized with a timer of the master unit.
  • the network includes a middle hierarchical plane of units which act as slaves for the master unit, and are hence synchronised to the master unit, and as masters for the slave units.
  • the slaves units are synchronised to the timer of a respective unit in this middle hierarchical plane to which they are connected, and hence indirectly to the master unit.
  • a disadvantage of the system disclosed in this document is that in case the master unit fails, the entire timing in the network fails.
  • ERIKSON C ET AL "A communication protocol for hard and soft real-time systems", REAL- TIME SYSTEMS, 1996, PROCEEDINGS OF THE EIGTH EUROMICRO WORKSHOP ON UAQUILA, ITALY 12-14 JUNE 1996, LOS ALAMITOS, CA, USA, IEEE COMPUT. SOC, US, 12 June 1996, pages 187-192, discloses a data communication system with a rotating master unit, that is during a first period of time a first unit acts as a master for the nodes in the system and during a second period of time succeeding the first period of time, a second acts as a master for the nodes in the system.
  • a disadvantage of the system disclosed in this document is that in case the unit acting as master for the respective period of time fails, the entire timing in the network fails.
  • a common disadvantage of the prior art systems described above is that in case the master unit fails, the nodes will not be synchronised.
  • so called 'distributed synchronisation' is known, for example from United States Patent 5 694 542.
  • the nodes exchange timing information.
  • Each node determines a time-base from the timing information received from the other nodes and adjusts its internal clock to the determined time-base.
  • distributed synchronisation requires complex algorithms to determine the time-base.
  • each node requires a synchronisation unit which can determine the time-base. Accordingly, a disadvantage of distributed synchronisation is that it is complex and requires a large amount of resources.
  • the present invention provides a network, a node for in a network, a time-base controller, a kit of parts, an apparatus, a method for controlling a time-base and a computer program product as described in the accompanying claims.
  • FIG. 1 shows a block diagram of an example of an embodiment of a network.
  • FIG. 2 shows a block diagram of an example of an embodiment of a second node.
  • FIG. 3 shows a block diagram of an example of an embodiment of a first node.
  • FIG. 4 schematically a flow-chart of an example of a method for synchronising a second node.
  • FIGs. 5-8 show examples of networks of first and second nodes.
  • FIG. 9 shows a schematic top-view of an example of a vehicle provided with an example of a network.
  • a data communication network 1 which includes a first subnetwork 2 and a second sub-network 3.
  • the first sub-network 2 may for instance include one, two, or more than two first nodes 1 1 ,12.
  • the second network 3 may include one or more second nodes 20. (In the example, two nodes 20 are shown, however it will be apparent that another number may likewise be present.)
  • the network 1 may have any suitable topology and the first node(s) 1 1 ,12 and the second node(s) 20 may be connected to each other in any suitable manner. For instance, as shown in FIG.
  • the first nodes 1 1 may be connected to a bus 14 with respective communication ports 1 10,120 and the second node 20 may, for example, be connected to the bus 14 with a communication port 200.
  • the nodes 1 1 ,12,20 may be connected to each other via other types of connections.
  • the nodes of the first sub-network 2 and the second sub-network 3 are shown spatially separated from each other.
  • the first sub-network 2 and the second sub-network 3 may have a spatial overlap.
  • the first nodes 1 1 ,12 and the second nodes 20 may be positioned in an interdigitated arrangement and/or first nodes 1 1 ,12 may be present at the same location as second nodes 20.
  • node as used in this application at least refers to any arrangement, including one or more elements, in a data communication network which provides network related functions and is administered as an entity in the network.
  • a node may for example include a general purpose computer, a router, a switch, a bridge or other type of node.
  • the first nodes 11 ,12 may be of a different type than the second nodes 20 and/or the first sub-network 2 may be compliant with one or more standards which are different from one or more of the standards to which the second sub-network 3 complies.
  • one or more of the first nodes 1 1 ,12 may be a node as defined in the FlexRay standard and/or one or more of the second nodes 20 may for example be a node which supports only parts of the FlexRay standard.
  • the invention is not limited thereto and that one or more of the nodes 1 1 ,12 in the first sub-network 2 and/or one or more of the nodes 20 in the second sub-network 3 may be other types of physical nodes or logical nodes.
  • the first sub-network 2 may include two or more master clocks 1 12,122, and a synchronisation system 13 which is connected to the master clocks 1 12,122.
  • the synchronisation system 13 can determine a time-base for the master clocks 1 12,122 and control the master clocks 1 12, 122 according to said determined time-base. Thereby, the clocks 1 12,122 can be synchronised to the determined time-base and hence to each other.
  • the master clocks 1 12,122 may be provided in different first nodes 1 1 ,12 and the synchronisation system 13 may include synchronisation units 1 13 in different first nodes 1 1 ,12.
  • a node 1 1 ,12 includes two or more master clocks 1 12,122.
  • the second sub-network 3 may be connected to the first sub-network 2 and may include one or more slave clocks 22.
  • two slave clocks 22 are shown, each present in a different second node 20.
  • one or more of the second nodes 20 each include two or more slave clocks 22.
  • the slave clocks 22 may be connected to a slave clock time-base controller 21 .
  • the slave clock time-base controller 21 may control the time base of the slave clock 22 based on time information from a single selected master clock 1 12.
  • the slave clock time-base controller 21 does not need to have a complex synchronisation system to determine the time-base suitable to synchronise the second clock 22, and accordingly the slave clock time-base controller 21 may be of a relatively simple design. Furthermore, the time-base of the second clock 22 may be controlled in a reliable manner.
  • the slave clock time-base controller 21 may be implemented in any manner suitable for the specific implementation.
  • the slave clock time-base controller 21 may for example be connected to the slave clock 22, and control the slave clock 22 based on the time-base information from the selected master clock 1 12.
  • the slave clock time-base controller 21 may for instance be connected with a controller output 210 to a control input 220 of the slave clock 22, via which a clock control signal may be outputted to the slave clock 22.
  • the slave clock time-base controller 21 may for example form part of a second node 20 which further includes the slave clock 22 to which the slave clock time-base controller 21 is connected.
  • the slave clock time-base controller 21 may control the slave clock 22 in any manner suitable for the specific implementation.
  • the slave clock time-base controller 21 may for instance include a clock controller 23.
  • the clock controller 23 may be connected with a first controller input 230 to an input 201 of the second node 20 (which in turn may be connected to a selected first node 1 1 ).
  • a second controller input 231 may be connected to another input 202 of the second node 20.
  • a clock controller output 232 may be connected to the control input 220 of the slave clock 22.
  • the clock controller 23 may receive, via the controller input 230 or 231 , the time information from the selected master clock 1 12, for example from the synchronisation units 1 13 in the first node 1 1 to which the selected master clock 1 12 belongs, from hereon referred to as the selected first node 1 1 .
  • the clock controller 23 may compare the time-state of the slave clock 22 with the received time information. Based on the comparison, the clock controller 23 may adjust one or more parameters of the slave clock 22, via the controller output 232.
  • the time information from the master clock(s) 1 12,122 may be transmitted to the slave clock time-base controller 21 in any suitable manner.
  • each of the first nodes 1 1 ,12 in the first sub-network 2 may transmit data representing information about the time-base, such as the phase and frequency thereof, of one or more of the master clocks 1 12,122 used by the respective first node 1 1 ,12.
  • the data may for example include the current time indicated by the local clock(s) 1 12 of the respective first node 1 1 .
  • the first nodes 1 1 ,12 may transmit clock data representing a current state of the master clock(s) 1 12,122 used by the respective node to other first nodes 1 1 ,12.
  • the first nodes 1 1 ,12 may further send the clock data to the second nodes 20.
  • the first nodes 1 1 ,12 may, for example, transmit a broadcast message to the nodes 1 1 ,12,20 in the network 1 .
  • the broadcast message may includes the current time indicated by the local clock(s) 1 12 of the respective first node 1 1 .
  • the first nodes 1 1 ,12 may transmit the information in any suitable manner.
  • the slave clock controller 21 may for example be connected to the first nodes 1 1 ,12 in such a manner that the slave clock controller 21 can receive messages from the first nodes 1 1 ,12 and process the messages originating from one or more of the first nodes 1 1 ,12.
  • the slave clock controller 21 may set the time-base of the slave clock 22 in accordance with the time-base indicated by the message corresponding to the selected master clock 1 1 .
  • the first nodes 1 1 ,12 may broadcast respective messages to the nodes 1 1 ,12,20 in the network 1 .
  • the slave clock controller 21 may then select the messages which originate from the selected first node 1 1 , for example based on the network address of the selected first node 1 1 .
  • the broadcast message may for example include the current time indicated by the respective master clock(s) 112 or another parameter suitable to control the time-base.
  • the first nodes 1 1 ,12 may also, or alternatively, transmit the message in another manner and for example transmit the message only to a selected number of nodes 1 1 ,12 and 20 in the network 1 , e.g. by transmitting the message to a specified address in the network 1 .
  • the clock controller 23 may set the time and/or clock rate of the slave clock 22 to a time-stamp included in a message, e.g. originating from the selected first node 1 1 , received at the respective input 201 ,202 of the second node 20.
  • the time stamp may for example include values for the frequency (or rate) and/or the phase (or offset) of the selected master clock 1 12.
  • the frequency (or rate) and/or the phase (or offset) of the slave clock 22 may then be set to the values in the time-stamp.
  • the clock controller 23 may also perform a correction to the time-stamp. The correction may for example take into account the delay between the generation of the values and the reception by the clock controller 23.
  • the selected master clock 1 12 may be selected in any manner suitable for the specific implementation.
  • the slave clock time-base controller 21 may be preconfigured, prior to operation of the slave clock time-base controller 21 , to select, as the selected master clock 1 12, a pre-selected one of the master clocks 1 12,122.
  • the slave clock controller 23 may include a memory in which a predetermined network address of the node 1 1 with the select master clock 122 is pre-stored. The slave clock controller 23 may then, for example, receive time information from the other first nodes 1 1 ,12 in the network 1 , but only use the messages originating from the node corresponding to the pre-stored address.
  • the slave clock time-base controller 21 may be configured to dynamically select the selected master clock 1 12, for example based on the received time information.
  • the clock controller 23 may for example determine which master clock 1 1 ,12 is selected, for instance from address information in messages containing the time-information received from the respective first nodes 1 1 ,12. The clock controller 23 may then control the slave clock 22 in accordance with the time information from the thus selected master clock.
  • the clock controller 23 may also determine the reliability of the time information received from a master clock, e.g. from the selected master clock. For example, the clock controller 23 may determine the difference in time indicated by the time information from two or more master clocks and compare this difference with a threshold value or other suitable criterion. In case the difference exceeds the threshold, the clock controller 23 may initiate an action, such as a reselection of the master clock, a change of the mode of the slave node into receiving only, a termination of the synchronisation of the slave clock to the master clock, or another suitable action.
  • the slave clock time-base controller 21 may for example select the selected master clock based on the received time information in any manner suitable for the specific implementation. In the example of FIG.
  • each of the second node inputs 201 ,202 may be connected to a respective one of the first nodes 1 1 ,12.
  • the term 'connected to a first node' is used for sake of clarity and briefness. However, it will be apparent that this may be any (direct or indirect) connection to a source of timing information from a (selected) master clock.
  • the slave clock time-base controller 21 can receive time information from the different first nodes 1 1 ,12 via the inputs 201 ,202.
  • the slave clock time-base controller 21 may for example be configured to select, as the selected master clock 1 12, a master clock from which the time information is received first.
  • the slave clock time-base controller 21 may select as the selected master clock, the master clock 1 12 corresponding to the first time-information received by the slave clock time-base controller 21 after a triggering event, such as a start-up of the second node 20 or a re-initialization of the slave clock time base.
  • a triggering event such as a start-up of the second node 20 or a re-initialization of the slave clock time base.
  • the slave clock time-base controller 21 may be configured to control an operational mode of a unit, such as the second node 20, which includes one or more of the slave clocks 22.
  • the slave clock time-base controller 21 may for example include a mode controller 26 which can control the operational mode of other components in the second node 20, such as of one or more processors 27 or the slave clock controller 23.
  • a processor 27 is connected with a clock input 270 to the slave clock 22.
  • a mode control input 271 of the processor 27 is connected to a control output 262 of the mode controller 26.
  • the mode controller 26 can control the mode of the processor 27, and for example switch the processor 27 from a transmitting mode in which the processor 27 can transmit data to other nodes in the network 1 to a non-transmitting mode in which the processor 27 cannot transmit data.
  • the processor 27 may for example, in the non-transmitting mode, still be able to process data received from other nodes in the network 1 .
  • the slave clock time-base controller 21 may for instance be configured to change the operation mode when a period of time exceeding a threshold value has elapsed after the last time the time information has been received. Thereby, for example, it may be prevented that the second node 20 operates with an unreliable time base.
  • an input 260 of the mode controller 26 is connected to a timer 24.
  • the timer 24 may indicate the period of time lapsed after the last reception of time information, e.g. of a time message from the selected master node.
  • the mode controller may reset the timer each time the time information from the selected master clock 1 12 is received.
  • the mode controller 26 may compare the lapsed period of time indicated by the timer 24 with a time-out threshold value.
  • the time-out threshold value may for instance be set to a value corresponding to the time interval between successive time-information messages from a source of the time information which periodically transmits the time information.
  • the mode controller 26 may switch the respective components, such as the processor 27 and/or the clock controller 23 to another mode, such as the non-transmitting mode, when the period indicated by the timer 23 exceeds the time-out threshold value.
  • the mode controller 26 may for instance switch the processor 27 to the non-transmitting mode and switch the slave clock controller 23 to a time-base selection mode in which the slave clock controller 23 selects a suitable master clock, for example by selecting the master clock from which time-information is received the first after the slave clock controller 23 has been put in the selection mode.
  • FIG. 4 schematically shows a flow chart of an example of a method which may be performed.
  • decision block 401 it may be determined, as illustrated with decision block 401 , whether or not a message containing time-information about a time-base of a master clock has been received. When no such message is received, decision block 401 may be performed again.
  • decision block 402 it may be determined whether or not the message is syntactically correct. When the message is syntactically incorrect, as indicated with the arrows, the flow is returned to decision block 401 again.
  • the master clock 1 12 to which the time-information relates may be selected as the selected master clock, as indicated with block 403 in FIG. 4.
  • the time base TB of the slave clock may then be set to the time-base indicated in the message, as indicated with block 404 in FIG. 4. If, as indicated with block 405 in FIG. 4, a time-out period has elapsed after reception of the message, transmission of data by the second node 20 to which the slave clock 22 belongs may be inhibited, as is shown with block 406. Thereafter, the flow is returned to the decision block 401 .
  • the synchronisation system 13 may be implemented in any manner suitable for the specific implementation. As for example shown in FIG. 6, the synchronisation system 13 may be implemented as separate from but, directly or indirectly, connected to the first nodes 1 1 ,12.
  • the synchronisation system 13 may use information about the current time-base of the master clocks 1 12,122 to determine the time-base for the master clocks 1 12,122. For example, as indicated in FIG. 6 with the two-way arrows, the synchronisation system 13 may receive data about the current time-base from the respective nodes 1 1 and transmit data representing the determined time-base to the nodes 1 1 in which the respective master clock 1 12,122 is present. The synchronisation system 13 may for instance determine a common time- base from information about the master clocks 1 12. The synchronisation system 13 may be connected to the master clocks 1 12 and receive clock data which represents the information about the master clocks 1 12. As shown in FIG.
  • the network 1 may for example include two or more first nodes 1 1 ,12 connected to the synchronisation system 13 and which are able to transmit clock data to the synchronisation system 13.
  • the synchronisation system 13 may determine the common time-base from the clock data received from the respective first nodes 1 1 ,12.
  • the synchronisation system 13 may further control the master clocks 1 12,122 based on the determined common time- base.
  • the master clocks 1 12,122 may be synchronised by the synchronisation system 13 according to the determined common time-base. Thereby, a current time-base of a master clock 1 12 may be deemed to be the common time-base, because the master clock 1 12 is synchronized.
  • the synchronisation system 13 may be configured to determine the common time-base without using the time-base of one or more of the slave clocks 22.
  • the synchronisation system 13 may be inhibited from using a time-base of the slave clock 22 of one, or more than one, or all the second nodes 20 to determine said common time-base in any suitable manner.
  • the second clocks 22 may be connected to the bus 14, via the slave clock time- base controller 21 , only to receive the time-base information via the network 1 and be inhibited from transmitting information to the synchronisation system.
  • the synchronisation system 13 may be arranged to determine the common time-base without, at least partially, using the time-base of one or more of the slave clocks 22.
  • the slave clocks 22 can be prevented from affecting the common time-base and accordingly from affecting the synchronisation of the first nodes 1 1 ,12.
  • the synchronisation system 13 may be configured to use time-base data from a set of selected nodes only, which set excludes the second nodes 20 present in the network 1 .
  • the inhibited slave clocks 22 may for example be present in second node(s) 20 which are of a less reliable type or be less critical to the network 1 .
  • the accuracy of the slave clocks 22 is less than the accuracy of the master clocks 1 12,122, the respective slave clocks 22 may be inhibited. Thereby, the accuracy of the common time-base may be increased.
  • the slave clocks 22 in these second nodes may be inhibited. Thereby, the chance that a break down of a node affects the synchronisation may be reduced.
  • the synchronisation system 13 may, for example, include a separate synchronisation unit 1 13,123 connected to a respective master clock 1 12,122.
  • the synchronisation unit 1 13,123 may for example be present in the same first node 1 1 ,12 as the respective master clock 1 12,122.
  • Each of the first nodes 1 1 ,12 may be able to transmit clock data to one or more of the other first nodes 1 1 ,12.
  • the synchronisation unit 1 13,123 in the respective receiving first node 1 1 ,12 may determine a common time-base from the thus received clock data from one or more of the other first nodes 1 1 ,12.
  • the master clocks 1 12,122 of the first nodes 1 1 ,12 in the network 1 may be synchronised by the respective synchronisation unit 1 13 according to the determined common time-base.
  • the first nodes 1 1 ,12 may for example transmit to other first nodes 1 1 ,12 clock data representing a current state of the master clock(s) 1 12,122 belonging to the respective node.
  • the first nodes 1 1 ,12 may further send the clock data to the second nodes 20.
  • the first nodes 1 1 ,12 may e.g. as mentioned transmit a broadcast message to the nodes 1 1 ,12,20 in the network 1 .
  • the broadcast message may include the current time indicated by the local clock(s) 1 12 of the respective first node 1 1 .
  • the synchronisation unit 1 13,123 in the respective receiving first node 1 1 ,12 may then determine a common time-base from the data in the message.
  • the synchronisation unit 1 13,123 in the respective receiving first node 1 1 ,12 may for example determine an average of the current time indicated in the received messages and use the average as the common time.
  • the synchronisation unit 1 13,123 may determine a common time in any manner suitable for the specific implementation. For instance, in case the first nodes 1 1 ,12 are compliant or compatible with the FlexRay standard, the synchronisation unit 1 13,123 may, for example, determine a common time in a manner compliant or compatible with the FlexRay standard.
  • the master clocks 1 12,122 in the network 1 may be synchronised by the respective synchronisation unit 1 13 according to the determined common time-base.
  • the master clock 1 12 may be, within a margin or error, similar to the common time-base and accordingly, the current time indicated by a, synchronised, master clock 1 12 may be deemed to be the common time-base.
  • the master clocks 1 12,122 may be synchronised by the respective synchronisation unit 1 13,123 to the common time-base in any manner suitable for the specific implementation.
  • one or more other parameters of the master clock 1 12,122, such as frequency and/or phase may be set by the respective synchronisation unit 1 13,123 to a value corresponding to the common-time base.
  • the time of the master clock 1 12,122 may be set to a time-stamp included in a message received at the respective node 1 1 ,12.
  • the synchronisation of the master clocks 1 12,122 of the respective first node 1 1 ,12 may include comparing the state of the master clock 1 12,122 with the determined common time-base, and adjusting one or more parameters of the master clock 1 12,122 when a predetermined adjustment criterion is satisfied.
  • the time of the master clock 1 12,122 may be adjusted when the difference between the state of the respective master clock 1 12,122 and the determined common time-base exceeds a predetermined adjustment criterion.
  • the second sub-network 2 may include two or more second nodes 20. In such case, the second nodes 20 may have the same selected master clock 1 12. However, it is also possible that the second nodes 20 each have a different selected master clock 1 12. Thereby reliability of the second sub-network 3 may be improved.
  • the second nodes 20 may for example include a selection unit which determines the selected master clock 1 12 based on one or more suitable selection criteria. Thereby, the reliability may be improved since the second nodes 20 can select a suitable selected master clock 1 12 depending on the specific configuration of the network 1 or conditions in the network 1 .
  • the selection unit may for example select the node 1 1 corresponding to the selected master clock 1 12 during initialization and maintain the selection of the selected master clock 1 12 during the entire operation. For example, the unit may select the first nodes 1 1 from which the second synchronisation data is received prior to the synchronisation.
  • the selection unit may also dynamically select the node 1 1 during operation of the second node 20.
  • the selection of the selected master clocks 1 12,122 may, for example, be preconfigured prior to the operation of the respective second node 20.
  • the construction of the second node 20 may be of a relatively simple design.
  • the second node 20 may for instance include a writable or non-writable memory (not shown in FIG. 1 ) in which an identification of the first nodes 1 1 with the selected master clocks 1 12 is stored. The identification may for example be stored during manufacturing or in an adaptive mode configuring the node after manufacturing of the respective second node.
  • the memory may for example be a writable memory which can be written before the second node 20 is connected to the network 1 .
  • the second node 20 may be flexible, since the memory can be configured to match the specific type of network 1 , while the design of the second node 20 may remain relatively simple.
  • the network 1 may include two or more slave clocks controlled by one or more slave clock time-base controllers 21 based on selected clock synchronisation data derived from time information of different selected master clocks 1 12. For instance, as shown in FIG. 7, some second nodes 20 ! ...2O 3 may have selected the master clock belonging to a first node H 1 and some second nodes 2O 4 , 2O 5 may have selected the master clock belonging to another first node 1 1 2 .
  • the first nodes 1 1 i ,1 1 2 may for example act as a gateway to the first sub-network 1 for the respective second nodes 20i ...20 3 ;20 4 ,20 5 .
  • the first sub-network 1 and the second sub-network 2 may operate according to different network protocols.
  • the first sub-network 1 may be fully compliant with the FlexRay standard
  • the second sub-network 2 may be compatible, but not compliant with the FlexRay standard.
  • the second sub-network 2 may be physically separated from, but connected to the first sub-network 2, e.g. via the gate way nodes 1 1 i ,1 1 2 .
  • the first subnetwork 2 and the second sub-network 3 may share network resources and hence not be separated physically from each other.
  • the sub-networks 2,3 may for example share the data communication connections between the nodes 1 1 1 ,1 1 2 ,2O 1 ...20 3 ;20 4 ,20 5 .
  • the second sub-network 3 may be regarded as a virtual sub-network.
  • the first node 1 1 may include an master clock 1 12 which can generate a clock signal.
  • the first node 1 1 may further include a processor 1 15 may be connected with a clock input 1 150 to an output 1 120 of the master clock 1 12.
  • a clock signal may be outputted.
  • the outputted clock signal can be used by the processor 1 15, for example to schedule or time the processing of data.
  • the processor 1 15 may have a processor input/output port (I/O) 1 151 which is connected to the communication port 1 10.
  • the processor 1 15 may, for example, output data to other nodes or receive data from other nodes, via the communication port 1 10 and the bus 14 for example.
  • the first node 1 1 may include a synchronisation unit 1 13 connectable to one or more other first nodes 1 1 ,12 and connected to the master clock 1 12.
  • the synchronisation unit 1 13 may receive timing information about the timing of one or more of the other first nodes 1 1 ,12 and determine a common time-base using the received timing information.
  • the master clock 1 12 may subsequently be adjusted to the common time-base.
  • the synchronisation unit 1 13 may adjust the master clock 1 12 when a difference between the timing of the master clock 1 12 and the common time-base exceeds a threshold or set the state of the master clock 1 12 to the determined common time-base.
  • FIG. 1 illustrates the example of FIG.
  • the synchronisation unit 1 13 is connected with a controller input 1 130 to the synchronisation port 1 1 1 .
  • the synchronisation port 1 1 1 may be connected to the other first nodes 1 1 ,12. e.g. via the bus 14.
  • a separate synchronisation port 1 1 1 is shown for illustrative purposes. However, it will be apparent that the synchronisation port 1 1 1 and the communication port 1 10 may be the same.
  • the synchronisation unit 1 13 can receive the timing information from other first nodes 1 1 ,12 the controller input 1 131 .
  • the synchronisation unit 1 13 is connected with a controller output 1 132 to a control input 1 122 of the master clock 1 12.
  • the synchronisation unit 1 13 can adjust the master clock 1 12 based on the determined common time-base, by transmitting the clock control signal to the control input 1 122.
  • the first node 1 1 may include, as shown in FIG. 3, a slave synchronisation unit 1 14.
  • the slave synchronisation unit 1 14 can generate a slave clock synchronisation signal based on the common time-base.
  • the slave synchronisation unit 1 14 is connected with an input 1 141 to a clock output 1 121 of the master clock 1 12.
  • the slave synchronisation unit 1 14 is connected with an output 1 142 to the communication port 1 10 of the first node 1 1 .
  • Timing information from the master clock contains information about the common- time base, since the master clock 1 12 is synchronised to the common time-base.
  • the slave synchronisation unit 1 14 can receive timing information from the master clock 1 12, and hence information about the common time-base, to generate the slave synchronisation signal.
  • the slave synchronisation unit 1 14 may transmit to at least the second nodes 20 a slave clock synchronisation signal which includes the time of the master clock 1 12.
  • a slave synchronisation unit 1 14 is shown for illustrative purposes.
  • the node 1 1 may include a unit which simultaneously synchronises master clock 1 12 and outputs a synchronisation signal to the second nodes 20, for example by simultaneously transmitting a determined common time base to the master clock 1 12 and the slave clocks 22.
  • the network 1 may be any type of network suitable for the specific implementation.
  • the network may be used to control and/or monitor an aspect of the operation of one or more apparatuses.
  • one or more of the nodes in the network 1 may be control nodes that control or monitor aspects of the operation of an apparatus, such as a vehicle, a robot or other type of apparatus.
  • the first nodes 1 1 may control or monitor aspects which require a high reliability
  • the second nodes 20 may control or monitor aspects which require a lower reliability.
  • the first nodes 1 1 may for example required for operation of the apparatus and the second nodes may control aspects that, when not controlled, will not result in a failure of the overall apparatus.
  • the network 1 may be part of a braking system and the first node may e.g. control the breaking pedal whereas the second nodes may each control the brake on a wheel. Accordingly, if one of these second nodes fails the whole system is still working whereas if the first node is not working the whole breaking system will not function at all.
  • the first nodes 1 1 may for example be controlling an airbag system, a braking system, a seat belt or be part of an air traffic control system, a fly-by-wire system, a life support system or form a central control node in a control system.
  • the second nodes may for example be not-safety critical and for example control the opening of locks or monitor the pressure in a tyre.
  • FIG. 9 shows an example of vehicle 300 provided with safety-critical nodes.
  • the example shown in FIG. 9 includes an engine 302.
  • An engine control node 313 is present which can control and monitor the engine 302.
  • the vehicle further has break control nodes 314 which can control and monitor the breaks 301 .
  • the vehicle 300 further has door lock control nodes 312 which can actuate the locking and unlocking of doors 303 of the vehicle 300.
  • the nodes 312-314 are connected to a control node 31 1 via a connection 315.
  • data can be inputted by a driver of the vehicle, for example by pressing with his or hers foot on a pedal, to control operation of second nodes 20.
  • the human control node 31 1 e.g. the brake pedal, fails this may lead to in death or serious injury to people and/or loss or severe damage to the vehicle, whereas if the door lock control nodes 312 or the engine control node 313 does not function, the consequences are less serious.
  • the human control node 31 1 may be implemented as a first node and the door lock control nodes 312 as second nodes.
  • the invention may be implemented as a kit of parts.
  • the kit may be provided as a set of separate components which can be connected to each other to assemble, for example a time-base controller or to assemble a first node or a second node.
  • the invention may also be implemented in a computer program for running on a computer system, at least may include code portions for performing steps of a method according to the invention when run on a programmable apparatus, such as a computer system or enabling a programmable apparatus to perform functions of a device or system according to the invention.
  • a computer program may be provided on a data carrier, such as a CD-ROM or diskette, stored with data loadable in a memory of a computer system, the data representing the computer program.
  • the data carrier may further be a data connection, such as a cable or a wireless connection.
  • the network may be used to control an apparatus, and for example include an industrial control system of form part of a manufacturing system.
  • the network may be compliant or compatible with one or more standards in the group consisting of: FlexRay, Time Triggered Protocol / Class C (TTP/C), time-triggered communication on CAN (Controller Area Network) protocol (TTCAN).
  • connections may be an type of connection suitable to transfer signals from or to the respective nodes, units or devices.
  • the connections may for example be direction connections or indirect connections.
  • the clocks 1 1 ,12,20 may, for example, be implemented as an internal clock of a node or as an external clock connected to a node.
  • the invention is not limited to physical devices or units implemented in nonprogrammable hardware but can also be applied in programmable devices or units able to perform the desired device functions by operating in accordance with suitable program code.
  • the devices may be physically distributed over a number of apparatuses, while functionally operating as a single device.
  • the second node 20 may be composed of separate components, e.g. integrated circuits, connected to each other to cooperate as the second node 20.
  • devices, units or components functionally forming separate devices, units or components may be integrated in a single physical device.
  • FIG. 2 two separate second node inputs 201 ,202 are shown for illustrative purposes.
  • the second node 20 may have a single physical node input connected to e.g.
  • a network module which separates signals from different first nodes 1 1 , e.g. based on the network address from which the respective signals originate.
  • the clock controller 23 and/or the state controller 24 and/or the memory 25 and/or the mode controller 26 may be implemented as a single integrated circuit.
  • any reference signs placed between parentheses shall not be construed as limiting the claim. The word 'comprising' does not exclude the presence of other elements or steps then those listed in a claim.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

A data communication network (1 ) may include two or more master clocks (112,122), and a synchronisation system (13) connected to the master clocks. The synchronisation system (13) may determine a time-base for the master clocks. The synchronisation system (13) may control the master clocks according to the determined time-base. The data communication network (1 ) may include one or more slave clocks (22). The slave clocks (22) may be controlled by a slave clock time-base controller (21 ) based on time information of a single selected master clock (112) selected from the master clocks.

Description

Title : Network and method for setting a time-base of a node in the network
Description
Field of the invention
This invention relates to a network, a node for in a network, a time-base controller, a kit of parts, an apparatus, a method for setting a time-base and a computer program product
Background of the invention In communication networks, such as computer networks or other data communication networks, accurate timing is often required, for example to facilitate event synchronization and data correlation. Typically, the nodes in the network include an internal clock which provides a local time-base. In theory, if two internal clocks are initially set to a common time-base and their frequency sources are running at exactly the same rate, they would remain synchronized. In practice, however, clocks are set with limited precision, frequency sources run at different rates due to initial manufacturing tolerance, changes in temperature or pressure, and aging. Because of these inherent instabilities, a repeated synchronization may be used to maintain a correspondence between the local time-bases of the nodes in the network.
To set the nodes in the network to a common time-base, so called 'master-slave synchronisation' is known. In a master-slave synchronisation system, the nodes are connected to a common source. The common source provides a common time-base to the nodes, and hence operates as a master, whereas the nodes set their internal time-base to the received common time- base and hence act as slaves. However, a disadvantage of such a synchronisation is that in case the common source fails, the nodes will not be synchronised. For example, International Patent Application WO 2005/1 19951 discloses a method for establishing a global time base in a timed communications system comprising several subscribers. One of the subscribers of the communications system is defined as the time master, with which the remaining subscribers are synchronised. One or more additional subscribers are defined as a substitute time master. Firstly, an attempt is made to synchronise all subscribers of the communications system with the primary time master. If the attempt fails, a next respective substitute time master in a predetermined sequence is selected and an attempt is made to synchronise all subscribers of the communications system with the selected substitute time master. However, a disadvantage of this master system is that while the synchronisation to the primary time master or the substitute time master may succeed, an error in the time base provided by the master will cause a malfunction of the timing in the network.
United States Patent Application Publication US 2005/005469 discloses a network with a master-slave configuration. Timers of a plurality of slave units are synchronized with a timer of the master unit. The network includes a middle hierarchical plane of units which act as slaves for the master unit, and are hence synchronised to the master unit, and as masters for the slave units. The slaves units are synchronised to the timer of a respective unit in this middle hierarchical plane to which they are connected, and hence indirectly to the master unit. However, a disadvantage of the system disclosed in this document is that in case the master unit fails, the entire timing in the network fails.
ERIKSON C ET AL: "A communication protocol for hard and soft real-time systems", REAL- TIME SYSTEMS, 1996, PROCEEDINGS OF THE EIGTH EUROMICRO WORKSHOP ON UAQUILA, ITALY 12-14 JUNE 1996, LOS ALAMITOS, CA, USA, IEEE COMPUT. SOC, US, 12 June 1996, pages 187-192, discloses a data communication system with a rotating master unit, that is during a first period of time a first unit acts as a master for the nodes in the system and during a second period of time succeeding the first period of time, a second acts as a master for the nodes in the system. However, a disadvantage of the system disclosed in this document is that in case the unit acting as master for the respective period of time fails, the entire timing in the network fails.
Accordingly, a common disadvantage of the prior art systems described above is that in case the master unit fails, the nodes will not be synchronised. As an alternative to the master-slave synchronisation, so called 'distributed synchronisation' is known, for example from United States Patent 5 694 542. In a network with distributed synchronisation, the nodes exchange timing information. Each node determines a time-base from the timing information received from the other nodes and adjusts its internal clock to the determined time-base. However, distributed synchronisation requires complex algorithms to determine the time-base. Furthermore, each node requires a synchronisation unit which can determine the time-base. Accordingly, a disadvantage of distributed synchronisation is that it is complex and requires a large amount of resources.
Summary of the invention The present invention provides a network, a node for in a network, a time-base controller, a kit of parts, an apparatus, a method for controlling a time-base and a computer program product as described in the accompanying claims.
Specific embodiments of the invention are set forth in the dependent claims. These and other aspects of the invention will be apparent from and elucidated with reference to the examples of embodiments described hereinafter.
Brief description of the drawings
Further details, aspects and embodiments of the invention will be described, by way of example only, with reference to the drawings. FIG. 1 shows a block diagram of an example of an embodiment of a network.
FIG. 2 shows a block diagram of an example of an embodiment of a second node. FIG. 3 shows a block diagram of an example of an embodiment of a first node. FIG. 4 schematically a flow-chart of an example of a method for synchronising a second node. FIGs. 5-8 show examples of networks of first and second nodes. FIG. 9 shows a schematic top-view of an example of a vehicle provided with an example of a network.
Detailed description of the preferred embodiments Referring to FIG. 1 , a data communication network 1 is shown which includes a first subnetwork 2 and a second sub-network 3. As shown in this example, the first sub-network 2 may for instance include one, two, or more than two first nodes 1 1 ,12. The second network 3 may include one or more second nodes 20. (In the example, two nodes 20 are shown, however it will be apparent that another number may likewise be present.) The network 1 may have any suitable topology and the first node(s) 1 1 ,12 and the second node(s) 20 may be connected to each other in any suitable manner. For instance, as shown in FIG. 1 , the first nodes 1 1 may be connected to a bus 14 with respective communication ports 1 10,120 and the second node 20 may, for example, be connected to the bus 14 with a communication port 200. However, the nodes 1 1 ,12,20 may be connected to each other via other types of connections. In the example of FIG. 1 , the nodes of the first sub-network 2 and the second sub-network 3 are shown spatially separated from each other. However, the first sub-network 2 and the second sub-network 3 may have a spatial overlap. For example, the first nodes 1 1 ,12 and the second nodes 20 may be positioned in an interdigitated arrangement and/or first nodes 1 1 ,12 may be present at the same location as second nodes 20. It should be noted that the term 'node' as used in this application at least refers to any arrangement, including one or more elements, in a data communication network which provides network related functions and is administered as an entity in the network. A node may for example include a general purpose computer, a router, a switch, a bridge or other type of node.
The first nodes 11 ,12 may be of a different type than the second nodes 20 and/or the first sub-network 2 may be compliant with one or more standards which are different from one or more of the standards to which the second sub-network 3 complies. For instance, one or more of the first nodes 1 1 ,12 may be a node as defined in the FlexRay standard and/or one or more of the second nodes 20 may for example be a node which supports only parts of the FlexRay standard. However, it will be apparent that the invention is not limited thereto and that one or more of the nodes 1 1 ,12 in the first sub-network 2 and/or one or more of the nodes 20 in the second sub-network 3 may be other types of physical nodes or logical nodes.
As shown in FIG. 1 , the first sub-network 2 may include two or more master clocks 1 12,122, and a synchronisation system 13 which is connected to the master clocks 1 12,122. The synchronisation system 13 can determine a time-base for the master clocks 1 12,122 and control the master clocks 1 12, 122 according to said determined time-base. Thereby, the clocks 1 12,122 can be synchronised to the determined time-base and hence to each other. As shown in the example of FIG. 1 , the master clocks 1 12,122 may be provided in different first nodes 1 1 ,12 and the synchronisation system 13 may include synchronisation units 1 13 in different first nodes 1 1 ,12. However, it is also possible that a node 1 1 ,12 includes two or more master clocks 1 12,122. As shown in FIG. 1 , the second sub-network 3 may be connected to the first sub-network 2 and may include one or more slave clocks 22. In the example of FIG. 1 , for instance, two slave clocks 22 are shown, each present in a different second node 20. However, it is also possible that one or more of the second nodes 20 each include two or more slave clocks 22. As is explained below in more detail, the slave clocks 22 may be connected to a slave clock time-base controller 21 . The slave clock time-base controller 21 may control the time base of the slave clock 22 based on time information from a single selected master clock 1 12. Thereby, the slave clock time-base controller 21 does not need to have a complex synchronisation system to determine the time-base suitable to synchronise the second clock 22, and accordingly the slave clock time-base controller 21 may be of a relatively simple design. Furthermore, the time-base of the second clock 22 may be controlled in a reliable manner.
The slave clock time-base controller 21 may be implemented in any manner suitable for the specific implementation. The slave clock time-base controller 21 may for example be connected to the slave clock 22, and control the slave clock 22 based on the time-base information from the selected master clock 1 12. As shown in the example of FIG. 2, the slave clock time-base controller 21 may for instance be connected with a controller output 210 to a control input 220 of the slave clock 22, via which a clock control signal may be outputted to the slave clock 22. As shown in FIG. 2, the slave clock time-base controller 21 may for example form part of a second node 20 which further includes the slave clock 22 to which the slave clock time-base controller 21 is connected.
The slave clock time-base controller 21 may control the slave clock 22 in any manner suitable for the specific implementation. The slave clock time-base controller 21 may for instance include a clock controller 23. As shown in FIG. 2, the clock controller 23 may be connected with a first controller input 230 to an input 201 of the second node 20 (which in turn may be connected to a selected first node 1 1 ). A second controller input 231 may be connected to another input 202 of the second node 20. A clock controller output 232 may be connected to the control input 220 of the slave clock 22.
The clock controller 23 may receive, via the controller input 230 or 231 , the time information from the selected master clock 1 12, for example from the synchronisation units 1 13 in the first node 1 1 to which the selected master clock 1 12 belongs, from hereon referred to as the selected first node 1 1 . The clock controller 23 may compare the time-state of the slave clock 22 with the received time information. Based on the comparison, the clock controller 23 may adjust one or more parameters of the slave clock 22, via the controller output 232. The time information from the master clock(s) 1 12,122 may be transmitted to the slave clock time-base controller 21 in any suitable manner. For instance, each of the first nodes 1 1 ,12 in the first sub-network 2 may transmit data representing information about the time-base, such as the phase and frequency thereof, of one or more of the master clocks 1 12,122 used by the respective first node 1 1 ,12. The data may for example include the current time indicated by the local clock(s) 1 12 of the respective first node 1 1 . For instance, the first nodes 1 1 ,12 may transmit clock data representing a current state of the master clock(s) 1 12,122 used by the respective node to other first nodes 1 1 ,12. The first nodes 1 1 ,12 may further send the clock data to the second nodes 20. The first nodes 1 1 ,12 may, for example, transmit a broadcast message to the nodes 1 1 ,12,20 in the network 1 . The broadcast message may includes the current time indicated by the local clock(s) 1 12 of the respective first node 1 1 . However, the first nodes 1 1 ,12 may transmit the information in any suitable manner.
The slave clock controller 21 may for example be connected to the first nodes 1 1 ,12 in such a manner that the slave clock controller 21 can receive messages from the first nodes 1 1 ,12 and process the messages originating from one or more of the first nodes 1 1 ,12. The slave clock controller 21 may set the time-base of the slave clock 22 in accordance with the time-base indicated by the message corresponding to the selected master clock 1 1 . For instance, the first nodes 1 1 ,12 may broadcast respective messages to the nodes 1 1 ,12,20 in the network 1 . The slave clock controller 21 may then select the messages which originate from the selected first node 1 1 , for example based on the network address of the selected first node 1 1 . The broadcast message may for example include the current time indicated by the respective master clock(s) 112 or another parameter suitable to control the time-base. The first nodes 1 1 ,12 may also, or alternatively, transmit the message in another manner and for example transmit the message only to a selected number of nodes 1 1 ,12 and 20 in the network 1 , e.g. by transmitting the message to a specified address in the network 1 . For instance, the clock controller 23 may set the time and/or clock rate of the slave clock 22 to a time-stamp included in a message, e.g. originating from the selected first node 1 1 , received at the respective input 201 ,202 of the second node 20. The time stamp may for example include values for the frequency (or rate) and/or the phase (or offset) of the selected master clock 1 12. The frequency (or rate) and/or the phase (or offset) of the slave clock 22 may then be set to the values in the time-stamp. The clock controller 23 may also perform a correction to the time-stamp. The correction may for example take into account the delay between the generation of the values and the reception by the clock controller 23.
The selected master clock 1 12 may be selected in any manner suitable for the specific implementation. For example, the slave clock time-base controller 21 may be preconfigured, prior to operation of the slave clock time-base controller 21 , to select, as the selected master clock 1 12, a pre-selected one of the master clocks 1 12,122. For instance, the slave clock controller 23 may include a memory in which a predetermined network address of the node 1 1 with the select master clock 122 is pre-stored. The slave clock controller 23 may then, for example, receive time information from the other first nodes 1 1 ,12 in the network 1 , but only use the messages originating from the node corresponding to the pre-stored address.
Alternatively, the slave clock time-base controller 21 may be configured to dynamically select the selected master clock 1 12, for example based on the received time information. In the example of fig. 2, the clock controller 23 may for example determine which master clock 1 1 ,12 is selected, for instance from address information in messages containing the time-information received from the respective first nodes 1 1 ,12. The clock controller 23 may then control the slave clock 22 in accordance with the time information from the thus selected master clock.
The clock controller 23 may also determine the reliability of the time information received from a master clock, e.g. from the selected master clock. For example, the clock controller 23 may determine the difference in time indicated by the time information from two or more master clocks and compare this difference with a threshold value or other suitable criterion. In case the difference exceeds the threshold, the clock controller 23 may initiate an action, such as a reselection of the master clock, a change of the mode of the slave node into receiving only, a termination of the synchronisation of the slave clock to the master clock, or another suitable action. The slave clock time-base controller 21 may for example select the selected master clock based on the received time information in any manner suitable for the specific implementation. In the example of FIG. 2, for instance, each of the second node inputs 201 ,202 may be connected to a respective one of the first nodes 1 1 ,12. (In the following, the term 'connected to a first node' is used for sake of clarity and briefness. However, it will be apparent that this may be any (direct or indirect) connection to a source of timing information from a (selected) master clock.) The slave clock time-base controller 21 can receive time information from the different first nodes 1 1 ,12 via the inputs 201 ,202. The slave clock time-base controller 21 may for example be configured to select, as the selected master clock 1 12, a master clock from which the time information is received first. For instance, the slave clock time-base controller 21 may select as the selected master clock, the master clock 1 12 corresponding to the first time-information received by the slave clock time-base controller 21 after a triggering event, such as a start-up of the second node 20 or a re-initialization of the slave clock time base.
The slave clock time-base controller 21 may be configured to control an operational mode of a unit, such as the second node 20, which includes one or more of the slave clocks 22. As shown in FIG. 2, the slave clock time-base controller 21 may for example include a mode controller 26 which can control the operational mode of other components in the second node 20, such as of one or more processors 27 or the slave clock controller 23. In the example of FIG. 2, for instance, a processor 27 is connected with a clock input 270 to the slave clock 22. A mode control input 271 of the processor 27 is connected to a control output 262 of the mode controller 26. The mode controller 26 can control the mode of the processor 27, and for example switch the processor 27 from a transmitting mode in which the processor 27 can transmit data to other nodes in the network 1 to a non-transmitting mode in which the processor 27 cannot transmit data. The processor 27 may for example, in the non-transmitting mode, still be able to process data received from other nodes in the network 1 . The slave clock time-base controller 21 may for instance be configured to change the operation mode when a period of time exceeding a threshold value has elapsed after the last time the time information has been received. Thereby, for example, it may be prevented that the second node 20 operates with an unreliable time base. In the example of fig. 2, for instance, an input 260 of the mode controller 26 is connected to a timer 24. The timer 24 may indicate the period of time lapsed after the last reception of time information, e.g. of a time message from the selected master node. The mode controller may reset the timer each time the time information from the selected master clock 1 12 is received. The mode controller 26 may compare the lapsed period of time indicated by the timer 24 with a time-out threshold value. The time-out threshold value may for instance be set to a value corresponding to the time interval between successive time-information messages from a source of the time information which periodically transmits the time information. The mode controller 26 may switch the respective components, such as the processor 27 and/or the clock controller 23 to another mode, such as the non-transmitting mode, when the period indicated by the timer 23 exceeds the time-out threshold value. The mode controller 26 may for instance switch the processor 27 to the non-transmitting mode and switch the slave clock controller 23 to a time-base selection mode in which the slave clock controller 23 selects a suitable master clock, for example by selecting the master clock from which time-information is received the first after the slave clock controller 23 has been put in the selection mode.
FIG. 4 schematically shows a flow chart of an example of a method which may be performed. As shown in FIG. 4, after an initialisation step 400, it may be determined, as illustrated with decision block 401 , whether or not a message containing time-information about a time-base of a master clock has been received. When no such message is received, decision block 401 may be performed again. When a message has been received, as illustrated with decision block 402, it may be determined whether or not the message is syntactically correct. When the message is syntactically incorrect, as indicated with the arrows, the flow is returned to decision block 401 again. When the message is correct, the master clock 1 12 to which the time-information relates may be selected as the selected master clock, as indicated with block 403 in FIG. 4. The time base TB of the slave clock may then be set to the time-base indicated in the message, as indicated with block 404 in FIG. 4. If, as indicated with block 405 in FIG. 4, a time-out period has elapsed after reception of the message, transmission of data by the second node 20 to which the slave clock 22 belongs may be inhibited, as is shown with block 406. Thereafter, the flow is returned to the decision block 401 .
The synchronisation system 13 may be implemented in any manner suitable for the specific implementation. As for example shown in FIG. 6, the synchronisation system 13 may be implemented as separate from but, directly or indirectly, connected to the first nodes 1 1 ,12.
As shown in FIGs. 1 ,5 and 6 the synchronisation system 13 may use information about the current time-base of the master clocks 1 12,122 to determine the time-base for the master clocks 1 12,122. For example, as indicated in FIG. 6 with the two-way arrows, the synchronisation system 13 may receive data about the current time-base from the respective nodes 1 1 and transmit data representing the determined time-base to the nodes 1 1 in which the respective master clock 1 12,122 is present. The synchronisation system 13 may for instance determine a common time- base from information about the master clocks 1 12. The synchronisation system 13 may be connected to the master clocks 1 12 and receive clock data which represents the information about the master clocks 1 12. As shown in FIG. 1 , the network 1 may for example include two or more first nodes 1 1 ,12 connected to the synchronisation system 13 and which are able to transmit clock data to the synchronisation system 13. The synchronisation system 13 may determine the common time-base from the clock data received from the respective first nodes 1 1 ,12. The synchronisation system 13 may further control the master clocks 1 12,122 based on the determined common time- base. For example, the master clocks 1 12,122 may be synchronised by the synchronisation system 13 according to the determined common time-base. Thereby, a current time-base of a master clock 1 12 may be deemed to be the common time-base, because the master clock 1 12 is synchronized.
The synchronisation system 13 may be configured to determine the common time-base without using the time-base of one or more of the slave clocks 22. The synchronisation system 13 may be inhibited from using a time-base of the slave clock 22 of one, or more than one, or all the second nodes 20 to determine said common time-base in any suitable manner. For instance, in the example of FIG. 1 , the second clocks 22 may be connected to the bus 14, via the slave clock time- base controller 21 , only to receive the time-base information via the network 1 and be inhibited from transmitting information to the synchronisation system. Accordingly, the synchronisation system 13 may be arranged to determine the common time-base without, at least partially, using the time-base of one or more of the slave clocks 22. Thereby, the slave clocks 22 can be prevented from affecting the common time-base and accordingly from affecting the synchronisation of the first nodes 1 1 ,12. For instance, the synchronisation system 13 may be configured to use time-base data from a set of selected nodes only, which set excludes the second nodes 20 present in the network 1 . The inhibited slave clocks 22 may for example be present in second node(s) 20 which are of a less reliable type or be less critical to the network 1 . For instance, in case the accuracy of the slave clocks 22 is less than the accuracy of the master clocks 1 12,122, the respective slave clocks 22 may be inhibited. Thereby, the accuracy of the common time-base may be increased. Also, in case the second nodes 20 have a relatively high risk of failure, the slave clocks 22 in these second nodes may be inhibited. Thereby, the chance that a break down of a node affects the synchronisation may be reduced.
As illustrated in FIGs. 1 and 5, the synchronisation system 13 may, for example, include a separate synchronisation unit 1 13,123 connected to a respective master clock 1 12,122. The synchronisation unit 1 13,123 may for example be present in the same first node 1 1 ,12 as the respective master clock 1 12,122. Each of the first nodes 1 1 ,12 may be able to transmit clock data to one or more of the other first nodes 1 1 ,12. The synchronisation unit 1 13,123 in the respective receiving first node 1 1 ,12 may determine a common time-base from the thus received clock data from one or more of the other first nodes 1 1 ,12. The master clocks 1 12,122 of the first nodes 1 1 ,12 in the network 1 may be synchronised by the respective synchronisation unit 1 13 according to the determined common time-base. The first nodes 1 1 ,12 may for example transmit to other first nodes 1 1 ,12 clock data representing a current state of the master clock(s) 1 12,122 belonging to the respective node. The first nodes 1 1 ,12 may further send the clock data to the second nodes 20. The first nodes 1 1 ,12 may e.g. as mentioned transmit a broadcast message to the nodes 1 1 ,12,20 in the network 1 . The broadcast message may include the current time indicated by the local clock(s) 1 12 of the respective first node 1 1 . The synchronisation unit 1 13,123 in the respective receiving first node 1 1 ,12 may then determine a common time-base from the data in the message. The synchronisation unit 1 13,123 in the respective receiving first node 1 1 ,12 may for example determine an average of the current time indicated in the received messages and use the average as the common time. However, the synchronisation unit 1 13,123 may determine a common time in any manner suitable for the specific implementation. For instance, in case the first nodes 1 1 ,12 are compliant or compatible with the FlexRay standard, the synchronisation unit 1 13,123 may, for example, determine a common time in a manner compliant or compatible with the FlexRay standard.
The master clocks 1 12,122 in the network 1 may be synchronised by the respective synchronisation unit 1 13 according to the determined common time-base. Thus, the master clock 1 12 may be, within a margin or error, similar to the common time-base and accordingly, the current time indicated by a, synchronised, master clock 1 12 may be deemed to be the common time-base. The master clocks 1 12,122 may be synchronised by the respective synchronisation unit 1 13,123 to the common time-base in any manner suitable for the specific implementation. For example, one or more other parameters of the master clock 1 12,122, such as frequency and/or phase, may be set by the respective synchronisation unit 1 13,123 to a value corresponding to the common-time base. For instance, the time of the master clock 1 12,122 may be set to a time-stamp included in a message received at the respective node 1 1 ,12. Also, for instance, the synchronisation of the master clocks 1 12,122 of the respective first node 1 1 ,12 may include comparing the state of the master clock 1 12,122 with the determined common time-base, and adjusting one or more parameters of the master clock 1 12,122 when a predetermined adjustment criterion is satisfied. For example, the time of the master clock 1 12,122 may be adjusted when the difference between the state of the respective master clock 1 12,122 and the determined common time-base exceeds a predetermined adjustment criterion. The second sub-network 2 may include two or more second nodes 20. In such case, the second nodes 20 may have the same selected master clock 1 12. However, it is also possible that the second nodes 20 each have a different selected master clock 1 12. Thereby reliability of the second sub-network 3 may be improved.
The second nodes 20 may for example include a selection unit which determines the selected master clock 1 12 based on one or more suitable selection criteria. Thereby, the reliability may be improved since the second nodes 20 can select a suitable selected master clock 1 12 depending on the specific configuration of the network 1 or conditions in the network 1 . The selection unit may for example select the node 1 1 corresponding to the selected master clock 1 12 during initialization and maintain the selection of the selected master clock 1 12 during the entire operation. For example, the unit may select the first nodes 1 1 from which the second synchronisation data is received prior to the synchronisation. The selection unit may also dynamically select the node 1 1 during operation of the second node 20.
Alternatively, the selection of the selected master clocks 1 12,122 may, for example, be preconfigured prior to the operation of the respective second node 20. Thereby, the construction of the second node 20 may be of a relatively simple design. The second node 20 may for instance include a writable or non-writable memory (not shown in FIG. 1 ) in which an identification of the first nodes 1 1 with the selected master clocks 1 12 is stored. The identification may for example be stored during manufacturing or in an adaptive mode configuring the node after manufacturing of the respective second node. Also, the memory may for example be a writable memory which can be written before the second node 20 is connected to the network 1 . Thereby, the second node 20 may be flexible, since the memory can be configured to match the specific type of network 1 , while the design of the second node 20 may remain relatively simple.
The network 1 may include two or more slave clocks controlled by one or more slave clock time-base controllers 21 based on selected clock synchronisation data derived from time information of different selected master clocks 1 12. For instance, as shown in FIG. 7, some second nodes 20! ...2O3 may have selected the master clock belonging to a first node H 1 and some second nodes 2O4, 2O5 may have selected the master clock belonging to another first node 1 12. The first nodes 1 1 i ,1 12 may for example act as a gateway to the first sub-network 1 for the respective second nodes 20i ...203;204,205. Thereby, for example, the first sub-network 1 and the second sub-network 2 may operate according to different network protocols. For example, the first sub-network 1 may be fully compliant with the FlexRay standard, and the second sub-network 2 may be compatible, but not compliant with the FlexRay standard.
As shown in fig. 7, the second sub-network 2 may be physically separated from, but connected to the first sub-network 2, e.g. via the gate way nodes 1 1 i ,1 12. However, as shown in the representation in FIG. 8 of an example of the physical topology of the network 1 , the first subnetwork 2 and the second sub-network 3 may share network resources and hence not be separated physically from each other. The sub-networks 2,3 may for example share the data communication connections between the nodes 1 1 1 ,1 12,2O1...203;204,205. In such case, the second sub-network 3 may be regarded as a virtual sub-network. FIG. 3 schematically shows an example of a first node 1 1 suitable to be used in the example of a network 1 shown in FIG. 1 . As shown in FIG. 3, the first node 1 1 may include an master clock 1 12 which can generate a clock signal. The first node 1 1 may further include a processor 1 15 may be connected with a clock input 1 150 to an output 1 120 of the master clock 1 12. At the output 1 120 of the master clock 1 12, a clock signal may be outputted. The outputted clock signal can be used by the processor 1 15, for example to schedule or time the processing of data. The processor 1 15 may have a processor input/output port (I/O) 1 151 which is connected to the communication port 1 10. At the processor I/O 1 151 , the processor 1 15 may, for example, output data to other nodes or receive data from other nodes, via the communication port 1 10 and the bus 14 for example.
As shown in FIG. 3, the first node 1 1 may include a synchronisation unit 1 13 connectable to one or more other first nodes 1 1 ,12 and connected to the master clock 1 12. The synchronisation unit 1 13 may receive timing information about the timing of one or more of the other first nodes 1 1 ,12 and determine a common time-base using the received timing information. The master clock 1 12 may subsequently be adjusted to the common time-base. For example, the synchronisation unit 1 13 may adjust the master clock 1 12 when a difference between the timing of the master clock 1 12 and the common time-base exceeds a threshold or set the state of the master clock 1 12 to the determined common time-base. In the example of FIG. 3, the synchronisation unit 1 13 is connected with a controller input 1 130 to the synchronisation port 1 1 1 . The synchronisation port 1 1 1 may be connected to the other first nodes 1 1 ,12. e.g. via the bus 14. In this example a separate synchronisation port 1 1 1 is shown for illustrative purposes. However, it will be apparent that the synchronisation port 1 1 1 and the communication port 1 10 may be the same. The synchronisation unit 1 13 can receive the timing information from other first nodes 1 1 ,12 the controller input 1 131 . The synchronisation unit 1 13 is connected with a controller output 1 132 to a control input 1 122 of the master clock 1 12. The synchronisation unit 1 13 can adjust the master clock 1 12 based on the determined common time-base, by transmitting the clock control signal to the control input 1 122.
The first node 1 1 may include, as shown in FIG. 3, a slave synchronisation unit 1 14. The slave synchronisation unit 1 14 can generate a slave clock synchronisation signal based on the common time-base. In the example of FIG. 3, for instance, the slave synchronisation unit 1 14 is connected with an input 1 141 to a clock output 1 121 of the master clock 1 12. The slave synchronisation unit 1 14 is connected with an output 1 142 to the communication port 1 10 of the first node 1 1 . Timing information from the master clock contains information about the common- time base, since the master clock 1 12 is synchronised to the common time-base. The slave synchronisation unit 1 14 can receive timing information from the master clock 1 12, and hence information about the common time-base, to generate the slave synchronisation signal. For example, the slave synchronisation unit 1 14 may transmit to at least the second nodes 20 a slave clock synchronisation signal which includes the time of the master clock 1 12.
In this example a slave synchronisation unit 1 14 is shown for illustrative purposes. However, it will be apparent that the node 1 1 may include a unit which simultaneously synchronises master clock 1 12 and outputs a synchronisation signal to the second nodes 20, for example by simultaneously transmitting a determined common time base to the master clock 1 12 and the slave clocks 22.
The network 1 may be any type of network suitable for the specific implementation. For example, the network may be used to control and/or monitor an aspect of the operation of one or more apparatuses. For example, one or more of the nodes in the network 1 may be control nodes that control or monitor aspects of the operation of an apparatus, such as a vehicle, a robot or other type of apparatus. For instance, the first nodes 1 1 may control or monitor aspects which require a high reliability, and the second nodes 20 may control or monitor aspects which require a lower reliability. The first nodes 1 1 may for example required for operation of the apparatus and the second nodes may control aspects that, when not controlled, will not result in a failure of the overall apparatus. For example, the network 1 may be part of a braking system and the first node may e.g. control the breaking pedal whereas the second nodes may each control the brake on a wheel. Accordingly, if one of these second nodes fails the whole system is still working whereas if the first node is not working the whole breaking system will not function at all. The first nodes 1 1 may for example be controlling an airbag system, a braking system, a seat belt or be part of an air traffic control system, a fly-by-wire system, a life support system or form a central control node in a control system. The second nodes may for example be not-safety critical and for example control the opening of locks or monitor the pressure in a tyre.
For instance, FIG. 9 shows an example of vehicle 300 provided with safety-critical nodes. The example shown in FIG. 9 includes an engine 302. An engine control node 313 is present which can control and monitor the engine 302. The vehicle further has break control nodes 314 which can control and monitor the breaks 301 . The vehicle 300 further has door lock control nodes 312 which can actuate the locking and unlocking of doors 303 of the vehicle 300. The nodes 312-314 are connected to a control node 31 1 via a connection 315. At the human control node 31 1 , data can be inputted by a driver of the vehicle, for example by pressing with his or hers foot on a pedal, to control operation of second nodes 20. It will be apparent that when the human control node 31 1 , e.g. the brake pedal, fails this may lead to in death or serious injury to people and/or loss or severe damage to the vehicle, whereas if the door lock control nodes 312 or the engine control node 313 does not function, the consequences are less serious. Accordingly, the human control node 31 1 may be implemented as a first node and the door lock control nodes 312 as second nodes. The invention may be implemented as a kit of parts. The kit may be provided as a set of separate components which can be connected to each other to assemble, for example a time-base controller or to assemble a first node or a second node. The invention may also be implemented in a computer program for running on a computer system, at least may include code portions for performing steps of a method according to the invention when run on a programmable apparatus, such as a computer system or enabling a programmable apparatus to perform functions of a device or system according to the invention. Such a computer program may be provided on a data carrier, such as a CD-ROM or diskette, stored with data loadable in a memory of a computer system, the data representing the computer program. The data carrier may further be a data connection, such as a cable or a wireless connection. In the foregoing specification, the invention has been described with reference to specific examples of embodiments of the invention. It will, however, be evident that various modifications and changes may be made therein without departing from the broader spirit and scope of the invention as set forth in the appended claims. For example, the network may be used to control an apparatus, and for example include an industrial control system of form part of a manufacturing system. Also, the network may be compliant or compatible with one or more standards in the group consisting of: FlexRay, Time Triggered Protocol / Class C (TTP/C), time-triggered communication on CAN (Controller Area Network) protocol (TTCAN).
Furthermore, the connections may be an type of connection suitable to transfer signals from or to the respective nodes, units or devices. The connections may for example be direction connections or indirect connections. Furthermore, the clocks 1 1 ,12,20 may, for example, be implemented as an internal clock of a node or as an external clock connected to a node.
Also, the invention is not limited to physical devices or units implemented in nonprogrammable hardware but can also be applied in programmable devices or units able to perform the desired device functions by operating in accordance with suitable program code. Furthermore, the devices may be physically distributed over a number of apparatuses, while functionally operating as a single device. For example, the second node 20 may be composed of separate components, e.g. integrated circuits, connected to each other to cooperate as the second node 20. Also, devices, units or components functionally forming separate devices, units or components may be integrated in a single physical device. For example, in FIG. 2 two separate second node inputs 201 ,202 are shown for illustrative purposes. However, the second node 20 may have a single physical node input connected to e.g. a network module which separates signals from different first nodes 1 1 , e.g. based on the network address from which the respective signals originate. Also, for example, the clock controller 23 and/or the state controller 24 and/or the memory 25 and/or the mode controller 26 may be implemented as a single integrated circuit. However, other modifications, variations and alternatives are also possible. The specifications and drawings are, accordingly, to be regarded in an illustrative rather than in a restrictive sense. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word 'comprising' does not exclude the presence of other elements or steps then those listed in a claim. Furthermore, the words 'a' and 'an' shall not be construed as limited to 'only one', but instead are used to mean 'at least one', and do not exclude a plurality. The mere fact that certain measures are recited in mutually different claims does not indicate that a combination of these measures cannot be used to advantage.

Claims

Claims
1. A data communication network (1 ), including; at least two master clocks (1 12,122); and a synchronisation system (13) connected to said master clocks for receiving timing information from said at least two master clocks, said synchronisation system being arranged to determine a common time-base for said master clocks based on said timing information and to control said master clocks according to said determined time-base; wherein said data communication network (1 ) includes at least one slave clock (22) which is controlled by a slave clock time-base controller (21 ) based on time information of a single selected master clock (1 12) selected from said at least two master clocks.
2. A network as claimed in claim 1 , wherein said slave clock time-base controller (21 ) can receive time information of at least two master clocks (1 12) and is arranged to select said selected master clock based on said received time information.
3. A network as claimed in claim 2, wherein said slave clock time-base controller (21 ) is arranged to select, as said selected master clock, a master clock from which said time information is received first.
4. A network as claimed in claim 1 , wherein said slave clock time-base controller (21 ) is preconfigured, prior to operation of the slave clock time-base controller (21 ) to select, as said selected master clock, a pre-selected one of said master clocks (1 12).
5. A network as claimed in any one of the preceding claims, including at least two slave clocks (22) controlled by at least one slave clock time-base controller (21 ).
6. A network as claimed in any one of the preceding claims, wherein said synchronisation system (13) includes at least two synchronisation units (1 13) each connected to a respective master clock (1 12,122); which synchronisation units (1 13) are arranged to transmit a synchronisation message to at least said slave clock time-base controller (21 ), said synchronisation message including said time information; and wherein said slave clock time-base controller is arranged to control said slave clock based on time information in a synchronisation message received from a synchronisation unit belonging to said selected master clock (1 12).
7. A network as claimed in claims 6, wherein said synchronisation units (1 13) are connected to each other and are arranged to exchange said synchronisation messages, said synchronisation units being arranged to control said master clock (1 12,122) based on the time information in the received synchronisation messages.
8. A network as claimed in claim 6 or 7, wherein said synchronisation units (1 13) are arranged to broadcast said synchronisation messages in at least a part of said network.
9. A network as claimed in any one of the preceding claims, wherein said slave clock time- base controller (21 ) is arranged to control an operational mode of a unit which includes at least one of said slave clocks.
10. A network as claimed in any one of the preceding claims, including a source of said time information which is arranged to periodically transmit said time information and wherein said time- base controller (21 ) is arranged to change said operational mode when a period of time exceeding a threshold value has elapsed after a previous time the time information has been received.
11. A network as claimed in any one of the preceding claims, including a first sub-network which includes said master clocks and a second sub-network including at least two slave clocks, said second sub-network being connected to said first sub-network via a gateway, said gateway including a gateway master clock and said at least two slave clocks being controlled by the slave clock controller based on time-base information from said gateway master clock.
12. A network as claimed in any one of the preceding claims, including at least two slave clocks controlled by at least one slave clock time-base controller (21 ) based on selected clock synchronisation data derived from time information of different selected master clocks (1 12).
13. A network as claimed in any one of the preceding claims wherein said synchronisation system (13) is inhibited from using a time-base of said at least one slave clock (22) to determine said common time-base.
14. A network as claimed in any one of claims, wherein said network is compliant or compatible with at least one standard in the group consisting of : FlexRay, TTCAN,TTP/C.
15. A network as claimed in any one of the preceding claims, wherein said synchronisation system (13) has an input for receiving clock data representing time base information from said master clocks (1 12,122), and wherein said synchronisation system (13) is arranged to determine a common time-base based on said time information from said master clocks (1 12,122) and to control said master clocks based on the determined common time-base.
16. A network as claimed in any one of the preceding claims, wherein said synchronisation system (13) includes at least two nodes (1 1 ,12), said nodes (1 1 ,12) including each at least one synchronisation unit (1 13), which synchronisation unit (1 13) is connected to at least one other node (1 1 ,12) for receiving from said other node timing data representing information about the master clock (1 12,122) of said other node and determining a common time-base from the received timing data.
17. A node (1 1 ,12,20) for in a network as claimed in any one of the preceding claims.
18. A time-base controller (21 ) for in a network (1 ) as claimed in any one of the claims 1 -16.
19. A kit of parts, including at least two components for assembling a time-base controller (21 ) as claimed in claim 18.
20. An apparatus (300) provided with a network (1 ) as claimed in any one of claims 1 -16.
21. A method for controlling a time-base of at least one clock (22) in a network (1 ), said method including: receiving timing information from said at least two master clocks; determining a common time-base for at least two master clocks (1 12,122) based on the received timing information; and controlling said master clocks according to said determined time-base; controlling at least one slave clock based on time information of a single selected master clock (1 12), said single selected master clock being selected from said at least two master clocks..
22. A computer program product including program code for performing a method as claimed in claim 21 when executed by a programmable apparatus.
PCT/IB2007/051823 2006-10-31 2007-05-14 Network and method for setting a time-base of a node in the network WO2008053378A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP07735894.3A EP2080301B1 (en) 2006-10-31 2007-05-14 Network and method for setting a time-base of a node in the network
US12/513,089 US8060654B2 (en) 2006-10-31 2007-05-14 Network and method for setting a time-base of a node in the network
JP2009533987A JP5230637B2 (en) 2006-10-31 2007-05-14 Network and method for setting the time base of nodes in a network

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
IBPCT/IB2006/054024 2006-10-31
PCT/IB2006/054024 WO2008053277A1 (en) 2006-10-31 2006-10-31 Network and method for setting a time-base of a node in the network

Publications (1)

Publication Number Publication Date
WO2008053378A1 true WO2008053378A1 (en) 2008-05-08

Family

ID=37808091

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/IB2006/054024 WO2008053277A1 (en) 2006-10-31 2006-10-31 Network and method for setting a time-base of a node in the network
PCT/IB2007/051823 WO2008053378A1 (en) 2006-10-31 2007-05-14 Network and method for setting a time-base of a node in the network

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/IB2006/054024 WO2008053277A1 (en) 2006-10-31 2006-10-31 Network and method for setting a time-base of a node in the network

Country Status (4)

Country Link
US (2) US8130014B2 (en)
EP (2) EP2080300B1 (en)
JP (2) JP4917649B2 (en)
WO (2) WO2008053277A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102009053734A1 (en) * 2009-11-18 2011-05-19 Audi Ag Method for synchronizing timing circuits of controllers of communication system network in motor vehicle, involves receiving synchronization signals by bus devices when signals of synchronization devices are not available
US8130014B2 (en) 2006-10-31 2012-03-06 Freescale Semiconductor, Inc. Network and method for setting a time-base of a node in the network
CN104035901A (en) * 2014-06-23 2014-09-10 中国北方车辆研究所 TTCAN bus timing and data transmitting method

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8089989B2 (en) * 2007-11-29 2012-01-03 Samsung Electronics Co., Ltd. Synchronization of nodes on a network
EP2228926B1 (en) * 2009-03-12 2017-08-30 Alcatel Lucent Method for synchronizing clocks by seperated transmissions of first and second data via at least one timing distribution protocol, and associated system and module
EP2418806B1 (en) * 2009-04-08 2017-10-11 Toyota Jidosha Kabushiki Kaisha Data relay device and data relay method used in the device
DE102010023070B4 (en) 2009-09-29 2024-04-11 Volkswagen Ag Methods and filters for transmitting time-controlled messages
US20110145082A1 (en) 2009-12-16 2011-06-16 Ayman Hammad Merchant alerts incorporating receipt data
JP5635314B2 (en) * 2010-06-29 2014-12-03 日立オートモティブシステムズ株式会社 Electric vehicle, hybrid vehicle, automobile, automobile brake network system, in-vehicle network system
DE102010036458A1 (en) * 2010-07-16 2012-01-19 Dr. Ing. H.C. F. Porsche Aktiengesellschaft Method for synchronization stabilization of communication process for time-controlled communication system for transmission of data in communication network of motor car, involves setting synchronization message in time window
US8775681B2 (en) * 2011-04-27 2014-07-08 GM Global Technology Operations LLC Cross-network synchronization of application S/W execution using flexray global time
DE102011087472B4 (en) * 2011-11-30 2016-10-20 Continental Automotive Gmbh Method for synchronizing clocks in nodes of a vehicle network and for implementing the method of established nodes
DE102012204586A1 (en) * 2012-03-22 2013-10-17 Bayerische Motoren Werke Aktiengesellschaft Gateway, node and method for a vehicle
US8781047B2 (en) * 2012-06-28 2014-07-15 Intel Corporation Device, system and method of clock distribution
US10110367B2 (en) * 2012-08-21 2018-10-23 Artesyn Embedded Computing, Inc. High precision timer in CPU cluster
CN104333427B (en) * 2014-09-30 2017-04-12 中国船舶重工集团公司第七0七研究所 Method for enhancing TTCAN clock synchronization precision
CN104505934B (en) * 2014-12-01 2017-02-22 国电南瑞科技股份有限公司 Clock synchronizing and monitoring system
US10671596B1 (en) * 2015-03-31 2020-06-02 EMC IP Holding Company LLC Consistency determination
EP3156904A1 (en) 2015-10-13 2017-04-19 Autoliv Development AB A vehicle safety electronic control system
US10096450B2 (en) 2015-12-28 2018-10-09 Mapper Lithography Ip B.V. Control system and method for lithography apparatus
EP3288200B1 (en) * 2016-08-23 2019-03-06 Robert Bosch Gmbh Method of synchronizing master and slave clocks in a computer network, corresponding system
NL2018196B1 (en) * 2017-01-19 2018-08-01 Mapper Lithography Ip Bv Control system and method for lithography apparatus
EP4072053A4 (en) * 2020-01-06 2022-12-28 Huawei Technologies Co., Ltd. Clock switching method, device, and storage medium
CN112640333B (en) * 2020-03-31 2022-02-11 华为技术有限公司 Clock calibration method and device
US11546073B2 (en) * 2020-05-19 2023-01-03 Realtek Semiconductor Corp. Control method and time aware bridge device for seamless precision time protocol
CN114384790B (en) * 2022-01-18 2023-08-18 中车长春轨道客车股份有限公司 Time calibration method for motor train unit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5848028A (en) * 1993-10-21 1998-12-08 Thomson Consumer Electronics, S.A. Method and apparatus for synchronizing clocks coupled to network
EP1179920A2 (en) * 2000-08-12 2002-02-13 Bayerische Motoren Werke Aktiengesellschaft Data bus for a plurality of nodes
US20050055469A1 (en) * 2003-07-25 2005-03-10 Oliver Scheele Synchronization of data processing units
WO2005119951A1 (en) * 2004-06-04 2005-12-15 Robert Bosch Gmbh Method for establishing a global time base in a timed communications system and associated communications system

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5025457A (en) 1989-04-21 1991-06-18 Codex Corporation Synchronizing continuous bit stream oriented terminals in a communications network
DE69529362T2 (en) * 1994-04-28 2003-10-30 Advanced Micro Devices, Inc. System for controlling a peripheral bus clock signal
US5694542A (en) 1995-11-24 1997-12-02 Fault Tolerant Systems Fts-Computertechnik Ges.M.B. Time-triggered communication control unit and communication method
US6772254B2 (en) * 2000-06-21 2004-08-03 International Business Machines Corporation Multi-master computer system with overlapped read and write operations and scalable address pipelining
KR100716950B1 (en) * 2000-08-11 2007-05-10 삼성전자주식회사 Bus system
EP1280024B1 (en) 2001-07-26 2009-04-01 Freescale Semiconductor, Inc. Clock synchronization in a distributed system
US7145903B2 (en) * 2001-09-06 2006-12-05 Meshnetworks, Inc. Multi-master bus architecture for system-on-chip designs
GB2383434B (en) * 2001-12-20 2004-02-18 Dongik Lee Fault-tolerant clock synchronisation
ATE305197T1 (en) 2002-04-16 2005-10-15 Bosch Gmbh Robert METHOD FOR DATA TRANSMISSION IN A COMMUNICATIONS SYSTEM
US7000045B2 (en) * 2002-08-28 2006-02-14 Lsi Logic Corporation Byte-enabled transfer for a data bus having fixed-byte data transfer
US6981088B2 (en) * 2003-03-26 2005-12-27 Lsi Logic Corporation System and method of transferring data words between master and slave devices
KR100591524B1 (en) * 2004-05-14 2006-06-19 삼성전자주식회사 Method and slave device for supporting dynamic clock gating under bus architecture
US20050259722A1 (en) 2004-05-21 2005-11-24 Reginald Vanlonden Wireless clock system
US7305510B2 (en) * 2004-06-25 2007-12-04 Via Technologies, Inc. Multiple master buses and slave buses transmitting simultaneously
US7219177B2 (en) * 2004-11-23 2007-05-15 Winbond Electronics Corp. Method and apparatus for connecting buses with different clock frequencies by masking or lengthening a clock cycle of a request signal in accordance with the different clock frequencies of the buses
CN101142773A (en) * 2005-03-18 2008-03-12 皇家飞利浦电子股份有限公司 Method for synchronization of network nodes
WO2007083278A1 (en) * 2006-01-20 2007-07-26 Nokia Corporation Distributed (modular) internal architecture
EP2080300B1 (en) * 2006-10-31 2018-09-19 NXP USA, Inc. Network and method for setting a time-base of a node in the network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5848028A (en) * 1993-10-21 1998-12-08 Thomson Consumer Electronics, S.A. Method and apparatus for synchronizing clocks coupled to network
EP1179920A2 (en) * 2000-08-12 2002-02-13 Bayerische Motoren Werke Aktiengesellschaft Data bus for a plurality of nodes
US20050055469A1 (en) * 2003-07-25 2005-03-10 Oliver Scheele Synchronization of data processing units
WO2005119951A1 (en) * 2004-06-04 2005-12-15 Robert Bosch Gmbh Method for establishing a global time base in a timed communications system and associated communications system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ERIKSSON C ET AL: "A communication protocol for hard and soft real-time systems", REAL-TIME SYSTEMS, 1996., PROCEEDINGS OF THE EIGHTH EUROMICRO WORKSHOP ON L'AQUILA, ITALY 12-14 JUNE 1996, LOS ALAMITOS, CA, USA,IEEE COMPUT. SOC, US, 12 June 1996 (1996-06-12), pages 187 - 192, XP010200797, ISBN: 0-8186-7496-2 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8130014B2 (en) 2006-10-31 2012-03-06 Freescale Semiconductor, Inc. Network and method for setting a time-base of a node in the network
DE102009053734A1 (en) * 2009-11-18 2011-05-19 Audi Ag Method for synchronizing timing circuits of controllers of communication system network in motor vehicle, involves receiving synchronization signals by bus devices when signals of synchronization devices are not available
CN104035901A (en) * 2014-06-23 2014-09-10 中国北方车辆研究所 TTCAN bus timing and data transmitting method

Also Published As

Publication number Publication date
US20100001770A1 (en) 2010-01-07
JP2010508749A (en) 2010-03-18
US8130014B2 (en) 2012-03-06
EP2080300B1 (en) 2018-09-19
US20100073043A1 (en) 2010-03-25
JP4917649B2 (en) 2012-04-18
WO2008053277A1 (en) 2008-05-08
EP2080301B1 (en) 2018-09-26
EP2080301A1 (en) 2009-07-22
JP5230637B2 (en) 2013-07-10
US8060654B2 (en) 2011-11-15
JP2010508689A (en) 2010-03-18
EP2080300A1 (en) 2009-07-22

Similar Documents

Publication Publication Date Title
EP2080301B1 (en) Network and method for setting a time-base of a node in the network
EP3016306B1 (en) Method and apparatus for providing in-vehicle network time synchronization using redundant grandmaster
US8687520B2 (en) Cluster coupler unit and method for synchronizing a plurality of clusters in a time-triggered network
US7549072B2 (en) Method and device for synchronizing the global time of a plurality of buses and a corresponding bus system
JP4571668B2 (en) Method and communication system for establishing a global time base in a time-controlled communication system
US20100229046A1 (en) Bus Guardian of a User of a Communication System, and a User of a Communication System
US20090327549A1 (en) Monitoring unit for monitoring or controlling user access to a data bus and user having such a monitoring unit
US9514073B2 (en) Device and method for global time information in event-controlled bus communication
KR20090099534A (en) Method for starting a communication system, communication system comprising a communication medium and a plurality of subscribers connected thereto, and a subscriber of such a communication system
US20090240857A1 (en) Method and device for controlling a bus system and a corresponding bus system
EP1629636B1 (en) Time-triggered communication system and method for the synchronized start of a dual-channel network
US20060262814A1 (en) Time-triggered communication system and method for the synchronization of a dual-channel network
JP2008512021A (en) Distributed communication system using two communication controllers and method of operating such a communication system
Kordes et al. Startup error detection and containment to improve the robustness of hybrid FlexRay networks
Hande et al. Approach for VHDL and FPGA Implementation of Communication Controller of Flex-Ray Controller

Legal Events

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

Ref document number: 07735894

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2007735894

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2009533987

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 12513089

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE