1 4-Integrating Peripherals in Embedded Systems (cont.)

Slides:



Advertisements
Similar presentations
MOTION CONTROL ECE 105 Industrial Electronics Engr. Jeffrey T. Dellosa College of Engineering and Information Technology Caraga State University Ampayon,
Advertisements

Pulse Width Modulation and Motor Control
Embedded Systems Design: A Unified Hardware/Software Introduction 1 Chapter 3: Standard Single Purpose Processors - Peripherals.
Basic DC Motor Circuits
EECS 373: Design of Microprocessor-Based Systems Timers, count, capture and PWM Some material from Thomas Schmid, Mark Brehob.
1 4-Integrating Peripherals in Embedded Systems (cont.)
1. Output signal alternates between on and off within specified period Controls power received by a device The voltage seen by the load is directly proportional.
L.
ATtiny2313 Timers/Counters CS-423 Dick Steflik. What Do You Use Timers For? Timing of events (internal or external)‏ Scheduling Events Measuring the width.
COMP3221: Microprocessors and Embedded Systems Lecture 20: Analog Output Lecturer: Hui Wu Session 2, 2004.
Standard Single Purpose Processors: Peripherals. This Week In DIG II  Timers and counters  Watchdog timers  UART (Universal asynchronous receiver /
DC-DC Converters Convert a fixed DC Source into a Variable DC Source
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
SENIOR DESIGN 10/16.
Embedded Systems Design: A Unified Hardware/Software Introduction 1 Chapter 4 Standard Single Purpose Processors: Peripherals ECE 4330 Embedded System.
Pulse Width Modulation Professor: Dr. Miguel Alonso Jr.
Spectrum Analyzer Ray Mathes, Nirav Patel,
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
Pulse Width Modulation (PWM) LED Dimmer Circuit
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
CIRCUITS, DEVICES, AND APPLICATIONS Eng.Mohammed Alsumady
DARPA Digital Audio Receiver, Processor and Amplifier Group Z James Cotton Bobak Nazer Ryan Verret.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Chapter 4 Standard Single Purpose Processors: Peripherals
ENGR 6806 – Motor Control Prepared By: Rob Collett September 15, Office: EN2074.
IV. Implementation system by Hardware Fig.3 Experimental system.
PWM Circuit Based on the 555 Timer. Introduction In applications LED Brightness Control we may want to vary voltage given to it. Most often we use a variable.
Pulse Width Modulation (PWM). 100% Pulse Width Modulation (PWM) 0% On the chipKIT there are 490 periods per second. Use analogWrite(pin, value) to control.
Al-Najah National University
STEPPER MOTORS Name: Mr.R.Anandaraj Designation: Associate. Professor Department: Electrical and Electronics Engineering Subject code :EC 6252 Year: II.
CCP MODULES  The CCP module (Capture/Compare/PWM) is a peripheral which allows the user to time and control different events.  Capture Mode provides.
By Tony Hoff ECE 4220 – Real Time Embedded Computing University of Missouri - Columbia Course Instructor: Dr. Guiherme DeSouza.
Embedded Systems Design: A Unified Hardware/Software Introduction 1 Chapter 4 Standard Single Purpose Processors: Peripherals.
Microprocessors Tutorial 2: Arduino Robotics. Agenda 1. Robot Anatomy 2. Sensor Review 3. PWM 4. MAKE: Fade 5. Motors 6. H Bridge 7. Robot Control library.
Microcontroller Applications ELEC 421 Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
Data Acquisition Device (DAQ) A DAQ is a cool little device that allows you to interface hardware to a computer. Here is what we will do:  Create a square.
1 4-Integrating Peripherals in Embedded Systems (cont.)
PULSE WIDITH MODULATION EE 587 Presented by Viswanadha Kakarlapudi.
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
DC motor principles Speed control Direction Stepper motor principles
1 4-Integrating Peripherals in Embedded Systems (cont.)
Module 8 Tutorial  An 8086 system is used for controlling the speed of a motor. The motor can operate at 5 different speeds (1- 5).  The speed.
1 4-Integrating Peripherals in Embedded Systems. 2 Introduction Single-purpose processors  Performs specific computation task  Custom single-purpose.
-AT91SAM7X256 – Pulse Width Modulation YoonMo Yeon
Status Report #2 GPS-Navigated Autonomous Vehicle February fif, 2007 Purpose: To implement a fastest route algorithm in a GPS enabled vehicle. Prepared.
UOP ECT 246 Week 7 iLab Switching Transistors and Optical Devices Check this A+ tutorial guideline at
Generators, Motors, and AC Power
Application Case Study Christmas Lights Controller
Introduction to Motors, servos and steppers
MICROCONTROLLER AND INTERFACING
EKT124 Digital Electronics 1 Introduction to Digital Electronics
Timers and Event Counters
Motor Control Solutions
LED Driving Basics (for non-CCC type displays)
Dimming Function – Pulse-width Modulation (PWM)
Microcontroller Applications
High Performance Low Cost Low Lost Wireless DC Motor Speed Control
Pulse Width Modulation (PWM) Motor Feedback - Shaft Encoder
CBC Fundamentals Lecture is based on material from Robotic Explorations: A Hands-on Introduction to Engineering, Fred Martin, Prentice Hall, 2001.
Motor Control Solutions
EECS 373: Design of Microprocessor-Based Systems
UNIT 19 PWM 로봇 SW 교육원 조용수.
Computer Science & Engineering Electrical Engineering
Chapter 4 Standard Single Purpose Processors: Peripherals
Chapter 4 Standard Single Purpose Processors: Peripherals
UNIT 11: RC-SERVOMOTOR CONTROL
Robotics System Lecture 11_12: DC Motor
Chapter 4 Standard Single Purpose Processors: Peripherals
Chapter 4 Standard Single Purpose Processors: Peripherals
Motor Control Solutions
Presentation transcript:

1 4-Integrating Peripherals in Embedded Systems (cont.)

2 Pulse width modulator clk pwm_o 25% duty cycle – average pwm_o is 1.25V clk pwm_o 50% duty cycle – average pwm_o is 2.5V. clk pwm_o 75% duty cycle – average pwm_o is 3.75V. Generates pulses with specific high/low times Duty cycle: % time high  Square wave: 50% duty cycle Common use: control average voltage to electric device  Simpler than DC-DC converter or digital-analog converter  DC motor speed, dimmer lights Another use: encode commands, receiver uses timer to decode

3 Controlling a DC motor with a PWM The PWM alone cannot drive the DC motor, a possible way to implement a driver is shown below using an MJE3055T NPN transistor. Internal Structure of PWM 8 bit clk_div cycle_high 8 bit Up counter ( 0 – 254) 8-bit comparator controls how fast the counter increments counter < cycle_high, pwm_o = 1 counter >= cycle_high, pwm_o = 0 pwm_o clk Relationship between applied voltage and speed of the DC Motor Check Altera Verilog code for PWM (as a SOPC user logic) DC MOTOR 5V From processor