高精度正弦波信號源設(shè)計
發(fā)布時間:2019-04-25 15:26
【摘要】:線位移傳感器(LVDT)屬于直線位移傳感器,顧名思義,被用來測量物體的伸長、膨脹等位移量。正弦波信號源為線位移傳感器提供激勵基準(zhǔn)信號,保證其可靠、穩(wěn)定的工作。由于普通信號源輸出電流和功率低,不能根據(jù)變化的負載進行自動的閉環(huán)穩(wěn)定輸出正弦波信號幅值和頻率,局限了LVDT的應(yīng)用領(lǐng)域。本課題設(shè)計了智能開環(huán)、閉環(huán)曲線擬合方式,以CAN總線和USB總線作為通信接口,輸出信號有效值范圍為1Vrms-40Vrms,頻率范圍50Hz-4KHz,負載電流2A的雙通道高精度正弦波信號源。 本課題的主要工作為: (1)采用DDS技術(shù)、低功耗、可編程波形發(fā)生器AD9833,設(shè)計生成正弦基波,結(jié)合12位D/A器件AD5445進行幅值調(diào)節(jié),進而通過功放電路放大功率并輸出之。 (2)由于系統(tǒng)具有線性的特點,通過最小二乘法擬合曲線擬合,設(shè)備在程控模式下智能擬合開環(huán)、閉環(huán)曲線。PID閉環(huán)調(diào)節(jié)過程簡述為:主控器Cortex-M4收到下發(fā)的頻率、電壓值后,通過已擬合的開環(huán)曲線進行輸出,系統(tǒng)將當(dāng)前的反饋量與閉環(huán)基準(zhǔn)值進行比較,通過該偏差值去調(diào)節(jié)當(dāng)前的正弦基波的放大倍數(shù)。 (3)為了提高電壓閉環(huán)反饋值的精確性,對反饋量進行FFT頻譜分析,設(shè)計了IIR橢圓數(shù)字濾波器進行數(shù)字濾波,得到準(zhǔn)確的反饋量,從而減小電路溫漂、電磁干擾、負載波動等干擾量對輸出正弦波信號輸出電壓、頻率的影響。 (4)選用意法半導(dǎo)體公司的最新處理器STM32F407ZGT6作為系統(tǒng)主控芯片,實現(xiàn)面 板手動設(shè)置及遠程的人機交互、正弦基波產(chǎn)生、閉環(huán)PID算法、濾波等算法應(yīng)用。 (5)本課題設(shè)計了整流電路AC to DC模塊,將交流供電220V/50Hz整流為本系統(tǒng)所需的直流供電,使得本系統(tǒng)便攜、成本低。 (6)本課題選用CAN、USB通信接口,提高了數(shù)據(jù)傳輸?shù)目焖傩浴踩。軟件代碼編寫平臺為IAR Embedded Workbench for ARM6.40,固件庫版本為V1.0.0,編程語言為C。
[Abstract]:Line displacement sensor (LVDT) is a linear displacement sensor. As the name implies, it is used to measure the elongation and expansion of an object. The sine wave signal source provides the excitation reference signal for the linear displacement sensor to ensure its reliable and stable operation. Due to the low output current and power of the common signal source, the amplitude and frequency of the closed-loop stable output sine wave signal can not be automatically controlled according to the variable load, which limits the application field of LVDT. In this paper, an intelligent open-loop and closed-loop curve fitting method is designed. CAN bus and USB bus are used as communication interface. The effective value range of the output signal is 1Vrms / 40Vrms, the frequency range is 50Hz / 4kHz, and the load current 2A is a dual-channel high-precision sine wave signal source. The main work of this paper is as follows: (1) using DDS technology, low power consumption, programmable waveform generator (AD9833,) is designed to generate sine fundamental wave, and the amplitude is adjusted by 12-bit AD5445. Then the power is amplified and outputted by the amplifier circuit. (2) because of the linear characteristic of the system, the equipment can fit the open-loop curve intelligently under the program-controlled mode by the least square fitting curve, and the closed-loop curve is fitted intelligently. The pid closed-loop regulation process is briefly described as: the frequency of the main controller Cortex-M4 receiving the down-send frequency, After the voltage value, the current feedback amount is compared with the closed-loop reference value through the output of the fitted open-loop curve, and the magnification of the current sine fundamental is adjusted by this deviation value. (3) in order to improve the accuracy of the voltage closed loop feedback value, the FFT spectrum analysis of the feedback quantity is carried out, and the digital filtering of the IIR elliptic digital filter is designed to obtain the accurate feedback quantity, so as to reduce the temperature drift and electromagnetic interference of the circuit. The influence of the disturbance such as load fluctuation on the output voltage and frequency of the output sine wave signal. (4) the newest processor STM32F407ZGT6 of STI Semiconductor Corporation is chosen as the main control chip of the system to realize the application of manual panel setting and long-distance human-computer interaction, sine fundamental generation, closed-loop PID algorithm, filtering and so on. (5) in this paper, the rectifier circuit AC to DC module is designed, and the AC power supply 220V/50Hz is rectified to the DC power supply required by the system, which makes the system portable and low cost. (6) the CAN,USB communication interface is chosen to improve the speed and security of data transmission. The software coding platform is IAR Embedded Workbench for ARM6.40, solid library version V1.0.0, and the programming language is C.
【學(xué)位授予單位】:西安工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TM935
本文編號:2465245
[Abstract]:Line displacement sensor (LVDT) is a linear displacement sensor. As the name implies, it is used to measure the elongation and expansion of an object. The sine wave signal source provides the excitation reference signal for the linear displacement sensor to ensure its reliable and stable operation. Due to the low output current and power of the common signal source, the amplitude and frequency of the closed-loop stable output sine wave signal can not be automatically controlled according to the variable load, which limits the application field of LVDT. In this paper, an intelligent open-loop and closed-loop curve fitting method is designed. CAN bus and USB bus are used as communication interface. The effective value range of the output signal is 1Vrms / 40Vrms, the frequency range is 50Hz / 4kHz, and the load current 2A is a dual-channel high-precision sine wave signal source. The main work of this paper is as follows: (1) using DDS technology, low power consumption, programmable waveform generator (AD9833,) is designed to generate sine fundamental wave, and the amplitude is adjusted by 12-bit AD5445. Then the power is amplified and outputted by the amplifier circuit. (2) because of the linear characteristic of the system, the equipment can fit the open-loop curve intelligently under the program-controlled mode by the least square fitting curve, and the closed-loop curve is fitted intelligently. The pid closed-loop regulation process is briefly described as: the frequency of the main controller Cortex-M4 receiving the down-send frequency, After the voltage value, the current feedback amount is compared with the closed-loop reference value through the output of the fitted open-loop curve, and the magnification of the current sine fundamental is adjusted by this deviation value. (3) in order to improve the accuracy of the voltage closed loop feedback value, the FFT spectrum analysis of the feedback quantity is carried out, and the digital filtering of the IIR elliptic digital filter is designed to obtain the accurate feedback quantity, so as to reduce the temperature drift and electromagnetic interference of the circuit. The influence of the disturbance such as load fluctuation on the output voltage and frequency of the output sine wave signal. (4) the newest processor STM32F407ZGT6 of STI Semiconductor Corporation is chosen as the main control chip of the system to realize the application of manual panel setting and long-distance human-computer interaction, sine fundamental generation, closed-loop PID algorithm, filtering and so on. (5) in this paper, the rectifier circuit AC to DC module is designed, and the AC power supply 220V/50Hz is rectified to the DC power supply required by the system, which makes the system portable and low cost. (6) the CAN,USB communication interface is chosen to improve the speed and security of data transmission. The software coding platform is IAR Embedded Workbench for ARM6.40, solid library version V1.0.0, and the programming language is C.
【學(xué)位授予單位】:西安工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TM935
【參考文獻】
相關(guān)期刊論文 前10條
1 夏金秀;彭東林;劉小康;蔣濤;;直線式時柵位移傳感器[J];重慶工學(xué)院學(xué)報(自然科學(xué)版);2008年07期
2 柏受軍;王鳴;郎朗;趙發(fā);;LVDT位移傳感器電壓電流轉(zhuǎn)換電路的設(shè)計[J];傳感器與微系統(tǒng);2012年04期
3 王賀;張秀彬;馬云;董長城;;差動變壓器電感式位移檢測傳感器[J];電工技術(shù);2009年10期
4 王毅敏,馬麗英;傳統(tǒng)最小二乘法曲線擬合的缺陷及其改進[J];電力學(xué)報;1997年01期
5 洪志剛;杜維玲;周玲;;半橋式電感位移傳感器信號變送電路設(shè)計[J];國外電子測量技術(shù);2006年05期
6 耶曉東;;基于Matlab的IIR數(shù)字濾波器設(shè)計及DSP實現(xiàn)[J];電子設(shè)計工程;2011年09期
7 劉曉紅;;頻率測量方法概述[J];科技創(chuàng)新與應(yīng)用;2012年20期
8 張正甫;潘嘉強;;基于硬件DSP的FFT變換[J];日用電器;2012年07期
9 邵丙新;;CAN總線在計算機遠程控制中的應(yīng)用[J];科技創(chuàng)新與應(yīng)用;2013年07期
10 譚成豪;許建明;;試述51系列單片機矩陣鍵盤編程[J];科技傳播;2011年06期
,本文編號:2465245
本文鏈接:http://sikaile.net/kejilunwen/dianlilw/2465245.html
最近更新
教材專著