w08 sensors and measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/elk2018/h8.pdf · ......

74
Yrd. Doç. Dr. Aytaç Gören W08 Sensors and Measurement (2/2)

Upload: phungnhan

Post on 06-Mar-2018

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

W08 Sensors andMeasurement (2/2)

Page 2: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

ELK 2018 - Contents

W01 Basic Concepts in Electronics

W02 AC to DC Conversion

W03 Analysis of DC Circuits (self and condenser)

W04 Transistors and Applications (H-Bridge)

W05 Op Amps and Applications

W06 Midterm

W07 Sensors and Measurement (1/2)

W08 Sensors and Measurement (2/2)

W09 Basic Concepts in Digital Electronics (Boolean Algebra, Decimal to binary, gates)

W10 Digital Logic Circuits (Gates and Flip Flops)

W11 PLC’s

W12 Microprocessors

W13 Data Acquisition, D/A and A/D Converters.

2Yrd. Doç. Dr. Aytaç Gören

Page 3: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

ELK 2018 – W08 Contents

1. Photoelectric Sensors

2. Thermal, Heat, Temperature Sensors

3. GPS

4. Flow, Fluid Velocity Sensors

5. Weather, Moisture, Humidity Sensors

6. Electric Current, Electric Potential

7. Magnetic Sensors

3• Yrd. Doç. Dr. Aytaç Gören

Page 4: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Connecting Sensors to Microcontrollers

Analog

many microcontrollers have a built-in A/D

8-bit to 12-bit common

many have multi-channel A/D inputs

Digital

serial I/O

use serial I/O port, store in memory to analyze

synchronous (with clock)

must match byte format, stop/start bits, parity check, etc.

asynchronous (no clock): more common for comm. than data

must match baud rate and bit width, transmission protocol, etc.

frequency encoded

use timing port, measure pulse width or pulse frequency

µCsignal timing

memory

keypadsensor

sensor display

*references 9

Page 5: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Digital SensorsAs its name implies, Digital Sensors produce a discrete output signal or voltage that is a digital representation of the quantity

being measured. Digital sensors produce a Binary output signal in the form of a logic "1" or a logic "0", ("ON" or "OFF"). This means then that a digital signal only produces discrete (non-continuous) values which may be outputted as a single "bit",

(serial transmission) or by combining the bits to produce a single "byte" output (parallel transmission).

Compared to analogue signals, digital signals or quantities have very high accuracies and can be both measured and "sampled" at a very

high clock speed. The accuracy of the digital signal is proportional to the number of bits used to represent the measured quantity. For example, using a processor of 8 bits, will produce an accuracy of

0.195% (1 part in 512). While using a processor of 16 bits gives an accuracy of 0.0015%, (1 part in 65,536) or 130 times more accurate.

This accuracy can be maintained as digital quantities are manipulated and processed very rapidly, millions of times faster than analogue

signals.

Page 6: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Connecting Smart Sensors to PC/Network“Smart sensor” = sensor with built-in signal processing & communication

Data Acquisition Cards (DAQ)

PC card with analog and digital I/O

interface through LabVIEW or user-generated code

Communication Links Common for Sensors

asynchronous serial comm.

universal asynchronous receive and transmit (UART)

1 receive line + 1 transmit line. nodes must match baud rate & protocol

RS232 Serial Port on PCs uses UART format (but at +/- 12V)

can buy a chip to convert from UART to RS232

synchronous serial comm.

serial peripheral interface (SPI)

1 clock + 1 bidirectional data + 1 chip select/enable

I2C = Inter Integrated Circuit bus

designed by Philips for comm. inside TVs, used in several commercial sensor systems

IEEE P1451: Sensor Comm. Standard

several different sensor comm. protocols for different applications

*references 9

Page 7: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Sensor CalibrationSensors can exhibit non-ideal effects– offset: nominal output ≠ nominal parameter value

– nonlinearity: output not linear with parameter changes

– cross parameter sensitivity: secondary output variation with, e.g., temperature

Calibration = adjusting output to match parameter– analog signal conditioning

– look-up table

– digital calibration• T = a + bV +cV2,

T= temperature; V=sensor voltage;

a,b,c = calibration coefficients

Compensation– remove secondary sensitivities

– must have sensitivities characterized

– can remove with polynomial evaluation• P = a + bV + cT + dVT + e V2, where P=pressure, T=temperature

0.000

1.000

2.000

3.000

4.000

5.000

6.000

7.000

-30 -20 -10 0 10 20 30 40 50 60 70

Temperature (C)

Fre

qu

en

cy

(M

Hz)

1001

1010

1001

1101

1110

1111

T1

T2

T3off

se

t

*references 9

Page 8: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric SensorsPhotoelectric devices can be grouped into two main categories, those which generate electricity when illuminated, such as Photo-voltaics or Photo-emissivesetc, and those which change their electrical properties in some way such as Photo-resistors or Photo-conductors. This leads to the following classification of devices.

• Photo-emissive Cells - These are photodevices which release free electrons from a light sensitive material such as caesium when struck by a photon of sufficient energy. The amount of energy the photons have depends on the frequency of the light and the higher the frequency, the more energy the photons have converting light energy into electrical energy.

• Photo-conductive Cells - These photodevices vary their electrical resistance when subjected to light. Photoconductivity results from light hitting a semiconductor material which controls the current flow through it. Thus, more light increase the current for a given applied voltage. The most common photoconductive material is Cadmium Sulphide used in LDR photocells.

Page 9: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric Sensors

• Photo-voltaic Cells - These photodevices generate an emf in proportion to the radiant light energy received and is similar in effect to photoconductivity. Light energy falls on to two semiconductor materials sandwiched together creating a voltage of approximately 0.5V. The most common photovoltaic material is Selenium used in solar cells.

• Photo-junction Devices - These photodevices are mainly true semiconductor devices such as the photodiode or phototransistor which use light to control the flow of electrons and holes across their PN-junction. Photojunction devices are specifically designed for detector application and light penetration with their spectral response tuned to the wavelength of incident light.

Page 10: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric Sensors

Page 11: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric SensorsInfrared - Active

Sensor type = Reflective IR IR detector = Panasonic PNA4602M IR LED type = Narrow focus 10º I/O required = 3 digital lines: 2 outputs, 1 input Range = Approximately 4“ to 26" Input voltage = 5vdc regulated @ 8mA PC board size = 2.3" x .75"

Page 12: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric SensorsPhotovoltaic

• Photovoltaic

– light falling on a pn-junction can be used to generate electricity from light energy (as in a solar cell)

– small devices used as sensors are called photodiodes

– fast acting, but the voltage produced is not linearly related to light intensity

Page 13: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric Sensors LDR

• Photoconductive– such devices do not produce electricity, but

simply change their resistance– photodiode (as described earlier) can be

used in this way to produce a linear device– phototransistors act like photodiodes but

with greater sensitivity– light-dependent resistors (LDRs) are slow,

but respond like the human eye

The Light Dependent Resistor (LDR) is made from a piece of exposed semiconductor material such as cadmium sulphide that changes its electrical resistance from several thousand Ohms in the dark to only a few hundred Ohms when light falls upon it by creating hole-electron pairs in the material. The net effect is an improvement in its conductivity with a decrease in resistance for an increase in illumination. Also, photoresistive cells have a long response time requiring many seconds to respond to a change in the light intensity.

Page 14: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Photoelectric Sensors

Yrd. Doç. Dr. Aytaç Gören

LDR

The most commonly used photoresistive light sensor is the ORP12 Cadmium Sulphide photoconductive cell. This light dependent resistor has a spectral response of about 610nm in the yellow to orange region of light.

Page 15: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Photoelectric Sensors

Yrd. Doç. Dr. Aytaç Gören

LDR

The resistance of the cell when unilluminated (dark resistance) is very high at about 10MΩ's which falls to about 100Ω's when fully illuminated (lit resistance). To increase the dark resistance and therefore reduce the dark current, the resistive path forms a zigzag pattern across the ceramic substrate. The CdS photocell is a very low cost device often used in auto dimming, darkness or twilight detection for turning the street lights "ON" and "OFF", and for photographic exposure meter type applications.

Page 16: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Photoelectric Sensors

Yrd. Doç. Dr. Aytaç Gören

LDR

This basic light sensor circuit is of a relay outputlight activated switch. A potential divider circuit isformed between the photoresistor, LDR and theresistor R1. When no light is present ie in darkness,the resistance of the LDR is very high in theMegaohms range so zero base bias is applied to thetransistor TR1 and the relay is de-energised or"OFF".As the light level increases the resistance of the LDRstarts to decrease causing the base bias voltage atV1 to rise. At some point determined by thepotential divider network formed with resistor R1,the base bias voltage is high enough to turn thetransistor TR1 "ON" and thus activate the relaywhich inturn is used to control some externalcircuitry. As the light level falls back to darknessagain the resistance of the LDR increases causingthe base voltage of the transistor to decrease,turning the transistor and relay "OFF" at a fixed lightlevel determined again by the potential dividernetwork.

One simple use of a LightDependent Resistor, is as a light

sensitive switch.

Page 17: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Photoelectric Sensors

Yrd. Doç. Dr. Aytaç Gören

LDR

By replacing the fixed resistor R1 with a potentiometer VR1, the point at which the relay turns "ON" or "OFF" can be pre-set to a particular light level. This type of simple circuit shown above has a fairly low sensitivity and its switching point may not be consistent due to variations in either temperature or the supply voltage. A more sensitive precision light activated circuit can be easily made by incorporating the LDR into a "Wheatstone Bridge" arrangement and replacing the transistor with an Operational Amplifier.

Page 18: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Photoelectric Sensors

Yrd. Doç. Dr. Aytaç Gören

LDR

In this basic dark sensing circuit, the light dependent resistor LDR1 and the potentiometer VR1 form one adjustable arm of a simple resistance bridge network, also known commomlyas a Wheatstone bridge, while the two fixed resistors R1 and R2 form the other arm. Both sides of the bridge form potential divider networks across the supply voltage whose outputs V1 and V2 are connected to the non-inverting and inverting voltage inputs respectively of the operational amplifier.The operational amplifier is configured as a Differential Amplifier also known as a voltage comparator with feedback whose output voltage condition is determined by the difference between the two input signals or voltages, V1 and V2. The resistor combination R1 and R2 form a fixed voltage reference at input V2, set by the ratio of the two resistors. The LDR -VR1 combination provides a variable voltage input V1 proportional to the light level being detected by the photoresistor.

Page 19: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Photoelectric Sensors

Yrd. Doç. Dr. Aytaç Gören

LDR

As with the previous circuit the output from the operational amplifier is used to control a relay, which is protected by a free wheel diode, D1. When the light level sensed by the LDR and its output voltage falls below the reference voltage set at V2 the output from the op-amp changes state activating the relay and switching the connected load. Likewise as the light level increases the output will switch back turning "OFF" the relay. The hysteresis of the two switching points is set by the feedback resistor Rf can be chosen to give any suitable voltage gain of the amplifier.The operation of this type of light sensor circuit can also be reversed to switch the relay "ON" when the light level exceeds the reference voltage level and vice versa by reversing the positions of the light sensor LDR and the potentiometer VR1. The potentiometer can be used to "pre-set" the switching point of the differential amplifier to any particular light level making it ideal as a simple light sensor project circuit.

Page 20: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric Sensorsopto-switch

• Opto-switches

– consist of a light source and a light sensor within a single unit. Two common forms are the reflective and slotted types

A reflective opto-switch

A slotted opto-switch

Opto-switch sensor

Page 21: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric Sensors

In example above, the speed of the rotating shaft is measured by using a digital LED/Opto-detector sensor. The disc which is fixed to a rotating shaft (for example, from a motor or wheels), has a number of transparent slots within its design. As the disc rotates with the

speed of the shaft, each slot passes by the sensor inturn producing an output pulse representing a logic level "1". These pulses are sent to a register of counter and finally to an output display to show the speed or revolutions of the shaft. By increasing the number of slots or "windows" within the disc more output pulses can be produced giving a greater

resolution and accuracy as fractions of a revolution can be detected. Then this type of sensor arrangement could be used for positional control.

Page 22: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric Sensors

*references 10

Photodiode Circuits

Page 23: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric Sensors

*references 6

Photodiode Circuits

Photodiodes are very versatile light sensors that can turn its current flow both"ON" and "OFF" in nanoseconds and are commonly used in cameras, light meters,CD and DVD-ROM drives, TV remote controls, scanners, fax machines and copiersetc, and when integrated into operational amplifier circuits as infrared spectrumdetectors for fibre optic communications, burglar alarm motion detection circuitsand numerous imaging, laser scanning and positioning systems etc.

Page 24: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric SensorsPhotodiodes

Page 25: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric SensorsLight Sensor

– photoconductor

• light R

Photodiode

• light I

Page 26: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Photoelectric SensorsSemiconductor light sensors include: photodiodes, phototransistors, photodarlingtons. Like diodes, all transistors are light-sensitive. Phototransistors are designed specifically to take advantage of this fact. The most-common variant is an NPN bipolar transistor with an exposed base region. Here, light striking the base replaces what would ordinarily be voltage applied to the base so, a phototransistor amplifies variations in the light striking it. Note that phototransistors may or may not have a base lead (if they do, the base lead allows you to bias the phototransistor's light response.All of these have similar noise performance, but phototransistors and darlingtonshave better sensitivity (more current for given light input).

Phototransistor:1 mA @ 1000 lux

Photodarlingtonsup to 100x this sensitivity.

Phototransistors

Page 27: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören20

Photoelectric Sensors Phototransistors

Basically, a phototransistor can be any bipolar transistor with a transparent case. There are some variations provide advantages. For example, a focusing lens can be built into the case for directional sensitivity. Coatings can be applied to block some higher or lower wavelengths. The transistor itself may provide higher gain, or higher frequency, or lower capacitance, etc.

The diagram above illustrates the frequency response of silicon

phototransistor junctions, along with the spectral output of an infrared LED.

Page 28: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören20

Photoelectric Sensors Phototransistors

Phototransistor is basically aphotodiode with amplification. ThePhototransistor light sensor has itscollector-base PN-junction reversebiased exposing it to the radiant lightsource. Phototransistors operate thesame as the photodiode except thatthey can provide current gain and aremuch more sensitive than thephotodiode with currents are 50 to100 times greater than that of thestandard photodiode and any normaltransistor can be easily converted intoa phototransistor light sensor byconnecting a photodiode betweenthe collector and base.

a photo-darlington

Page 29: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören20

Photoelectric Sensors Phototransistors

Phototransistors consist mainly of a bipolar NPN Transistor with its large baseregion electrically unconnected, although some phototransistors allow a baseconnection to control the sensitivity, and which uses photons of light togenerate a base current which inturn causes a collector to emitter current toflow. Most phototransistors are NPN types whose outer casing is eithertransparent or has a clear lens to focus the light onto the base junction forincreased sensitivity.

Page 30: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Photoelectric Sensors

Yrd. Doç. Dr. Aytaç Gören

Photovoltaic Cells

Photovoltaic cells are made from single crystal silicon PN junctions, the same as photodiodes with a very large light sensitive region but are used without the reverse bias. They have the same characteristics as a very large photodiode when in the dark. When illuminated the light energy causes electrons to flow through the PN junction and an individual solar cell can generate an open circuit voltage of about 0.58v (580mV). Solar cells have a "Positive" and a "Negative" side just like a battery.

Page 31: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören2020

Photoelectric Sensors Cameras

Two solid-state camera types: CCD and CMOS.A charge-coupled device (CCD) is a device for the movement of electrical charge, usually from within the device to an area where the charge can be manipulated, for example conversion into a digital value.A CCD image sensor is an analog device. When light strikes the chip it is held as a small electrical charge in each photo sensor. The charges are converted to voltage one pixel at a time as they are read from the chip. Additional circuitry in the camera converts the voltage into digital information.CCD is the more mature technology, and has the widest performance range.

8 Mpixel size for camerasLow noise/ high efficiency for astronomy etc. Good sensitivity (low as 0.0003 lux, starlight)

CCDs require several chips,but are still cheap ($50 +)Most CCDs work in near infraredand can be used for night visionif an IR light source is used.(*ref.12, 13)

Page 32: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören2020

Photoelectric Sensors Cameras

CMOS (Complementary Metal-Oxide Semiconductor) is a technology used in fabricating integrated circuit chips.A CMOS imaging chip is a type of active pixel sensor made using the CMOS semiconductor process. Extra circuitry next to each photo sensor converts the light energy to a voltage. Additional circuitry on the chip may be included to convert the voltage to digital data.

CMOS cameras are very compact and inexpensive, but haven’t matched CCDs in most performance dimensions.Start from $20(!)Custom CMOS camerasintegrate image processingright on the camera. Allow special functions likemotion detection, recognition.

Page 33: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Temperature SensorsThe most commonly used type of all the sensors are those which detect Temperature or heat. These types of temperature sensor vary from simple ON/OFF thermostatic devices which control a domestic hot water system to highly sensitive semiconductor types that can control complex process control plants. We remember from our school science classes that the movement of molecules and atoms produces heat (kinetic energy) and the more movement, the more heat is generated. Temperature Sensors measure the amount of heat energy or even coldness that is generated by an object or system, and can "sense" or detect any physical change to that temperature producing either an analogue or digital output.

Page 34: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Temperature SensorsTemperature sensors consist of two basic physical types:Contact Temperature Sensor Types - These types of temperature sensor are required to be in physical contact with the object being sensed and use conduction to monitor changes in temperature. They can be used to detect solids, liquids or gases over a wide range of temperatures.

Non-contact Temperature Sensor Types - These types of temperature sensor use convection and radiation to monitor changes in temperature. They can be used to detect liquids and gases that emit radiant energy as heat rises and cold settles to the bottom in convection currents or detect the radiant energy being transmitted from an object in the form of infra-red radiation (the sun).

The two basic types of contact or even non-contact temperature sensors can also be sub-divided into the following three groups of sensors, Electro-mechanical, Resistive and Electronic.

Page 35: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Sensors• Sensor operation

– small prism-shaped sample of single-crystal undoped GaAs attached to ends of two optical fibers

– light energy absorbed by the GaAs crystal depends on temperature

– percentage of received vs. transmitted energy is a function of temperature

• Can be made small enough for biological implantation

Page 36: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Thermal Sensors The Thermostat

The Thermostat is a contact type electro-mechanical temperature sensor or switch, that basically consists of two different metals such as nickel, copper, tungsten or aluminium etc, that are bonded together to form a Bi-metallic strip. The different linear expansion rates of the two dissimilar metals produces a mechanical bending movement when the strip is subjected to heat. The bi-metallic strip is used as a switch in the thermostat and are used extensively to control hot water heating elements in boilers, furnaces, hot water storage tanks as well as in vehicle radiator cooling systems.

The Bi-metallic Thermostat

The thermostat consists of two thermally different metals stuck together back to back. When it is cold the contacts are closed and current passes through the thermostat. When it gets hot, one metal expands more than the other and the bonded bi-metallic strip bends up (or down) opening the contacts preventing the current from flowing.

Page 37: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Thermal Sensors The Thermostat

There are two main types of bi-metallic strips based mainly upon their movement when subjected to temperature changes, "snap-action" types that produce an instantaneous "ON/OFF" or "OFF/ON" type action on the electrical contacts and the slower "creep-action" types that gradually change their position as the temperature changes. Snap-action thermostats are commonly used in homes for controlling the temperature of ovens, irons, immersion hot water tanks and on walls to control the domestic heating system.Creeper types generally consist of a bi-metallic coil or spiral that slowly unwinds or coils-up as the temperature changes. Generally, creeper type bi-metallic strips are more sensitive to temperature changes than the standard snap ON/OFF types as the strip is longer and thinner making them ideal for use in temperature gauges and dials etc.One main disadvantage of the standard snap-action type thermostats when used as a temperature sensor, is that they have a large hysteresis range from when the electrical contacts open until when they close for example, set to 20oC but may not open until 22oC or close again until 18oC. So the range of temperature swing can be quite high. Commercially available bi-metallic thermostats for home use do have temperature adjustment screws that allow for a desired set-point and even its hysteresis level to be pre-set and are available over a wide operating range.

Page 38: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Thermal Sensors The Thermistor

The Thermistor is another type of temperature sensor, whose name is a combination of the words THERM-ally sensitive res-ISTOR. A thermistoris a type of resistor which changes its physical resistance with changes in temperature.

Thermistors are generally made from ceramic type semiconductor materials such as oxides of nickel, manganese or cobalt coated in glass which makes them easily damaged. Most types of thermistor's have a Negative Temperature Coefficient of resistance or (NTC), that is their resistance value goes DOWN with an increase in the temperature but some with a Positive Temperature Coefficient, (PTC), their resistance value goes UP with an increase in temperature are also available. Their main advantage is their speed of response to any changes in temperature, accuracy and repeatability.

Thermistors are passive resistive devices which means we need to pass a current through it to produce a measurable voltage output. Then thermistorsare generally connected in series with a suitable biasing resistor to form a potential divider network and the choice of resistor gives a voltage output at some pre-determined temperature point or value.

Page 39: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Thermal Sensors The Thermistor

The following thermistor has a resistance value of 10KΩ at 25oC and a resistance value of 100Ω at 100oC. Calculate the voltage drop across the thermistor and hence its output voltage (Vout) for both temperatures when connected in series with a 1kΩ resistor across a 12v power supply.

At 25oC

At 100oC

by changing the fixed resistor value of R2 (in our example 1kΩ) to a potentiometer or preset, a voltage output can be obtained at a predetermined temperature set point for example, 5v output at 60oC and by varying the potentiometer a particular output voltage level can be obtained over a wider temperature range.

Page 40: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Thermal Sensors Resistive Temperature Detectors (RTD)

Another type of electrical resistance temperature sensor is the ResistanceTemperature Detector or RTD. RTD's are precision temperature sensors made fromhigh-purity conducting metals such as platinum, copper or nickel wound into a coiland whose electrical resistance changes as a function of temperature, similar to thatof the thermistor. Also available are thin-film RTD's. These devices have a thin film ofplatinum paste is deposited onto a white ceramic substrate.

RTDResistive temperature detectors have positive temperature coefficients (PTC) butunlike the thermistor their output is extremely linear producing very accuratemeasurements of temperature. However, they have poor sensitivity, that is a changein temperature only produces a very small output change for example, 1Ω/oC. Themore common types of RTD's are made from platinum and are called PlatinumResistance Thermometer or PRT's with the most commonly available of them all thePt100 sensor, which has a standard resistance value of 100Ω at 0oC. However,Platinum is expensive and one of the main disadvantages of this type of device is itscost.

Page 41: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Thermal Sensors Resistive Temperature Detectors (RTD)

Like the thermistor, RTD's are passive resistive devices and by passing a constantcurrent through the temperature sensor it is possible to obtain an output voltagethat increases linearly with temperature. A typical RTD has a base resistance ofabout 100Ω at 0oC, increasing to about 140Ω at 100oC with an operatingtemperature range of between -200 to +600oC.

Thin Film Elements

These Elements

works with temperatures

to 300 °C.

These elements work with temperatures to 660 °C.

These Elements works with temperatures to 850 °C.

Coiled elements

Wire-wound Elements

Page 42: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Thermal Sensors Thermocouples

Thermocouples are thermoelectric sensors that basically consists of two junctions of dissimilar metals, such as copper and constantan that are welded or crimped together. One junction is kept at a constant temperature called the reference (Cold) junction, while the other the measuring (Hot) junction. When the two junctions are at different temperatures, a voltage is developed across the junction which is used to measure the temperature sensor.

The Thermocouple is by far the most commonly used type of all the temperature sensing devices due to its simplicity, ease of use and their speed of response to changes in temperature, due mainly to their small size. Thermocouples also have the widest temperature range of all the temperature sensors from below -200oC to well over 2000oC.

http://www.efunda.com/designstandards/sensors/thermocouples/thmcple_theory.cfm

Page 43: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Thermal Sensors Thermocouples

The principle of operation is that the junction of the two dissimilar metals such as copperand constantan, produces a "thermo-electric" effect that produces a constant potentialdifference of only a few millivolts (mV) between them. The voltage difference between thetwo junctions is called the "Seebeck effect" as a temperature gradient is generated alongthe conducting wires producing an emf. Then the output voltage from a thermocouple is afunction of the temperature changes. If both the junctions are at the same temperature thepotential difference across the two junctions is zero in other words, no voltage output asV1 = V2. However, when the junctions are connected within a circuit and are both atdifferent temperatures a voltage output will be detected relative to the difference intemperature between the two junctions, V1 - V2. This difference in voltage will increase withtemperature until the junctions peak voltage level is reached and this is determined by thecharacteristics of the two dissimilar metals used.

Page 44: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Thermal Sensors Thermocouples

Thermocouples can be made from a variety of different materials enabling extreme temperatures of between -200oC to over +2000oC to be measured. With such a large choice of materials and temperature range, internationally recognized standards have been developed complete with thermocouple color codes to allow the user to choose the correct thermocouple sensor for a particular application.

Page 45: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Thermal Sensors Thermocouples

The three most common thermocouple materials used above for generaltemperature measurement are Iron-Constantan (Type J), Copper-Constantan(Type T), and Nickel-Chromium (Type K). The output voltage from athermocouple is very small, only a few millivolts (mV) for a 10oC change intemperature difference and because of this small voltage output some form ofamplification is generally required.

The type of amplifier, either discrete or in the form of an OperationalAmplifier needs to be carefully selected, because good drift stability isrequired to prevent recalibration of the thermocouple at frequent intervals.This makes the chopper and instrumentation type of amplifier preferable formost temperature sensing applications.

Page 46: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Thermal Cameras

Page 47: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Flow, Fluid Velocity Sensors

http://www.omega.com/prodinfo/flowmeters.html

A flowmeter is an instrument used to measure linear, nonlinear, mass or

volumetric flow rate of a liquid or a gas.

Page 48: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Flow, Fluid Velocity Sensors

http://www.omega.com/prodinfo/flowmeters.html

Types of Flowmeters

• Turbine

• Differential Pressure

• Coriolis Mass

• Ultrasonic

• Electromagnetic

• Thermal

Page 49: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Turbine flowmeters

Turbine flowmeters use the

mechanical energy of the fluid to

rotate a “pinwheel” (rotor) in the flow

stream. Blades on the rotor are

angled to transform energy from the

flow stream into rotational energy.

The rotor shaft spins on bearings.

When the fluid moves faster, the

rotor spins proportionally faster.

Flow, Fluid Velocity Sensors

Ref: reference 14

Page 50: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Differential PressureFlow, Fluid Velocity Sensors

Differential pressure flowmeters use

Bernoulli's equation to measure the

flow of fluid in a pipe. Differential

pressure flowmeters introduce a

constriction in the pipe that creates a

pressure drop across the flowmeter.

Page 51: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Coriolis mass flowmetersFlow, Fluid Velocity Sensors

Coriolis mass flowmeters measure

the force resulting from the

acceleration caused by mass

moving toward (or away from) a

center of rotation

Page 52: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Ultrasonic flowmetersFlow, Fluid Velocity Sensors

Ultrasonic flowmeters use sound

waves to determine the velocity of a

fluid flowing in a pipe with uses

Doppler Effect.

When the fluid moves faster, the

frequency shift increases linearly. The

transmitter processes signals from the

transmitted wave and its reflections to

determine the flow rate.

Page 53: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Magnetic flowmetersFlow, Fluid Velocity Sensors

Magnetic flowmeters use

Faraday’s Law of

Electromagnetic Induction

to determine the flow of

liquid in a pipe.

Page 54: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Thermal flowmetersFlow, Fluid Velocity Sensors

Thermal flowmeters use the

thermal properties of the

fluid to measure the flow of

a fluid flowing in a pipe or

duct.

Page 55: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Global Positioning System (GPS)The Global Positioning System (GPS) is a space-based satellite navigation system that provides location and time information in all weather, anywhere on or near the Earth, where there is an unobstructed line of sight to four or more GPS satellites.

A GPS receiver calculates its position by precisely timing the signals sent by GPS satellites high above the Earth. Each satellite continually transmits messages that include-the time the message was transmitted-satellite position at time of message transmissionThe receiver uses the messages it receives to determine the transit time of each message and computes the distance to each satellite. These distances along with the satellites' locations are used with the possible aid of trilateration, depending on which algorithm is used, to compute the position of the receiver. This position is then displayed, perhaps with a moving map display or latitude and longitude; elevation information may be included.

Page 56: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Global Positioning System (GPS)Subframes Description

1Satellite clock,

GPS time relationship

2–3Ephemeris

(precise satellite orbit)

4–5Almanac component

(satellite network synopsis,error correction)

GPS message format

All satellites broadcast at the same two frequencies, 1.57542 GHz (L1 signal) and 1.2276 GHz (L2 signal). The satellite network uses a CDMA spread-spectrum technique where the low-bitrate message data is encoded with a high-rate pseudo-random (PRN) sequence that is different for each satellite. The receiver must be aware of the PRN codes for each satellite to reconstruct the actual message data. The C/A code, for civilian use, transmits data at 1.023 million chips per second, whereas the P code, for U.S. military use, transmits at 10.23 million chips per second.

Page 57: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Global Positioning System (GPS)

The receiver uses messages received from satellites to determine the satellitepositions and time sent. The x, y, and z components of satellite position and thetime sent are designated as [xi, yi, zi, ti] where the subscript i denotes the satelliteand has the value 1, 2, ..., n, where Knowing when the message was received, the receiver computes the message's transit time as Note that the receiverindeed knows the reception time indicated by its on-board clock, rather than .

Assuming the message traveled at the speed of light (c) the distance traveled is (tr − ti)c. Knowing the distance from receiver to satellite and the satellite's position implies that the receiver is on the surface of a sphere centered at the satellite's position. Thus the receiver is at or near the intersection of the surfaces of the spheres. In the ideal case of no errors, the receiver is at the intersection of the surfaces of the spheres.Let b denote the clock error or bias, the amount that the receiver's clock is off.

The receiver has four unknowns, the three components of GPS receiver position

and the clock bias [x, y, z, b]. The equations of the sphere surfaces are given by:

Page 58: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

or in terms of pseudoranges, , as

These equations can be solved by algebraic or numerical methods.

Global Positioning System (GPS)

Page 59: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Weather, Moisture, Humidity Sensors

http://www.epluse.com/en/products/humidity-instruments/humidity-sensor/hct01/http://www.sensirion.com/en/01_humidity_sensors/00_humidity_sensors.htm

A hygrometer is an instrument used for measuring the moisture content in theenvironmental air, or humidity. Most measurement devices usually rely on measurements of some other quantity such as temperature, pressure, mass or a mechanical or electrical change in a substance as moisture is absorbed. Fromcalculations based on physical principles, or especially by calibration with a reference standard, these measured quantities can lead to a measurement of humidity. Modern electronic devices use temperature of condensation, or changesin electrical capacitance or resistance to measure humidity changes.

Page 60: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Weather, Moisture, Humidity Sensors

http://www.epluse.com/en/products/humidity-instruments/humidity-sensor/hct01/http://www.sensirion.com/en/01_humidity_sensors/00_humidity_sensors.htm

•Energy consumption: 80uW (at 12bit, 3V, 1 measurement / s)

•RH operating range: 0 – 100% RH

•T operating range: -40 – +125°C (-40 – +257°F)

•RH response time: 8 sec (tau63%)

•Output: digital (2-wire interface)

•Maximal accuracy limits for relative humdity and temperature:

Page 61: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

PyranometerA pyranometer is a type of actinometer used to measure broadband solar irradiance on a planar surface and is a sensor that is designed to measure the solar radiation flux density (in watts per metre square) from a field of view of 180 degrees. A typical pyranometer does not require any power to operate.

Page 62: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

(1) sensor, (2, 3) glass domes, (5) cable, standard length 5 m, (9) desiccant.

The solar radiation spectrum extends approximately from 300 to 2,800 nm. Pyranometersusually cover that spectrum with a spectral sensitivity that is as “flat” as possible.To make a measurement of irradiance, it is required by definition that the response to “beam” radiation varies with the cosine of the angle of incidence, so that there will be a full response when the solar radiation hits the sensor perpendicularly (normal to the surface, sun at zenith, 0 degrees angle of incidence), zero response when the sun is at the horizon (90 degrees angle of incidence, 90 degrees zenith angle), and 0.5 at 60 degrees angle of incidence. It follows that a pyranometer should have a so-called “directional response” or “cosine response” that is close to the ideal cosine characteristic.

Pyranometer

Page 63: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Pressure Sensor

Diaphragm (Upper electrode)

Lower electrode

A pressure sensor measures pressure, typically of gases or liquids. Pressure is an expression of the force required to stop a fluid from expanding, and is usually stated in terms of force per unit area. A pressure sensor usually acts as a transducer; it generates a signal as a function of the pressure imposed. For the purposes of this article, such a signal is electrical.

Absolute pressure sensorThis sensor measures the pressure relative to perfect vacuum.Gauge pressure sensorThis sensor measures the pressure relative to atmospheric pressure. A tire pressure gauge is an example of gauge pressure measurement; when it indicates zero, then the pressure it is measuring is the same as the ambient pressure.

Types

Page 64: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Pressure SensorVacuum pressure sensorThis term can cause confusion. It may be used to describe a sensor that measures pressures below atmospheric pressure, showing the difference between that low pressure and atmospheric pressure (i.e. negative gauge pressure), but it may also be used to describe a sensor that measures low pressure relative to perfect vacuum (i.e. absolute pressure).Differential pressure sensorThis sensor measures the difference between two pressures, one connected to each side of the sensor. Differential pressure sensors are used to measure many properties, such as pressure drops across oil filters or air filters, fluid levels (by comparing the pressure above and below the liquid) or flow rates (by measuring the change in pressure across a restriction). Technically speaking, most pressure sensors are really differential pressure sensors; for example a gauge pressure sensor is merely a differential pressure sensor in which one side is open to the ambient atmosphere.Sealed pressure sensorThis sensor is similar to a gauge pressure sensor except that it measures pressure relative to some fixed pressure rather than the ambient atmospheric pressure (which varies according to the location and the weather).

Page 65: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Pressure SensorPressure-sensing technologyThere are two basic categories of analog pressure sensors.Force collector types These types of electronic pressure sensors generally use a forcecollector (such a diaphragm, piston, bourdon tube, or bellows) to measure strain (ordeflection) due to applied force (pressure) over an area.•Piezoresistive strain gauge

Uses the piezoresistive effect of bonded or formed strain gauges to detect strain dueto applied pressure. Common technology types are Silicon (Monocrystalline), Polysilicon Thin Film, Bonded Metal Foil, Thick Film, and Sputtered Thin Film. Generally, the strain gauges are connected to form a Wheatstone bridge circuit tomaximize the output of the sensor. This is the most commonly employed sensingtechnology for general purpose pressure measurement. Generally, thesetechnologies are suited to measure absolute, gauge, vacuum, and differentialpressures.

•CapacitiveUses a diaphragm and pressure cavity to create a variable capacitor to detect straindue to applied pressure. Common technologies use metal, ceramic, and silicondiaphragms. Generally, these technologies are most applied to low pressures(Absolute, Differential and Gauge)

Page 66: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Pressure Sensor•Electromagnetic

Measures the displacement of a diaphragm by means of changes in inductance(reluctance), LVDT, Hall Effect, or by eddy current principle.

•PiezoelectricUses the piezoelectric effect in certain materials such as quartz to measure the strainupon the sensing mechanism due to pressure. This technology is commonlyemployed for the measurement of highly dynamic pressures.

•OpticalTechniques include the use of the physical change of an optical fiber to detect straindue to applied pressure. A common example of this type utilizes Fiber Bragg Gratings. This technology is employed in challenging applications where the measurement maybe highly remote, under high temperature, or may benefit from technologiesinherently immune to electromagnetic interference. Another analogous techniqueutilizes an elastic film constructed in layers that can change reflected wavelengthsaccording to the applied pressure (strain).[1].

•PotentiometricUses the motion of a wiper along a resistive mechanism to detect the strain causedby applied pressure.

Page 67: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Pressure Sensor – Where they are usedPressure sensingThis is where the measurement of interest is pressure, expressed as a force per unit area

Altitude sensingThis is useful in aircraft, rockets, satellites, weather balloons, and many other applications. All these applications make use of the relationship between changes in pressure relative to the altitude.

Flow sensingThis is the use of pressure sensors in conjunction with the venturi effect to measure flow. Differential pressure is measured between two segments of a venturi tube that have a different aperture. The pressure difference between the two segments is directly proportional to the flow rate through the venturi tube. A low pressure sensor is almost always required as the pressure difference is relatively small.

Level / depth sensingA pressure sensor may also be used to calculate the level of a fluid. This technique is commonly employed to measure the depth of a submerged body (such as a diver or submarine), or level of contents in a tank (such as in a water tower). For most practical purposes, fluid level is directly proportional to pressure

P = pressure, ρ = density of the fluid, g = standard gravity, h = height of fluid column above pressure sensor

p = 101325 (1 - 2.25577 10-5 h)5.25588 ; p[Pa], h[m]

Page 68: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Pressure Sensor – Where they are usedLeak testingA pressure sensor may be used to sense the decay of pressure due to a system leak.

•Ratiometric Correction of Transducer OutputPiezoresistive transducers configured as Wheatstone bridges often exhibitratiometric behavior with respect not only to the measured pressure, but also thetransducer supply voltage.

where:is the output voltage of the transducer.is the actual measured pressure.is the nominal transducer scale factor (given an ideal transducer supply

voltage) in units of voltage per pressure.is the actual transducer supply voltage.is the ideal transducer supply voltage.

Correcting measurements from transducers exhibiting this behavior requiresmeasuring the actual transducer supply voltage as well as the output voltage andapplying the inverse transform of this behavior to the output signal:

Page 69: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Electric Current, Electric PotentialHall effect sensor

A Hall effect sensor is a transducer that varies its output voltage in response to a magnetic field. Hall effect sensors are used for proximity switching, positioning, speed detection, and current sensing applications.In its simplest form, the sensor operates as an analogue transducer, directly returning a voltage. With a known magnetic field, its distance from the Hall plate can be determined. Using groups of sensors, the relative position of the magnet can be deduced.Electricity carried through a conductor will produce a magnetic field that varies with current, and a Hall sensor can be used to measure the current without interrupting the circuit. Typically, the sensor is integrated with a wound core or permanent magnet that surrounds the conductor to be measured.Frequently, a Hall sensor is combined with circuitry that allows the device to act in a digital (on/off) mode, and may be called a switch in this configuration. Commonly seen in industrial applications such as the pictured pneumatic cylinder, they are also used in consumer equipment; for example some computer printers use them to detect missing paper and open covers. When high reliability is required, they are used in keyboards.

Page 70: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Electric Current, Electric PotentialHall effect sensor

The Hall effect comes about due to the nature of the current in a conductor.

For a simple metal where there is only one type of chargecarrier (electrons) the Hall voltage VH is given by

where I is the current across the plate length, B is the magneticfield, d is the depth (thickness) of the plate, e is the electroncharge, and n is the charge carrier density of the carrierelectrons. The Hall coefficient is defined as

where j is the current density of the carrier electrons, and is the induced electric field. In SI units, this becomes

Page 71: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Magnetic SensorsMagnetic Sensor

Active (emitting)Metal detectorsFollows metallic strips on or under the floorMagnetometerMagnetic Resonance Imaging (MRI)

Passive (sensors only)CompassMagnetic field sensor (→oscillating current)

Wheatstone bridge configuration that converts magnetic fields into a millivolt output. These wheatstone bridges are passive components that don’t emit any fields or broadband noise.

Resolution: The magnetic sensors feature very low noise floors for their size. Typical resolution ranges from 27 to 120 microgauss (for HMC).

*reference 15

Page 72: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Magnetic SensorsMRI

Magnetic resonance imaging (MRI), nuclear magnetic resonance imaging(NMRI), or magnetic resonance tomography (MRT) is a medical imaging technique used in radiology to visualize detailed internal structures. MRI makes use of the property of nuclear magnetic resonance (NMR) to image nuclei of atoms inside the body.

An MRI machine uses a powerful magnetic field to align the magnetization of some atomic nuclei in the body, and radio frequency fields to systematically alter the alignment of this magnetization. This causes the nuclei to produce a rotating magnetic field detectable by the scanner—and this information is recorded to construct an image of the scanned area of the body. Magnetic field gradients cause nuclei at different locations to rotate at different speeds. By using gradients in different directions 2D images or 3D volumes can be obtained in any arbitrary orientation.

Page 73: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

Yrd. Doç. Dr. Aytaç Gören

Magnetic and Radio SensorsMRI

Page 74: W08 Sensors and Measurement (2/2) - deu.edu.trkisi.deu.edu.tr/aytac.goren/ELK2018/h8.pdf · ... secondary output variation ... controls the current flow through it. Thus, more light

76• Yrd. Doç. Dr. Aytaç Gören

Thanks,Assist. Prof. Dr. Aytaç Gören.

References for this week1. Practical Applications of Statistical Methods in the Clinical Laboratory, Roger L.

Bertholf, Ph.D., DABCC, 2. http://www.ladyada.net/learn/sensors/pir.html3. Mechatronics Principles and Applications, Godfrey C. Onwubolu4. THE MECHATRONICS H A N D B O O K, E d i t o r - i n - C h i e f, Robert H. Bishop5. http://www.transtekinc.com/products/LVDT.html6. http://www.electronics-tutorials.ws7. www.ab.com/catalogs8. http://www.doc.ic.ac.uk/~nd/surprise_97/journal/vol4/jmd/9. Sensors, Prof. A. Mason10. Electrical and Electronic Systems – Pearson Educaton Ltd.11. http://www.coilgun.info/theory/phototransistors.htm12. Design Realization lecture 18, John Canny.13. Wikipedia14. http://www.flowmeters.com/ufm/index.cfm?task=magnetic15. http://www.magneticsensors.com/magnetic-sensor-components.php