HPWM problem .. pls help!


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    anj's Avatar
    anj Guest


    Did you find this post helpful? Yes | No

    Default

    i just checked the L293D data sheet and it doesnt talk about the limit of 5KHz
    My datasheet ( Unitrode ) doesnt give this limitation either.
    16KHz gives a period of 62.5uS. Fig1 in the application info shows rise/fall times and these are less than 0.5us, so the chip shld cope with 16KHz easily

    Re getting hot, at low duty cycle ( ie just getting started or creeping ), the motor is not very efficient and can draw a lot higher than normal current. For this, the datasheet is indispensable, as these chips do get hot and they do need thermal heatsinking.
    I have done a lot of testing with "small" motors and PWM and found the best low speed performance was at very low period ( I go down to 28Hz for one motor ). I have never tested with larger motors so cant help there.
    If you still want to use a 20MHz osc and HPWM but get a much lower output freq, you can run the signal through a deecade counter typ chip, and just pinch the relevant output that suits yr needs.
    Or i just found this, never tried it but ut looks interesting
    http://www.pbpgroup.com/modules/wfse...hp?articleid=6
    Andrew
    Last edited by anj; - 18th March 2005 at 21:14.

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    L293D Datasheet
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  3. #3
    anj's Avatar
    anj Guest


    Did you find this post helpful? Yes | No

    Default

    Gday
    Interesting.
    I have an original Unitrode datasheet, and a quick search brings up the current texas one http://focus.ti.com/docs/prod/folders/print/l293d.html
    Neither of these specify a 5KHz limit.
    They mention doing their rise/fall time measurements at 5KHz, but thats all.
    Based on the actual rise/fall times ( your link vs texas link ), they appear to be close, so i am at a loss to understand the difference.
    I certainly have run my 293D at higher than 5KHz before.
    Dunno

  4. #4
    Samuel's Avatar
    Samuel Guest


    Did you find this post helpful? Yes | No

    Default 5Khz limit ... hmmm

    Well right now after playing for a whole afternoon with different conbinations of duty cycle and frequency, the HPWM 1, 135, 3000 seems to work well for me .. at high frequencies my motors start doing funny stuff .. I feel this may have to do with the how the 293D is setup. I have my two PWM lines, one going into each of the enable. And then 4 control lines, 2 for each motor. There is another way of setting up, which can reduce the number of lines by using an Inverter. Since this setup is working for me, and i have enough ports on my PIC controller, i'm not gonna try that for now ... I just have to find someway to keep the 293D cool .. Someone suggested to use some kinda paste .. tooth paste??? And then what?
    Last edited by Samuel; - 21st March 2005 at 03:11.

  5. #5
    anj's Avatar
    anj Guest


    Did you find this post helpful? Yes | No

    Default

    Someone suggested to use some kinda paste .. tooth paste???
    Thermal transfer paste ( heatsink paste ). And a big heatsink.

    And then what?
    Go for a dedicated H Bridge using N and P channnel mosfets.
    Using one PWM channel and some pulldown diodes ( from between the gates current limiting resustor and the gate, back to a PIC pin ), you can control where the PWM goes, hence dirn.
    Andrew

  6. #6
    Join Date
    Feb 2006
    Posts
    21


    Did you find this post helpful? Yes | No

    Default mosfet gate drivers

    Micrel makes a very good set of mosfet gate driver chips. Find their data sheets here. http://www.micrel.com/_PDF/mic4423.pdf
    They are dual output, so you would need 2 of them for 4 outputs. Again these will drive N-channel Mosfets (low side is motor to ground connection).

    If you want to use P channel Mosfets on the high side (Motor to power connection), then you'll need some kind of high-side driver like Linear's LT1161, which does all the charge pumping for you.
    Their datasheet is here.

    http://www.linear.com/pc/productDeta...42,C1041,P1387

    Happy motoring!
    The less you expect, the more you get.

Similar Threads

  1. sound command & music
    By trying in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 26th May 2006, 14:14
  2. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43
  3. MCSP Loader Problem pls help
    By Nestyplus in forum General
    Replies: 5
    Last Post: - 17th February 2006, 04:07
  4. problem ont hpwm on the pic16f767!!
    By oscar in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 20th May 2005, 10:41
  5. HPWM Problem
    By Mark Scotford in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th September 2004, 10:40

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