Unit 4 Sensors and Actuators

Slides:



Advertisements
Similar presentations
Analog-to-Digital Converter (ADC) And
Advertisements

EET 2261 Unit 14 INCOMPLETE Analog-to-Digital Conversion (ADC) & Digital-to-Analog Conversion (DAC)  Read.  Homework #13 and Lab #13 due next week. 
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Sensors Interfacing.
Digital to Analogue Conversion
Digital to Analog and Analog to Digital Conversion
Data Acquisition Risanuri Hidayat.
Data Acquisition Concepts Data Translation, Inc. Basics of Data Acquisition.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Shuvra Das University of Detroit Mercy
Khaled A. Al-Utaibi  Digital Vs Analog Signals  Converting an Analog Signal to a Digital One  Reading Analog Sensors with the.
Instrumentation - Introduction 10/9/2013Ohio University - Dr. Cyders1 Engineering measurements are usually taken by some form of transducer. A transducer.
Lecture 9: D/A and A/D Converters
Analogue to Digital Conversion
Interfacing Analog and Digital Circuits
Interfacing with the Analog World Wen-Hung Liao, Ph.D.
Quantization Prof. Siripong Potisuk.
Introduction to Data Conversion
Digital to Analog Converters
Data Acquisition. Data Acquisition System Analog Signal Signal Conditioner ADC Digital Processing Communication.
8/8/2015IENG 475: Computer-Controlled Manufacturing Systems 1 IENG Lecture 11 Sensors, Actuators, and Relay Control Logic.
Computer Based Data Acquisition Basics. Outline Basics of data acquisition Analog to Digital Conversion –Quantization –Aliasing.
Digital-to-Analog & Analog-to- Digital Conversion Anuroop Gaddam.
Digital to Analog Converters (DAC) 1
An Introduction to Real time Systems by Dr. Amin Danial Asham.
1 Sensors and Measurements Penderia & Pengukuran ENT 164 Signal Processing Elements Hema C.R. School of Mechatronics Engineering Northern Malaysia University.
Electronics Involves the use of devices and circuits to control the flow of electric current to achieve some purpose. These circuits contain: Resistors,
DATA ACQUISITION Today’s Topics Define DAQ and DAQ systems Signals (digital and analogue types) Transducers Signal Conditioning - Importance of grounding.
M. Zareinejad 1. 2 Outline # Sensors –––– Sensor types Sensor examples #Actuators Actuator types Actuator examples ––––
ACOE2551 Microprocessors Data Converters Analog to Digital Converters (ADC) –Convert an analog quantity (voltage, current) into a digital code Digital.
1 4-Integrating Peripherals in Embedded Systems (cont.)
©2008 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws as they currently exist.
Encoders What is an encoder? An encoder is a sensor for converting rotary motion or position to a series of electronic pulses.
Digital-to-Analog Analog-to-Digital Microprocessor Interface.
Analog to Digital conversion. Introduction  The process of converting an analog signal into an equivalent digital signal is known as Analog to Digital.
Data Acquisition Systems
Capacitive transducer. We know that : C=kЄ° (A/d) Where : K=dielectric constant Є° =8.854 *10^-12 D=distance between the plates A=the area over lapping.
Data Acquisition ET 228 Chapter 15 Subjects Covered Analog to Digital Converter Characteristics Integrating ADCs Successive Approximation ADCs Flash ADCs.
V. Rouillard  Introduction to measurement and statistical analysis DIGITAL SAMPLING - DIGITISATION Digital sampling is mainly used in data acquisition.
Digital to Analog Converters (DAC) 1 Technician Series ©Paul Godin March 2015.
Lecture 9: Modeling Electromechanical Systems 1.Finish purely electrical systems Modeling in the Laplace domain Loading of cascaded elements 2.Modeling.
PREPARED BY V.SANDHIYA LECT/ ECE UNIT- 3 APPLICATIONS OF OP-AMP 1.
Digital Control CSE 421.
Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric.
M. Zareinejad 1. 2 Outline # Sensors –––– Sensor types Sensor examples #Actuators Actuator types Actuator examples ––––
Analogue to Digital Conversion © D Hoult analogue signal © D Hoult 2011.
Digital-to-Analog Analog-to-Digital Week 10. Data Handling Systems  Both data about the physical world and control signals sent to interact with the.
Introduction to Data Conversion EE174 – SJSU Tan Nguyen.
Digital-to-Analog Analog-to-Digital
Lecture Notes / PPT UNIT III
1 Summary Lecture: Part 1 Sensor Readout Electronics and Data Conversion Discovering Sensor Networks: Applications in Structural Health Monitoring.
Components of Mechatronic Systems AUE 425 Week 2 Kerem ALTUN October 3, 2016.
MECH 373 Instrumentation and Measurements
Microprocessors Data Converters Analog to Digital Converters (ADC)
Introduction to Discrete-Time Control Systems fall
Digital Control CSE 421.
Control System Instrumentation
EI205 Lecture 13 Dianguang Ma Fall 2008.
DIGITAL CONTROL 목 차 1. Introduction to Digital Control System
Introduction to data converters
Introduction to data converters
Analogue to Digital Conversion
Lesson 8: Analog Signal Conversion
EET 2261 Unit 14 INCOMPLETE Analog-to-Digital Conversion (ADC) & Digital-to-Analog Conversion (DAC) Read. Homework #13 and Lab #13 due next week. Quiz.
Digital Control Systems Waseem Gulsher
Conversation between Analogue and Digital System
IENG 475: Computer-Controlled Manufacturing Systems
Chapter 7 Converters.
IENG 475: Computer-Controlled Manufacturing Systems
Presentation transcript:

Unit 4 Sensors and Actuators Sections: Sensors Actuators Analog-to-Digital Conversion Digital-to-Analog Conversion Input/Output Devices for Discrete Data

Computer-Process Interface To implement process control, the computer must collect data from and transmit signals to the production process Components required to implement the interface: Sensors to measure continuous and discrete process variables Actuators to drive continuous and discrete process parameters Devices for ADC and DAC I/O devices for discrete data

Computer Process Control System Transformation Process Continuous and Discrete Parameters Continuous and Discrete Variables Actuators Sensors DAC ADC Computer Controller Output Devices Input Devices

Sensors Transducers Micro-sensors 10-6m Stimulus (s) Signal (S) Physical Medium Sensing Element Conditioning Target Handling Temperature Resistance Voltage Information Transducers Micro-sensors 10-6m

Transfer Function where S = output signal; s = stimulus; and f(s) = functional relationship For binary sensors: S = 1 if s > 0 and S = 0 if s < 0. The ideal functional form for an analogue measuring device is a simple proportional relationship, such as: where C = output value at a stimulus value of zero and m = constant of proportionality (sensitivity)

Example The output voltage of a particular thermocouple sensor is registered to be 42.3 mV at temperature 105C. It had previously been set to emit a zero voltage at 0C. Since an output/input relationship exists between the two temperatures, determine (1) the transfer function of the thermocouple, and (2) the temperature corresponding to a voltage output of 15.8 mV.

Solution 42.3 mV = 0 + m(105C) = m(105C) or m = 0.4028571429 S = 0.4 (s) 15.8 mV = 0.4 (s) 15.8 / 0.4 = s s = 39.22C

Sensors A sensor is a transducer that converts a physical stimulus from one form into a more useful form to measure the stimulus Two basic categories: Analog Discrete Binary Digital (e.g., pulse counter) Ultrasonic (distance) Light (light intensity) Sound (db pressure) Touch

Other Sensors Temperature RFID Barcode Proximity Vision Gyroscope Compass Tilt/Acceleration Etc.

Actuators Hardware devices that convert a controller command signal into a change in a physical parameter The change is usually mechanical (e.g., position or velocity) An actuator is also a transducer because it changes one type of physical quantity into some alternative form An actuator is usually activated by a low-level command signal, so an amplifier may be required to provide sufficient power to drive the actuator

Actuators Signal Processing & Amplification Mechanism Electric Hydraulic Pneumatic Final Actuation Element Actuator Sensor Logical Signal

Types of Actuators Electrical actuators Electric motors DC servomotors AC motors Stepper motors Solenoids Hydraulic actuators Use hydraulic fluid to amplify the controller command signal Pneumatic actuators Use compressed air as the driving force

Stepper motor and Servomotor

Servo Motor

Torque-Speed Curve of a DC Servomotor and Load Torque Plot Torque, T Load Stepper AC Servo DC Servo Operating Points Speed, ω

NXT Mindstorms - Servo Motor

Motor Controllers The POSYS® 3004 (Designed & Made in Germany) is a PC/104 form factor board dedicated to high performance motion control applications with extensive interpolation functionality. The POSYS® 3004 is designed to control up to 4 axes of servo and stepper motors and provides hardware linear, circular, Bit Pattern and continuous interpolation which allow to perform the most complex motion profiles. Update rates per axis do not exist as each axis runs in absolute real-time mode simultaneously which makes these boards to one of the best performing motion controllers for up to 4 axes in the market.

Stepper Motors Step angle is given by: : where ns is the number of steps for the stepper motor (integer) Total angle through which the motor rotates (Am) is given by: where np = number of pulses received by the motor. Angular velocity is given by: where fp = pulse frequency Speed of rotation is given by:

Example A stepper motor has a step angle = 3.6. (1) How many pulses are required for the motor to rotate through ten complete revolutions? (2) What pulse frequency is required for the motor to rotate at a speed of 100 rev/min?

Solution (1) 3.6 = 360 / ns; 3.6 (ns) = 360; ns = 360 / 3.6 = 100 step angles (2) Ten complete revolutions: 10(360) = 3600 = Am Therefore np = 3600 / 3.6 = 1000 pulses Where N = 100 rev/min: 100 = 60 fp / 100 10,000 = 60 fp fp = 10,000 / 60 = 166.667 = 167 Hz

Analog-to-Digital Conversion Sampling – converts the continuous signal into a series of discrete analog signals at periodic intervals Quantization – each discrete analog is converted into one of a finite number of (previously defined) discrete amplitude levels Encoding – discrete amplitude levels are converted into digital code Variable Analogue Signal Discrete Variables 1001 1101 0101 Time

Hardware Devices in Analog-to-Digital Conversion Transformation Process Continuous Variable Sensors & Transducer Multiplexer Amplifer Signal Conditioner Digital Computer Analog Digital Converter Other Signals

Features of an ADC Sampling rate – rate at which continuous analog signal is polled e.g. 1000 samples/sec Quantization – divide analog signal into discrete levels Resolution – depends on number of quantization levels Conversion time – how long it takes to convert the sampled signal to digital code Conversion method – means by which analog signal is encoded into digital equivalent Example – Successive approximation method

Successive Approximation Method A series of trial voltages are successively compared to the input signal whose value is unknown Number of trial voltages = number of bits used to encode the signal First trial voltage is 1/2 the full scale range of the ADC If the remainder of the input voltage exceeds the trial voltage, then a bit value of 1 is entered, if less than trial voltage then a bit value of zero is entered The successive bit values, multiplied by their respective trial voltages and added, becomes the encoded value of the input signal

Example Analogue signal is 6.8 volts. Encode, using SAM, the signal for a 6 bit register with a full scale range of 10 volts.

Resolution Quantisation levels is defined as: where Nq = quantisation levels; and n is the number of bits. Resolution is defined as: where RADC is the resolution of the ADC; L is the full-scale range of the ADC Quantisation generates an error, because the digitised signal is only sampled from the original analogue signal. The maximum possible error occurs when the true value of the analogue signal is on the borderline between two adjacent quantisation levels, in which case the error is half the quantisation-level spacing; this gives us the following for quantisation error (Quanerr): where RADC is the resolution of the ADC.

Example Using an analogue-to-digital converter, a continuous voltage signal is to be converted into its digital counterpart. The maximum voltage range is 25 V. The ADC has a 16-bit capacity, and full scale range of 60 V. Determine (1) number of quantization levels, (2) resolution, (3) the spacing of each quantisation level, and the quantisation error for this ADC.

Solution (1) Number of quantization levels: = 216 = 65,536 (2) Resolution: RADC = 60 / 65,536 -1 =  0.0009155 volts (3) Quantisation error: =  (0.0009155)/2 =  0.00045778 volts

Digital-to-Analog Conversion Convert digital values into continuous analogue signal Decoding digital value to an analogue value at discrete moments in time based on value within register Where E0 is output voltage; Eref is reference voltage; Bn is status of successive bits in the binary register Data Holding that changes series of discrete analogue signals into one continuous signal

Example A DAC has a reference voltage of 100 V and has 6-bit precision. Three successive sampling instances 0.5 sec apart have the following data in the data register: Output Values: Instant Binary Data 1 101000 2 101010 3 101101 E01 = 100{0.5(1)+0.25(0)+0.125(1)+0.0625(0)+0.03125(0)+0.015625(0)} E01 = 62.50V E02 = 100{0.5(1)+0.25(0)+0.125(1)+0.0625(0)+0.03125(0)+0.015625(0)} E02 = 65.63V E03 = 100{0.5(1)+0.25(0)+0.125(1)+0.0625(0)+0.03125(0)+0.015625(0)} E03 = 70.31V

Input/Output Devices Binary data: Contact input interface – input data to computer Contact output interface – output data from computer Discrete data other than binary: Pulse data: Pulse counters - input data to computer Pulse generators - output data from computer