Pulse widith modulation ee 587 presented by viswanadha kakarlapudi
This presentation is the property of its rightful owner.
Sponsored Links
1 / 14

PULSE WIDITH MODULATION EE 587 Presented by Viswanadha Kakarlapudi PowerPoint PPT Presentation


  • 29 Views
  • Uploaded on
  • Presentation posted in: General

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

Download Presentation

PULSE WIDITH MODULATION EE 587 Presented by Viswanadha Kakarlapudi

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Pulse widith modulation ee 587 presented by viswanadha kakarlapudi

PULSE WIDITH MODULATIONEE 587Presented byViswanadha Kakarlapudi


Overview

Overview

  • Introduction

  • Implementing 16-Bit PWM Using the PCA

  • 16-Bit PWM Using the On-Chip Timer

  • How Servos Work

  • References


Introduction

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 PCAIntroduction to PCA (Programmable Counter Array)


Implementing pwm using pca 8 bit pwm

Implementing PWM Using PCA8-Bit PWM


Implementing pwm using pca 8 bit pwm1

Implementing PWM Using PCA8-Bit PWM

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


16 bit pwm using the pca

16-Bit PWM Using the PCA


16 bit pwm using the pca1

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

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 timer1

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 timer2

16-Bit PWM Using an On-Chip Timer


How servos work

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 work1

How Servos Work


References

References

  • www.cygnal.com/appnotes

  • www.brookshiresoftware.com


  • Login