603,874 active members*
7,534 visitors online*
Register for free
Login
IndustryArena Forum > CNC Electronics > CNC Machine Related Electronics > Need a circuit to control a single stepper
Page 1 of 3 123
Results 1 to 20 of 54
  1. #1

    Need a circuit to control a single stepper

    Hi All,

    I'm hoping someone here can help me with a project I am working on. Unfortunately, I don't have any electronic design knowledge. I know how to put together circuits, but I don't understand how to create them. I also have no experience or equipment to program an EPROM or PIC.

    Here is what I need to be able to do.

    The high level goal is to be able to control a single stepper motor with a single circuit that is NOT connected to a computer.

    On a lower level, these are the functions that are absolutely necessary.
    - Speed control (1 rpm to 10 rpms)
    - Capability to flip a switch and run the motor in reverse
    - On/Off switch to Power entire circuit
    - Hold switch to pause the motor but lock it in position by leaving the power to the circuit on (possibly for long periods of time)
    - High torque output on the motor
    - Ability to run for hours at a time without overheating or burning anything out

    These are my "wish list" of functions:
    - The ability to step a certain number of degrees at a time (no fraction of degrees)
    - A switch to control a relay that controls a 110V outlet.
    - Some method similar to a light dimmer to control the voltage going out to the 110V circuit. This 110V circuit drives a small 8000 rpm motor.

    If anyone could either direct me to a circuit that would do most/some of this, or would be willing to help me, I would appreciate it. I would like to avoid having two separate circuit board, and would prefer that it be one board (if this is possible) as I want to put the circut, switches and POTs into as small a project box as I can.

    Thanks in advance!

    Wade

  2. #2
    Join Date
    Jan 2006
    Posts
    121

    Load?

    What kind of a load do you plan on the stepper moving? Also what is the 120V going to operate?

    Jon

  3. #3
    It is slowly rotating the spindle of a type of ornamental lathe that I built. There is not a lot of force as I am only taking about 50/1000th cuts with the cutter at a time out of wood. The 120V is going to be operating what is called a horizontal cutting frame, but basically is an 8000 rpm motor.

    Oh, that's the other thing that I forgot to mention, I need the ability to vary the 120V circuit with something like a light dimmer to allow me to slow down the motor attached to it. I currently do this with a light dimmer that I put in a junction box and it works great. I edited the main post to include this last item as well.

    Wade

  4. #4
    Join Date
    Jan 2006
    Posts
    121

    Still need more information

    Quote Originally Posted by wwendorf View Post
    Hi All,

    I'm hoping someone here can help me with a project I am working on. Unfortunately, I don't have any electronic design knowledge. I know how to put together circuits, but I don't understand how to create them. I also have no experience or equipment to program an EPROM or PIC.
    Do you have a computer with a serial port?


    Here is what I need to be able to do.

    The high level goal is to be able to control a single stepper motor with a single circuit that is NOT connected to a computer.

    On a lower level, these are the functions that are absolutely necessary.
    - Speed control (1 rpm to 10 rpms)
    - Capability to flip a switch and run the motor in reverse
    - On/Off switch to Power entire circuit
    - Hold switch to pause the motor but lock it in position by leaving the power to the circuit on (possibly for long periods of time)
    - High torque output on the motor
    - Ability to run for hours at a time without overheating or burning anything out

    These are my "wish list" of functions:
    - The ability to step a certain number of degrees at a time (no fraction of degrees)
    fixed or variable degrees, if variable how do you want to control it

    - A switch to control a relay that controls a 110V outlet.
    - Some method similar to a light dimmer to control the voltage going out to the 110V circuit. This 110V circuit drives a small 8000 rpm motor.
    hp?


    If anyone could either direct me to a circuit that would do most/some of this, or would be willing to help me, I would appreciate it. I would like to avoid having two separate circuit board, and would prefer that it be one board (if this is possible) as I want to put the circut, switches and POTs into as small a project box as I can.

    Thanks in advance!

    Wade

    Any pictures of it?

    Jon

  5. #5
    Join Date
    Jan 2006
    Posts
    121

    Motor control

    Here's a simple circuit that could be used to control the motor, depending on the size, about 1200 Watt limit.

    Jon
    Attached Thumbnails Attached Thumbnails ckt1.GIF  

  6. #6
    Join Date
    Jul 2005
    Posts
    29

  7. #7
    Wow, this circuit board looks like it might be a start for me.

    http://www.allmotion.com/IntelliINCHDescription.htm

    I will have to check into one of these. It looks like it might have what I need except for the ability to move a certain # of degrees.

    JonLed:
    1) Yes, I have a computer with serial port, but no programmer. I have a friend who has some pic programmers tho.
    2) I need to be able to move it any number of degrees in increments of at least 1 degree. I was thinking along the lines of "push a button X number of times, where X is number of degrees (let's say 10 degrees), then the pushing another button would move it the number of degrees that was entered in via the button (10 degrees)
    3) Here is the info on the motor I use for the cutter: http://www.grainger.com/Grainger/items/2M037 (1/12 HP) or http://www.grainger.com/Grainger/items/2M033 (1/15 HP)
    4) I don't have a pic available right now, but can take some a post some in a few days.

    Wade

  8. #8
    Join Date
    Jan 2006
    Posts
    121
    Quote Originally Posted by wwendorf View Post
    Wow, this circuit board looks like it might be a start for me.

    http://www.allmotion.com/IntelliINCHDescription.htm

    I will have to check into one of these. It looks like it might have what I need except for the ability to move a certain # of degrees.

    JonLed:
    1) Yes, I have a computer with serial port, but no programmer. I have a friend who has some pic programmers tho.
    2) I need to be able to move it any number of degrees in increments of at least 1 degree. I was thinking along the lines of "push a button X number of times, where X is number of degrees (let's say 10 degrees), then the pushing another button would move it the number of degrees that was entered in via the button (10 degrees)
    3) Here is the info on the motor I use for the cutter: http://www.grainger.com/Grainger/items/2M037 (1/12 HP) or http://www.grainger.com/Grainger/items/2M033 (1/15 HP)
    4) I don't have a pic available right now, but can take some a post some in a few days.

    Wade
    So it sounds like you're going to need some sort of display to show how many degrees you're setting it to move.

    http://www.allmotion.com/EZInchdescription.htm looks like it might work.
    You'll have to have some gear reduction, if you want to be able to move exactly in 1 degree increments, since most step motors are 1.8 degree/step.

    I don't do pigs, but if you want to use some sort of 8051, I can help you. There are controllers that you don't need a programmer for, just a serial port.

    Jon

  9. #9
    I don't know if I really need a display. I was thinking along the line of something like this:

    1) Operator decides they want to move in 9 degreee increments.
    2) Operator then positions his start point using forward and reverse.
    3) Operator sets the direction to move.
    4) Operator presses the "1 degree" button 9 times, then performs his cut.
    5) Operator presses the "advance X degrees" button which automatically moves 9 more degrees, and performs his cut.
    6) Repeats steps step 5 until he has completed his cuts.

    Press of the "1 degree" button resets the counter that defines the number of degrees needed to move.

    I don't know if this feasible, just seems pretty simple solution. Maybe a display would be easier, I don't know.

    Also, I have been using a 3:1 gear reduction, actually a timing belt and pulleys, to give me more power from a small motor. I guess I'd like 1 step to be about 1/4th of a degree for better resolution. Thanks for the info on the # of degrees of a step. I forgot about that.

    Wade

  10. #10
    In addition, i'm going to order the IntelliInch as it will let me test a stepper motor in my machine to make sure it has enough power. That will at least get me started with a proof of concept that my idea will work on this machine.

    Wade

  11. #11
    Join Date
    Jan 2006
    Posts
    121

    Drive choice

    Quote Originally Posted by wwendorf View Post
    In addition, i'm going to order the IntelliInch as it will let me test a stepper motor in my machine to make sure it has enough power. That will at least get me started with a proof of concept that my idea will work on this machine.

    Wade
    What is your inclination towards the http://www.allmotion.com/IntelliINCHDescription.htm over the http://www.allmotion.com/EZInchdescription.htm drive? Your decision, just curious.

    Jon

  12. #12
    IntelliInch
    · 4 Function input GO LEFT, GO RIGHT, LEFT LIMIT , RIGHT LIMIT
    · 1 Amp Chopper (PWM) Stepper Driver.
    · MilliOhm FETs allow board to run cool at 100% current
    · Operates from 9V to 30V
    · 1" X 1" X 0.5" Thick
    · 1/16th microstep resolution for smooth motion
    · Move current and speed settable with Potentiometers
    · Auto reduction to 1/3rd move current in hold mode
    · Fully ramped smooth accelerations and speeds
    · Acceleration settable by fixed resistor
    · Hold current automatically selected upon move completion.
    · Accepts TTL Level Inputs.

    EZ Inch
    4 Wire input STEP,DIRECTION,GROUND,POWER
    · 1 Amp Chopper (PWM) Stepper Driver.
    · MilliOhm FETs allow board to run cool at 100% current.
    · Operates from 12V to 30V.
    · 1" X 1" X 0.5" Thick
    · Eighth,Quarter,Half, or Full Step - Dip Switch Selectable.
    . 1/16th microstep resolution special option available.
    · Hold and Move current settable with Potentiometers.
    · Move current automatically selected when step input is active.
    · Hold current automatically selected upon move completion.
    · Accepts 24V or TTL Level Inputs.
    . Upto 25000 pulses per second.

    I guess between the 2, the EZ Inch requires pulses, whereas the IntelliInch appears to just be switch inputs.

    With the EZ Inch I would have to have another circuit to send the pulses. The EZ Inch appears to be the way to go once I could get someones help in designing a program in a chip to handle various inputs and do the degrees stepping I mentioned, but the IntelliInch I could likely have operating in an afternoon by just wiring up some switches.

    I could be wrong (and please correct me if I am) but that is what I see from reading the 2 descriptions.

    Wade

  13. #13
    Join Date
    Jan 2006
    Posts
    121

    Drive Selection

    Looks like there is no way to control how many steps the intelliInch drive does, just the speed at which they occur.

    Jon

  14. #14
    Exactly. So, if I were able to get a circuit built to handle the degrees thing, I would use the EZ Inch. To just do my testing and deal with just speeds and direction, I figured I could use the IntelliInch just to prove that the stepper motor would do what I need it to do.

    Wade

  15. #15
    Join Date
    Jan 2006
    Posts
    121

    budget

    Ok, so it sounds like you're not afraid to spend extra money on your project. By the way I have several IB462 http://www.imshome.com/ib_46x.html I would part with for $50.00 ea. There are several circuits on the net that you can find that use a 555 timer that will output a variable frequency square wave to drive the step input. Like this http://www.electronic-circuits-diagr...torsckt1.shtml

    Jon

  16. #16
    No, I'm definitely not afraid to spend money on this project. I bought an X3 just for making the machine itself, as well as a 8 x 14 metal lathe. I don't even want to count everything else I've spent money on to build the machine itself.

    How much do those controllers sell for new? Reason I ask is because if I can get this circuit running, and it works, I may need to buy more of them to put together a few more controllers.

    Wade

  17. #17
    Join Date
    Jan 2006
    Posts
    121

    Drive Pricing

    Not sure how much they are, but the ones I have are new. They were made for a special application and were bought surplus, I've since added the voltage regulator to restore them to original factory specs. Stepper drives are pretty common. Now I'm going to cut my throat here --> http://www.alltronics.com/cgi-bin/it...er-Motor-Drive

    Jon

  18. #18
    No throat cutting necessary, I appreciate the difference between surplus and new.

    That 555 circuit you pointed out, how would I handle the reversing of the motor and the power being left on when on hold?

    I'm actually intrigued with that chip you mentioned in one of your first posts. What kind of things could you all program it to do? I mean, if I were able to turn a dial to a desired RPM and set a number of degrees to step and have it show up on a display, that would be SO COOL!!!

    Wade

  19. #19
    Join Date
    Jan 2006
    Posts
    121
    Quote Originally Posted by wwendorf View Post
    No throat cutting necessary, I appreciate the difference between surplus and new.

    That 555 circuit you pointed out, how would I handle the reversing of the motor and the power being left on when on hold?
    Direction is just a logic high/low (+5V/GND) same with the enable input, as long as the drive is enabled it will hold it's position.

    I'm actually intrigued with that chip you mentioned in one of your first posts. What kind of things could you all program it to do? I mean, if I were able to turn a dial to a desired RPM and set a number of degrees to step and have it show up on a display, that would be SO COOL!!!

    Wade
    Actually it's not just a chip it's an architecture, there are many manufacturers of 8051/8052 micro controllers and there are just as many variations (different options - ADCs DACs PCAs etc.) Turning a dial to desired RPM, setting the # of degrees, displaying it - no problem. Also many different types of displays to choose from 1x16, 2x16, 2x20 LCDs 7 segment displays. Matter of fact, I have some prototype boards that could be used to run a version of BASIC on an AT89C51-RD2 and then you could program the application in BASIC, since you are a senior programmer, I bet you've done BASIC before. A friend of mine did this --> http://www.efton.sk/basic/index.htm

    Jon

  20. #20
    Wow! I'm seriously intriged now. It all seems to complicated to me tho. I can program huge applications on a computer, and make and program cnc to produce machines, but when it get's to electronics, I just don't get it.

    I've got so many ideas for boards but I don't have the electronics knowledge to implement them. How would I go about getting something like this setup, and how much do you think it would cost for a board?

    Wade

Page 1 of 3 123

Similar Threads

  1. DIY stepper motor control 4A circuit??
    By veenie in forum Stepper Motors / Drives
    Replies: 1
    Last Post: 03-19-2008, 02:04 PM
  2. Circuit to control HP LAserjet Fuser.
    By AlainB in forum CNC Machine Related Electronics
    Replies: 7
    Last Post: 02-16-2008, 05:50 PM
  3. Control Circuit Board Pin ID
    By j-miller.6 in forum Fadal
    Replies: 0
    Last Post: 01-27-2008, 10:00 PM
  4. Wanted DIY stepper driver circuit for 6 wire stepper motors
    By Colin300 in forum Australia, New Zealand Club House
    Replies: 5
    Last Post: 09-21-2007, 03:20 AM
  5. Spindle Control Circuit?
    By boguski.1 in forum DIY CNC Router Table Machines
    Replies: 10
    Last Post: 03-18-2007, 04:24 AM

Posting Permissions

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