Research and implementation of the agreement and clock synchronization protocol network discovery LXI instruments
- Author
- ZhongShiChun
- Advisor
- WangHouJun
- School
- University of Electronic Science and Technology
- Major
- Detection Technology and Automation
- Classification
- TP274 Data processing, data processing system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 154
- Citations
- 7
Abstract
With the develeopment of science and technology,testing task is increasingly complex and the geographical distance of DUT(Device Under Test) is longer and longer.So the role of distributed automatic test system is more and more important.Ada- pting to this tendency,Aglient Technology and VXI Technology,Inc. introduced the new generation instrumentation bus-LXI(LAN eXtension for Instrumentation).The architect- ure of LXI is openly,and it provides very convenient conditions for building distributed automatic test system due to its flexible packaging.Meanwhile, hybrid test system combined by LXI and other instrumentaion bus provides a convenient and flexible solution for testing complex DUT.The tast is to design a logic analyzer based on LXI bus with highest sampling rate of 500MHz,64 data channels.Its software modules include LAN discovery,clock synchr- onization,IVI-COM and VISA driver interface ,web pages and so on.However,the main issue of this paper is to research on LXI’s LAN discovery(VXI-11 protocol) and clock synchroniztion after introducing the trend of LXI development.LAN discovery is LXI’s base function.Moreover,in the structure of driver interfa- ce,it plays the role of communicating upper driver interface with LXI instruments.After LAN discovery protocol was researched,Netbula RPC library was used to realize LXI‘s LAN discovery in this paper.And then,its limitations were analyzed.Lastly,RPC library was designed by ourselves and LXI’s LAN discovery was achieved by using our RPC library.And the limitations of using Netbula RPC library were solved by this plan.Clock synchronization must be implemented in LXI Class-A and Class-B instru- ments.However,the high-precision clock synchronization is one of difficulties for desig- ning LXI instruments because of network environment.After the clock synchronization protocol was studied, the ideas for realizing IEEE1588 precision clock synchronization protocol were explained in this dissertation.Then, the implementation of clock state machine and best master clock algorithm was described.And the time for calling best master clock algorithm was optimized.At the same time,the software module of clock synchronization was designed in two different plans and the results of clock synchroniz- ation experiments were analyzed.The results showed that the precision of clock synchr- onization can satisfy the requirements of this task’s clock synchronization.Lastly,the prospect to improve the system was put forwarded.
Table of contents
Summary 4-5
Abstract 5-9
first chapter development 9-14
1.1 instrument bus 9 - 11
1.2 LXI instrument status of domestic and foreign research 11-12
1.3 content and design research requirements 12-14
Chapter II VXI-11 protocol Research and Implementation 14-37
2.1 LXI logic analyzer module software framework 14-15
2.2 VXI-11 basic principles 15-16 <br / > role 2.3 VXI-11 protocol in the LXI instrument achieve 16-17
2.4 VXI-11 protocol 17-37
2.4.1 RPC basic principle 17-19
2.4.2 use Netbula ONC / RPC library implementation VXI-11 protocol 19-25
2.4.3 RPC library implementation independent design VXI-11 protocol 25 VXI-11 protocol test program -33
2.4.4 self realization 33-37
Chapter III study of network clock synchronization accuracy IEEE1588 protocol and implementation 37-69 < br /> 3.1 IEEE1588 precision clock synchronization protocol Introduction and synchronization principle 37-40
3.2 IEEE1588 software design ideas 40-41
3.3 program's main thread design 41-45
3.3.1 program protocol state machine thread design 42-45
3.4 STATE_CHANGE_EVENT processing thread design 45-51
3.4.1 state decision algorithm 46
3.4.2 dataset comparison algorithm 46-51
3.5 clock synchronization module software solution 51-52
3.6 pure software clock synchronization module 52-58
3.6.1 hardware environments and operating system platforms introduced 52-53
3.6.2 IEEE1588 protocol packet dissemination 53-54 design
3.6.3 synchronization synchronization module and result analysis 54-58
3.7 software plus hardware to achieve clock synchronization module 58-69
3.7.1 principle and hardware logic diagram of 58-60
3.7.2 DM9000 driver transplantation 60-65
3.7.3 clock synchronization module software design 65-69
Chapter LXI instrument synchronization accuracy of the tests and experiments 69-77
4.1 optimization measures to improve the accuracy of clock synchronization taken 69-72
4.1.1 to fix local time optimization methods 69-70
4.1.2 clock drift correction and optimization problems delay line 70-72
4.2 software plus hardware approach using IEEE1588 protocol to achieve synchronization test 72-77
4.2.1 use three meters of the connection test results 73
4.2.2 using the test results hubs 73-75 <br / > 4.2.3 use the router test results 75
4.2.4 above analysis of the results of several tests 75-77
Chapter V Conclusion and Outlook 77-79
Thanks 79-80
References 80-82
Appendix 82-85
pursue research during Masters 85-86
Related dissertations
- Design and Simulation of LXI-B Digital Oscilloscope Based on FPGA
- Design of LXI High-speed Parallel Data Collection System
- Tester’s Control Platform Design Based on Network
- The design of the control software of LXI pulse generator
- Improvement of LXI arbitrary waveform generator circuit and driver design
- Hardware Design of Automatic IC Test System Based on LXI Bus Architecture
- Design and implementation of a LXI C/S model of oscilloscope software
- Development of LXI Digital MultiMeter
- The Design of the General Test System of the Satellite-bone Electronic Equipment Based on LXI Bus
- Study and Design for the LXI Precision Clock Synchronization Technology and Interface
- LXI-based Data Acquisition Module Research and Design
- Research and Realization of Multi-functional Equipment Module Based on LXI Bus
- Research and Realization for the Technology of Constructing LXI Instrument System
- Study and Realization of Data Acquisition and DSO Module of Multifunctional Instrument Based on LXI
- The Design of the Automatic Test System for Shipborne Radars
- The LXI 1GSPS AWG digital circuit design
- Research on Integration Technologies of LXI Instrument System Based on LAN
- Research on 32 Channels Scanning Data Acquisition LXI Module
- The Development and Implementation of Data Link Equipment Automatic Test System
- Key Implementation Techniques of a Reconfigurable LXI Instrumental Module