Trace:

theory:sensor_technology:st1_measurement_theory

This shows you the differences between two versions of the page.

Both sides previous revision Previous revision | |||

theory:sensor_technology:st1_measurement_theory [2018/10/09 17:11] glangereis [Summary, and what is next?] |
— (current) | ||
---|---|---|---|

Line 1: | Line 1: | ||

- | ====== Measurement Theory ====== | ||

- | |||

- | //A measurement is an action to verify an assumption. The outcome is evidence that should be followed by an appropriate interpretation. Therefore, it is essential to understand all ins and outs of a measurement. What is measured? What may have influenced the measurement? This chapter gives the basic concepts behind physical measurements.// | ||

- | |||

- | ===== Why do we measure? ===== | ||

- | |||

- | The direct purpose of a measurement is to get knowledge about a system or phenomenon. Roughly speaking, a measurement can be part of two processes: | ||

- | * The first one is a research process where we are creating knowledge about our world. We try to understand the world, and to do this, we are building models. Measurements are needed to verify these models. This is the scientific approach. | ||

- | * The second process in which we need measurements, is the product creation process. The design of a product is done based on specifications. In that case, we must know if our initial products, or prototypes, meet these specifications. In some cases, we have to check if we meet a certain standard, for example an emission standard. We need the measurements to convince the customer that the product does what we promise. So the measurements help us to guide our design process: this is the engineering approach. | ||

- | |||

- | This is summarized in <imgref MMS>. It is the process where measurements, simulations and models form a sequence to gain knowledge in a scientific, documented and reproducible way. In fact, with a //measurement//, we compare //reality// with our understanding or interpretation of reality. The interpretation of reality, in a simplified representation, is called a //model//. The measurement compares reality to a model. | ||

- | |||

- | <imgcaption MMS|The relation between measurements, models and a simulation>{{.measurement_theory:mms1t_week_1_measurement_theory.png?400}}</imgcaption> | ||

- | |||

- | The measurement always contains an intended dataset (the responses that come from the phenomenon we are looking for), but is normally disturbed by //noise//. Noise is the unintended content of the data. It may disturb our conclusions if we are not aware of the noise. | ||

- | |||

- | The outcome of the measurement, interfered with noise, is our input for //interpretation//. Based on the outcome we may validate the model (science) or validate the reality (product design). Note that also in product design, we may first need to update the model, before it is accurate enough to validate the product. Also engineering needs the scientific approach. In product engineering, there may be three conclusions: | ||

- | * The product meets the specs and can be finalized | ||

- | * The product does not meet the specs, so we have to change the design | ||

- | * The product does not meet the specs, but because of budget and time constraints, we decide to change the specifications | ||

- | |||

- | //Measuring// can have two meanings: | ||

- | * In a first definition, we can define measuring as the verification of the structure and values of a model (so //qualitative and quantitative model verification//). This verification process is described in the chapter about [[theory:sensor_technology:st7_modelling_main|modelling]] as a scientific research process. | ||

- | * In a more narrow scope, we can define measuring as //the quantitative determination of a value//. This is the step needed to collect and verify data as part of both the engineering and scientific process. | ||

- | |||

- | In measurement theory, we are more interested in the second definition of measuring. | ||

- | |||

- | |||

- | ===== Terminology in experimental research methods ===== | ||

- | |||

- | Scientists, especially social scientists, may look slightly different at a problem compared to an engineer. Although there is fundamentally no big difference between an engineering physical model and a (statistical) model for a real world problem, the paradigms of scientists and engineers are different((Bartneck, C., & Rauterberg, M. (2007). HCI Reality - An 'Unreal Tournament'? International Journal of Human Computer Studies, 65(8), 737-743)): | ||

- | * //Scientists// try to understand and model the world without affecting it | ||

- | * //Engineers// try to change the world by making new solutions. | ||

- | |||

- | As a result, the experimenter may look different at the experiment and use different vocabulary. In experimental research we distiguish((Andy Field, Discovering statistics using IBM SPSS statistics, Sage, 2013)): | ||

- | * //Correlational research// or //cross-sectional research// when we only observe relations without affecting it. In this case we study the natural world. This can be done in several ways, for example by((Paul Martin, Patrick Bateson (1993), Measuring behaviour: an introductory guide. Cambridge University Press)) | ||

- | - Taking a snapshot of many variables at a single time or | ||

- | - Measuring variables in time (//longitudinal research//) | ||

- | * //Experimental research// where we manipulate a variable to see how it affects a system. Also this can be done in two ways: | ||

- | - Different groups take part in each experimental condition - //between groups//, //between subjects// or //independent design// or | ||

- | - A single group or person is uesd to try several inputs - //within-subject// or //repeated-measures design//. | ||

- | |||

- | In experimental and correlational research, we speak about //variables// as the observed quantities: | ||

- | * A variable that is the cause of a reaction is the //independent variable// (or //predictor variable//) and | ||

- | * A variable that is assumed to be the reaction is the //independent variable// (or //outcome variable//). Where the words between brackets are more appropriate for correlational research and the first words for experimental research where the input is manipulated deliberately. | ||

- | |||

- | |||

- | |||

- | |||

- | ===== Quantities and units ===== | ||

- | |||

- | With a measurement, we always measure a //quantity// (Dutch: //grootheid//) by comparing the quantity with a //unit// (Dutch: //eenheid//). | ||

- | |||

- | \begin{equation} | ||

- | \mathtt{Quantity}=\mathtt{Number} \cdot \mathtt{Unit} | ||

- | \label{eq:QuantityUnit} | ||

- | \end{equation} | ||

- | |||

- | For example, if we say that the length of an object is $5 m$, then the length is the quantity, and the value is five times the unit //meter//. More background on quantities and some classifications can be found in the chapter on [[st4_sensor_theory#Quantities|sensor theory]]. | ||

- | |||

- | All existing quantities can be expressed in a set of basic quantities. The [[http://www.bipm.org/en/publications/si-brochure/|Bureau international des poids et mesures (BIPM)]] has defined such a set as the //International System of Units// (Système International d'Unités, with the international abbreviation SI. The seven base units are summarized in <tabref QuantitiesUnits>. | ||

- | |||

- | <tabcaption QuantitiesUnits|SI Quantities and units> | ||

- | ^ Quantity ^ Symbol ^ Unit ^ ^ | ||

- | | Length | $l$ | $m$ | The metre is the length of the path travelled by light in vacuum during a time interval of 1/299 792 458 of a second | | ||

- | | Time | $t$ | $s$ | The second is the duration of 9 192 631 770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium 133 atom | | ||

- | | Mass | $m$ | $kg$ | The kilogram is equal to the mass of the international prototype of the kilogram | | ||

- | | Electric Current | $I$ | $A$ | The ampere is that constant current which, if maintained in two straight parallel conductors of infinite length, of negligible circular cross-section, and placed 1 metre apart in vacuum, would produce between these conductors a force equal to 2×10<sup>-7</sup> newton per metre of length | | ||

- | | Temperature | $T$ | $K$ | The kelvin is the fraction 1/273.16 of the thermodynamic temperature of the triple point of water | | ||

- | | Luminosity | $I_{v}$ | $cd$ | The candela is the luminous intensity, in a given direction, of a source that emits monochromatic radiation of frequency 540×10<sup>12</sup> Hz and that has a radiant intensity in that direction of 1/683 watt per steradian | | ||

- | | Amount of Substance | $n$ | $mole$ | The mole is the amount of substance of a system which contains as many elementary entities as there are atoms in 0.012 kilogram of carbon 12 | | ||

- | ^ Help units: ^ ^ ^ ^ | ||

- | | Angle | $\alpha$ | $rad~(deg)$ | | | ||

- | |Solid angle | $w$ | $sr$ | | | ||

- | </tabcaption> | ||

- | |||

- | In electrical engineering, we are using some of the SI derived units that are defined by the BIPM as well. These are shown in <tabref DerivedQuantitiesUnits>. | ||

- | |||

- | <tabcaption DerivedQuantitiesUnits|Derived SI quantities and units as used for electrical engineering> | ||

- | ^ Quantity ^ Symbol ^ Unit ^ SI-Units ^ | ||

- | | Current | $I$ | $A$ | $A$ | | ||

- | | Potential difference (= Voltage) | $U$ | $V$ | $kg \cdot m^{2} s^{-3} A^{-1}$ | | ||

- | | Resistance | $R$ | $\Omega$ | $kg \cdot m^{2} s^{-3} A^{-2}$ | | ||

- | | Capacitance | $C$ | $F$ | $kg^{-1} m^{-2} s^{4} A^{2}$ | | ||

- | | Frequency | $f$ | $Hz$ | $s^{-1}$ | | ||

- | </tabcaption> | ||

- | |||

- | A consequence of using standard units is that with some phenomena we get huge or extremely small numbers. Therefore, we can scale the quantities by using a prefix for the quantity symbol. The prefixes are in <tabref Prefixs>. To get an idea of how big the range of numbers is, the documentary [[http://youtu.be/0fKBhvDjuy0|"Powers of 10"]] from 1977 is very illustrative. A more modern [[http://scaleofuniverse.com/|flash based tool]] is also avaliable. | ||

- | |||

- | <tabcaption Prefixs|Prefixes used to scale the units> | ||

- | | $p$ | $n$ | $\mu$ | $m$ | $unit$ | $k$ | $M$ | $G$ | $T$ | | ||

- | | $10^{-12}$ | $10^{-9}$ | $10^{-6}$ | $10^{-3}$ | $1$ | $10^{3}$ | $10^{6}$ | $10^{9}$ | $10^{12}$ | | ||

- | </tabcaption> | ||

- | |||

- | To convert from a certain unit system to another (like the SI system), there is a structured method that uses the fact that we can [[sta_easyunitconversion|multiply everything by one]] (dimensionless) without affecting the quantity. | ||

- | |||

- | While doing calculations, it is strongly advised to use units as a second check for the correctness of the used equation. For example, we may remember the equation | ||

- | \begin{equation} | ||

- | s = \frac{1}{2} a t^{2} | ||

- | \end{equation} | ||

- | which gives the distance s as a function of time t for a constant acceleration a, where the start time and place are both zero. When we fill in an acceleration, let's say $9.8 m/s^{2}$, and a time of $10 s$, we find | ||

- | \begin{equation} | ||

- | s = \frac{1}{2} 9.8 \frac{m}{s^{2}} \left ( 10 s \right )^{2} = 490 m. | ||

- | \end{equation} | ||

- | Because the unit of the result is in m (the $s^{2}$ units cancel out), we have a first check that the formula is propably correct. | ||

- | |||

- | ===== Measurement scales ===== | ||

- | |||

- | Measurements are done on a certain scale. This means that the result of a measurement can result into expression like "$a$ is not $b$", "$a$ is bigger than $b$", or "$a$ is $10.3$ times the unit $b$". The //scale// is how numbers are arranged along a line. We distinguish the scales as indicated in <tabref MeasurementScales>. The different measurement scales are referred to as the //levels of measurements//((Andy Field, Discovering statistics using IBM SPSS statistics, Sage, 2013)). | ||

- | |||

- | <tabcaption MeasurementScales|The levels of measurements represent several measurement scales> | ||

- | | Categorial levels of measurement (distinct categories) ||| | ||

- | | Binary scale | Is a nominal scale with only two points | For example dead or alive. SPSS calls variables for this scale //Nominal// | | ||

- | | Nominal scale | Nominal variables are those whose outcomes are categorical, not meaningfully put into numbers | Red and blue marbles in statistics, male and female labels in statistics, boolean operators. SPSS calls variables for this scale //Nominal// | | ||

- | | Ordinal scale | The scale indicates whether things are equal, larger or smaller than each other. Ordinal variables are those that are naturally ordered | Sorting objects from large to small without being interested in the absolute size. Likert scales in statistics ("Strongly agree", "Agree", etc.). SPSS calls variables for this scale //Ordinal// | | ||

- | | Continuous levels of measurement (distinct scores) ||| | ||

- | | Interval scale | An expansion of the ordinal scale: now the sizes of the differences are known, the absolute reference not: we can not say that $20^\circ C$ is two times as warm as $10^\circ C$ | The Celsius scale. SPSS calls related variables //Scalar// | | ||

- | | Ratio scale | As interval scales, but now with an absolute reference level: now we can work with ratios, like $2 m$ is two times as long as $1 m$ | Electric current and length measurements. SPSS calls related variables also //Scalar// | | ||

- | | Cardinal scale | Is a ratio scale where the the reference is a generally accepted standard | Ampere, meter | | ||

- | | Derived scale | When a number relates to the ratio of standard units | Capacitance in $A \cdot sec/V$ | | ||

- | </tabcaption> | ||

- | |||

- | When doing electronic measurements of currents and voltages, we normally speak of ratio scales. | ||

- | |||

- | ===== The measurement chain ===== | ||

- | |||

- | The hardware needed to measure a quantity is represented in the block schematic of <imgref MeasurementChain>. | ||

- | |||

- | <imgcaption MeasurementChain|The measurement chain>{{.measurement_theory:mms1t_week_1_measurement_theory2.png?500}}</imgcaption> | ||

- | |||

- | First of all, the physical quantity to be measured is not one to one coupled to the sensor selector part. For example, to measure temperature, there is the packaging of the sensor and some air or liquid shield between the object with the temperature of interest and the sensor material. Another example is the glue or screw with with a strain gauge is attached to an object: these connecting materials may affect the measurement. In sound recordings, there is the influence of the room which modulates the transfer from the sound source to the microphone. These interfering structures are called the //coupling network// and they are between the physical quantity parameter and the sensor. | ||

- | |||

- | The sensor head is the //transducer// that converts information from a physical domain to the electrical domain. | ||

- | |||

- | The transducer to be read out by an electronic circuit. This circuit normally has three functions: | ||

- | * //Biasing// of the sensor element, which is the creation of a setting point. For example, a resistive element has to be biased with a current in order to convert a change in resistance to a change in voltage. This is needed because resistance as such can not be processed electronically, but a voltage can be treated as a signal | ||

- | * To bring the output signal to a level that is optimized for post-processign like the analog to digital converter input stage. This is called //signal leveling// | ||

- | * After bringing the sensor output to an approriate voltage level, we may dicover some //filtering// is needed. For example, it is wise to remove 50 Hz noise from the signal before sampling with a analog to digital converter. | ||

- | We call this stage the analog //signal conditioning//. | ||

- | |||

- | Once the signal is pre-conditioned, it can be sampled by an analog to digital converter (ADC) and fed to a microprocessor. The microprocessor can be in the same smart sensor housing. In the digital domain we can do some additional signal processing and the conversion to a bus prototocol like USB, SPI or I<sup>2</sup>C. | ||

- | |||

- | Because the intention of the measurement is to do something with the data, there must be an output. This can be a dedicated display in a data analysis system or by a feedback circuit back into the system. | ||

- | |||

- | |||

- | |||

- | |||

- | ===== Measurement device terminology ===== | ||

- | |||

- | The following terminology is important in measurement devices. | ||

- | |||

- | <tabcaption MeasurementTerminology|Measurement device terminology> | ||

- | ^ Word ^ in Dutch ^ Explanation ^ | ||

- | | Range | Bereik | Minimum / Maximum value that can be measured | | ||

- | | Resolution | Resolutie | Minimum difference that can be measured. This can be because of digitization, but also because there is a noise floor or physical phenomenon that makes it impossible to measure smaller quantities | | ||

- | | Accuracy | Nauwkeurigheid | How close a measured value is to the actual (true) value. Can be expressed as percentage of the full scale | | ||

- | | Precision | Precisie | How close the measured values are to each other. Means good reproducibility | | ||

- | | Offset | Afwijking | Systematic difference in measured and real value, This can be confusing: in the sensor response we can speak of an offset (the y-axis zero-crossing), but when taljing about measurement equipment we can also say there is an offset when there is a bias between measured value and the true value | | ||

- | | Calibration | Kalibratie | //a set of operations that establish, under specified conditions, the relationship between the values of quantities indicated by a measuring instrument or measuring system and the corresponding values realised by standards// | | ||

- | </tabcaption> | ||

- | |||

- | Be careful: //calibration// is comparing with the standard, and does not include //adjustment// | ||

- | The Dutch word //ijken// is calibration with respect to the law for commercial use of a tool | ||

- | |||

- | |||

- | |||

- | |||

- | |||

- | |||

- | ===== Summary, and what is next? ===== | ||

- | |||

- | In <imgref SampleToDigital> the sequence of measuring a quantity is represented by three steps. These are basically the same as the measurement chain introduced in <imgref MeasurementChain>. | ||

- | |||

- | <imgcaption SampleToDigital|The complete chain from a sensor via biasing to DA conversion>{{.measurement_theory:sampletodigital.png?600}}</imgcaption> | ||

- | |||

- | First of all, there is the sensor or transducer. We will see in the page about [[st4_sensor_theory|sensor theory]] that the sensor | ||

- | * Converts a physical parameter to modulation of an electronic component | ||

- | * May be non-linear | ||

- | * Will have an offset that may drift, so we have to calibrate | ||

- | * May be frequency dependent, and so has a certain bandwidth | ||

- | |||

- | Next, there is a biasing circuit. A biasing circuit makes the step from the sensor to a voltage that can be sampled. This will be discussed in more detail on the page about [[st15_signal_conditioning_and_sensor_read-out|signal conditioning and sensor read-out]]. We will see there are two purposes: | ||

- | |||

- | * To make a voltage output out of the modulated electronic device (sensor) | ||

- | * To filter the signal to prepare it for long cables and A to D conversion | ||

- | |||

- | Finally, there is a Analog to Digital Conversion as will be explained on the page about [[st22_adc_and_dac|ADC and DAC]]. Analog to digital conversion must satisfy: | ||

- | * A good capture of the amplitude of the signal | ||

- | * An appropriate sampling frequency according to the Nyquist rate | ||

- | |||

- | In fact, there is a fourth final step. The measurement information serves a certain goal. It has a communicative value for a designer or researcher. We must represent the information in an unambiquous way that underpins the conclusion of the measurement. This communicative purpose of measurements as evidence in a design process, is that important that an appendix about [[stb_conventions_for_good_graphs_and_tables|data representation]] is devoted to it. | ||

- | |||

- | ====== Sensor Technology TOC ====== | ||

- | |||

- | * Chapter 1: Measurement Theory | ||

- | * Chapter 2: [[theory:sensor_technology:st2_measurement_errors|Measurement Errors]] <- Next | ||

- | * Chapter 3: [[theory:sensor_technology:st3_measurement_technology|Measurement Technology]] | ||

- | * Chapter 4: [[theory:sensor_technology:st4_sensor_theory|Basic Sensor Theory]] | ||

- | * Chapter 5: [[theory:sensor_technology:st6_sensoractuatorsystems|Sensor-Actuator Systems]] | ||

- | * Chapter 6: [[theory:sensor_technology:st7_modelling_main|Modelling]] | ||

- | * Chapter 7: [[theory:sensor_technology:st8_accelerometer_model|Modelling: The Accelerometer]] - example of a second order system | ||

- | * Chapter 8: [[theory:sensor_technology:st9_scaling|Modelling: Scaling]] - why small things appear to be stiffer | ||

- | * Chapter 9: [[theory:sensor_technology:st10_lumped_element_models|Modelling: Lumped Element Models]] | ||

- | * Chapter 10: [[theory:sensor_technology:st11_finite_element_models|Modelling: Finite Element Models]] | ||

- | * Chapter 11: [[theory:sensor_technology:st12_impedance_spectroscopy|Modelling: Transducer Characterization by Impedance Spectroscopy]] | ||

- | * Chapter 12: [[theory:sensor_technology:st13_lumped_element_models_advanced|Modelling: Systems Theory]] | ||

- | * Chapter 13: [[theory:sensor_technology:st14_differential_equation_numerical_models|Modelling: Numerical Integration]] | ||

- | * Chapter 14: [[theory:sensor_technology:st15_signal_conditioning_and_sensor_read-out|Signal Conditioning and Sensor Read-out]] | ||

- | * Chapter 15: [[theory:sensor_technology:st16_resistive_sensors|Resistive Sensors]] | ||

- | * Chapter 16: [[theory:sensor_technology:st17_capacitive_sensors|Capacitive Sensors]] | ||

- | * Chapter 17: [[theory:sensor_technology:st18_magnetic_sensors|Magnetic Sensors]] | ||

- | * Chapter 18: [[theory:sensor_technology:st19_optical_sensors|Optical Sensors]] | ||

- | * Chapter 19: [[theory:sensor_technology:st20_actuators|Actuators]] - an example of an electrodynamic motor | ||

- | * Chapter 20: [[theory:sensor_technology:st21_actuator_models|Actuator principles for small speakers]] | ||

- | * Chapter 21: [[theory:sensor_technology:st22_adc_and_dac|ADC and DAC]] | ||

- | * Chapter 22: [[theory:sensor_technology:st23_bus_interfaces|Bus Interfaces]] - SPI, I<sup>2</sup>C, IO-Link, Ethernet based | ||

- | * Appendix A: [[theory:sensor_technology:sta_easyunitconversion|Systematic unit conversion]] | ||

- | * Appendix B: [[theory:sensor_technology:stb_conventions_for_good_graphs_and_tables|Circuits, Graphs, Tables, Pictures and Code]] | ||

- | * Appendix C: [[theory:sensor_technology:stc_common_mode_rejection_ratio_cmrr|Common Mode Rejection Ratio (CMRR)]] | ||

- | * Appendix D: [[theory:sensor_technology:std_schmitt_trigger|A Schmitt Trigger for sensor level detection]] | ||

- | |||

theory/sensor_technology/st1_measurement_theory.1539105066.txt.gz · Last modified: 2018/10/09 17:11 by glangereis