System Design of Low-power Vortex Signal Processing Based on STM32
- Author
- JiangLi
- Advisor
- HuJianRen , QinHuiBin
- School
- Hangzhou University of Electronic Science and Technology
- Major
- Circuits and Systems
- Classification
- TH814 Flow Meter
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 170
- Citations
- 1
- Vortex flow meter
- Piezoelectric sensor
- Programmable gain amplifier
- Spectrum Analysis
- Variable Sampling Frequency
Abstract
The stress-type vortex flow meter,which based on Karman vortex street principle ,are widely used to measure liquid, gas and steam flow,because of its high sensitivity, good stability, low cost, and etc. However, there are two major problems of vortex flow meter: First, the signal can not be detected low flow rates, so making the range more than limited; Second, High power consumption, can not be used in harsh industrial environment field. For these two problems, we design a low-power vortex signal processing system based on STM32 which uses method of combining analog filtering and digital spectrum analysis for output signal acquisition and processing of the vortex sensor.Vortex flow meter system is the design category of secondary instrument, the object is to deal with the weak piezoelectric charge that output of piezoelectric sensor, This paper analyzes the characteristics of output signal and noise from the piezoelectric vortex sensor, according to the signal characteristics, we use low power operational amplifier TLV2252 and TLV2254 of TI to design Preamplifier circuit, including a charge amplifier, programmable gain amplifier, low pass filter and Schmitt shaping circuit, Pre-treat the Q/V conversion, amplification, filtering, shaping of the output signal of vortex sensor, then output two signals success: one is the vortex signal near-sinusoidal by low-pass filter; another is the square wave pulse equal to vortex signal frequency by Schmitt circuit. Signal acquisition operation and the control circuit used ST’s low-cost, low-power STM32F103RBT6 core processor of Cortex-M3 as the control. The part of the circuit includes a STM32 processors circuit, serial communication circuit, LCD interface circuit to complete the signal acquisition, analysis, calculation, and control liquid crystal to display the results.This software to complete some function of the vortex signal acquisition, spectral analysis, and program-controlled adjustment of magnification, the frequency calculation and display. Development tools are IAR Embedded Workbench for ARM, using C language programming. The main control module by calling a variety of routines to accomplish specific functions. Vortex signal with frequency, amplitude span a wider range of features, use of fixed sampling points, variable sampling frequency FFT algorithm, calculated power spectrum according to FFT calculation results, the last and then work out frequency of vortex signal according to amplitude information, Not only meet the requirements of low power system, real-time, but also improves the measurement accuracy.This project is achieved the idea of the design implementation of a hardware circuit, completed the writing and debugging of system software, furthermore ,the water flow in the laboratory test results show that: the high system anti-interference ability, high accuracy, and expand the range limit, low power consumption, so it can be used to measure small flows.
Table of contents
Abstract 5-6
ABSTRACT 6-11
Chapter 1 Introduction 11-19
1.1 research background and significance 11-12
1.2 Vortex Overview 12-15
1.2.1 vortex formation 12-13
1.2.2 vortex flowmeter works 13-14
1.2.3 vortex signal detection mode 14
1.2.4 Vortex advantages and limitations 14-15
1.3 vortex flowmeter signal processing technology 15-17
1.3.1 Vortex Flowmeter digital signal processing Foreign Research 15-16
1.3.2 Vortex Flowmeter digital signal processing domestic research 16-17
1.4 dissertation research 17-19
1.4.1 main job 17
1.4.2 Technical Difficulties 17
1.4.3 papers structural arrangements 17-19
Chapter 2 vortex sensor output signal analysis and algorithm research 19-31
2.1 vortex sensor output signal analysis 19-20
2.2 Signal Processing Methods 20-24
2.2.1 Digital filtering 20-21
2.2.2 FFT-based spectrum analysis method 21-23
2.2.3 Wavelet Transform 23-24
2.3 FFT algorithm brief 24-28
2.3.1 Fast Fourier Transform 24-26
2.3.3 FFT frequency resolution and parameter selection 26
2.3.4 Spectrum analysis errors exist 26-28
2.4 improvement program 28-30
2.4.1 Variable Sampling frequency 28-29
2.4.2 Spectrum Correction 29-30
2.5 Chapter Summary 30-31
Chapter 3 system hardware design 31-45
3.1 overall design of the basic principles 31
3.2 overall system hardware circuit design 31-32
3.3 preamplifier circuit 32-38
3.3.1 piezoelectric sensing element and a charge amplifier 32-35
3.3.2 programmable gain amplifier 35-36
3.3.3 lowpass filter 36-37
3.3.4 shaping circuit 37-38
3.4 signal processing circuit 38-44
3.4.1 microprocessor selection 38-40
3.4.2 Processor circuit 40-42
3.4.3 LCD display module design 42-44
3.4.4 USART circuit 44
3.5 Summary 44-45
Chapter 4 System Software 45-58
4.1 software development platform 45-46
4.2 overall design of the system software 46
4.3 software system module design 46-57
4.3.1 initialization module 46-50
4.3.2 Programmable magnification adjustment module 50-51
4.3.3 Calculation module 51-53
4.3.4 LCD module 53-54
4.3.5 serial communication module 54-55
4.3.6 Interrupt Module 55-57
4.3.7 Main monitoring procedures 57
4.4 Summary 57-58
Chapter 5 System tests and experiments 58-66
5.1 system test 58-63
5.1.1 Charge Amplifier Test 58-59
5.1.2 programmable gain amplifier test 59-60
5.1.3 preamplifier circuit test 60-61
5.1.4 Spectrum Analyzer Test 61-62
5.1.5 Power Test 62
5.1.6 system overall test 62-63
5.2 Water flow experiment 63-66
5.2.1 experimental device 63
5.2.2 Water flow experiment 63-65
5.2.3 Flow Measurement Experiment Summary 65-66
Chapter 6 Summary and Outlook 66-68
6.1 Work Summary 66-67
6.2 Prospects 67-68
Thanks 68-69
References 69-72
Appendix 72-73
detailed summary 73-76
Related dissertations
- Development of Digital Signal Processing System for Vortex Flowmeters with Low-power and Two-wires
- The Fluctuations about Cpi of Inner Mongolia
- Filtering and Spectrum Analysis for Audio Signals Based on Wavelet
- Research on OFDM and the Single Carrier Signal Modulation Recognition
- Study of Frequency Spectrum Refinement Algorithm Based on Fast Fourier Transform
- The Key Signal Processing Technology of Botdr Distributed Sensing Systems
- Research and Design of a Real-time Spectrum Analysis System Based on Soft-core MicroBlaze
- Research on the Piezoelectric Touch Panel Based on PVDF
- The Software Design of Adaptive Spectrum Analysis Algorithm Based on FPGA
- Matrix Network Spectrum Analysis System Based on AD5933
- Design and Stimulation Analog/mixed-Signal Generation Baed on BIST
- Spectrum Analysis System Based on LabVIEW
- The Study on Corona Monitoring System of High Voltage Transmission Line under Powerful Electromagnetic Interference
- Optimal Planning of Microgird and Energy Storage System
- Study on Harmonic Detection of Power System Based on All Phase Spectrum Analysis
- Design of an On-line Monitoring System of Induction Motor Base-on Vector Transformation Principle
- The Micro DC Motor Testing System Based on the Spectral Analysis of Steady-state Current
- Study on Condition Monitoring of Outdoor Insulator Based on Acoustic Emission
- The Measurement and Analysis of Influence Based on γ Energy Spectrum
- Research on Seismic Reinforcement Method for Single-span Frame Structure with Cantilevered Verandahs