Author Topic: The Siglent SDG2042X Thread  (Read 548248 times)

0 Members and 5 Guests are viewing this topic.

Offline billfernandezTopic starter

  • Regular Contributor
  • *
  • Posts: 141
  • Country: us
The Siglent SDG2042X Thread
« on: November 06, 2015, 09:43:15 pm »
I just got a Siglent SDG2042X Function & Arbitrary Waveform Generator.  I searched to see if there was a thread already started that focuses on this device and didn't find one, so am creating one.

Here's a thread on this forum announcing the new line of which this is a part:
https://www.eevblog.com/forum/testgear/siglent-sdg2000x-new-arbitary-generator/msg774407/#msg774407

And here's the thread for EEVBLOG #805, where Dave tears down the SDG2122X -- the 120MHz model in the SDG2xxxX line:
https://www.eevblog.com/forum/blog/eevblog-805-siglent-sdg2122x-arb-generator-teardown/msg776709/#msg776709
 
The following users thanked this post: esmconcepts

Offline billfernandezTopic starter

  • Regular Contributor
  • *
  • Posts: 141
  • Country: us
Max Output into 50 Ohms
« Reply #1 on: November 06, 2015, 10:02:08 pm »
OUTPUT LEVEL VS DC OFFSETS

By default (0V DC offset) the output always swings symmetrically above and below ground.

Into 50 Ohms it can at most output a maximum voltage of +5V and a minimum voltage of -5V.  How you use that range is up to you.

For example, if you output a 10Vpp waveform, it will take up the whole range, and the device will not allow you to add a DC offset.

On the other hand, if you have a 1Vpp waveform, it will allow you to add an offset of up to +/- 4.5V. (remember that the 1Vpp swings from +1/2V to -1/2V.)


OUTPUT LEVEL VS FREQUENCY

When outputting sinewaves into a 50 Ohm load: For frequencies of up to 20MHz the unit lets you specify (and it will deliver) up to 10Vpp.  But above 20MHz (up to 40MHz for this model) the unit will only let you specify up to 5Vpp.

Same for squarewaves except that squarewave generation tops out at 25MHz.

Pulses have the same limits as squarewaves.

Ramps (triangle and sawtooth waves) have a maximum frequency of 1MHz, and a maximum output of 10Vpp into 50 Ohms.

The DC Offset output can only go to +/-5V.

Haven't figured out the limits for arbitrary waveforms.  All the ones I've tried have allowed me to specify up to 10Vpp, but I haven't generated a waveform faster than 10MHz (max frequency depends upon # of samples, etc.).


ABOVE 50 OHM LOAD

The documentation says that into a "high impedance" load the output can swing up to 20Vpp (-/+10V), but I haven't explored the limits thereof.
 

Offline billfernandezTopic starter

  • Regular Contributor
  • *
  • Posts: 141
  • Country: us
Testing the speed limits of arbitrary waveform generation
« Reply #2 on: November 06, 2015, 10:37:06 pm »
The arbitrary waveform generator can play samples at a maximum rate of 75 megasamples/second.  But the minimum length of a sample set is 8 samples.  So the fastest rate at which you can play an 8-sample set is 9.375MHz.

In the EasyWave program I created a new wave:
   9 points
   40MHz
   20Vpp
I used 9 points so that I could create a symmetrical waveform with no discontinuities where the sample set repeats.

Then I edited the waveform to create a sawtooth waveform with 4 peaks, from 0V to +10V.

Then ran it on the unit in DDS mode at 20MHz, 10Vpp, into 50 Ohms.

What I saw on my scope was an 80MHz softened sawtooth at about 4Vpp, with, that seemed to be amplitude modulated with a 960mVpp, 20MHz sinewave.

Also, the entire waveform seemed to be offset about 400-400mV above 0V.

Then I switched the arbitrary waveform generator from "DDS" (Direct Digital Synthesise) mode to "TrueArb" mode.  The result on the scope was a 3MHz squarewave, with no offset above 0V, with amplitude of 5.2V, and a discontinuity where the sample set repeats. 

I've noticed that TrueArb seems to add a short 0V segment at each sample-set repeat point.  I've also noticed that DDS and TruArb produce distinctly different waveforms, and I'm still trying to figure out what's going on.

I've attached a few files showing screen shots.
« Last Edit: November 06, 2015, 10:41:50 pm by billfernandez »
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2183
Re: Testing the speed limits of arbitrary waveform generation
« Reply #3 on: November 07, 2015, 02:41:35 am »
But the minimum length of a sample set is 8 samples.  So the fastest rate at which you can play an 8-sample set is 9.375MHz.

It will go down to 2 even though the documentation says 8.  I didn't test this with loading a CSV file, but a BIN file.

It will also autoscale a CSV file, so if the maximum value given is -1 to +1, it will scale those to the lowest value to the highest value.  The amplitude will actually be driven by the amplitude setting.

I used 9 points so that I could create a symmetrical waveform with no discontinuities where the sample set repeats.

This is necessary for the DDS mode because the final sample does not get a time slot like the TrueArb mode does.

In TrueArb mode if you have 4 samples, sample 0, 1, 2, and 3 will have the same amount of time each is "played" at the sample rate.

In DDS mode, if you have 4 samples, sample 0 is the left edge and sample 3 is the right edge of the waveform.  DDS mode interpolates between samples.  What you have then is a time slot assigned to sample 0-1, 1-2, and finally 2-3.  This is why you want sample 3 to be the same as sample 0.  Otherwise it will end at 3 and then instantly SNAP to sample 0.  There is no time slot assigned to sample 3-0.

I've noticed that TrueArb seems to add a short 0V segment at each sample-set repeat point.  I've also noticed that DDS and TruArb produce distinctly different waveforms, and I'm still trying to figure out what's going on.

They are completely different, one interpolates a waveform and the other plays samples.

By the way, you can load CSV files of your own samples without having to use or make them with EasyWave.  Just use this format:

data length,8
xpos,value
,1
,-1
,1
,-1
,1
,-1
,1
,-1

In this case 1 being the highest value will be scaled to the maximum and -1 being the lowest value will be scaled to the minimum.

What the generator does with this file is turns it into this binary file (see picture)

It is a simple 2 byte signed integer array.  FF 7F 00 80 --> 0x7FFF (highest value from the "1") followed by 0x8000 (lowest value from the -1).  0x0000 would be the center.

You can load binary files directly from a USB stick though they will not be copied to the internal drive.

I was very impressed with the arbitrary wave testing I did on the Siglent.  It excels at generating waveforms with its interpolating DDS mode, and you can use its TrueArb mode with deep memory to deliver 8M samples at the sample rate you choose.  That means you could send 8M/10=838860 8-bit UART frames (1 start, 8 data, 1 stop) using TrueArb!
« Last Edit: November 07, 2015, 02:44:28 am by alank2 »
 
The following users thanked this post: Electro Fan, DIPLover

Offline billfernandezTopic starter

  • Regular Contributor
  • *
  • Posts: 141
  • Country: us
Re: The Siglent SDG2042X Thread
« Reply #4 on: November 07, 2015, 04:30:08 am »
@AlanK2 thanks for your comments.  I'll do some experiments.
 

Offline billfernandezTopic starter

  • Regular Contributor
  • *
  • Posts: 141
  • Country: us
Sync/trigger output
« Reply #5 on: November 07, 2015, 04:44:41 am »
The documentation says that the unit can generate a sync/trigger pulse out of a BNC jack on the back of the unit, but only for waveforms with frequencies of up to 1MHz. 

I found that the 1MHz limit was true for the built-in sine, square, pulse and ramp functions, but that you could push up to about 1.9MHz when in TruArb arbitrary waveform mode (I didn't test DDS).  As the frequency increases the space between trigger pulses gets narrower, but the pulse width remains the same at about 508nS.

Also, the sync pulse seems to be offset from the start of the waveform pattern.  For example in the picture below of a 1MHz sinewave, neither the leading nor trailing edge of the sync pulse aligns with the zero crossing or peak of the sinewave.

Below are some pictures showing the sync pulse in relationship to a 1MHz sinewave, then to a TruArb waveform played at 1MHz, 1.5MHz and 1.9MHz, which is about as fast as you can go before losing the sync pulse.
 

Offline billfernandezTopic starter

  • Regular Contributor
  • *
  • Posts: 141
  • Country: us
Siglent SDG2042X Squarewave performance
« Reply #6 on: November 10, 2015, 01:56:45 am »
I have been looking at the squarewave output of my new Siglent SDG2042X. I've run a BNC cable directly to a 50Ohm inline shunt that is attached directly to the DC-coupled input of my 200MHz, 2.5Gs/S, Fluke 199C ScopeMeter.

RISE AND FALL TIMES:
Rise and fall times appear to be symmetrical across the range I tested (from 1Hz to 25MHz -- the max freq of the unit). At 1Hz rise and fall times are about 9.6nS.  From 1kHz to 25MHz rise and and fall times read about 8.2nS.  The spec for the unit is 7.5nS, and my scope's rise time is rated at 1.7nS.

SHAPE:
From about 2 to 6 MHz the tops and bottoms, although straight, are a bit tilted. Below this range the tops and bottoms are horizontal. 

By about 10MHz the (apoprox) 8nS rise/fall time starts taking up a significant portion of each cycle, until at 25MHz the waveforms look more like truncated sinewaves than square waves.

At all frequencies the transitions at the tops of bottoms of each rise and fall are rounded.  There is no particular overshoot, undershoot.  There is no ringing.

NOISE:
The output of this unit is surprisingly noisy.  It ranges from about 0.5mVpp at 1kHz to about 1Vpp at 25MHz.

CONCLUSION:
Except for the noise the squarewave output is well-behaved over the tested frequency range, although the output hardly looks like a squarewave above, say 10MHz due to the constant (approx) 8nS rise and fall times.

There is a sampling of representative screen shots below.
« Last Edit: January 23, 2016, 05:38:05 am by billfernandez »
 

Offline Salas

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: gr
Re: The Siglent SDG2042X Thread
« Reply #7 on: November 10, 2015, 02:27:22 am »
Noisy...bad. Can you show non averaged 100mV pk=pk 1kHz 1MHZ 10MHZ Square so we get the idea? How do you find the general ergonomics, i.e. can it be used fast enough without frustration, and how is the side fan's noise? Thanx
 

Offline billfernandezTopic starter

  • Regular Contributor
  • *
  • Posts: 141
  • Country: us
Re: The Siglent SDG2042X Thread
« Reply #8 on: November 10, 2015, 03:00:24 am »
How do you find the general ergonomics, i.e. can it be used fast enough without frustration, and how is the side fan's noise?

General ergonomics are generally good.  Many settings are fast and easy.  It's also got its share of awkward and weird user interface design choices. The knob and the buttons all have really good tactile feedback.

Fan is clearly audible, but soft and low frequency.  I find that I don't mind it at all.
 

Offline Salas

  • Frequent Contributor
  • **
  • Posts: 292
  • Country: gr
Re: The Siglent SDG2042X Thread
« Reply #9 on: November 10, 2015, 03:14:11 am »
Thank you.

P.S. Can your handheld scope limit at 20MHz by the way? Then run 1kHZ 100mVpp square comparing with full bandwidth scope setting just in case significant noise comes from the scope. Because 0.5Vpp noise seems much to a fault.
 

Offline billfernandezTopic starter

  • Regular Contributor
  • *
  • Posts: 141
  • Country: us
Re: The Siglent SDG2042X Thread
« Reply #10 on: November 10, 2015, 04:01:14 am »
0.5Vpp noise seems much...

Oops, that should say 0.5mVpp at 1kHz.

At present I'm doing a series of tests at the full 200MHz bandwidth of my scope because I'm bouncing around over a wide range.  Later I'll bandwidth limit at 20MHz and try again with the lower frequencies.
 

Offline cnkz

  • Contributor
  • Posts: 18
  • Country: de
Re: The Siglent SDG2042X Thread
« Reply #11 on: November 10, 2015, 01:54:14 pm »
For the tests i have done with the arbitrary generator:

- 9-points (as you tried above) seems not to be  possible. It seems the generator use 16-points instead, means jumps from 8-points to 16-points (this tests i have done with the old firmware, need to re-check this with the latest firmware)

- In truARB mode the output sampling rate is 75Ms/s, in DDS mode it is 125Ms/s

« Last Edit: November 10, 2015, 01:57:45 pm by cnkz »
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2183
Re: The Siglent SDG2042X Thread
« Reply #12 on: November 10, 2015, 02:04:21 pm »
- 9-points (as you tried above) seems not to be  possible. It seems the generator use 16-points instead, means jumps from 8-points to 16-points (this tests i have done with the old firmware, need to re-check this with the latest firmware)

I'm using the latest firmware and I've successfully only loaded 2 points.  In DDS mode it interpolates between samples and in TrueArb mode is plays the samples.
 

Offline cnkz

  • Contributor
  • Posts: 18
  • Country: de
Re: The Siglent SDG2042X Thread
« Reply #13 on: November 10, 2015, 04:27:18 pm »
Did you tried other (odd) number of points also?
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2183
Re: The Siglent SDG2042X Thread
« Reply #14 on: November 10, 2015, 04:44:25 pm »
Did you tried other (odd) number of points also?

Yes - I just tested 1 pt, 2 pts, 8 pts, and 9 pts, and tried both DDS and TrueArb modes on each.  They all did what I would have expected.
 

Offline smarteebit

  • Contributor
  • Posts: 29
  • Country: cn
Re: Siglent SDG2042X Squarewave performance
« Reply #15 on: November 13, 2015, 12:43:40 am »

NOISE:
The output of this unit is surprisingly noisy.  It ranges from about 0.5Vpp at 1kHz to about 1Vpp at 25MHz.



What is the noise level of your scope when no input @ 2V/div ?
 

Offline gby

  • Regular Contributor
  • *
  • Posts: 238
  • Country: us
Re: The Siglent SDG2042X Thread
« Reply #16 on: November 13, 2015, 07:02:11 pm »
On my SDG2042X using an old Tektronix TDS-420A 200 MHz oscilloscope and connecting with a BNC cable direct to scope with 50 Ohm termination I don't see any noise issues.  With scope set to 0.5 V/div and the generator outputting 3.0 Vpp at 100 kHz I see basically no noise.  The square wave flat section trace is a single pixel width.  I even put the scope in envelope mode to capture any deviations over 200 sweeps and the tested square wave width is less than 60 mVp-p which matches the scope when the input is internally 50 Ohm terminated and no BNC cable connected.  Same result with the scope in peak detect mode.

I conclude that this generator output is very quiet/very low spurious noise.  I suspect the test setup and/or equipment in billfernandez's test result that was noisy.
 

Offline gby

  • Regular Contributor
  • *
  • Posts: 238
  • Country: us
Re: The Siglent SDG2042X Thread
« Reply #17 on: November 13, 2015, 07:08:47 pm »
SDG2042X has open telnet port with no user name or password required. 

I just connected with Putty.exe to the network IP address on port 23 and got right in with no request for a user name or password.  So, I had a look around to see how the system was configured.  No surprise it is Linux based running on an ARM 7 CPU.  It was a bit of a surprise to see the log on message say "SDG800 project" which tells me that the SDG2000 FW is based on the SDG800 FW in some way.  For everyone's reference below is a log of my poking around cleaned up and organized a little.

If anyone has any questions on things to check/poke at ask away and I will try.

Code: [Select]
===============================================
|SIGLENT SDG800 project        /dev/pts/0
===============================================
SIGLENT Project http://         (none)
/ # ls
bin      etc      lib      media    proc     sbin     tmp      var
dev      home     linuxrc  mnt      root     sys      usr

*** lscpu, lshw, lsusb, do not work

/ # cat /proc/cpuinfo
Processor       : ARMv7 Processor rev 2 (v7l)
BogoMIPS        : 718.02
Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc08
CPU revision    : 2

Hardware        : am335xevm
Revision        : 0000
Serial          : 0000000000000000
/ # cat /proc/meminfo
MemTotal:         124528 kB
MemFree:           83820 kB
Buffers:               0 kB
Cached:            14096 kB
SwapCached:            0 kB
Active:            24476 kB
Inactive:           6472 kB
Active(anon):      16852 kB
Inactive(anon):        0 kB
Active(file):       7624 kB
Inactive(file):     6472 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 4 kB
Writeback:             0 kB
AnonPages:         16880 kB
Mapped:             4540 kB
Shmem:                 0 kB
Slab:               5248 kB
SReclaimable:       2288 kB
SUnreclaim:         2960 kB
KernelStack:         488 kB
PageTables:          236 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       62264 kB
Committed_AS:     138708 kB
VmallocTotal:     892928 kB
VmallocUsed:       10496 kB
VmallocChunk:     803904 kB
/ # cat /proc/version
Linux version 3.2.0+ (ding@ding-desktop) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #19 Wed Sep 9 16:32:51 ULAT 2015

/ # df
Filesystem           1K-blocks      Used Available Use% Mounted on
ubi0:rootfs              36008     15412     20596  43% /
mdev                     62264         0     62264   0% /dev
ubi1_0                  174664       120    174544   0% /usr/bin/siglent/usr
/usr/bin/siglent/usr/usr # df -h
Filesystem                Size      Used Available Use% Mounted on
ubi0:rootfs              35.2M     15.0M     20.1M  43% /
mdev                     60.8M         0     60.8M   0% /dev
ubi1_0                  170.6M    132.0K    170.4M   0% /usr/bin/siglent/usr
/ # free
              total         used         free       shared      buffers
  Mem:       124528        40744        83784            0            0
 Swap:            0            0            0
Total:       124528        40744        83784

/ # ls /usr/bin/siglent/usr
config       log          usr          version.txt

/ # ls /usr/bin/siglent/usr/usr
4096-10x-Triangle.bin  STATE01GBY.xml

/ # cat /usr/bin/siglent/usr/version.txt
Date:2014-12-13
Author:Bookwore.Peng

Version:1.0
  Ceating datafs
/ #


/ # ls /usr/bin/siglent
config     drivers    numen.app  upgrade    usr

/ # ls /usr/bin/siglent/upgrade
ReadMe.txt  datafs.img
/ # cat /usr/bin/siglent/upgrade/ReadMe.txt
Author:Boowkore.peng 2015.06.08
When "data fs " crashed, "datafs.img" file is used to format the new "data fs"/u           
« Last Edit: January 03, 2016, 10:22:03 pm by gby »
 

Offline TheSteve

  • Supporter
  • ****
  • Posts: 3741
  • Country: ca
  • Living the Dream
Re: The Siglent SDG2042X Thread
« Reply #18 on: November 13, 2015, 07:49:30 pm »
Time to start looking for the license file or a file with limits in it so you can hack/enable more features, bandwidth etc.
VE7FM
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2183
Re: The Siglent SDG2042X Thread
« Reply #19 on: November 13, 2015, 07:51:50 pm »
There is no reason to even bother hacking it.  The only difference/limitation between models is the top sine wave frequency only, and you can easily use an arbitrary wave with 10 sine waves in it to get by that limitation.

BTW, I love my SDG2082X - I truly did not know what I was missing not having a signal gen.
« Last Edit: November 13, 2015, 07:54:43 pm by alank2 »
 

Offline TheSteve

  • Supporter
  • ****
  • Posts: 3741
  • Country: ca
  • Living the Dream
Re: The Siglent SDG2042X Thread
« Reply #20 on: November 13, 2015, 07:53:49 pm »
There is no reason to even bother hacking it.  The only difference/limitation between models is the top sine wave frequency only, and you can easily use an arbitrary wave with 10 sine waves in it to get by that limitation.

Where is your sense of adventure? :)
VE7FM
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2183
Re: The Siglent SDG2042X Thread
« Reply #21 on: November 13, 2015, 07:56:22 pm »
I'll say it again, I think the SDG2042X is going to be the next DS1052 in signal gens.  Everything is in place for it to do so much more.
 

Offline smgvbest

  • Supporter
  • ****
  • Posts: 630
  • Country: us
    • Kilbourne Astronomics
Re: The Siglent SDG2042X Thread
« Reply #22 on: November 13, 2015, 11:04:08 pm »
Nice read in this thread.   I just ordered a SDG2122X and should be here for my birthday (it was my birthday present to myself)  Ordered from TEquipment.
Have to say they are great.   They recently had it on sale and honored the EEVBLOG discount so got it for just over 700  :clap:  :phew:
Sandra
(Yes, I am a Woman :p )
 

Offline alank2

  • Super Contributor
  • ***
  • Posts: 2183
Re: The Siglent SDG2042X Thread
« Reply #23 on: November 13, 2015, 11:52:45 pm »
Good for you smgvbest - I really love my SDG2082X.
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 28059
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: The Siglent SDG2042X Thread
« Reply #24 on: November 14, 2015, 01:29:51 am »
Nice read in this thread.   I just ordered a SDG2122X and should be here for my birthday (it was my birthday present to myself)  Ordered from TEquipment.
Have to say they are great.   They recently had it on sale and honored the EEVBLOG discount so got it for just over 700  :clap:  :phew:
Congrats, I only heard good stuff too from my internal sources.  ;)

Good for you smgvbest - I really love my SDG2082X.
Thanks for your feedback too.  :-+
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf