Data Acquisition Using ARM

32
DATA ACQUISITON USING ARM Project- Seminar DATA ACQUISITON USING ARM

description

this ppt is best for data acquisition system.All important points are included in it

Transcript of Data Acquisition Using ARM

Page 1: Data Acquisition Using ARM

DATA ACQUISITON USING ARM

Project- Seminar

DATA ACQUISITON USING ARM

Page 2: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

Data acquisition is the process of sampling signals that measure real world physical conditions and converting the resulting samples into digital numeric values that can be manipulated. Data acquisition systems abbreviated with the acronym  DAS or DAQ

Page 3: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

 The components of data acquisition systems include:•Sensors

•Signal conditioning

•Analog-to-digital converters

•Display unit

Components of Data Acquisition System

Page 4: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

SIMPLE DAS

Page 5: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

ARM7

TDMI

LPC2148

ARM7

TDMI

LPC2148

Temperature Sensor

Temperature Sensor

Humidity Sensor

Humidity Sensor

Power SupplyPower Supply

16 X 2

LCD unit

16 X 2

LCD unit

MAX-232

IC

MAX-232

IC

ComputerComputer

Block Diagram

Page 6: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

230v AC

mains supply

12v DC Regulated

power supply

Power Supply

Page 7: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

ARM

ARM is a 32-bit reduced instruction set computer (RISC)

Instruction set architecture (ISA) developed by ARM Holdings

It was named the Advanced RISC Machine and, before that, the Acorn RISC

Machine.

On April 26th, 1985, ARM was first developed by Acorn Computers

Page 8: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

Why ARM??

Core Performance-ARM 7 and ARM 9 support 300

MIPS (Million Instructions per Second)

Wide Support

Low Power Consumption

Various special features

Page 9: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

ARM7 TDMI

• The ARM7 TDMI is based on ARM7 Core– 3 Stage Pipeline– Von Neumann Architecture‐T – Thumb instruction SetsD – Includes debug extensionsM – Enhanced Multiplier, yield a full 64-bit resultI – Core has Embedded ICE logic extensions

Page 10: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

Low Profile Quad Flat Pack (LQFP) packages

On-chip static RAM 32kB

On- chip Flash Program memory 512kB

Two 10-bit ADCs provide a total of 14 analog inputs, with conversion times as low as

2.44 μs per channel.

Two 32-bit timers/external event counters (with four capture and four comparechannels each)

USB 2.0 Full-speed compliant device

Features

Page 11: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

Interrupt controller

10-bit DAC

Two UART’S

I2C –bus I/O Controller

SPI controller

SSP Serial I/O controller

Watch Dog timer

Real Time Clock

PWM

Crystal Oscillator 1-25 MHz

Page 12: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

Processor Modes• Unprivileged Mode• Most tasks run on this mode

• Entered when a high priority Interrupt is occurred

• Entered when a low priority interrupt (normal) is occurred

• Entered on Reset• Entered on Software Interrupt

• To handle memory access violations

• To handle un defined instructions‐

• Privileged mode using the same registers as user mode

Page 13: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

• ARM has 37 registers all of which are 32 bits long

1 dedicated Program Counter

1 dedicated Current Program Status Register (CPSR)

5 dedicated Saved Program Status Register (SPSR)

30 General Purpose Register

Registers

Page 14: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

ADC

Page 15: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

Implements Binary search algorithm

Initially, DAC input set to midscale (MSB =1)

VIN < VDAC , MSB remains 1

VIN > VDAC , MSB set to 0

Algorithm is repeated until LSB

End of algorithm, DAC [input] = ADC [output]

N cycles required for N-bit conversion

ADC

Page 16: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

FLOW CHART

Page 17: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

TEMPERATURE SENSOR

LM35

Features

Calibrated directly in ° Celsius (Centigrade)

Linear +10.0 mV/°C

Scale factor is 0.01V/ oC

Rated for full -55° to +150°C range

Less than 60 µA current drain

Low self-heating, 0.08°C in still air

Nonlinearity only ±¼°C typical

Page 18: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

BLOCK DIAGRAM OF TEMPERATURE SENSOR

Page 19: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

Page 20: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

HUMIDITY SENSOR

Capacitive type Humidity Sensor

SY-HC-01

Page 21: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

SPECIFICATION VALUE

Rated Voltage AC 1V max (at 1 KHz)

Rated Power AC 0.26 mW

Operating Temperature 0-60ºC

Operating Humidity 20-95%RH

Storage Temperature -35 ~ 80 ºC

Humidity Accuracy ±5%RH(at 25ºC, 60%RH)

SY-HC-01

Page 22: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

OPERATING RANGE OF SENSOR

Page 23: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

Page 24: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

 Pin No

 Function  Name

1 Ground (0V) Ground2 Supply voltage; 5V (4.7V – 5.3V)  Vcc3 Contrast adjustment; through a variable resistor  VEE

4 Selects command register when low; and data register when high

Register Select

5 Low to write to the register; High to read from the register

Read/write

6 Sends data to data pins when a high to low pulse is given

Enable

7

8-bit data pins

DB08 DB19 DB2

10 DB311 DB412 DB513 DB614 DB715 Backlight VCC (5V) Led+16 Backlight Ground (0V) Led-

Page 25: Data Acquisition Using ARM

Project- Seminar

19-4-2012

Schematic

Page 26: Data Acquisition Using ARM

Project- Seminar

19-4-2012

Convert the data in to ASCIIConvert the data in to ASCIIDisplay the values of temperature in LCD

unit

Display the values of temperature in LCD

unit

StartStart

Initialize LCD and UART

Initialize LCD and UART

Acquire analog values from sensors and

convert them to digital values

Acquire analog values from sensors and

convert them to digital values

Transmit the data (ASCII) through UART 1 to Serial Port of PC

Transmit the data (ASCII) through UART 1 to Serial Port of PC

Flow chart

Page 27: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

Software tools usedKEIL µ-VISION

FLASH MAGIC

HYPER TERMINAL

Page 28: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

APPLICATIONS

General Research

Manufacturing Industries

Food Processing

Monitoring in Buildings

Automotive

Civil Engineering

Environmental Monitoring

Real Time observation

Page 29: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

FUTURE SCOPE

This project can be further implemented through wireless technology.

Wireless is one of the most promising technologies for data acquisition.

Monitoring and control can also be done by including buzzer alarm.

Remote Data acquisition and monitoring is possible.

Page 30: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

CONCLUSION

This project is used for industrial applications for data acquisition and monitoring

of various parameters. By using this ARMLPC2148 microcontroller, this project is

successfully implemented.

It can be used in various industries for constant monitoring over a wide

range of temperature and humidity’s for various purposes. Data logging of values

acquired from serial port to text file can also be done from Hyperterminal where

off-line analysis can be done further using the data acquired.

Page 31: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

?? QUERIES ??

Page 32: Data Acquisition Using ARM

DATA ACQUISITION USING ARM7

Project- Seminar

19-4-2012

THANK YOU THANK YOU