Applications of PPI Stepper Motors- D/A - A/D - Temperature Sensor.

Slides:



Advertisements
Similar presentations
INPUT-OUTPUT ORGANIZATION
Advertisements

Chapter 13 Shift Registers
PROGRAMMABLE PERIPHERAL INTERFACE -8255
Dr A Sahu Dept of Computer Science & Engineering IIT Guwahati.
Chapter 10 Input / Output Organization CS 147 Yueyang Zhou.
8255 – PROGRAMMABLE PARALLEL
Lecture 07: 8255 PPI Chip. The 80x86 IBM PC and Compatible Computers Chapter PPI Chip PPI: Programmable Parallel Interface (so it is an I/O.
82C55 82C55 Programmable Peripheral Interface Interfacing Part III.
- Microprocessor - Programming 8255 Mode 1 (slide ) Prepared by: Mahmoud Abdullah Mahdi (33)
The 8085 Microprocessor Architecture
L.
Aliasgar Kutiyanawala1 Stepper Motors – An Overview Aliasgar Kutiyanawala Utah State University.
Stepper Motors. Motors coils of conductive wire magnetic fields rotational motion –except for linear induction motor everywhere from the very large (LRT)
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
Stepper Motors Jason Wells. Background Brushless, synchronous electric motor Brushless, synchronous electric motor No feedback necessary (open loop) No.
kashanu.ac.ir Microprocessors 10-1 IO Devices Stepper Motors DAC, ADC, PPI Lec note 10.
I/O devices Peripheral devices (also called I/O devices) are pieces of equipment that exchange data with a CPU Examples: switches, LED, CRT, printers,
GURSHARAN SINGH TATLA PIN DIAGRAM OF 8085 GURSHARAN SINGH TATLA
Chapter 10 Input/Output Interface Circuits and LSI Peripheral Devices
INPUT-OUTPUT ORGANIZATION
University of Tehran 1 Interface Design Omid Fatemi.
Khaled A. Al-Utaibi  Intel Peripheral Controller Chips  Basic Description of the 8255  Pin Configuration of the 8255  Block Diagram.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
BASIC INPUT AND OUTPUT INTERFACING.  8085A communicate with outside world using the I/O devices.  Since memory and I/O devices share the system bus,
Basic I/O Interface A Course in Microprocessor
By, Prof. Tambe S. S. S.N.D. College of Engineering and Research Center Department of Electrical Engineering.
I NTRODUCTION P IN CONFIGARATION O PERATING MODE.
8086/8088 Hardware Specifications Power supply:  +5V with tolerance of ±10%;  360mA. Input characteristics:  Logic 0 – 0.8V maximum, ±10μA maximum;
10/13/20151 University of North Carolina-Charlotte INTRODUCTION TO DIGITAL ACTUATORS (Stepper and Servo Motors) Gurunath Athalye.
January 10, 1999Robotics 1 Copyright Martin P. Aalund, Ph.D. Matrix Order Number of row or columns Rank of Matrix: Order of largest non-zero determinant.
Interfacing Stepper motor to 8051 microcontroller A stepper motor is a special type of electric motor that moves in increments, or steps, rather than turning.
University of Tehran 1 Microprocessor System Design IO Applications Omid Fatemi
Applications of PPI A/D - Temperature Sensor. Analog to Digital.
Syafruddin Hasan. STEPPER MOTOR Stepper motors are device that rotate by discrete incremental steps The primary advantage:  they can be controlled almost.
12/16/  List the elements of 8255A Programmable Peripheral Interface (PPI)  Explain its various operating modes  Develop a simple program to.
PPI-8255.
EE3721 Computer System Principles
Programmable Interrupt Controller (PIC)
UNIT-IV 8255 PPI Various Modes Of Operation Interfacing To 8086.
PROGRAMMABLE PERIPHERAL INTERFACE -8255
Stepper motor. Stepper Motor Interfacing Stepper motor is a widely used device that translates electrical pulses into mechanical movement. Stepper motor.
EE365 - Microprocessors period 26 10/23/00 D. R. Schertz # Parallel Ports.
8255:Programmable Peripheral Interface
STEPPERS AND SERVOS. Types of stepper motors Based on construction Based on construction Variable reluctance Variable reluctance Permanent magnet Permanent.
INTRODUCTION TO ROBOTICS Part 3: Propulsion System Robotics and Automation Copyright © Texas Education Agency, All rights reserved. 1.
DC motor principles Speed control Direction Stepper motor principles
Types of Stepper Motors
Intel 8255A PPI EEE 365 [FALL 2014] LECTURE ATANU K SAHA BRAC UNIVERSITY.
Introduction to Motors, servos and steppers
PROGRAMMABLE PERIPHERAL INTERFACE -8255
Stepper Motor A stepper motor or step motor or stepping motor is a brushless DC electric motor that divides a full rotation into a number of equal steps.
Stepper Motors – An Overview
Diagram of microprocessor interface with IO devices
Stepper motor.
Applied Control Systems
The 8255 Programmable Peripheral Interface
Applied Control Systems
ECGR-6185 Advanced Embedded Systems
Chapter 7 Features and Interfacing of Programmable Devices for 8085 based systems.
PROGRAMMABLE PERIPHERAL INTERFACE -8255
8255.
Stepper motor A stepper motor is a special electrical machine which rotates in discrete angular steps in response to a programmed sequence of input electrical.
Parallel communication interface 8255
Programmable Interval timer 8253 / 8254
Programmable Peripheral Interface
82C55 Programmable Peripheral Interface
X1 & X2 These are also called Crystal Input Pins.
Programmable Interval timer 8253 / 8254
The Programmable Peripheral Interface (8255A)
-Shweta Dubey.
Presentation transcript:

Applications of PPI Stepper Motors- D/A - A/D - Temperature Sensor

Stepper Motors More accurately controlled than a normal motor allowing fractional turns or n revolutions to be easily done Lower speed, and lower torque than a comparable D.C. motor useful for precise positioning for robotics Servomotors require a position feedback signal for control

Stepper Motor Diagram Rotor Alignment

Stepper Motor Step Angles SPR: Steps per Revolution SA: Step Angle (degree) SPS: Steps per second SPS = (RPM * SPR) /60

Stepper Motor Types – Variable Reluctance – Permanent Magnet

Variable Reluctance Motors

This is usually a four wire motor – the common wire goes to the +ve supply and the windings are stepped through The current example is a 30 o motor The rotor has 4 poles and the stator has 6 poles Example

Transient StateStable State

Variable Reluctance Motors To rotate we excite the 3 windings in sequence – W1 – – W2 – – W3 – This gives two full revolutions

Unipolar Motors

Half Cycle Stepping

Full Cycle Stepping

Unipolar Motors (Full) To rotate we excite the 2 windings in sequence – W1a – – W1b – – W2a – – W2b – – This gives two full revolutions

Basic Actuation Wave Forms

Unipolar Motors (Half) The two sequences are not the same, so by combining the two you can produce half stepping – W1a – – W1b – – W2a – – W2b – –

Enhanced Waveforms (Full) better torque more precise control

Unipolar Motors (Enhanced Full) To rotate we excite the 2 windings in sequence – W1a – W1b – W2a – W2b This gives two full revolutions at 1.4 times greater torque but twice the power

Motor Control Circuits For low current options the ULN200x family of Darlington Arrays will drive the windings direct.

Interfacing to Stepper Motors

8255 Control Word

Example (Enhanced Full) Required Sequence: 1100 – 0110 –

Digital to Analog Converter

Example – Step Ramp

Analog to Digital

V in Range

Timing

Interfacing ADC

Example

Temperature Sensor

Printer Connection

IO Base Address for LPT

Printer’s Ports

8255 Mode Definition Summary

Mode 0 Provides simple input and output operations for each of the three ports. – No “handshaking” is required, data is simply written to or read from a specified port. – Two 8-bit ports and two 4-bit ports. – Any port can be input or output. – Outputs are latched. – Inputs are not latched

Mode 1 Basic functional Definitions: – Two Groups (Group A and Group B). – Each group has one 8-bit data port and one 4-bit control/data port. – The 8-bit data port can be either input or output. Both inputs and outputs are latched. – The 4-bit port is used for control and status of the 8-bit data port.

8255 mode 1 (output)

Mode 1 – Control Signals Output Control Signal Definition – OBF (Output Buffer Full F/F). (C7 for A, C1 for B) The OBF output will go “low” to indicate that the CPU has written data out to the specified port. – A signal to the device that there is data to be read. – ACK (Acknowledge Input). (C6 for A, C2 for B) A “low” on this input informs the 8255 that the data from Port A or Port B has been accepted. – A response from the peripheral device indicating that it has read the data. – INTR (Interrupt Request). (C3 for A, C0 for B) A “high” on this output can be used to interrupt the CPU when an output device has accepted data transmitted by the CPU.

Timing diagram for mode1(output)

8255 mode 1 (input)

Mode 1 – Control Signals Input Control Signal Definition – STB (Strobe Input). (C4 for A, C2 for B) A “low” on this input loads data into the input latch. – IBF (Input Buffer Full F/F) (C5 for A, C1 for B) A “high” on this output indicates that the data has been loaded into the input latch; in essence, an acknowledgement from the 8255 to the device. – INTR (Interrupt Request) (C3 for A, C0 for B) A “high” on this output can be used to interrupt the CPU when an input device is requesting service.

Timing diagram for mode1(input)

MODE 2 Basic Functional Definitions: – Used in Group A only. – One 8-bit, bi-directional bus port (Port A) and a 5-bit control port (Port C). – Both inputs and outputs are latched. – The 5-bit control port (Port C) is used for control and status for the 8-bit, bi-directional bus port (Port A).

Mode 2 Output Operations – OBF (Output Buffer Full). The OBF output will go low to indicate that the CPU has written data out to port A. – ACK (Acknowledge). A low on this input enables the tri-state output buffer of Port A to send out the data. Otherwise, the output buffer will be in the high impedance state. Input Operations – STB (Strobe Input). A low on this input loads data into the input latch. – IBF (Input Buffer Full F/F). A high on this output indicates that data has been loaded into the input latch. PinFunction PC7/OBF PC6/ACK PC5IBF PC4/STB PC3INTR PC2I/O PC1I/O PC0I/O