Software design and implementation of the monitoring unit of the auxiliary power supply system
- Author
- ZhouZhiNing
- Advisor
- FanWeiHua
- School
- Nanjing University of Technology and Engineering
- Major
- Control Theory and Control Engineering
- Classification
- TM922.3 Traction power supply system
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 48
- Citations
- 0
Abstract
In urban rail transit vehicles(such as Metro),the auxiliary power supply system is one of the key equipments, its main fuction is to provide electricity for all types of electrical appliances in the vehicle. The security and reliability of auxiliary power supply system have an important effect on the normal operation of vehicle, so the real-time monitoring on the auxiliary power supply system is necessary, which will contribute to the maintenance and improvement of the system and can resolve the faults in time.This paper is based on a certain research project, and the aim of the project is to develop a monitoring system for auxiliary power supply system which consists of two parts:embedded monitoring unit in the auxiliary power supply system and data analysis software installed in PC. This paper mainly focuses on the the design of the software of the embeded monitoring unit,which realizes signal acquisition、data storage and communication. the software is composed of two parts:logical circuit design for FPGA&CPLD and software design for DSP.On the hardware platform based on DSP+FPGA&CPLD, XINTF interface module、 NandFlash interface module、SRAM interface module、ethernet controller interface module are designed with the method of schematic input in CPLD, and XINTF interface module、 ADC control module、RTC control module、asynchronous FIFO module and fault detection module are designed by mixed input of schematic and Verilog HDL in FPGA.Design of DSP software is an important part of this paper. DSP software is designed in a method called foreground-background system.In this method, foreground program made up of interrupt service routines is used for data acquisition from CPLD and FPGA.Background program is divided into four parts:initializing module which realizes initialization of hardware and software, data processing module which is charge of the storage of real-time data、historical data and system fault data, data access module which saves and reads data, manages bad block of NandFlash,data communication module which realizes RS232RS485、CAN and Ethernet communication.At last,this paper tests some modules of FPGP、CPLD and DSP, as well as the overall functions of the software. The results show that the software can achieve the desired functions.
Table of contents
Summary 3-4
Abstract 4-7
1 Introduction 7-12
1.1 research background and significance 7-8
1.2 research status research status 8-10
1.2.1 auxiliary Power system research status 8-9
1.2.2 nbsp power monitoring system ; 9-10
1.4 The main contents 10-12
2 monitoring unit software design 12-20
2.1 monitoring unit functional requirements 12-13
2.2 monitoring Unit hardware Introduction 13-15
2.3 monitoring unit software design program 15-19
2.3.1 FPGA and CPLD logic the overall design 15-17
2.3.2 DSP software design 17-19
2.4 Summary 19-20
3 FPGA and CPLD logic design 20-39
3.1 XINTF interface module design 20-21
3.2 CPLD logic design 21-26
3.2.1 digital acquisition module design 21-22
3.2.2 NandFlash interface module design 22-24
3.2.3 SRAM interface module design 24-25
3.2 .4 Ethernet controller interface module design 25-26
3.3 FPGA logic design 26-38
3.3.1 ADC control module design 26-29
3.3.2 asynchronous FIFO module 29-32
3.3.3 RTC control module design 32-38
3.3.4 fault detection module design 38
3.4 Summary 38-39
4 DSP software design 39-73
4.1 software workflow 39
4.2 initialization procedure 39-40
4.3 interrupt service routine 40-41
4.4 data processing module 41-43
4.5 data access module 43 -57
4.5.1 physical drive level 43-49
4.5.2 bad block management 49-55
4.5.3 logical interface layer 55-57
4.6 data communication module 57-72
4.6.1 serial communication 57-60
4.6.2 CAN communication 60 - 67
4.6.3 Ethernet communication 67-72
4.7 Summary 72-73
5 system test 73-82
5.1 Test environment 73
5.2 ADC control Module test 73-74
5.3 asynchronous FIFO module test 74
5.4 RTC control module test 74-75
5.5 communications test 75-79
5.6 overall system test 79-81
5.7 Summary 81-82 <br / > 6 summary and Outlook 82-84
6.1 summary 82
6.2 Prospect 82-84
Thanks 84-85
References 85-87
Related dissertations
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- Intelligent Video Surveillance System Based on DSP
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- The Design of Monitoring System for the Photovoltaic Plant Based on DSP
- Design and Implementation of Multi-channel Data Acquisition System
- Research on Measuring System of Mid-Infrared Photoelectric Autocollimator
- Wire Rope On-line Detection System Design Based on DSP
- IMU Data Acquisition and Processing System Design and Realization Based on DSP
- Design of Marine Toxin Analvsis System Based on ECIS and Image Detection
- The Design of Multi-channel Optic-electronic Signal Acquisition and Processing System
- The Study Oh Fuzzy Controlin TIG Welding Prossess
- Control Method Research and Controller Development of AGV Based on DSP
- Research on Tension Control System of Fiber Placement Machine
- Research on Drive and Control Technology of Electromagnetic Traveling-wave for Automated Conveying System
- Research on the Slave Station for AC Servo Driver Based on DeviceNet Fieldbus
- Modeling and Implementation of Motor Function Module Based on PLCopen
- The Design and Research of Embedded Multi-axis Control System
- Design of the Measure and Control Terminal Based on EtherCAT Fieldbus
- Multifunctional Position Detection and Integration Method Research of Permanent Magnet AC Servo System
- 5D film motion experience platform motion control card design