Request for Advice _
jason udall | 21/10/2014 19:17:52 |
2032 forum posts 41 photos | To all and any.. " my" arduino stepper solution is just a modified version of the stepper.cpp in the arduino library. ..you are welcome my feeble attempts to expand this for 3 and 5 phase with no warranty esp. Since I can't test in your application. . As to micro stepping. .it should be possible but frankly with 2000 steps per rev..it might be redundant.... I don't feel inclined to apply micro stepping to these motors....with two phase motors the vector sum is plausible. .to extend this to five terms....urhg... But the files are there. .maybe you can expand the field... |
jason udall | 21/10/2014 19:23:04 |
2032 forum posts 41 photos | Btw..once wrote a one phase drive for amotor.. 1 phase..single coil... Typicaly used in clocks and watches... ..customer wanted a clock that stretched "time" depending on time of day... 24 hours in a day..but varible seconds to each minute... So time just before lunch or home time slooows... Customers can be odd.. |
jason udall | 31/07/2015 22:30:02 |
2032 forum posts 41 photos | Forgive the necropost I have discovered the canonical stepper.cpp and .h library now included 5 phase drive. Also for 3 phase steppers there exists a single chip solution..stk673-010.. |
Michael Gilligan | 31/07/2015 22:55:25 |
![]() 23121 forum posts 1360 photos | Jason, Thanks for your continued interest. Not sure if I told you, but I contacted the author of that paper that I told you about: He couldn't find the PIC code that he had originally written, but very kindly persuaded one of his students to re-write it for me !! ... This world-wide communication is wonderful, when it gets you in touch with good people. To my shame, I haven't built the driver yet [insert long list of excuses] ... but I have great confidence. MichaelG.
|
jason udall | 31/07/2015 23:54:54 |
2032 forum posts 41 photos | Great when it works.. |
Neil Wyatt | 01/08/2015 17:24:15 |
![]() 19226 forum posts 749 photos 86 articles | For small 4-pole steppers the Polulu boards Michael pointed me at are great. They use an allegro chip and are really easy to drive. Neil |
jason udall | 01/08/2015 21:46:25 |
2032 forum posts 41 photos | Neil..you might find that thouse a4988 polou boards are two phase bipolar. . But yes great value and simple to integrate. . |
Neil Wyatt | 02/08/2015 09:18:46 |
![]() 19226 forum posts 749 photos 86 articles | Sorry, you're right Jason. In fact I have a good stock of 5-wire 4-pole motors and it's annoying that their construction doesn't make it easy to get inside to rewire them Neil |
Michael Gilligan | 02/08/2015 11:42:10 |
![]() 23121 forum posts 1360 photos | Posted by Neil Wyatt on 02/08/2015 09:18:46:
Sorry, you're right Jason. In fact I have a good stock of 5-wire 4-pole motors and it's annoying that their construction doesn't make it easy to get inside to rewire them . Neil, Just for clarity ... My motor is Five Phase ... it has ten wires, and needs a special driver. The various links posted earlier in this thread should explain. MichaelG. |
Roger Woollett | 02/08/2015 12:34:01 |
148 forum posts 6 photos | I hope I am not repeating what has already been said but it seems to me that if you do not want to use microstepping an arduino could be used as the controller with some fairly simple external electronics. I have written my own driver code for a simple four wire motor using this technique. In a five phase motor the sequence of stepping is a bit more complicated. This link shows that each phase (pair of wires) needs to be driven positive, negative or off. Using a standard h-bridge for each pahses means we need 3 arduino pins for each phase. By using a NAND gate for each phase this can be reduced to two. One pin controls the current direction and the other goes to the h-bridge enable. I would be happy to help with the programming. Roger Woollett |
Michael Gilligan | 02/08/2015 12:46:34 |
![]() 23121 forum posts 1360 photos | Roger ... That's very decent of you !! As you will see from the link that I re-posted on 31/07/015, I do have a very clever PIC-based option available ... but I would also be very interested to discover how to drive this by Arduino. Jason has already been great help, but I don't yet have a practical solution. Please send me a P.M. if you are interested in discussing this off-forum. Thanks again MichaelG. |
Roger Woollett | 02/08/2015 14:02:54 |
148 forum posts 6 photos | I have only rudimentary electronics experience so we might need help from the more knowledgable. If I read the datasheet correctly each phase can draw 0.5 amps and the coil resistance is 8 ohms meaning a supply voltage of 4 volts. This suggests to me a power supply of 2.5 amps at 4 volts. This should be within the capabilities of the SN754410 chip I used. We also need to establish the input to the arduino - what logic determines how many steps to take and how fast. I will send a PM. |
jason udall | 02/08/2015 17:41:32 |
2032 forum posts 41 photos | Gentlemen. I restarted this because I had just discovered the UPDATED stepper library for audrino... Now includes a five phase support. . Apart from current control . All you need is five 1/2 h bridge drivers. .. Edited By jason udall on 02/08/2015 17:47:58 |
jason udall | 02/08/2015 17:47:05 |
2032 forum posts 41 photos | Just to add.. the + - and off drive for each coil is achived by either star or "penta" wiring..adjacent phases are joined in the penta ( delta) mode thus driving both ends of a coil +( or -).yields the no drive condition for tgat phase.. |
Michael Gilligan | 02/08/2015 17:55:35 |
![]() 23121 forum posts 1360 photos | Posted by jason udall on 02/08/2015 17:41:32:
Gentlemen. I restarted this because I had just discovered the UPDATED stepper library for audrino... Now includes a five phase support. . Apart from current control . All you need is five 1/2 h bridge drivers. .. . Thanks Jason !! Sorry; I read your note in haste, and hadn't realised the full significance of what you were saying. I already have the 1/2 H-Bridge Drivers in stock ... so just need to get on with it. MichaelG. |
jason udall | 02/08/2015 20:03:45 |
2032 forum posts 41 photos | One caution. .the home made sequencer solution does nothing to control the current through the motor. Typicaly 0.5 ohm coils driven ( in the case of one motor/drive from 48V..). This high voltage and sometimes pulse shaped current limit isto over come the inductance of the motor coil.. its easier to hit 2A in a milli second id you aim for 6 A in 5-10 ms... Any way note some current limit will be needed |
Michael Gilligan | 03/08/2015 10:30:52 |
![]() 23121 forum posts 1360 photos | Posted by jason udall on 02/08/2015 20:03:45:
One caution. .the home made sequencer solution does nothing to control the current through the motor. < etc. > . Thanks again, Jason Wise Words indeed !! I have some useful 'Kensington' 70 Watt Laptop Power Supplies, which can be programmed [with a couple of resistors] to limit both voltage and current. ... Hopefully, one of these will do the trick. MichaelG. . Edit: Added link, for the benefit of fellow dabblers. Edited By Michael Gilligan on 03/08/2015 10:37:35 |
Please login to post a reply.
Want the latest issue of Model Engineer or Model Engineers' Workshop? Use our magazine locator links to find your nearest stockist!
Sign up to our newsletter and get a free digital issue.
You can unsubscribe at anytime. View our privacy policy at www.mortons.co.uk/privacy
You can contact us by phone, mail or email about the magazines including becoming a contributor, submitting reader's letters or making queries about articles. You can also get in touch about this website, advertising or other general issues.
Click THIS LINK for full contact details.
For subscription issues please see THIS LINK.