Analogue Inputs and Processing

Slides:



Advertisements
Similar presentations
Analog to Digital Conversion (ADC)
Advertisements

Analog-to-Digital Converter (ADC) And
Lecture 17: Analog to Digital Converters Lecturers: Professor John Devlin Mr Robert Ross.
Digital to Analogue Conversion Chapter 13. Why is conversion needed? Most signals in the world are analogue. Microprocessors and most computers computers.
Digital to Analogue Conversion
Digital to Analog and Analog to Digital Conversion
Announcements Assignment 8 posted –Due Friday Dec 2 nd. A bit longer than others. Project progress? Dates –Thursday 12/1 review lecture –Tuesday 12/6 project.
Lecture 9: D/A and A/D Converters
ECEN 301Discussion #24 – DAC1 Conversion Luke 22:32 32 But I have prayed for thee, that thy faith fail not: and when thou art converted, strengthen thy.
Analogue to Digital Conversion
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 26.1 Data Acquisition and Conversion  Introduction  Sampling  Signal Reconstruction.
EE174 – SJSU Lecture #4 Tan Nguyen
Analogue and Digital Data Analogue Data Water flowing down a stream is uncountable.  Data obtained by measurement is called continuous/analogue data.
Digital Signal Processing (DSP) Fundamentals. Overview What is DSP? Converting Analog into Digital –Electronically –Computationally How Does It Work?
Computer Data Acquisition and Signal Conversion Chuck Kammin ABE 425 March 27, 2006.
Digital to Analog Converters
Number Systems.
Digital-to-Analog & Analog-to- Digital Conversion Anuroop Gaddam.
Digital to Analog Converters (DAC) 1
1 Sensors and Measurements Penderia & Pengukuran ENT 164 Signal Processing Elements Hema C.R. School of Mechatronics Engineering Northern Malaysia University.
Engineering Lecture1: Logic Circuits & Concepts about basic Electrical Engineering Devices by Christin Sander.
A little bit of exercise.. ;). Exercise Given to you are some binary to decimal examples : Given to you are some binary to decimal examples : Tens Units.
Digital-to-Analog Analog-to-Digital Microprocessor Interface.
Instrumentation (AMME2700) 1 Instrumentation Dr. Xiaofeng Wu.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
Digital to Analog Converters (DAC) 2 ©Paul Godin Created March 2008.
ECE 353 Introduction to Microprocessor Systems Michael G. Morrow, P.E. Module #7 Assessment Quiz.
Digital Electronics and Computer Interfacing Tim Mewes 5. Computer Interfacing – DAQ cards.
Analogue to Digital Conversion © D Hoult analogue signal © D Hoult 2011.
DATA REPRESENTATION: SOUNDS GCSE Computing. Learning Objective ■ To understand how sounds are represented in Binary ■ To be able to convert a sound wave.
ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ (22Δ802) Β΄ ΕΞΑΜΗΝΟ Καθηγητής Πέτρος Π. Γρουμπός  Ώρες Γραφείου: Τετάρτη Πέμπτη Παρασκευή 11:00- 12:00 Γραφείο: 1.
EKT 314/4 WEEK 9 : CHAPTER 4 DATA ACQUISITION AND CONVERSION ELECTRONIC INSTRUMENTATION.
Task 2: Define digital and analogue signals
Lecture Notes / PPT UNIT III
Analog-Digital Conversion. Other types of ADC i. Dual Slope ADCs use a capacitor connected to a reference voltage. the capacitor voltage starts at zero.
Networked Embedded Systems Sachin Katti & Pengyu Zhang EE107 Spring 2016 Lecture 13 Interfacing with the Analog World.
Electronic Devices and Circuit Theory
Residential Audio & Video Systems Copyright © 2005 Heathkit Company, Inc. All Rights Reserved Presentation 15 – Digital Audio and Video.
Digital to analog converter [DAC]
MECH 373 Instrumentation and Measurements
3.3 Fundamentals of data representation
Digital-to-Analog Analog-to-Digital
What is a DAC? A digital to analog converter (DAC) converts a digital signal to an analog voltage or current output DAC.
Lesson Objectives Aims You should be able to:
Analog-Digital Conversion
ENEL 111 Digital Electronics
EI205 Lecture 13 Dianguang Ma Fall 2008.
Digital Electronics Jess 2008.
Base ‘b’ number for i = 0 to n – 1 for an n digit quantity
Principles & Applications
COUNTING IN BINARY Binary weightings 0 x x x x 8
29th Oct Review Session 8.
ECE-L304 Lecture 3.
Analog to Digital Converters Electronics Unit – Lecture 7
Lecture Number 4 Siemens S7.
Engineering 4862 Microprocessors Lecture 25
Analogue to Digital Conversion
Chapter 3: Pulse Code Modulation
Digital Concepts for PLCs
Lesson 8: Analog Signal Conversion
Digital to Analog Converters (DAC)
Lecture Number 5 Siemens S7.
Conversation between Analogue and Digital System
Data Representation and Organization
Analog-to-digital converter
COUNTING IN BINARY Binary weightings 0 x x x x 8
Recap In previous lessons we have looked at how numbers can be stored as binary. We have also seen how images are stored as binary. This lesson we are.
Chapter 7 Converters.
 Both data about the physical world and control signals sent to interact with the physical world are typically "analog" or continuously varying quantities.
ENEL 111 Digital Electronics
Presentation transcript:

Analogue Inputs and Processing Lecture Number 6 Analogue Inputs and Processing

In this session… In this session, you will learn about analogue inputs and how they are processed in the PLC

Learning outcomes At the end of this session you should be able to: Understand the difference between and analogue input and digital input Understand how to develop and utilise scaling equations

Analogue Inputs and Sampling

Digital to Analogue Conversion R2R Ladder The R2R Ladder is a common system used to generate an analogue output from a Digital value.

Digital to Analogue Conversion R2R Ladder The output of the R2R Ladder is given by this equation. The device is called a Digital to Analogue Converter (DAC).

Analogue to Digital Converter An Analogue to Digital Converter (ADC) is used to take an analogue value and convert it to a number which represents the original analogue quantity. This process is called Quantisation.

Analogue to Digital Converter The system below is one way this can be achieved.

Analogue to Digital Converter This is an example of a 4 Bit Ramp Compare ADC

Sampling An analogue signal has an infinite number of discrete states.  

Sampling In order to represent the whole signal in a computer we need to take ‘samples’ of the signal  

Sampling The sampling rate and resolution on the ADC greatly affects the quality of the sampled signal.  

Analogue to Digital Converter ADC’s and DAC’s are categorised mainly in terms of the word length of the binary output. Commonly word lengths of: 8 bit 12 bit 14 bit 16 bit are used

Quantisation The process of converting a signal from analogue to digital is called Quantisation. This formula can be used to determine the data value that represents the quantity being measured.

Quantisation Example If a 12 bit ADC is used to measure the weight of product in a process, given the following data: Weight Range : 0-1000kg ADC : 12bit If the current weight is 280kg, the digital value generated is calculated as follows:

Quantisation Example Now remember how a ADC works. The value is basically the count in a counter. Therefore, we cannot have decimal places in the quantised result. The rounding process depends on the type of ADC. Rounding down, the ADC value is: For this system 1146 represents 280kg

Quantisation Exercise Determine the digital value for a system that measures flow of liquid in a process given the following data: Flow Rate Range : 0 – 350 lmin-1 ADC : 8 bit Current Flow Rate : 245 lmin-1

Quantisation Exercise What calculation would you use to calculate the flow rate in a computer?

Quantisation Resolution Since the minimum change in the data is 1 bit (1 lsb). The resolution of the system can be defined as:

Quantisation Resolution Exercise Determine the Resolution of both a 8 bit and 14 bit ADC.

Industrial Standards Signals -10 ~ +10V 0 ~ 10V 4 ~ 20mA - Preferred Standard 0 ~20mA

Summary You should now have an understanding of how to implement analogue inputs on the PLC.