element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Power & Energy
  • Technologies
  • More
Power & Energy
Forum Why PWM generate circuit can not adjust the duty cycle to 10%?
  • Blog
  • Forum
  • Quiz
  • Documents
  • Polls
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 13 replies
  • Subscribers 288 subscribers
  • Views 1860 views
  • Users 0 members are here
  • duty
  • pwm
  • led
  • cycle
  • dimming
Related

Why PWM generate circuit can not adjust the duty cycle to 10%?

Jason
Jason over 15 years ago

I have a problem when I am debuging. My PWM generate circuit can not adjust the duty cycle to 10%! It just 46% when I modulate Rp_Potentiometer.SCH.jpg

 

But I have checked the circuit by a software called EWB and the follow images are test result.

 

1 R_potentiometer =100k Ohm  100%

   Duty cycle=10%

image

 

2 R_potentiometer =100k Ohm   50%

   Duty cycle=50%

image

 

3 R_potentiometer =100k Ohm      0%

   Duty cycle=90%

image

 

Why? Can anyone tell me why!

  • Sign in to reply
  • Cancel
Parents
  • albertosombri
    albertosombri over 15 years ago

    Hi guys,

     

    first of all, which kind of op amp are you using?

    Which is the value of the resistor connected to the anti-parallel diods?

    Try to shunt this resistor.

     

    Usually the output resistance of any op amp, is quite low, and uP doesn't need to be drived with high current, so I don't think an emitter follower could be a solution.

    In your SW simulation, try to add a scope probe on the capacitor, the real core of the oscillator, and check what happen!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jason
    Jason over 15 years ago in reply to albertosombri

    Hi, Alberto

     

    My AMP is LM311 Fairchild, and resistor connected to the anti-parallel diods is 10k Ohm--R7, the Potentiometer RP=0~100K Ohm.

    I try to change the value of R7, it only cause the change of output frequency, the duty cycle can not adjust to 10%.

    The following images is the photo of capacitor waveform.

     

    1,RP_Potentiometer=0%  Duty=90%

    image

    2,RP_Potentiometer=25%  Duty=70%

    image

    3,RP_Potentiometer=50%  Duty=51%

    image

    4,RP_Potentiometer=75%  Duty=30%

    image

    5,RP_Potentiometer=100%  Duty=9%

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Jason
    Jason over 15 years ago in reply to albertosombri

    Hi, Alberto

     

    My AMP is LM311 Fairchild, and resistor connected to the anti-parallel diods is 10k Ohm--R7, the Potentiometer RP=0~100K Ohm.

    I try to change the value of R7, it only cause the change of output frequency, the duty cycle can not adjust to 10%.

    The following images is the photo of capacitor waveform.

     

    1,RP_Potentiometer=0%  Duty=90%

    image

    2,RP_Potentiometer=25%  Duty=70%

    image

    3,RP_Potentiometer=50%  Duty=51%

    image

    4,RP_Potentiometer=75%  Duty=30%

    image

    5,RP_Potentiometer=100%  Duty=9%

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • albertosombri
    albertosombri over 15 years ago in reply to Jason

    The mathematics that rule the frequency of the oscillator, is function of C and the equivalent resistance of R7 and potentiometer.

    So in order to regulate the duty around 1% and 99% you have to adjust the time of charge and discharge of the capacitor.

    When the potentiometer is at 0 position the charge of the capacitor is ruled only by the R7.

    This resistance is just 10% of the potentiometer, and this ratio is just the maximum or the minimum of your duty cycle.

    Teorically, in this calculation, we have to take in account also the resitance of the diods.

     

    So, try to modify the capacitor value *10 and the potentiometer value 1/10, then put an R7 around 100 ohm, the frequency should remain the same, and you will be able to regulate from 1% to 99%.

     

    I believe a real circuit with a real scope will be much better instead SW emulation.

    Other capacitor is needed on the mid point of the two 100K resistor, and GND.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube