Academia.eduAcademia.edu

Outline

High-Performance Time Server Core for FPGA System-on-Chip

2019, Electronics

https://doi.org/10.3390/ELECTRONICS8050528

Abstract

This paper presents the complete design and implementation of a low-cost, low-footprint, network time protocol server core for field programmable gate arrays. The core uses a carefully designed modular architecture, which is fully implemented in hardware using digital circuits and systems. Most remarkable novelties introduced are a hardware-optimized timekeeping algorithm implementation, and a full-hardware protocol stack and automatic network configuration. As a result, the core is able to achieve similar accuracy and performance to typical high-performance network time protocol server equipment. The core uses a standard global positioning system receiver as time reference, has a small footprint and can easily fit in a low-range field-programmable chip, greatly scaling down from previous system-on-chip time synchronization systems. Accuracy and performance results show that the core can serve hundreds of thousands of network time clients with negligible accuracy degradation, in con...

References (51)

  1. Flammini, A.; Ferrari, P. Clock Synchronization of Distributed, Real-Time, Industrial Data Acquisition Systems. In Data Acquisition; Vadursi, M., Ed.; IntechOpen: London, UK, 2010; Chapter 3, pp. 41-62. doi:10.5772/10458.
  2. Mazur, D.C.; Entzminger, R.A.; Kay, J.A.; Morell, P.A. Time Synchronization Mechanisms for the Industrial Marketplace. IEEE Trans. Ind. Appl. 2017, 53, 39-46. doi:10.1109/TIA.2016.2603464.
  3. Stankovic, J.A. Research Directions for the Internet of Things. IEEE Internet Things J. 2014, 1, 3-9. doi:10.1109/JIOT.2014.2312291.
  4. Lévesque, M.; Tipper, D. A Survey of Clock Synchronization Over Packet-Switched Networks. IEEE Commun. Surv. Tuts. 2016, 18, 2926-2947. doi:10.1109/COMST.2016.2590438.
  5. Mills, D.L.; Martin, J.; Burbank, J.; Kasch, W. Network Time Protocol Version 4: Protocol and Algorithms Specification, RFC 5905 (Standards Track). Available online: https://www.ietf.org/rfc/rfc5905.txt (accessed on 25 March 2019).
  6. IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems. Available online: https://standards.ieee.org/standard/1588-2008.html (accessed on 25 March 2019).
  7. Meinberg Funkuhren GmbH & Co. KG Home Page. Available online: https://www.meinbergglobal.com/ (accessed on 25 March 2019).
  8. Microsemi Home Page. Available online: https://www.microsemi.com/ (accessed on 25 March 2019).
  9. Galsys Home Page. Available online: https://www.galsys.co.uk/ (accessed on 25 March 2019).
  10. GPS: The Global Positioning System. Available online: https://www.gps.gov/ (accessed on 25 March 2019).
  11. Alioto, M.; Sánchez-Sinencio, E.; Sangiovanni-Vincentelli, A. Guest Editorial Special Issue on Circuits and Systems for the Internet of Things-From Sensing to Sensemaking. IEEE Trans. Circuits Syst. I 2017, 64, 2221-2225. doi:10.1109/TCSI.2017.2730678.
  12. Uesugi, Y.; Nonaka, T.; Sugiyama, S.; Hase, T. SNTP server and client system for home use. In Proceedings of the 13th IEEE International Symposium on Consumer Electronics (ISCE 2009), Kyoto, Japan, 25-28 May 2009; pp. 981-983. doi:10.1109/ISCE.2009.5156868.
  13. Refan, M.H.; Valizadeh, H. Computer Network Time Synchronization using a Low Cost GPS Engine. Iran. J. Electr. Electron. Eng. 2012, 8, 206-216.
  14. Hwang, S.Y.; Yu, D.H.; Li, K.J. Embedded System Design for Network Time Synchronization. In Embedded and Ubiquitous Computing; Yang, L.T., Guo, M., Gao, G.R., Jha, N.K., Eds.; Springer: Berlin, Germany, 2004; pp. 96-106. doi:10.1007/978-3-540-30121-9_10.
  15. Chao, C.C.; Huang, S.P.; Hung, H.L. Embedded System on NTP. In Proceedings of the 4th International Conference on Computer Sciences and Convergence Information Technology (ICCIT 2009), Seoul, Korea, 24-26 November 2009; pp. 852-857. doi:10.1109/ICCIT.2009.180.
  16. Ferrari, P.; Flammini, A.; Rinaldi, S.; Bondavalli, A.; Brancati, F. Experimental Characterization of Uncertainty Sources in a Software-Only Synchronization System. IEEE Trans. Instrum. Meas. 2012, 61, 1512-1521. doi:10.1109/TIM.2011.2180974.
  17. Son, S.c.; Kim, N.w.; Lee, B.T.; Cho, C.H.; Chong, J.W. A time synchronization technique for coap-based home automation systems. IEEE Trans. Consum. Electron. 2016, 62, 10-16. doi:10.1109/TCE.2016.7448557.
  18. Kuwano, S.; Yamada, Y.; Hisadome, K.; Teshima, M. Hardware implemented network time protocol (HwNTP) based synchronization for digitized radio over fiber systems. IEICE Commun. Express 2012, 1, 4-9. doi:10.1587/comex.1.4.
  19. Moreira, N.; Lázaro, J.; Bidarte, U.; Jimenez, J.; Astarloa, A. On the Utilization of System-on-Chip Platforms to Achieve Nanosecond Synchronization Accuracies in Substation Automation Systems. IEEE Trans. Smart Grid 2017, 8, 1932-1942. doi:10.1109/TSG.2015.2512440.
  20. Jimenez-Lopez, M.; Gutierrez-Rivas, J.L.; Diaz, J.; Lopez-Marin, E.; Rodriguez, R. WR-ZEN: Ultra-accurate synchronization SoC based on Zynq technology. In Proceedings of the 30th European Frequency and Time Forum (EFTF 2016), York, UK, 4-7 April 2016; pp. 1-4. doi:10.1109/EFTF.2016.7477790.
  21. Viejo, J.; Juan, J.; Bellido, M.J.; Ostua, E.; Millan, A.; Ruiz-de Clavijo, P.; Muñoz, A.; Guerrero, D. Design and implementation of a SNTP client on FPGA. In Proceedings of the 2008 IEEE International Symposium on Industrial Electronics (ISIE 2008), Cambridge, UK, 30 June-2 July 2008; pp. 1971-1975. doi:10.1109/ISIE.2008.4677216.
  22. Viejo, J.; Juan, J.; Ostua, E.; Bellido, M.J.; Millan, A.; Muñoz, A.; Villar, J.I. Accurate and compact implementation of a hardware SNTP Client. In Proceedings of the 15th Iberchip Workshop (IWS 2009), Buenos Aires, Argentina, 25-27 March 2009; pp. 504-509.
  23. Viejo, J.; Juan, J.; Bellido, M.J.; Millan, A.; Ruiz-de Clavijo, P. Fast-Convergence Microsecond-Accurate Clock Discipline Algorithm for Hardware Implementation. IEEE Trans. Instrum. Meas. 2011, 60, 3961-3963. doi:10.1109/TIM.2011.2164828.
  24. Juan, J.; Viejo, J.; Bellido, M.J. Network Time Synchronization: A Full Hardware Approach.
  25. In Integrated Circuit and System Design. Power and Timing Modeling, Optimization and Simulation;
  26. Ayala, J.L., Shang, D., Yakovlev, A., Eds.; Springer: Berlin, Germany, 2013; Volume 7606, pp. 225-234. doi:10.1007/978-3-642-36157-9_23.
  27. Daniluk, G.; Wlostowski, T. White Rabbit: Sub-Nanosecond Synchronization for Embedded Systems. In Proceedings of the 43rd Annual Precise Time and Time Interval Systems and Applications (PTTI 2011), Long Beach, CA, USA, 14-17 November 2011; pp. 45-60.
  28. Mills, D.L. Computer Network Time Synchronization: The Network Time Protocol, 1st ed.; CRC Press, Inc.: Boca Raton, FL, USA, 2006.
  29. Exel, R.; Bigler, T.; Sauter, T. Asymmetry Mitigation in IEEE 802.3 Ethernet for High-Accuracy Clock Synchronization. IEEE Trans. Instrum. Meas. 2014, 63, 729-736. doi:10.1109/TIM.2013.2280489.
  30. Holmeide, Ø.; Skeie, T. Synchronised: Switching. IET Comput. Control Eng. 2006, 17, 42-47. doi:10.1049/cce:20060207.
  31. Mills, D.L. Simple Network Time Protocol (SNTP) Version 4 for IPv4, IPv6 and OSI, RFC 4330 (Informational). Available online: https://www.ietf.org/rfc/rfc4330.txt (accessed on 25 March 2019).
  32. Croft, W.J.; Gilmore, J. Bootstrap Protocol, RFC 951 (Draft Standard). Available online: https://www.ietf. org/rfc/rfc951.txt (accessed on 25 March 2019).
  33. Xilix, Inc. Home Page. Available online: https://www.xilinx.com/ (accessed on 25 March 2019).
  34. Xilinx System Generator for DSP. Available online: https://www.xilinx.com/products/design-tools/ vivado/integration/sysgen.html (accessed on 25 March 2019).
  35. Chapman, K. UART Transmitter and Receiver Macros. Available online: https://github.com/Paebbels/ PicoBlaze-Library/tree/master/documentation%20(Xilinx) (accessed on 25 March 2019).
  36. NMEA 0183 Standard Version 4.11. Available online: https://www.nmea.org/content/nmea_standards/ v411.asp (accessed on 25 March 2019).
  37. PicoBlaze 8-Bit Embedded Microcontroller. Available online: https://www.xilinx.com/products/ intellectual-property/picoblaze.html (accessed on 25 March 2019).
  38. Six, M. kpicosim. A simulator and assembler for the PicoBlaze. Available online: https://marksix.home. xs4all.nl/kpicosim.html (accessed on 25 March 2019).
  39. Xilinx ISE Design Suite. Available online: https://www.xilinx.com/products/design-tools/ise-design-suite. html (accessed on 25 March 2019).
  40. Mills, D.L. Modelling and Analysis of Computer Network Clocks. Available online: https://www.eecis. udel.edu/~mills/database/reports/time/timea.pdf (accessed on 25 March 2019).
  41. MathWorks MATLAB. Available online: https://www.mathworks.com/products/matlab.html (accessed on 25 March 2019).
  42. MathWorks Simulink: Simulation and Model-Based Design. Available online: https://www.mathworks. com/products/simulink.html (accessed on 25 March 2019).
  43. IEEE Standard 802.3-2005 Part 3: Carrier Sense Multiple Access with cOllision Detection (CSMA/CD) Access Method and Physical Layer Specifications. Available online: https://standards.ieee.org/standard/802_3- 2005.html (accessed on 25 March 2019).
  44. International Standard ISO/IEC 7498-1:1994. Available online: https://www.iso.org/standard/20269.html (accessed on 25 March 2019).
  45. Gao, J. 10_100_1000 Mbps tri-mode ethernet MAC. Available online: https://opencores.org/projects/ ethernet_tri_mode (accessed on 25 March 2019).
  46. ISC Open Source DHCP Software System. Available online: https://www.isc.org/downloads/dhcp/ (accessed on 25 March 2019).
  47. Xilinx Data2MEM User Guide. Available online: https://www.xilinx.com/support/documentation/sw_ manuals/xilinx11/data2mem.pdf (accessed on 25 March 2019).
  48. Plummer, D. Ethernet Address Resolution Protocol: Or Converting Network Protocol Addresses to 48.bit Ethernet Address for Transmission on Ethernet Hardware, RFC 826 (Standard). Available online: https: //www.ietf.org/rfc/rfc826.txt (accessed on 25 March 2019).
  49. LANTIME M600: High End NTP Time Server. Available online: https://www.meinbergglobal.com/english/ archive/lantime-m600.htm (accessed on 25 March 2019).
  50. The NTP Public Services Project. Available online: http://support.ntp.org/ (accessed on 25 March 2019).
  51. Turner, A.; Klassen, F. Tcpreplay Home Page. Available online: https://tcpreplay.appneta.com/ (accessed on 25 March 2019).