The Open Traceable Time Platform and applications in ...

19
The Open Traceable Time Platform and applications in finance and telecommunications Michael Wouters (NMIA) Louis Marais (NMIA) Amitava Sen Gupta (NPLI) Ahmad Sahar bin Omar (NMIM) Piyaphat Phoonthong (NIMT) TCTF Workshop “Applications of T&F in finance and telecommunications”, Singapore, 23 rd November 2018

Transcript of The Open Traceable Time Platform and applications in ...

Page 1: The Open Traceable Time Platform and applications in ...

The Open Traceable Time Platform

and applications in finance and

telecommunications

Michael Wouters (NMIA)

Louis Marais (NMIA)

Amitava Sen Gupta (NPLI)

Ahmad Sahar bin Omar (NMIM)

Piyaphat Phoonthong (NIMT)

TCTF Workshop “Applications of T&F in finance and

telecommunications”, Singapore, 23rd November 2018

Page 2: The Open Traceable Time Platform and applications in ...

The Open Traceable Time Platform

www.openttp.org

A fully open platform for developing

time and frequency services with

timing signals traceable to national

standards

A complete hardware and software solution that aims

for a turnkey experience.

https://github.com/openttp

Page 3: The Open Traceable Time Platform and applications in ...

Why Open Source ?

Auditability Access to all system operational data,

at the level of raw measurements, to

prove that it was working correctly

Traceability Access to the full measurement and

analysis chain

Co-operation Leverage limited (and decreasing)

resources

Page 4: The Open Traceable Time Platform and applications in ...

Hardware and timing signals

GPS

receiver

time-interval

counter

GPS-

disciplined

oscillator

single board

computer

time of day

1 pps

NTP 1 pps

10 MHz1 pps

Page 5: The Open Traceable Time Platform and applications in ...

Single-board computer: BeagleBone Black

• 32 bit,1 GHz ARM processor

• dual 200 MHz realtime coprocessors

• 512 MB RAM

• running Debian Linux

Page 6: The Open Traceable Time Platform and applications in ...

GPS receiver: NVS NV08C-CSM

• GPS/GLONASS/Galileo

• 32 channel

• 2 UARTS

Page 7: The Open Traceable Time Platform and applications in ...

GPSDO: Jackson Labs LTE-Lite

When unlocked, and operated in an

environment where the temperature

is controlled to ±0.5 °C, the GPSDO

drifts by about 1 ms over 5 days.

TCXO

Page 8: The Open Traceable Time Platform and applications in ...

FPGA: Opal Kelly XEM6001

USB interface

TICS are 200 MHz counters so

only 5 ns resolution.

Potential to improve this

Page 9: The Open Traceable Time Platform and applications in ...

Stability and accuracy of time-transfer

splitter

Septentrio

PolaRx4TRPRONVS NV08C

UTC(AUS)

TIC

1 pps

1 pps10 MHz

Page 10: The Open Traceable Time Platform and applications in ...

Stability of the computer’s time

GPSDO timestampGPIO

1 pps

/dev/pps0

ntpd disciplining

time constant (16s)

Page 11: The Open Traceable Time Platform and applications in ...

Accuracy of the computer’s time

GPSDO IRQ raisedGPIO

1 pps

IRQ handler called

system time

requested for

timestamp

about 5 µs

Page 12: The Open Traceable Time Platform and applications in ...

NTP load testing

PC

OTTP

direct connectiont

40,000 pkt/s

0

pac

kets

/s 8000 pkt/s

Use ntpd’s remote management facilities to gather statistics

ntpd becomes unresponsive and statistics can no longer be collected

Page 13: The Open Traceable Time Platform and applications in ...

Response of the system to a step increase of 104

packets/s in the NTP load

on off

Page 14: The Open Traceable Time Platform and applications in ...

Application: traceable time of day for telecomms

charging and billing systems

TelecommunicationsAustralian Communications Industry Forum Code of Practice:ACIF C518:2006 Call charging and billing accuracywww.acma.gov.au

Tolerance levels – Billing accuracy Parameters

Billing accuracy Test call tolerances

Parameter Untimed Timed

Call start time error +8.5,-5.5 s +8.5, -5.5 s

Call duration error n/a +1.5,-2.5 s

(from Table 3.1, pg 10)

Page 15: The Open Traceable Time Platform and applications in ...

Application: auditing of NTP time of day

OTTP

time server

time server

time server

Customer may already have existing NTP infrastructure for their network.

Advantages of auditing rather than direct provision of time:• not a critical piece of infrastructure• change management is simpler• less complicated management software• less risk !

NTP

Page 16: The Open Traceable Time Platform and applications in ...

NTP exchange

T1

T2 T3

T4

unit under test

auditing system

mean offset = [(𝑇2 − 𝑇1) + (𝑇3 − 𝑇4)]/2

round trip time = 𝑇4 − 𝑇1 − (𝑇3 − 𝑇2)

The uncertainty in the mean offset is half of the round trip time

Other information available –NTP stratum, accuracy, leap second indicator

Page 17: The Open Traceable Time Platform and applications in ...

NTP measurements on a LAN

Audited system is a GPS-referenced NTP appliance

Page 18: The Open Traceable Time Platform and applications in ...

Required synchronization accuracies

Gateway to gateway latency UTC accuracy Timestamp precision

> 1 ms 1 ms < 1 ms

<= 1 ms 100 µs < 100 µs

MiFID II requirements (European Union)

9.3.1 Market operators to synchronise clocks

(1) A Market operator must set the clock the Market operator uses for recording the time and date in its trading, compliance monitoring and reporting systems so that it is synchronised to within 20 milliseconds of the UTC(AUS).

(2) Where a Market operator relies on another person to provide any aspect of their trading, compliance monitoring or reporting systems that records the time and date, the Market operator must take reasonable steps to ensure that person synchronises the clock used for that purpose to within 20 milliseconds of the UTC(AUS).

ASIC requirements for financial markets (Australia)

Page 19: The Open Traceable Time Platform and applications in ...

Department of Industry, Innovation and Science | National Measurement Institute

36 Bradfield Rd

Lindfield NSW 2070

Australia

Telephone +61 2 8467 3501

Thank you for your attention!