【文章內(nèi)容簡(jiǎn)介】
ocess is mainly in the use of Labview data acquisition submodule of the AO START function modules. Function from the implementation point of view, this design features a virtual function signal generator structure includes two modules: Module waveform generator (FG module) and frequency change control unit (DISPLAY) module. Waveform generator module and call FGEN module. FGEN module for the digital waveform generator module. Digital waveform generator module Waveform generated virtual function signal generator module is the core of the software. The module can be realized using sine, square, sawtooth, triangle and other waveforms. Sine wave generation principle is by calling the sin (x) function to implement. In this design, the design of each ponent sine wave cycle from 1000, using similar language in the For loop C as x assignment, so that the implementation of a For loop, you can generate a cycle of sine wave generating the data needed, and then use While Circulation, make the program repeatedly executed, can be continuously output sine wave. Square wave, sawtooth, triangle and sine wave generation theory produce similar principles are achieved through the mathematical sequence of numbers representative of the waveform. Compared with the analog signal, generated using the software method of digital waveform sequence although there are some errors, but the election cycle as long as a sufficient number of points, you can make errors to a minimum, the least impact on the results. Waveform generated by the software one of the biggest advantage is greatly reduced the cost of the instrument and the instrument of small intelligent. Waveform generator module39。s front panel shown in Figure 3, waveform generation module block diagram shown in Figure 3 Change of unit of frequency control module 浙江農(nóng)林大學(xué)本科生畢業(yè)設(shè)計(jì)(論文) 5 When the output frequency dynamic range is large, with a single spin button control, due to a small rotation angle, you will have a greater change in the frequency, to the frequency of accurate Shezhi brought greater Kunnan, and frequency by using a knob Times by bining the output frequency can greatly improve the control accuracy. In order to improve control accuracy of the output frequency, which in this design, by using the unit of frequency cha