ITTO20120740A1 - METHOD TO SYNCHRONIZE THE KNOTS OF A NETWORK WITH A PACKAGE, NETWORK KNOT AND PACKAGE NETWORK - Google Patents

METHOD TO SYNCHRONIZE THE KNOTS OF A NETWORK WITH A PACKAGE, NETWORK KNOT AND PACKAGE NETWORK Download PDF

Info

Publication number
ITTO20120740A1
ITTO20120740A1 IT000740A ITTO20120740A ITTO20120740A1 IT TO20120740 A1 ITTO20120740 A1 IT TO20120740A1 IT 000740 A IT000740 A IT 000740A IT TO20120740 A ITTO20120740 A IT TO20120740A IT TO20120740 A1 ITTO20120740 A1 IT TO20120740A1
Authority
IT
Italy
Prior art keywords
slave
master
node
packet
delay
Prior art date
Application number
IT000740A
Other languages
Italian (it)
Inventor
Matteo Semmoloni
Andrea Zarone
Original Assignee
Selex Elsag Spa
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 Selex Elsag Spa filed Critical Selex Elsag Spa
Priority to IT000740A priority Critical patent/ITTO20120740A1/en
Publication of ITTO20120740A1 publication Critical patent/ITTO20120740A1/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/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Time-Division Multiplex Systems (AREA)

Description

DESCRIZIONE DESCRIPTION

del brevetto per invenzione industriale dal titolo: of the patent for industrial invention entitled:

"METODO PER SINCRONIZZARE I NODI DI UNA RETE A PACCHETTO, NODO DI RETE E RETE A PACCHETTO" "METHOD FOR SYNCHRONIZING THE NODES OF A PACKET NETWORK, NETWORK NODE AND PACKET NETWORK"

La presente invenzione è relativa ad un metodo di sincronizzazione di nodi di una rete a pacchetto, ad un nodo di rete e ad una rete a pacchetto. The present invention relates to a method of synchronizing nodes of a packet network, to a network node and to a packet network.

Come è noto, nel campo delle comunicazioni radiomobili professionali ("Professional Mobile Radio", PMR) sono disponibili sistemi di comunicazione Simulcast, in cui due o più nodi di una rete diffondono simultaneamente un medesimo segnale, alla stessa frequenza; pertanto, i due o più nodi trasmettono segnali identici. Al fine di prevenire l'interferenza di tali segnali identici, nonché al fine di consentire la corretta ricezione dei medesimi da parte di un nodo, occorre che i tempi di trasmissione dei segnali, ed in particolare dei corrispondenti inviluppi in banda base, siano allineati con un'elevata precisione, e che le frequenze delle corrispondenti portanti ("carrier") siano quanto più possibile uguali. In altre parole, è richiesto che i nodi siano sincronizzati tra loro, sia in frequenza che in fase. In generale, ciascun nodo comprende un rispettivo oscillatore ed un rispettivo temporizzatore ("clock"), il quale è comandato dall'oscillatore; pertanto, occorre che gli oscillatori dei nodi della rete operino ad una medesima frequenza, e che i temporizzatori dei nodi della rete siano in fase tra loro. As is known, in the field of professional mobile radio communications ("Professional Mobile Radio", PMR), Simulcast communication systems are available, in which two or more nodes of a network simultaneously broadcast the same signal, at the same frequency; therefore, the two or more nodes transmit identical signals. In order to prevent the interference of these identical signals, as well as to allow the correct reception of the same by a node, the transmission times of the signals, and in particular of the corresponding envelopes in the baseband, must be aligned with high accuracy, and that the frequencies of the corresponding carriers ("carriers") are as equal as possible. In other words, the nodes are required to be synchronized with each other, both in frequency and in phase. In general, each node comprises a respective oscillator and a respective timer ("clock"), which is controlled by the oscillator; therefore, it is necessary that the oscillators of the network nodes operate at the same frequency, and that the timers of the network nodes are in phase with each other.

Al fine di sincronizzare i nodi, è noto l'impiego di cosiddette sorgenti di sincronizzazione esterne alla rete, quali ad esempio il sistema di posizionamento globale ("Global Positioning System", GPS), il quale fornisce un riferimento temporale assoluto a tutti i nodi della rete. In order to synchronize the nodes, the use of so-called synchronization sources external to the network is known, such as the global positioning system ("Global Positioning System", GPS), which provides an absolute time reference to all nodes of the network.

Sono altresì note tecniche di sincronizzazione che consentono di prescindere dalla disponibilità di un riferimento temporale assoluto. Ad esempio, l'articolo "Synchronization of Single-Frequency Simulcast Networks Using Network Time Protocol", di S. Bregni, L. Lacavalla, B. Propersi, F. Residori, IEEE International Conference on Communications, Giugno 2007, descrive un metodo di sincronizzazione basato su una strategia gerarchica del tipo cosiddetto "master-slave", in cui il riferimento temporale è rappresentato dal temporizzatore di un nodo master, il quale viene trasmesso a tutti gli altri nodi (slave) della rete. Synchronization techniques are also known which make it possible to disregard the availability of an absolute time reference. For example, the article "Synchronization of Single-Frequency Simulcast Networks Using Network Time Protocol", by S. Bregni, L. Lacavalla, B. Propersi, F. Residori, IEEE International Conference on Communications, June 2007, describes a method of synchronization based on a hierarchical strategy of the so-called "master-slave" type, in which the time reference is represented by the timer of a master node, which is transmitted to all the other nodes (slaves) of the network.

In dettaglio secondo il summenzionato articolo il nodo master agisce come un server del cosiddetto protocollo di tempo di rete ("Network Time Protocol", NTP), mentre i nodi slave agiscono come dei clienti NTP. Periodicamente, i nodi slave inviano al nodo server pacchetti di richiesta NTP ed attendono corrispondenti pacchetti di risposta da parte del nodo server. I pacchetti di risposta contengono marche temporali ("time stamp"), sulla cui base i nodi slave determinano stime del tempo di percorrenza a giro ("round trip time"); sulla base delle stime del tempo di percorrenza a giro, i nodi slave determinano quindi i ritardi dei propri temporizzatori rispetto al temporizzatore del nodo master, nonché gli scarti ("offset") di frequenza dei propri oscillatori rispetto all'oscillatore del nodo master. In detail, according to the aforementioned article, the master node acts as a server of the so-called "Network Time Protocol" (NTP), while the slave nodes act as NTP clients. Periodically, the slave nodes send NTP request packets to the server node and await corresponding response packets from the server node. The response packets contain time stamps, on the basis of which the slave nodes determine estimates of the "round trip time"; on the basis of the estimates of the travel time per revolution, the slave nodes then determine the delays of their timers with respect to the timer of the master node, as well as the frequency "offsets" of their oscillators with respect to the oscillator of the master node.

In maggior dettaglio, ciascun nodo slave implementa un anello ad aggancio di fase ( "Phase-locked Loop", PLL), al cui ingresso è presente un comparatore, il quale, ad ogni pacchetto di risposta, determina l'offset temporale tra il temporizzatore del nodo master ed il temporizzatore del nodo slave. L'offset temporale è fornito in ingresso ad un filtro d'anello, il quale a sua volta controlla l'oscillatore; l'uscita dell'oscillatore è fornita in ingresso al comparatore, al fine di consentire la determinazione del summenzionato offset temporale. Il filtro d'anello è del terzo ordine, perciò l'anello ad aggancio di fase è del cosiddetto secondo tipo; pertanto, l'anello ad aggancio di fase è in grado di inseguire gradini in frequenza ("frequency steps") con un errore di fase residuo nullo. In greater detail, each slave node implements a phase-locked loop (PLL), at the input of which there is a comparator, which, at each response packet, determines the time offset between the timer of the master node and the timer of the slave node. The time offset is input to a loop filter, which in turn controls the oscillator; the output of the oscillator is supplied in input to the comparator, in order to allow the determination of the aforementioned time offset. The loop filter is of the third order, therefore the phase locked loop is of the so-called second type; therefore, the phase locked loop is able to follow frequency steps with a zero residual phase error.

In pratica, grazie all'impiego del protocollo NTP ed all 'implementaz ione di un anello ad aggancio di fase del tipo descritto, ciascun nodo slave si sincronizza in fase e frequenza con il nodo master. In practice, thanks to the use of the NTP protocol and the implementation of a phase locked loop of the type described, each slave node synchronizes in phase and frequency with the master node.

Sebbene il metodo descritto nel summenzionato articolo consenta di sincronizzare in fase e frequenza i nodi di una rete isofrequenziale Simulcast di tipo a pacchetto, esso si avvale del protocollo NTP, il quale non consente di calcolare le marche temporali con accuratezza e precisione inferiori al microsecondo. Inoltre, dal momento che le reti a pacchetto introducono una non trascurabile fluttuazione ("jitter") dei tempi di percorrenza a giro, la banda del filtro d'anello deve essere alquanto stretta, al fine di filtrare correttamente tale jitter. Ciò comporta che l'aggancio in fase e frequenza richieda tempi lunghi; pertanto, eventuali derive dell'oscillatore del nodo master sono inseguite con lentezza da parte dei nodi slave. Although the method described in the aforementioned article allows the nodes of a packet-type Simulcast isofrequency network to be synchronized in phase and frequency, it makes use of the NTP protocol, which does not allow to calculate the time stamps with accuracy and precision of less than one microsecond. Furthermore, since packet networks introduce a not negligible fluctuation ("jitter") of travel times per revolution, the band of the loop filter must be quite narrow in order to properly filter this jitter. This implies that phase and frequency locking requires a long time; therefore, any drifts of the master node's oscillator are tracked slowly by the slave nodes.

Scopo della presente invenzione è dunque fornire un metodo di sincronizzazione che risolva almeno in parte gli inconvenienti dell'arte nota. The object of the present invention is therefore to provide a synchronization method which at least partially solves the drawbacks of the known art.

Secondo la presente invenzione vengono forniti un metodo di sincronizzazione, un nodo di rete ed una rete a pacchetto come definiti, rispettivamente, nelle rivendicazioni allegate. According to the present invention, a synchronization method, a network node and a packet network are provided as defined, respectively, in the attached claims.

Per una migliore comprensione dell'invenzione, ne vengono ora descritte forme di realizzazione, a puro titolo di esempio non limitativo e con riferimento ai disegni allegati, nei quali: For a better understanding of the invention, embodiments are now described, purely by way of non-limiting example and with reference to the attached drawings, in which:

- la figura 1 mostra in modo simbolico una rete formata da una pluralità di nodi; Figure 1 symbolically shows a network formed by a plurality of nodes;

- la figura 2 mostra uno schema a blocchi della struttura interna di un nodo master, secondo la presente invenzione ; Figure 2 shows a block diagram of the internal structure of a master node, according to the present invention;

- la figura 3 mostra uno schema a blocchi della struttura interna di un nodo slave, secondo la presente invenzione; e figure 3 shows a block diagram of the internal structure of a slave node, according to the present invention; And

- le figure 4 e 5 mostrano schematicamente diagrammi temporali relativi all'invio ed alla ricezione di messaggi da parte di un nodo master e di un nodo slave, secondo la presente invenzione; i tempi relativi all'invio/ricezione di messaggi da parte del nodo master sono relativi ad un temporizzatore interno al nodo master, mentre i tempi relativi all'invio/ricezione di messaggi da parte del nodo slave sono relativi ad un temporizzatore interno al nodo slave . Figures 4 and 5 schematically show time diagrams relating to the sending and receiving of messages by a master node and a slave node, according to the present invention; the times related to the sending / receiving of messages by the master node are related to a timer internal to the master node, while the times related to the sending / receiving of messages by the slave node are related to a timer internal to the slave node .

La figura 1 mostra una rete 1 formata da una pluralità di nodi, indicati genericamente con 2. Figure 1 shows a network 1 formed by a plurality of nodes, generically indicated with 2.

In modo di per sé noto, uno dei nodi, indicato con 4, funge da nodo master, mentre gli altri nodi fungono da nodi slave; in figura 1 un nodo slave è indicato con 6. Nel seguito della presente descrizione si fa riferimento, senza alcuna perdita di generalità, al nodo master 4 ed al nodo slave 6. Ai fini della presente invenzione, è irrilevante come ciascun nodo 2 determini se agire da nodo master oppure da nodo slave; ulteriori dettagli saranno comunque forniti in seguito. In a per se known manner, one of the nodes, indicated with 4, acts as a master node, while the other nodes act as slave nodes; in figure 1 a slave node is indicated by 6. In the following of the present description reference is made, without any loss of generality, to the master node 4 and to the slave node 6. For the purposes of the present invention, it is irrelevant how each node 2 determines whether act as a master node or as a slave node; further details will however be provided later.

Come descritto in maggior dettaglio in seguito, ciascuno dei nodi 2 è in grado di eseguire il cosiddetto protocollo di tempo di precisione ("Precision Time Protocol", PTP), come descritto nello standard IEEE 1588-2008. In particolare, prima che si stabiliscano i ruoli (master o slave) dei nodi 2 della rete 1, ciascun nodo 2 è atto a fungere sia da nodo master che da nodo slave, conformemente allo standard IEEE 1588-2008; in seguito alla definizione dei ruoli dei nodi 2, ciascun nodo agisce conformemente al proprio ruolo. A titolo puramente esemplificativo, l'assegnazione dei ruoli può avvenire secondo lo stesso standard IEEE 1588-2008, cioè i nodi 2 possono eseguire operazioni di autoconfigurazione della rete 1, prima di eseguire il presente metodo di sincronizzazione. A tal proposito, lo standard IEEE 1588-20008 prevede l'esecuzione, da parte dei nodi 2, di un algoritmo cosiddetto di miglior temporizzatore master ("best master clock"). In alternativa, ed ancora a titolo puramente esemplificativo, i ruoli dei nodi 2 possono essere assegnati da un'unità esterna alla rete 1. As described in more detail below, each of the nodes 2 is capable of executing the so-called "Precision Time Protocol" (PTP), as described in the IEEE 1588-2008 standard. In particular, before the roles (master or slave) of the nodes 2 of the network 1 are established, each node 2 is able to act both as a master node and as a slave node, in accordance with the IEEE 1588-2008 standard; following the definition of the roles of nodes 2, each node acts in accordance with its own role. Purely by way of example, the assignment of roles can take place according to the same IEEE 1588-2008 standard, ie the nodes 2 can perform self-configuration operations of the network 1, before carrying out the present synchronization method. In this regard, the IEEE 1588-20008 standard provides for the execution, by nodes 2, of a so-called "best master clock" algorithm. Alternatively, and again purely by way of example, the roles of the nodes 2 can be assigned by an external unit to the network 1.

Ciò premesso, in figura 2 è mostrato un nodo, ed in particolare un nodo master 4. That said, figure 2 shows a node, and in particular a master node 4.

Il nodo master 4 comprende un'unità di elaborazione 10 ed una unità di marca temporale 12 ("time-stamp unit", TSU) , collegata all'unità di elaborazione 10 ed alla quale ci si riferisce in seguito come all'unità TSU 12. The master node 4 comprises a processing unit 10 and a time-stamp unit 12 ("time-stamp unit", TSU), connected to the processing unit 10 and which is referred to hereinafter as the TSU 12 unit. .

L'unità di elaborazione 10 implementa una pila protocollare ("protocol stack") 14, la quale, in modo di per sé noto e conformemente al cosiddetto modello "International Standard Organization - Open Systems Interconnect ion" (ISO-OSI), comprende un livello ("layer") applicativo, un livello di trasporto, un livello di rete ed un livello di controllo di accesso al mezzo ("medium access control layer", MAC layer), al quale ci si riferisce in seguito come al livello MAC . The processing unit 10 implements a "protocol stack" 14, which, in a per se known manner and in accordance with the so-called "International Standard Organization - Open Systems Interconnect ion" (ISO-OSI) model, comprises a application layer, a transport layer, a network layer and a medium access control layer (MAC layer), which is referred to hereinafter as the MAC layer.

Ad esempio, il livello applicativo può essere atto a consentire la trasmissione di segnali Simulcast su di una rete a pacchetto di tipo cosiddetto "internet protocol" (IP) in modo di per sé noto. Inoltre il livello di trasporto può essere conforme al cosiddetto protocollo di datagrammi di utenti ("User datagram protocol", UDP); a tal proposito si noti che nel seguito, pur assumendo che il livello di trasporto sia effettivamente conforme al protocollo UDP, si farà riferimento a pacchetti, anziché a datagrammi. Relativamente al livello di collegamento di rete, esso è conforme al cosiddetto "Internet Protocol" (IP). Infine, il livello MAC è conforme, ad esempio, al cosiddetto protocollo Ethernet. For example, the application layer can be adapted to allow the transmission of Simulcast signals on a packet network of the so-called "internet protocol" (IP) type in a per se known manner. Furthermore, the transport layer can conform to the so-called user datagram protocol (UDP); in this regard it should be noted that in the following, while assuming that the transport layer is actually compliant with the UDP protocol, we will refer to packets, rather than to datagrams. As regards the network connection layer, it conforms to the so-called "Internet Protocol" (IP). Finally, the MAC layer complies, for example, with the so-called Ethernet protocol.

Ulteriori dettagli relativi all'unità di elaborazione 10 saranno descritti in seguito. Further details relating to the processing unit 10 will be described below.

Il nodo master 4 comprende inoltre un'interfaccia 16 di tipo cosiddetto "Media independent interface" (MII), collegata all'unità di elaborazione 10 ed alla quale ci si riferisce in seguito come all'interfaccia MII 16. L'interfaccia MII 16, di per sé nota, è atta a ricevere pacchetti generati dal livello MAC della pila protocollare 14. The master node 4 also comprises an interface 16 of the so-called "Media independent interface" (MII) type, connected to the processing unit 10 and which is referred to hereinafter as the MII interface 16. The MII interface 16, known per se, it is suitable for receiving packets generated by the MAC layer of the protocol stack 14.

Il nodo master 4 comprende inoltre un'interfaccia fisica 18 atta ad instradare i pacchetti che transitano per l'interfaccia MII 16 verso la rete 1. L'interfaccia fisica 18 dipende, in modo di per sé noto, dalle caratteristiche fisiche dei mezzi trasmissivi impiegati per connettere i nodi 2. Ad esempio, l'interfaccia fisica 18 può essere formata da un cosiddetto chip PHY (anche noto, brevemente come "PHYceiver"), compatibile con il protocollo Ethernet. Il nodo master 4 comprende inoltre un oscillatore 20, tale oscillatore essendo del tipo controllato in tensione. In particolare, l'oscillatore 20 è atto a fornire un segnale periodico locale, avente una frequenza che è controllata nel modo descritto in seguito. The master node 4 also comprises a physical interface 18 suitable for routing the packets passing through the MII interface 16 towards the network 1. The physical interface 18 depends, in a per se known way, on the physical characteristics of the transmission means used. to connect the nodes 2. For example, the physical interface 18 can be formed by a so-called PHY chip (also known briefly as "PHYceiver"), compatible with the Ethernet protocol. The master node 4 further comprises an oscillator 20, this oscillator being of the voltage-controlled type. In particular, the oscillator 20 is adapted to provide a local periodic signal, having a frequency which is controlled in the manner described below.

Relativamente alla summenzionata unità TSU 12, essa comprende un temporizzatore ("clock") 22, il quale è comandato dall'oscillatore 20. In modo di per sé noto, il temporizzatore 22 definisce dunque un'ora locale ("local time"), relativa al nodo master 4, e la cui unità di tempo è rappresentata da un periodo del segnale periodico locale fornito dall'oscillatore 20. In altre parole, il temporizzatore 22 aggiorna periodicamente la propria ora locale, sulla base del segnale periodico locale fornito dall'oscillatore 20. With regard to the aforementioned TSU 12 unit, it comprises a timer 22, which is controlled by the oscillator 20. In a per se known manner, the timer 22 therefore defines a local time ("local time"), relative to the master node 4, and whose unit of time is represented by a period of the local periodic signal supplied by the oscillator 20. In other words, the timer 22 periodically updates its local time, on the basis of the local periodic signal supplied by the oscillator 20.

L'unità TSU 12 comprende inoltre un'unità di rilevazione 24, la quale è collegata al temporizzatore 22, in maniera tale per cui dispone dell'ora locale. Inoltre, l'unità di rilevazione 24 è collegata elettricamente all'interfaccia MII 16 ed è atta a rilevare il transito di pacchetti attraverso l'interfaccia MII 16; più in particolare, l'unità di rilevazione 24 rileva il transito di pacchetti attraverso l'interfaccia MII 16 ed associa, a ciascun transito, un corrispondente tempo di transito, come fornito dal temporizzatore 22. Per brevità, nel seguito ci si riferisce anche alla rilevazione, da parte dell'unità di rilevazione 24, del tempo di transito di un pacchetto, sottintendo il rilevamento del transito e l'associazione del corrispondente tempo. Inoltre, nel seguito ci si riferisce indifferentemente a pacchetti o messaggi, sottintendendo che i messaggi menzionati nella presente descrizione occupano, ciascuno, un singolo pacchetto, senza alcuna perdita di generalità. The TSU 12 unit further comprises a detection unit 24, which is connected to the timer 22, in such a way that it has the local time. Furthermore, the detection unit 24 is electrically connected to the interface MII 16 and is adapted to detect the transit of packets through the interface MII 16; more particularly, the detection unit 24 detects the transit of packets through the MII interface 16 and associates, to each transit, a corresponding transit time, as provided by the timer 22. For the sake of brevity, hereinafter we also refer to detection, by the detection unit 24, of the transit time of a package, I mean the detection of the transit and the association of the corresponding time. Furthermore, in the following reference is made indifferently to packets or messages, implying that the messages mentioned in the present description each occupy a single packet, without any loss of generality.

Nuovamente con riferimento all'unità di elaborazione 10, essa comunica con il temporizzatore 22 per ricevere l'ora locale, in maniera tale per cui l'ora locale è disponibile alla pila protocollare 14. Inoltre la pila protocollare 14 comprende un ulteriore livello applicativo, conforme al summenzionato standard IEEE 1588-2008, il quale ha appunto accesso all'ora locale fornita dal temporizzatore 22; in seguito ci si riferisce a tale ulteriore livello applicativo come al livello applicativo PTP. In aggiunta, quest'ulteriore livello applicativo comunica con l'unità di rilevazione 24, al fine di ricevere i tempi di transito da essa determinati, come descritto in maggior dettaglio in seguito. Again with reference to the processing unit 10, it communicates with the timer 22 to receive the local time, in such a way that the local time is available to the protocol stack 14. Furthermore, the protocol stack 14 comprises a further application level, conforms to the aforementioned IEEE 1588-2008 standard, which has access to the local time provided by timer 22; later this further application level is referred to as the PTP application level. In addition, this further application level communicates with the detection unit 24, in order to receive the transit times determined by it, as described in greater detail below.

La figura 3 mostra un nodo slave 6. Componenti del nodo slave 6 già presenti nel nodo master 4 sono indicati con i medesimi numeri di riferimento, salvo laddove specificato diversamente; in particolare, l'oscillatore ed il temporizzatore del nodo slave 6 sono indicati rispettivamente con 21 e 23. Ulteriori elementi del nodo slave 6 saranno descritti in seguito; inoltre, il nodo slave 6 verrà descritto limitatamente alle differenze di quest'ultimo rispetto al nodo master 4 mostrato in figura 2. Tuttavia, prima di descrivere ulteriormente il nodo slave 6, si descrivono operazioni svolte da nodo master 4 e dal nodo slave 6, con riferimento alla figura 4. Figure 3 shows a slave node 6. Components of the slave node 6 already present in the master node 4 are indicated with the same reference numbers, unless otherwise specified; in particular, the oscillator and the timer of the slave node 6 are indicated respectively with 21 and 23. Further elements of the slave node 6 will be described below; furthermore, the slave node 6 will be described limitedly to the differences of the latter with respect to the master node 4 shown in figure 2. However, before further describing the slave node 6, operations carried out by the master node 4 and by the slave node 6 are described, with reference to figure 4.

In dettaglio, il nodo master 4 trasmette un primo messaggio Sync, in modo di per sé noto. In particolare, il primo messaggio Sync viene generato dall'unità di elaborazione 10 del nodo master 4, mediante implementazione della corrispondente pila protocollare 14, successivo transito attraverso l'interfaccia MII 16 ed immissione nella rete 1, tale immissione essendo effettuata dall'interfaccia fisica 18. In detail, the master node 4 transmits a first Sync message, in a per se known manner. In particular, the first Sync message is generated by the processing unit 10 of the master node 4, by implementing the corresponding protocol stack 14, subsequent transit through the interface MII 16 and input into the network 1, this input being carried out by the physical interface 18.

In maggior dettaglio, il primo messaggio Sync transita sull'interfaccia MII 16 del nodo master 4 ad un tempo ti<1-1>, rilevato dall'unità di rilevazione 24 del nodo master 4, la quale comunica tale tempo t1<i-1>all'unità di elaborazione 10 del nodo master 4, ed in particolare al livello applicativo PTP della pila protocollare 14 del nodo master 4. Il tempo ti<i- 1>è relativo al temporizzatore 22 del nodo master 4, cioè è misurato sulla base dell'ora locale fornita da quest 'ultimo . In greater detail, the first Sync message transits on the interface MII 16 of the master node 4 at a time ti <1-1>, detected by the detection unit 24 of the master node 4, which communicates this time t1 <i-1 > to the processing unit 10 of the master node 4, and in particular to the PTP application level of the protocol stack 14 of the master node 4. The time ti <i- 1> is relative to the timer 22 of the master node 4, i.e. it is measured on local time basis provided by the latter.

Nel seguito, per brevità, ci si riferisce ad un nodo che trasmette un generico messaggio ad un tempo txper indicare il tempo in cui il generico messaggio transita attraverso l'interfaccia MII del nodo, tale tempo essendo relativo al temporizzatore del nodo ed essendo rilevato dall'unità di rilevazione del nodo. In particolare, come precedentemente accennato, l'unità di rilevazione rileva il transito del messaggio attraverso l'interfaccia MII del nodo ed associa a tale transito il corrispondente tempo txindicato dal temporizzatore. Il tempo txviene comunicato dall'unità di rilevazione del nodo all'unità di elaborazione del nodo, ed in particolare al livello applicativo PTP della pila protocollare; nel seguito il riferimento al livello applicativo PTP viene sottointeso, salvo laddove specificato diversamente. Inoltre, nel seguito 1' implementaz ione della rispettiva pila protocollare da parte dell'unità di elaborazione del nodo, per generare il generico messaggio, viene sottintesa. In the following, for the sake of brevity, reference is made to a node that transmits a generic message at a time tx to indicate the time in which the generic message passes through the interface MII of the node, this time being relative to the timer of the node and being detected by the node detection unit. In particular, as previously mentioned, the detection unit detects the transit of the message through the interface MII of the node and associates to this transit the corresponding time tx indicated by the timer. The time tx is communicated by the node detection unit to the node processing unit, and in particular to the PTP application level of the protocol stack; in the following the reference to the PTP application level is implied, unless otherwise specified. Furthermore, in the following the implementation of the respective protocol stack by the processing unit of the node, to generate the generic message, is implied.

Il primo messaggio Sync viene ricevuto dal nodo slave 6. In particolare, il primo messaggio Sync viene ricevuto dall'interfaccia fisica 18 del nodo slave 6, transita attraverso l'interfaccia MII 16 del nodo slave 6 e viene processato dall'unità di elaborazione 10 del nodo slave 6 mediante implementazione della rispettiva pila protocollare In maggior dettaglio, il primo messaggio Sync transita attraverso l'interfaccia MII 16 del nodo slave 6 ad un tempo t2<i-1>, rilevato dall'unità di rilevazione 24 del nodo slave 6, la quale comunica tale tempo t2<i-1>all'unità di elaborazione 10 del nodo slave 6, ed in particolare al livello applicativo PTP della pila protocollare 14 del nodo slave 6. Il tempo è relativo al temporizzatore 23 del nodo slave 6. The first Sync message is received by the slave node 6. In particular, the first Sync message is received by the physical interface 18 of the slave node 6, passes through the MII interface 16 of the slave node 6 and is processed by the processing unit 10 of the slave node 6 by implementing the respective protocol stack In greater detail, the first Sync message passes through the interface MII 16 of the slave node 6 at a time t2 <i-1>, detected by the detection unit 24 of the slave node 6 , which communicates this time t2 <i-1> to the processing unit 10 of the slave node 6, and in particular to the PTP application level of the protocol stack 14 of the slave node 6. The time relates to the timer 23 of the slave node 6 .

Nel seguito, per brevità, ci si riferisce ad un nodo che riceve un generico messaggio ad un tempo typer indicare il tempo in cui il generico messaggio transita attraverso l'interfaccia MII del nodo, tale tempo essendo relativo al temporizzatore del nodo ed essendo rilevato dall'unità di rilevazione del nodo. In particolare, come precedentemente accennato, l'unità di rilevazione rileva il transito del messaggio attraverso l'interfaccia MII del nodo ed associa a tale transito il corrispondente tempo tyindicato dal temporizzatore. Il tempo tyviene comunicato dall'unità di rilevazione del nodo all'unità di elaborazione del nodo, ed in particolare al livello applicativo PTP della pila protocollare; nel seguito il riferimento al livello applicativo PTP viene sottointeso, salvo laddove specificato diversamente. Inoltre, nel seguito l'implementazione della rispettiva pila protocollare da parte dell'unità di elaborazione del nodo, per ricevere il generico messaggio ed eventualmente estrarre informazioni ivi contenute, viene sottintesa. In the following, for the sake of brevity, reference is made to a node that receives a generic message at a time ty to indicate the time in which the generic message passes through the interface MII of the node, this time being relative to the timer of the node and being detected by the node detection unit. In particular, as previously mentioned, the detection unit detects the transit of the message through the interface MII of the node and associates the corresponding time tyindicated by the timer to this transit. The time ty is communicated by the node detection unit to the node processing unit, and in particular to the PTP application level of the protocol stack; in the following the reference to the PTP application level is implied, unless otherwise specified. Furthermore, in the following the implementation of the respective protocol stack by the processing unit of the node, in order to receive the generic message and possibly extract the information contained therein, is understood.

Dopo aver inviato il primo messaggio Sync, il nodo master 4 trasmette un primo messaggio di follow-up, ad un tempo t1<i-1*>. Il primo messaggio di follow-up è generato dall'unità di elaborazione 10 in modo da contenere una marca temporale pari al tempo ti<1-1>. After sending the first Sync message, the master node 4 transmits a first follow-up message, at a time t1 <i-1 *>. The first follow-up message is generated by the processing unit 10 so as to contain a time stamp equal to the time ti <1-1>.

Il primo messaggio di follow-up viene ricevuto dal nodo slave 6 ad un tempo t2<i-1*>; successivamente alla ricezione, l'unità di elaborazione 10 del nodo slave 6 estrae, in modo di per sé noto, la marca temporale contenuta nel primo messaggio di follow-up. The first follow-up message is received by the slave node 6 at a time t2 <i-1 *>; after receipt, the processing unit 10 of the slave node 6 extracts, in a per se known manner, the time stamp contained in the first follow-up message.

In seguito all'estrazione della marca temporale contenuta nel primo messaggio di follow-up, l'unità di elaborazione 10 del nodo slave 6 determina un primo ritardo da master a slave il quale è pari a t2<i-1>- t1<i-1>. In altre parole, nella presente descrizione il primo ritardo, come pure i ritardi descritti nel seguito, sono intesi come ritardi di propagazione. Following the extraction of the time stamp contained in the first follow-up message, the processing unit 10 of the slave node 6 determines a first delay from master to slave which is equal to t2 <i-1> - t1 <i -1>. In other words, in the present description the first delay, as well as the delays described below, are intended as propagation delays.

Successivamente, ad un tempo t1<i>, il nodo master 4 trasmette un secondo messaggio Sync, il quale viene ricevuto dal nodo slave 6 ad un tempo t2<i>. Il tempo t2<i-1>viene comunicato dall'unità di rilevazione 24 del nodo slave 6 all'unità di elaborazione 10 del nodo slave 6. Subsequently, at a time t1 <i>, the master node 4 transmits a second Sync message, which is received by the slave node 6 at a time t2 <i>. The time t2 <i-1> is communicated by the detection unit 24 of the slave node 6 to the processing unit 10 of the slave node 6.

In seguito, ad un tempo t1<1*>, il nodo master 4 trasmette un secondo messaggio di follow-up, il quale è generato dall'unità di elaborazione 10 del nodo master 4 in modo da contenere una marca temporale pari al tempo t1<i>. Subsequently, at a time t1 <1 *>, the master node 4 transmits a second follow-up message, which is generated by the processing unit 10 of the master node 4 so as to contain a time stamp equal to the time t1 <i>.

Il secondo messaggio di follow-up viene ricevuto dal nodo slave 6 ad un tempo t2<i*>; successivamente alla ricezione, l'unità di elaborazione 10 del nodo slave 6 estrae, in modo di per sé noto, la marca temporale contenuta nel secondo messaggio di follow-up. The second follow-up message is received by the slave node 6 at a time t2 <i *>; after reception, the processing unit 10 of the slave node 6 extracts, in a per se known manner, the time stamp contained in the second follow-up message.

In seguito all'estrazione della marca temporale contenuta nel secondo messaggio di follow-up, l'unità di elaborazione 10 del nodo slave 6 determina un secondo ritardo da master a slave ΔM-to-si il quale è pari a t2<i>-t1<i>. Following the extraction of the time stamp contained in the second follow-up message, the processing unit 10 of the slave node 6 determines a second delay from master to slave ΔM-to-si which is equal to t2 <i> - t1 <i>.

In altre parole, sulla base di ciascuna coppia formata da un messaggio Sync e dal corrispondente messaggio di follow-up, il nodo slave 6 è in grado di determinare, in modo di per sé noto, un corrispondente ritardo da master a slave AM-to-s<1>· In other words, on the basis of each pair formed by a Sync message and the corresponding follow-up message, the slave node 6 is able to determine, in a per se known manner, a corresponding delay from master to slave AM-to -s <1>

Come mostrato, a titolo esemplificativo, ancora in figura 4, il nodo slave 6 è inoltre configurato per trasmettere un primo messaggio di richiesta di ritardo ("delay request message"), il quale viene ricevuto dal nodo master 4 ad un tempo t4. A titolo puramente esemplificativo in figura 4 la trasmissione del primo messaggio di richiesta di ritardo da parte del nodo slave 6 avviene ad un tempo t3, successivo al tempo t2<i>; tuttavia, in modo di per sé noto, la trasmissione del primo messaggio di richiesta di ritardo può avvenire in momenti differenti, come ad esempio tra la trasmissione del primo messaggio di follow-up e la trasmissione del secondo messaggio Sync. As shown, by way of example, again in Figure 4, the slave node 6 is also configured to transmit a first delay request message, which is received by the master node 4 at a time t4. Purely by way of example, in Figure 4 the transmission of the first delay request message by the slave node 6 occurs at a time t3, subsequent to the time t2 <i>; however, in a per se known manner, the transmission of the first delay request message can take place at different times, such as between the transmission of the first follow-up message and the transmission of the second Sync message.

In seguito alla ricezione del primo messaggio di richiesta di ritardo, il nodo master 4 trasmette un primo messaggio di risposta di ritardo ("delay response message"), ad un tempo t4<*>. Il primo messaggio di risposta di ritardo viene ricevuto dal nodo slave 6 ad un tempo t3<*>. Upon receipt of the first delay request message, the master node 4 transmits a first delay response message, at a time t4 <*>. The first delay response message is received by the slave node 6 at a time t3 <*>.

In seguito alla ricezione del primo messaggio di risposta di ritardo, l'unità di elaborazione 10 del nodo slave 6 determina un ritardo da slave a master il quale è pari a t4- t3. Upon receipt of the first delay response message, the processing unit 10 of the slave node 6 determines a delay from slave to master which is equal to t4-t3.

In altre parole, sulla base di ciascuna coppia formata da un messaggio di richiesta di ritardo ed un messaggio di risposta di ritardo, il nodo slave 6 è in grado di determinare, in modo di per sé noto, un corrispondente ritardo da slave a master In other words, on the basis of each pair formed by a delay request message and a delay response message, the slave node 6 is able to determine, in a per se known manner, a corresponding delay from slave to master.

Le operazioni mostrate nella figura 4 sono ripetute nel tempo dal nodo master 4 e dal nodo slave 6, ad esempio in modo periodico, in maniera tale per cui l'unità di elaborazione 10 del nodo slave 6 dispone di una successione di campioni del ritardo da master a slave e di una successione di campioni del ritardo da slave a master The operations shown in Figure 4 are repeated over time by the master node 4 and the slave node 6, for example periodically, so that the processing unit 10 of the slave node 6 has a succession of samples of the delay to be master to slave and a succession of samples of the delay from slave to master

In particolare, tali successioni di campioni sono determinate come precedentemente descritto dal livello applicativo PTP della pila protocollare 14 implementata dall'unità di elaborazione 10 del nodo slave 6. In particular, such sequences of samples are determined as previously described by the PTP application level of the protocol stack 14 implemented by the processing unit 10 of the slave node 6.

Tutto ciò premesso, e nuovamente con riferimento alla figura 3 ed alle caratteristiche del nodo slave 6, il temporizzatore 23 ha un primo ed un secondo ingresso, il primo ingresso essendo collegato, ai fini di comando, all'uscita dell'oscillatore 21, il secondo ingresso essendo descritto in seguito. Inoltre, l'unità di elaborazione 10 del nodo slave 6 implementa uno stadio di elaborazione statistica 30 ed uno stadio di calcolo 34. Having said all this, and again with reference to Figure 3 and to the characteristics of the slave node 6, the timer 23 has a first and a second input, the first input being connected, for control purposes, to the output of the oscillator 21, the second entrance being described below. Furthermore, the processing unit 10 of the slave node 6 implements a statistical processing stage 30 and a calculation stage 34.

In dettaglio, lo stadio di elaborazione statistica 30 riceve i campioni del ritardo da master a slave ed i campioni del ritardo da slave a master ; inoltre, lo stadio di elaborazione statistica 30 memorizza la durata temporale di una finestra temporale di osservazione. Più in particolare, data una finestra temporale di osservazione, l'unità di eleborazione statistica 30 elabora i campioni del ritardo da master a slave ed i campioni del ritardo da slave a master ricevuti durante tale finestra temporale di osservazione, come descritto qui di seguito. Ad esempio, assumendo che il nodo master 4 trasmetta, ad ogni secondo, centoventotto terne formate ciascuna, da un messaggio Sync, da un messaggio di followup e da un messaggio di risposta di ritardo, ed assumendo che la finestra temporale di osservazione abbia durata pari a cinque secondi, lo stadio di elaborazione statistica 30 elabora, salvo perdite, seicentoquaranta campioni del ritardo da master a slave e seicentoquaranta campioni del ritardo da slave a master In detail, the statistical processing stage 30 receives the samples of the delay from master to slave and the samples of the delay from slave to master; moreover, the statistical processing stage 30 stores the temporal duration of a temporal observation window. More particularly, given an observation time window, the statistical processing unit 30 processes the master-to-slave delay samples and the slave-to-master delay samples received during that observation time window, as described below. For example, assuming that the master node 4 transmits, every second, one hundred twenty-eight triples each consisting of a Sync message, a followup message and a delay response message, and assuming that the observation time window has the same duration at five seconds, the statistical processing stage 30 processes, subject to losses, six hundred and forty samples of the delay from master to slave and six hundred and forty samples of the delay from slave to master

Nel seguito, le operazioni svolte dallo stadio di elaborazione statistica 30 sono descritte con riferimento ad una situazione a regime, ed in particolare con riferimento ad una generica j-esima finestra temporale di osservazione, preceduta da una j-1-esima finestra temporale di osservazione, e nell'ipotesi che le operazioni svolte dallo stadio di elaborazione statistica 30 siano le medesime durante ciascuna finestra temporale di osservazione . In the following, the operations carried out by the statistical processing stage 30 are described with reference to a steady state situation, and in particular with reference to a generic j-th observation time window, preceded by a j-1-th observation time window. , and assuming that the operations carried out by the statistical processing stage 30 are the same during each observation time window.

In dettaglio, lo stadio di elaborazione statistica 30 determina, sulla base dei campioni del ritardo da master a slave una o più tra le seguenti grandezze statistiche: il valore minimo, il valore medio ed il valore più probabile, quest'ultimo essendo anche noto come moda. Analogamente, sulla base dei campioni del ritardo da slave a master lo stadio di elaborazione statistica 30 determina una o più tra le seguenti grandezze statistiche: il valore minimo, il valore medio e la moda. In detail, the statistical processing stage 30 determines, on the basis of the samples of the delay from master to slave, one or more of the following statistical quantities: the minimum value, the average value and the most probable value, the latter being also known as fashion. Similarly, on the basis of the samples of the delay from slave to master, the statistical processing stage 30 determines one or more of the following statistical quantities: the minimum value, the average value and the mode.

In seguito lo stadio di elaborazione statistica 30 seleziona una tra le grandezze statistiche calcolate sulla base dei campioni del ritardo da master a slave The statistical processing stage 30 then selects one of the statistical quantities calculated on the basis of the samples of the delay from master to slave

alla quale ci si riferisce in seguito come alla grandezza statistica di ritardo da master a slave. hereinafter referred to as the statistical quantity of delay from master to slave.

A titolo puramente esemplificativo, lo stadio di elaborazione statistica 30 può selezionare la grandezza statistica avente minor varianza, come calcolata sulla base di precedenti valori della stessa grandezza statistica, relativi a precedenti finestre temporali di osservazione, cioè ad un insieme di n-esime finestre temporali di osservazione, con n<j. Purely by way of example, the statistical processing stage 30 can select the statistical quantity with the lowest variance, as calculated on the basis of previous values of the same statistical quantity, relating to previous observation time windows, i.e. to a set of n-th time windows. observation, with n <j.

Alternativamente, e sempre a titolo puramente esemplificativo, lo stadio di elaborazione statistica 30 può selezionare la moda, purché attorno ad un intorno prestabilito di essa sia distribuita una frazione rilevante (ad esempio, almeno pari a 80%) dei campioni del ritardo da master a slave tale intorno essendo centrato nella moda ed avendo ampiezza ad esempio pari a dieci microsecondi . Alternatively, and again purely by way of example, the statistical processing stage 30 can select the mode, provided that a relevant fraction (for example, at least equal to 80%) of the samples of the delay from master to slave such around being centered in the mode and having an amplitude for example equal to ten microseconds.

Similmente, lo stadio di elaborazione statistica 30 seleziona una tra le grandezze statistiche calcolate sulla base dei campioni del ritardo da slave a master Similarly, the statistical processing stage 30 selects one of the statistical quantities calculated on the basis of the samples of the delay from slave to master

alla quale ci si riferisce in seguito come alla grandezza statistica di ritardo da slave a master. Ad esempio, il criterio di selezione della grandezza statistica di ritardo da slave a master può essere uguale al criterio adottato per selezionare la grandezza statistica di ritardo da master a slave. hereinafter referred to as the statistical quantity of delay from slave to master. For example, the criterion for selecting the statistical quantity of delay from slave to master can be the same as the criterion used to select the statistical quantity of delay from master to slave.

Nel seguito, per semplicità, si assume che, data la jesima finestra temporale di osservazione, la grandezza statistica di ritardo da master a slave sia pari al minimo tra i campioni del ritardo da master a slave In the following, for simplicity, it is assumed that, given the jesima observation time window, the statistical quantity of delay from master to slave is equal to the minimum among the samples of the delay from master to slave

relativi a tale finestra temporale di osservazione. Similmente, nel seguito si assume che, data ancora la jesima finestra temporale di osservazione, che la grandezza statistica di ritardo da slave a master sia pari al minimo tra i campioni del ritardo da slave a master relating to this observation time window. Similarly, in the following it is assumed that, again given the jth observation time window, that the statistical quantity of delay from slave to master is equal to the minimum among the samples of the delay from slave to master.

relativi a tale finestra temporale di osservazione. relating to this observation time window.

Lo stadio di elaborazione statistica 30 comunica allo stadio di calcolo 34 la grandezza statistica di ritardo da master a slave, cui nel seguito per brevità ci si riferisce come alla grandezza G_MS<j>, e la grandezza statistica di ritardo da slave a master, cui nel seguito per brevità ci si riferisce come alla grandezza G_SM<j>j Inoltre, lo stadio di elaborazione statistica 30 seleziona il messaggio Sync corrispondente alla grandezza G_MS<j>e comunica allo stadio di calcolo 34 i tempi e relativi, rispettivamente, alla trasmissione ed alla ricezione del messaggio Sync selezionato. The statistical processing stage 30 communicates to the calculation stage 34 the statistical quantity of delay from master to slave, which in the following for brevity is referred to as the quantity G_MS <j>, and the statistical quantity of delay from slave to master, which in the following for the sake of brevity we refer to the quantity G_SM <j> j Furthermore, the statistical processing stage 30 selects the Sync message corresponding to the quantity G_MS <j> and communicates to the calculation stage 34 the times and relative, respectively, to the transmission and upon receipt of the selected Sync message.

A sua volta lo stadio di calcolo 34 calcola uno scarto temporale Δφ<j>, pari a: In turn, the calculation stage 34 calculates a time difference Δφ <j>, equal to:

(1) (1)

Inoltre, lo stadio di calcolo 34 calcola uno scarto di frequenza Δf<j>, pari a: Furthermore, the calculation stage 34 calculates a frequency deviation Δf <j>, equal to:

(2) (2)

in cui i tempi e sono gli istanti di trasmissione e di ricezione del messaggio Sync corrispondente al minimo tra i campioni del ritardo da master a slave relativi alla j-1-esima finestra temporale di osservazione, cioè al messaggio Sync selezionato dallo stadio di elaborazione statistica 30 durante la j-1-esima finestra temporale di osservazione. In pratica, secondo l'equazione (2), lo scarto di frequenza Δf<j>è proporzionale alla differenza tra la grandezza G_MS<j>e la grandezza G_MS<j- 1>relativa alla j-1-esima finestra temporale di osservazione. in which the times and are the instants of transmission and reception of the Sync message corresponding to the minimum between the samples of the delay from master to slave relating to the j-1-th observation time window, i.e. to the Sync message selected by the statistical processing stage 30 during the j-1-th time window of observation. In practice, according to equation (2), the frequency difference Δf <j> is proportional to the difference between the quantity G_MS <j> and the quantity G_MS <j- 1> relative to the j-1-th time window of observation .

In uso, lo stadio di calcolo 34 fornisce dunque una successione di valori dello scarto temporale Δφ<j>ed una successione di valori dello scarto di frequenza Δf<j>. In particolare, lo stadio di calcolo 34 ha una prima ed una seconda uscita; i valori dello scarto di frequenza Δf<j>sono forniti sulla prima uscita, mentre i valori dello scarto temporale Δφ<j>sono forniti sulla seconda uscita. In use, the calculation stage 34 therefore provides a succession of values of the time difference Δφ <j> and a succession of values of the frequency difference Δf <j>. In particular, the calculation stage 34 has a first and a second output; the values of the frequency difference Δf <j> are provided on the first output, while the values of the time difference Δφ <j> are provided on the second output.

Si noti inoltre che, qualora le grandezze G_MS<j>e G_SM<3>siano pari alla moda o al valore medio dei corrispondenti campioni di ritardo, le operazioni relative al calcolo degli scarti Δf<j>e Δφ<j>non cambiano, purché, nel caso di selezione del valore medio, i tempi It should also be noted that, if the quantities G_MS <j> and G_SM <3> are equal to the mode or to the average value of the corresponding delay samples, the operations relating to the calculation of the differences Δf <j> and Δφ <j> do not change, provided that, in the case of selection of the average value, the times

siano gli istanti di trasmissione e di ricezione del messaggio Sync tale per cui il corrispondente ritardo da master a slave più si avvicina al valore medio dei campioni dei ritardi da master a slave are the instants of transmission and reception of the Sync message such that the corresponding delay from master to slave is closest to the average value of the samples of the delays from master to slave

Ciò premesso, l'unità di elaborazione 10 del nodo slave 6 implementa inoltre un ramo di controllo di frequenza 40 ed un ramo di controllo di fase 42. That said, the processing unit 10 of the slave node 6 also implements a frequency control branch 40 and a phase control branch 42.

Il ramo di controllo di frequenza 40 comprende un filtro numerico 44 di tipo passa-basso, un amplificatore 46 del tipo a guadagno variabile, un derivatore 48 ed un integratore 50; a titolo puramente esemplificativo, il filtro numerico 44 è del secondo ordine, con polinomio y (n) = x (n) 1.820·y(n-1) - 0.828·y (n-2), dove x (n) indica l'nesimo campione in ingresso al filtro numerico 44 e y (n) indica l'n-esimo campione in uscita. Il ramo di controllo di fase 42 comprende uno stadio di inseguimento di fase 52. The frequency control branch 40 comprises a numerical filter 44 of the low-pass type, an amplifier 46 of the variable gain type, a differentiator 48 and an integrator 50; purely by way of example, the numerical filter 44 is of the second order, with polynomial y (n) = x (n) 1.820 y (n-1) - 0.828 y (n-2), where x (n) indicates l 'nth sample in input to the numerical filter 44 and y (n) indicates the n-th sample in output. The phase control branch 42 comprises a phase tracking stage 52.

In dettaglio, il filtro numerico 44 è collegato allo stadio di calcolo 34, ed in particolare è collegato alla prima uscita dello stadio di calcolo 34, in modo da ricevere gli scarti di frequenza Δf<j>. L'uscita del filtro numerico 44 è collegata all'ingresso dell'amplificatore 46; inoltre, un terminale di controllo dell'amplificatore 46 è collegato alla prima uscita dello stadio di calcolo 34, in modo da ricevere anch'esso gli scarti di frequenza Δf<j>. L'amplificatore 46 varia il proprio guadagno in funzione degli scarti di frequenza Δf<j>, come descritto in seguito. In detail, the numerical filter 44 is connected to the calculation stage 34, and in particular it is connected to the first output of the calculation stage 34, so as to receive the frequency deviations Δf <j>. The output of the numerical filter 44 is connected to the input of the amplifier 46; moreover, a control terminal of the amplifier 46 is connected to the first output of the computing stage 34, so as to also receive the frequency deviations Δf <j>. The amplifier 46 varies its own gain as a function of the frequency deviations Δf <j>, as described below.

L'uscita dell'amplificatore 46 è collegata all'ingresso del derivatore 48, il quale è di tipo discreto ed implementa, a titolo puramente esemplificativo, il polinomio y(n) = x(n) - 0.9·x(n-1). The output of the amplifier 46 is connected to the input of the differentiator 48, which is of the discrete type and implements, purely by way of example, the polynomial y (n) = x (n) - 0.9 x (n-1) .

L'uscita del derivatore 48 è collegata ad un sommatore 60, il quale è interposto tra il derivatore 48 e l'integratore 50. Il sommatore 60 ha un primo ed un secondo ingresso; il primo ingresso è appunto collegato all'uscita del derivatore 48. L'uscita del sommatore 60 è collegata all'ingresso dell'integratore 50, il quale è di tipo discreto ed ha funzione di trasferimento ad esempio pari a y(n) = x(n) y(n-1). The output of the differentiator 48 is connected to an adder 60, which is interposed between the differentiator 48 and the integrator 50. The adder 60 has a first and a second input; the first input is in fact connected to the output of the differentiator 48. The output of the adder 60 is connected to the input of the integrator 50, which is of the discrete type and has a transfer function for example equal to y (n) = x ( n) y (n-1).

Il nodo slave 6 comprende inoltre un convertitore digitale-analogico ("digital to analog converter", DAC) 62, il cui ingresso è collegato all'uscita dell'integratore 50, e la cui uscita è collegata all'ingresso dell'oscillatore 21, il quale è dunque comandato dal convertitore DAC 62. The slave node 6 also comprises a digital-to-analog converter (DAC) 62, whose input is connected to the output of the integrator 50, and whose output is connected to the input of the oscillator 21, which is therefore controlled by the DAC 62 converter.

Relativamente allo stadio di inseguimento di fase 52, esso ha un ingresso, collegato alla seconda uscita dello stadio di calcolo 34, in modo da ricevere i valori dello scarto temporale Δφ<j>; inoltre lo stadio di inseguimento di fase 52 ha una prima ed una seconda uscita. La prima uscita è collegata al summenzionato secondo ingresso del temporizzatore 23, mentre la seconda uscita è collegata al secondo ingresso del sommatore 60, per motivi che saranno descritti in seguito. With regard to the phase tracking stage 52, it has an input, connected to the second output of the calculation stage 34, so as to receive the values of the time difference Δφ <j>; furthermore, the phase tracking stage 52 has a first and a second output. The first output is connected to the aforementioned second input of the timer 23, while the second output is connected to the second input of the adder 60, for reasons which will be described below.

In maggior dettaglio, lo stadio di inseguimento di fase 52 opera nel seguente modo. In greater detail, the phase tracking stage 52 operates in the following manner.

Per ciascuna finestra temporale di osservazione, lo stadio di inseguimento di fase 52 compara il corrispondente scarto temporale Δφ<j>con una soglia Δφ_th. For each observation time window, the phase tracking stage 52 compares the corresponding time difference Δφ <j> with a threshold Δφ_th.

Qualora lo scarto temporale sia superiore, in valore assoluto, alla soglia lo stadio di inseguimento di fase 52 genera sulla propria prima uscita un valore pari allo scarto temporale senza modificare la propria seconda uscita. In pratica, tale valore concorre a comandare il temporizzatore 23 del nodo slave 6, insieme all'oscillatore 21, come descritto inseguito . If the time difference is higher, in absolute value, than the threshold, the phase tracking stage 52 generates on its first output a value equal to the time difference without modifying its second output. In practice, this value contributes to controlling the timer 23 of the slave node 6, together with the oscillator 21, as described below.

Qualora lo scarto temporale sia inferiore, in valore assoluto, alla soglia lo stadio di inseguimento di fase 52 genera sulla propria seconda uscita un valore pari allo scarto temporale senza modificare la propria prima uscita. If the time difference is lower, in absolute value, to the threshold, the phase tracking stage 52 generates on its second output a value equal to the time difference without modifying its first output.

Ai fini pratici, il ramo di controllo di frequenza 40 forma, insieme alla pila protocollare 14, allo stadio di elaborazione statistica 30, allo stadio di calcolo 34, al convertitore DAC 62, all'oscillatore 21 ed al temporizzatore 23, un anello ad aggancio di frequenza che opera in maniera tale da minimizzare lo scarto tra le frequenze degli oscillatori del nodo master 4 e del nodo slave 6. L'ingresso di tale anello ad aggancio di frequenza è appunto definito dallo scarto tra le frequenze degli oscillatori del nodo master 4 e del nodo slave 6. Inoltre, a titolo puramente esemplificativo, l'anello ad aggancio di frequenza può operare ad una frequenza di campionamento ad esempio pari a 200 mHz e può avere una frequenza di taglio dell'ordine del millihertz. For practical purposes, the frequency control branch 40 forms, together with the protocol stack 14, the statistical processing stage 30, the calculation stage 34, the DAC converter 62, the oscillator 21 and the timer 23, a latching loop. frequency which operates in such a way as to minimize the difference between the frequencies of the oscillators of the master node 4 and of the slave node 6. The input of this frequency locked loop is precisely defined by the difference between the frequencies of the oscillators of the master node 4 and of the slave node 6. Furthermore, purely by way of example, the frequency locked loop can operate at a sampling frequency for example equal to 200 mHz and can have a cut-off frequency of the order of millihertz.

Il ramo di controllo di fase 42 effettua invece un controllo in anello aperto del temporizzatore 23 del nodo slave 6. In maggior dettaglio, come precedentemente accennato, il temporizzatore 23 aggiorna periodicamente la propria ora locale, sulla base del segnale periodico locale fornito dall'oscillatore 21 sul primo ingresso del temporizzatore 23; in altre parole il temporizzatore 23 aggiorna la propria ora locale in modo sincrono con l'oscillatore 21, in modo di per sé noto. Inoltre, ogni qual volta lo stadio di inseguimento di fase 52 genera sulla propria prima uscita un valore il temporizzatore 23 aggiorna la propria ora locale, in modo asincrono rispetto all'oscillatore 21. Ad esempio, il temporizzatore 23 somma (algebricamente) alla propria ora locale il valore The phase control branch 42 instead carries out an open loop control of the timer 23 of the slave node 6. In greater detail, as previously mentioned, the timer 23 periodically updates its local time, on the basis of the local periodic signal supplied by the oscillator. 21 on the first input of the timer 23; in other words, the timer 23 updates its local time synchronously with the oscillator 21, in a manner known per se. Furthermore, whenever the phase tracking stage 52 generates a value on its first output, the timer 23 updates its local time, asynchronously with respect to the oscillator 21. For example, the timer 23 adds (algebraically) to its own time local the value

In pratica, mediante il summenzionato controllo in anello chiuso, il nodo slave 6 tende a far sì che la frequenza del proprio oscillatore 21 sia uguale alla frequenza dell'oscillatore 20 del nodo master 4. Inoltre, mediante il summenzionato controllo in anello aperto, il nodo slave 6 tende ad annullare errori di fase tra se stesso ed il nodo master 4, quindi tende ad annullare la differenza tra i valori assoluti, e cioè tra le ore locali, del temporizzatore 22 del nodo master 4 e del temporizzatore 23 del nodo slave 6. L'ora locale del nodo slave 6 viene quindi agganciata all'ora locale del nodo master 4. In practice, by means of the aforementioned closed-loop control, the slave node 6 tends to make the frequency of its own oscillator 21 equal to the frequency of the oscillator 20 of the master node 4. Furthermore, by means of the aforementioned open-loop control, the slave node 6 tends to cancel phase errors between itself and the master node 4, therefore it tends to cancel the difference between the absolute values, i.e. between the local times, of the timer 22 of the master node 4 and of the timer 23 of the slave node 6. The local time of slave node 6 is then linked to the local time of master node 4.

Per quanto concerne il collegamento tra la seconda uscita dello stadio di inseguimento di fase 52 ed il secondo ingresso del sommatore 60, esso è facoltativo. Tale collegamento consente di implementare, all'interno del nodo slave 6, un ulteriore controllo della fase del temporizzatore 23 ed in particolare consente di implementare un anello di controllo ad anello chiuso. Infatti, come precedentemente accennato, per piccole differenze di fase, lo stadio di inseguimento di fase 52 non aggiorna la propria prima uscita, e dunque non causa alcun aggiornamento diretto del temporizzatore 23; al contrario, lo stadio di inseguimento di fase 52 genera un nuovo valore il quale comporta un aggiornamento indiretto dell'ora locale, tale aggiornamento essendo in particolare mediato dall'integratore 50. In altre parole, piccoli scostamenti di fase tra il nodo master 4 ed il nodo slave 6 sono annullati lentamente, mediante generazione di uno scarto addizionale di frequenza, il quale consente di recuperare lo sfasamento As regards the connection between the second output of the phase tracking stage 52 and the second input of the adder 60, it is optional. This connection allows to implement, inside the slave node 6, a further control of the phase of the timer 23 and in particular allows to implement a closed-loop control loop. In fact, as previously mentioned, for small phase differences, the phase tracking stage 52 does not update its first output, and therefore does not cause any direct update of the timer 23; on the contrary, the phase tracking stage 52 generates a new value which involves an indirect update of the local time, this update being mediated in particular by the integrator 50. In other words, small phase deviations between the master node 4 and the slave node 6 are slowly canceled, by generating an additional frequency offset, which makes it possible to recover the phase shift

In generale, il derivatore 48 consente di inseguire variazioni di frequenza relativamente veloci, che possono verificarsi tra nodo master 4 e nodo slave 6. Inoltre, l'integratore 50 consente di integrare nel tempo gli scarti di frequenza, in modo da fornire in ingresso all'oscillatore 21 un segnale tale per cui la frequenza dell'oscillatore 21 è effettivamente pari alla frequenza dell'oscillatore 20 del nodo master 4. In general, the differentiator 48 allows to follow relatively fast frequency variations, which can occur between the master node 4 and the slave node 6. Furthermore, the integrator 50 allows the frequency deviations to be integrated over time, so as to provide input to the oscillator 21 is a signal such that the frequency of the oscillator 21 is effectively equal to the frequency of the oscillator 20 of the master node 4.

Nuovamente con riferimento all'amplificatore 46, come accennato in precedenza, il suo guadagno è proporzionale agli scarti di frequenza Pertanto, a scarti di frequenza elevati corrispondono valori elevati del guadagno, in modo tale per cui l'anello ad aggancio di frequenza ha una banda ampia, e dunque ha una maggiore rapidità nell 'inseguire la frequenza. Al contrario, a scarti di frequenza ridotti (ad esempio, inferiori ad una soglia limite) corrispondono valori ridotti del guadagno, in modo tale per cui l'anello ad aggancio di frequenza ha una banda limitata, e dunque si caratterizza per una maggiore capacità di filtrare il jitter. Peraltro, è comunque possibile utilizzare un amplificatore a guadagno costante, anziché l'amplificatore 46. Again with reference to the amplifier 46, as previously mentioned, its gain is proportional to the frequency deviations.Therefore, high frequency deviations correspond to high gain values, so that the frequency locked loop has a band wide, and therefore has a greater speed in following the frequency. On the contrary, reduced frequency deviations (for example, lower than a limit threshold) correspond to reduced values of the gain, so that the frequency locked loop has a limited band, and therefore is characterized by a greater capacity of filter jitter. However, it is still possible to use a constant gain amplifier, instead of the amplifier 46.

Secondo una differente forma di realizzazione, lo stadio di inseguimento di fase 52 può effettuare, in modo di per sé noto, un'operazione di filtro a media mobile sugli scarti temporali Δφ<j>. In particolare, lo stadio di inseguimento di fase 52 può calcolare, per ciascuna finestra temporale di osservazione, un corrispondente scarto temporale pesato pari ad una somma pesata dello scarto temporale relativo alla finestra temporale di osservazione, e di uno o più scarti temporali relativi a precedenti finestre temporali di osservazione. In tal caso, le operazioni precedentemente descritte di confronto con la soglia e di generazione dei valori si modificano di conseguenza, mediante impiego dello scarto temporale pesato anziché dello scarto temporale According to a different embodiment, the phase tracking stage 52 can perform, in a per se known manner, a moving average filter operation on the time deviations Δφ <j>. In particular, the tracking stage of phase 52 can calculate, for each observation time window, a corresponding weighted time difference equal to a weighted sum of the time difference relating to the observation time window, and one or more time differences relating to previous observation time windows. In this case, the operations described above for comparing with the threshold and generating the values are modified accordingly, by using the weighted time difference instead of the time difference.

Secondo un'ancora differente forma di realizzazione il blocco di elaborazione statistica 30 è assente, nel qual caso le grandezze sono rispettivamente uguali ai campioni del ritardo da master a slave ed ai campioni del ritardo da slave a master In altre parole, ciò equivale ad assumere una finestra temporale di osservazione di durata tale per cui, durante la medesima finestra temporale di osservazione, sono trasmessi un singolo messaggio Sync, un singolo messaggio di follow-up, un singolo messaggio di richiesta di ritardo ed un singolo messaggio di risposta di ritardo. Ancora in altre parole, ciò significa che, per ciascuna finestra temporale di osservazione, sono disponibili solo un campione del ritardo da master a slave e solo un campione del ritardo da slave a master Ai fini pratici, in tale forma di realizzazione la finestra temporale di osservazione è quindi assente, nel senso che non sono eseguiti operazioni statistiche sui campioni dei ritardi. Ne consegue che, dati due campioni del ritardo da master a slave ed un campione del ritardo da slave a master lo scarto di frequenza Af<3>è proporzionale alla differenza tra i due campioni del ritardo da master a slave mentre lo scarto temporale Acp<3>è proporzionale alla differenza tra il campione del ritardo da slave a master ed uno tra i due campioni del ritardo da master a slave According to a still different embodiment, the statistical processing block 30 is absent, in which case the quantities are respectively equal to the samples of the delay from master to slave and to the samples of the delay from slave to master In other words, this is equivalent to assuming an observation time window of such duration that, during the same observation time window, a single Sync message, a single follow-up message, a single delay request message and a single delay response message are transmitted. In other words, this means that, for each observation time window, only one sample of the master-to-slave delay and only one sample of the slave-to-master delay are available For practical purposes, in this embodiment the time window of observation is therefore absent, in the sense that statistical operations are not performed on the samples of the delays. It follows that, given two samples of the delay from master to slave and one sample of the delay from slave to master, the frequency difference Af <3> is proportional to the difference between the two samples of the delay from master to slave while the time difference Acp < 3> is proportional to the difference between the sample of the delay from slave to master and one between the two samples of the delay from master to slave

Secondo una differente forma di realizzazione, anch'essa conforme allo standard IEEE 1588-2008, le trasmissioni del primo e del secondo messaggio Sync da parte del nodo master 4 non sono rispettivamente seguite dalle trasmissioni del primo e del secondo messaggio di follow-up. In particolare, secondo tale forma di realizzazione, il nodo master 4 non trasmette alcun messaggio di follow-up. In tal caso, i tempi di trasmissione del primo e del secondo messaggio Sync sono ancora rilevati dall'unità di rilevazione 24 del nodo master 24, ma, anziché essere comunicati da quest' ultima all'unità di elaborazione 10 per un successivo inserimento nei corrispondenti messaggi di follow-up, sono inseriti dall'unità di rilevazione 10 all'interno degli stessi primo e secondo messaggio Sync. Ciò avviene in modo di per sé noto e consente di ridurre il numero di messaggi trasmessi dal nodo master 4. According to a different embodiment, also conforming to the IEEE 1588-2008 standard, the transmissions of the first and second Sync message by the master node 4 are not respectively followed by the transmissions of the first and second follow-up messages. In particular, according to this embodiment, the master node 4 does not transmit any follow-up message. In this case, the transmission times of the first and second Sync message are still detected by the detection unit 24 of the master node 24, but, instead of being communicated by the latter to the processing unit 10 for subsequent insertion into the corresponding follow-up messages are inserted by the detection unit 10 within the same first and second Sync message. This occurs in a per se known manner and allows to reduce the number of messages transmitted by the master node 4.

Secondo una differente forma di realizzazione, è inoltre possibile che, al fine di determinare la grandezza According to a different embodiment, it is also possible that in order to determine the magnitude

e la grandezza relative ad una data finestra and the size relative to a given window

temporale di osservazione, lo stadio di elaborazione statistica 30 scarti i campioni del ritardo da master a slave ed i campioni del ritardo da slave a master observation time, the statistical processing stage 30 discards the delay samples from master to slave and the delay samples from slave to master

giudicati non attendibili. Ad esempio, lo stadio di deemed unreliable. For example, the stage of

elaborazione statistica 30 può scartare i campioni del ritardo da master a slave che si discostano per più di un tempo limite (ad esempio, pari a 5μμ o 10ps) dalla grandezza relativa alla precedente finestra temporale di osservazione; similmente, lo stadio di elaborazione statistica 30 può scartare i campioni del ritardo da slave a master che si discostano per più di tale tempo limite dalla grandezza relativa alla precedente finestra temporale di osservazione. In tal modo, è probabile che i campioni scartati siano relativi a momenti in cui la rete 1 ha subito cambiamenti apprezzabili, quali ad esempio cambiamenti di carico ("load"), oppure cambiamenti dovuti a modifiche di percorso . statistical processing 30 can discard the samples of the delay from master to slave which deviate for more than a time limit (for example, equal to 5μμ or 10ps) from the magnitude relating to the previous observation time window; similarly, the statistical processing stage 30 can discard the samples of the delay from slave to master which deviate for more than this limit time from the magnitude relating to the previous observation time window. In this way, it is probable that the rejected samples relate to moments in which the network 1 has undergone appreciable changes, such as for example load changes ("load"), or changes due to path modifications.

Si noti inoltre che, ai fini pratici, le precedenti forme di realizzazione prevedono che ciascuno scarto di frequenza Af<3>sia calcolato sulla base di almeno due ritardi da master a slave e che ciascuno scarto temporale sia calcolato sulla base di almeno un ritardo da master a slave ed un ritardo da slave a master It should also be noted that, for practical purposes, the previous embodiments provide that each frequency offset Af <3> is calculated on the basis of at least two delays from master to slave and that each time offset is calculated on the basis of at least one delay from master to slave and a slave to master delay

· Sono tuttavia possibili forme di realizzazione in cui However, embodiments are possible in which

ciascuno scarto di frequenza è calcolato sulla base di almeno due ritardi da slave a master ciascuno dei due ritardi da slave a master è determinato come descritto con riferimento alla figura 4. each frequency offset is calculated on the basis of at least two slave-to-master delays each of the two slave-to-master delays is determined as described with reference to Figure 4.

In pratica, assumendo per semplicità di non fare uso di finestre temporali di osservazione, l'unità di elaborazione 10 del nodo slave 6 può calcolare uno scarto di frequenza e uno scarto temporale anche disponendo, come precedentemente accennato, solo di due ritardi da master a slave e di un ritardo da slave a master, oppure di un ritardo da master a slave e di due ritardi da slave a master. Nel primo caso, come precedentemente accennato, lo scarto di frequenza è funzione dei due ritardi da master a slave, e lo scarto temporale è funzione del ritardo da slave a master e di uno tra i due ritardi da master a slave; nel secondo caso, lo scarto di frequenza è funzione dei due ritardi da slave a master, e lo scarto temporale è funzione del ritardo da master a slave e di uno tra i due ritardi da slave a master. In practice, assuming for simplicity not to make use of observation time windows, the processing unit 10 of the slave node 6 can calculate a frequency deviation and a time deviation also having, as previously mentioned, only two delays from master to slave and one slave-to-master delay, or one master-to-slave delay and two slave-to-master delays. In the first case, as previously mentioned, the frequency difference is a function of the two delays from master to slave, and the time difference is a function of the delay from slave to master and one of the two delays from master to slave; in the second case, the frequency difference is a function of the two delays from slave to master, and the time difference is a function of the delay from master to slave and one of the two delays from slave to master.

A tal proposito, e a titolo puramente esemplificativo, la figura 5 mostra, oltre alle trasmissioni ed alle ricezioni del primo messaggio Sync, del primo messaggio di follow-up, del primo messaggio di richiesta di ritardo e del primo messaggio di risposta di ritardo, le trasmissioni e le ricezioni di ulteriori messaggi, ai fini della determinazione di un secondo ritardo da slave a master. In this regard, and purely by way of example, Figure 5 shows, in addition to the transmissions and receptions of the first Sync message, the first follow-up message, the first delay request message and the first delay response message, the transmissions and receptions of further messages, for the purpose of determining a second delay from slave to master.

In dettaglio, la figura 5 mostra la trasmissione, ad un istante t5e da parte del nodo slave 6, di un secondo messaggio di richiesta di ritardo, il quale viene ricevuto dal nodo master 4 ad un tempo t6. In seguito alla ricezione del secondo messaggio di richiesta di ritardo, il nodo master 4 trasmette un secondo messaggio di risposta di ritardo, ad un tempo t6<*>. Il secondo messaggio di risposta di ritardo viene ricevuto dal nodo slave 6 ad un tempo t5<*>. In seguito alla ricezione del secondo messaggio di risposta di ritardo, l'unità di elaborazione 10 del nodo slave 6 determina il secondo ritardo da slave a master, il quale è pari a t6- t5. In detail, Figure 5 shows the transmission, at an instant t5e by the slave node 6, of a second delay request message, which is received by the master node 4 at a time t6. Upon receipt of the second delay request message, the master node 4 transmits a second delay response message, at a time t6 <*>. The second delay response message is received by the slave node 6 at a time t5 <*>. Upon receipt of the second delay response message, the processing unit 10 of the slave node 6 determines the second delay from slave to master, which is equal to t6-t5.

I vantaggi che il presente metodo di sincronizzazione consente di ottenere emergono chiaramente dalla descrizione precedente. In particolare, esso consente di sincronizzare i ripetitori (nodi) di una rete isofrequenziale Simulcast, i cui nodi sono interconnessi tramite una rete a pacchetto, senza avvalersi di sorgenti di sincronizzazione esterne. Ancora più in particolare, grazie all'impiego di un anello ad aggancio di frequenza, è possibile filtrare il jitter introdotto dalla rete a pacchetto, ed al contempo inseguire prontamente eventuali derive dell'oscillatore del nodo master. A tal proposito, si noti inoltre che l'anello ad aggancio di frequenza è di un ordine inferiore rispetto ad un corrispondente anello ad aggancio di fase, e dunque si caratterizza per una maggiore stabilità, a parità di banda. The advantages that the present synchronization method allows to obtain emerge clearly from the preceding description. In particular, it allows to synchronize the repeaters (nodes) of a Simulcast isofrequency network, whose nodes are interconnected through a packet network, without using external synchronization sources. Even more particularly, thanks to the use of a frequency locked loop, it is possible to filter the jitter introduced by the packet network, and at the same time promptly track any drifts of the master node's oscillator. In this regard, it should also be noted that the frequency locked loop is of a lower order than a corresponding phase locked loop, and therefore is characterized by greater stability, with the same band.

Per quanto concerne, invece, lo stadio di elaborazione statistica 30 esso consente di filtrare il contributo causato da campioni del ritardo da master a slave e da campioni del ritardo da slave a master affetti da jitter, limitandone gli effetti negativi sul conseguimento dell'aggancio di frequenza e di fase. As regards, on the other hand, the statistical processing stage 30 it allows to filter the contribution caused by samples of the delay from master to slave and by samples of the delay from slave to master affected by jitter, limiting the negative effects on the achievement of the frequency and phase.

Risulta infine evidente che al presente metodo di sincronizzazione possono essere apportate modifiche e varianti, senza per questo uscire dall'ambito della presente invenzione, definito dalle rivendicazioni allegate . Finally, it is evident that modifications and variations can be made to the present synchronization method, without thereby departing from the scope of the present invention, defined by the attached claims.

Ad esempio, uno o più componenti delle unità di elaborazione del nodo master e/o di uno o più dei nodi slave possono essere implementati mediante hardware dedicati, anziché mediante la descritta implementazione software . For example, one or more components of the processing units of the master node and / or of one or more of the slave nodes can be implemented by means of dedicated hardware, rather than by means of the described software implementation.

Inoltre, il derivatore 48 e/o l'integratore 50 possono essere assenti, oppure possono essere sostituiti da corrispondenti filtri; anche l'amplificatore 46 può essere assente . Furthermore, the shunt 48 and / or the integrator 50 can be absent, or they can be replaced by corresponding filters; also the amplifier 46 can be absent.

Relativamente ai messaggi Sync ed ai messaggi di follow-up, è inoltre possibile che, in modo di per sé noto, essi contengano rispettivi numeri di sequenza, atti a consentire al nodo slave di determinare, per ciascun messaggio di follow-up, a quale messaggio Sync corrisponde. Inoltre, ciascun messaggio Sync può contenere un indicatore atto a notificare al nodo slave il successivo invio del corrispondente messaggio di follow-up. With regard to the Sync messages and the follow-up messages, it is also possible that, in a per se known manner, they contain respective sequence numbers, suitable for allowing the slave node to determine, for each follow-up message, to which Sync message matches. Furthermore, each Sync message can contain an indicator suitable to notify the slave node of the subsequent sending of the corresponding follow-up message.

Infine, per determinare i ritardi da master a slave ed i ritardi da slave a master e dunque al fine di determinare gli scarti temporali e gli scarti di frequenza il nodo master 4 ed il nodo slave 6 possono implementare un protocollo differente rispetto al protocollo PTP, quale ad esempio il protocollo NTP. Finally, to determine the delays from master to slave and the delays from slave to master and therefore in order to determine the time and frequency deviations, the master node 4 and the slave node 6 can implement a different protocol than the PTP protocol, such as the NTP protocol.

Claims (15)

RIVENDICAZIONI 1. Metodo di sincronizzazione di un nodo master (4) e di un nodo slave (6) di una rete a pacchetto (1), il nodo master comprendendo un primo temporizzatore (22) comandato da un primo oscillatore (20) in modo da aggiornare una prima ora locale ("locai time") con una prima frequenza, il nodo slave comprendendo un secondo temporizzatore (23) comandato da un secondo oscillatore (21) in modo da aggiornare una seconda ora locale con una seconda frequenza, detto metodo comprendendo le fasi di determinare almeno un primo ritardo da master a slave almeno un primo ritardo da slave a master e almeno un ulteriore ritardo tra un secondo ritardo da master a slave ed un secondo ritardo da slave a master; detto metodo comprendendo, per determinare ciascun ritardo da master a slave, le fasi di: - trasmettere, da parte del nodo master, un pacchetto da master a slave (Sync) in un rispettivo istante di trasmissione , riferito alla prima ora locale; - ricevere, da parte del nodo slave, il pacchetto da master a slave in un rispettivo istante di ricezione CLAIMS 1. Method of synchronizing a master node (4) and a slave node (6) of a packet network (1), the master node comprising a first timer (22) controlled by a first oscillator (20) so as to updating a first local time ("locai time") with a first frequency, the slave node comprising a second timer (23) controlled by a second oscillator (21) so as to update a second local time with a second frequency, said method comprising the steps of determining at least a first delay from master to slave, at least a first delay from slave to master and at least one further delay between a second delay from master to slave and a second delay from slave to master; said method comprising, to determine each delay from master to slave, the steps of: - transmit, by the master node, a packet from master to slave (Sync) in a respective transmission instant, referred to the first local time; - receiving, by the slave node, the packet from master to slave in a respective receiving instant , riferito alla seconda ora locale; - comunicare al nodo slave, da parte del nodo master, detto rispettivo istante di trasmissione; e - calcolare, da parte del nodo slave, detto ritardo da master a slave sulla base dei rispettivi istanti di trasmissione e di ricezione del pacchetto da master a slave ; detto metodo comprendendo inoltre, per determinare ciascun ritardo da slave a master, le fasi di: - trasmettere, da parte del nodo slave, un pacchetto da slave a master (RICHIESTA DI RITARDO) in un rispettivo istante di trasmissione (t3;t5), riferito alla seconda ora locale; - ricevere, da parte del nodo master, il pacchetto da slave a master in un rispettivo istante di ricezione (t4;t6), riferito alla prima ora locale; - comunicare al nodo slave, da parte del nodo master, detto rispettivo istante di ricezione; e - calcolare, da parte del nodo slave, detto ritardo da slave a master, sulla base dei rispettivi istanti di trasmissione e ricezione del pacchetto da slave a master; detto metodo comprendendo inoltre, da parte del nodo slave: - determinare uno scarto di frequenza indicativo della differenza tra la prima e la seconda frequenza, sulla base di almeno due ritardi da master a slave, oppure sulla base di almeno due ritardi da slave a master; e - determinare uno scarto temporale indicativo della differenza tra la prima e la seconda ora locale, sulla base di almeno un ritardo da master a slave e di almeno un ritardo da slave a master; detto metodo comprendendo inoltre le fasi di: - comandare il secondo oscillatore in funzione dello scarto di frequenza, in modo da agganciare in frequenza il secondo oscillatore al primo oscillatore; e - aggiornare la seconda ora locale sulla base dello scarto temporale, in modo asincrono rispetto al secondo oscillatore ed in maniera tale da agganciare in fase il secondo temporizzatore al primo temporizzatore. , referring to the second local time; - communicating to the slave node, by the master node, said respective instant of transmission; And - calculating, by the slave node, said delay from master to slave on the basis of the respective instants of transmission and reception of the packet from master to slave; said method further comprising, to determine each delay from slave to master, the steps of: - transmit, by the slave node, a packet from slave to master (DELAY REQUEST) in a respective transmission instant (t3; t5), referred to the second local time; - receiving, by the master node, the packet from slave to master in a respective reception instant (t4; t6), referred to the first local time; - communicating to the slave node, by the master node, said respective instant of reception; And - calculating, by the slave node, said delay from slave to master, on the basis of the respective instants of transmission and reception of the packet from slave to master; said method further comprising, on the part of the slave node: - determining a frequency difference indicative of the difference between the first and second frequency, on the basis of at least two delays from master to slave, or on the basis of at least two delays from slave to master; And - determining a time difference indicative of the difference between the first and the second local time, on the basis of at least one delay from master to slave and of at least one delay from slave to master; said method also comprising the steps of: - controlling the second oscillator as a function of the frequency difference, so as to lock the second oscillator in frequency to the first oscillator; And - updating the second local time on the basis of the time difference, asynchronously with respect to the second oscillator and in such a way as to lock in phase the second timer to the first timer. 2. Metodo di sincronizzazione secondo la rivendicazione 1, in cui il nodo slave (6) comprende una interfaccia slave (16) verso la rete (1), di tipo indipendente dal mezzo ("media independent") , ed il nodo master (4) comprende una interfaccia master (16) verso la rete, di tipo indipendente dal mezzo; ed in cui, per ciascun pacchetto da master a slave (Sync): - il rispettivo istante di trasmissione si riferisce al transito di detto pacchetto da master a slave attraverso l'interfaccia master (16); e - il rispettivo istante di ricezione si riferisce al transito di detto pacchetto da master a slave attraverso l'interfaccia slave (16); ed in cui, per ciascun pacchetto da slave a master (RICHIESTA DI RITARDO) : - il rispettivo istante di trasmissione (t3;t5) si riferisce al transito di detto pacchetto da slave a master attraverso l'interfaccia slave (16); e - il rispettivo istante di ricezione (t4;t6)si riferisce al transito di detto pacchetto da slave a master attraverso l'interfaccia master (16). 2. Synchronization method according to claim 1, wherein the slave node (6) comprises a slave interface (16) towards the network (1), of the "media independent" type, and the master node (4 ) comprises a master interface (16) towards the network, independent of the medium; and in which, for each packet from master to slave (Sync): - the respective transmission instant refers to the transit of said packet from master to slave through the master interface (16); And - the respective receiving instant refers to the transit of said packet from master to slave through the slave interface (16); and in which, for each packet from slave to master (DELAY REQUEST): - the respective transmission instant (t3; t5) refers to the transit of said packet from slave to master through the slave interface (16); And - the respective reception instant (t4; t6) refers to the transit of said packet from slave to master through the master interface (16). 3. Metodo di sincronizzazione secondo la rivendicazione 1 o 2, comprendente inoltre la fase di comandare il secondo oscillatore (21) in funzione anche dello scarto temporale (Δφ<j>), in modo da causare corrispondenti variazioni della seconda ora locale, sincrone rispetto al secondo oscillatore. 3. Synchronization method according to claim 1 or 2, further comprising the step of controlling the second oscillator (21) as a function also of the time difference (Δφ <j>), so as to cause corresponding variations of the second local time, synchronous with respect to the second oscillator. 4. Metodo di sincronizzazione secondo la rivendicazione 3, comprendente inoltre le fasi di, da parte del nodo slave (6): - confrontare lo scarto temporale (Δφ<j>) con una soglia; e - se lo scarto temporale è maggiore, in valore assoluto, della soglia, sommare algebricamente detto scarto temporale alla seconda ora locale; - se lo scarto temporale è inferiore, in valore assoluto, alla soglia, comandare il secondo oscillatore in modo da variare la seconda frequenza in funzione dello scarto di frequenza (Δf<j>) e dello scarto temporale (Δφ<j>). Synchronization method according to claim 3, further comprising the steps of, by the slave node (6): - compare the time difference (Δφ <j>) with a threshold; And - if the time difference is greater, in absolute value, than the threshold, algebraically add said time difference to the second local time; - if the time difference is lower, in absolute value, to the threshold, control the second oscillator so as to vary the second frequency as a function of the frequency difference (Δf <j>) and the time difference (Δφ <j>). 5. Metodo di sincronizzazione secondo una qualsiasi delle rivendicazioni precedenti in cui detta fase di comandare il secondo oscillatore (21) in funzione dello scarto di frequenza comprende filtrare numericamente lo scarto di frequenza con un filtro numerico (44) di tipo passa-basso del secondo ordine, e comandare il secondo oscillatore sulla base dello scarto filtrato. Synchronization method according to any one of the preceding claims, wherein said step of controlling the second oscillator (21) as a function of the frequency deviation comprises numerically filtering the frequency deviation with a low-pass type digital filter (44) of the second order, and control the second oscillator on the basis of the filtered waste. 6. Metodo di sincronizzazione secondo una qualsiasi delle rivendicazioni precedenti, in cui ciascun ritardo da master a slave è proporzionale alla differenza tra gli istanti di ricezione e di trasmissione 6. Synchronization method according to any one of the preceding claims, wherein each delay from master to slave is proportional to the difference between the receiving and transmitting instants del corrispondente pacchetto da master a slave, e ciascun ritardo da slave a master (As-to-M<1>) è proporzionale alla differenza tra gli istanti di ricezione e di trasmissione (t4,t6;t3,t5) del corrispondente pacchetto da slave a master. of the corresponding master-to-slave packet, e each delay from slave to master (As-to-M <1>) is proportional to the difference between the reception and transmission instants (t4, t6; t3, t5) of the corresponding packet from slave to master. 7. Metodo di sincronizzazione secondo la rivendicazione 6, in cui lo scarto di frequenza è proporzionale alla differenza tra due tra i ritardi da master a slave determinati, oppure è proporzionale alla differenza tra due tra i ritardi da slave a master determinati; ed in cui lo scarto temporale è proporzionale alla differenza tra uno dei ritardi da master a slave determinati e uno dei ritardi da slave a master determinati . The synchronization method according to claim 6, wherein the frequency offset is proportional to the difference between two of the determined master-to-slave delays, or is proportional to the difference between two of the determined slave-to-master delays; and in which the time difference is proportional to the difference between one of the determined master-to-slave delays and one of the determined slave-to-master delays. 8. Metodo di sincronizzazione secondo una qualsiasi delle rivendicazioni da 1 a 6, comprendente inoltre le fasi di : definire una successione di finestre temporali; determinare una pluralità di ritardi da master a slave (Aw-to-s<1>), detta fase di determinare una pluralità di ritardi da master a slave comprendendo trasmettere da parte del nodo master, durante una prima finestra temporale, una corrispondente pluralità di pacchetti da master a slave (Sync); - determinare una pluralità di ritardi da slave a master , detta fase di determinare una pluralità di ritardi da slave a master comprendendo trasmettere da parte del nodo slave, durante la prima finestra temporale, una corrispondente pluralità di pacchetti da slave a master (RICHIESTA DI RITARDO); detto metodo comprendendo inoltre le fasi di, da parte del nodo slave: - determinare almeno una prima grandezza statistica (G_MS<j>) tra: il valore minimo, il valore medio e la moda di detta pluralità di ritardi da master a slave; - determinare almeno una seconda grandezza statistica (G_SM<j>) tra: il valore minimo, il valore medio e la moda di detta pluralità di ritardi da slave a master; e - selezionare un pacchetto alternativamente tra detta pluralità di pacchetti da master a slave oppure tra detta pluralità di pacchetti da slave a master, in maniera tale per cui il ritardo calcolato sulla base degli istanti di trasmissione e di ricezione del pacchetto selezionato corrisponda alternativamente alla prima, oppure alla seconda grandezza statistica; ed in cui detta fase di determinare uno scarto temporale (Δφ<j>) comprende calcolare lo scarto temporale in modo che sia proporzionale alla differenza tra dette prima e seconda grandezza statistica; ed in cui detta fase di determinare uno scarto di frequenza (Δf<j>) comprende calcolare lo scarto di frequenza sulla base degli istanti di trasmissione e di ricezione del pacchetto selezionato e, qualora detto pacchetto sia stato selezionato tra i pacchetti da master a slave, degli istanti di trasmissione e di ricezione di un pacchetto da master a slave trasmesso durante una precedente finestra temporale, oppure, qualora detto pacchetto sia stato selezionato tra i pacchetti da slave a master, degli istanti di trasmissione e di ricezione di un pacchetto da slave a master trasmesso durante la precedente finestra temporale. 8. Synchronization method according to any one of claims 1 to 6, further comprising the steps of: define a succession of time windows; determining a plurality of delays from master to slave (Aw-to-s <1>), said step of determining a plurality of delays from master to slave comprising transmitting by the master node, during a first time window, a corresponding plurality of packets from master to slave (Sync); - determining a plurality of delays from slave to master, said step of determining a plurality of delays from slave to master comprising transmitting by the slave node, during the first time window, a corresponding plurality of packets from slave to master (DELAY REQUEST ); said method further comprising the steps of, by the slave node: - determining at least a first statistical quantity (G_MS <j>) between: the minimum value, the average value and the mode of said plurality of delays from master to slave; - determining at least a second statistical quantity (G_SM <j>) between: the minimum value, the average value and the mode of said plurality of delays from slave to master; And - selecting a packet alternatively between said plurality of packets from master to slave or between said plurality of packets from slave to master, so that the delay calculated on the basis of the transmission and reception instants of the selected packet alternately corresponds to the first, or to the second statistical quantity; and in which said step of determining a time difference (Δφ <j>) comprises calculating the time difference so that it is proportional to the difference between said first and second statistical quantities; and in which said step of determining a frequency deviation (Δf <j>) comprises calculating the frequency deviation on the basis of the transmission and reception instants of the selected packet and, if said packet has been selected among the packets from master to slave , of the instants of transmission and reception of a packet from master to slave transmitted during a previous time window, or, if said packet has been selected among the packets from slave to master, of the instants of transmission and reception of a packet from slave a master transmitted during the previous time window. 9. Nodo slave per una rete a pacchetto (1) includente un nodo master (4) comprendente un primo oscillatore (20) ed un primo temporizzatore (22) comandato dal primo oscillatore in modo da aggiornare una prima ora locale con una prima frequenza, detto nodo slave comprendendo: - un secondo oscillatore (21) ed un secondo temporizzatore (23) comandato dal secondo oscillatore in modo da aggiornare una seconda ora locale con una seconda frequenza; - primi mezzi di ricezione (10,14,16,18) configurati per ricevere uno o più pacchetti da master a slave (Sync) in rispettivi istanti di ricezione riferiti alla seconda ora locale, detti pacchetti da master a slave essendo trasmessi dal nodo master in rispettivi istanti di trasmissione riferiti alla prima ora locale; - primi mezzi di apprendimento (10,14) configurati per apprendere dal nodo master gli istanti di trasmissione dei pacchetti da master a slave; - primi mezzi di elaborazione (10,14) configurati per determinare, sulla base degli istanti di trasmissione e di ricezione dei pacchetti da master a slave, corrispondenti ritardi da master a slave ; - primi mezzi di trasmissione (10,14,16,18) configurati per trasmettere al nodo master uno o più pacchetti da slave a master (RICHIESTA DI RITARDO) in rispettivi istanti di trasmissione (t3,t5) riferiti alla seconda ora locale; - secondi mezzi di apprendimento (10,14) configurati per apprendere dal nodo master gli istanti di ricezione ( , t6) in cui detti uno o più pacchetti da slave a master sono ricevuti dal nodo master; secondi mezzi di elaborazione (10,14) configurati per determinare, sulla base degli istanti di trasmissione e di ricezione dei pacchetti da slave a master, corrispondenti ritardi da slave a master ; - terzi mezzi di elaborazione (10,14) configurati per determinare uno scarto di frequenza indicativo della differenza tra la prima e la seconda frequenza, sulla base di almeno due ritardi da master a slave, oppure sulla base di almeno due ritardi da slave a master; - quarti mezzi di elaborazione (10,14) configurati per determinare uno scarto temporale indicativo della differenza tra la prima e la seconda ora locale, sulla base di almeno un ritardo da master a slave e di almeno un ritardo da slave a master; - primi mezzi di comando (30,34,44,46,48,50,60,62) configurati per comandare il secondo oscillatore in funzione dello scarto di frequenza, in modo da agganciare in frequenza il secondo oscillatore al primo oscillatore; e - mezzi di aggiornamento (30,34,52) configurati per aggiornare la seconda ora locale sulla base dello scarto temporale, in modo asincrono rispetto al secondo oscillatore ed in maniera tale da agganciare in fase il secondo temporizzatore al primo temporizzatore. 9. Slave node for a packet network (1) including a master node (4) comprising a first oscillator (20) and a first timer (22) controlled by the first oscillator so as to update a first local time with a first frequency, said slave node comprising: - a second oscillator (21) and a second timer (23) controlled by the second oscillator so as to update a second local time with a second frequency; - first receiving means (10,14,16,18) configured to receive one or more packets from master to slave (Sync) in respective reception instants referred to the second local time, said packets from master to slave being transmitted by the master node in respective transmission instants referred to the first local time; - first learning means (10,14) configured to learn from the master node the instants of transmission of the packets from master to slave; - first processing means (10,14) configured to determine, on the basis of the transmission and reception instants of the packets from master to slave, corresponding delays from master to slave; - first transmission means (10,14,16,18) configured to transmit to the master node one or more packets from slave to master (DELAY REQUEST) in respective transmission instants (t3, t5) referred to the second local time; - second learning means (10,14) configured to learn from the master node the reception instants (, t6) in which said one or more packets from slave to master are received by the master node; second processing means (10,14) configured to determine, on the basis of the transmission and reception instants of the packets from slave to master, corresponding delays from slave to master; - third processing means (10,14) configured to determine a frequency difference indicative of the difference between the first and second frequency, on the basis of at least two delays from master to slave, or on the basis of at least two delays from slave to master ; - fourth processing means (10,14) configured to determine a time difference indicative of the difference between the first and second local time, on the basis of at least one delay from master to slave and of at least one delay from slave to master; - first control means (30,34,44,46,48,50,60,62) configured to control the second oscillator as a function of the frequency deviation, so as to lock the second oscillator in frequency to the first oscillator; and - updating means (30,34,52) configured to update the second local time on the basis of the time difference, asynchronously with respect to the second oscillator and in such a way as to lock in phase the second timer to the first timer. 10. Nodo slave secondo la rivendicazione 9, comprendente inoltre una interfaccia slave (16) verso la rete (1), del tipo indipendente dal mezzo, ed in cui detti primi mezzi di ricezione (10,14,16,18) sono inoltre configurati in maniera tale per cui gli istanti di ricezione di detti uno o più pacchetti da master a slave (Sync) si riferiscono a corrispondenti transiti di detti uno o più pacchetti da master a slave attraverso l'interfaccia slave; ed in cui detti primi mezzi di trasmissione (10,14,16,18) sono inoltre configurati in maniera tale per cui gli istanti di trasmissione (t3,t5) di detti uno o più pacchetti da slave a master (RICHIESTA DI RITARDO) si riferiscono a corrispondenti transiti di detti uno o più pacchetti da slave a master attraverso l'interfaccia slave. 10. Slave node according to claim 9, further comprising a slave interface (16) towards the network (1), of the independent type from the medium, and in which said first receiving means (10,14,16,18) are further configured in such a way that the instants of reception of said one or more packets from master to slave (Sync) refer to corresponding transits of said one or more packets from master to slave through the slave interface; and in which said first transmission means (10,14,16,18) are further configured in such a way that the transmission instants (t3, t5) of said one or more packets from slave to master (DELAY REQUEST) they refer to corresponding transits of said one or more packets from slave to master through the slave interface. 11. Nodo slave secondo la rivendicazione 9 o 10, comprendente inoltre secondi mezzi di comando (30,34,50,52,60,62) configurati per comandare il secondo oscillatore (21) in funzione anche dello scarto temporale (Δφ<j>), in modo da causare corrispondenti variazioni della seconda ora locale, sincrone rispetto al secondo oscillatore. 11. Slave node according to claim 9 or 10, further comprising second control means (30,34,50,52,60,62) configured to control the second oscillator (21) also according to the time difference (Δφ <j> ), so as to cause corresponding variations of the second local time, synchronous with respect to the second oscillator. 12. Nodo slave secondo la rivendicazione il, comprendente inoltre mezzi di confronto (52) configurati per confrontare lo scarto temporale (Δφ<j>) con una soglia; ed in cui i mezzi di aggiornamento (30,34,52) sono configurati per sommare algebricamente se lo scarto temporale è maggiore della soglia in valore assoluto, detto scarto temporale alla seconda ora locale; ed in cui i primi ed secondi mezzi di comando (30,34,44,46,48,52,60,50,62) sono configurati per variare, se lo scarto temporale è inferiore alla soglia in valore assoluto, la seconda frequenza del secondo oscillatore (21) sulla base dello scarto di frequenza e dello scarto temporale. Slave node according to claim 11, further comprising comparison means (52) configured to compare the time difference (Δφ <j>) with a threshold; and in which the updating means (30,34,52) are configured to add algebraically if the time difference is greater than the threshold in absolute value, said time difference to the second local time; and in which the first and second control means (30,34,44,46,48,52,60,50,62) are configured to vary, if the time difference is lower than the threshold in absolute value, the second frequency of the second oscillator (21) on the basis of the frequency deviation and the time deviation. 13. Nodo slave secondo una qualsiasi delle rivendicazioni da 9 a 12, comprendente inoltre: - primi mezzi statistici (10,30) configurati per determinare almeno una prima grandezza statistica 13. Slave node according to any one of claims 9 to 12, further comprising: - first statistical means (10,30) configured to determine at least one first statistical quantity tra: il valore minimo, il valore medio e la moda di una pluralità di ritardi da master a slave formata dai ritardi da master a slave determinati dai primi mezzi di elaborazione (10,14) sulla base degli istanti di trasmissione e di ricezione di pacchetti da master a slave (Sync) trasmessi durante una prima finestra temporale; - secondi mezzi statistici (10,30) configurati per determinare almeno una seconda grandezza statistica between: the minimum value, the average value and the mode of a plurality of delays from master to slave formed by the delays from master to slave determined by the first processing means (10,14) on the basis of the instants of transmission and reception of packets from master to slave (Sync) transmitted during a first time window; - second statistical means (10,30) configured to determine at least a second statistical quantity tra: il valore minimo, il valore medio e la moda di una pluralità di ritardi da slave a master formata dai ritardi da slave a master determinati dai secondi mezzi di elaborazione (10,14) sulla base degli istanti di trasmissione e di ricezione di pacchetti da slave a master (RICHIESTA DI RITARDO) trasmessi durante detta prima finestra temporale; e - mezzi selezionatori (30) configurati per selezionare un pacchetto alternativamente tra detta pluralità di pacchetti da master a slave oppure tra detta pluralità di pacchetti da slave a master, in maniera tale per cui il ritardo determinato sulla base degli istanti di trasmissione e di ricezione del pacchetto selezionato corrisponda alternativamente alla prima, oppure alla seconda grandezza statistica; ed in cui detti quarti mezzi di elaborazione (10,14) sono configurati in maniera tale per cui detto scarto temporale (Δφ<j>) è proporzionale alla differenza tra dette prima e seconda grandezza statistica; ed in cui detti terzi mezzi di elaborazione (10,14) sono configurati in maniera tale per cui detto scarto di frequenza (Δf<j>) è funzione degli istanti di trasmissione e di ricezione del pacchetto selezionato e, qualora il pacchetto selezionato sia un pacchetto da master a slave, degli istanti di trasmissione e di ricezione di un pacchetto da master a slave trasmesso durante una precedente finestra temporale, oppure, qualora detto pacchetto selezionato sia un pacchetto da slave a master, degli istanti di trasmissione e di ricezione di un pacchetto da slave a master trasmesso durante detta precedente finestra temporale. between: the minimum value, the average value and the mode of a plurality of delays from slave to master formed by the delays from slave to master determined by the second processing means (10,14) on the basis of the instants of transmission and reception of packets from slave to master (DELAY REQUEST) transmitted during said first time window; And - selection means (30) configured to select a packet alternately between said plurality of packets from master to slave or between said plurality of packets from slave to master, in such a way that the delay determined on the basis of the instants of transmission and reception of the selected packet corresponds alternatively to the first, or to the second statistical quantity; and in which said fourth processing means (10,14) are configured in such a way that said time difference (Δφ <j>) is proportional to the difference between said first and second statistical quantity; and in which said third processing means (10,14) are configured in such a way that said frequency difference (Δf <j>) is a function of the transmission and reception instants of the selected packet and, if the selected packet is a packet from master to slave, of the instants of transmission and reception of a packet from master to slave transmitted during a previous time window, or, if said packet selected is a packet from slave to master, of the instants of transmission and reception of a packet from slave to master transmitted during said previous time window. 14. Rete a pacchetto comprendente il nodo slave (6) secondo una qualsiasi delle rivendicazioni da 9 a 13 e detto nodo master (4), ed in cui il nodo master comprende inoltre: - secondi mezzi di trasmissione (10,14,16,18) configurati per trasmettere detti uno o più pacchetti da master a slave (Sync); - primi mezzi di comunicazione (10,14) configurati per comunicare al nodo slave gli istanti di trasmissione Packet network comprising the slave node (6) according to any one of claims 9 to 13 and said master node (4), and wherein the master node further comprises: - second transmission means (10,14,16,18) configured to transmit said one or more packets from master to slave (Sync); - first communication means (10,14) configured to communicate the transmission instants to the slave node di detti uno o più pacchetti da master a slave; - secondi mezzi di ricezione (10,14,16,18) configurati per ricevere detti uno o più pacchetti da slave a master (RICHIESTA DI RITARDO); e - secondi mezzi di comunicazione (10,14) configurati per comunicare al nodo slave gli istanti di ricezione (14,16)di detti uno o più pacchetti da slave a master. of said one or more packets from master to slave; - second receiving means (10,14,16,18) configured to receive said one or more packets from slave to master (DELAY REQUEST); And - second communication means (10,14) configured to communicate to the slave node the receiving instants (14,16) of said one or more packets from slave to master. 15. Rete secondo la rivendicazione 14, in cui detto nodo master (4) comprende una interfaccia master (16) verso la rete (1), del tipo indipendente dal mezzo, ed in cui detti secondi mezzi di trasmissione (10,14,16,18) sono configurati in maniera tale per cui gli istanti di trasmissione di detti uno o più pacchetti da master a slave (Sync) si riferiscono a corrispondenti transiti di detti uno o più pacchetti da master a slave attraverso l'interfaccia master; ed in cui detti secondi mezzi di ricezione (10,14) sono configurati in maniera tale per cui gli istanti di ricezione (t4;t6)di detti uno o più pacchetti da slave a master (RICHIESTA DI RITARDO) si riferiscono a corrispondenti transiti di detti uno o più pacchetti da slave a master attraverso l'interfaccia master.Network according to claim 14, wherein said master node (4) comprises a master interface (16) towards the network (1), of the media-independent type, and wherein said second transmission means (10,14,16 , 18) are configured in such a way that the transmission instants of said one or more packets from master to slave (Sync) refer to corresponding transits of said one or more packets from master to slave through the master interface; and in which said second reception means (10,14) are configured in such a way that the reception instants (t4; t6) of said one or more packets from slave to master (DELAY REQUEST) refer to corresponding transits of dictate one or more slave-to-master packets through the master interface.
IT000740A 2012-08-22 2012-08-22 METHOD TO SYNCHRONIZE THE KNOTS OF A NETWORK WITH A PACKAGE, NETWORK KNOT AND PACKAGE NETWORK ITTO20120740A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
IT000740A ITTO20120740A1 (en) 2012-08-22 2012-08-22 METHOD TO SYNCHRONIZE THE KNOTS OF A NETWORK WITH A PACKAGE, NETWORK KNOT AND PACKAGE NETWORK

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
IT000740A ITTO20120740A1 (en) 2012-08-22 2012-08-22 METHOD TO SYNCHRONIZE THE KNOTS OF A NETWORK WITH A PACKAGE, NETWORK KNOT AND PACKAGE NETWORK

Publications (1)

Publication Number Publication Date
ITTO20120740A1 true ITTO20120740A1 (en) 2014-02-23

Family

ID=47046766

Family Applications (1)

Application Number Title Priority Date Filing Date
IT000740A ITTO20120740A1 (en) 2012-08-22 2012-08-22 METHOD TO SYNCHRONIZE THE KNOTS OF A NETWORK WITH A PACKAGE, NETWORK KNOT AND PACKAGE NETWORK

Country Status (1)

Country Link
IT (1) ITTO20120740A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005002100A1 (en) * 2003-06-30 2005-01-06 Koninklijke Philips Electronics N.V. High accuracy network clock synchronization
US20050207387A1 (en) * 2004-02-09 2005-09-22 Semtech Corporation Method and apparatus for aligning time references when separated by an unreliable data packet network
US20100085989A1 (en) * 2008-10-02 2010-04-08 Cortina Systems, Inc. Systems and methods for packet based timing offset determination using timing adjustment information
US20110170534A1 (en) * 2010-01-11 2011-07-14 Faro Technologies, Inc. Method and apparatus for synchronizing measurements taken by multiple metrology devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005002100A1 (en) * 2003-06-30 2005-01-06 Koninklijke Philips Electronics N.V. High accuracy network clock synchronization
US20050207387A1 (en) * 2004-02-09 2005-09-22 Semtech Corporation Method and apparatus for aligning time references when separated by an unreliable data packet network
US20100085989A1 (en) * 2008-10-02 2010-04-08 Cortina Systems, Inc. Systems and methods for packet based timing offset determination using timing adjustment information
US20110170534A1 (en) * 2010-01-11 2011-07-14 Faro Technologies, Inc. Method and apparatus for synchronizing measurements taken by multiple metrology devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KANNISTO J ET AL: "Precision Time Protocol Prototype on Wireless LAN", 17 July 2004, TELECOMMUNICATIONS AND NETWORKING - ICT 2004; [LECTURE NOTES IN COMPUTER SCIENCE;;LNCS], SPRINGER-VERLAG, BERLIN/HEIDELBERG, PAGE(S) 1236 - 1245, ISBN: 978-3-540-22571-3, XP019009251 *

Similar Documents

Publication Publication Date Title
EP2740228B1 (en) Method and system for frequency synchronization
US9525502B2 (en) Timing over packet demarcation entity
US9531395B2 (en) Method and devices for time and frequency synchronization using a phase locked loop
US8559412B1 (en) Communication time information in a network to enable synchronization
US10432336B2 (en) System and method of synchronizing a distributed clock in a packet-compatible network
US9112631B2 (en) Method and devices for frequency distribution
EP3053287B1 (en) Method and devices for time and frequency synchronization using a phase locked loop
US9167545B2 (en) Receiver, method of calculating time difference, and program
US20130100832A1 (en) System and method for accounting for time that a packet spends in transit through a transparent clock
KR101488233B1 (en) Non-intrusive method for synchronizing master and slave clocks of a packet-switched network, and associated synchronization devices
KR20150143801A (en) Timestamp generating method, device and system
US20150092796A1 (en) Method and devices for time and frequency synchronization
CN106160914B (en) A kind of IEEE1588 clock synchronizing methods based on disturbance-observer feedback control technology
EP2541815A1 (en) Clock synchronization network
EP3044891B1 (en) Method and devices for frequency distribution
WO2015122175A1 (en) Time synchronization device, time synchronization system, and time synchronization method
CN112166565A (en) Timing synchronization for cable networks
US20160065358A1 (en) Synchronization method, intermediate node, and slave node of communication network system
CN105207767A (en) Method and device for synchronizing frequencies of PTP master clock and slave clock
KR20090071923A (en) Method for synchronization using single timesync frame in bridged local area network and appratus thereof
JP2018088646A (en) Time synchronization device and time synchronization method
ITTO20120740A1 (en) METHOD TO SYNCHRONIZE THE KNOTS OF A NETWORK WITH A PACKAGE, NETWORK KNOT AND PACKAGE NETWORK
JP6198075B2 (en) Time synchronization apparatus, time synchronization method, and time synchronization program
CN110138487B (en) Time noise transfer characteristic measurement method and network node
Hajikhani et al. A recursive method for bias estimation in asymmetric packet-based networks