Research and Implementation of PID Controller Based on FPGA

Author
LiChuiJun
Advisor
YangSuYing
School
Dalian University of Technology
Major
Control Theory and Control Engineering
Classification
TM571 Controller
Degree
Master's thesis
Year
2008
Downloads
1,979
Citations
17

Request the full text

Abstract

The PID controller based on microprocessor solved the problem that the parameters cannot be changed flexibly in traditional analog PID controller. But the general microprocessorhas a limit of blind running when placed in atrocious condition. If the microprocessor whichimplements PID arithmetic breaks down for disturbance or other reasons, it will make theoutput values change a lot or stop response, while FPGA can solve the problem in essentially.So it’s significant to implement intelligent technology in FPGA chip and apply them indiverse conditions.First, the internal structure of FPGA is analyzed and the FPGA design technology anddesign flow is summarized. It points out that implementing optimized structure design andlowering design difficulty is the key of extending design function and improving chipperformance and product cost performance. The control system is consisted of four modules,including kernel controller module, input module, output module and HMI module, of whichthe controller is the key part. Based on the design structure styles and characteristics of FPGA,an improved parallel structure of PID temperature controller based on PFGA is put forward.In the logic reflection process for the PID algorithm and FPGA operator, the number of logicarithmetic component can be reduced effectively by fusing different solved methods into one,such as replacing subtracter with complementary-code adder designed, extending the resultbits of the integer operation and normalizing different types of data in integer. Graphic inputof QuartusⅡand Verilog HDL language are combined to design the PID controller.Modelsim simulation validates that the result of PID controller designed on FPGA is correct.Synplify Pro is used to synthetize the design and FPGA programming file is made afterplacing and routing the design in QuartusⅡ. According to the requirements of control system,a 12-bit A/D circuit, data display, keyboard and other relating peripherals are designed.Aiming at the controlling object of furnace temperature with first-order, pure lag andgreat inertia, A PID control system is formed with EP1C3T144 as the control kernel. Underthe experimental environment with Pt100 as the temperature sensor, the resolution of 2Celsius degree and the control range in 0~400 Celsius degree, the experiment indicates thatthe PID output obtains the result of non-overshoot and stabilization, and an effective way isprovided to lower the design difficulty of PID controller on FPGA.

Table of contents

Summary 4-5 Abstract 5-8 1 Overview 8-12 1.1 background and significance 8-9 dynamics and development status 1.2 PID controller 9-10 1.3 FPGA status quo and development trend 10 1.4 FPGA applications and research status 10-11 1.5 thesis structure 11-12 2 FPGA development infrastructure 12-20 2.1 FPGA structure and characteristics of 12 - 16 2.1.1 FPGA basic structure 12-13 2.1.2 mainstream FPGA products and development tools 13-15 2.1.3 FPGA and CPLD and ASIC comparison 15-16 2.2 development process 16-20 3 PID controller on FPGA 20-31 3.1 PID algorithm and its FPGA implementation 20-26 3.2 fuzzy PID algorithm and its FPGA implementation 26-31 4 PID control system 31-48 4.1 FPGA Selection 31-32 4.2 FPGA configuration circuit 32-34 4.3 input circuit 34-39 4.3.1 SBWR temperature transmitter module 34 4.3.2 A / D control module 34-39 4.4 output circuit 39-43 4.4.1 GJ10-W solid state relays application achieve 39-40 4.4.2 PWM module 40-43 4.5 Human Interface 43-46 4.5.1 4 × 4 keyboard input module 43-44 4.5.2 LED display module 44-46 4.6 timer / divider module 46-48 <br / > 5 simulation and test 48-51 conclusion 51-52 References 52-55 <br A PID controller FPGA top-level schematic /> Appendix post 55-56 master's degree during the academic situation ; nbsp 56-57 Thanks 57-58

Related dissertations

  1. Research and Design of the Des Encryption Chip Based on Resource Optimization
  2. Research and Design of32-bit and Five-stage Pipelined CPU Based on FPGA
    MiHaiXiao ·Hebei University of Technology ·2012 ·Master's thesis
  3. The Research and Design of RISC Microprocessor Soft Core
    ZhuShuangBing ·Hubei University ·2013 ·Master's thesis
  4. JPEG Encoding Algorithm Optimization and Implementation Based on FPGA
    ZhaoWei ·Wuhan University of Technology ·2013 ·Master's thesis
  5. Research and Application of Temperature Nolinear Control Technology Based on ARM
    GuoWenJuan ·Chongqing University of Technology ·2012 ·Master's thesis
  6. The Design of Air-water Physical Measurement Sensor
  7. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  8. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  9. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  10. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  11. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  12. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  13. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  15. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  16. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  17. The Design of Digital Ultrasonic Nondestructive Testing System
  18. Design and Implementation of High Speed Data Recorder Based on FPGA
  19. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  20. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis