SUN Yinhan,SUN Zhigang,FU Wenwen,et al.Virtual Scoping: lightweight and scalable TSN time synchronization accuracy measurement method[J].Journal on Communications,2024,45(09):1-13.
SUN Yinhan,SUN Zhigang,FU Wenwen,et al.Virtual Scoping: lightweight and scalable TSN time synchronization accuracy measurement method[J].Journal on Communications,2024,45(09):1-13. DOI: 10.11959/j.issn.1000-436x.2024165.
Virtual Scoping: lightweight and scalable TSN time synchronization accuracy measurement method
Aiming at the problems of existing time synchronization accuracy measurement methods based on clock pulse
such as complex measurement system composition
limited measurement scale by the number of instrument acquisition interfaces
and inability of measurement data to support real-time network management and control
a lightweight and scalable time synchronization accuracy measurement method called Virtual Scoping (VS) was proposed based on the centralized management and control architecture of time-sensitive networking (TSN). Ability to virtualize oscilloscope functions in the network control plane. Firstly
the parameter DriftTime was defined by the method
which could be used to accurately estimate synchronization accuracy. This parameter was calculated from protocol status data such as synchronization message transmission timestamps
residence delay
and link delay. Finally
the V-Scope tool was implemented in the network control plane and deployed in a prototype system built on the OpenTSN open-source project for experimentation. The results demonstrate that V-Scope exhibits only nanosecond-level errors compared to measurements obtained from professional testing equipment. Additionally
the feasibility and advantages of the VS method in supporting network management functions are discussed. As an example of accuracy optimization
a frequency offset compensation algorithm based on V-Scope is designed and implemented
which improves the synchronization accuracy of the prototype system by 32.3%.
关键词
Keywords
references
THI M T , SAID S B H , BOC M . SDN-based management solution for time synchronization in TSN networks [C ] // Proceedings of the 2020 25th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA) . Piscataway : IEEE Press , 2020 : 361 - 368 .
YAN J L , QUAN W , JIANG X Y , et al . Injection time planning: making CQF practical in time-sensitive networking [C ] // Proceedings of the IEEE INFOCOM 2020-IEEE Conference on Computer Communications . Piscataway : IEEE Press , 2020 : 616 - 625 .
NASRALLAH A , THYAGATURU A S , ALHARBI Z , et al . Ultra-low latency (ULL) networks: the IEEE TSN and IETF DetNet standards and related 5G ULL research [J ] . IEEE Communications Surveys & Tutorials , 2019 , 21 ( 1 ): 88 - 145 .
IEEE . IEEE standard for local and metropolitan area networks-timing and synchronization for time-sensitive applications: IEEE Std 802.1AS-2020 [S ] . New York : IEEE , 2020 .
IEEE . IEEE standard for a precision clock synchronization protocol for networked measurement and control systems IEEE Std 1588 [S ] . New York : IEEE , 2019 .
OLIVER R S , CRACIUNAS S S , STEINER W . IEEE 802.1Qbv gate control list synthesis using array theory encoding [C ] // Proceedings of the 2018 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS) . Piscataway : IEEE Press , 2018 : 13 - 24 .
NAGRA A S , ALLAHI I , PASHA M A , et al . Design and FPGA based implementation of IEEE 1588 precision time protocol for synchronisation in distributed IoT applications [J ] . Australian Journal of Electrical and Electronics Engineering , 2022 , 19 ( 1 ): 31 - 39 .
LI X H , WANG X W , FAN T , et al . High-precision time synchronization of 5G-TSN system [J ] . Systems Engineering and Electronics , 2023 , 45 ( 2 ): 559 - 565 .
LAMPORT L , MELLIAR-SMITH P M . Byzantine clock synchronization [C ] // Proceedings of the Third Annual ACM Symposium on Principles of Distributed Computing-PODC’84 . New York : ACM Press , 1984 : 68 - 74 .
General Administration of Quality Supervision , Inspection and Quarantine of the People’s Republic of China , Standardization Administration of the People’s Republic of China . General specification for digital storage oscilloscope : GB/T 15289—2013 [S ] . Beijing : Standards Press of China , 2014 .
LIANG Z G , HE Z , FENG X J , et al . The IEEE 1057 digital waveform recorder standard development review [J ] . Acta Metrologica Sinica , 2023 , 44 ( 7 ): 1113 - 1120 .
MESTRES A , RODRIGUZE-NATAL A , CARNER J , et al . Knowledge-defined networking [J ] . ACM SIGCOMM Computer Communication Review , 2017 , 47 ( 3 ): 2 - 10 .
IEEE . IEEE standard for local and metropolitan area networks--bridges and bridged networks--amendment 31: stream reservation protocol (SRP) enhancements and performance improvements [S ] . New York : IEEE , 2018 .
KIM H J , LEE U , KIM M , et al . Time-synchronization method for CAN-Ethernet networks with gateways [J ] . Applied Sciences , 2020 , 10 ( 24 ): 8873 .
NAJAFI A , WEI M . Graham: synchronizing clocks by leveraging local clock properties [C ] // 19th USENIX Symposium on Networked Systems Design and Implementation (NSDI 22) . Berkeley : USENIX Association , 2022 : 453 - 466 .
DONG M , QIU Z L , PAN W T , et al . The design and implementation of IEEE 1588v2 clock synchronization system by generating hardware timestamps in MAC layer [C ] // Proceedings of the 2018 International Conference on Computer, Information and Telecommunication Systems (CITS) . Piscataway : IEEE Press , 2018 : 1 - 5 .
PÉREZ H , GUTIÉRREZ J J . EDF scheduling for distributed systems built upon the IEEE 802.1AS clock-a theoretical-practical comparison [J ] . Journal of Systems Architecture , 2022 , 132 : 102742 .
LEE K S , WANG H , SHRIVASTAV V , et al . Globally synchronized time via datacenter networks [C ] // Proceedings of the 2016 ACM SIGCOMM Conference . New York : ACM Press , 2016 : 454 - 467 .
GENG Y L , LIU S Y , YIN Z , et al . Exploiting a natural network effect for scalable, fine-grained clock synchronization [C ] // 16th USENIX Symposium on Networked Systems Design and Implementation . Berkeley : USENIX Association , 2018 : 81 - 94
YUAN H Y , ZHANG K , ZHENG T , et al . Crystal oscillator frequency compensation technology of high precision clock synchronization for time-triggered Ethernet [C ] // Proceedings of the 2020 China Semiconductor Technology International Conference (CSTIC) . Piscataway : IEEE Press , 2020 : 1 - 3 .
GAMPER H . Clock drift estimation and compensation for asynchronous impulse response measurements [C ] // Proceedings of the 2017 Hands-free Speech Communications and Microphone Arrays (HSCMA) . Piscataway : IEEE Press , 2017 : 186 - 190 .
FU W W , YAN J L , QUAN W , et al . Fenglin-I: an open-source tsn chip for scenario-driven customization [J ] . IEEE Transactions on Computers , 2023 , 72 ( 1 ): 140 - 153 .
QUAN W , FU W W , YAN J L , et al . OpenTSN: an open-source project for time-sensitive networking system development [J ] . CCF Transactions on Networking , 2020 , 3 ( 1 ): 51 - 65 .
MATEOS D M , RIVEAUD L E , LAMBERTI P W . Detecting dynamical changes in time series by using the Jensen Shannon divergence [J ] . Chaos: An Interdisciplinary Journal of Nonlinear Science , 2017 , 27 ( 8 ): 083118 .