【正文】
Intelligent Measurement Systems, VIMS 2020, Annapolis, MD, USA, 2930 April 2020, pp 115,(2020). [5] Koukourlis C. S., Voulgaris N. C., “A Digital Method for Sinewave Generation.” Archiv fur Electrotechnik, 72, pp 327, (1989). [6] Koukourlis Chr. S, Trigonidis V. K., Sahalos J. N., “Differential Synchronous Demodulation for Small Signal Amplitude Estimation.”, IEEE Instrumentation and Measurement, 42, No. 5, pp926, (1993). 。每個(gè)參數(shù),并通過觸摸屏幕很容易地調(diào)整,實(shí)驗(yàn)表明,各種參數(shù)指標(biāo)具有優(yōu)良的數(shù)控效 果。 數(shù)控改革信號源的優(yōu)勢 設(shè)計(jì)的數(shù)值的控制信號源被施加到車床改革實(shí)驗(yàn)。 二、輸出正弦波,方波,鋸齒波,三角波和任意波形式。 圖 6 示波器出口實(shí)驗(yàn)圖片( a) 1 千赫茲的輸出波形( b) 1 兆赫茲的輸出波形( c) 20兆赫茲的輸出波形 用示波器測試,表明該電路工作穩(wěn)定,正確。 通過的調(diào)用 Adjust_Vpp()的程度和占空因數(shù)可調(diào)諧和調(diào)整印花稅() 一步一步的自動化程序 一步一步的自動化程序磚被添加到設(shè)計(jì)來定義的頻率范圍內(nèi),一步一步的速度,一步一步的計(jì)算,遞增或失效,循環(huán)模式。 WCLK上升沿重復(fù) 5次后,在 WCLK上升沿將不再工作,直到復(fù)位信號或地址指針復(fù)位到第一個(gè)輸入寄存器的 FQUD上升沿。 AD9850的驅(qū)動器 AD9850具有 40個(gè)控制字,其中, 32位用于頻率控制, 5位用于的相位控制, 1位用于電源休眠控制, 2位用于選擇運(yùn)作模式。 圖 5 系統(tǒng)程序流程圖 植入的 uC/ GUI 數(shù)控信號源已足夠多的使用的 uC / GUI軟件建立許多窗口和控制按鈕。放大電路和濾波電路在圖 4中顯示。該系統(tǒng)輸出的 3個(gè) PWM信號,它分別控制 AD9850的輸出范圍,占空比和輸出 DAC0832 的范圍。 通過 125 MHz時(shí)鐘, 32位頻率控制字可以把 AD9850 的輸出頻率分辨率展開到 赫茲 [4]。 圖 1 系統(tǒng)設(shè)計(jì)框圖 硬件設(shè)計(jì) AD9850的模塊 AD9850包含 DDS系統(tǒng)和高速比較器。 STM32是基于 ARM的 32位微控制器與 128 K字節(jié)的閃存。 2 pi積累階段,使用 ROM來存儲相應(yīng)的相位幅度的一般正弦函數(shù)形式。頻率控制字和輸出信號的頻率與參考時(shí)鐘頻率之間的關(guān)系是: 頻率控制字與輸出信號的頻率成正比。 TC 外部參考時(shí)鐘周期,單位:秒 。測繪數(shù)字信號驅(qū)動 DAC并模擬輸出值。實(shí)驗(yàn)和應(yīng)用測試表明,數(shù)控信號源所組成的 STM32微控制器和 DDS芯片可以很好地工作。 DDS技術(shù)實(shí)現(xiàn)信號源,可以進(jìn)行精確控制 DDS的頻率,程度,相輸出波形的數(shù)值控制電路等 ,系統(tǒng)利用這種方法有許多優(yōu)點(diǎn),如安定,可靠和準(zhǔn)確度。該系統(tǒng)的優(yōu)點(diǎn)是輸出質(zhì)量好的精度和穩(wěn)定性,波形,頻率和高頻率的,空的振幅和相位是步入需要。相位累加器 。 (c) 20 MHz wave form output. With the oscillograph testing, it shows that the circuit work stably and rightly. The various parametric index exhibit fine numerical control effect. a. Output frequency range: 1Hz—30MHz, peaktopeak value: 50mV~ 10V; dutyfactor: 10%~100%, difference≤1%。 N phase accumulator digit, constant. The relationship among the frequency control word, and the output signal frequency and the referenced clock frequency are: Frequency control word is directly proportional to the output signal frequency. In order to describe clearly, the sine wave form is as one vector turns around phase circle, the phase circle matches along with a cycle sine wave. Every sampling pots in wave form corresponds to a phase dot of the phase circle. To synthesis the required frequency signal, it needs to acplish the following steps 1. Controlling every sampling increment of phase and accumulating them (frequency control word K), output 2 pi cumulated phase (using phase accumulator). 2. Converting 2 pi accumulating phase into the corresponding sine amplitude, use ROM to store the corresponding phaseextent form of sine function in general. 3. Use DAC to change extent code into the signal simulating voltage. 4. The voltage signal that DAC exports is ladder wave form , the required simulation voltage out is achieved after LPF smoothing. Numerical control DDS signal source system designs analysis System uses the STM32 as control core and the AD9850 as generator. STM32 is 32bit ARMbased micro controller with 128 K byte flash memory. The two signal output of STM32 can be achieved by controlling AD9850 and DAC0832 output simultaneously. The system designs block diagram is shown in Fig. 1. One signal output can generate 30 MHz sine wave and rectangular wave by controlling AD9850, the other output generate any wave form with its frequency less than 10 KHz by numerical frequency mixture of DAC0832. Fig. 1 System designs block diagram Hardware design AD9850 module AD9850 contains the DDS system and highspeed parator. The AD9850 can realize the entire numerical frequency bining. The core of the programmable DDS is the phase accumulator, it is posed of a ADR and a N bit phase register, N is for 24 ~ 32. A