Sincronizzazione Leggera (Light Synchronization – out of a
Transcript
Sincronizzazione Leggera (Light Synchronization – out of a
Sincronizzazione Leggera (Light Synchronization – out of a broadcast window, e.g. a FAC session, after a push) Amendment to UNI/TS 11291-11-2 §5.4.5.2.2.2 Sincronizzazione e Impostazione Meter DC/GW Start Write UNIX Time 0-0:1.1.0.255 IC 2 Attr 2 Receive Synch UNIX Time UNI/TS UNI/TS 11291-6 11291-6 §7.5.2 §7.5.2 Drift <= 4h ? No Write Event 10 in Metrology Event Log Yes UNI/TS 11291-10 §10.8.2 Drift < 60 sec Yes Set B0 in Diagnostic No Data is invalidated at SAC level when received with B0 bit set Reject UNI/TS 11291-10 §10.8.2 Monthly Cumulative Drift <= 60 sec Yes Phase Execute Synchronization No This shall be understood as the absolute value of the sum of the drifts (with sign) during a month Update Synch Regs Send NAK Send ACK Receive Response Sincronizzazione Leggera (Light Synchronization – during a broadcast window) Amendment to UNI/TS 11291-11-2 §5.4.5.2.2.2 Sincronizzazione e Impostazione Meter DC/GW Start Write UNIX Time 0-0:1.1.0.255 IC 2 Attr 2 Receive Synch UNIX Time UNI/TS 11291-6 §7.5.2 Drift <= 4h ? No Write Event 10 in Metrology Event Log Yes UNI/TS 11291-10 §10.8.2 Drift < 60 sec Yes Set B0 in Diagnostic No Reject UNI/TS 11291-10 §10.8.2 Monthly Cumulative Drift <= 60 sec Yes Phase Execute Synchronization No This shall be understood as the absolute value of the sum of the drifts (with sign) during a month Update Synch Regs Data is invalidated at SAC level when received with B0 bit set Impostazione del Clock (Clock Setting) Meter Installer/Maintainer Client Management Client Start Write Clock 0-0:1.0.0.255 IC 8 Attr 3 - time_zone IC 8 Attr 5 - daylight_savings_begin IC 8 Attr 6 - daylight_savings_end IC 8 Attr 7 - daylight_savings_deviation IC 8 Attr 8 - daylight_savings_enabled Receive «Clock Flavour» Receive «Time Setting» command Yes Write UNIX Time 0-0:1.1.0.255 IC 2 Attr 2 UNI/TS Device Mode is «NOT CONFIGURED» ? Action Clock 0-0:1.0.0.255 IC 8 Method 6 «shift» No Write Event 11 in Metrology Event Log See Clock Synchro XX pages Accept Immediately with no diluted synch Send ACK Phase Receive Response Sincronizzazione Forte (Strong Clock Synchronization) Meter Management Client Start Receive «Time Setting» command UNI/TS UNI/TS 11291-6 11291-6 §7.5.2 §7.5.2 Yes UNI/TS Device Mode is «NOT CONFIGURED» ? No Drift <= 4h ? No Action Clock 0-0:1.0.0.255 IC 8 Method 6 «shift» See Clock Setting page Yes UNI/TS UNI/TS 11291-6 11291-6 §7.5.2 §7.5.2 No Write Event 10 in Metrology Event Log Drift > 60 s Set B0 in Diagnostic Synch < 60s supported? Yes Data is invalidated at SAC level when received with B0 bit set Reject Yes Execute Synchronization See Clock Synchro Test MG page Send NAK No Update Synch Regs Phase Do not synchronize (weak reject) Send ACK Receive Response Clock Synchro Test (Management Client) >= 60 sec and <= 4h Meter Start No Drift <= 4h ? UNI/TS UNI/TS 11291-6 11291-6 §7.5.2 §7.5.2 Yes Drift > 60 s UNI/TS UNI/TS 11291-6 11291-6 §7.5.2 §7.5.2 Yes No No No Synch Algo = 0 ? Yes Reopens closed intervals ? Synch Algo = 2 ? Synch Algo = 1 ? No Schedule at a later time to avoid reopening a closed interval Yes Synch Algo = 3 Reopens closed intervals ? Yes Yes No Execute Synch Write Event 12 in Metrology Event Log Schedule at a later time to avoid reopening a closed interval Update Synch Regs Send ACK Phase Yes Sincronizzazione Forte (Strong Clock Synchronization) Meter Installer/Maintainer Client Start Receive «Time Setting» command UNI/TS UNI/TS 11291-6 11291-6 §7.5.2 §7.5.2 Yes UNI/TS Device Mode is «NOT CONFIGURED» ? No Write UNIX Time 0-0:1.1.0.255 IC 2 Attr 2 Drift <= 4h ? No See Clock Setting page Yes Write Event 10 in Metrology Event Log UNI/TS UNI/TS 11291-6 11291-6 §7.5.2 §7.5.2 No Drift > 60 s Set B0 in Diagnostic Synch < 60s supported? Yes Data is invalidated at SAC level when received with B0 bit set Reject Yes Execute Synchronization See Clock Synchro Test I/M page Send NAK No Update Synch Regs Phase Do not synchronize (weak reject) Send ACK Receive Response Clock Synchro Test (Installer/Maintainer Client) >= 60 sec and <= 4h Meter Start No Drift <= 4h ? UNI/TS UNI/TS 11291-6 11291-6 §7.5.2 §7.5.2 Yes Drift > 60 s UNI/TS UNI/TS 11291-6 11291-6 §7.5.2 §7.5.2 Yes No No Synch Algo = 0 ? Yes Reopens closed intervals ? Synch Algo = 2 ? No No Synch Algo = 1 ? Yes Synch Algo = 3 Yes Yes Write Event 12 in Metrology Event Log Reopens closed intervals ? No Phase Execute Synch Yes Write Event 10 in Metrology Event Log Update Synch Regs Reject Send ACK Send NAK Riferimento UNI/TS 11291-1 §4.3.1 Attività Drift residuo <= 2sec La propagazione dell'ora dal SAC ai Meter deve avvenire con un errore massimo di 2 sec UNI/TS 11291-6 §7.5.2 Sotto i 60 secondi il Gdm può non effettuare la sincronizzazione e/o può non generare l'evento di sincronizzazione UNI/TS 11291-6 §7.5.2 Fra 60 sec e 4 ore [estremi inclusi], sincronizzazione con evento [o registri] UNI/TS 11291-6 §7.5.2 Sopra le 4 ore, invalidare le letture UNI/TS 11291-6 §7.5.3 Registrazioni a seguito di sincronizzazioni (non riaprire un periodo già chiuso) UNI/TS 11291-10 §10.8.2 Il DC/GW può sincronizzare il GdM. UNI/TS 11291-1 §4.3.1 Il GdM deve rifiutare i comandi di sincronizzazione dal DC/GW se la deriva in valore assoluto è maggiore o uguale a 60 secondi. In tal caso una condizione di errore deve essere fatto pervenire al SAC Si possono accettare comandi per uno scostamento totale di 60 secondi al mese Si assume [-11-4] che il timestamp contenuto nelle CF push sia sincronizzato con l'orologio interno del GdM a meno di un tempo LBT (<= 0.8sec) Conseguentemente tale timestamp è usato dal SAC come riferimento del clock del GdM e confrontato con il relativo timestamp allegato alla APDU da parte del GW/DC LEGGERA FORTE distribuzione di un riferimento temporale da parte del DC/GW con UNIX time impostazione/sincronizzazione del clock (via Clock-IC8A2 oppure via Clock-IC8M6) References UNI/TS 11291-1 §4.3.1 Activity Residual Drift <= 2sec Propagation of clock from HES to the Meters shall happen with a maximum deviation of 2 seconds UNI/TS 11291-6 §7.5.2 Below 60 seconds, the Meter may not execute the synchronization and/or may not generate the relevant synchronization event Between 60 sec and 4 hours [extreme values included], the synchronization shall be executed and synchronization registers shall be updated. It is optional to generate synchronization events UNI/TS 11291-6 §7.5.2 UNI/TS 11291-6 §7.5.2 Above 4 hours, the readings (archive) shall be invalidated from the reception of the command onwards. Invalidation shall be active until a new valid clock setting / synchro command is received UNI/TS 11291-6 §7.5.3 Intervals that are already closed cannot be opened (daily & billing) UNI/TS 11291-10 §10.8.2 DC/GW can synchronize the meter UNI/TS 11291-1 §4.3.1 The meter shall accept synchronization commands if the drift (in absolute value) is less than 60 seconds. The meter can accept commands up to a total drift of 60 seconds / month If meter is not synchronized in this way, the HES shall be informed Due to UNI/TS 11291-11-4, it is assumed that the timestamp that is found in a PUSH CF is synchronized with the internal RTC of the meter, with the precision of a LBT timeout [approx 0.8 secs] This timestamp is subsequently used by the HES as a reference for Meter clock and it is matched against the timestamp attached to that same APDU (PUSH CF) by DC/GW LEGGERA / LIGHT FORTE / STRONG distribution of a time reference by DC/GW using UNIX time setting / synchronization of clock (via Clock-IC8A2 or via Clock-IC8M6)