PULSE WIDITH MODULATION EE 587 Presented by Viswanadha Kakarlapudi.

Slides:



Advertisements
Similar presentations
EMS1EP Lecture 8 Pulse Width Modulation (PWM)
Advertisements

ECE/CS-352: Embedded Microcontroller Systems The Silicon Laboratories C8051F020 Enhanced 8051 Part 5 Other Subsystems.
More fun with Timer/Counters
Programmable Interval Timer
Sistemi Elettronici Programmabili13-1 MULTI OSC + CLOCK FILTER LVD POWER SUPPLY CONTROL 8 BIT CORE ALU PROGRAM MEMORY RAM I2CI2C PORT A SPI PORT B 16-BIT.
Introduction of Holtek HT-46 series MCU
Sequential Logic Design Process A sequential circuit that controls Boolean outputs and a specific time- ordered behavior is called a controller. StepDescription.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
PWM Pulse Width Modulation API  Achieves PWM by cascading 2 timers…  The output of lower order will be fed to input of upper order timer…  The output.
Servo Control Using Analog Signal Obtain “analog” input using analogRead().
Digital to Analog Converters
THANGJAM105/MAPLD1 EFFICIENT FPGA IMPLEMENTATION OF PWM CORE.
Servo Motors # A servo is a motor that you can position at any angle very accurately. # Servos have a limited servo range; most servos have a range of.
L.C. Technology Servo Motor Control / Genie Software
T IMERS - 2. O UTPUT U NIT Each capture/compare block contains an output unit. The output unit is used to generate output signals such as PWM signals.
1 Timing System Timing System Applications. 2 Timing System components Counting mechanisms Input capture mechanisms Output capture mechanisms.
8254 Programmable Interval Timer
7/23 Timers in Coldfire Processor Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee (480)
8253 TIMER. Engr 4862 Microprocessors 8253 / 8254 Timer A.k.a. PIT (programmable Interval Timer), used to bring down the frequency to the desired level.
PIT: Programmable Interval Timer
PWM ECE 4437-EMBEDDED SYSTEMS DR. GLOVER CHRISTOPHER AHN & KHOA VAN.
Timers ELEC 330 Digital Systems Engineering Dr. Ron Hayne
Timer Peripherals.
MCU: Interrupts and Timers Ganesh Pitchiah. What’s an MCU ?
ECE 447 Fall 2009 Lecture 10: TI MSP430 Timers and Capture Modes.
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
EGRE 6311 Midsize Microcontrollers and Microprocessors The 8051 is an example of a small inexpensive microcontroller intended for simple applications.
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Hybrid I/O – Pulses.
1 Lab 5: Controls and feedback. 2 Lab 5: Control and Feedback This embedded system uses the Photo sensor to detect the light intensity of the environment.
Lecture 11: TI MSP430 Timers Compare Modes
Timers.
Arduino Week 2 Lab ECE 1020 Prof. Ahmadi. Objectives 1. Control the rotation of standard servo motor  A standard servo motor is limited in its rotation.
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.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
ECE 447: Lecture 8 Timer System (1). ECE 447: 68HC11 Timer System 1.Generating delays - imposing a specific delay between two points in the program by.
Microprocessoren lesson 6. PWM /motor control/servo.
1 Lecture on Lab 6 Lab 7 Lab 8. 2 Lab 6: Open Loop Controller As you learned in lab 5, there are two kinds of control systems: open loop and closed loop.
CCP MODULES  The CCP module (Capture/Compare/PWM) is a peripheral which allows the user to time and control different events.  Capture Mode provides.
1 68HC11 Timer Chapter HC11 Timer Subsystem Several timing functions: Basic timing Basic timing Real time interrupts Real time interrupts Output.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the analog interfaces.
Embedded Systems Design: A Unified Hardware/Software Introduction 1 Chapter 4 Standard Single Purpose Processors: Peripherals.
1 68HC11 Timer HC11 or HC12: Chapter HC11 Timer Subsystem  Several timing functions: Basic timing Basic timing Real time interrupts Real time.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose This course provides an introduction to the peripheral functions.
1 4-Integrating Peripherals in Embedded Systems (cont.)
#1 of 10 Tutorial Introduction PURPOSE -To explain how to configure and use the Timer Interface Module in common applications OBJECTIVES: -Identify the.
Timer 1 and 2 operation, PWM Principles. Timer 1 Operation.
PWM: Pulse Width Modulation © 2014 Project Lead The Way, Inc.Digital Electronics.
1 68HC11 Timer. 2 68HC11 Timer Subsystem Several timing functions: Basic timing Basic timing Real time interrupts Real time interrupts Output compare.
SGDRS Software System Design Justin A. King WWU EET Senior project 2013.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Seth Schwiethale James Crosetto James Ellison.  square pulse of ms, repeats every 20 ms  It is the same for both steering and acceleration 
Closed Loop Temperature Control Circuit with LCD Display Mike Wooldridge ECE 4330 Embedded Systems.
Servo Motor Control Using Arduino Instructor: Dr Matthew Khin Yi Kyaw.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Team 7 Chaofan Chen Dhruvmin Gandhi Larry Gerhardt Pulse-width Modulation with the TIVA C.
Application Case Study Christmas Lights Controller
Why are Timer Functions Important?
Lecture 10: TI MSP430 Timers and Capture Modes
Demodulation PWM Signal
Timers and Event Counters
V.V.P. ENGINEERING COLLEGE,RAJKOT
Programmable Interval Timer
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.
Pulse-Width Modulation (PWM)
Arduino Week 2 Lab ECE 1020 Prof. Ahmadi.
IMDL Summer 2002 Matthew Chernosky July 11, 2002
Controlling YOUR ROBOT
UNIT 19 PWM 로봇 SW 교육원 조용수.
Hitec HS 303: Robotic Servo Motor
Presentation transcript:

PULSE WIDITH MODULATION EE 587 Presented by Viswanadha Kakarlapudi

Overview  Introduction  Implementing 16-Bit PWM Using the PCA  16-Bit PWM Using the On-Chip Timer  How Servos Work  References

Introduction  Signal Information is encoded in the duty cycle  Input to the PWM implementation is an integer proportional to the duty cycle desired

Implementing PWM Using PCA Introduction to PCA (Programmable Counter Array)

Implementing PWM Using PCA 8-Bit PWM

 Duty cycle can be changed by single 8-bit write to PCAOCPHn

16-Bit PWM Using the PCA

 Duty cycle can be changed by single 16-bit write to the variable PWM

16-Bit PWM Using an On-Chip Timer  The C8051F2xx family SoC’s feature three on- board timers that can be used for PWM generation  The C8051F226-TB features a low-pass filter that can be readily used for the PWM DAC

16-Bit PWM Using an On-Chip Timer  Timer is set to the amount of time the PWM wave is high during one cycle  When the timer overflows, the program vectors to an ISR to take a port pin high or low to produce the PWM wave  The smallest pulse width that can be assigned is 19 clock cycles. The ISR takes 14 cycles to take the PWM wave from high to low

16-Bit PWM Using an On-Chip Timer

How Servos Work  Servos are commanded through PWM signals  In order for the Servo to hold position, the command must be sent every 20ms

How Servos Work

References  