Design and implementation of embedded measurement and control system based on DSP
- Author
- HanChong
- Advisor
- DiZhengJun
- School
- Northwestern Polytechnical University
- Major
- Applied Computer Technology
- Classification
- TP273.5 Computer control, computer control system
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 314
- Citations
- 3
Abstract
With the development of large scale integration technology, the digital signal processor (DSP) functions, processing speed and processing power have made a landmark breakthrough, and widely used in the field of data communication, image processing, speech processing, automatic control . DSP embedded system embedded DSP system to the application of electronic systems in a common system. This thesis is common for most of the monitoring and control system technology requirements carried out based the DSP embedded measurement and control system design and implementation to the core structure of the General smallest measurement and control system design, simply add components or plug-in circuit. Without having to re-construct the complex monitoring and control systems. The paper first analyzes the structure and characteristics of embedded measurement and control system, combined with the development requirements of the embedded control system embedded measurement and control system based on DSP application needs, and on this basis, a DSP-based general-purpose embedded type measurement and control system structure. Then, the design of the various components of the system module and system software. Finally, the entire system debugging and verification, to prove the feasibility of the system. The hardware of the system is modular in design, convenient for future system expansion and upgrade. CPU DSP core processor as pieces, and take full advantage of the advantages of speed DSP devices, real-time, to meet the monitoring and control system for parallel operation, data flow, cost-effective application requirements; memory expansion circuit is designed to facilitate online debugging enough storage space, and also to provide for future system expansion; design the communications interface circuits, to facilitate communication between the system and the host computer or control objects; well as human-computer interaction interface module, D / A conversion module; design electronic disk module, used to store a large number of measurement and control data; Also, the design of the external bus expansion interface circuit, which includes almost all the signal from the DSP expansion port allows users to design their own dedicated circuit, connecting the common boards, greatly improve the efficiency of the development; design large scale programmable logic device CPLD control logic module, using easy system updates upgrade system programmable technology to improve system design flexibility and reconfigurability. The software of the system in CCS2 ('C2000) development environment with C language. Program structure corresponding four interrupt the main program loop structure, and curing the three commonly used control algorithms, to facilitate the users need to directly call. Debug simulation results show that the general structure of such programs embedded measurement and control system, high integration, processing speed, the system's hardware and software are extremely versatile and scalability. On the basis of the measurement and control system, the user can easily constituted by the expansion of software and hardware monitoring and control system has a different function.
Table of contents
Summary 3-4
Abstract 4-7
first chapter purpose and significance of 7-10
issues raised 1.1 7-8
1.2 Research and abroad 8
1.3 subject to the completion of the main task 8-9
1.4 of this thesis the work and content 9-10
DSP-based system architecture for embedded measurement and control system design 10-19
the 2.1 embedded control system Overview 10-13
the 2.1.1 embedded measurement and control system, the system structure the 10-11 2.1.2 embedded measurement and control system characteristics
11-13
2.2 the DSP Technical Overview 13-14
2.3 CPLD Technical Overview 14-15
2.4 embedded measurement and control system based on DSP applications demand the operation
2.4.1 parallelism, 15-16 15
2.4.2 data traffic 15
2.4.3 cost-effective high- 15-16
2.5 overall design of embedded measurement and control system based on DSP 16-18
2.5.1 The monitoring and control system of the central processor 16-17
2.5.2 The overall design of the measurement and control system 17-18
2.6 Chapter Summary 18-19
Chapter embedded measurement and control system based on the DSP hardware design 19-40
3.1 the CPU peripheral circuit module 19-21
3.1.1 Power Supply Module the of design 19-20
3.1.2 crystal oscillator interface circuit 20-21
the 3.2 memory expansion interface module 21-24
3.2.1 hardware interface circuit 21-22
the 3.2.2 program memory space 22-23
3.2.3 Data storage space 23-24
3.2.4 I / O space 24
3.3 communication interface module 24-27
3.3.1 asynchronously, serial Interface (SCI) hardware design 24-26
3.3.2 CAN bus interface hardware design the extended 26-27
3.4 circuit interface module 27 -31
3.4.1 28-31
digital input output unit 27-28
3.4.2 digital-to-analog converter (DAC) module 3.5 Human Interface Module the 31-34
3.5.1 keyboard interface module 31
3.5.2 LCD Interface Module 31-34
3.6 electronic disk interface module 34-35
3.7 jumper switch Description 35-36
3.8 CPLD module design nbsp the CPLD device selection; 36-39
3.8.1 the 36-37
the 3.8.2 control signal decoding logic module 37
3. the 8.3 keyboard logic module 37-38
3.8.4 data line time division multiplexing to achieve 38-39
3.9 Chapter Summary 39 -40
Chapter embedded measurement and control system based on the DSP software design 40-59
4.1 DSP software development 40-42
. 1.1 TMS320LF2407A interrupt system nbsp the 40-41
4.1.2 TMS320LF2407A development, environment; 41
4.1.3 software developed in C DSP chip 41-42
4.2 Measurement and Control System software program structure 42-43
4.3 interrupt service routine design 43-50
.3.1 SCI serial interface interrupt service routine design 43-44
4.3.2 CAN bus communication interrupt service routine design 44-45
4. 3.3 keyboard interrupt service routine design 45-46
4.3.4 USB interface interrupt service routine design 46-48
4.3.5 Timer the interrupt service routine design 48-49
4.3.6 LCD the module program designed 49-50
4.4 Common Control the algorithm program designed 50-58
4.4.1 PID control algorithm design 51-54
4.4.2 Fuzzy control algorithm design are found; 54-56
4.4.3 neuron PID control algorithm design 56-58
4.5 Chapter Summary to achieve 58-59
Chapter system debugging 59-71
5.1 DSP system-level circuit debugging the 61-63 5.2 CPLD module
debugging 63-64
5.3 external expansion memory circuit debugging 64-65
5.4 peripheral function module circuit debugging 65-68
5.4.1 serial communication module debugging 65-66 < br /> 5.2.2 CAN bus communication module debugging 66
5.2.3 LCD module debugging 66-68
5.2.4 D / A the conversion module debugging 68
5.3 control algorithm simulation results the 68-70
5.4 This chapter summary 70-71
Chapter Conclusion and Outlook 71-73
Reference 73-75-
studying for a degree during published papers 75-76
Acknowledgements 76-77
Related dissertations
- Multifunctional Position Detection and Integration Method Research of Permanent Magnet AC Servo System
- Design and implementation of the short range active defense system in the central controller based on DSP
- Research and Implementation on Embedded Iris Recognition System Based on DSP
- Industrial Intelligent Camera Design Based on DSP
- Design and implementation of Embedded Ethernet interface based on DSP
- The Research and Optimization of Video Coding Based on the Universal Dual-core DSP
- Design and implementation of intelligent control system of the pellet formula of traditional Chinese medicine pharmacy
- The10kV5Mvar Cascade STATCOM Device Research and Development
- Research for Optimization Algorithm of the Power Factor Compensation and Intelligent Controller
- System Design on Portable Four-channel Data Acquisition
- Research on Intelligent and Automatic Inspection Machine
- CNC System Hardware Design and Realization Based on Embedded Processor
- Development and research of CNC system based on ARM and CPLD
- Development of DCT Control Software
- Research on the Coordination Management of Large-scale Project Interface of Chemical Enterprise
- Effects of the Multi-National Corporation to China embedded industrial agglomeration
- Research of Layer-model of the Long-term Preservation of Digital Information Based on OASI
- The Remote Wireless Control System Based on ARM Processor
- The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
- Engine Room Monitoring System Based on the Embedded Web Server