587,184 active members*
3,699 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2010
    Posts
    0

    Home made step controler.

    Hello.

    I have build a step controller based on a PIC16F631 running 20 MHz maybe i will upgrade at a later time to a faster PIC it's on the edge of handling micro stepping with the PMW way or i need some optimizations

    OK I found it's max speed at 1200 RPM on a 200 step motor but it's not the controller's fault it's lag of toque.

    Then to my question sometimes my step motors stall even at low RPM (600) and it seems to get worse if i turn up the amps.
    This happens more if it cut's long straight lines. Example if i cut out a 10Cm*10Cm * 1Cm square in 1 mm layers at mm/min it's not likely to do it with out stalling. But if i cut a flower at the same size and speed no problem.

    I have some ideas to why.

    It's based on the 2 Comparators in the PIC controller and TIP120's to create a PMW to set the amount of amps used in the windings. The TIP120's is protected by a zener diode on 96v. Maybe this creates some kind of magnetic field that stops the engine just a bit when it hits the 96v limit?

    Or is it harmonic noise en the windings?

    Or can there be another explanation on the phenomenon?

  2. #2
    Join Date
    May 2007
    Posts
    781

  3. #3
    Join Date
    Dec 2010
    Posts
    0
    Do you have a rough/basic circuit diagram to show ?

  4. #4
    Join Date
    Aug 2010
    Posts
    0
    I think Andre' B is right.
    I have put on a special fly wheel, this gave me 20% extra speed:


    Her is the schematics:

    I'm not sure that the 100pf on step line and on measure line is OK I have left them out so they did not filter out the fast signals on these lines.
    If I'm right then the vreg will cut out if the TIP120's over heat when they are on the same sink.
    I have not tested if the PIC16F631 20Mhz is fast enuf to do micro step.
    It runs the engine in 10Khz PWM based on it's 2 comparators.

    And the layout:

  5. #5
    Join Date
    Dec 2005
    Posts
    94
    Tip 120's are only rated to 60volts.
    tip 121's are rated to 80v and tip 122's are rated to 100v. you likely want to use tip 122's in there in stead of tip 120.
    Also, make sure you are running them at saturation and not in the linear range. ie, use the hfe and calculate out what your maximum current draw through those motors will be and make certain that the base current limiting resistor is properly chosen to ensure that those tips run at saturation and not in the linear range.

  6. #6
    Join Date
    Feb 2007
    Posts
    966
    On your circuit, you may have the RC filter between the sense resistor and the pic wrong. The capacitor should be closer to the pic. (resistor then capacitor)

    I would change the Tip120's to a 5 volt Mosfet for much faster switching.

    Also the higher the PS voltage the more RPM you will get. Be sure to use a High currrent motor (at least rated 3 amps) if you want speed. You can't get a 1-2 amp motor to spin fast unless the voltage is very high.

    How is the microstep precision with your circuit ?

    Larry K

  7. #7
    Join Date
    May 2005
    Posts
    1397
    This is almost certainly mid band resonance. The gecko web page Andre referenced explains it. Look for a hock puck or other damper design to provide a mechanical solution or move to microstepping modes to reduce the ringing. You may want to look at the open source Linistepper PIC design for inspiration:
    PIC Linear Stepper Motor Controller

  8. #8
    Join Date
    Feb 2007
    Posts
    966
    At 1200 Rpm, thats 20 turns/second. Thats faster than you can reliably run a stepper anyway.
    Most people don't run a stepper faster than 10 turns/second, after that they have lost 80% of their rated torque and jam very easy.
    The reason it probably jams more on the straight line, is because it gives it time for a resonance to build. A curve is constantly changing the incoming step frequency and is less prone to resonate.

    Larry K

Similar Threads

  1. My home made CNC .
    By C. J. Hung. in forum DIY CNC Router Table Machines
    Replies: 36
    Last Post: 11-22-2010, 06:08 AM
  2. Home made ATC
    By pstockley in forum Uncategorised MetalWorking Machines
    Replies: 21
    Last Post: 11-09-2009, 11:12 PM
  3. Home made EDM
    By RFERG43 in forum Waterjet General Topics
    Replies: 18
    Last Post: 08-29-2007, 12:18 PM
  4. Question on made gecko error reset controler
    By Cudel Frederic in forum Gecko Drives
    Replies: 1
    Last Post: 08-08-2006, 08:54 AM
  5. Home made CNC mill (and some products made by it)
    By gcamlibel in forum DIY CNC Router Table Machines
    Replies: 23
    Last Post: 04-05-2004, 11:54 PM

Posting Permissions

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