PWM - Dutycycle affecting frequency?


Results 1 to 15 of 15

Threaded View

  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938

    Default PWM - Dutycycle affecting frequency?

    Hi,

    I'm just playing around with PWM (...and PicMultiCalc).

    While making some experiments, I notice that changing the dutycycle will affect the Period's duration (frequency).

    First, I set dutycylce to 127 (=50%). The frequency is 92,24kHz.
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1640&stc=1&d=117939319 7">

    Second, same test at 64 (=25%) dutycycle. The frequency is now 46,02kHz.
    <img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=1639&stc=1&d=117939319 7">

    In my comprehension of PWM, dutycycle would affect only the ratio of the HIGH against the LOW signal.

    Is this okay or am I measuring something wrong?
    Attached Images Attached Images   
    Roger

Similar Threads

  1. SLA battery charging with PWM but which frequency
    By showtime in forum mel PIC BASIC Pro
    Replies: 31
    Last Post: - 13th June 2017, 11:41
  2. Low freq PWM problem
    By ultiblade in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 17th February 2010, 07:09
  3. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  4. PWM 'channels ...what's that all about then!
    By HankMcSpank in forum General
    Replies: 5
    Last Post: - 23rd April 2009, 16:49
  5. Adjusting PWM frequency
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 14th March 2008, 18:12

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts