Connect with us

PWM problems

Discussion in 'General Electronics Discussion' started by rob_croxford, Oct 6, 2010.

Scroll to continue with content
  1. rob_croxford

    rob_croxford

    262
    0
    Aug 3, 2010
    Hi all,

    I have designed a program on a pic that aswel as other things outputs a PWM signal from a voltage input. The program works prity much exactly how i want it to with 50% duty cycle being prity much exactly 50% duty cycle.

    My problem is at 0% and 100%. Please see pictures.

    The PWM runs at arrouns 319Hz, the +/- spikes are arround 1us long. will this be a problem in the over all working of the circuit?? can i do ne thing to make sure that at 0% there is 0V and at 100% there is full V??

    Cheers for any help.
    0%.gif

    100%.gif
     
  2. (*steve*)

    (*steve*) ¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd Moderator

    25,294
    2,736
    Jan 21, 2010
    Yep, that's pretty much what you should expect.

    The only alternative is to turn off the PWM signal and drive the output high or low for 100% and 0%. Aesthetically it may be better, but functionally it is likely to make no difference.
     
  3. rob_croxford

    rob_croxford

    262
    0
    Aug 3, 2010
    I thought as much, cheers Steve
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-