Тёмный

EEVblog  

EEVblog
Подписаться 937 тыс.
Просмотров 90 тыс.
50% 1

In this tutorial Dave demonstrates the seldom used and often little understood mathematical integration function available on your modern digital oscilloscope. And demonstrates a practical example use for it in accurately measuring the total power consumption of a microcontroller that sleeps and then wakes up and does some processing before shutting down again. By getting the total area under the current curve.
Forum: www.eevblog.com/forum/blog/eev...
EEVblog Main Web Site: www.eevblog.com
The 2nd EEVblog Channel: / eevblog2
EEVblog Amazon Store (Dave gets a cut):
astore.amazon.com/eevblogstore-20
Donations:
www.eevblog.com/donations/
Projects:
www.eevblog.com/projects/
Electronics Info Wiki:
www.eevblog.com/wiki/

Наука

Опубликовано:

 

16 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 132   
@nickzambrano
@nickzambrano 9 лет назад
By far my favorite RU-vid channel!
@Impulsetech36
@Impulsetech36 Год назад
Charge over time Q/T is accurate and usefull to mesure power, thanks Dave great video
@meettechniek
@meettechniek 9 лет назад
The area under the current curve is the charge in As or Coulomb (C), not energy. To measure the energy you need to measure the voltage as well as the current, multiply these curves and then integrate it.
@mechtheist
@mechtheist 9 лет назад
Finally I see someone got it right. Current is coulombs/second, so integrate over time gets you Coulombs, 1 Coulomb is something like 10^^19 electrons, 1 ampere is 1 coulomb per second, the integral then is the total charge that flowed through the wire.
@Pelnied
@Pelnied 8 лет назад
+meettechniek This guy has it. Ampere is defined as a Coulomb per second so the integral of current over time will give you a unit of charge. For the energy you need the power (which he is getting from multiplying the voltage and current). Since power in Watts is defined as a Joule per second, the integral will result in a number of Joules of energy.
@yoramstein
@yoramstein 5 лет назад
Oranje boven, Oranje boven leve de koningin !
@theralhaljordan7337
@theralhaljordan7337 4 года назад
if your voltage is constant you can just multiply the integral of the current by your voltage, like Dave said in the video
@WieEiPiehGuy
@WieEiPiehGuy 9 лет назад
Hi Dave. Could you do some video(s) about spectrum analyzers? Explain things like RBW, different types of analyzers, what a test receiver is and other things that you find interesting to mention about the topic. Cheers!
@deangreenhough3479
@deangreenhough3479 5 лет назад
Great help to get me started, thank you
@mikeselectricstuff
@mikeselectricstuff 9 лет назад
An annoying thing on the integral function on my MSO6034 is you can't apply an offset to the input of the integrator to cancel out baseline current draw.
@JiananLi
@JiananLi 9 лет назад
There is an offset softkey when using the integral function on the 6000 right? I see it's on p167-168 of the user's guide.
@mikeselectricstuff
@mikeselectricstuff 9 лет назад
***** That offsets the output, not the input
@built2last31
@built2last31 9 лет назад
mike i love your video's keep it up!!
@deangreenhough3479
@deangreenhough3479 8 лет назад
Very helpful. Just bought a scope and have looked with interest at the math functions. Does anyone know if a good tutorial explaining these functions and how to apply them in the real world, much like this one exists? I'm mainly interested in micro controllers and power consumption of these devices. I thank you in advance, Dave video was a real help. Thank you
@megagaussoersted
@megagaussoersted 9 лет назад
Do you know the AC response of your µCurrent? You're dealing with short pulses with potentially low rise/fall times and precision OpAmps usually aren't the fastest ones. The MAX4239 with its 1.6V/µs slew rate does have quite an effect on the measurement, doesn't it?
@Matthias051
@Matthias051 6 лет назад
Thank you very much for this video.
@robertcalkjr.8325
@robertcalkjr.8325 9 лет назад
Thanks Dave.
@jjoster
@jjoster 9 лет назад
Great topic. Much thanks!
@kaybhee6
@kaybhee6 5 лет назад
thank u again ,,, no one else including keysight can explain this
@AlexBolm
@AlexBolm 9 лет назад
PLZ tell us about FFT on simple examples!!! thumbs up!!!
@beaconakakevin1993
@beaconakakevin1993 8 лет назад
I would like to know if I integrade the voltage at CH1 I will have a function f(t) . Now I have need to get the integraded from on a x-y plot . I have the same Oscilloscope as you
@kibi15
@kibi15 9 лет назад
I deal with this sort of thing daily in the Amps range. The 12W magnetic door lock on my lab is a real problem in terms of energy consumption over 24 hours on my off-grid solar powered lab. However, and 800W circular saw, 1KW reflow oven, 900W drill press and 500W lathe are absolutely no worry due to the very short timespan that they actually draw that energy.
@RyanVasquez6089
@RyanVasquez6089 9 лет назад
LOL i started to smell the expo marker when you started to draw on the transparency LOL
@jtb8631
@jtb8631 4 года назад
Fascinating
@rahulkushwaha9500
@rahulkushwaha9500 5 месяцев назад
I have watched this video for 3 times, I am more confused now, than I was when I watched for the first time. Can you make a new video on this subject please. Showing the circuit and values of components before showing the scope would make it much more clear.
@Shitmusket
@Shitmusket 9 лет назад
could someone explain to me why dave took in the discharging of the capacitor to calculate the power consumption ? or did i get something wrong ? since i am a noob at this wizardry
@linmajon
@linmajon 9 лет назад
Is my Rigol 2000 series capable of displaying that integral curve? I cannot find it.
@rotate85
@rotate85 9 лет назад
Strictly speaking, the area under the current wave is charge. If the voltage remains constant, then the area is proportional to energy.
@TheHuesSciTech
@TheHuesSciTech 9 лет назад
About the inaccurate measurement of sleep current by the integral function -- Putting on my pedantic hat; it might be more accurate to blame that error on offset, rather than noise. I only say that because noise is not a DC thing, some of those samples will be high, some will be low, it all cancels out -- that's one of the wonderful things about integration, it pulls the interesting low-frequency stuff out of the noise. What's left over, and what survives integration, is offset error. It would be interesting to short the input to the uCurrent to see what a true zero-current reading looks like, and to see if any real signal survived the quantization process.
@EEVblog
@EEVblog 9 лет назад
TheHue's SciTech Yes, when it's that low down, offset will certainly be a huge contributor, I forgot to mention that, thanks. But ultimately at this level you are down into the LSB error territory. 1.4V peak at 8 bits, basically gives us that 12uV we are seeing for example. Better in high res mode, but basically not good enough for an accurate reading on it's own in this case.
@TheHuesSciTech
@TheHuesSciTech 9 лет назад
EEVblog I suspect quantization error can be ignored (or more accurately, divided by a thousand) when a) you're integrating over possibly millions of samples and b) you have analog noise that is dithering your signal for you, making the quantization noise DC-free as well. Having said all that though, annoying other effects like INL could cause issues. I'm going to do some experiments right now... :-)
@EEVblog
@EEVblog 9 лет назад
TheHue's SciTech But you are going to hit the ground at some point! (pun intended) There are practical limits to what resolution you can get out of a scope in this example.
@sarowie
@sarowie 9 лет назад
EEVblog Also, keep the limitations of the uCurrent in mind. I guess, that some issues can be traced down to the uCurrent. Those pikes in idle "current" could be auto-zero artifacts and at the low end of the range, the Output Offset Voltage of
@robertcalkjr.8325
@robertcalkjr.8325 9 лет назад
sarowie What is a pike?
@iNotFound
@iNotFound 9 лет назад
Isn't \int i(t) dt actually charge, not "total current"?
@OneBiOzZ
@OneBiOzZ 9 лет назад
You touched on a very good subject here, i dont entirely thing you did integrals justice here (and yes i will get shit for that and yes its a VERY complicated subject) .... what i use currently (and again i will get shit for this) is a modified analog meter and it gives a quite good picture of your micros current peak (or what i use more than not flipping a bit on an IO when the device exits sleep in to run) and the analog meter does an amazing job with debugging listed code! EDIT: yeah for a > 200ms off-on state the analog meter wont show much! But none the less thanks for explaining to us all of this! its something we all should know about even if our scopes cant do such a math function!
@BlackWolf42-
@BlackWolf42- 9 лет назад
I jumped when he started scribbling on that transparency... Mathematics is so incredibly awesome; I wish kids in school would realize this fact and not learn it later in life as I have.
@Razor2048
@Razor2048 9 лет назад
(sry for wall of text) It all depends on the persons interest. Math is only awesome when you are able to use it to get work done. This is largely why most students become disinterested in math once half way through middle school. That is the point when the math becomes less and less relevant to what the student sees in the world around them. More basic math can hold the interest of a wide range of students as they can learn it in school and be using it in a productive capacity that same day in the real world, or see people in their community using it. this reinforces the motivation to learn it. For example It is easier to get a student interested in division if it helps them calculate the price per gram of various foods that they like to buy, in order to find which is the best deal, but it will be an uphill battle to get most middle school and some high school students interested in calculating the 95% confidence interval on a set of data they collected, and then represent those calculations in standard deviations. Now if they get into a field that requires those calculations, then they will be more interested in it as they will have a use for the math they are learning. On top of this, if a student is forced to learn math or any other content that they have no use for, then the odds of them retaining the knowledge is very low as they will not go through many of the vital stages of the learning process which increases the likelihood that they will retain the knowledge. They essentially need to go through Knowledge> Comprehension> (then repeating some or all of the latter in real world) Application> Analysis> Synthesis> and Evolution. The higher level thinking cycle keeps the skill fresh. When students are learning a skill that they cannot practically make use of in the real world, then after the knowledge and comprehension stage, everything from application to evolution of what was learned, is done in a more synthetic fashion that will likely never be repeated in the real world, and due to the synthetic nature of the higher order thinking levels of the learning, reduces the likelihood that the skill and knowledge will be internalized as the synthetic nature makes the work less fulfilling, as it will not provide the same sense of accomplishment as putting the skill to use in the real world and making a difference in the lives of others, or making money through the use of the skill.
@oriole8789
@oriole8789 9 лет назад
Razor2048 You've pretty much summarized all that is wrong with the modern education system, which wastes away an unforgivable amount of time. People justify this hamster wheel as "imparting a sense of discipline", but that can be done concurrently with a far better learning structure. There will always be people who will grab a textbook and go through it meticulously and collect their A+. Those people are not the majority, yet they're used as examples of how students "should be". For most people, unless there is a tangible degree of passion behind their efforts, it's all a huge waste of this short life on our planet... The school system, which certainly includes universities are like impenetrable fortresses which are not to be messed with by mere mortals. Advice is only ever dispensed, never considered.. and the people running them have a sense of immunity from criticism or wrongdoing alike. The good news is that the internet has been slowly changing all that and eventually the school system will adapt.
@TheRealSkurmedel
@TheRealSkurmedel 9 лет назад
Razor2048 Nah Math is always awesome.
@Razor2048
@Razor2048 9 лет назад
***** Yep, mathematics are very beneficial in life, the issue that many schools face, is building intrinsic motivation. For lower level math, the schools do not have to do much to build it, as its application is visible outside of school. When it comes to higher leave math, then there needs to be more effort put into motivation, if not then many students will simply not retain it, and become really bad at it. Wanting to learn math out of pure interest, is even harder, especially (at least with the schools in the US) where higher level math does not go much beyond finding the right formula to use in order to get an answer. Because of the way we learn it, if we cannot find a practical application for it that we can engage in outside of school, or have the drive to learn it due to a future goal that will require the skills, then the math will be avoided as much as possible. Not sure how much worst it gets in other parts of the world generally schools will focus on formula and application, and unless you can find the motivation to remember how to use the formulas, you will have a lot of trouble with more advanced math. In my personal experience, the merits of math were never thought, instead, the schools used threats and punishment to teach math. Essentially the only reason why you would learn the math, was because if you did not, you would get a failing grade, and possibly incur other punishments. Overall, the focus was on the bad things that other people in authoritative positions would do to you if you did not learn it rather than the merits of learning the math. The end result is that math became an unpleasant experience that we had to endure or they will subject us to other unpleasant experiences. We did not really learn the benefits of higher level math until we were pretty much done with higher education.
@oriole8789
@oriole8789 9 лет назад
***** Truthfully I see your view of reality as poisonous. That said, I agree that math in its pure form is a great thing to encourage for those who have a capacity for it. Math above all is a way to see a world of connections that are completely invisible unless a person puts much of their time into climbing that mountain. It's not for everyone, but it is everything! (ha) Onto the bad stuff: -The world does not subscribe to solipsism. You exist with others and have to find harmony with them, not shun them like your ego tells you to... -"Stupid" is a subjective qualifier that has philosophical roots for each person; you cannot turn it into something absolute. -There will always be someone a lot smarter than you, who might (just as wrongly) consider you stupid. Don't play that game, it won't do you any good. -Peoples' natural passion is not extinguished so easily by the presence of others who slow down their momentum and somehow force them into underachievement.. the latter is a personality issue above all. -The mentality that gives you a sense of superiority over others because you consider yourself intelligent, is the same mentality that created slavery where the select few grant themselves the right to police everyone else they deem inferior using various garbage as qualifiers. Calm your inner villain. -What lets people achieve far reaching goals is self-discipline and focus, not having the world babysit them until they magically blossom.. or otherwise blame the world for having had failed them. History shows much hatred for early scientists and mathematicians who challenged the status quo with their ideas... -Algebra is a lot more useful than calculus specifically for people who aren't trying to become engineers (majority). Many jobs require some algebra knowledge, and reaching that will make a difference between a person having a half decent job, or not. If they're forced into an even lower job, it drags down the average of the world in which you live. Accept that math can be utilitarian, and help people come to terms with it when it's not their strength but rather a necessity. -A person who has made it to mid-level calculus is more comfortable with math and should not require constant babysitting to the same degree. -Postgrad math is incomparably harder than the examples you've listed, it ends up as a lifelong commitment to a very specific area for a researcher. Everything is relative. -The goal of education is not to breed unwieldy geniuses; it's to keep raising the general level of education of ALL members of society. That is how you decrease poverty, reduce crime, and give people options in life that make the world better for everyone, not just you... -We already have organizations that specialize in breeding geniuses: Google, Apple, Microsoft, JP Morgan, Tesla, SpaceX etc. Feel free to apply and enjoy. Some of them are great companies. :) Sorry if any of this sounded harsh. You're welcome to disagree, but this is not the right place for these discussions and I've spent sufficient time here already.
@SixThousandMono
@SixThousandMono 9 лет назад
To calculate the energy, would you not first square the current waveform, integrate it, and multiply by the resistance of the device? Or perhaps multiply the waveform by the voltage waveform then integrate? Energy = integral of I^2*R dt or integral of I * V dt
@EEVblog
@EEVblog 9 лет назад
SixThousandMono There is no "voltage waveform", it's a constant supply rail. So the area under the curve is effectively the energy.
@AnalysIR
@AnalysIR 9 лет назад
Did you double count the current of the spike? ...or did you turn off the pulses when measuring with the DMM? Unfortunately, we don't have that function on our basic scope, but it should be possible to guesstimate the average value of the spike by counting the number of squares on the screen (...ish) that overlap the spike and applying a fudge factor :) tnx & greetings from Ireland
@EEVblog
@EEVblog 9 лет назад
AnalysIRchannel The pulses are too quick for the DMM, so not a problem.On a DSO without integration you can print the screen out on a transparency and then put over graph paper (or vice-versa) to get a finer grid to count squares with. But then you have to take care not to goof the units conversion.
@mariosbampato417
@mariosbampato417 9 лет назад
EEVblog Or we can export the data of the scope, and get the points (x, t) and plot on math softs. And then get the area too. Easier than count squares on bare hands... IF the scopes can export data in values... Another way could be aproximate by a know function (sin, exp, step, etc...) and solve by math (or softs again). Probably many people know that, but to keep this ideia to all others...
@sarowie
@sarowie 9 лет назад
Mario Sbampa This scope can export data. Even Mid- and Low End ones can do that.
@EEVblog
@EEVblog 9 лет назад
sarowie Any modern scope that can export data most likely has an integration function anyway.
@AnalysIR
@AnalysIR 9 лет назад
EEVblog I appreciate the purpose of the video was to show a use for the Integrate feature. Would the Vavg measurment feature work also, if the display was scaled correctly? units adjusted etc... Anyway, if I get some time I may try to implement some of the more useful features not on my scope, via the USB data connection. On the PC of course. I dont think the relatively common low end rigol DS1102E series has integration? but can export data. So might be a fun project to add some of those features in offline.
@yaghiyahbrenner8902
@yaghiyahbrenner8902 9 лет назад
This was a rather interesting video, would be even better if you can go to the white board and do the integration and run an check against the scope.
@EEVblog
@EEVblog 9 лет назад
***** Thought about the white board, but seemed a bit too much effort! and the real info was on the scope screen anyway.
@yaghiyahbrenner8902
@yaghiyahbrenner8902 9 лет назад
EEVblog no worries, this video was one I really learned alot from.
@sarowie
@sarowie 9 лет назад
Nice tutorial, but I think the actual measurement struggles a lot with DC-Offset errors. For my part, I would short-circuit the uCurrent just to get a ball-park figure for the DC-Offset error (on scope and multimeter). I think the idle consumption is too high for the active consumption. Also: You talk about Volt-seconds, but you are electively measuring Ampere-Seconds which - given the capacity of a battery in Ampere Seconds - is a more useful unit.
@derunkarabeyoglu3527
@derunkarabeyoglu3527 7 лет назад
Great !!!
@JohannSwart_JWS
@JohannSwart_JWS 9 лет назад
Hi Dave, good one as usual, but you went wrong a little when you did the second curve's area. That's a second order integral, which is something entirely different. The actual value on the second curve is what you're looking at. IMHO.... :-)
@nickhill9445
@nickhill9445 6 лет назад
For this specific purpose, it may be easier, cheaper and more accurate to calculate the integral using a large capacitor and suitable resistor. For example, a 4700uf capacitor and a 10K resistor has a 47 second time constant. It'll take 5 minutes to stabilise. Measure steady state voltage across resistor without circuit connected to zero capacitor leakage. Connect circuit, give a few minutes to stabilise then read off voltage delta. Use Ohm's law to calculate current. This would not be effective for larger currents and longer times, where the technique shown would be better.
@ProfessorLesh
@ProfessorLesh 9 лет назад
Nice video Dave, but So far, you're only part way to energy usage over the cycle. Energy is measured in joules = Watt-seconds. You've got the Average current (using your rounded up value 5 microAmp*seconds), now multiply it by the voltage, I'm guessing 3.3 Vdc. That's (3.3 V)*(5 uAs) = 16.5 micro Watt seconds. = 16.5 micro joules. Here in the US, we buy electric energy jn kilowatt hours. So 1 kWh = 1000*10^6*3600 = 3.6*10^12 = 3 600 000 000 000 microwatt-seconds!
@Ziplock9000
@Ziplock9000 5 лет назад
Integral on the DS1054Z is almost useless. It's horizontal resolution is so low it always seems to be a linear line no matter what waveform you have.
@jeromekerngarcia
@jeromekerngarcia 9 лет назад
OK video, Dave, but that's just the average current, what's the energy used?
@EEVblog
@EEVblog 9 лет назад
jeromekerngarcia The point of this was to get the average current so that you can calculate battery life etc. Just multiple by the supply voltage to get power.
@jeromekerngarcia
@jeromekerngarcia 9 лет назад
EEVblog Thanks Dave. I see ProfessorLesh posted a similar answer before I asked my question. Lesson for ME to "rtfm", eh?
@redtails
@redtails 9 лет назад
9:55 this stuff all sounds pretty tricky.. an oscilloscope is not a quantitative tool, and treating it as a measurement tool will result in lots of unforeseeable errors..
@k1mgy
@k1mgy 9 лет назад
A very helpful visual representation of an integral function. Would this dandy scope have the math to convert your microvolt-second value to a total microamp value? Icing on the cake. It would be very instructive if you can them walk us through methods to accurately measure such small currents (I have a project needing just this!) using less sophisticated instrumentation.. other scopes in your inventory (such as the Rigol). Please consider following this theme. I'm working with the MSP430 which must operate on a small battery for 10 years. Could be powered by a grapefruit, I suppose!
@berniwa
@berniwa 9 лет назад
If you just want to measure the average current consumption of your device an adequate bench multimeter (like the agilent 34461A) will do fine. This multimeters will integrate accross the "integration period" (usually up to 10 or 100 Power-Line-Cycle) in order to reject 50/60Hz noise in the measurment. This integration will provide you with reasonably good averge values, also in pulsed applications. This means, that it is possible that you already included the "dynamic" current of your device in the average measurment you did with the Multimeter. I don't know the Fluke, but In my opinion the 0.35uA is already included in your 5uA multimeter reading, as the multimeter is already integrating and averaging.
@EEVblog
@EEVblog 9 лет назад
Bernhard Wörndl-A. In this particular example the pulse is not wide enough or frequent enough to be included in the multimeter average reading.But in any case the whole point of the video is to show people how to use the integration function on a scope in a practical example.
@berniwa
@berniwa 9 лет назад
EEVblog I'd really like to see the difference in the multimeters average value when you turn off the frequent wakeups of the mcu. I suspect that the average value will drop acordingly. You selected the Min/Max/Avg measurment of the Fluke, so it should actually have captured all pulses.
@MrNukKKT
@MrNukKKT 7 лет назад
Instead of the fluke, why not use your vintage HP 3457A with 100NPLC. That gives an integration time of 2 seconds (how convenient), with essentially 25 bits of resolution.
@KirkOfBellevue
@KirkOfBellevue 9 лет назад
cool.
@frollard
@frollard 9 лет назад
11:30 confusing the volt-seconds Vs with something like mAH ...one must remember that the 'volts' on the scope are actually microamps, so its microamp seconds, which is consistent with a unit of energy like microamp hours or milliamp hours.
@EEVblog
@EEVblog 9 лет назад
frollard Yes, of course, and I explained that it's actually microamps later in the video.
@BalticLab
@BalticLab 9 лет назад
Scripting is not the right thing for him. But staying away from Math and RF would help a lot. Both appear to cause him more trouble than anything. And that's fine, everyone has their special area. Trying to expand one's horizon and learn something new is cool, trying to teach others if only equipped with basic knowledge on the matter is not. And even that wouldn't be an issue if he'd stick to what he does know. The above video would be worth just as much without Dave trying to play math teacher. But most error overlays happened when he tried to do so. There are tons of great videos on how integrals work out there. Refer to them for explanation. Next thing is learn to admit errors. Prefacing it with "Technically...," sound like the error was just that, a technicality. If I call a car a submarine and then say "well, technically, it's a car," it kind of abuses the meaning of "technically".
@EEVblog
@EEVblog 9 лет назад
What's the big deal? I used the uVs because that is what is actually displayed on the scope when you do this. I mentioned later because I'm using the uCurrent that then translates into current. ARe people complainign because I didn't do that from the start? And because it's a constant supply voltage this also translates into energy.Yes, I'm no math teacher, and I don't pretend to be, I'm just trying to explain how to integrate under the curve on a scope using a practical example people might encounter. I don't understand the nit-pickieness here?When have I ever not admitted and corrected errors?Frankly I don't see any major errors here in what I did or said.Could it have been better explained? Sure, always.
@EEVblog
@EEVblog 9 лет назад
EEVblog And also (can't seen to edit comments any more?), there will always be my usual mis-speak's when I shoot off-the-cuff video like this. Often these get detected and annotated in editing, but not always.My brain and my mouth are only loosely coupled.
@frollard
@frollard 9 лет назад
EEVblog nononono!!! I was aiming that @audience. IF a person were being confused by the volt-time units they need to remember that its current-time which equates to total energy :) Yes, later in the video you cover this in an excellent fashion. I only brought it up because at first I thought ...hmmm...volt-seconds, that's weird, oh right, the microcurrent! It was hopefully constructive feedback, not even aimed at you the presenter! As for KF talking shit about scripting - keep being awesome, nothing needs to change! I have learned BEYOND textbooks worth of industry knowhow and cleverness that I never would have stripped from the pages of any book.
@thewhitefalcon8539
@thewhitefalcon8539 6 лет назад
In this video Dave will show us how to draw on your oscilloscope with a whiteboard marker.
@Razor2048
@Razor2048 9 лет назад
I wonder, why can't they come up with a sample based noise reduction kinda like with audio editors such as adobe audition.where you can essentially record a empty room, create a noise profile from that, then based on the area you visually taking place.you can limit the noise reduction process based on the profile to everything below a certain amplitude. It would be interesting if a similar process could done on an oscilloscope in order to reduce the impact of noise, with minimal harm to the signal you are actually trying to monitor
@oriole8789
@oriole8789 9 лет назад
My guess is that there is no point basically. In the context of audio, when you want to apply noise reduction, the implication is that the noise floor of your source file is far higher compared to the total dynamic range of 24-bit or even 16-bit audio. Taking a "silent" sample and subtracting it from the main waveform (a form of convolution I guess) makes sense in that context, though it invariably introduces artifacts at full strength. Quantization noise in audio is sometimes a problem when converting from 24-bit to 16-bit audio, where the quantization noise may become audible making it necessary to dither the signal (introduce structured random noise) to mask the less natural sounding quantization noise. In the case of oscilloscopes, their intrinsic noise is tiny with respect to the total signal range available at any given time. Removing that noise won't get you any more precision since you're limited by the ADCs regardless, and the best thing you can do is use the high resolution mode like Dave did, which is a sort of temporal averaging that comes at the expense of losing some high frequency information. There is something to be said about conditioning and increasing the SNR of a signal prior to feeding it into a scope though, which is a common occurrence in communications. This can be done digitally through DSPs/FPGAs or using fancy analog filtering, or both. In general, it's more of a concern to make sure that a signal has good SNR and can fill the entire range of the ADCs to minimize quantization errors. It's conceivable that a signal could have critical areas of both high and low swings, making it impossible to analyze on an 8-bit and even 10-bit scope, so all kinds of specialty digitizers and general methods exist to deal with that in the scientific world.
@TheSageDad
@TheSageDad 9 лет назад
You might be able to do that in a hokey way with an arbitrary waveform generator -- you can record the noise with the ArbGen, then replay it back on a second channel on your scope. Then you can apply a Math function to subtract the noise channel from the signal you're actually trying to read. I'm not an EE but I think that might do a decent job.
@oriole8789
@oriole8789 9 лет назад
Oh, and if you meant to imply to use this noise reduction as a kind of DSP operation within the scope to condition the digitized input signal - it's technically feasible but would require quite a lot of computation power from the scope. Scopes already struggle doing simple averages on large sample sizes. Since the signal is digital at that point anyways, in most cases you'd want to get the signal into something like matlab and perform your filtering there. Maybe this kind of function already is or will be available in top-end scopes though, I'm not sure.
@oriole8789
@oriole8789 9 лет назад
TheSageDad Usually the exact nature and frequency distribution of the noise has to be known (or very accurately guessed) in order for this to work, otherwise you would simply be introducing that noise to the main signal. Subtraction is the same as inversion followed by addition. Since noise is random, inverting it won't make any difference and you would simply add noise to your source signal. In order for that not to happen, your generated noise would have to cancel out with the noise in the source signal. This can only be done statistically, which can become quite complex mathematically.
@sarowie
@sarowie 9 лет назад
whatlions One thing to keep in mind: The scope has a low noise front end. but Dave is using his uCurrent. I would guess, that the error and offset of the uCurrent dominate other types of errors in this particular measurement. For e.g. as the Op-Amps in the uCurrent are auto-zero, I wonder if some of the artifacts on the scope aren´t auto-zero artifacts. Also the uCurrent has an issue with measuring small signals (compared to full scale). That is common for anytype of measurement instrument, but the uCurrent has only three ranges.
@ooltimu
@ooltimu 3 года назад
You gave me a little heart attack with that marker on the scope screen. Only after I realized that you used a transparent sheet.
@PIXscotland
@PIXscotland 8 лет назад
Marker pen on your scope = WIN.
@iNDREI_Ro
@iNDREI_Ro 9 лет назад
I think it uses a capacitor as an integrator...
@maeanderdev9968
@maeanderdev9968 9 лет назад
the scope does it digitally, as a side effect a capacitor would have caused a phase shift, which, as you'd expect some resistance wouldn't just be 90°, but something frequency dependent, you'd see a big differece in the waveform
@andrewcrawfor1381
@andrewcrawfor1381 9 лет назад
hey aussie can ya tell me a good place i can find online free something that will help me learn how to read resitors n caps n there ratings im new to repairing vintange radios n tvs
@CallumPRobertson
@CallumPRobertson 9 лет назад
"What is an integral? It can be a relatively complex mathematical subject......." I'll say! I still have PTSD from my uni days...
@raguaviva
@raguaviva 9 лет назад
Dave rules but he could say the same thing with half the words he uses.
@eldenchang
@eldenchang 9 лет назад
This is a good video idea, but you are mixing up units and and meaning of the curves a lot in this video and with your additional text, you have not corrected everything. You really should be more careful with units.
@EEVblog
@EEVblog 9 лет назад
Elden Chang Please tell me precisely what I got wrong and I'll correct it with annotation.
@meettechniek
@meettechniek 9 лет назад
EEVblog I think he meant the same error as I tried to touch upon in my earlier comment. You talk consistently about energy when pointing out the area under the current curve. But this is the charge. Charge (A*s) and energy (V*A*s) are two different parameters.
@EEVblog
@EEVblog 9 лет назад
meettechniek Yes, point taken. I used the word energy in the wrong context here, I was trying to talk in a general sense by using that term.
@eldenchang
@eldenchang 9 лет назад
EEVblog Yes, Dave it was about the area under the curve. In order to get the area to be energy under the curve, you need to integrate the "power" and not the current. In your circuit, you can easily also measure the the voltage and in a first step multiply it with the current. The Agilent 3000X allows you to make a two step MATH function. First your multiply current and voltage and then you integrate the results. The units will even show up in Joules.
@EEVblog
@EEVblog 9 лет назад
Elden Chang Yep, certainly should have done that. I was too focused on simply getting the final current value.
@k4qdex
@k4qdex 3 года назад
really bad explanation of integral/power consumption...
@sirixman
@sirixman Год назад
Speech very chaotic. This movie is disappointing.
Далее
EEVblog #878 - Oscilloscope High Res vs Average Modes
16:14
Я НЕ УМЕЮ СНИМАТЬ ТАКИЕ ВИДЕО
00:16
МЕТ ГАЛА, что это было?
1:09:17
Просмотров 254 тыс.
EEVblog #978 - Keysight 1000X Oscilloscope Hacked!
23:21
How to Use an Oscilloscope - Mega Guide
18:53
Просмотров 152 тыс.
Oscilloscope Probes: What You Need to Know
6:54
Просмотров 69 тыс.
EEVblog #778 - Oscilloscope Vertical Confusion
11:18
Просмотров 101 тыс.
Bode Plots Explained
13:53
Просмотров 28 тыс.