Center for New Music and Audio Technologies |
Next: Conclusion
Up: Results
Previous: Area Usage and Performance
The use of CORDIC for computing sine introduces precision errors
because of the limited number of iterations and the limited resolution
of values in the CORDIC lookup table. The error results in distortion
of the generated sine wave. Figure 1.10 illustrates
the magnitude error of a CORDIC-based sine wave with a frequency of
Hz when compared to a reference sine wave. Both are normalized
and sampled at kHz. The error results in high frequency added to
the Hz sine wave, as represented by the spectrum in Figure
1.11.
The values are taken from data produced by the logic simulation within
the XILINX Foundation software and are analyzed using a FFT1.3 with Hamming window in MATLAB.
The energy of the error obtained can be also expressed by the equation:
where is the magnitude error. With is the
root-mean-square amplitude of the reference signal we get for the
signal-to-noise ratio:
In the context of additive synthesis, where multiple sinusoids are added
together, the SNR obtained here is an acceptable result.
Figure 1.10:
Magnitude error of a sine wave generated by a CORDIC-based
oscillator with 16 bit resolution.
|
Figure 1.11:
Spectrum of a sine wave generated by a CORDIC-based
oscillator with 16 bit resolution.
|
Next: Conclusion
Up: Results
Previous: Area Usage and Performance
Home
Norbert Lindlbauer
2000-01-19