Author Topic: Hacking the Rigol DHO800/900 Scope  (Read 313506 times)

amr and 12 Guests are viewing this topic.

Offline Omega64

  • Newbie
  • Posts: 3
  • Country: it
Re: Hacking the Rigol DHO800/900 Scope
« Reply #400 on: November 15, 2023, 10:12:47 am »
Hello dudes,
not sure if I'll buy a DHO1074 (currently available with a super discount) or a DHO9x4S. In the thread about the Bode Plot function of the latter, it seems that it's buggy, even with the latest firmware updates. I can wait (have 2 other higher end oscilloscopes, a Tektronix and a Siglent, the Rigol would be an extra) but I'd have preferred to exploit the discount I can get now (and probably around Black Friday).

350MHz probes apart, is it 100% certain that the DHO914S and DHO924S have exactly the same identical hardware, and that the former can be completely hacked into the latter?

Cheers.
 

Offline swperk

  • Regular Contributor
  • *
  • Posts: 104
  • Country: us
Re: Hacking the Rigol DHO800/900 Scope
« Reply #401 on: November 16, 2023, 02:09:15 am »
I've attached photos of the performance of my bandwidth upgraded DHO914S. I can see no difference (other than the probes) between mine and an "official" DHO924S.

I used a Leo Bodnar fast rise time pulse generator into a 50 ohm pass-through terminator to measure a 1.3 ns rise time. I used the "analog scope" formula of 0.35/rise time to calculate an approximately 269 MHz bandwidth. Then I used a calibrated signal generator to find the -3 dB point using 100 MHz as a reference level. The 620 mV p-p measured at 100 MHz was reduced to 620 mV / SQRT(2), or about 438 mV p-p at 305 MHz. Looks like the bandwidth formula for this scope should be revised to BW = 0.4/rise time.
 
The following users thanked this post: thm_w, Omega64

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11694
  • Country: my
  • reassessing directives...
Re: Hacking the Rigol DHO800/900 Scope
« Reply #402 on: November 16, 2023, 04:45:10 am »
0.35/rt for gaussian scope. Otherwise 0.45/rt..
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 
The following users thanked this post: Omega64

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16707
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #403 on: November 16, 2023, 06:44:25 am »
I've attached photos of the performance of my bandwidth upgraded DHO914S. I can see no difference (other than the probes) between mine and an "official" DHO924S.

There's no difference internally but the DHO924 comes with better probes.

Looks like the bandwidth formula for this scope should be revised to BW = 0.4/rise time.

Use 0.45 for DSOs:

https://www.tek.com/en/support/faqs/how-bandwidth-related-rise-time-oscilloscopes
 
The following users thanked this post: rdtsc

Online ebastler

  • Super Contributor
  • ***
  • Posts: 6531
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #404 on: November 16, 2023, 06:57:01 am »
0.35/rt for gaussian scope. Otherwise 0.45/rt..

"Gaussian scope" is a misnomer, I think. A Gaussian filter is a bandpass with a Gaussian-shaped frequency response (and hence also a Gaussian-shaped impulse response); not used in scope front ends to my knowledge. The 0.35 conversion factor between risetime and bandwidth applies to first- or second-order lowpass filters; 0.45 is the "rule of thumb" for the steeper filters often used today.
 

Online ebastler

  • Super Contributor
  • ***
  • Posts: 6531
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #405 on: November 16, 2023, 07:36:23 am »
Misnomer? Are you saying tektronix is stupid?

Could you give a reference please? Where does Tektronix talk about "Gaussian oscilloscopes" or Gaussian filters in the front end?
 

Online ebastler

  • Super Contributor
  • ***
  • Posts: 6531
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #406 on: November 16, 2023, 08:44:52 am »
Could you give a reference please? Where does Tektronix talk about "Gaussian oscilloscopes" or Gaussian filters in the front end?

Why today somebody else has to do someone's else homework? :palm:  https://www.tek.com/en/support/faqs/how-bandwidth-related-rise-time-oscilloscopes#:~:text=Historically%2C%20oscilloscope%20frequency%20response%20tended,Bandwidth%20x%20rise%20time%20%3D%200.45.

And where exactly does that short text talk about "Gaussian scopes" or "Gaussian anything"?

Mate, I understand the 0.35 vs. 0.45 factors, and I summarized that just a couple of posts above. My point is that your terminology is wrong and misleading. ("Misnomer", you know? A wrong or inaccurate use of a term.) This has nothing to do with Gaussian filters.
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11694
  • Country: my
  • reassessing directives...
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Online ebastler

  • Super Contributor
  • ***
  • Posts: 6531
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #408 on: November 16, 2023, 09:20:38 am »
I meant keysight/hp :palm: ... read!... https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://f.hubspotusercontent40.net/hubfs/281197/Keysight_Evaluating_Oscilloscopes_AppNote_CControls.pdf&ved=2ahUKEwj07rStk8iCAxUfi2MGHXCfBQUQFnoECAoQBg&usg=AOvVaw0xDwW53v3efGuzk-2vb-CF

That's a strange one... I would actually call their definition of "Gaussian frequency response" a misnomer too. ("A low-pass frequency response that has a slow roll-off characteristic that begins at approximately 1/3 the –3 dB frequency".)

Every other text I have seen defines a "Gaussian frequency response" very specifically as a frequency response that follows Gauss' "bell curve", i.e. g(f) ~ exp (-f²/a). This specific frequency response is not required to obtain the 0.35/risetime relationship, and it is not present in typical scope front ends.

All actual derivations of the 0.35 factor which I have come across assume a plain old first-order or second-order lowpass filter. Probably a real Gaussian filter would give a similar factor. But focusing the whole bandwidth discussion on Gaussian filters, as Keysight does, seems misleading to me.
 

Online gf

  • Super Contributor
  • ***
  • Posts: 1217
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #409 on: November 16, 2023, 09:32:11 am »
That's a strange one... I would actually call their definition of "Gaussian frequency response" a misnomer too. ("A low-pass frequency response that has a slow roll-off characteristic that begins at approximately 1/3 the –3 dB frequency".)

Every other text I have seen defines a "Gaussian frequency response" very specifically as a frequency response that follows Gauss' "bell curve", i.e. g(f) ~ exp (-f²/a). This specific frequency response is not required to obtain the 0.35/risetime relationship, and it is not present in typical scope front ends.

All actual derivations of the 0.35 factor which I have come across assume a plain old first-order or second-order lowpass filter. Probably a real Gaussian filter would give a similar factor. But focusing the whole bandwidth discussion on Gaussian filters, as Keysight does, seems misleading to me.

Primarily, a Gaussian filter has a Gaussian impuse response, and that results in a lowpass filter (not bandpass as you said in a previous post). The magnitude of the frequency response also has a Gaussian bell shape, centered at 0Hz (if you consider both, positive and negative frequencies in the Fourier frequency domain). And the corresponding log magnitude (-> decibel scale) is a quadratic function of frequency.

[ Generally, bandpass filters can be derived from their corresponding lowpass prototypes. So Gaussian bandpass filters do exist as well. However, a Gaussian bandpass does not have a Gaussian impulse response (it's a cosine wave with Gaussian envelope). ]

The risetime * bandwidth product of an ideal Gaussian (lowpass) filter is 0.332.

A filter with Gaussian impulse response has the shortest rise time which is possible without overshoot in the step response. There exist filters with same bandwidth and shorter rise times, but they do overshoot. A "maximally flat" frequency response will always overshoot.

A true Gaussian response can only be approximated, in both domains, analog and digital. At least in the analog domain, never expect a perfect approximation. In the digital domain, the approximation accuracy is, of course, just a matter of the number of FIR filter taps you are willing to spend.
« Last Edit: November 16, 2023, 09:40:20 am by gf »
 

Online ebastler

  • Super Contributor
  • ***
  • Posts: 6531
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #410 on: November 16, 2023, 09:45:45 am »
Primarily, a Gaussian filter has a Gaussian impuse response, and that results in a lowpass filter (not bandpass as you said in a previous post). The magnitude of the frequency response also has a Gaussian bell shape, centered at 0Hz (if you consider both, positive and negative frequencies in the Fourier frequency domain).

[ Generally, bandpass filters can be derived from their corresponding lowpass prototypes. So Gaussian bandpass filters do exist as well. However, a Gaussian bandpass does not have a Gaussian impulse response (it's a cosine wave with Gaussian envelope). ]

Right, thanks for the correction. But do we agree that Keysight's definition of "Gaussian frequency response" is rather misleading? -- Anyway, it seems that their main message, at the end of the application note, is simply: "Some cheap competitors have a really messy frequency response. Buy a Keysight."  ;)
 

Online gf

  • Super Contributor
  • ***
  • Posts: 1217
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #411 on: November 16, 2023, 10:02:27 am »
Right, thanks for the correction. But do we agree that Keysight's definition of "Gaussian frequency response" is rather misleading?

Read it as "approximately Gaussian". As long as you don't quantify the deviation, it's always correct. You can also consider Bessel as an approximation for Gaussian (although the design goal of Bessel is a different one).
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 5880
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol DHO800/900 Scope
« Reply #412 on: November 16, 2023, 10:36:35 am »
Looks like the bandwidth formula for this scope should be revised to BW = 0.4/rise time.

I had also first determined the rise time with the Bodnar pulser and then calculated the bandwidth with the 0.45/rt formula.
Then I measured the actual bandwidth with a generator, which worked well.
« Last Edit: November 16, 2023, 10:39:21 am by Martin72 »
 
The following users thanked this post: thm_w, gf, Serg65536

Offline Omega64

  • Newbie
  • Posts: 3
  • Country: it
Re: Hacking the Rigol DHO800/900 Scope
« Reply #413 on: November 16, 2023, 11:10:53 am »
I've attached photos of the performance of my bandwidth upgraded DHO914S. I can see no difference (other than the probes) between mine and an "official" DHO924S.

There's no difference internally but the DHO924 comes with better probes.

Better probes objectively, but maybe not in reality when used on a shared 1.25GS/s ADC: won't the 350MHz probes only cause more aliasing, except when using just one channel?

 

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16707
  • Country: 00
Re: Hacking the Rigol DHO800/900 Scope
« Reply #414 on: November 16, 2023, 04:03:18 pm »
Better probes objectively, but maybe not in reality when used on a shared 1.25GS/s ADC: won't the 350MHz probes only cause more aliasing, except when using just one channel?

I compared the rise times on my hacked "200Mhz" DSO804 with 150Mhz probes vs. 50-Ohm BNC. It made very little difference.

Based on that I assume the real-world bandwidth difference between the 150Mhz and 350Mhz probes will be negligible on these 'scopes.

Maybe the 350Mhz probes aren't really a bonus from the probing point of view. Does anybody know if they feel better?
 
The following users thanked this post: Omega64

Offline zelea2

  • Regular Contributor
  • *
  • Posts: 61
  • Country: gb
Re: vendor.bin decoding tool for linux/windows
« Reply #415 on: November 17, 2023, 01:13:57 am »
I don't have a DHO800 scope yet but I'm ordering one soon   :)
I've ordered a DHO804 from Aliexpress https://www.aliexpress.com/item/1005005962731116.html for only £321 (chinese singles day).
To my surprise I've got the scope only 3 days later without having to pay any other VAT or customs fees (probably was shipped from UK not China). Brilliant deal!

I've plugged it to my LAN network, pulled the Key.data and vendor.bin files (via adb) and installed these 2 licenses: BW7T10.lic  RLU.lic to increase the front end bandwidth and the memory depth.
The whole process was painless and took less than 5 min.

I've also noticed an SSH server running on the scope. Does anyone know what's the default root password?
« Last Edit: November 17, 2023, 10:15:02 am by zelea2 »
 

Online gf

  • Super Contributor
  • ***
  • Posts: 1217
  • Country: de
Re: Hacking the Rigol DHO800/900 Scope
« Reply #416 on: November 17, 2023, 09:00:32 am »
I had also first determined the rise time with the Bodnar pulser and then calculated the bandwidth with the 0.45/rt formula.
Then I measured the actual bandwidth with a generator, which worked well.

Was the Bodnar pulser directly connected to the 1M Ohm input (-> 50 Ohm || Cin), or via feed-through terminator (-> 25 Ohm || Cin) ?
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 28456
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Hacking the Rigol DHO800/900 Scope
« Reply #417 on: November 17, 2023, 09:05:09 am »
I had also first determined the rise time with the Bodnar pulser and then calculated the bandwidth with the 0.45/rt formula.
Then I measured the actual bandwidth with a generator, which worked well.

Was the Bodnar pulser directly connected to the 1M Ohm input (-> 50 Ohm || Cin), or via feed-through terminator (-> 25 Ohm || Cin) ?
https://www.eevblog.com/forum/testgear/rigol-dho804-test-and-compare-thread/msg5106120/#msg5106120
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 5880
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol DHO800/900 Scope
« Reply #418 on: November 17, 2023, 09:39:46 am »
Yepp,
It's one from Huber&Suhner.
https://www.ebay.com/itm/266252468369
 
The following users thanked this post: gf

Offline Serg65536

  • Regular Contributor
  • *
  • Posts: 133
  • Country: ua
Re: Hacking the Rigol DHO800/900 Scope
« Reply #419 on: November 17, 2023, 12:36:40 pm »
With the new firmware V 1.02 I have a good and a little bit of a bad news. (DHO800 CN page or direct link)
1) Now I can use DHO924 as a main firmware, zero offset could be removed by the calibration. And the voltage accuracy is great also.
2) Now ADC Gain self test is turned on by default.
3) AFE zero self cal procedure increases the DC offset badly. To restore it you can push old cal files and repeat default calibration.


Now it's time to hack it more. 8)
PS: push original old *.cal files (without default *.cal files), if your calibration fails.
« Last Edit: November 17, 2023, 12:48:03 pm by Serg65536 »
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11694
  • Country: my
  • reassessing directives...
Re: Hacking the Rigol DHO800/900 Scope
« Reply #420 on: November 17, 2023, 01:18:55 pm »
1) Now I can use DHO924 as a main firmware, zero offset could be removed by the calibration. And the voltage accuracy is great also.
great! but where is the AFG (bode plot) function?
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline Serg65536

  • Regular Contributor
  • *
  • Posts: 133
  • Country: ua
Re: Hacking the Rigol DHO800/900 Scope
« Reply #421 on: November 17, 2023, 02:28:03 pm »
1) Now I can use DHO924 as a main firmware, zero offset could be removed by the calibration. And the voltage accuracy is great also.
great! but where is the AFG (bode plot) function?
I use DHO924 vendor.bin without "S" postfix.
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 5880
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol DHO800/900 Scope
« Reply #422 on: November 17, 2023, 07:33:13 pm »
Quote
And the voltage accuracy is great also.

5mV/div is interesting..

Offline swperk

  • Regular Contributor
  • *
  • Posts: 104
  • Country: us
Re: Hacking the Rigol DHO800/900 Scope
« Reply #423 on: November 17, 2023, 10:28:22 pm »
Where can I download firmware version 1.02? The Rigol NA site has only 1.01.
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 5880
  • Country: de
  • Testfield Technician
Re: Hacking the Rigol DHO800/900 Scope
« Reply #424 on: November 17, 2023, 10:33:25 pm »
I wouldn´t do this until rigolna list it too.
You may see the problems I had with this yesterday.
I can still remember my MSO5000 days.
Not every firmware update was listed everywhere back then, some Chinese versions turned out to be beta status and didn't even make it onto the American and European websites.
There is no need for it at the moment, I would wait.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf