microprocessor based system design -...

23
MICROPROCESSOR BASED SYSTEM DESIGN BY PROF. DR. B. S. CHOWDHRY Lecture # 03 - 04

Upload: vancong

Post on 17-Mar-2018

228 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

MICROPROCESSOR BASED SYSTEM DESIGN

BY

PROF. DR. B. S. CHOWDHRY

Lecture # 03 - 04

Page 2: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

Microprocessor / Microcontroller based

Biomedical application Projects

Microprocessor based ECG ambulatory(walking or Moving) monitoring

and plotter system

Monitoring of electrocardiograph and body temperature using bio-telemetry

Microcontroller based medical strip detection and diverting system

Electronic spirometer for the detection of respiratory abnormalities

Sensing and transmission of heart beats

Photoplethysmograph for cardiovascular measurement and assessment

Embedded based telemetry ECG Monitoring system

Automated ambulance detection and gate control

Design and development of cost effective infant incubator for use in rural areas

Microprocessor based blood/ glucose drip-rate controller

Page 3: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

( CONT….)Microprocessor / Microcontroller

based Biomedical application Projects

Microcontroller based Heartbeat Monitor with LCD Display

Accelerometer Based Gesture Recognisation For Wheel Chair Direction Control

uP-Based Eyepupil detection and Iris recognition system

A prototype of an integrated blood pressure and electrocardiogram device for multi-parameter physiologic monitoring

Accurate segmentation of ultrasound images using the motion cue

Automatic Ranking of Eye Movement in Electro oculographic Records

EMG-Based Control of a Robot Arm Using Low-Dimensional Embedding

Feature Level Fusion of Speech and Face Image based Person Identification System

Hospital Automation RFID-Based Technology Stored In Smart Cards

Investigation of sleep stages identification with time-scale based parameters

Page 4: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

( CONT….)Microprocessor / Microcontroller based Biomedical application Projects

Microcontroller controlled ECG simulator

Real Time ECG Measurement and Visualization on Mobile Biotelemetric Monitoring Stations

Toward Unconstrained Ear Recognition From Two-Dimensional Images

Wearable Obstacle Avoidance Electronic Travel Aids for Blind

uP-Based versatile drop foot stimulator for research applications

Anesthesia Machine Model With AEP Simulator

Automatic Anesthesia feeder controller with respiratory system using Heart beat Sensor

uP-Based Digital Blood Pressure Monitor Using Oscillometric method

Page 5: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

( CONT….)Microprocessor / Microcontroller based Biomedical application Projects

Digital pulmonary function test using Microcontroller (DPFT)

DsPIC Based Automated Peritoneal Dialysis with PC Interface

ECG Recording on a Bed During Sleep

Finger Plethysmograph for glucometry

Microcontroller based Hand Talk using Flex sensors with voice indication.

Hand Talk-Assistive Technology for the Dumb

Heart rate measurement by optical method (Photoelectric)

uP-Based Eye Ball movement Detector

ICU Care Taker-Life Support System using RF with BP Monitoring

PC Based Medicare System for Hospital Automation

Page 6: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

( CONT….)Microprocessor / Microcontroller based Biomedical application Projects

Microcontroller Based Standalone Temperature Measurement System

Microprocessor Based Monitoring system for premature babies

Multichannel Missing Event Detector with Voice Indication

PC Based body Temperature measurement and control

Microcontroller Based Respiration rate monitor (using piezoelectric sensor)

Page 7: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

Literature on specific microprocessor contains several common features.

Typical data sheets contain information on:

Microprocessor Architecture: No. of registers (ACC, IR, PC, SP) Address bus/Data Bus Size Control Unit, ALU Flags.

Instruction Set: Listing of operation μP can perform LDA. STA, ADD, MOV, JSR, BRA, JMP, LSL, ANDA, ROR, SWI.

The Microprocessor Data Sheet

Page 8: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

Minimal System Using this μP: How other devices are connected with μP ? E.g. Minimal system containing MPU, ROM, RAM, I/O Port, Clock, Address Decoder, Power Supply.

(Either separate IC is used to perform each function or some time μP itself has got most of these facilities on a single chip e.g.

Control Signals: R/W, CS, Interrupts, (These signal directs other IC’s e.g RAM, ROM Ports when to operate).

Pin Functions: Address pins, data pins, control pins, Power supply, Clock I/P, Interrupts, serial data I/O.

The Microprocessor Data Sheet (Cont.)

Page 9: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

MC 6800 Microprocessor

Introduced in Mid-1970s. Typically used in Microcomputer Systems &

Industry. It is a 8-bit Microprocessor. It comes in 40 pins DIP. It operates at 1 MHz clock. Faster versions are also available e.g. MC 68A00 same processor operates at 1.5 MHz.

MC 68B00 same processor operates at 2 MHz. Enhanced version 6802 is more preferable as it

has 128 bytes on chip RAM, and built in clock circuitry.

Page 10: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

INTEL 8080/8085 MICROPROCESSOR

8080 Microprocessor was introduced in 1974.

8080 Microprocessor became one of the world’s most widely used Microprocessor in the industry.

It is an 8-bit microprocessor, 40 pin DIP.

Intel 8085 is enhanced version of 8080 microprocessor.

Page 11: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

INTEL 8080/8085 MICROPROCESSOR

i) It integrates the clock, system control, & Interrupt priorities with in microprocessor IC.

ii) It operates on single +5v supply.

Uses same instruction set as of 8080 microprocessor (72 instructions of 8080 +2 additional instructions SID, SOD).

Operates upto 10MHz clock.

Built in serial data transfer facilities within microprocessor.

Page 12: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture
Page 13: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

6800 ARCHITECTURE Program Counter: Program Counter is 16-bit register

that always hold the address of next instruction to be executed.

Stack Pointer: Stack Pointer is 16-bit register that keeps the track of next available memory location in the stack.

Index Register: Index Register is 16-bit register used to point to and modify the address.

Accumulator Register: Accumulator Register hold the data for manipulation.

Condition Code Register: CCR is 8-bit register that contain the six flags.

Instruction Register: It is special purpose register to hold the opcode of instruction fetched from memory.

Arithmetic Logic Unit: ALU perform addition, subtraction, comparing etc.

Page 14: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

PIN FUNCTION OF 6800 MICROPROCESSOR

HALT: When we active this pin processor will stop.

CLOCK: These input pins receive non-overlapping clock signals from external system clock circuitry.

IRQ: The microprocessor can be interrupted from the normal execution of instruction and asked to execute some other instruction.

VMA: It signals other system devices that the address on the address bus is valid.

NMI: It is non maskable interrupts.

Page 15: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

PIN FUNCTION OF 6800 MICROPROCESSOR

BUS AVAILABLE: BA control line provide a method of telling internal devices that the microprocessors data and address buses are three stated and may be used for such things as DMA operation.

POWER (VCC): Power supply pin.

ADDRESS LINES: Address line are used for select a certain memory locations.

DATA LINE: These lines are used to transfer the data.

R/W: Signals an external device whether the microprocessor is reading or writing.

DBE: Use for enable or disable data lines.

TSC: TSC pin is used with DMA configuration.

RESET: Used for initialize the system.

Page 16: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture
Page 17: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture
Page 18: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture
Page 19: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture
Page 20: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture
Page 21: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

8086 Data Sheet

Page 22: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

8086 Data Sheet

Page 23: MICROPROCESSOR BASED SYSTEM DESIGN - …engrmhb.weebly.com/uploads/2/1/2/0/21204222/lect_3-4_03-06-2013.pdf · Microprocessor based ECG ambulatory ... Accelerometer Based Gesture

Memory Address Calculations