Design of Resolver Decoding System Based on CORDIC Algorithm
- Author
- ShiHuWei
- Advisor
- HuangShouDao , ZhangYueLei
- School
- Hunan University
- Major
- Electrical Engineering
- Classification
- TM41 Power transformers
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 66
- Citations
- 0
Abstract
The resolver who has many advantages of high precision, small size, simplestructure and strong anti-jamming capability, has been widely used in industrialmanufacturing and military fields.But its output is AC analog signal and is verycomplex to deal with. In order to convert the analog signal to a digital angle value,you need to decode the analog signal.Decoding usually have two options, a resolverdedicated decoder chip, and another is to use the MCU or FPGA, AD converter chipsand other separation devices to build a decoding system.While the former wanted toachieve the ideal precision usually require a higher cost, limited its application inother fields.The purpose of this paper is to build a resolver decoding system using FPGA.This system not only can replace a dedicated decoder chip, and can be based on actualproject need to highlight certain aspects of the system characteristics.In this paper, on the basis of the resolver mathematical model and the CORDICalgorithm principle, we determine to use CORDIC algorithm to achieve arc tangentfunction. Because the traditional CORDIC algorithm covers a limited angular range,the design of hardware algorithms has to contain the pre-and post-processing module,to enable them to meet the range of (0,360°) decoding. Compared to the traditionaliteration of the loop, the CORDIC core uses the pipeline structure. We use VHDLhardware description language to write the entire arctangent solver module. Thealgorithm we design has speed, accuracy, flexible and adjustable, hardware andsimple, which is the focus of this article. In this system, FPGA generates theexcitation signal, controls AD sampling module to sample the resolver’s output signal,sends the sampled digital signal to the FPGA angle solver module and sends the anglevalues calculated to the DSP scheduling module via the serial communication module.Then we design the hardware and software of the system. Finally, the errors of thesystem are analyzed theoretically and several compensation methods are introduced.The experimental results show that the decoding system can meet therequirements of the general servo control.
Table of contents
Summary 5-6
Abstract 6-9
Chapter 1 Introduction background and significance of 9-14
1.1 topics 9 research status -10
1.2 position measurement technology 10-11
1.3 Field Programmable Gate Array Profile 11-12
1.4 VHDL hardware description language Introduction 12
1.5 QUARTUS II 9.1 Introduction purpose and content of 12-13
1.6 thesis 13-14
1.6.1 the purpose of this study main content of 13
1.6.2 papers 13-14
Chapter 2 resolver decoding overall program design 14-21
2.1 resolver 14-17
2.1.1 cosine resolver principle 15-16
2.1.2 cosine resolver mathematical model 16-17
2.2 resolver decoder 17-19
2.2.1 dedicated decoder chip 17-19
2.2.2 build separate device decoding system 19 <br / > 2.3 hardware decoding scheme comparison 19-20
2.4 Summary 20-21
Chapter 3 CORDIC hardware decoding algorithm is designed 21-31
3.1 CORDIC algorithm 21-25
3.1.1 classic CORDIC algorithm unified form 21-23
3.1.2 CORDIC algorithm model 23-25
3.2 arctangent algorithm module design 25-30
3.2.1 CORDIC algorithm (0,2 π) the correction algorithm 25-26
3.2.2 pre- processor and post-processor design 26-27
3.2.3 CORDIC algorithm iterations pipeline design and selection 27-30
3.3 Summary 30-31
Chapter 4 resolver decoding system hardware design 31-39
4.1 power Module 31-32
4.2 AD converter module 32 -33
4.3 resolver excitation excitation module 33-34
4.3.1 square wave signal generating circuit 33
4.3.2 filter shaping circuit 33-34
4.3.3 power amplifier circuit 34
4.4 FPGA chip EPlCl2Q240C8 34-35
4.4.1 Cyclone series devices About 34 - 35
4.4.2 NIOS Ⅱ soft-core processor 35
4.5 FPGA configuration circuit module 35-37
4.6 serial communication module 37-38
4.6.1 serial communication circuit design 37-38
4.7 Summary 38-39
Chapter 5 resolver decoding system software design and results of the analysis main 39-46
5.1 system 39-40
5.2 interrupt program 40-41
5.2.1 AD sampling interrupt routine 40-41
5.2.2 serial communication interrupt program 41
5.3 CORDIC decoding algorithm FPGA implementation 41-44
5.4 analysis of experimental results 44 -45
5.5 Summary 45-46
Chapter 6 System error Analysis and Compensation 46-53
6.1 error analysis 46 <br / > 6.2 analog circuit caused the error analysis 46-49
6.2.1 resolver error 46-47
6.2.2 AD converter circuit measurement error caused 47-48
6.2.3 amplitude error analysis 48-49
6.3 CORDIC angle solver module generates error 49-50
6.4 error compensation method 50-52
6.4.1 compensatory measures for zero error and amplitude error 6.4.2 CORDIC algorithm for error measures taken 50-51
51-52
6.5 Summary 52-53
conclusion 53-55
References 55-58
pursue a degree in Appendix A published papers and participate in research projects during 58-59
Appendix B CORDIC algorithm VHDL code 59-62
Thanks 62
Related dissertations
- 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
- Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
- The Design and Research of PCI Data Acquisition Card Based on FPGA
- Usb Without Invasive Data Collection Technology Research
- Research on On-line Diameter Measurement System Based on FPGA
- Design of High Speed Data Acqusition and Storage System Based on FPGA
- Design and Realize of a Type of Automatic Target-scoring System