01-27-2025 06:29 AM
Hello,
I’m trying to ramp up a sinusoidal waveform from 0 to a specific amplitude and then maintain that amplitude for as long as needed. However, I’ve noticed that during the ramp-up phase, the signal often contains spikes, as shown in the picture below.
I suspect the issue lies in how the waveforms are concatenated, leading to improper transitions between segments. Despite my efforts, I’m struggling to identify the exact problem or how to fix it.
Could you please share your thoughts or suggestions on how I might resolve this?
Thank you!
01-27-2025 10:15 AM
Looks like a transient glitch on your DAC.
A lot of DACs have some very slight imbalances int heir inner workings where MSBs are most affected. Since your glitches seeming to be coming at zero-crossings, all bits are being switched simultaneously which is often the worst-case scenario.
Try shifting the whole sine wave into positive values and see if it doesn't go away. Or shift just a little and see if the glitches stay at zero or if they follow the phase of the generator....