Author Topic: SDS1104X-E Unexpected Behaviour  (Read 5140 times)

0 Members and 1 Guest are viewing this topic.

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: ca
Re: SDS1104X-E - how to use it.
« Reply #25 on: November 25, 2022, 02:00:11 pm »
Do you mean a signal with a large DC bias?  Or something else?

Well, large is relative, but in this case I'd say yes.  The DC offset was 10V while the AC component was 4V.  However, the variance of interest was less than .5V.  I just built a small summing circuit to take the DC component out then adjust the measurements accordingly.  So it was easy enough to work around although a bit of a pain.  A better measurement solution would have been a fast response chart recorder.  They have offset adjustments as a matter of rule, but they are also not within my reach.  Another solution would be to get a data logging DMM.

Anyway, I think we're drifting off topic a bit and obviously nobody cares.  I'll treat this "Offset" adjustment as though it were an appendix.  Not very useful, but hanging around nonetheless .. and that's just fine.  :palm:

It's kind of like having a control in your car that is labeled "Brake adjustment" but when you use it to make an adjustment it just applies the brakes. :-//
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8175
  • Country: us
Re: SDS1104X-E - how to use it.
« Reply #26 on: November 25, 2022, 03:28:27 pm »
Well, large is relative, but in this case I'd say yes.  The DC offset was 10V while the AC component was 4V.  However, the variance of interest was less than .5V.  I just built a small summing circuit to take the DC component out then adjust the measurements accordingly.  So it was easy enough to work around although a bit of a pain.  A better measurement solution would have been a fast response chart recorder.  They have offset adjustments as a matter of rule, but they are also not within my reach.  Another solution would be to get a data logging DMM.

If you have a 4Vp-p AC signal with a +10V DC bias, you just set the position (or offset) to -10V and the vertical scale to 500mV/div and it should appear life-sized on your screen.  That gives you a whole division to look at your 0.5V variance. 
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: BillyO

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: ca
Re: SDS1104X-E BUG!!
« Reply #27 on: November 25, 2022, 04:14:04 pm »
I did actually try that, but it seemed to bugger up the mean and RMS measurement values.  Perhaps that's a real bug.
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8175
  • Country: us
Re: SDS1104X-E BUG!!
« Reply #28 on: November 25, 2022, 04:19:24 pm »
https://www.eevblog.com/forum/blog/eevblog-1223-whats-all-this-ac-rms-stuff-anyhow/

The scope's RMS measurement will give you AC+DC TRMS, for the AC TRMS you use the STDEV measurement.  For a 'mean', I'd have to know what mean you mean want but there's probably a way to do it.
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: BillyO

Offline Simon

  • Global Moderator
  • *****
  • Posts: 18118
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: SDS1104X-E BUG!!
« Reply #29 on: November 25, 2022, 05:31:24 pm »
There is actually.  I can think of 2 (maybe rare) use cases, but important if you need it.  Maybe Mr. loop, with all his superior knowledge of metrology, could expand on that?

On a CRO or other scope where the vertical position has to operate within reasonable limits, the addition of an adjustable DC bias on the input that allows you to offset the input by many divisions worth does have some uses, like looking at PSU ripple and more.  This was an uncommon feature on CROs.  But a DSO like the Siglent SDS1104X-E already has this feature built-in and incorporated into the vertical amplifier system.  Even if you did have some second offset system in the vertical amp, it would just add to or subtract from the first one.  The only other 'offset' I can think of that you could do is some sort of digital trim, but that would have to be pretty limited.  What use case do you have that isn't met by the system in the 1104X-E?

This use case is dealt with by selecting how the position of the screen reacts to changing the V/div, it can go around the centre of the screen or around 0V these do not coincide when you look at a voltage far from ground reference.
 

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: ca
Re: SDS1104X-E BUG!!
« Reply #30 on: November 25, 2022, 07:36:58 pm »
https://www.eevblog.com/forum/blog/eevblog-1223-whats-all-this-ac-rms-stuff-anyhow/

The scope's RMS measurement will give you AC+DC TRMS, for the AC TRMS you use the STDEV measurement.  For a 'mean', I'd have to know what mean you mean want but there's probably a way to do it.
You'd expect that for the RMS, but that wasn't the case.

The "mean" I wanted was the one provided for in the SD1104X-E measurements.  The one that ideally would be 0V for a perfect AC square wave.

There was a way to do what I wanted and get the results I needed, buy summing my signal with -10V and using the scope with DC coupling.  It was simple enough to do and gave results that made sense.

As an example if I do simulation here on the bench using a 1KHz square wave @ 4Vp-p with a 10V DC component, trying the method you suggest gives me a VRMS of 0.22V and a mean of -30mV.  Using the method I used I get VRMS of 2.03V and a mean of 6.7mV, which is what I get if I use AC coupling, which I can in this case due to the 1KHz I'm using for just that purpose.

I don't think the scope's internal measurements can cope with the position being set so far off the screen.  Something is being clipped.
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8175
  • Country: us
Re: SDS1104X-E BUG!!
« Reply #31 on: November 25, 2022, 11:42:44 pm »
As an example if I do simulation here on the bench using a 1KHz square wave @ 4Vp-p with a 10V DC component, trying the method you suggest gives me a VRMS of 0.22V and a mean of -30mV.  Using the method I used I get VRMS of 2.03V and a mean of 6.7mV, which is what I get if I use AC coupling, which I can in this case due to the 1KHz I'm using for just that purpose.

I don't think the scope's internal measurements can cope with the position being set so far off the screen.  Something is being clipped.

My AWG won't do a 10V DC bias with a 4Vp-p square wave (max output is 10V), so I set it up with 8VDC + 4Vp-p square wave, the result should be the same.  If somehow you do this and it works at 8V and not at 10, I'll float the AWG and bridge two channels.  But I don't think 8V vs 10V will matter.

So I set up my SDS1104X-E as follows:

Offset/position: -8.00V     
CH1: 1V/div, measurements RMS, STDEV and MEAN.
Horizontal 500us/div.

The results I get are ~8V MEAN, 2.00V STDEV and 8.21V RMS.  The SDS1104X-E doesn't have a formula editor for math and there's no obvious way to have the math channel do CH1 minus 8 volts, so you'd have to mentally subtract the offset from the mean to get the mean you want.  Since you were originally looking at very low frequency stuff, I tried slowing the signal down to 0.1Hz and using a slow enough acquisition speed.  I get the same result.  Those numbers exactly match what a very accurate TRMS meter gives me for both AC and AC+DC, as well as matching the calculated expectations pretty closely as well.  The AC and mean should be obvious, the AC+DC is the square root of 68. 

One thing I did notice is that if I used 500mV/div instead of 1V/div, the signal is right at the edge of the screen and the scope displays measurements with ">" rather than an "=".  That tells you that you are clipping, I guess.  Apparently you need to keep it well on the screen for best results.  What symbol did your scope show you and how did you set it up?

Clearly an actual offset bias circuit like the one you made for this would work as well, but those just don't exist AFAIK on modern DSOs and there's really no need.  More advanced models can easily take that offset off of the mean in MATH if you want to display the value without having to think about it. 
« Last Edit: November 26, 2022, 02:13:36 am by bdunham7 »
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: BillyO

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: ca
Re: SDS1104X-E BUG!!
« Reply #32 on: November 26, 2022, 03:02:29 am »
Thanks for your efforts bdunham7.

I get similar results, but notice the RMS?  It should be around 2V if you are just interested in the AC component. 

I'll post some screen shots tomorrow.

Just for information, what versions are you at (hardware, FPGA, OS, Software/firmware)?

Mine:
Hardware: 09-06
FPGA: 2021-11-08
OS: 8.3
Firmware: 6.1.37R9
« Last Edit: November 26, 2022, 03:12:43 am by BillyO »
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8175
  • Country: us
Re: SDS1104X-E BUG!!
« Reply #33 on: November 26, 2022, 04:25:47 am »
I get similar results, but notice the RMS?  It should be around 2V if you are just interested in the AC component. 

I'll post some screen shots tomorrow.

Just for information, what versions are you at (hardware, FPGA, OS, Software/firmware)?

No, that's what I was nattering on about and what the DJ video I posted is about.  RMS = AC+DC, STDEV = AC.  And by that I mean the STDEV reading is the RMS of the AC component, if that wasn't clear.

Hardware 01-04
OS 8.2
Firmware 6.1.37R6 (I don't think any further updates apply to mine)
FPGA 2021-7-12

I wouldn't think there'd be any difference that would matter here.  Post  your screenshots and we'll know.
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: BillyO

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: ca
Re: SDS1104X-E BUG!!
« Reply #34 on: November 26, 2022, 04:05:03 pm »
  RMS = AC+DC, STDEV = AC.  And by that I mean the STDEV reading is the RMS of the AC component, if that wasn't clear.

Yeah, I do realize that the DC component is a part of the RMS value (it's not simply AC+DC though), however I am talking about the measurement I was taking.  I was just interested in the RMS value of AC component.  Doing the measurement this way (by changing position) rather than by removing the DC component you don't get the RMS reading of just the AC.  In retrospect the STDEV didn't cross my mind.  I guess it would have saved me a bit of time.  :palm:  Thanks for pointing that out.  Now it'll always be a consideration.

I'll post my shot a bit later, but it's almost identical to yours.

Edit:  Screen shot added.

« Last Edit: November 26, 2022, 05:51:54 pm by BillyO »
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8175
  • Country: us
Re: SDS1104X-E BUG!!
« Reply #35 on: November 26, 2022, 04:45:55 pm »
Yeah, I do realize that the DC component is a part of the RMS value (it's not simply AC+DC though)

"TRMS AC+DC" is just a common way of referring to a TRMS measurement where the DC component is not suppressed by AC coupling.  It is calculated by your scope quite literally by simply taking the root of the mean of the squares of the samples.  Since your square wave is 12V half the time and 8V the other half, the mean is (144 + 64)/2 or 104, the RMS is 1040.5 or ~10.2 and your measured result should match that give or take some for noise and offset.

The STDEV reading is calculated much the same way, except that the scope first calculates the MEAN value and then subtracts that from all the samples before doing the rest.  Or at least that's how I expect they do it, perhaps with mathematical shortcuts to speed the process up.
A 3.5 digit 4.5 digit 5 digit 5.5 digit 6.5 digit 7.5 digit DMM is good enough for most people.
 
The following users thanked this post: 2N3055, BillyO

Online 2N3055

  • Super Contributor
  • ***
  • Posts: 7465
  • Country: hr
Re: SDS1104X-E BUG!!
« Reply #36 on: November 26, 2022, 07:41:44 pm »
Yeah, I do realize that the DC component is a part of the RMS value (it's not simply AC+DC though)

"TRMS AC+DC" is just a common way of referring to a TRMS measurement where the DC component is not suppressed by AC coupling.  It is calculated by your scope quite literally by simply taking the root of the mean of the squares of the samples.  Since your square wave is 12V half the time and 8V the other half, the mean is (144 + 64)/2 or 104, the RMS is 1040.5 or ~10.2 and your measured result should match that give or take some for noise and offset.

The STDEV reading is calculated much the same way, except that the scope first calculates the MEAN value and then subtracts that from all the samples before doing the rest.  Or at least that's how I expect they do it, perhaps with mathematical shortcuts to speed the process up.

Very nice. simple and concise!!
"Just hard work is not enough - it must be applied sensibly."
Dr. Richard W. Hamming
 

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: ca
Re: SDS1104X-E BUG!!
« Reply #37 on: October 24, 2023, 04:54:08 pm »
Okay, sorry to revive this (if anyone gets upset at such things) but it seems most people that contributed to this thread did not understand or get what I was talking about.

Here is a video that explains the difference between offset and position.  BTW, I still think an offset control would be a handy thing to have.  Siglent (and others) should consider adding it.  There is even a menu item for it already in the SDS1104X-E.  They just have to make it work properly.

Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Online 2N3055

  • Super Contributor
  • ***
  • Posts: 7465
  • Country: hr
Re: SDS1104X-E BUG!!
« Reply #38 on: October 24, 2023, 06:14:42 pm »
Okay, sorry to revive this (if anyone gets upset at such things) but it seems most people that contributed to this thread did not understand or get what I was talking about.

Here is a video that explains the difference between offset and position.  BTW, I still think an offset control would be a handy thing to have.  Siglent (and others) should consider adding it.  There is even a menu item for it already in the SDS1104X-E.  They just have to make it work properly.



What is called Vertical position in that video is also called Vertical position on SDS. That is part where front end injects DC voltage and combines it with signal.

What on Tek is called Vertical Offset, is controlled on SDS by option Reference position in Utility menu.
You can choose if screen expands around the 0V, or around Vertical offset value.

How is Reference position in Utility menu set?
"Just hard work is not enough - it must be applied sensibly."
Dr. Richard W. Hamming
 
The following users thanked this post: BillyO

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: ca
Re: SDS1104X-E BUG!!
« Reply #39 on: October 24, 2023, 06:55:57 pm »
I think you are still missing my point.  My point is that on the SDS there are both "Position" and "Offset" controls.  "Position" on the front panel and "Offset" in the vertical menu (2nd page)  However, rather than working like an offset (as in the video) it works the same as "Position".

The reference position can only be set to "Fixed Position" or "Fixed Offset" and is not adjustable.  It does not do the same thing as the offset control on the Tek in the video.  Mine is currently set to "Fixed Position".  That's where I want it.
« Last Edit: October 24, 2023, 06:59:06 pm by BillyO »
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 
The following users thanked this post: 2N3055

Offline tautech

  • Super Contributor
  • ***
  • Posts: 29810
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: SDS1104X-E BUG!!
« Reply #40 on: October 24, 2023, 09:05:34 pm »

The reference position can only be set to "Fixed Position" or "Fixed Offset" and is not adjustable.
It is, sorta.

With the scope controls place the portion of the waveform you wish to inspect near the 0V position and engage Fixed Offset.
Now zoom in with V/div.

Return to Fixed Position for normal use after needing large offset settings.
Avid Rabid Hobbyist.
Some stuff seen @ Siglent HQ cannot be shared.
 

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: ca
Re: SDS1104X-E Unexpected Behaviour
« Reply #41 on: October 24, 2023, 09:11:33 pm »
Right, but you can't take out a large DC offset that may exceed the scope's input range of you zoom in too much.

In any case, I just came back from a long walk during which I was thinking about this.  If Siglent have not allowed for programmable DC injection into the front end (somewhere before the ADC) it might not be possible to do this.  Software can only do so much and won't be able to deal with what is physically out of range for a particular attenuation.
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 

Offline Performa01

  • Super Contributor
  • ***
  • Posts: 1729
  • Country: at
Re: SDS1104X-E Unexpected Behaviour
« Reply #42 on: October 25, 2023, 09:25:38 am »
Just to get a common understanding on the atatus quo:

All Siglent X- and A-Series DSOs have only an offset control. They utilize a dedicated DAC to produce a voltage that gets injected in the LF path of the input buffer, enabling the offset compensation ranges as specified in the datasheets.

The physical knobs on the scope are still labelled "Position" (if they are labelled at all), as we are used to since the old days of analog oscilloscopes. Nevertheless they control the offset - and by doing this, we can also set the trace position. Just add or subtract the required offset.

The thing is, that this also shifts the reference point, which is indicated by the small triangle at the left edge of the screen. Without offset, this reference point is always in the vertical center of the screen.

If I understand correctly, you would want to have the reference point adjustable across the screen height and the small triangle should stay there in place, regardless of the (additional) offset setting.

I can unerstand such a desire - it might come handy sometimes - yet it would require one more control element. It might be hard to decide which one is more important, offset or position. Only one control can be on the physical knob, the other one has to be tucked away in the menu system. It would be easier on the touch scopes, where we could have one control in the channel tab, which is easily accessible. I would say, offset is the important one, whereas you should not need to change the reference point that often once you've made up your mind.

Since this would be a major change in the philosophy of offset/position control and this is the first complaint about that I'm aware of, we would need really good arguments why the current solution is not sufficient.

 

Offline BillyOTopic starter

  • Super Contributor
  • ***
  • Posts: 1848
  • Country: ca
Re: SDS1104X-E Unexpected Behaviour
« Reply #43 on: October 25, 2023, 10:30:27 pm »
Since this would be a major change in the philosophy of offset/position control and this is the first complaint about that I'm aware of, we would need really good arguments why the current solution is not sufficient.
Did you look at that video?  A good reason for having it is mentioned there and apparently it's reason enough for Tek to include it in at least some of their scopes.

To answer your other question.  Position would take priority of course.  You only have to use offset once in a while, but when you need it, it would be great to have it.  Are there ways around it?  Sure there are, but they are a lot of extra work.  Just like there are ways around most of the math functions and being able to run automatic Bode plots.
Bill  (Currently a Siglent fanboy)
--------------------------------------------------
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf