VHDL design of multifunctional digital frequency meter
- Author
- LiFang
- Advisor
- CaoShuQin
- School
- North China University of Technology
- Major
- Signal and Information Processing
- Classification
- TM935.1 Wavelength,frequency ( time) measurement and instrumentation
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 884
- Citations
- 2
Abstract
Digital cymometer is one of the important measurement tools in latter-day electronic technology field and meanwhile the measurement instrument widely used in many other fields.Digital cymometer is to log the pulse number at stated norm time and convert to frequency which displays in digital form.The reach paper mainly discusses the testing process of using CPLD to measure frequency、period、pulse width and empty ratio.It contains two parts:hardware and software.Hardware circuit contains power supply、key control、display module、SCM and CPLD main control module.Key control module has 5 function keys and 3 time selection keys.A 4×4 little keyboard completes the key value input.Display module uses the crystal vision of YUXIN company.CPLD chip adopts popular VHDL language,the successful preparation of the design process,and in MAX+PLUSⅡsoftware environment;The signal chip computer is written by assembly language which could accurately controls unlock and closure of account strobe.The system combines the control flexibility of SCM with programmable performance of CPLD,so not only can it shorten the period of the development and research,but also has the advantage of compact structure,little volume,high reliability,wide scope and high precision.
Table of contents
Abstract 4-5
Abstract 5-8
first chapter 8-16
1.1 subject background 8
1.2 digital frequency meter Overview 8-9
1.3 commonly used frequency methods of measurement and error analysis 9-13
1.3.1 Direct frequency measurement method 9-11
1.3.2 using the frequency characteristics of the circuit to measure 11
1.3.3 multi-cycle synchronous measurement 11-13
1.4 The design of the precision frequency measurement principle 13-15
1.5 system design specifications 15-16
the second chapter of the hardware circuit design 16-36
2.1 top-level circuit 16-17
2.2 Frequency Measurement Module of the working principle and design 17-22
2.2.1 programmable logic devices and application prospects 17-18
2.2.2 CPLD device selection and technology 18-19
2.2.3 EPM7128 is the structure and function introduced 19-20
2.2.4 CPLD frequency measurement module logic design 20-22
2.3 The single-chip master module 22-27
2.3.1 MCU selection principle 22-23
2.3.2 C8051F005 MCU performance 23-26
2.3.3 C8051F005 MCU control circuit 26-27
2.4 ZLG7290 keyboard interface module 27-29
2.4.1 ZLG7290 basic characteristics 27
2.4.2 ZLG7290 keyboard function description 27-29
2.5 LCD interface circuit design 29-32
2.5.1 HD61202 LCD to control the drive characteristics 29-30
2.5.2 HD61202 The timing diagram 30-31
2.5.3 HY-12 864 circuit structural features 31-32
2.6 power supply module is designed 32
2.7 PCB system board design 32-36
2.7.1 design principles map the general steps 32-33
2.7.2 printed circuit board design process 33
2.7.3 printed circuit board design rules 33-36
the third chapter of the software design 36-53
3.1 the MAX plus Ⅱ Overview 36
3.2 VHDL language 36-38
3.2.1 VHDL Introduction 36-37
3.2.2 VHDL programming 37-38
3.3 The system design of the CPLD module 38-47
3.3.1 top-level program designed 38-40
3.3.2 counting module design 40-42
3.3.3 Control Module 42-43
3.3.4 reference time generation module design 43-44
3.3.5 signal selection module design 44-45
3.3.6, pulse width, duty cycle control module is designed 45-46
3.3.7 CPLD overall simulation 46-47
3.4 microcontroller C and assembly language design 47-53
3.4.1 MCU main program 47-48
3.4.2 frequency measurement, the measuring cycle, the measured pulse width, duty cycle subroutine 48-49
3.4.3 keyboard interface programming 49-51
3.4.4 LCD Interface Programming 51-53
Chapter IV system debugging and experimental testing 53-57
4.1 system debugging 53-54
4.1.1 static debugging 53-54
4.1.2 online simulation, online dynamic debugging 54
4.2 test accuracy and error analysis 54-57
4.2.1 Frequency Measurement accuracy analysis 54-55
4.2.2 Error Analysis 55-57
Chapter V Conclusion 57-59
References 59-61
apply for the degree during the research and published papers 61-62
Acknowledgements 62
Related dissertations
- The Design of Multi-Function Equal-Accuracy Digital Cymometer Based on CPLD
- Design of the Automatic Control System of Metallographic Polishing Machine Based on CPLD
- Mobile Robot Based on CPLD information collection and processing of interference
- Research on Time-relay Intelligent Measuring Instrument
- Design and Implementation of Hardware and Software of Inkjet Plotter Central Controller Based on ETX Module
- Design on the Programmable Divider and Research on the Transcoding of MPEG Audio Bit-Stream
- DSP CPLD power parameter monitoring device design
- CPLD and microcontroller based data acquisition system design detonation waves
- DSP fault recorder design and fault location method
- The CPLD in 4-25 mm antiaircraft whole gun control electrical system
- CPLD technology in the dense frequency than the wide area broad-spectrum pseudo-random signal
- Digtal Frequency Meter Design Based on Cpld and Programming in VHDL
- Passenger car automatic transmission shift control system technology and the development of lightweight
- Study on the Testability and Fault Detection of Dimming and Focusing Autonomous System in Electro-optic Theodolite
- Video data acquisition system based on PCI bus research
- Three millimeters pulse radar the CPLD ranging circuit realization of wavelet feature extraction
- Advanced Development of Intelligent Photoelectric Sludge Concentration Detection Instrument
- Transformer monitoring terminal data processing and communication interface design
- The Design of Displacement Detection System Based on CPLD Grating Subdividing Technology
- Design and Simulation of Turntable Servo Control System Based on DSP