Design and Implementation of Multiple Interfaces Program-Controlled Module for Intelligent Instrument Based on SOPC
- Author
- MiFeng
- Advisor
- XiaoTieJun
- School
- Jiangsu University
- Major
- Computer Applications
- Classification
- TP216 Automatic testing equipment,instruments
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 75
- Citations
- 1
Abstract
Intelligent instrument is a product of the applications of computer technology. Great revolutionary changes have been taken place since it is started. Its core theme is small, intelligent, program-controlled and net-worked. At present, with the development of semiconductor technology, communications technology and large scale integrated circuits, intelligent instrument system design and methods have taken place great revolutionary changes. The novel embedded intelligent instrument system adopts the new embedded computing, controls and communications technology. Especially when FPGA emerges, it provides a new solution in intelligent instrument system design.Adopting embedded SOPC thought can solve the traditional design methods, which were of the lower integration, the lower robust functionality, the lower flexibility. This paper designed a function-cutted, general, easily portable intelligent instrument program-controlled module, which is based on the NiosⅡsoft-core CPU and involves embedded interfaces of Ethernet, RS232 and USB.As for the main body, this paper introduces the development process and trend of intelligent instrument, the definition of SOPC system and the related development environment based on hardware and software co-design. Then, it states the overall design scheme of various interfaces program-controlled intelligent instrument based on SOPC. From the start of multiple interfaces chip DM9000A’s and ISP1362’s function and controlling methods, in combination of its communication LwIP protocol, USB protocol, this paper implemented the development and communication of embedded Ethernet and USB device controller based on NiosII soft-core processor. Considering of the advantage of UART IP, RS232 serial communication was also implemented finally. In view of the multi-connection system characteristics, and according to the features of real-time operating systemμC/OS-Ⅱ, this paper designed and has implemented multi-connection communication unified scheduler module, the initialization of the every interface and call of communication protocol stack are taken task as the smallest unit, running reasonably as either parallel or serial, blurring the distinction between the physical interface, so as to unified in the same logical level. This paper introduces the layout and characters of programmable instrument standard command and implements the system program-controlling SCPI commands interpreter module.It is worth mentioning that we transplanted a read-only file system in system. It is used to store SCPI commands set. Interpreter generating module generates SCPI commands tree through reading SCPI commands set, making no relation between SCPI commands and interpreting program which can lead to the generation and cutting of system commands.This paper also implemented all the modules on DE2 development board. Experimental results show that all the modules works well, completes the tasks of communication, the SCPI interpreter completes the task of SCPI commands interpretering and locates the function number of related commands and implements the commands custom-cutting. This function-cutted, general program-controlled platform solution is well worth further studying and has a good application prospective and economic value.
Table of contents
Abstract 5-7
ABSTRACT 7-9
directory 9-11
first chapter 11-16 <br / the purpose and significance of the subject 1.1 11-12
1.2 domestic and international development and research 12-13
1.3 thesis research 13-14 organizational structure of the paper
1.4 14-16
Chapter II SOPC-based intelligent instrument multi-interface program control module architecture 16-32
2.1 the Nios II soft-core SOPC system development 16-20
2.1.1 SOPC Overview 16-18
2.1.2 System Development Environment Introduction 18-20
2.2 system involves Introduction of knowledge 20-29
2.2.1 embedded real-time operating system μC/OS- II; 20-21
2.2.2 Implementation of LwIP lightweight protocol stack 21-23
2.2.3 USB2.0 system structure is 23-26
2.2.4 serial communication overview 26-29
2.3 overall system design 29-31
the overall framework of the 2.3.1 system 29-30
2.3.2 The overall system hardware frame structure 30-31
2.4 of this chapter Summary 31-32
the third chapter of the System Software Design and Implementation of 32-57
3.1 embedded operating system μC/OS- Ⅱ task scheduling 32-35 < br /> 3.1.1 on μC/OS- II multi-task management simple instance 32-34
3.1.2 Task management functions 34-35
3.2 unified scheduling module design and achieve 35-41
3.2.1 unified control layer software design 35-37
3.2.2 unified control layer software to achieve 37-41 < br /> 3.3 the interface module to achieve 41-56
3.3.1 Ethernet module to achieve 41-49
3.3.2 USB module to achieve 49-52
3.3.3 UART module to achieve 52-56
3.4 Summary 56-57
Chapter SCPI interpreter design and achieve 57-68
4.1 of SCPI Introduction 57-60
4.1.1 of SCPI's 57-58
4.1.2 of SCPI programmable instrument model 58-59
4.1.3 SCPI syntax and command format 59-60
4.2 SCPI interpreter design 60-63
4.2.1 SCPI lexical analyzer design 61-62
4.2.2 SCPI parser design 62-63
4.3 SCPI to explain the lexical analysis the realization 63 -66
4.3.1 SCPI command tree to create 63-65
4.3.2 of SCPI parser lexical analysis process 65-66
4.4 of SCPI explain the syntax analysis to achieve 66-67
4.5 of this chapter Summary 67-68
Chapter 5 System Verification and 68-82
5.1 the DE2 development Introduction of board 69-70
5.2 communication interface test 70-72
5.2.1 Embedded Ethernet Interface Communications Test 70-71
5.2.2 USB interface communications test 71
5.2.3 UART interface communication test 71-72
5.3 SCPI command functions can be customized validation 72 -77
5.3.1 command set the function to achieve 73-75
5.3.2 command set 2 function 75-77
5.4 program control module arbitrary waveform generator 77-80
5.4.1 Arbitrary Waveform Generator Profile 77-78
5.4.2 arbitrary waveform generator SCPI command systems 78-79
5.4.3 arbitrary waveform generator is programmed results 79-80
5.5 of this chapter Summary 80-82
Chapter VI Summary and Outlook 82-84
6.1 This work summarizes 82
6.2 Looking 82-84
References 84-87
thank 87-88
master's degree papers published during 88
Related dissertations
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- The Design and Implementation of Multi-Channel Data Acquisition System Based on the SOPC Technology
- PID Parameters Adjustingand Optimization Tuning Assistant by Upper Computer
- Dynamic Analysis and Control of Epileptiform Spikes in a Neural Mass Model
- The Design of Small Mobile Robot Integrated Navigation System
- Design and Experiment of a Motion Control System Based on FPGA
- Development of Mine Intelligent Detector Based on Embedded GUI
- Electronics Design and Algorithm Implementation of Polarization Grating Sensor for Navigation
- FPGA-based Fast Image Processing System
- Design of Palmprint Acquisition and Recognition Base on Embedded
- Design and Implementation of the FPGA Image Reconstruction System Based on Compressed Sensing
- Design of Multimedia Platform Based on FPGA
- Design and Implementation of NCC Accelerator Based Real-time Target Tracking System
- SOPC Design and Implementation of ISP1362Host IP and Driver
- The Design of Disk Array Storage System Based on FPGA
- Research on the System for File Storage Media Conversion Processing
- Research and Implementation of FPGA-based Cloud Storage Security Systems
- Design and Implementation of the IP Core of AVI Encoding and SD Card Controller Based on SoPC
- The Design of High-speed Data Transmission System Based on RapidIO
- Designof High-Frequency Spread Spectrum Communication System Based on SOPC