Author Topic: Hacking the Rigol MSO5000 series oscilloscopes  (Read 1747830 times)

0 Members and 70 Guests are viewing this topic.

Offline BTO

  • Frequent Contributor
  • **
  • Posts: 655
  • Country: au
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3175 on: April 18, 2025, 08:57:14 am »
I have problem with win11 and ssh <scope-ip-addr> -l root

win11 say "SSH protocol v.1 is no longer supported  !!

I dont now ?


Putty - a great open source ssh client for windows for last 15 years at least.

Exactly, PuTTY is awesome and i encourage people to use it
QUESTION EVERYTHING!!!
 

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3176 on: April 18, 2025, 10:13:56 am »
Putty with Win11 works now. I had some problems with Dr Mefisto's instructions.
Electronics developer
 

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3177 on: April 18, 2025, 10:44:46 am »
Can you measure the bandwidth of the MSO5000 with this signal generator ADF4351

2548700-0

« Last Edit: April 18, 2025, 11:11:29 am by rolfdegen »
Electronics developer
 

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3178 on: April 18, 2025, 01:50:17 pm »
Comparison measurement of the rise time with 100MHz oscilloscope and 500MHz oscilloscope..

« Last Edit: April 18, 2025, 01:57:26 pm by rolfdegen »
Electronics developer
 

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3179 on: April 18, 2025, 03:51:05 pm »
OK. I generated and measured a 50MHz puls signal with a Teensy4 (600Mhz Clock)



This is an 50MHz Puls signal from Teensy4
Code: [Select]
// 50MHz Puls signal on Teensy4
const int my_pulse_pin = 22;

void setup()
{
  pinMode(my_pulse_pin, OUTPUT);
  CORE_PIN20_PADCONFIG |= 0xF9;
}

void loop()
{
  while (1) {
    digitalWriteFast(my_pulse_pin, HIGH);
    digitalWriteFast(my_pulse_pin, HIGH);
    digitalWriteFast(my_pulse_pin, LOW);
    digitalWriteFast(my_pulse_pin, LOW);
    digitalWriteFast(my_pulse_pin, LOW);
    digitalWriteFast(my_pulse_pin, LOW);
    //delay(1);
  }
}

I set the Scope probe to x10 to make the measurement more precise and use a spring on the probe head
2548844-1



This is a measurement with Rigol DS4054 500MHz scope in the video

« Last Edit: April 18, 2025, 04:57:36 pm by rolfdegen »
Electronics developer
 

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3180 on: April 20, 2025, 07:14:26 pm »
50MHz pulse measurement with 10x Probe, series 450R resistor and 50R Scope impedanz resistor.
I hope this measurement setup is correct  :-//

2550032-0



« Last Edit: April 20, 2025, 07:24:06 pm by rolfdegen »
Electronics developer
 

Offline BTO

  • Frequent Contributor
  • **
  • Posts: 655
  • Country: au
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3181 on: April 20, 2025, 08:15:34 pm »
50MHz pulse measurement with 10x Probe, series 450R resistor and 50R Scope impedanz resistor.
I hope this measurement setup is correct  :-//

1.6ns....
This puts you at 625 MHz
QUESTION EVERYTHING!!!
 

Offline MarkusAJ

  • Contributor
  • Posts: 25
  • Country: us
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3182 on: April 20, 2025, 09:29:21 pm »
50MHz pulse measurement with 10x Probe, series 450R resistor and 50R Scope impedanz resistor.
I hope this measurement setup is correct  :-//

1.6ns....
This puts you at 625 MHz

How did you calculate the 625MHz?
Using "bandwidth (Hz) = 0.35/rise time" formula, 1.6ns rise time it's 218.75MHz.
Some vendors (ex. Tektronix) use "bandwidth (Hz) = 0.45/rise time"  formula and in this case 1.6ns will calculate to 281.25MHz.

BTW, for bandwidth measure you should use very fast, <100ps pulses. You may be interested in fast pulse generator from Leo Bodnar, link: https://www.leobodnar.com/shop/index.php?main_page=product_info&products_id=295
« Last Edit: April 20, 2025, 09:37:33 pm by MarkusAJ »
 
The following users thanked this post: JCS666

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3183 on: April 20, 2025, 10:37:08 pm »
Thanks for this information. But I'm not sure if my measurement is correct ? Maybe this measurement is better..

Puls source --- 50R Resister -- 20cm Koax kable -- 50R scope input

« Last Edit: April 20, 2025, 10:46:39 pm by rolfdegen »
Electronics developer
 

Offline JonMorton

  • Contributor
  • Posts: 11
  • Country: gb
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3184 on: April 21, 2025, 12:31:13 am »
Thanks for this information. But I'm not sure if my measurement is correct ? Maybe this measurement is better..

Puls source --- 50R Resister -- 20cm Koax kable -- 50R scope input

Check this link below, it is very good tutorial how to measure scopes bandwidth.

https://youtu.be/Ly5pmYopEfU
 

Offline JCS666

  • Contributor
  • Posts: 24
  • Country: es
    • ea1dzl
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3185 on: April 21, 2025, 08:36:42 am »
My system, show my previous post:

 

Offline BTO

  • Frequent Contributor
  • **
  • Posts: 655
  • Country: au
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3186 on: April 21, 2025, 11:27:41 am »
50MHz pulse measurement with 10x Probe, series 450R resistor and 50R Scope impedanz resistor.
I hope this measurement setup is correct  :-//

1.6ns....
This puts you at 625 MHz


How did you calculate the 625MHz?
Using "bandwidth (Hz) = 0.35/rise time" formula, 1.6ns rise time it's 218.75MHz.
Some vendors (ex. Tektronix) use "bandwidth (Hz) = 0.45/rise time"  formula and in this case 1.6ns will calculate to 281.25MHz.

BTW, for bandwidth measure you should use very fast, <100ps pulses. You may be interested in fast pulse generator from Leo Bodnar, link: https://www.leobodnar.com/shop/index.php?main_page=product_info&products_id=295

I didn't calculate it, I did a quick google search before going to bed.
when i get a second i'll take a better look at it
QUESTION EVERYTHING!!!
 

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3187 on: April 21, 2025, 01:48:06 pm »
New  measurement with 50R coax cable
50MHz pulse measurement with 450R series resistor, 50 Ohm coaxial cable and 50R Scope impedanz resistor.



Electronics developer
 

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3188 on: April 21, 2025, 04:24:13 pm »
My best result was with a 50 ohm series resistor and a 50 ohm coaxial cable. Oscilloscope input impedance of 50 ohms.



50MHz Puls signal from Teensy4 with GPIO output impedance 50 ohm
Code: [Select]
C:
// 50MHz Puls signal on Teensy4
const int my_pulse_pin = 22;

void setup()
{
  pinMode(my_pulse_pin, OUTPUT);
 // CORE_PIN20_PADCONFIG |= 0xF9;

  int DRIVE_STRENGTH = 3; // vlaue from 0 to 7. (3 = 53R 3.3V)
  int SPEED = 3; // value 0 to 3 (3 = max GPIO speed 200MHz)
  *(portControlRegister(my_pulse_pin)) = IOMUXC_PAD_DSE(DRIVE_STRENGTH) | IOMUXC_PAD_SPEED(SPEED);
}

void loop()
{
  while (1) {
     digitalWriteFast(my_pulse_pin, HIGH);
    digitalWriteFast(my_pulse_pin, HIGH);
    digitalWriteFast(my_pulse_pin, LOW);
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
    asm volatile("nop");
  }
}

Teensy4 GPIO output data



« Last Edit: April 21, 2025, 04:35:53 pm by rolfdegen »
Electronics developer
 

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3189 on: April 22, 2025, 11:58:59 am »
Confusion with the sample rate in MSO5104 (350MHz hack)
I checked the sampling rate of each channel. They should have 8GSa/s in single mode. It's displayed differently in the acquisition menu (see pics).

Channel 1: Single Mode 8GSa/s
Channel 2: Single Mode 2GSa/s
Channel 3: Single Mode 4GSa/s
Channel 4: Single Mode 4GSa/s





MSO5000 manual





« Last Edit: April 22, 2025, 12:03:04 pm by rolfdegen »
Electronics developer
 

Offline 6SN7WGTB

  • Regular Contributor
  • *
  • Posts: 181
  • Country: gb
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3190 on: April 22, 2025, 12:50:33 pm »
Using my home-brew pulser, I can resolve a pulse down to around 700ps, which seems to tally with the BW of my unlocked (MSO5104 -> MSO5354) 'scope which is ca. 600MHz.

The response curve of my 'scope is below, and the roll-off post -3dB point is ca. 55dB/decade, which if I am not talking nonsense is almost 3rd order, which means we should expect Rise Time to be 0.45/freq

 
The following users thanked this post: JCS666

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3191 on: April 22, 2025, 12:54:17 pm »
Do you have a circuit diagram of your DIY pulse generator ?
Electronics developer
 

Offline 6SN7WGTB

  • Regular Contributor
  • *
  • Posts: 181
  • Country: gb
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3192 on: April 22, 2025, 01:43:25 pm »
It's the "Jim Williams" basic design. I made a few versions and settled on an SMD one, below.  A full-fat one is also attached, all built on the BNC.

It's fed via the phono plug with 90V DC, through a polarity protection diode.
 

Offline Retired2

  • Contributor
  • Posts: 21
  • Country: us
 
The following users thanked this post: tcottle, rolfdegen

Online macboy

  • Super Contributor
  • ***
  • Posts: 2410
  • Country: ca
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3194 on: April 22, 2025, 02:36:31 pm »
Confusion with the sample rate in MSO5104 (350MHz hack)
I checked the sampling rate of each channel. They should have 8GSa/s in single mode. It's displayed differently in the acquisition menu (see pics).

Channel 1: Single Mode 8GSa/s
Channel 2: Single Mode 2GSa/s
Channel 3: Single Mode 4GSa/s
Channel 4: Single Mode 4GSa/s
...
To get the maximum sample rate on any single channel, it must be the only channel being sampled. I see that you have Channel 1 set as the trigger source when testing each channel. This means that channel 1 is also being sampled, even though it is not being displayed.
Try again, changing the trigger source to the same single channel that you are displaying.
 
The following users thanked this post: rolfdegen

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3195 on: April 22, 2025, 05:04:26 pm »
Confusion with the sample rate in MSO5104 (350MHz hack)
I checked the sampling rate of each channel. They should have 8GSa/s in single mode. It's displayed differently in the acquisition menu (see pics).

Channel 1: Single Mode 8GSa/s
Channel 2: Single Mode 2GSa/s
Channel 3: Single Mode 4GSa/s
Channel 4: Single Mode 4GSa/s
...
To get the maximum sample rate on any single channel, it must be the only channel being sampled. I see that you have Channel 1 set as the trigger source when testing each channel. This means that channel 1 is also being sampled, even though it is not being displayed.
Try again, changing the trigger source to the same single channel that you are displaying.

Yes. Thanks for the good tip.. You have to switch the trigger channel. Now each channel has 8GSa/s.  You never stop learning...  :-+
Electronics developer
 

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3196 on: April 22, 2025, 06:26:25 pm »
This is my fastest pulse generator with Teensy4.
I overclocked the processor from 600MHz to 1GHz.
The current rise time is 945ps  :)



« Last Edit: April 22, 2025, 06:30:43 pm by rolfdegen »
Electronics developer
 

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3197 on: April 24, 2025, 12:29:59 pm »
I tried 2N3904 transistors in my Avalanche Pulse Generator. None worked. I use power supply of +129 volts (max). I don't have any more voltage.
I need a little bit help. Thanks :)

My circuit is like this.


« Last Edit: April 24, 2025, 12:33:32 pm by rolfdegen »
Electronics developer
 

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3198 on: April 24, 2025, 02:54:36 pm »
I think this is a problem of transistor dispersion, also known as transistor variability. This refers to the differences in the characteristics of different transistors, even if they are of the same type.
I'm going to desolder a few more 2N3904s from old circuit boards. I hope I get lucky and one of them will work  :-+
Electronics developer
 

Offline rolfdegen

  • Regular Contributor
  • *
  • Posts: 167
  • Country: de
    • Degenerator Synthesizer/Sampler
Re: Hacking the Rigol MSO5000 series oscilloscopes
« Reply #3199 on: April 24, 2025, 04:55:22 pm »
I've now ordered 10 of the 2N2369 and want to test them. I'm curious...  :scared:


Electronics developer
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf