# Sensor Systems

### Site Tools

 theory:sensor_technology:st15_signal_conditioning_and_sensor_read-out [2018/10/10 00:31]54.36.149.86 ↷ Links adapted because of a move operation — (current) Both sides previous revision Previous revision 2018/10/10 00:31 ↷ Links adapted because of a move operation2018/10/09 07:05 ↷ Links adapted because of a move operation2018/10/08 18:28 glangereis [Sensor Technology TOC] 2018/10/08 18:28 glangereis ↷ Links adapted because of a move operation2017/10/10 18:42 glangereis [Sensor Technology TOC] 2017/10/10 18:02 glangereis [Sensor Technology TOC] 2017/10/10 18:02 glangereis [MMS TOC] 2017/10/10 17:47 glangereis ↷ Links adapted because of a move operation2017/10/10 17:45 glangereis ↷ Page name changed from theory:sensor_technology:st13_signal_conditioning_and_sensor_read-out to theory:sensor_technology:st15_signal_conditioning_and_sensor_read-out2017/10/10 17:36 glangereis ↷ Links adapted because of a move operation2017/10/10 17:30 glangereis ↷ Links adapted because of a move operation2017/10/10 17:25 glangereis ↷ Page name changed from theory:sensor_technology:mms6_signal_conditioning_and_sensor_read-out to theory:sensor_technology:st13_signal_conditioning_and_sensor_read-out2017/10/10 17:20 glangereis ↷ Links adapted because of a move operation2017/10/10 17:14 glangereis ↷ Links adapted because of a move operation2017/10/10 17:00 glangereis ↷ Links adapted because of a move operation2017/10/10 16:59 glangereis ↷ Links adapted because of a move operation2017/10/10 16:55 glangereis ↷ Links adapted because of a move operation2017/10/10 16:55 glangereis ↷ Page moved from theory:stbs:mms6_signal_conditioning_and_sensor_read-out to theory:sensor_technology:mms6_signal_conditioning_and_sensor_read-out2017/10/10 16:49 glangereis ↷ Links adapted because of a move operation2017/10/10 11:56 glangereis ↷ Page moved from theory:mms:mms6_signal_conditioning_and_sensor_read-out to theory:stbs:mms6_signal_conditioning_and_sensor_read-out2016/10/07 09:54 geert [Sensor Interfaces] 2016/10/07 09:54 geert [Sensor Interfaces] 2016/10/03 08:52 geert [Sensor Interfaces] 2016/10/03 08:51 geert [Sensor Interfaces] 2016/10/03 08:48 geert [Sensor Interfaces] 2016/10/03 08:47 geert [Sensor Interfaces] 2018/10/10 00:31 ↷ Links adapted because of a move operation2018/10/09 07:05 ↷ Links adapted because of a move operation2018/10/08 18:28 glangereis [Sensor Technology TOC] 2018/10/08 18:28 glangereis ↷ Links adapted because of a move operation2017/10/10 18:42 glangereis [Sensor Technology TOC] 2017/10/10 18:02 glangereis [Sensor Technology TOC] 2017/10/10 18:02 glangereis [MMS TOC] 2017/10/10 17:47 glangereis ↷ Links adapted because of a move operation2017/10/10 17:45 glangereis ↷ Page name changed from theory:sensor_technology:st13_signal_conditioning_and_sensor_read-out to theory:sensor_technology:st15_signal_conditioning_and_sensor_read-out2017/10/10 17:36 glangereis ↷ Links adapted because of a move operation2017/10/10 17:30 glangereis ↷ Links adapted because of a move operation2017/10/10 17:25 glangereis ↷ Page name changed from theory:sensor_technology:mms6_signal_conditioning_and_sensor_read-out to theory:sensor_technology:st13_signal_conditioning_and_sensor_read-out2017/10/10 17:20 glangereis ↷ Links adapted because of a move operation2017/10/10 17:14 glangereis ↷ Links adapted because of a move operation2017/10/10 17:00 glangereis ↷ Links adapted because of a move operation2017/10/10 16:59 glangereis ↷ Links adapted because of a move operation2017/10/10 16:55 glangereis ↷ Links adapted because of a move operation2017/10/10 16:55 glangereis ↷ Page moved from theory:stbs:mms6_signal_conditioning_and_sensor_read-out to theory:sensor_technology:mms6_signal_conditioning_and_sensor_read-out2017/10/10 16:49 glangereis ↷ Links adapted because of a move operation2017/10/10 11:56 glangereis ↷ Page moved from theory:mms:mms6_signal_conditioning_and_sensor_read-out to theory:stbs:mms6_signal_conditioning_and_sensor_read-out2016/10/07 09:54 geert [Sensor Interfaces] 2016/10/07 09:54 geert [Sensor Interfaces] 2016/10/03 08:52 geert [Sensor Interfaces] 2016/10/03 08:51 geert [Sensor Interfaces] 2016/10/03 08:48 geert [Sensor Interfaces] 2016/10/03 08:47 geert [Sensor Interfaces] 2016/10/03 08:45 geert [Sensor Interfaces] 2016/10/03 08:44 geert [Sensor Interfaces] 2016/10/03 08:43 glangereis [Sensor Interfaces] 2016/10/03 08:42 glangereis 2016/10/03 08:42 glangereis 2016/10/03 08:40 geert [Sensor Interfaces] 2016/10/03 08:38 geert 2016/10/03 08:36 geert [Signal Conditioning and Sensor Read-out] 2016/10/03 08:20 geert [Signal Conditioning and Sensor Read-out] 2016/10/03 08:15 geert [Signal Conditioning and Sensor Read-out] 2016/10/03 08:14 geert [Signal Conditioning and Sensor Read-out] 2016/10/03 08:13 geert [Signal Conditioning and Sensor Read-out] 2016/10/03 08:13 geert [Signal Conditioning and Sensor Read-out] 2016/10/03 08:12 geert [Signal Conditioning and Sensor Read-out] 2016/10/03 08:12 geert [Signal Conditioning and Sensor Read-out] 2016/10/03 08:12 geert [Signal Conditioning and Sensor Read-out] 2016/09/27 06:39 geert [ST TOC] 2016/09/26 19:26 geert [ST TOC] 2016/09/24 21:30 glangereis [ST TOC] 2016/09/24 13:33 glangereis ↷ Links adapted because of a move operation2016/09/22 12:52 glangereis ↷ Links adapted because of a move operation2016/09/22 12:51 glangereis ↷ Links adapted because of a move operation2016/09/22 12:51 glangereis ↷ Links adapted because of a move operation2016/09/22 12:50 glangereis ↷ Links adapted because of a move operation2016/09/22 12:50 glangereis ↷ Links adapted because of a move operation Line 1: Line 1: - ====== Signal Conditioning and Sensor Read-out ====== - - //A sensor can be described as a selector element and a modulated electronic device. This means that, from the perspective of the recording electronics,​ the sensor looks either as an electronic component, or a current/​voltage source. For example, many sensors are modulated resistors: the Light dependent Resistor (LDR), the Pt100 temperature sensor, a magnetoresisor (MR sensor) and the strain gauge. When we want to connect such a sensor to electronics,​ we have to convert the value of the resistor to a voltage. Only then we can sample with an Analog to Digital Converter (ADC) or send the value as a signal over a wire. The conversion of the sensor value to a voltage is the first step of signal conditioning,​ also referred to as "​biasing"​. After biasing, we normally need extra steps to prepare the signal for sampling or transmission. This can be amplification or filtering. These steps are called analog signal processing. This chapter gives some examples of biasing and signal conditioning as needed with the most common sensors.// - - ===== Sensor Interfaces ===== - - An interesting view on sensor interfaces is given in the book of Fraden ((Jacob Fraden, Handbook of Modern Sensors - Physics, Designs, and Applications,​ Springer, 2010, http://​www.springer.com/​gp/​book/​9781493900404)). In ,​ sensors are classified based on their location. ​ - - <​imgcaption ReadOut00|Depending on the location and fucntion, a sensor has a specific interface [From the book by J. Fraden]>​{{.measurement_theory:​tue_typesofsensors.png?​500}}​ - - - A non-contact sensor, for example a magnetic sensor or a capacitive probe, has an inherent problem with the reference voltage since there is no DC path - - A contact sensor that can be mounted to the subject under test, is more invasive but has less issues with defining a reference. A problem can be the physical coupling network of the sensor by which the measured quantity is affected - - A contact sensor that is relative can in some cases eliminate a problem, because we are only interested in variations of a parameter, and not the absolute value - - An active sensor is a sensor that needs an excitation signal. So this is part of a stimulus response measurement. It can be a measurement system where a frequency sweep is applied to find cut-off frequencies ​ - - An internal sensor can be a temperature sensor that monitors the temperature of the interface chip. - ===== The push button ===== - - A push-button,​ and many mechanical contacts, can only define a short-cut. Such push buttons are used as an input for a microcontroller. The mechanical action consists of an one/close contact. Something is needed to turn the on/close states into two well defined voltage levels. Therefore, a resistor is needed to pull the input pin to a second well defined level besides the closed state. The configuration using a pull-up or pull-down resistor is indicated in ​. The pull-up configuration is preferred because in that case one side of the switch is connected to ground which is better when placing multiple controls in a front panel. - - <​imgcaption ReadOut01|Read-out of a push button using a pull-up resistor (left), or a pull-down resistor (middle). Such mechanical switches may have the phenomenon of contact bounce (right)>​{{.measurement_theory:​readout01.png?​500}}​ - - Because the use of a pull-up resistor is such a common configuration,​ most microcontrollers have internal pull-ups that can be initialized in software. - - Switches are mechanical components where two metal contacts are used to close an electrical connection. Because of the metal to metal contact, there may be some noise for a few milliseconds when closing the switch. This is called //contact bounce// and is indicated in the right-hand picture in ​. When using the switch or another mechanical contact as an input (for example for a counter or a time critical time interval analyzer), this contact bounce may result into mis-counts. ​ - - //​Elimination of contact bounce// - - Contact bounce can be removed in hardware or software/​firmware:​ - * With firmware we can confirm the closure of a switch some milliseconds after a first closure is detected. The firmware can track a state variable and count a noisy transition as a single state change from off to on - * It can be removed by adding an RC-circuit that removed the high frequent bouncing - - When implementing the debouncing in hardware, the circuit should be a low-pass filter, for example a simple RC network. The low pass filter cut-off can be calculated as $f_{cut-off} = (2 \pi RC)^{-1}$. Frequencies above will pass. To decide on the frequency, it is easier to think in terms of the time constant which must be in the order of $30 ms$: - - \tau = R \cdot C\approx 30 ms - \label{eq:​RC_Time} - - - If the button is connected to the input of a microcontroller,​ we may find in the datasheet of that controller that a logical "​low"​ is defined as $V_{lo} < 0.3V_{cc}$ and a logical "​high"​ as $V_{hi} > 0.6V_{cc}$. When pushing the button, the action is detected as a low to high transition when $U(t)$ equals $0.6V_{cc}$. With the exponential response of an RC circuit, we can now calculate $\tau$ - - - 1 - e^{-\frac{t_{high}}{\tau}} = 0.6 \\ - \tau = -\frac{t_{high}}{ln \left ( 0.4 \right )}\approx 1.09 t_{high} - \label{eq:​RC_Time2} - - - For $\tau = 30 ms$ and taking a capacitor of $1 \mu F$, this means a resistor of $30 k \Omega$. - - Some circuits to implement the RC contact bounce are given in ​ - - <​imgcaption ReadOut02|Implementing a low pass RC filter for contact bounce in a pull-up (left) and pull-down (middle) configuration>​{{.measurement_theory:​readout02.png?​500}}​ - - The contact bounce on a time scale with the RC response is indicated in the right-hand picture. - ===== Resistive sensors ===== - - Typical resistive sensors we know are Light Dependent Resistors (LDR), strain gauges, the Pt100 resistive temperature sensor and Magnetoresistive sensors. To convert information that is captured in the resistor value into a voltage, the basic method is to place it in a voltage divider. - - A voltage divider is a basic electronic structure as shown in the left-hand picture in ​. The idea is that the output voltage relates to the input voltage in the same ratio as $R_{1}$ relates to $R_{1}+R_{2}$. So: - - - V_{out} = V_{in} \frac{R_{1}}{R_{1}+R_{2}} - \label{eq:​VoltageDivider} - - - When resistor $R_{2}$ (the upper one) is a resistive sensor as shown in the middle part of ,​ then the output voltage will be a function of the resistance value. The same will happen when the lower resistance (R<​sub>​1​) is the sensor. - - <​imgcaption ReadOut03|The voltage divider>​{{.measurement_theory:​readout03.png?​500}}​ - - The question is what the sensitivity of the output voltage is for changes in the resistive sensor value. We take the situation where the sensor is in the top part, so $R_{2}$ is the sensor like the middle situation of ​. For simplicity, we write $R_{1} = R_{0}$ and $R_{2} = R_{sens} = R_{0}+\Delta R$ indicating that $R_{1}$ is chosen equal to the nominal value of the sensor. The sensor has a certain nominal value $R_{0}$ at zero input (or a resting state) and an extra value $\Delta R$ due to an input valiable being sensed. $\Delta R$ can be both positive and negative and is zero at rest. For completeness,​ this alternative convention is drawn in ​. - - <​imgcaption ReadOut04|Alternative writing of a resistive sensor in a voltage divider>​{{.measurement_theory:​readout04.png?​150}}​ - - This way of writing in terms of $\Delta R$ results into an alternative form of the voltage divider equation: - - - U_{S} = U_{V} \frac{R_{0}}{2R_{0}+\Delta R}. - \label{eq:​VoltageDivider2} - - - By series expansion of \eqref{eq:​VoltageDivider2} we can find the sensitivity in the linearized region ($\Delta R \ll R_{0}$): - - - \frac{\Delta U_{S}}{\Delta R} \approx -\frac{U_{V}}{4R_{0}}. - \label{eq:​VoltageDividerSensitivity} - - - The sensitivity is equal for the situation where the resistor is in the lower part of the voltage divider, only the sign will change. - - The advantage of a voltage divider for sensor read-out is that it is simple and passive. However, there is a disadvantage. The nominal output voltage is half the power supply because the sensor value is roughly equal to $R_{0}$. On the other hand, the variation $\Delta R$ of the sensor due to the sensed quantity, is much smaller for most sensors. For example for a strain gauge $\Delta R$ is a hundred times smaller than $R_{0}$. This means that we have a huge offset and only some $mV$'s of signal. With such a large offset, we can not amplify the signal after the voltage divider, because the output voltage would clip to the power supply. This issue can be solved by using a resistive bridge setup. - - //The Wheatstone bridge// - - When the output of the voltage divider is not measured with respect to ground, but with respect to a second voltage divider, we have created a resistive bridge. Such a bridge is known as a //Wheatsone bridge// and a single sensor version is represented in ​. The single sensor version is referred to as //quarter bridge//. - - <​imgcaption ReadOut05|Single-sensor Wheatsone bridge>​{{.measurement_theory:​readout05.png?​200}}​ - - One of the advantages is that we can sense the inbalance in the bridge by a differential amplifier which has to deal with a signal around $0 V$ (for $\Delta R = 0 \Omega$, the output is $0 V$). The only condition is that the measuring amplifier should have a sufficiently high [[stc_common_mode_rejection_ratio_cmrr|Common Mode Rejection Ratio]], because the offset can be in the range of Volts, while the signal is milliVolts. - - For $\Delta R \ll R_{0}$ we find that the response around zero is - - - U_{Quarter Bridge} \approx -\frac{\Delta R}{4R_{0}} U_{V} - \label{eq:​U_Bridge} - - - resulting in a sensitivity equal to the sensitivity of the voltage divider with a single sensor: - - - \frac{\Delta U_{Quarter Bridge}}{\Delta R} \approx -\frac{U_{V}}{4R_{0}}. - \label{eq:​BridgeSensitivity} - - - //Half bridge and full bridge// - - In many cases, we have the opportunity to implement a second sensor, where the second sensor has an opposite response. So if sensor one has the response $R = R_{0} + \Delta R$, the second one has the response $R = R_{0} - \Delta R$. In this way, we can create a differential measurement (see the section on [[theory:​sensor_technology:​st6_sensoractuatorsystems#​Sensor/​actuator network concepts|Sensor/​actuator network concepts]]). In this differential measurement,​ the intended response on the quantity of interest is $\Delta R$ and has opposite sign for the two sensors. Some interfering effects will be in the $R_{0}$ offset value, and have the same sign. This means that if we measure the difference between the two sensor readings, the common effects cancel out, while the differential intended effect results into a strong response. In Wheatstone bridge this can be easily implemented with two or even four sensors (see ​). - - <​imgcaption ReadOut23|Half bridge (left) and full bridge (right) set-up>​{{.measurement_theory:​readout23.png?​500}}​ - - Sensors that are especially suitable for half-bridges and full-bridges are strain gauges because we can freely position the resistive structures in mechanical structures. An example is given in where four strain gauges are positioned such that two have a positive sign, while the other two have a negative sign. - - <​imgcaption ReadOut24|Four strain gauges placed on a mechanical structure in such a way that they form a full resistive bridge>​{{.measurement_theory:​readout24_25.png?​500}}​ - - The sensitivities become: - - - \frac{\Delta U_{Half Bridge}}{\Delta R} \approx -\frac{U_{V}}{2R_{0}}. - \label{eq:​HalfBridgeSensitivity} - - - and - - - \frac{\Delta U_{Full Bridge}}{\Delta R} \approx -\frac{U_{V}}{R_{0}}. - \label{eq:​FullBridgeSensitivity} - - ===== Capacitive sensors ===== - - The parallel plate capacitor structure of ​ has a capacitance of - - C = \epsilon_{0}\epsilon_{r} \frac{A}{d} - \label{eq:​Capacitor} - - when ignoring fringing fields on the edges. Here, $A$ is the surface area of a plate, $d$ the gap distance, $\epsilon _{0}$ the permittivity of vacuum and $\epsilon _{r}$ the specific permittivity of the material in the gap ($\epsilon _{r} = 1$ for air). - - <​imgcaption ReadOut07|Parallel plate capacitor>​{{.measurement_theory:​readout07.png?​300}}​ - - In principle, any variation in $A$, $d$ or $\epsilon _{r}$ can be detected as a change in capacitance. ​ - * A variation of the overlapping plate area $A$ can be used to make a translation sensor ​ - * Variation of the air gap distance $d$ is used in a microphone and pressure sensor ​ - * Variation of the relative permittivity $\epsilon _{r}$ can be the basis of a sensor that can detect a dielectric material that is placed in the fieldlines of the parallel plate configuration. A humidity sensor is based on measuring variation in $\epsilon _{r}$. ​ - - So based on translation,​ pressure or material variation the capacitor value will be modulated. There are several read-out methods. ​ - - //Constant voltage read-out// - - The relation between electrical capacitance [$F$], charge [$C$] and voltage [$V$] is defined as - - Q = C \cdot V. - \label{eq:​Capacitance} - - The variation in capacitance is equal to - - \frac{\partial Q}{\partial t} = C\frac{\partial V}{\partial t} + V\frac{\partial C}{\partial t}\label{eq:​DeltaCapacitance} - - where it can be noted that $dQ/dt$ is equal to the electric current $I$. When biasing the capacitor with a fixed voltage $V_{bias}$, for example by connecting through a high resistor, the output signal becomes - - \frac{\partial Q}{\partial t} = I = V_{bias}\frac{\partial C}{\partial t} - - which means that the measured current is defined by the variation in capacitance. This is more or less the method with which condenser microphones are biased. Electret microphones are also capacitive microphones,​ but there the biasing voltage is generated by a permament charge element: an electret. - - //Using an oscillator//​ - - For many other capacitive sensing principles (like used in accelerometers and some pressure sensors), circuits based on oscillators and timers are used. They have a frequency modulated output. - - The easiest way for readout is to place them in a resonating circuit where the capacitor is one of the frequency determining elements. Two examples are in ​. The resulting frequency is equal to: - - f_{res} = \frac{1}{2\pi RC}. - \label{eq:​CapacitorResonator} - - - The 1/C relation is not always a problem. Equation \eqref{eq:​Capacitor} indicated that the capacitance has a $1/d$ relation with the gap size $d$. This means that if the modulated value is $d$ (like in pressure sensors), the frequency becomes proportional to $d$. - - <​imgcaption ReadOut08|Oscillator methods to read out a capacitive sensor>​{{.measurement_theory:​readout08.png?​450}}​ - - //Other methods// - - There are many other methods that convert a capacitor value to a change in a periodic signal((http://​www.freescale.com/​webapp/​sps/​site/​overview.jsp?​code=784_LPBBPROXIMITY)). The result can be amplitude modulation, frequency modulation, or phase shift. In these cases, the response time is limited by the period of the carrier signal. - - <​imgcaption freescale|Image from the NXP-Freescale white paper on capacitive read-out>​{{.measurement_theory:​readoutelectronics_freescale.png?​600}}​ - - - - ===== Photo diode ===== - - A simple circuit for determining the current generated by a photo diode can be found in ​. A photo diode has a reverse current that is modulated by the amount of light. The circuit places the diode in a reverse voltage and converts the current to a voltage. - - <​imgcaption ReadOut06|Circuit for determining the reverse current of a photo diode>​{{.measurement_theory:​readout06.png?​300}}​ - - - - ===== Signal conversion ===== - - The last step in conditioning the sensor signal is converting the signal to a form that is suitable for the AD convertor. This means: - * amplification of the voltage to the window of the AD converter - * cutting down to the relevant bandwidth to prevent aliasing - * additional filtering to remove noise and removing DC if needed - ==== Amplifier ==== - - To amplifiy a signal, we need amplifiers with high quality, because they should not influence the linearity, noise, and offset of the sensor signal. An OpAmp can be configured as a differential amplifier (but take care of the [[stc_common_mode_rejection_ratio_cmrr|Common Mode Rejection Ratio]]), but there are also dedicated instrumentation amplifiers like the INA114. - - ==== Input buffer ==== - - Based on a single OpAmp like the $\mu$A741 we can make a unity gain amplifier. Such an amplifier is a good impedance converter: it can track a high impedance sensor signal and convert it into a low impedance voltage suitable for transmission over linger wires. The function is: - - V_{out} = V_{in} - \label{eq:​UnityGain} - - <​imgcaption ReadOut09|Unity gain amplifier with a single OpAmp>​{{.measurement_theory:​readout09.png?​300}}​ - - ==== Comparator and Schmitt Trigger ==== - - To make a digital signal out of an analog input (sensor) in a case where we are only interested in the crossing of a certain threshold, we can use a comparator circuit. - - - V_{out} = \left\{\begin{matrix} - 5V & if & V_{in}>​V_{ref} \\ - 0V  & if  & V_{in}<​V_{ref} ​ - \end{matrix}\right. - \label{eq:​Comparator} - - - <​imgcaption ReadOut10|Comparator circuit>​{{.measurement_theory:​readout10.png?​300}}​ - - For a signal with some noise, the plain comparator circuit may result into some transition noise in the output signal which is similar to contact bounce. In ​ we can see the comparator output for a clean signal. What happens with a noisy signal can be seen in ​. - - <​imgcaption ReadOut16|Output of a comparator when the input is clean>​{{.measurement_theory:​readout16.png?​320}}​ - <​imgcaption ReadOut17|Output of a comparator when the input is noisy>​{{.measurement_theory:​readout17.png?​320}}​ - - This response is quite logical because on a mV scale the signal does cross the decision level  multiple times before it becomes "​high"​ in the end. Just like contact bounce, a solution is to use a low-pass filter or software way of transition detection. However, a more appropriate solution for this problem is to use a higher decision level for a low-to-high transition and a lower decision level for a high-to-low transition. The comparator that does this is called a [[std_schmitt_trigger|Schmitt Trigger]]. A Schmitt trigger is a comparator circuit that incorporates positive feedback. - ==== Filters ​ ==== - - The simplest low pass filter is based on the RC network of ​. The response is a first order low-pass behaviour, so - - - \left\{\begin{matrix} - V_{out} = V_{in} & for & f<​f_{cut-off} \\ - V_{out} << V_{in} & for & f>​f_{cut-off} ​ - \end{matrix}\right. \\ - f_{cut-off}=\frac{1}{2 \pi RC} - \label{eq:​LowPass} - - - Which is represented in ​ - - <​imgcaption ReadOut11|First order RC low-pass filter>​{{.measurement_theory:​readout11.png?​250}}​ - <​imgcaption ReadOut12|Response of a first order low-pass filter>​{{.measurement_theory:​readout12.png?​500}}​ - - The first order low-pass filter can be integrated with an amplifier as the inverting low-pass first order active filter of ​. The response is - - gain = -\frac{R_{2}}{R_{1}} \\ - f_{cut-off}=\frac{1}{2 \pi R_{2}C_{1}} - \label{eq:​LowPassActive} - - while the DC content is removed (additional high pass filter) by the R<​sub>​1​C<​sub>​in​ product, which must be higher than R<​sub>​2​C<​sub>​1​. - - <​imgcaption ReadOut13|Active inverting first order low-pass filter >​{{.measurement_theory:​readout13.png?​400}}​ - - For more OpAmp circuits, see several internet sites from chip manufacturers,​ for example Texas Instruments((Texas Instruments,​ [[http://​www.ti.com/​lit/​ml/​sloa091/​sloa091.pdf]])). - - Similar to the low-pass filter, we can implement an RC high pass filter as shown in ​. The response is - - - \left\{\begin{matrix} - V_{out} << V_{in} & for & f<​f_{cut-off} \\ - V_{out} = V_{in} & for & f>​f_{cut-off} ​ - \end{matrix}\right. \\ - f_{cut-off}=\frac{1}{2 \pi RC} - \label{eq:​HighPass} - - - and is shown in ​. - - <​imgcaption ReadOut14|First order RC high-pass filter>​{{.measurement_theory:​readout14.png?​250}}​ - <​imgcaption ReadOut15|Response of a first order high-pass filter>​{{.measurement_theory:​readout15.png?​500}}​ - - ===== Bandwidth ===== - - The bandwidth of the total sensor system determines the fastest signal that can be measured. The bandwidth is determined by the slowest stage in the chain and depends on - * Coupling network - * Transducer properties - * Amplifier quality - * Wiring (sometimes long) - Based on the properties of the sensor and the read-out signal, the output has a DC content or not. - - - ===== Long wires ===== - - Sensors are normally placed at remote locations. As a result, the long wires can pick up noise due to emf and signals become affected due to cable resistances and capacitances. High-ohmic sensors (especially capacitive) are the most susceptible to pick up noise. - - To minimise noise we can - * Transform to digital (CAN, SPI) as close to the sensor as possible - * Do an impedance conversion - * Use a 3- or 4-wire technique - * Use twisted pair, bi-phase cables - - <​imgcaption longwires|Sensors are normally placed at remote locations: in a car thare are many lines from the central controllers to sensors to noisy locations>​{{.measurement_theory:​readoutelectronics_long_wires.png?​600}}​ - ==== Impedance conversion and bootstrapping ==== - - The output resistance of a //unity gain amplifier// is low, while the input resistance is high. So this is an excellent method to conect a sensor with a high impedance to a low impedance input or to connect to long wires. The circuit was already given in ​. //​Bootstrapping//​ is the technique to do active shielding: cable capacitance becomes ineffective (​). The cable capacitance is still there, but because the shield has the same potential as the signal carrying core, it has no influence. The capacitive coupling is removed by a strong amplifier delivering the current - - <​imgcaption ReadOut26|A unity gain amplifier can be used to do active shielding. By this method called Bootstrapping,​ the effect of the cable capacitance removed>​{{.measurement_theory:​readout26.png?​300}}​ - - ==== 3 or 4-Wire connection ==== - - Measuring a resistor value can be done by applying a current, while measuring voltage. The ratio gives the resistor value. However, if the measured voltage is not the voltage over the resistor (or resistive sensor element), there will be an error in the percieved resistance. A possible cause of such an error is the voltage drop over the connecting wires.  ​ - - In ​ this situation is indicated. The current source I drives a current through the resistor. Although the real current through the resistor is equal to the imposed current, the sensed voltage is probably not equal to the real voltage over the sensor. The reason is that the drive current results into a voltage drop over the wires. If the wires have a lead resistance $R_{L}$ we find: - - - V_{sensed} = V_{R} + 2V_{L} = IR +2IR_{L} ​ - \label{eq:​SensedVoltage} - - and so the estimated sensor resistance is - - R_{estimated} = \frac{IR +2IR_{L}}{I} =  R + 2R_{L}. - \label{eq:​SensedResistance} - - - <​imgcaption ReadOut27a|A method to determine the resistance of a resistive sensor. An electric current is applied and the voltage is measured>​{{.measurement_theory:​readout27a.png?​300}}​ - - The result that the measured resistance is equal to the resistance of interest plus the cable resistance is obvious, but highly undesired because it reduces the sensitivity of the overall system. The solution, however, is relatively simple: we should avoid that the imposed current affects the voltage drop over the cables. This can be done with the four wire solution of ​. The current is driven through the outer wires, but the voltage sensing is done with the inner wires. When using a high impedance voltage measuremnt device (which they normally are), there will be only a few $\mu A$ of current in the voltage sensing wires, and therefore hardly any voltage drop. This means that the sensed voltage is almost equal to the voltage over the sensor. There is a voltage drop over the current carrying wires, but that is irrelevant for the measurement. ​ - - <​imgcaption ReadOut27|An improved method to determine the resistance of a resistive sensor. The wires for driving a current are separated from the wires for sensing the voltage over the sensor>​{{.measurement_theory:​readout27.png?​300}}​ - - The method of using 4-wires, is fundamentally equal to bootstrapping. With bootstrapping,​ the cable capacitance is physically still there, but the impact on the measurement is eliminated because there is no voltage drop over the capacitor. With the 4-wire measurement,​ the cable resistances are physically still in place, but they do not affect the measurement because there is no current through them. - ==== Twisted pair/​balanced out ==== - - When we realize what is in fact the noise picked up by a long wire, then it must be electro motoric forces (emf) due to induction from fluctuating magnetic fields. Thes are common for all wires. A solution to remove common noise that is generated in the cables is to put the signal on the cables as a differential signal as shown in ​. A sensor where the output is driven as a bipolar signal is said to have a balanced out. - - <​imgcaption ReadOut28|A balanced out driving method of wires, reduces common noise in the cables>​{{.measurement_theory:​readout28.png?​350}}​ - - Another method is to create alternating loops that will pick up emf with alternating sign. This can be done by twisting the wire. With a constant wire thickness, this will result into equally distributed current loops. The method of using twisted pairs of wires is illustrated in ​ - - <​imgcaption ReadOut29|A twisted pair of cables eliminates voltages due to emf>​{{.measurement_theory:​readout29.png?​350}}​ - - The two methods can be combined as shown in ​. Differences in the ground potential will result into the need of input amplifiers with a good [[stc_common_mode_rejection_ratio_cmrr|Common Mode Rejection Ratio]]. - - <​imgcaption ReadOut30|A single wiring system using both balanced out and twistad pairs of wires>​{{.measurement_theory:​readout30.png?​450}}​ - - ====== Sensor Technology TOC ====== - - These are the chapters for the Sensor Technology course: - * Chapter 1: [[theory:​sensor_technology:​st1_measurement_theory|Measurement Theory]] - * Chapter 2: [[theory:​sensor_technology:​st2_measurement_errors|Measurement Errors]] - * Chapter 3: [[theory:​sensor_technology:​st3_measurement_technology|Measurement Technology]] - * Chapter 4: [[theory:​sensor_technology:​stb_conventions_for_good_graphs_and_tables|Circuits,​ Graphs, Tables, Pictures and Code]] - * Chapter 5: [[theory:​sensor_technology:​st4_sensor_theory|Basic Sensor Theory]] - * Chapter 6: [[theory:​sensor_technology:​st6_sensoractuatorsystems|Sensor-Actuator Systems]] ​ - * Chapter 7: [[theory:​sensor_technology:​st7_modelling_main|Modelling]] - * Chapter 8: [[theory:​sensor_technology:​st8_accelerometer_model|Modelling:​ The Accelerometer]] - example of a second order system - * Chapter 9: [[theory:​sensor_technology:​st9_scaling|Modelling:​ Scaling]] - why small things appear to be stiffer - * Chapter 10: [[theory:​sensor_technology:​st10_lumped_element_models|Modelling:​ Lumped Element Models]] - * Chapter 11: [[theory:​sensor_technology:​st11_finite_element_models|Modelling:​ Finite Element Models]] - * Chapter 12: [[theory:​sensor_technology:​st12_impedance_spectroscopy|Modelling:​ Transducer Characterization by Impedance Spectroscopy]] - * Chapter 13: [[theory:​sensor_technology:​st13_lumped_element_models_advanced|Modelling:​ Systems Theory]] - * Chapter 14: [[theory:​sensor_technology:​st14_differential_equation_numerical_models|Modelling:​ Numerical Integration]] - * Chapter 15: Signal Conditioning and Sensor Read-out - * Chapter 16: [[theory:​sensor_technology:​st16_resistive_sensors|Resistive Sensors]] <- Next - * Chapter 17: [[theory:​sensor_technology:​st17_capacitive_sensors|Capacitive Sensors]] - * Chapter 18: [[theory:​sensor_technology:​st18_magnetic_sensors|Magnetic Sensors]] - * Chapter 19: [[theory:​sensor_technology:​st19_optical_sensors|Optical Sensors]] - * Chapter 20: [[theory:​sensor_technology:​st20_actuators|Actuators]] - an example of an electrodynamic motor - * Chapter 21: [[theory:​sensor_technology:​st21_actuator_models|Actuator principles for small speakers]] - * Chapter 22: [[theory:​sensor_technology:​st22_adc_and_dac|ADC and DAC]] - * Chapter 23: [[theory:​sensor_technology:​st23_bus_interfaces|Bus Interfaces]] - SPI, I<​sup>​2​C,​ IO-Link, Ethernet based - * Appendix A: [[theory:​sensor_technology:​sta_easyunitconversion|Systematic unit conversion]] - * Appendix B: [[theory:​sensor_technology:​stc_common_mode_rejection_ratio_cmrr|Common Mode Rejection Ratio (CMRR)]] - * Appendix C: [[theory:​sensor_technology:​std_schmitt_trigger|A Schmitt Trigger for sensor level detection]] - -