基于DSP的高精度信號(hào)發(fā)生器設(shè)計(jì)及其在機(jī)械測(cè)試中的應(yīng)用
發(fā)布時(shí)間:2018-06-29 09:56
本文選題:機(jī)械測(cè)試 + 激勵(lì)信號(hào); 參考:《河北農(nóng)業(yè)大學(xué)》2014年碩士論文
【摘要】:機(jī)械裝備的可靠性是故障診斷和設(shè)備監(jiān)測(cè)中研究的重要課題。隨著科技水平的不斷提高,機(jī)械設(shè)備的系統(tǒng)越來越龐大,各部分之間的聯(lián)系也越來越緊密,其中某個(gè)零件的故障都可能會(huì)引起整個(gè)系統(tǒng)的停滯,給企業(yè)或國家?guī)砭薮蟮膿p失。因此,設(shè)備的檢測(cè)和故障診斷對(duì)于安全生產(chǎn),民生來說非常重要。 在機(jī)械工程中對(duì)一些重要部件(主軸,機(jī)床底座等)進(jìn)行可靠性測(cè)試時(shí),經(jīng)常需要激振器來產(chǎn)生激勵(lì)信號(hào),測(cè)試機(jī)械運(yùn)行中的振動(dòng)量是否對(duì)機(jī)械的使用壽命和正常運(yùn)轉(zhuǎn)造成影響。除此之外,在一些振動(dòng)試驗(yàn)建模中也很重要。在機(jī)械測(cè)試中經(jīng)常會(huì)用到各種激勵(lì)信號(hào),因此,本課題研發(fā)了以DSP為核心的數(shù)字信號(hào)發(fā)生器系統(tǒng),系統(tǒng)由CPU模塊、D/A輸出模塊,存儲(chǔ)模塊,無線通信模塊等組成。OMPL138芯片是TI公司的近幾年剛推出的一款采用達(dá)芬奇構(gòu)架的處理器,包括ARM9和C674x系列的DSP,兩大CPU為采用非對(duì)稱式達(dá)芬奇結(jié)構(gòu)的低功耗處理器,兼具DSP的高速數(shù)字信號(hào)處理性能和ARM9精簡(jiǎn)指令計(jì)算機(jī)(RISC)技術(shù)的優(yōu)點(diǎn)。 系統(tǒng)的主要實(shí)現(xiàn)過程為:利用DSP的高速數(shù)據(jù)處理能力對(duì)信號(hào)代碼復(fù)雜算法進(jìn)行運(yùn)算處理,產(chǎn)生的波形數(shù)據(jù)儲(chǔ)存在發(fā)送數(shù)據(jù)緩存區(qū);再利用EDMA(Enhanced Direct Memory Access快速直接內(nèi)存存。┘夹g(shù)對(duì)數(shù)據(jù)進(jìn)行搬運(yùn),傳送到McASP(多通道音頻串行端口)的發(fā)送端,,然后以IIS的方式傳送到D/A芯片進(jìn)行濾波放大等處理輸出。本系統(tǒng)可以產(chǎn)生標(biāo)準(zhǔn)的正弦波,三角波,方波,窄帶隨機(jī),白噪聲五種波形,滿足了機(jī)械測(cè)試需要。同時(shí),還可以對(duì)正弦波、三角波、方波進(jìn)行掃頻和掃幅,輸出電壓范圍為-10V~+10V。其中正弦波的失真度能達(dá)到0.0064%頻率精度達(dá)到10-7,能夠適用于大多數(shù)的機(jī)械振動(dòng)測(cè)試實(shí)驗(yàn)要求。 本文在正弦波、三角波、方波和白噪聲等信號(hào)理論的基礎(chǔ)上,以DSP為核心,進(jìn)行了硬件設(shè)計(jì)和軟件設(shè)計(jì)。其中,硬件設(shè)計(jì)包括CPU復(fù)位電路設(shè)計(jì)、D/A數(shù)模轉(zhuǎn)換電路設(shè)計(jì)、WIFI電路設(shè)計(jì)和電源電路設(shè)計(jì);軟件設(shè)計(jì)包括:McASP和EDMA的通信設(shè)計(jì)以及信號(hào)代碼的編寫;最后進(jìn)行系統(tǒng)的調(diào)試和測(cè)試等工作。測(cè)試試驗(yàn)表明,系統(tǒng)滿足大多數(shù)的測(cè)試要求。 論文中的主要工作如下: 1.采用DSP作為數(shù)據(jù)的處理核心,充分利用DSP的高速數(shù)據(jù)運(yùn)算能力,能夠有效地對(duì)波形代碼中的復(fù)雜算法進(jìn)行快速運(yùn)算,從而有效的產(chǎn)生波形; 2.采用函數(shù)計(jì)算生成波形數(shù)據(jù)的方法,舍棄了傳統(tǒng)的模擬電路和DDS(直接數(shù)字合成)芯片生成波形的方法,采用函數(shù)計(jì)算生成波形數(shù)據(jù)的方法,不僅精度高能達(dá)到10-7,而且還降低了系統(tǒng)硬件上的設(shè)計(jì)成本; 3.采用EDMA(增強(qiáng)型直接內(nèi)存存取)傳輸數(shù)據(jù),充分利用EDMA獨(dú)立于CPU的后臺(tái)批量數(shù)據(jù)傳輸?shù)哪芰Γ徽加肅PU的資源,從而能使DSP專注于數(shù)據(jù)的處理; 4.為了驗(yàn)證所研發(fā)信號(hào)發(fā)生器的頻率精度和失真度,試驗(yàn)測(cè)試得到了100Hz正弦波各項(xiàng)參數(shù)。測(cè)試結(jié)果,波形的失真度為0.0077%,頻率精度為3E-6,幅值精度為1.8E-3。并將該系統(tǒng)在機(jī)械測(cè)試工程中進(jìn)行了試驗(yàn)研究,在隔振臺(tái)上進(jìn)行了模態(tài)測(cè)試,達(dá)到了測(cè)試要求。
[Abstract]:The reliability of mechanical equipment is an important subject in fault diagnosis and equipment monitoring. With the continuous improvement of the level of science and technology, the system of mechanical equipment is becoming more and more large, and the connection between the parts is becoming more and more close. One part of the fault may cause the stagnation of the whole system and bring huge loss to the enterprise or the country. Therefore, equipment detection and fault diagnosis are very important for safety production and people's livelihood.
In the reliability test of some important parts (spindle, machine base, etc.) in mechanical engineering, it is often needed to generate exciting signals to determine whether the vibration in the mechanical operation affects the service life and normal operation of the machine. In addition, it is also important in some vibration test modeling. All kinds of incentive signals are often used. Therefore, we developed a digital signal generator system with DSP as the core. The system consists of CPU module, D/A output module, storage module, wireless communication module and so on. The.OMPL138 chip is a processor which has been introduced by TI in recent years, including the DSP of ARM9 and C674x series. The two CPU is a low power processor with asymmetrical Da Vinci structure. It has the advantages of DSP's high speed digital signal processing performance and the ARM9 simplification instruction computer (RISC) technology.
The main process of the system is as follows: using the high speed data processing capability of DSP to process the complex algorithm of signal code, the generated waveform data is stored in the data cache, and then the EDMA (Enhanced Direct Memory Access fast direct memory access) technology is carried to the McASP (multichannel audio string). The transmission end of the line is transmitted to the D/A chip in the way of IIS. The system can produce a standard sine wave, triangular wave, square wave, narrow band random, white noise five waveforms, which satisfy the requirement of the mechanical test. At the same time, the sine wave, the triangle wave and the square wave can be swept and swept, and the output voltage model can be used. Surrounded by -10V~+10V., the distortion of sine wave can reach 0.0064%, and the frequency accuracy reaches 10-7, which can be applied to most mechanical vibration test requirements.
On the basis of sine wave, triangle wave, square wave and white noise and so on, the hardware design and software design are carried out with DSP as the core. The hardware design includes the CPU reset circuit design, the D/A digital analog conversion circuit design, the WIFI circuit design and the power circuit design. The software design includes the communication design of McASP and EDMA and the design of the communication. Finally, the debugging and testing of the system are carried out. The test results show that the system meets most of the test requirements.
The main work in this paper is as follows:
1. using DSP as the core of data processing, making full use of the high speed data operation ability of DSP, can effectively calculate the complex algorithm in the waveform code, and effectively generate the waveform.
2. the method of generating waveform data by function calculation, the method of generating waveform from traditional analog circuit and DDS (direct digital synthesis) chip is abandoned. The method of generating waveform data by function calculation is not only high and high energy is reached 10-7, but also the design cost of system hardware is also reduced.
3. use EDMA (enhanced direct memory access) to transmit data, make full use of the ability of EDMA to transmit data in the background of CPU, and do not occupy the resources of CPU, so that DSP can concentrate on the processing of data.
4. in order to verify the frequency accuracy and distortion of the developed signal generator, the 100Hz sine wave parameters are obtained by test and test. The result shows that the distortion of the waveform is 0.0077%, the frequency accuracy is 3E-6, the amplitude precision is 1.8E-3., and the system is tested in the mechanical test engineering, and the modal test is carried out on the vibration isolation platform. It's the test requirements.
【學(xué)位授予單位】:河北農(nóng)業(yè)大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP332
【參考文獻(xiàn)】
相關(guān)期刊論文 前1條
1 林峰;許昕;;IIS接口硬件設(shè)計(jì)與測(cè)試[J];微電子學(xué);2013年03期
本文編號(hào):2081741
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2081741.html
最近更新
教材專著