Research and Design of Electric Harmonic Measurement System Based on DSP & CPLD

Author
ZuoXiaoBo
Advisor
GengXiangMing
School
Shanghai Jiaotong University
Major
Signal and Information Processing
Classification
TM935 Frequency, waveform parameter measurement and instrumentation
Degree
Master's thesis
Year
2009
Downloads
241
Citations
2

Request the full text

Abstract

Due to the widespread use of non-linear devices and equipment in the power grid, a large number of high-order harmonics generated in the power system, This paper studies the design and realization of real-time detection of power in the power system harmonic parameters. Certainty on the operational status of harmonics in the grid will help prevent harmonic harm to maintain the safe operation of the grid. This paper first introduces the current parameter detection of power harmonic Fast Fourier Transform, FFT algorithm technology is relatively mature, easy to implement, but the algorithm itself is very difficult to achieve synchronous sampling and truncation of the entire cycle, which will result in spectral leakage and picket fence effect, affecting harmonic detection results. The paper introduces the windows and interpolated FFT algorithm correction, more in-depth analysis on windows and interpolated FFT algorithm, and gives a more detailed mathematical derivation of the calculation process. Second, a more detailed introduction harmonic detecting system DSP CPLD hardware platform, through the use of phase-locked loop hardware synchronous sampling, to ensure strict synchronization and reduce spectral leakage; TMS320C6713B floating-point DSP windows and interpolated FFT algorithm computing real-time detection of power harmonic parameters; series of CoolRunner-II the XC2C512 CPLD control system peripheral devices. Again, the overview of the system front-end signal conditioning, data acquisition and peripheral module hardware design, as well as the CPLD logic control section, including PLL lock tracking ADC data acquisition, the local temperature monitor, LCD liquid crystal display, and CPLD and DSP External Memory Interface (EMIF) data communication module. Highlights the DSP system software design, including the allocation of DSP chip, DSP peripheral initialization, Enhanced Direct Memory Access (EDMA), ping-pong buffer transmission underlying software design, and algorithm design and implementation. DSP software development Chip Support Library CSL configure peripheral, code-transplant, using DSP / BIOS real-time multitasking operating system to manage the DSP thread priority scheduling, including EDMA hardware interrupt the HWI, signal processing algorithms task TSK between them through signal to maintain synchronization and communication between threads. Finally simulation using Matlab rectangular window (signal truncation) and non-integer-period sampling the FFT algorithm and analyze the spectrum of the the comparison window function and windowing sine signal, indicating that the Hanning window or Blackman window, the sampling of the entire cycle can effectively reduce the small spectral leakage. Followed on the hardware platform to verify the correctness and validity of the windows and interpolated FFT algorithm, that the Blackman window FFT interpolation algorithm has higher precision sampling of non-integer cycle amplitude error for the e-4 orders of magnitude, phase The magnitude of the error is e-3. Simulation and hardware debugging results show that the algorithm accuracy and real-time can be well positioned to meet the practical requirements of the power system harmonic analysis and harmonic detection.

Table of contents

Abstract 5-7 ABSTRACT 7-10 directory 10-12 Image catalog 12-14 Form directory 14-15 Symbol Description 15-16 Chapter 1 Introduction 16-20 1.1 Introduction 16 <br / > 1.2 research purpose and meaning 16 1.3 research status 16-19 1.4 thesis content and discourse structure 19-20 Chapter 2 Power Harmonic detection theory 20-27 2.1 Harmonic Analysis of spectral leakage and picket fence effect 20-22 2.2 power system harmonic parameters Detection 22-23 2.3 windowed interpolation FFT algorithm principle 23-26 2.3.1 Common window function 23-24 2.3.2 interpolation algorithm 24-26 2.4 Summary 26-27 Chapter 3 overall system design 27-41 3.1 system software design 27-32 3.1.1 windowing effects 27-30 3.1.2 Periodic sampling of non-integer 30-32 3.2 signal processing module design architecture 32-35 3.2.1 AC sampling and simultaneous sampling 32-33 3.2.2 System hardware design 33-35 < br /> 3.3 front-end data acquisition and peripheral module design 35-39 3.3.1 Comparator 35 3.3.2 PLL lock-tracking part of the principle 35 -37 3.3.3 ADC hardware design 37-38 3.3.4 peripheral module hardware design 38-39 3.4 schematic and PCB design elements 39-40 3.5 Summary 40-41 Chapter 4 based on CPLD logic control part of the design 41-50 4.1 Programmable Logic Devices Introduction 41 4.2 CPLD / FPGA development process 41-43 4.2.1 Verilog HDL language 42-43 4.3 CPLD logic control design 43-49 4.3.1 PLL frequency divider module 44 4.3.2 ADC data acquisition module 44-46 4.3.3 Thermometer 12C bus design 46-47 4.3.4 LCD data display module 47-48 4.3.5 DSP EMIF interface CPLD decoding 48-49 4.4 Summary 49-50 Chapter 5, DSP-based signal processing part of the design 50-71 5.1 TM5320C67138 floating point DSP 50 - 58 5.1.1 Digital Signal Processor 50-51 5.1.2 TM5320C67138 DSP architectures 51-54 5.1.3 Cache Cache works 54-55 5.1.4 Enhanced Direct Memory Access EDMA principles and IRQ interrupts 55-58 5.1.5 External Memory Interface EMIF 58 <br / > 5.2 DSP Development Tools Overview 58-60 5.2.1 DSP / BIOS RTOS 59-60 5.2.2 Chip Support Library CSL 60 5.3 signal processing software architecture 60-67 5.3.1 DSP chip configuration 61 5.3.2 Initialization DSP peripherals 61-63 5.3.3 DSP system software design 63-67 5.4 Program Design Considerations 67-69 5.5 Chapter Summary 69-71 Chapter 6 harmonic analysis 71-83 6.1 Matlab simulation analysis 71-75 6.1.1 window function and its spectrum 71 - 72 6.1.2 windowed sinusoidal signal and its spectrum 72-75 6.2 Experimental results of data analysis 75-82 6.2.1 FFT algorithm validation 75-78 6.2.2 simulation results 78-82 6.3 Chapter Summary 82-83 Chapter 7 Conclusion 83 - 85 7.1 paper work done 83 7.2 need to further improve the work 83-85 Appendix A DSP software development processes 85-86 < br /> References 86-89 Thanks 89-90 papers published during the study for a degree 90

Related dissertations

  1. The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
  2. Design and Simulation of Turntable Servo Control System Based on DSP
  3. Multifunctional Position Detection and Integration Method Research of Permanent Magnet AC Servo System
    HuDongXuan ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  4. Design and implementation of the short range active defense system in the central controller based on DSP
  5. Design of Magnetic Compass Sensor Based on CPLD
    MaLe ·Harbin Engineering University ·2013 ·Master's thesis
  6. Industrial Intelligent Camera Design Based on DSP
  7. The Research and Design of Field Tester of1553B Bus
  8. Design and Implementation of the Motion Control System Based on USB Interface
  9. Research and Implementation of Model Machine Based on Combinational Logic Controller
    WangXiaoDong ·Hebei University of Technology ·2012 ·Master's thesis
  10. Research and Implementation of Method for Clock Synchronization Control in Wireless Communication Testing Systems
  11. CPLD experimental board the development and teaching application based on
    LiuXianZhong ·Heilongjiang University ·2013 ·Master's thesis
  12. Design and implementation of intelligent control system of the pellet formula of traditional Chinese medicine pharmacy
  13. The Design of the Control System for the Long Pulsed Magnetic Facility Supplied by Batteries
  14. The10kV5Mvar Cascade STATCOM Device Research and Development
  15. Research for Optimization Algorithm of the Power Factor Compensation and Intelligent Controller
    ZhouDaLei ·Xi'an University of Petroleum ·2013 ·Master's thesis
  16. Study on Parallerable High Frequency Switch Model Power Supply
    ZhangYiFan ·Xi'an University of Petroleum ·2013 ·Master's thesis
  17. Research on Wound-Field Doubly Salient Motor Drive System
  18. Coordinated Control of the Steering Machine Fatigue Test
  19. Research of Superalloy Turbine Disk by Phased Array Testing System
  20. The Research of Optical Fiber Array Icing Detection System