EEVblog Electronics Community Forum

Products => Test Equipment => Topic started by: Mechatrommer on December 14, 2023, 01:57:01 pm

Title: Rigol DHO804 Bode Plot
Post by: Mechatrommer on December 14, 2023, 01:57:01 pm
my prototype now can be used with DHO804 for bode plot (barely) so i tried to redo test by TimFox here...
https://www.eevblog.com/forum/testgear/rigol-dho914s-bode-plot (https://www.eevblog.com/forum/testgear/rigol-dho914s-bode-plot)

R = 100 ohm, C = 33nF, so cutoff freq = 48kHz... (1 / (2.pi.R.C) )
i can confirm the same bugs and wobbly effect in old FW1.14.

1) the bode plot procedure is finding optimum vertical scale for each frequency, but its inefficient imho. its just brute force set to minimum vertical scale and increase the scale until signal fits the monitor for each point. this results one click for each channel for every point to be plotted (2 clicks per point), i think this can wear out front end relay quickly. the more efficient way is only do brute force search during the beginning, and increase or decrease vertical scale from there on the next point, if signal too small, decrease scale, if signal too big, increase scale, cant you think of that rigol? how many brains you have over there?

2) i tried to set acquisition to average to reduce noise and hopefully wobbly effect of the plot on low level signal, but unfortunately the dso changes to normal acquisition during bode plotting, sigh. where is another brain?

3) suggestion: another trick to get better bode plot. is to convert input signal to FFT, find largest magnitude bin, that is our fundemantel, get it phase as well. then convert the output signal (CH2) to FFT, and find the same bin element, find its magnitude and phase, substract both values and you got a point on bode plot. i think this will be much cleaner.

so i guess if bode plot is too important, controlling DHO804 from PC to adjust time and vertical scale appropriately, command the AFG to give incremental frequency at desired voltage level, download the data to PC,and do our own procedure/algorithm for bode plot is much preferable... only the good thing about internal AFG/AWG is we only need one cable connected to PC rather than two in case of external AFG unit... fwiw...

https://www.youtube.com/watch?v=vKeOM21Gt7A (https://www.youtube.com/watch?v=vKeOM21Gt7A)
Title: Re: Rigol DHO804 Bode Plot
Post by: Randy222 on December 14, 2023, 02:28:01 pm
If 100,000 owners of a DHO email Rigol saying "it would be good if you could write the code needed to run a functional BODE plot, that would be good since your competotors like Siglent already do it", maybe Rigol will do it.

Maybe you get a reply like, "yes, our new DHO Pro series will have BODE".  :-DD
Title: Re: Rigol DHO804 Bode Plot
Post by: Mechatrommer on December 14, 2023, 02:36:23 pm
they already did, except we need to email them telling "your bode plot function is not efficient enough yet, let us help you with suggestions"
Title: Re: Rigol DHO804 Bode Plot
Post by: Randy222 on December 14, 2023, 02:40:19 pm
BODE is in DHO800 firmware 01.00, 01.01, and 01.02 ?
I was not aware.
Title: Re: Rigol DHO804 Bode Plot
Post by: Mechatrommer on December 14, 2023, 02:50:28 pm
BODE is in DHO800 firmware 01.00, 01.01, and 01.02 ?
I was not aware.
i guess yes, but there is channels offset issue after calibration, so nobody use that with 924S vendor.bin... further investigation/hack will be needed on that.
Title: Re: Rigol DHO804 Bode Plot
Post by: Fungus on December 14, 2023, 04:02:23 pm
BODE is in DHO800 firmware 01.00, 01.01, and 01.02 ?
I was not aware.

You have to enable the AWG functions for it to appear (ie. change model to DHO900S).

Title: Re: Rigol DHO804 Bode Plot
Post by: vanyas on December 15, 2023, 09:23:47 am
But no offset with DHO914/DHO914S vendor.bin

Waiting for your AWG module...
Title: Re: Rigol DHO804 Bode Plot
Post by: Mechatrommer on December 15, 2023, 10:30:09 am
But no offset with DHO914/DHO914S vendor.bin
do you know the link for DHO914S vendor.bin? i'm not aware of it... what i saw from people is DHO914 vendor.bin (no AFG option)
Title: Re: Rigol DHO804 Bode Plot
Post by: Pinkus on December 15, 2023, 10:58:56 am
As far as I understand this:
https://www.eevblog.com/forum/testgear/hacking-the-rigol-dho800900-scope/msg5223060/#msg5223060 (https://www.eevblog.com/forum/testgear/hacking-the-rigol-dho800900-scope/msg5223060/#msg5223060)
you can create your own by using the software from the link.
"DHO924S" as the scope model should do it (I did not try this yet).
Title: Re: Rigol DHO804 Bode Plot
Post by: vanyas on December 15, 2023, 11:08:52 am
But no offset with DHO914/DHO914S vendor.bin
do you know the link for DHO914S vendor.bin? i'm not aware of it... what i saw from people is DHO914 vendor.bin (no AFG option)
You can use this tool to change model in your vendor.bin https://github.com/zelea2/rigol_vendor_bin saving your S/N and MAC
Title: Re: Rigol DHO804 Bode Plot
Post by: Randy222 on December 15, 2023, 03:04:13 pm
But no offset with DHO914/DHO914S vendor.bin
do you know the link for DHO914S vendor.bin? i'm not aware of it... what i saw from people is DHO914 vendor.bin (no AFG option)
You can use this tool to change model in your vendor.bin https://github.com/zelea2/rigol_vendor_bin saving your S/N and MAC
SecureAge and BkavPro always seem to red flag these github files.
Title: Re: Rigol DHO804 Bode Plot
Post by: Pinkus on December 15, 2023, 04:01:18 pm
Bkav Pro is known to produce a lot of false positives.
The products of the other 70 virus vendors (checked at https://www.virustotal.com/ (https://www.virustotal.com/)) did not find any problem, thus I am confident, that SecureAge is wrong too.

Title: Re: Rigol DHO804 Bode Plot
Post by: Fungus on December 15, 2023, 05:15:49 pm
Here's a DHO914 vendor.bin
Title: Re: Rigol DHO804 Bode Plot
Post by: Mechatrommer on December 15, 2023, 05:58:57 pm
Here's a DHO914 vendor.bin
cannot do bode plot :P
Title: Re: Rigol DHO804 Bode Plot
Post by: Randy222 on December 15, 2023, 06:08:56 pm
Bkav Pro is known to produce a lot of false positives.
The products of the other 70 virus vendors (checked at https://www.virustotal.com/ (https://www.virustotal.com/)) did not find any problem, thus I am confident, that SecureAge is wrong too.
Or perhaps the other 70 have literally missed it.  ;)
VT makes no claims to the accuracy of the tools they list.
Title: Re: Rigol DHO804 Bode Plot
Post by: vanyas on December 15, 2023, 07:08:52 pm
DHO914S vendor.bin
Title: Re: Rigol DHO804 Bode Plot
Post by: Mechatrommer on March 07, 2024, 08:46:29 pm
My Second Bode Plot on DHO804 (AFG module rev 2) with latest FW 1.2.2

https://www.youtube.com/watch?v=lRe5eWJbHuc (https://www.youtube.com/watch?v=lRe5eWJbHuc)

bode plot function is improved on latest FW as if they listened to my point #1 in OP ;D last time i tested on much older FW 1.14 btw will do AFG module rev 3 to improve further noise level, if not by a lot...  :P i hope that will be the last revision before i publish it ;) cheers.

attached are my prototype replica board, just in case if someone want to have a sneak peek ;) fwiw...
Title: Re: Rigol DHO804 Bode Plot
Post by: BobbyGun on May 27, 2024, 10:51:11 pm
Any news?
After 2 mons waiting no changes?
I have a question - in the beginning, you couldn't get an X-ray of the original board?
I think things would go much faster.
Title: Re: Rigol DHO804 Bode Plot
Post by: Mechatrommer on May 28, 2024, 09:48:37 am
Any news?
After 2 mons waiting no changes?
I have a question - in the beginning, you couldn't get an X-ray of the original board?
I think things would go much faster.
i too wished someone with the original module can do the xray and complete BOM but, i cant wait for such hope. btw still stuck with other things i cant get back to progress yet... cheers.
Title: Re: Rigol DHO804 Bode Plot
Post by: Lathe26 on July 12, 2024, 03:47:36 pm
Just so folks don't get too excited for the Bode plot feature, it also has some weird display bugs where the graph is rendered wrong.  At least this was the case with the v01.02.00.02 firmware.

https://www.eevblog.com/forum/testgear/rigol-dho914s-bode-plot/msg5327351/#msg5327351 (https://www.eevblog.com/forum/testgear/rigol-dho914s-bode-plot/msg5327351/#msg5327351)
Title: Re: Rigol DHO804 Bode Plot
Post by: gcfix on April 11, 2025, 02:19:55 pm
Hi Mechatrommer,

I see that you were working on an AWG board.  Have you finished it and are you selling copies?

Best regards