In general what is the importance of taking average of a value? Is it always mandatory to take average of any value? The examples i am referring to are like the adc value of some parameters like battery voltage, bateery current etc. Please advise.
Taking more than one measurement gives you an idea of the stability of the thing you are measuring and/or the stability of your measuring device - calculating a simple average (or other mathematicsl manipulation of your data) puts your answer near the middle of the multiple measurements you took - the goal is to reduce error or get the best possible answer.In general what is the importance of taking average of a value? Is it always mandatory to take average of any value? The examples i am referring to are like the adc value of some parameters like battery voltage, bateery current etc. Please advise.
As already noted, the importance (if any) depends on what you are trying to accomplish.In general what is the importance of taking average of a value? Is it always mandatory to take average of any value? The examples i am referring to are like the adc value of some parameters like battery voltage, bateery current etc. Please advise.
That completely depends on what you are trying to measure -- and in what environment -- and what accuracy/precision you are trying to achieve.I have basic confusions on this, if i take the case of any microcontroller based embedded system. Is it assumed that noise will always be present? Whatever i am reading is an invalid value i mean to say it is coming with noise? How many samples i should take? How do i calibrate my system?
Yes.Is it assumed that noise will always be present?
You can reduce noise by averaging the samples.Whatever i am reading is an invalid value i mean to say it is coming with noise? How many samples i should take? How do i calibrate my system?
Hello there,The application is vehicle level and the readings are battery voltage and vehicle parameters. Finally i decided to always average of any value i read probably moving average of 10 samples.
See this post.In general what is the importance of taking average of a value?
They almost always do in these apps.A moving average could be useful if the signal was expected to be changing over time.
They are called outliers.If you had sporadic bursts of noise, you might not want to use a straight mean. You might want to toss very high or very low values and then calculate the mean - if you were sure that these were truly instances where the noise was much greater than the signal, so to speak. You could even use a median.