Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Explain pulse width modulation

  1. #1
    Constant Bitrate Lando's Avatar
    Join Date
    Apr 2002
    Posts
    212

    Explain pulse width modulation

    Here's the thing, I building my own custom motorized Xenarc and here is what I need: I have two motors fuctioning together that turn @38rpm, the problem is I only need it to turn at about 5rpm. Now I've read that using pulse width modulation I can slow the motor down to the speed I want but I need a to know if some one can explain how it works to me
    Aut cum scuto, aut in scuto

  2. #2
    Maximum Bitrate kiltjim's Avatar
    Join Date
    Feb 2004
    Location
    PA, USA
    Posts
    805
    Basically, PWM is like turning the motor on, and off really fast. The motor always sees full voltage, but it only sees it a percentage of the time. So, if you turn it on for 10% of a second, it will only move at 10% full speed.

    Get it?

    Its doable if you use an H-bridge setup, for simple Clockwise, and counter clockwise motion.
    2000 Subaru OBS

    Dell P3 @ 900 Mhz
    7" Lilliput TS w/DigitalWW in-dash mount
    80GB External HD

    I am Zero Bitrate....

  3. #3
    Constant Bitrate RPI Geek's Avatar
    Join Date
    Oct 2004
    Location
    Schenectady, NY
    Posts
    175
    First of all, what kinda of motors are they? Stepper? DC?
    Do they go through gears to get down to 38rpm or is that the speed of the main shaft?
    Old plans out the window because of an accident .
    Have: M1-ATX, EPIA M10000, 256MB, 60GB 2.5", slim slot load DVD
    Need: Time, HU integration, ideas for Lilli

  4. #4
    Constant Bitrate Lando's Avatar
    Join Date
    Apr 2002
    Posts
    212
    RPI th motros are DC and as far as I know they are geared. They are here:

    http://www.hobbyengineering.com/SectionM.html

    I'm using the Gear Motor 2 or 3 havent yet decided, but what
    I plan to do is use a L293D Secret Motor Driver along with the a small motor on either side of the screen, then use a power window switch to control the up and down. It's designed with the DVD player behind the xenarc so the screen has to flip forward to load CD's and stuff. L293D Secret Motor Driver has a schematic that explains just how this setup works but because of the certain type of dyslexia I have, I have problem following linear diagrams, so I guess I ve have to find some one to help me put it all together
    Aut cum scuto, aut in scuto

  5. #5
    Constant Bitrate RPI Geek's Avatar
    Join Date
    Oct 2004
    Location
    Schenectady, NY
    Posts
    175
    Ah yes, those are definitely geared motors. 38rpm is an implausibly low speed for a DC motor, so I wasn't sure why you wanted to use PWM (which is really only useful for DC motors). But back to your original post, kiltjim gave a pretty good description.
    Here's an elaboration: imagine this is the voltage going to your motor: ____----____----____---- , alternating between full voltage and zero volts. This would be a 50% duty cycle, because the voltage is at full 50% of the time. A 25% duty cycle would look more like this: ______--______--______--. This happens so fast, and su much faster than the motor can possibly respond to the changes, that it just sees the input as a constant, approximate 50%, 25%, etc of the full voltage. Usually there is a capacitor between the outputs of the PWM circuitry to even out the spikes and drops a little bit.
    I did my best for an explanation from memory, I'd recommend using google to find out more information if you really want to control the motors this way :P
    You could also just find another gearbox to reduce the speed even more.
    Old plans out the window because of an accident .
    Have: M1-ATX, EPIA M10000, 256MB, 60GB 2.5", slim slot load DVD
    Need: Time, HU integration, ideas for Lilli

  6. #6
    Constant Bitrate Lando's Avatar
    Join Date
    Apr 2002
    Posts
    212
    Thanx for the info RPI, do you happen to have a schematic of a circuit (simple as possible)??
    Aut cum scuto, aut in scuto

  7. #7
    Constant Bitrate
    Join Date
    Oct 2002
    Posts
    176
    have a look to start:
    http://www.cpemma.co.uk/pwm.html

  8. #8
    FLAC
    Join Date
    Apr 2001
    Location
    Portland OR
    Posts
    1,242
    If your looking for simple you might just want to try a simple voltage regulator. It will work the same way, it will through away some energy but it is sooooo much easier to build and understand seeing where your coming from here.

    Get yourself a LM317T from radio shack. You'll need a variable resistor and a fixed resistor and thats it.

    Good luck.

    -Jeff
    MPEGBOX - Plexiglass Computer
    www.mpegbox.com

  9. #9
    Maximum Bitrate
    Join Date
    Nov 2004
    Location
    Cali
    Posts
    640
    look up 555 and pulse width modulation, should be cheap.. although you will need an amplifier for that baby, so might not be so cheap after all

  10. #10
    FLAC
    Join Date
    Apr 2001
    Location
    Portland OR
    Posts
    1,242
    Quote Originally Posted by rushnrockt
    look up 555 and pulse width modulation, should be cheap.. although you will need an amplifier for that baby, so might not be so cheap after all
    The dude probably only needs a voltage regulator. (317T) He said that he read that PWM can make it work, but he doesn't want to take circuits with calculas 501. PWM is great if you have a microcontroller drivin it but it isn't the only way to drive a motor slower.
    MPEGBOX - Plexiglass Computer
    www.mpegbox.com

Page 1 of 2 12 LastLast

Similar Threads

  1. Iguidance 2.0 font size is killing me
    By djtrickee in forum GPS
    Replies: 448
    Last Post: 08-26-2005, 08:51 AM
  2. Iguidance reroute problem?
    By samc in forum GPS
    Replies: 17
    Last Post: 10-02-2004, 11:49 PM
  3. Startup pulse fix with Jeff Shutdown Controller
    By moahdib in forum Power Supplies
    Replies: 2
    Last Post: 03-03-2004, 12:51 PM
  4. Need help on power on pulse
    By Jothen in forum Power Supplies
    Replies: 2
    Last Post: 06-04-2002, 09:28 AM
  5. Flamebait : power on pulse
    By marsjell in forum General Hardware Discussion
    Replies: 5
    Last Post: 05-30-2002, 06:07 AM

Bookmarks

Posting Permissions

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