Author Topic: Low frequency ramps everywhere!  (Read 3113 times)

0 Members and 1 Guest are viewing this topic.

Offline DL2XY

  • Regular Contributor
  • *
  • Posts: 75
  • Country: de
Re: Low frequency ramps everywhere!
« Reply #25 on: April 22, 2021, 09:54:20 pm »
Cheating the automatic level limitation by putting out a five period sawtooth with 10MHz shows that the output amplifier is quite able to reproduce 50MHz/10Vpp@50\$\Omega\$.



Even 20Vpp (without external termination) looks reasonable but with slight distortion due to reflections.
« Last Edit: April 22, 2021, 09:57:26 pm by DL2XY »
 

Offline rf-loop

  • Super Contributor
  • ***
  • Posts: 4091
  • Country: fi
  • Born in Finland with DLL21 in hand
Re: Low frequency ramps everywhere!
« Reply #26 on: April 23, 2021, 05:59:46 am »
Why function generators have so limited ramp frequency.

Over and over again years after years I meet peoples wondering why ramp functions freq are so limited. There is reasons. Also some times some may tell that why this and that have higher ramp max freq than this other. Specially if we do not care anything, we can set these limits as high as salespersons want, for ads and brochures. Specially some cheap toys have used this, including also some times square.

Now many have showed triangle how this and that can generate higher freq triangle than triangle function is limited, using example generator Arb wfm. Triangle is very easy. All can do fast triangle. But triangle is just special case in ramp waves, integral of square wave having only odd harmonics.

Generator ramp function also can generate this special case triangle. If ramp function is named as triangle and it can generate only triangle and we promise some quite easy linearity, then can set limit more high. Example in SDG6000X this "Ramp" limit is set for 5MHz. Of course it can set also higher.
I have made previously also with SDG1000X some experimental tests. It have factory limit 500kHz and I have rised it lot. It can do. Quite easy. But what happen when rise this limit. With higher frequency it can not anymore keep linearity. But much higher than 500kHz still this special case of ramp function, triangle, can do much higher than 500kHz without problems. And same is naturally with SDG6000X. Triangle is not problem.

As said, triangle is special case. Generator can produce all kind sawtooth ramp waves and this wave is much more difficult and this is main reason why this function max freq. is limited so low.   It depends lot of how good linearity we want. Many times these ramps are used for purposes where linearity need be good. Also afaik mostly  with these needs we do not need so high frequencies. For what you use ramp?  What is real need for its speed?  If not need good linearity, for what you need at all this function in practice. I mean serious needs and not playing.

If now test things using triangle, it is nearly like nonsense if we talk about function generator ramp fuunction what can produce all starting from most challenging fast edge sawtooth and up to most easy triangle.
Example if SDG6000X run with 5MHz ramp and set 0.5% symmetry it mean 1ns total time for rise from bottom to top and then start linear ramp down using 199ns. (no it can not do it clean, not even 1% symmetry)  many times we accept square wave bottom and top 10% is nearly what ever rounded, ringing etc. But when we look sawtooth... suddenly we do not accept and we want it is nice and clean like in student books.
With 50% symmetry it is triangle, integral of pure square including only odd harmonics. It have quite low level higher freq harmonics and only odd. 1% symmetry high amount of harmonics, and both, even and odd harmonics with SDG6000X over 500MHz. 100th harmonic and still it is far from perfect.

Long to short.
Generators Ramp function limit is mainly not based to just triangle. So if test and demonstrate something related to it, then need remember that triangle is easy and problems start with sawtooth signals and ramp function need cover these all.
If really need faster triangle, for this can use Arb, example in SDG6000X there is factory made triangle what can find in Windows functions and limit is 50MHz but linearity is "as is". Even this is not limit, you can do own faster, double triangle in one Arb wfm and you can get 100MHz "triangle" and so on.

Perhaps this also explain something. Image links to wiki.
https://en.wikipedia.org/wiki/Triangle_wave   
https://en.wikipedia.org/wiki/Sawtooth_wave




N=number of harmonics
note, triangle have only odd harmonics, saw tooth need even and odd harmonics. So number of harmonics is double (same freq band).
« Last Edit: April 23, 2021, 06:11:46 am by rf-loop »
I drive a LEC (low el. consumption) BEV car. Smoke exhaust pipes - go to museum. In Finland quite all electric power is made using nuclear, wind, solar and water.

Wises must compel the mad barbarians to stop their crimes against humanity. Where have the wises gone?
 
The following users thanked this post: Anthocyanina

Online AnthocyaninaTopic starter

  • Frequent Contributor
  • **
  • Posts: 340
  • Country: 00
  • The Sara
Re: Low frequency ramps everywhere!
« Reply #27 on: April 23, 2021, 08:54:30 am »

As said, triangle is special case. Generator can produce all kind sawtooth ramp waves and this wave is much more difficult and this is main reason why this function max freq. is limited so low.   It depends lot of how good linearity we want. Many times these ramps are used for purposes where linearity need be good. Also afaik mostly  with these needs we do not need so high frequencies. For what you use ramp?  What is real need for its speed?  If not need good linearity, for what you need at all this function in practice. I mean serious needs and not playing.

Hi! I was asking just out of curiosity, i found it strange that it was the function specified at the lowest frequency in pretty much all function generators i saw, and I wanted to understand why, not asking because of a particular need or anything.

Long to short.
Generators Ramp function limit is mainly not based to just triangle. So if test and demonstrate something related to it, then need remember that triangle is easy and problems start with sawtooth signals and ramp function need cover these all.
If really need faster triangle, for this can use Arb, example in SDG6000X there is factory made triangle what can find in Windows functions and limit is 50MHz but linearity is "as is". Even this is not limit, you can do own faster, double triangle in one Arb wfm and you can get 100MHz "triangle" and so on.

Perhaps this also explain something. Image links to wiki.
https://en.wikipedia.org/wiki/Triangle_wave   
https://en.wikipedia.org/wiki/Sawtooth_wave

note, triangle have only odd harmonics, saw tooth need even and odd harmonics. So number of harmonics is double (same freq band).

Oooh, I totally forgot about the gibbs phenomenon! :palm: didn't see any of it with my pico and resistor DAC when i was looking at the 0 and 100% ramps! but i did notice the transitions were too smooth at the top. And then again, this is how the ramp looks like on an 8$ microcontroller+R2R DAC on a breadboard! but of course, if there is no practical use for higher frequency ramps, i understand manufacturers not going to the trouble of specifying them at higher frequencies.

Thank you!
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16607
  • Country: us
  • DavidH
Re: Low frequency ramps everywhere!
« Reply #28 on: April 23, 2021, 11:19:00 am »
Old analog function generators handled it in two different ways.  One was to generate ramps by using the triangle output with the symmetry control set to maximum, but other instruments had two additional waveforms for positive and negative ramps, and these typically also divided the output frequency by 10 which allows for a much greater asymmetry.
 
The following users thanked this post: Anthocyanina


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf