Hi,
. i want to build a 0.1 hz to 1mhz
1mHz or 1MHz? It makes a big difference.
Klaus
- - - Updated - - -
Hi,
There is a problem.
A sine is a single frequency, but triangle and square are signals with fundamental frequency plus their overtones.
The overtones i frequency at both waveforms are infinite. As soon as you use a LPF you create errors on the waveform.
If you use an LPF it is always a compromise between "reducing steps" and "modify the ideal waveform"
Any signal forming DAC should have it's LPF, it is called "reconstruction filter" and ideally it is an sin(x)/x function.
0.1Hz to 100Hz are 3 decades. This is huge.
100Hz to 1kHz is just one decade
10Hz to 10kH is again 3 decades.
Conclusion:
Use a high resolution DAC and high sampling rate
Sine: use (different) LPF
Square: don't use an LPF
Triangle: compromise. No ideal solution.
Klaus