Every electronics laboratory needs a lot of test equipment. One of the most important pieces of such equipment is a function generator. That is a device capable of generating signals of various frequencies, amplitudes, shapes and modulations.
The goal of this master's thesis was to make a function generator in a FPGA (Field Programmable Gate Array) circuit, that works on the DDS (Direct Digital Synthesis) principle. This principle uses completely digital frequency generation and enables continuous and quick frequency hopping. To generate a sine wave it calculates the current phase and loads an appropriate value from a look-up table. The description of this circuit is done in VHDL (Very High Speed Integrated Circuit Hardware Description Language).
We also had to make an analog processing circuit, which converted the signal from digital to analog form, processed it with a reconstruction filter and amplified it enough for the device to be able to drive a low-ohmic load.
When both the digital and analog circuits were finished, we also had to measure the quality of the signal on the circuit outputs and analyse it in MATLAB. To determine the quality of the signal, we used parameters SFDR (Spurious-Free Dynamic Range), THD (Total Harmonic Distortion) and SNR (Signal to Noise Ratio), which we got from a FFT transformation (Fast Fourier Transform).