Presentation is loading. Please wait.

Presentation is loading. Please wait.

Analogue Inputs and Processing

Similar presentations


Presentation on theme: "Analogue Inputs and Processing"— Presentation transcript:

1 Analogue Inputs and Processing
Lecture Number 6 Analogue Inputs and Processing

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

3 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

4 Analogue Inputs and Sampling

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

6 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).

7 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.

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

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

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

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

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

13 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

14 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.

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

16 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

17 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

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

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

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

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

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


Download ppt "Analogue Inputs and Processing"

Similar presentations


Ads by Google