CCP vs power control PWM


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    May 2007
    Location
    Area 71
    Posts
    52

    Default CCP vs power control PWM

    If 3 hardware pwm output needed and we have to choose between a 16F737 ( 3 ccp pwm ) and a 18F2431 ( 6 channel/ 3 pair power control pwm )

    Which one is better ? Why ?

  2. #2
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Red face

    The 18F2431 has a specialiced PWM-modul for motor-control. 3 PWMs can control 6 Output-Pins for high- and low-side.
    The PWM can produce normal PWMs or center-justified-PWMs. The frequency of the device can be very high to produce fine PWMs...
    The 18F2431 has very fast ADC !

    The 18F-devices have a better RAM-organisation.
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by luminas View Post
    Which one is better ? Why ?
    The POWER CONTROL PWM MODULE can have ... "Up to 14-bit resolution, depending upon the PWM period."

    That makes it "better" to me.
    <br>
    DT

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    What are your requirements for the PWM signal?

    Will it be used for motor control or something else?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    May 2007
    Location
    Area 71
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    Thanks guys

    I am experimenting with both PICs , both system run well as expected

    Beside those hardware specific features, is the CPU utilization lower with power control pwm compared to ccp pwm ?

    Is there something like " windows task manager " for PIC to see the CPU load ?


    Bruce:
    It is a motor control with 20 kHz pwm freq.

  6. #6
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    PWM is hardware based so once it's configured & enabled it doesn't require CPU overhead
    to continue. Only when you make changes to duty-cycle or frequency.

    For motor control I would definitely prefer the 18F2431 with additional built-in safety
    options like fault inputs and dead-band. The 16F737 only has standard CCPx type PWM
    outputs. The 2431 would be a lot better choice in my opinion.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  7. #7
    Join Date
    May 2007
    Location
    Area 71
    Posts
    52


    Did you find this post helpful? Yes | No

    Default

    Thanks Bruce, I will go with 2431. Have a nice day !

Similar Threads

  1. Half-bridge PWM with a 16F684 ?
    By Byte_Butcher in forum General
    Replies: 7
    Last Post: - 17th January 2010, 22:18
  2. Variable PWM PIC18F2431
    By trr1985 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th June 2009, 06:03
  3. Voltage monitor and PWM control
    By StoneColdFuzzy in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th May 2009, 16:11
  4. Transistor selection, PWM fan control
    By 124C41 in forum Schematics
    Replies: 5
    Last Post: - 22nd December 2008, 15:33
  5. MOSFET control using PWM & 16C711?
    By droptail in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 27th June 2005, 02:24

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