DSO Shell frequency issues (and perhaps also DSO 138) - Page 1
Forum section: electronics / beginners

author: eysi
author_rank: Newbie
timestamp: October 03, 2017, 08:18:33 pm
content: HiI'm a long time EEVBlog follower, first time on the forums though.I am not an electrical engineer but like tinkering around with electronics and microprocessors etc. So I thought it would be a good thing to get a cheap "oscilloscope" to learn something before throwing in a few hundreds of $/€ for a decent one.I got myself a DSO150 (DSO Shell) from banggood. The problem I seem to be having is that the frequency jumps around quite a lot if I change the timebase. Is it supposed to do that? For the built-in 1kHz pulse wave generator I get following readings:Code:sec/divFreqcycl (ms)PW (ms)duty10us------------20us1,258 kHz0,7940,29637,0%50us1 kHz0,9990,50050,0%0,1ms1,127 kHz0,8870,38643,6%0,2ms1,112 kHz0,8980,44650,3%0,5ms1,026 kHz0,9740,48750,0%1ms1,001 kHz0,9980,47951,0%2ms1 kHz0,9990,51951,9%5ms1 kHz0,9990,39940,0%10ms999,020 Hz0,9990,39940,0%20ms250,245 Hz3,9962,39659,90%50ms------------The board seems to be the most recent revision, and runs the 113-15001-064 firmware (which was preinstalled). The C5 calibration capacitor didn't change a thing, unlike the C3 one.Could someone with a similar DSO check if theirs is detecting the same values?Thanks!

author: tautech
author_rank: Super Contributor
timestamp: October 03, 2017, 08:24:07 pm
content: Quote from: eysi on October 03, 2017, 08:18:33 pmIn some circumstances all scopes do so you mostly can fix it by adjusting Trigger Holdoff so there is a delay before the scope grabs another trigger point. Have a fiddle with it.

author: eysi
author_rank: Newbie
timestamp: October 03, 2017, 08:26:28 pm
content: In attachment a clearer view using Excel

author: ataradov
author_rank: Super Contributor
timestamp: October 03, 2017, 08:53:31 pm
content: I'd say it is normal for this scope. It measures frequency based on the digitized signal. As such, it has time resolution only down to a sample period, which gets coarser with time base increase.Real scopes have hardware frequency counters that are independent from the ADC.

author: eysi
author_rank: Newbie
timestamp: October 03, 2017, 09:02:29 pm
content: thanks tautech & ataradovCouldn't find much about manipulating the trigger holdoff except for a mention in thefirmware changelog. In the FAQ it says something about a trigger no longer being used after firmware version 60.And a reference in the"manual":Quote

author: eysi
author_rank: Newbie
timestamp: October 03, 2017, 09:51:49 pm
content: I just did a few more measurements, now with the signal output from my AN8008 multimeter set to 4kHz. Remarkably the detected frequency at 5ms and 10ms is 4 times less than what's actually generated by the multimeter. At 20ms, it shows the same 250Hz as in the 1kHz internal signal generator.I'll try contacting jyetech to see if they have any suggestions

author: ataradov
author_rank: Super Contributor
timestamp: October 03, 2017, 09:53:45 pm
content: I don't see what the problem is. You are well within expected performance of this device. It is actually better than I would have expected.Frequency measurement is not that great even on $5000 dollar scopes, what do you expect from a toy? Use dedicated frequency counters, if you need to measure frequency.

author: tautech
author_rank: Super Contributor
timestamp: October 03, 2017, 09:54:14 pm
content: Triggering iseverythingto even basic scope usage.For repetitive waveforms Holdoff is notnormallyrequired but something like a serial data stream where the period between rising edges is constantly varying .....you need it to hold the trigger back until the word has completed otherwise the trigger will grab any rising edge.With Holdoff OFF most DSO's have a default holdoff setting, usually a few 10's of ns but there are usage cases where holdoff need be adjusted all the way into the ms range.

author: jimmc
author_rank: Frequent Contributor
timestamp: October 04, 2017, 02:18:44 pm
content: Quote from: eysi on October 03, 2017, 09:51:49 pmHi eysi,There does seem to be something strange about to 10uS/div results, I suspect that the DSO may be struggling to sample at the correct rate.For the low sweep speed results you are seeing the effects of aliasing which affects all sampling systems.There is a video herehttps://www.tek.com/support/faqs/what-aliasing-and-how-do-i-detect-it-and-fix-it-my-oscilloscopeshowing a 2GS/s Tek scope failing to display a 1MHz sinewave correctly because the timebase is set to too slow a rate.As you increase the time per division setting the sample rate will decrease to keep the number of samples sweep sensible.(In the video a 1mS/div sweep is used with a record length of 10,000 points giving a sample rate of (10divs * 1ms /div)/10,000 = 1sample/uS)There are several other videos on youtube linked at the at the end of that one, including Dave's on the Rigol.Jim

author: jimmc
author_rank: Frequent Contributor
timestamp: October 05, 2017, 09:22:45 pm
content: The sample rates for the DSO150 are given in page 3 of this documentwww.jyetech.com/Products/LcdScope/HowToUseDSO150Library.pdf(see attachment).At 20mS/div the sample rate is 1.25kSa/sec so as you found a 1kHz ( or 4kHz) signal will give a 250Hz alias.Similarly at 5mS/div the sample rate is 5kSa/sec giving a 1kHz alias with a 4kHz signal.etc.Jim

author: eysi
author_rank: Newbie
timestamp: October 07, 2017, 10:01:20 pm
content: Thank you very much for doing the research jimmc! Didn't think of checking the library documentation.edit: reading theDSO138 library documentation, it handles the exact same sample rates at the same time divisions.