A PRESENTATION ON RELAY, OPTOISOLATOR AND STEPPER MOTOR INTERFACING WITH AVR Prepared By:- Katariya Prakash[130070110027] Kathiriya Shalin[130070110028]

Slides:



Advertisements
Similar presentations
Electricity How do motors work?. Motors A motor takes advantage of electromagnetism If you have two magnets the north end of one will attract the south.
Advertisements

ECE 201 Circuit Theory I1 Electromagnetic Devices.
Driver for Improving the Positioning Accuracy of Step Motors Eugen Ioan GERGELY, Alexandru GACSÁDI, Zoltán Tamás NAGY, Laura COROIU, Helga SILAGHI, Viorica.
L.
D.C. ELECTRIC MOTORS 1. Motors use the effect of forces on current-carrying conductors in magnetic fields.
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)
Stepper Motors A stepper motor is a “pulse-driven” motor that changes the angular position of the rotor in “steps” Define –β = the step angle (per input.
Actuators Instructor: Shuvra Das Mechanical Engineering Dept. University of Detroit Mercy.
Stepper Motors Jason Wells. Background Brushless, synchronous electric motor Brushless, synchronous electric motor No feedback necessary (open loop) No.
Stepper Motors A stepper motor is a “pulse-driven” motor that changes the angular position of the rotor in “steps” Define –β = the step angle (per input.
Electric Motor By Princess Barcega APG School Powerpoint hosted on Please visit for 100’s more free powerpoints.
DC Motors The stator is the stationary outside part of a motor. The rotor is the inner part which rotates. Just as the rotor reaches alignment, the brushes.
DC Motors, Stepper Motors, H-bridges DC Motors Stepper Motors Motor Control Circuits – Relays – H-bridges.
1 Motors & Motor Controllers ECE AC or DC Motors AC –Few robots use AC except in factories –Most of those that use AC first convert to DC DC –Dominates.
Stepper Motor. Stator Rotor Full Stepping Energizing one coil at a time is known as running the motor in 'full steps'. In a 200 step motor, this.
1LAKSHMI.B.E.. Full step -clock 2LAKSHMI.B.E. Full step –anti clock 3LAKSHMI.B.E.
ELECTRIC MOTORS An Introduction to DC and Stepper Motors.
10/13/20151 University of North Carolina-Charlotte INTRODUCTION TO DIGITAL ACTUATORS (Stepper and Servo Motors) Gurunath Athalye.
Instrumentation & Control Engg. Section Electrical Engineering Department Ahmedabad , Gujarat.
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.
Motors & Motor Drivers ECE 450.
Syafruddin Hasan. STEPPER MOTOR Stepper motors are device that rotate by discrete incremental steps The primary advantage:  they can be controlled almost.
STEPPER MOTORS Name: Mr.R.Anandaraj Designation: Associate. Professor Department: Electrical and Electronics Engineering Subject code :EC 6252 Year: II.
What Makes an Electric Motor Work? The Science and Technology Behind Electric Motors.
The Electric Motor. Motors  A motor is a rotating device which converts electrical energy into mechanical energy.  A d.c. motor operates from d.c. only.
MOTORS. Definition Of Motor That powered by electricity or internal combustion, that supplies motive power for a vehicle or for some other device. A device.
Stepper motor. Stepper Motor Interfacing Stepper motor is a widely used device that translates electrical pulses into mechanical movement. Stepper motor.
Key ideas 21.2 Application of electromagnetic induction  Electromagnetic induction is used in microphones tape recording and playback generation of electricity.
Stepper motor Interface
STEPPERS AND SERVOS. Types of stepper motors Based on construction Based on construction Variable reluctance Variable reluctance Permanent magnet Permanent.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
The 8051 Microcontroller and Embedded Systems, 2e By Muhammad Ali Mazidi, Janice Gillispie Mazidi, and Rolin D. McKinlay © 2006 Pearson Education, Inc.
INTRODUCTION TO ROBOTICS Part 3: Propulsion System Robotics and Automation Copyright © Texas Education Agency, All rights reserved. 1.
Sitarambhai Naranjibhai Patel Institute Of Technology & R.C.
DC motor principles Speed control Direction Stepper motor principles
Stepper Motor – Types, Advantages And Applications
1 Figure 17.1 A Rotating Electric Machine. 2 Configurations of the three types of electric machines Table 17.1.
Types of Stepper Motors
Fundamentals of Magnetism Automotive Service Technician.
ME 440: Numerically Controlled Machine Tools
Motors & Motor Controllers
Introduction to Motors, servos and steppers
Chapter Electromechanical Systems 6. Chapter Electromechanical Systems 6.
Interfacing circuit of Unipolar Stepper with 8051
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
Microprocessors Stepper Motor
AC and DC motors.
Reluctance Motor The reluctance motor is an electric motor in which torque is produced by the tendency of its moveable part to move to a position where.
Stepper motor.
STEPPER MOTOR  Introduction  Construction  Operating Principle  Application Prepared By: Nagendra Kumar & Atul Gautam.
ECGR-6185 Advanced Embedded Systems
MC3479P Stepper Motor and Stepper Motor IC
Simulation things to note…
17.3 Electric Motors and Generators
Output Relay, Optoisolator, and Stepper motor interfacing with AVR
Magnetism & Electromagnetism
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.
DC Motors The stator is the stationary outside part of a motor. The rotor is the inner part which rotates. Just as the rotor reaches alignment, the brushes.
Stepper Motors By Brian Tomiuk, Jack Good, Matthew Edwards, Isaac Snellgrove November 14th, 2018.
Electromagnetic Devices
Simulation things to note…
Stepper Motors A stepper motor is a “pulse-driven” motor that changes the angular position of the rotor in “steps” Define β = the step angle (per input.
Relay, Optoisolator, and Stepper Motor Interfacing
Relay, Optoisolator, and Stepper Motor Interfacing
Figure PIC18 Connection to Relay
Relay, Optoisolator, and Stepper Motor Interfacing
Magnetism from Electricity 18.2
-Shweta Dubey.
Presentation transcript:

A PRESENTATION ON RELAY, OPTOISOLATOR AND STEPPER MOTOR INTERFACING WITH AVR Prepared By:- Katariya Prakash[ ] Kathiriya Shalin[ ] Maulik Vasaiya[ ] Kishan Mer[ ] Submitted To:- B. V. M. Engineering College

Interfacing Relays with AVR  What is Relay? A relay is an electromagnetic switch operated by a relatively small electric current that can turn on or off a much larger electric current.electromagneticelectric The heart of a relay is an electromagnet (a coil of wire that becomes a temporary magnetwhen electricity flows through it).magnet

 How does it Work? When current flows through the coil, a magnetic field is created around the coil(the coil is energized), which causes the armature to be attracted to the coil. The armature’s contact acts like a switch and closes or opens the circuit. When the coil is not energized, a spring pulls the armature to its normal state.

 The contacts can be normally open(NO) or normally closed(NC).  In "normally open" (NO) relay: the contacts in the second circuit are not connected by default, and switch on only when a current flows through the magnet.  In "normally closed" (NC; the contacts are connected so a current flows through them by default) and switch off only when the magnet is activated, pulling or pushing the contacts apart.

Driving a Relay  Digital systems and microcontroller pins lack sufficient current to drive the relay. While the relay’s coil needs around 10mA to be energized, the microcontroller’s pin can provide a maximum of 1- 2mA current.  For this reason, we place a driver, such as the ULN2803, or a power transistor between the microcontroller and the relay as shown in figure-1.

Assembly program for relay Interfacing LDI R16,0X5F OUT SPH,R16 LDI R16,LOW OUT SPL,R16 SBI DDRB,0 BEGIN: SBI PORTB,0 RCALL DELAY_1s CBI PORTB,0 RCALL DELAY_1s RJMP BEGIN DELAY_1s: …………… RET

Interfacing Optoisolator with AVR  What is Opto-isolator? An optoisolator (also known as optical coupler, optocoupler and opto-isolator) is a semiconductor device that uses a short optical transmission path to transfer an electrical signal between circuits or elements of a circuit, while keeping them electrically isolated from each other. The solid state relay has an opto-isolator at its input.

 Controlling a Lamp via an Opto-isolator:-

Interfacing Stepper Motor with AVR  A stepper motor is a device that translates the electrical pulses to mechanical movement. It is used in applications like robotics, printers, disk drives for position control.  Stepper motors have a permanent magnet rotor surrounded by a stator.  Generally the stepper motors have four stator windings that are paired with a common center tap as shown in figure:

 The current flowing in the stator is responsible for direction of rotation. As the direction of current is changed, the polarity is also changed causing the reverse motion of the stepper motor.  The stepper motor has 6 leads, 4 leads representing four stator winding and 2 leads for 2 common for the center tapped leads.  There are many sequences for rotation. Each sequence has a different degree of precision.

 The below table showing the 2 phase 4 step stepping sequence.  Although we can start with any sequence, we must continue in proper order. E.g. if we start with step 2 then the sequence of steps is 3,4,1 etc. StepWinding A1 Winding A2 Winding A3 Winding A Counter Clockwise Clockwise

 Step Angle:- Step angle is defined as the minimum degree of rotation associated with a single step. Stepper motor step angles: The total number of steps required to rotate one complete rotation of 360 is called as steps per revolution. Step angleSteps per revolution

Types of Stepper motor  Depending on the number of connections to the motor there are three types of stepper motor. They are: 1) Universal stepper motor 2) Unipolar stepper motor 3) Bipolar motor

 A universal stepper motor has 8 connections, a unipolar stepper motor has 6 connections and bipolar stepper motor has 4 connections.  The bipolar motor can be configured for bipolar mode only.  The unipolar motor can be configured as unipolar or bipolar mode.  And universal stepper motor can be used in any of the three modes.

AVR Interfacing to Stepper Motor  The four leads of the stator winding are controlled by port D bits PD0-PD3. The AVR doesn’t have sufficient current to drive the stepper motor windings. Hence, a driver like ULN2003 is required to energize the stator.

Assembly program for stepper motor Interfacing LabelInstructionComments LDI R16,$5FInitialize stack OUT SPH,R16Pointer higher byte LDI R16,$08Initialize stack OUT SPL,R16Pointer low byte LDI R16,$FFPort D is OUT DDRD,R16Output port LDI R16,$66Load step sequence L2:OUT PORTD,R16PORTD=R16 LSR R16Shift right BRCC L1If carry≠1 skip next ORI R20,$08 L1:RCALL DELAY RJMP L2 DELAY:……RET