The Research of Intelligent Controller Realized by FPGA
- Author
- LiNa
- Advisor
- CaiQiZhong
- School
- Guangxi University
- Major
- Control Theory and Control Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 405
- Citations
- 4
Abstract
Nowadays, Mechanical and electrical integration control systems are mainly constructed with foreign Programmable Logic Controller (PLC) and Field-bus Control System (FCS) which use industry computer and foreign PLC as core controller. But the cost is very expensive. For changing this circumstance, in this dissertation, we researched a new kind of PLC, which use embedded micro processor (ARM+FPGA) as its core processor. Inside the process, we can extend modules conveniently, such as: memory, I/O module of digital and simulation and CAN communication module and so on. The lattice LCD display module and touch-screen as program and system running status monitors.μClinux is embedded in it to realize multitask and friendly graphical user interfaces. The explaining programs of basic instructions and functional instructions of PLC are designed by C language independently. And the intelligent control arithmetics are realized in FPGA coprocessor, such as: PID, Fuzzy, heredety. These control arithmetics are transferred as function model in PLC ladder diagram.In this dissertation, BP neural network is realized in FPGA and be trained as PID controller. This intelligent PID controller is embedded in PLC to help ARM processing complex datas. Take advantage of repeat rub-write characteristic of FPGA, the capability of system will be consummation.This dissertation mainly included the following points: The realization of hardware model of BP neural network: This included floating point arithmetic organ, the storage and transfer of weight, the realization of activation function. The connection between the coprocessor (FPGA) and the main controller (ARM): That is the realization of double-bytes serial asynchronous transceiver. This Included baud rate generator, data sender and receiver. The temperature control system: This Include PID parameters ascertain and the simulation of the thermocouple temperature control system.
Table of contents
Abstract 4-5
ABSTRACT 5-8
Chapter 1 Introduction 8-13
sources and research significance
1.1 topics 8
1.2 Programmable Logic Controller (PLC) development 8-9
1.3 artificial neural network technology development 9-11
1.4 Neural Networks in FPGA hardware implementation 11-12
study of the subject content
1.5 12-13
new PLC controller in Chapter 2, the overall design 13-15
2.1 PLC controller structure design 13
2.2 PLC controller during program execution 13-15
Chapter 3 neural network PID control algorithm 15-24
3.1 neural network composed 15-20
3.1.1 single neural element model 15-16
3.1.2 neuron connections form 16-17
3.1.3 neural network learning rules 17-18
3.1.4 error back propagation BP neural network 18-20
3.2 based on neural network PID controller 20-24
3.2.1 PID controller based on BP neural network learning algorithm 20-24
Chapter 4 based FPGA-BP neural network PID control algorithm to achieve 24-38
4.1 floating-point basis for its hardware realization 25-37
4.1.1 floating-point representation of 25
4.1.2 floating-point adder rules 25-27
4.1.3 floating-point numbers plus subtraction of hardware circuit 27-29
4.1.4 floating-point multiplication operation rules 29-32
The
hardware circuit 4.1.5 floating-point multiplication operations to achieve 32-34
4.1.6 weights stored call module implementation 34-36
4.1.7 activation function realization 36-37
4.2 BP neural network PID control algorithm FPGA hardware realization 37-38
Chapter 5 FPGA intelligent controller as an embedded coprocessor are found; 38-44
5.1 ARM serial communication interface with FPGA design 38-39
5.1.1 Design requirements 38
5.1.2 interface circuit 38-39
5.2 FPGA communication module design 39-42
5.2.1 FPGA top-level module design 39-40
5.2.2 Baud Rate Generator 40
5.2.3 receiver 40-41
5.2.4 transmitter 41-42
5.3 Simulation validation 42-44
Chapter 6 neural network PID controller in temperature control system applications 44-48
6.1 thermocouple temperature control system Introduction 44
6.2 thermocouple modeling 44-46
6.3 based on BP neural network PID control algorithm simulation 46-48
6.3.1 PID control parameter setting 46
6.3.2 neural network PID controller PID controller is 46-48
Chapter 7 Conclusion 48-49
the
References 49-51
the the
Appendix 1 floating-point adder order module 51-53
the
Appendix 2 floating-point adder normalized module 53-54
the
Appendix 3 floating-point multiplier exponent processing module 54-55
the
Appendix 4 floating-point multiplier mantissa processing module 55-57
Appendix 5 double-byte UART receiver parity 57-59
Appendix 6 double-byte UART transmit parity 59-61
Acknowledgements 61-62
the
degree during the thesis circumstances 62
Related dissertations
- Design of Remote Strain Measurement System Based on FGPA
- Based on AMBA3.0Bus Image Acquisition System Design and Implementation
- The Research for the Engraving Machine Control System Based on ARM and FPGA
- Research on Multi-axis Motion Controller Based on CAN Bus
- Research of PID Controller Based on Improved Artificial Fish Swarm Algorithm
- Design of Modular and Professional PLC for CNC Plasma Cutting Machine
- The Research on Ethernet_based Interface of Embeded Motion Control System
- Research on High-Speed Spindle Controller of Precision Grinding Machines
- Multi functional comprehensive test instrument based on Virtual Instrument Technology
- Research on MRC Objective Measurement Technology Based on Neural Network
- The Implementation of New Memory Burn-in Test System
- System Design of Digital Printer Based on FPGA and ARM
- The Design of Uranium Extraction Process Control System
- The Design of Aircraft Fuel Accessory Testing System and the Research of Its Decoupling Algorithm
- The Study on Financial Crisis Early-warning System Based on the Cash Flow and BP Neural Network of the Manufacturing Listed Companies in China
- Construction and Empirical Study of internal control flaw recognition model of listing Corporation
- Research on Closed-loop Supply Chain Risk Assessment
- Research on Xi’an High-star Hotel Development Strategy
- Design of Performance Appraisal System for Research and Development Personnel
- Evaluation of the Liquor Brand Competitiveness of China