CS/ECE 5780/6780: Embedded System Design

Similar documents
MANTECH ELECTRONICS. Stepper Motors. Basics on Stepper Motors I. STEPPER MOTOR SYSTEMS OVERVIEW 2. STEPPING MOTORS

Note 8. Electric Actuators

AC Motors vs DC Motors. DC Motors. DC Motor Classification ... Prof. Dr. M. Zahurul Haq

MAGNETIC EFFECTS OF ELECTRIC CURRENT

Comprehensive Technical Training

BELT-DRIVEN ALTERNATORS

MECHATRONICS LAB MANUAL

Wheeled Locomotion. Geared Drive Vs. Direct Drive. Driving DC motors. Stepper motors. Open-loop and Closed-loop Control

INTRODUCTION TO SENSORS, TRANSDUCERS & ACTUATORS

Phys102 Lecture 20/21 Electromagnetic Induction and Faraday s Law

Ch 4 Motor Control Devices

Special-Purpose Electric Machines

Lecture 15 Motor Controls & Drives

Magnetism and Electricity ASSIGNMENT EDULABZ. the mere presence of magnet, is called...

Electrical Motor Controls Chapter 4 (Fourth Edition) Chapter 2 (Fifth Edition)

The galvanic separation of the primary or actuating circuit and the load circuits

MOTOR TERMINAL CONNECTIONS

Second Edition. Power Electronics. Devices and Circuits. V. Jagannathan

Physics12 Unit 8/9 Electromagnetism

Systems: Electronics

Lecture Outline Chapter 23. Physics, 4 th Edition James S. Walker. Copyright 2010 Pearson Education, Inc.

2006 MINI Cooper S GENINFO Starting - Overview - MINI

USING WEATHERLINK FOR ALARM OUTPUT Application Note 29

Actuators are the muscles of robots.

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

Hybrid Stepper Motors

INTRODUCTION Principle

Prepared By: Ahmad Firdaus Bin Ahmad Zaidi

QUESTION BANK SPECIAL ELECTRICAL MACHINES

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

Page 1. Design meeting 18/03/2008. By Mohamed KOUJILI

3.0 CHARACTERISTICS E Type CO-4 Step-Time Overcurrent Relay

UNIT 2. INTRODUCTION TO DC GENERATOR (Part 1) OBJECTIVES. General Objective

L. Photo. Figure 2: Types CA-16 Relay (rear view) Photo. Figure 1: Types CA-16 Relay (front view)

Modern Motor Control Applications and Trends Tomas Krecek, Ondrej Picha, Steffen Moehrer. Public Information

Lecture 19 Chapter 30 Faraday s Law Course website:

Update. This week A. B. Kaye, Ph.D. Associate Professor of Physics. Michael Faraday

SPH3U UNIVERSITY PHYSICS

This is the H-bridge in it's off position. All four switches are turned off and no power is provided to the motor.

EMS. 2 A Dual H-Bridge ver 2.0

Question Number: 1. (a)

Electrical Motor Controls (Fourth Edition)

Question 2: Around the bar magnet draw its magnetic fields. Answer:

Handout Activity: HA773

C. Figure 1. CA-16 Front View Figure 2. CA-16 Rear View

1. This question is about electrical energy and associated phenomena.

FARADAY S LAW ELECTROMAGNETIC INDUCTION

ELECTROMAGNETISM. 1. the number of turns. 2. An increase in current. Unlike an ordinary magnet, electromagnets can be switched on and off.

CHAPTER 6 IGNITION SYSTEM

MELLTRONICS DRIVES. Single Phase Regenerative DC Drives ¼ HP TO 7½ HP INSTALLATION OPERATION MAINTENANCE

SECTION 4 ELECTRIC MOTORS UNIT 17: TYPES OF ELECTRIC MOTORS UNIT OBJECTIVES UNIT OBJECTIVES 3/21/2012

Electric Motor Controls BOMA Pre-Quiz

HIGH POWER SOLENOID DRIVER 1

Ledex Drive Electronics and Coil Suppressors

TRAC-3 TENSION READOUT AND CONTROL

Induction motors advantages of induction motors squirrel cage motor

Lecture PowerPoints. Chapter 21 Physics: Principles with Applications, 7th edition, Global Edition Giancoli

CHAPTER 6 INTRODUCTION TO MOTORS AND GENERATORS

1. Which device creates a current based on the principle of electromagnetic induction?

Step Motor. Mechatronics Device Report Yisheng Zhang 04/02/03. What Is A Step Motor?

EXPERIMENT 2 THREE PHASE INDUCTION MOTOR, PART 1

1. What type of material can be induced to become a temporary magnet? A) diamagnetic B) ferromagnetic C) monomagnetic D) paramagnetic

DC Motor and Generator Theory By

Almost 200 years ago, Faraday looked for evidence that a magnetic field would induce an electric current with this apparatus:

Unit 34 Single-Phase Motors

Control Relays Overview

Model Railway Reverse Loops How to automate reversing tracks on your two-rail layout, whether DC, DCC or AC powered

SPH3U1 Lesson 10 Magnetism. If the wire through a magnetic field is bent into a loop, the loop can be made to turn up to 90 0.

This Datasheet for the IC670MDL930. Relay 2A 8 Pt. 6 form A/2 form C Isolated.

Unit 8 ~ Learning Guide Name:

8 Channel 5V Optical Isolated Relay Module

Copyright Notice. Small Motor, Gearmotor and Control Handbook Copyright Bodine Electric Company. All rights reserved.

PHYS 1444 Section 004. Lecture #19. DC Generator Transformer. Generalized Faraday s Law Mutual Inductance Self Inductance. Wednesday, Apr.

Electrical Machines II. Week 5-6: Induction Motor Construction, theory of operation, rotating magnetic field and equivalent circuit

Introduction - Why Brushless? (Cont( Introduction. Brushless DC Motors. Introduction Electromechanical Systems

Induced Emf and Magnetic Flux *

Faraday s Law of Induction III

DMX-A2-DRV Integrated Advanced Step Motor Driver

Permanent Magnet DC Motor Operating as a Generator

Magnetic Effects of Electric Current

STR3. Step Motor Drive. User Manual

MDC Series

TYPE KF UNDER-FREQUENCY RELAY A. Figure 1: Type KF Relay for 60 Hertz without Case. (Front & Rear View.) Front View Rear View

CHAPTER 8: ELECTROMAGNETISM

COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK SUBJECT CODE & NAME : EE 1001 SPECIAL ELECTRICAL MACHINES

Soigeneris. Stepper Motors. Users Manual V1.0

Just what is an alternator?

Electromagnetic Induction

AP Physics B: Ch 20 Magnetism and Ch 21 EM Induction

1 A strong electromagnet is used to attract pins. core. current. coil. pins. What happens when the current in the coil is halved?

MDC V, 30A Brushless Controller. User s Guide L East Orangefair Lane, Anaheim, CA

21.2 Electromagnetism

ABB. Type CRQ Directional Negative Sequence Relay for Ground Protection B 1.0 APPLICATION 2.0 CONSTRUCTION AND OPERATION CAUTION

SSC-JE STAFF SELECTION COMMISSION ELECTRICAL ENGINEERING STUDY MATERIAL ELECTRICAL MACHINES

HSI Stepper Motor Theory

BLDPN30001 Series. 30A Brushless DC Controller. User s Guide E. Landon Drive Anaheim, CA


COM Overcurrent Relay

2.0 CONSTRUCTION AND OPERATION 3.0 CHARACTERISTICS K. CO (HI-LO) Overcurrent Relay

Variable Speed Drives in Electrical Energy Management. Course Content

Transcription:

CS/ECE 5780/6780: Embedded System Design John Regehr Lecture 17: Relays and Motors

Introduction to Relays A relay is a device that responds to a small current or voltage change by activating a switches or other devices. Used to remotely switch signals or power. Input control usually electrically isolated from output. Input signal determines whether switch is open or closed.

Various Relay Configurations

Types of Relays Classic general-purpose relays have EM coils and can switch power. Solid-state relays (SSR) have input-triggered semiconductor switches. Reed relay has an EM coil and can switch low level DC signals. The bilateral switch uses CMOS, FET, or bifet transistors (technically not a relay but behaves similarly).

Types of Relays

Drawing of an EM Relay

Electromagnetic Relay Basics Input circuit is an EM coil with an Iron Core. Output switch includes two sets of silver or silver-alloy contacts (poles). One set is fixed to the relay frame, and other is located at end of leaf spring poles connected to the armature. Contacts held in normally closed position by the armature return spring. When input circuit energizes EM coil, a pull-in force is applied to the armature and normally closed contacts break while normally open contacts are made.

Solid State Relays Developed to solve limited life expectancy and contact bounce problems since they have no moving parts. Also, faster, insensitive to vibrations, reduced EMI, quieter, and no contact arcing. Optocoupler provides isolation between the input circuit (pseudocoil) and the triac (pseudocontact). Signal from phototransistor triggers the output triac so that it switches the load current. Zero-voltage detector triggers triac only when AC voltage is zero, reducing surge currents when triac is switched. Once triggered, triac conducts until next zero crossing.

Solid State Relays

Reed Relays

Solenoids

Pulse-Width Modulated DC Motors DC motor also has frame that remains motionless and an armature that moves in this case in a circular manner. When current flows through EM coil, magnetic force created that causes rotation of the shaft. Brushes positioned between frame and armature used to alternate the current direction through the coil so that a DC current generates a continuous rotation of the shaft. When current removed, shaft is free to rotate. Pulse-width modulated DC motor activated with fixed magnitude current but duty cycle varied to control speed.

Interfacing EM Relays, Solenoids, and DC Motors Interface circuit must provide sufficient current and voltage to activate the device. In off state, input current should be zero. Due to inductive nature of the coil, huge back electromotive force (EMF) when coil current is turned off. Due to high speed transistor switch, there is a large di/dt when the coil is deactivated (activation also but smaller). Voltages can range from 50 to 200V. To protect the driver electronics, a snubber diode is added to suppress the back EMF.

Controlling a Relay with Digital Logic

Relay and Motor Interfaces

Isolated Interfaces

H-Bridge

Isolated H-Bridge with Direction Control

Stepper Motors Very popular due to inherent digital interface. Easy to control both position and velocity in an open-loop fashion. Though more expensive then ordinary DC motors, system cost is reduced as they require no feedback sensors. Can also be used as shaft encoders to measure both position and speed.

Stepper Motors

Simple Stepper Motor Interface

Stepper Motor Sequence PortB A A B B 10 activate deactivate activate deactivate 9 activate deactivate deactivate activate 5 deactivate activate deactivate activate 6 deactivate activate activate deactivate

Stepper Motor Basic Operation

Stepper Motor Basic Operation (cont)

Stepper Motor Basic Operation (cont)

Stepper Motor Basic Operation (cont)

Stepper Motor Basic Operation (cont)

Stepper Motor Basic Operation (cont)

Bipolar Stepper Motor Interface

Slip A slip is when computer issues a sequence change, but the motor does not move. Occurs if load on shaft exceeds available torque of motor. Can also occur if computer changes output too fast. If initial shaft angle known and motor never slips, computer can control shaft angle and speed without position sensor.

Stepper Motor Sequence

Data Structures to Control Stepper Motor const struct State{ unsigned char Out; // Output const struct State *Next[2]; // CW/CCW }; typedef struct State StateType; typedef StateType *StatePtr; #define clockwise 0 // Next index #define counterclockwise 1 // Next index StateType fsm[4]={ {10,{&fsm[1],&fsm[3]}}, { 9,{&fsm[2],&fsm[0]}}, { 5,{&fsm[3],&fsm[1]}}, { 6,{&fsm[0],&fsm[2]}}}; unsigned char Pos; // between 0 and 199 StatePtr Pt; // Current State

Ritual to Control Stepper Motor void Init(void){ Pos = 0; Pt = &fsm[0]; DDRB = 0xFF; }

Helper Functions to Control Stepper Motor void CW(void){ Pt = Pt->Next[clockwise]; // circular PORTB = Pt->Out; // step motor if(pos==199){ // shaft angle Pos = 0; // reset }else{ Pos++;}} // CW void CCW(void){ Pt = Pt->Next[counterclockwise]; PORTB = Pt->Out; // step motor if(pos==0){ // shaft angle Pos = 199; // reset }else{ Pos--;}} // CCW

High-Level Control of Stepper Motor void Seek(unsigned char desired){ short CWsteps; if((cwsteps=desired-pos)<0){ CWsteps+=200; } // CW steps is 0 to 199 if(cwsteps>100){ while(desired!=pos){ CCW(); } } else{ while(desired!=pos){ CW(); } } }

Stepper Motor as Shaft Position Sensor

Timing of Stepper Motor as Shaft Position Sensor

Today Relays Stepper motors