Author Topic: DS1104Z-S Plus Signal Generator, Have I been Had?  (Read 1436 times)

0 Members and 1 Guest are viewing this topic.

Offline blazin_penguinTopic starter

  • Newbie
  • Posts: 3
  • Country: ca
DS1104Z-S Plus Signal Generator, Have I been Had?
« on: March 17, 2025, 08:03:54 pm »
Hi All,

So I just got a nice Rigol DS1104Z-S Plus with the signal generator.   and I'm wanting to test out PWM on a fan that requires  0-5V PWM, 1KHz - 25 KHz input.  0 - 100% PWM. 

Now These are the specs for the Signal generator amplitude

2525423-0
(Here's the link to the whole specs: https://beyondmeasure.rigoltech.com/acton/attachment/1579/f-0504/1/-/-/-/-/MSO1000Z_Datasheet.pdf)
I would expect that means that I can have a 5Vp-p pulse signal, and then offset is by 2.5V to get my 0-5V signal, but once I set the amplitude to 5Vp-p it tells me the "Parameter Limited" when I try to adjust the offset. 

I have double checked that I'm in High Z mode, Am I being dumb and missing an obvious setting here?  This feels like something a signal generator should be able to do (I know my Keysight one can do it...)

Thanks All!
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 17734
  • Country: 00
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #1 on: March 17, 2025, 08:11:56 pm »
The spec says it can only do that in HighZ mode. I suspect you're not in that mode.


It's never going to work though: Fans need amps to drive them, there's no way you can expect a signal generator to drive a fan directly.

HighZ mode in particular expects a very high resistance on the output (that's what "HighZ" means)
 

Offline TomKatt

  • Frequent Contributor
  • **
  • Posts: 607
  • Country: us
  • Electro-BOOMER
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #2 on: March 17, 2025, 08:21:57 pm »
Seems like the Hi-Z output limit of 5Vp-p would be a +/- 2.5V signal.  I note the manual states When the impedance is HighZ, the range is from (-2.5 V + the current amplitude/2) to (2.5 V - the current amplitude/2); when the impedance is set to 50 Ω, the range is from (-1.25 V + the current amplitude/2) to (1.25 V - the current amplitude/2)..  Also, in the DC Output section it states When the impedance is HighZ, the range is from -2.5 V to +2.5 V; when the impedance is set to 50 Ω, the range is from -1.25 V to +1.25 V..

How or why you'd apply a 2.5V offset to an output only capable of +/- 2.5V seems odd to me, but I don't have any experience with this gear so there must be some rationality behind it.

Anyway, I think it's possible that you might be stuck with a 2.5V PWM signal.  Hopefully I am wrong because that seems illogical.
Several Species of Small Furry Animals Gathered Together in a Cave and Grooving with a PICt
 

Offline TomKatt

  • Frequent Contributor
  • **
  • Posts: 607
  • Country: us
  • Electro-BOOMER
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #3 on: March 17, 2025, 08:23:19 pm »
It's never going to work though: Fans need amps to drive them, there's no way you can expect a signal generator to drive a fan directly.

HighZ mode in particular expects a very high resistance on the output (that's what "HighZ" means)
I'm thinking he's working with a fan that has a dedicated PWM input for speed regulation, like most pc fans.  The motor power is provided by a dedicated power input.
Several Species of Small Furry Animals Gathered Together in a Cave and Grooving with a PICt
 
The following users thanked this post: blazin_penguin

Online hexreader

  • Frequent Contributor
  • **
  • Posts: 285
  • Country: england
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #4 on: March 17, 2025, 08:24:47 pm »

I would expect that means that I can have a 5Vp-p pulse signal, and then offset is by 2.5V to get my 0-5V signal
Your expectations will not be met by Rigol DS1104Z
Output will never go above +2.5V or below -2.5V
With no load, you can have 5Vpp with no offset, but not 0 to +5V
You are out of luck
TomKatt guessed right
« Last Edit: March 17, 2025, 08:26:21 pm by hexreader »
 
The following users thanked this post: Aldo22, blazin_penguin

Offline TomKatt

  • Frequent Contributor
  • **
  • Posts: 607
  • Country: us
  • Electro-BOOMER
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #5 on: March 17, 2025, 08:36:46 pm »
Not that the DS1104Z-S is a bad scope, but issues like this are why I prefer dedicated gear over all-in-one types. 

I’ve been tempted to add a sig gen to my bench (replacing the old home built analog box I use now) and I’m saving up the few extra bucks to buy a dedicated box over the Siglent scope add-on AWG…. There’s usually some kind of limitation in the built-in options, plus you can upgrade more easily when the time comes.  My DSlogic analyzer is easier for me to use than the similarly priced Siglent scope MSO addon - more features, better decoding and longer capture memory.  If I need to synchronize with an analog signal I can use the trigger out to trigger the scope or vice versa.
« Last Edit: March 17, 2025, 08:42:24 pm by TomKatt »
Several Species of Small Furry Animals Gathered Together in a Cave and Grooving with a PICt
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8882
  • Country: us
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #6 on: March 17, 2025, 08:52:30 pm »
I have double checked that I'm in High Z mode, Am I being dumb and missing an obvious setting here?  This feels like something a signal generator should be able to do (I know my Keysight one can do it...)

High-Z mode doesn't actually affect the output of the generator, it just adjusts what it shows you.  The generator has an output impedance of 50R, so if you put a 50R load on it the voltage gets dropped by half. 

It's not an obvious solution, but if your fan circuit is not grounded at all (battery operated on your bench) then you can get your 0-5V signal by setting generator CH1 to your 5Vp-p square wave and CH2 to -2.5V offset.  Then use appropriate connectors and use the output of CH2 as your "ground" and CH1 as the PWM input.  Don't connect anything from ground or the BNC shells to the fan circuit.  Don't do this if your fan is connected to anything other than a totally isolated, battery-powered simple circuit.
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.
 

Offline TomKatt

  • Frequent Contributor
  • **
  • Posts: 607
  • Country: us
  • Electro-BOOMER
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #7 on: March 17, 2025, 09:08:07 pm »
OP might get lucky and the 0->2.5V pulses are enough for the fan's controller logic to see...  Sometimes if the signal amplitude gets over whatever the threshold value is logic gates can still work.  Just recently I was working with serial ports and got my ttl level com port to communicate with a VFD expecting 'real' +/- 12V (or whatever serial ports are).

Worth a shot to try.
« Last Edit: March 17, 2025, 09:10:13 pm by TomKatt »
Several Species of Small Furry Animals Gathered Together in a Cave and Grooving with a PICt
 

Online Aldo22

  • Super Contributor
  • ***
  • Posts: 1511
  • Country: ch
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #8 on: March 17, 2025, 09:23:15 pm »
This is why many “real” signal generators have 20Vpp. That sounds like a lot, but it is only max. +5V at 50Ω.
At higher frequencies, perhaps not even that.
 

Offline blazin_penguinTopic starter

  • Newbie
  • Posts: 3
  • Country: ca
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #9 on: March 17, 2025, 11:20:09 pm »
Thanks Everyone,  I guess this was a RTFM kind of issue because it is there in the Manual (if not the Spec sheet) I guess I should have pushed harder to get my Boss to approve the Keysight. Oh well, the Scope on it is still pretty decent.  I'll just put this in my back pocket of experiences for more fuel to the "This is why you buy good quality instruments and not just the cheap ones" That 2.5V - 1/2 amplitude should really be spelled out in the datasheet.  Keysight actually spells out the formula for the offset in their datasheet. (and has a 20Vpp generator)

Quote
It's never going to work though: Fans need amps to drive them, there's no way you can expect a signal generator to drive a fan directly.
Quote
I'm thinking he's working with a fan that has a dedicated PWM input for speed regulation, like most pc fans.  The motor power is provided by a dedicated power input.
That is correct, The fan has a dedicated PWM control on it. 

Quote
OP might get lucky and the 0->2.5V pulses are enough for the fan's controller logic to see
The spec sheet for the fan says it wants min 2.3V for VH and I did try it, unfortunately no dice.

Quote
It's not an obvious solution, but if your fan circuit is not grounded at all (battery operated on your bench) then you can get your 0-5V signal by setting generator CH1 to your 5Vp-p square wave and CH2 to -2.5V offset.  Then use appropriate connectors and use the output of CH2 as your "ground" and CH1 as the PWM input.  Don't connect anything from ground or the BNC shells to the fan circuit.  Don't do this if your fan is connected to anything other than a totally isolated, battery-powered simple circuit.
I think I'll just move on to using the PWM from my Raspberry Pi Pico instead of risking the horrible consequences if anything in that connection goes wrong :-)  Or bring my Keysight in from home.

Quote
Not that the DS1104Z-S is a bad scope, but issues like this are why I prefer dedicated gear over all-in-one types.
Yeah I normally agree, but I don't have enough use for one to get a whole other instrument,  this was just part of the "Playing around" stage of getting this fan up and working. and now I'm wishing I hadn't spend the extra $200 US on the one with the signal generator, because I'm not certain what I'm going to be able to use it for.  most of what I deal with is PWM like what I'm doing here.



 

Offline TomKatt

  • Frequent Contributor
  • **
  • Posts: 607
  • Country: us
  • Electro-BOOMER
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #10 on: March 17, 2025, 11:29:33 pm »
most of what I deal with is PWM like what I'm doing here.
In your case, a simple Pi / Arduino based PWM generator might be sufficient for your needs.  I bet you could even find a dirt cheap PWM module board.  These kind of things are handy to have on the bench - often I will grab some cheap box over setting up a 'real' piece of gear lol.

Another lesson learned and more experienced gained - lord knows I've learned a lot by similar experiences ;-)

Best of luck!
Several Species of Small Furry Animals Gathered Together in a Cave and Grooving with a PICt
 
The following users thanked this post: Fungus

Offline tautech

  • Super Contributor
  • ***
  • Posts: 30311
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #11 on: March 17, 2025, 11:34:36 pm »
Ya got 2 options, engage the forum with your requirements asking for advice OR learn how to read and fully understand datasheets and manuals.
Avid Rabid Hobbyist.
Some stuff seen @ Siglent HQ cannot be shared.
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8882
  • Country: us
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #12 on: March 18, 2025, 12:36:42 am »
I think I'll just move on to using the PWM from my Raspberry Pi Pico instead of risking the horrible consequences if anything in that connection goes wrong :-)  Or bring my Keysight in from home.

Another option is to get a low-cost amplifier for it.  These have the addtional advantage that they are low-impedance output (not 50R) so they can be used to run a variety of things and even as a high speed programmable power supply.  They vary in gain, bandwidth and power so look at the specs this time!  You'll want one with a gain of at least 4, preferrably 10, so the popular Juntek models with a gain of 2 won't work.  You can see this by searching for "DDS amplifier", "Juntek amplifier", "Feeltech amplifier" or "FPA2000". 
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.
 

Online Aldo22

  • Super Contributor
  • ***
  • Posts: 1511
  • Country: ch
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #13 on: March 18, 2025, 09:24:50 am »
Perhaps a so-called "process calibrator" would be something for you?
They are handy, versatile and there are models available for around $50.
The picture shows an SG-003A. Of course there are better ones.
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 17734
  • Country: 00
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #14 on: March 18, 2025, 11:38:14 am »
Just get an Arduino...
 

Offline blazin_penguinTopic starter

  • Newbie
  • Posts: 3
  • Country: ca
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #15 on: March 18, 2025, 03:07:01 pm »
Quote
In your case, a simple Pi / Arduino based PWM generator might be sufficient for your needs.

Yeah, that's what I'm doing I just always like to start by using test equipment to make sure that if it doesn't work I know if the problem is (in this case) the fan, or my programming,  but this will in no ways actually slow me down.  other then the time I spent trying to get the wave gen to output 5V.

Quote
Ya got 2 options, engage the forum with your requirements asking for advice OR learn how to read and fully understand datasheets and manuals.
I'm sorry I didn't read every page of the manual to find the specification that they appear to be intentionally misleading about in the spec sheets (because other manufacturers actually give the formula in theirs) 

Quote
Another option is to get a low-cost amplifier for it.
I may look into that in the future.
 

Offline TomKatt

  • Frequent Contributor
  • **
  • Posts: 607
  • Country: us
  • Electro-BOOMER
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #16 on: March 18, 2025, 04:22:31 pm »
Quote
In your case, a simple Pi / Arduino based PWM generator might be sufficient for your needs.

Yeah, that's what I'm doing I just always like to start by using test equipment to make sure that if it doesn't work I know if the problem is (in this case) the fan, or my programming,  but this will in no ways actually slow me down.  other then the time I spent trying to get the wave gen to output 5V.
For $5, I'd just get something like this - https://www.amazon.com/Module-Generator-Pulse-Frequency-Modules/dp/B0CBND5LB4

How these can sell for $5 shipped to your door is beyond me...  There's not much to it, but still - controller, lcd, buttons, pcb...

« Last Edit: March 18, 2025, 04:24:31 pm by TomKatt »
Several Species of Small Furry Animals Gathered Together in a Cave and Grooving with a PICt
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 17734
  • Country: 00
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #17 on: March 18, 2025, 09:38:40 pm »
I'm sorry I didn't read every page of the manual to find the specification that they appear to be intentionally misleading about in the spec sheets (because other manufacturers actually give the formula in theirs) 

5 Vpp into a high impedance load.
2.5 Vpp into a 50 Ohm load

What's misleading about that?

What's the impedance of your fan's control signal? That's the only missing into. I'd have guessed it was "high impedance" but apparently not.
« Last Edit: March 18, 2025, 09:41:51 pm by Fungus »
 

Offline TomKatt

  • Frequent Contributor
  • **
  • Posts: 607
  • Country: us
  • Electro-BOOMER
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #18 on: March 18, 2025, 10:01:22 pm »
I'm sorry I didn't read every page of the manual to find the specification that they appear to be intentionally misleading about in the spec sheets (because other manufacturers actually give the formula in theirs) 

5 Vpp into a high impedance load.
2.5 Vpp into a 50 Ohm load

What's misleading about that?

What's the impedance of your fan's control signal? That's the only missing into. I'd have guessed it was "high impedance" but apparently not.
In fairness, if I looked quickly I might assume that 5Vpp might get me 0 -> 5V, which is what the OP needed.  The PWM input on the fan is a HIz input, so if the specs allowed a ground based reference it would have worked for him.  As it turns out, the sig gen output only allows a max of +/- 2.5V no matter the setting or environment.
« Last Edit: March 18, 2025, 10:03:32 pm by TomKatt »
Several Species of Small Furry Animals Gathered Together in a Cave and Grooving with a PICt
 
The following users thanked this post: Fungus

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 17734
  • Country: 00
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #19 on: March 18, 2025, 10:21:03 pm »
In fairness, if I looked quickly I might assume that 5Vpp might get me 0 -> 5V, which is what the OP needed.

I guess if you combine it with "2.5V offset" you might expect that.

It's probably all done digitally though: +/-2.5V is the output range of the DAC and everything else is just math (scale/offset).
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 17734
  • Country: 00
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #20 on: March 18, 2025, 10:39:49 pm »
The PWM input on the fan is a HIz input, so if the specs allowed a ground based reference it would have worked for him.

Are you sure it doesn't have a pullup/pulldown or something in case that wire isn't connected?

A 10k resistor in there would probably be enough to drag down the AWG.

Next Question: What voltage range does the AWG show if you connect it to the 'scope via 10x probe and set a 2.5V offset?

 

Offline TomKatt

  • Frequent Contributor
  • **
  • Posts: 607
  • Country: us
  • Electro-BOOMER
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #21 on: March 18, 2025, 10:45:47 pm »
A 10k resistor in there would probably be enough to drag down the AWG.

Next Question: What voltage range does the AWG show if you connect it to the 'scope via 10x probe and set a 2.5V offset?
That's a fair point - I suspect the PWM input is treated as a cmos logic pin.  Though I'd guess there might be a pull up resistor rather than pull down.

If it were me, I'd be checking the sig gen output on the scope as well.  Though the manual and earlier discussion seem to agree that the output cannot go beyond 2.5V in either polarity.
Several Species of Small Furry Animals Gathered Together in a Cave and Grooving with a PICt
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8882
  • Country: us
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #22 on: March 18, 2025, 10:51:19 pm »
A 10k resistor in there would probably be enough to drag down the AWG.

It should have a 50R output impedance and 10k should have minimal effect on the output voltage.

I think it is just limited to a voltage source of +/-2.5V peak voltage followed by a 50R resistor.  This limits output current to 50mA which makes it a lot cheaper to implement.  DC offset isn't a separate circuit and can't add to the peak voltage.  IMO it's cheap and lame, like most auxiliary AWGs included in scopes. 
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.
 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 17734
  • Country: 00
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #23 on: March 18, 2025, 11:57:51 pm »
IMO it's cheap and lame, like most auxiliary AWGs included in scopes.

It's designed for industry-standard 50 Ohms.
 

Offline bdunham7

  • Super Contributor
  • ***
  • Posts: 8882
  • Country: us
Re: DS1104Z-S Plus Signal Generator, Have I been Had?
« Reply #24 on: March 19, 2025, 12:28:18 am »
It's designed for industry-standard 50 Ohms.

?

That part I'm sure is true, it's the low power output that is cheap and lame.  The one in my Siglent scope isn't much better, thats 3V max and a 24ns rise time.  I wouldn't pay extra for it and would prefer some other additional feature, like a reference clock input, WIFI or HDMI out. 
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.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf