Jump to content
  • 0

WaveForms SDK creating offset after amplification with NodeAmplitudeSet


Jakob

Question

Hi,
I want to replay a .csv with my Analog Discovery. For that I modified the AnalogOut_Play.py script, but sometimes I got an offset (~0.1V).
I record the output with an external oscilloscope.
For testing I created sinus signals in an array and replayed them, the values are between +/-1V. After amplification with FDwfAnalogOutNodeAmplitudeSet to +/-5V I get an offset of 0.07-0.1V and the offset after the signal is around 0.1V if I replay the signal again with no amplification this offset vanishes again. I recalibrated the device to eliminate this as an error.
A similar thing happens in the Waveforms UI if I select 5V as amplitude for a sinus without running it and i zoom in on my oscilloscope there is an offset of 0.07V if I select 1V as amplitude it vanishes again.
Is this the normal for the hardware and is there a solution for it?
I added pictures, one of the whole range and one zoomed in.Bildschirmfotovom2024-07-0911-09-21.thumb.png.6680307761607a90d94d3c554885a8d6.png
Bildschirmfotovom2024-07-0911-09-51.thumb.png.d7b1787bbf71762b10a99ce51a7bafb2.pngThank you in advance

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Thank you, I overlooked the second option to calibrate for high gain, I only did it for low gain.
I have another question: I use the BNC adapter to get the signal of the wavegen to my oscilloscope.
If I touch the BNC cable it shows movements on the oscilloscope and sometimes it gets "stuck" and I have to recalibrate the device to eliminate the offset on the oscilloscope.
I want the AD to run independent without having to calibrate if somebody moved it or the cable. Is there a way to avoid that or is there something wrong with the BNC adapter?

Link to comment
Share on other sites

  • 0

Hi @Jakob

Try using different BNC cable.
The calibration should stay stable, even the factory calibration should be pretty accurate.
Such shifts indicate contact issue, likely the GND connection, the BNC shield has contact problem. I also have some such bad quality cables.
The adapter has 50R jumpers for AWG output, which should be used when the receiver has 50R termination.
Also note the AD gnd is connected to computer gnd, which could cause ground loop in certain setups.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...