FPGA- based hardware genetic algorithm technology research
- Author
- ZhaoWeiQing
- Advisor
- ChenQingWei
- School
- Nanjing University of Technology and Engineering
- Major
- Control Theory and Control Engineering
- Classification
- TN791 Logic circuits
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 178
- Citations
- 4
Abstract
Genetic Algorithm (GA) is a kind of optimization methods based on Natural Selection, which is applied to many difficult optimization problems. GA has been widely used in many areas; however, application of GA to increasingly complex or accuracy required problems will cause unacceptable delays in optimization process which limit the applications of GA to many real-time systems and problems. Compared to software implementation, hardware system is superior in aspects of real-time and parallelism, but short for flexibility and compatibility.Focusing on these conflicts, modules are divided based on functions, in order to suit for different problems in different circumstances. Modules are divided into two kinds:system function modules and GA operator modules. The advantages of the division are that different GA operations can be chosen to complete the algorithms, according to different problem requires, without changing system architecture.In this paper, system function modules and GA operator modules are implemented using VerilogHDL language based on Xilinx Virtex5 series FPGA platform, including system function modules, such as, Pseudorandom Random Number Module, Random Number Interface Module, Memory Interface/Control Modules, System Control Module and so on, and GA operator modules, such as, Basic Digital Crossover Module, PMX Crossover Modules, Basic Digital Mutation Modules, Position Change Mutation Modules, Reverse Mutation Modules and so on. Construct the library of GA operators and architecture of system, which not only contribute more flexibility and compatibility to hardware implementation of GA, but also maintain the stability of the system architecture.Multi-peak, noncontinuous, nondifferentiable function and 16 cities traveling salesman problem (TSP) are designed for testing this hardware platform of GA. According to the test result, hardware platform obtained the optimal solution error within 1%. Meanwhile, on solving some complex problems, the speed is accelerated 2 orders of magnitude compared to software. And A Coarse-Grained Parallel GA Module is designed for solution of TSP. Competed basic double-core Coarse-Grained Parallel GA Module, hardware compute speed is increased nearly 1 times further, received a significant effect.
Table of contents
Abstract 3-4
Abstract 4-5
directory 5-8
1 Introduction 8-12
1.1 research background and significance 8
1.2 research status 8-11
1.2.1 Improved algorithm structure 9-10
1.2.2 Hardware Implementation 10-11
1.3 The main contents 11-12
2 genetic algorithms and hardware platforms Profile 12-24
2.1 Genetic Algorithms Introduction 12-14
2.1.1 Genetic Algorithm biological basis 12-13
2.1.2 The basic principle of genetic algorithm 13-14
2.2 GA basic block diagram 14
2.3 Genetic Algorithm 14-18
2.3.1 Encoding 14-15
2.3.2 fitness function 15
2.3.3 Genetic Operators 15-18
2.3.4 Population initialization 18
2.4 operating parameters of genetic algorithm selection 18-19
2.4.1 deterministic parameter adjustment 18
2.4.2 adaptive parameter adjustment 18-19
2.5 niche and multi-objective optimization 19-20
2.6 hardware development platform 20-23
2.6.1 Field Programmable Gate Array 20
2.6.2 Hardware Description Language 20
2.6.3 development environment and debugging environment 20-21
2.6.4 Virtex-5 hardware platforms 21-22
2.6.5 Development Process 22-23
2.7 Summary 23-24
3 genetic algorithm hardware system design 24-32
3.1 GA hardware platform module division 24-25
3.2 system design 25-28
3.2.1 GA system block diagram of the hardware platform 25-26
3.2.2 genetic algorithm function module 26-27
3.2.3 system function module 27
3.2.4 standardization of the interface of each module defines 27-28
3.2.5 system is mainly the choice of parameters 28
3.3 system pipelining and parallelism design 28-31
3.3.1 Parallel System Design 28-30
3.3.2 System pipeline design 30-31
3.4 Summary 31-32
4 genetic algorithm hardware system module design 32-62
4.1 Select the module 32-35
4.1.1 Select the module algorithm model 32
4.1.2 Select the module workflow 32-33
4.1.3 Select the module design and implementation 33-35
4.2 Cross-module 35-39
4.2.1 Cross-module workflow 35
4.2.2 Basic-crossing module 35-36
4.2.3 partially matched crossover module 36-39
4.3 Variation module 39-42
4.3.1 Basic alleles module 40
4.3.2 exchange mutation module 40-41
4.3.3 reversed variation module 41-42
4.4 Population initialization module 42-45
4.4.1 binary coded initialization 43
4.4.2 symbolic coding initialization 43-45
4.4.3 Fixed initialization 45
4.5 pseudo-random number module 45-49
4.5.1 Linear congruential method based on pseudo-random number module 46-47
4.5.2 feedback method based on linear pseudo-random number module 47-48
4.5.3 Comparison of two methods 48-49
4.6 Random Number Interface Module 49-54
4.6.1 Cross-interface module 49-50
4.6.2 Variability interface module 50-51
4.6.3 Select the interface module 51-52
4.6.4 population initialization interface module 52-53
4.6.5 Random Number interface control module 53-54
4.7 fitness calculation module 54-56
4.7.1 fitness calculation of the basic method 54-55
4.7.2 TSP problem fitness calculation 55-56
4.7.3 Function Optimization Problems fitness calculation 56
4.8 memory control / interface module 56-59
4.8.1 population initialization / selection interface module 57-58
4.8.2 fitness interface module 58-59
4.8.3 Memory Interface Control Module 59
4.9 System Control Module 59-60
4.10 memory bank module 60-61
4.11 of this chapter section 61-62
5 classic problem genetic algorithm for hardware implementation 62-72
5.1 function extremum problems 62-68
5.1.1 objective function 62
5.1.2 software emulation function extremum problems 62-66
5.1.3 function extremum problem hardware implementation 66-67
5.1.4 Analysis 67-68
5.2 TSP 68-71
5.2.1 TSP model 68
5.2.2 TSP software simulation 68-69
5.2.3 Hardware Implementation of the traveling salesman problem 69-70
5.2.4 a simple coarse-grained model 70
5.2.5 Analysis 70-71
5.3 Chapter Summary 71-72
6 Summary and Outlook 72-74
6.1 Work Summary 72-73
6.2 genetic algorithm for hardware implementation outlook 73-74
Thanks 74-76
References 76-80
Related dissertations
- The Research on Multichannel Parallel Signals Processing of Lidar Ranging System Based on FPGA
- Research on Orbit Optimization of Refueling Constellation
- CUDA-based Genetic Algorithm to Solve TSP Problem
- Research on Parallel Evolutionary Algorithms for Solving Combination Optimization Problem
- Research on the Procurement Path Optimization Based on EOQ-JIT Cost Indifference Point
- The Logistics Center Location Planning of Tralin Group Straw Supply
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System