Results 1 to 8 of 8

Thread: Home made step controler.

  1. #1
    Registered
    Join Date
    Aug 2010
    Location
    Denmark
    Posts
    2
    Downloads
    0
    Uploads
    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
    Registered
    Join Date
    May 2007
    Location
    US
    Posts
    779
    Downloads
    0
    Uploads
    0


  3. #3
    Registered
    Join Date
    Dec 2010
    Location
    South Africa
    Posts
    21
    Downloads
    0
    Uploads
    0
    Do you have a rough/basic circuit diagram to show ?


  4. #4
    Registered
    Join Date
    Aug 2010
    Location
    Denmark
    Posts
    2
    Downloads
    0
    Uploads
    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
    Registered
    Join Date
    Dec 2005
    Location
    Usa
    Posts
    94
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Feb 2007
    Location
    canada
    Posts
    669
    Downloads
    0
    Uploads
    0
    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
    Manufacturer of CNC routers and Viper Servo Drives
    www.LarkenCNC.com and www.Viperservo.com


  • #7
    Registered James Newton's Avatar
    Join Date
    May 2005
    Location
    USA
    Posts
    858
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Feb 2007
    Location
    canada
    Posts
    669
    Downloads
    0
    Uploads
    0
    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
    Manufacturer of CNC routers and Viper Servo Drives
    www.LarkenCNC.com and www.Viperservo.com


  • 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, 12:08 AM
    2. Home made ATC
      By pstockley in forum General Metal Working Machines
      Replies: 21
      Last Post: 11-09-2009, 05:12 PM
    3. Home made EDM
      By RFERG43 in forum General Waterjet
      Replies: 18
      Last Post: 08-29-2007, 07:18 AM
    4. Question on made gecko error reset controler
      By Cudel Frederic in forum Gecko Drives
      Replies: 1
      Last Post: 08-08-2006, 03: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, 06:54 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.