By continuing to use this site, you agree to our use of cookies. Find out more
Forum sponsored by:
Forum sponsored by Forum House Ad Zone

DM542 Stepper driver

All Topics | Latest Posts

Search for:  in Thread Title in  
Peter Bell16/01/2023 14:50:24
399 forum posts
167 photos

I read the recent posts about TB6600 drivers with interest and why there were two 400pulse/rev settings.

On a machine I’m playing around with I’m using a DM542 driver with a Nema 17 motor and it runs cool, smooth etc.

My question.

The DM542 got all the usual multiple pulse/rev settings ie 800, 1600 etc but in addition it has lots of others, see pic (apologises, couldn’t rotate pic?)

These range from 1000 pulses/rev to 25000/rev---are they aimed for a specific use?

I always thought the basic 400, 800 range etc was possible as it used multiples of the stepper motor windings?

Finally, I’ve got a Nema 34 motor I want to drive can anyone recommend a suitable modern driver?

Thanks Peter

img_2046.jpg

Martin Connelly16/01/2023 15:20:46
avatar
2549 forum posts
235 photos

I think the powers of 2 micro-stepping were used because it is an easy thing to do with off the shelf ICs. Plenty of binary dividers/multipliers to choose from. If you design a system from scratch it is not hard to use the same system as used for a VFD where any frequency can be used from the minimum setting to the maximum setting of the VFD. Just set up suitable values in the driver and the switches to select them.

I think any modern driver with the correct voltage and current capacity will drive your stepper motor.

Martin C

Bazyle16/01/2023 15:59:24
avatar
6956 forum posts
229 photos

The high counts are somewhat ephemeral. Stiction in the motor let alone the attached mechanism mean you won't be getting it to move one of those steps at a time, probably not even ten. With a dedicated chip it is a throwaway feature to add and if it suckers in a few extra sales all the better.
Since it is just varying the currents in two windings with a DtoA converter or PWM equivalent the movements are not linear (yeah rotation but you know what I mean) above about 800.

John Haine16/01/2023 17:16:29
5563 forum posts
322 photos

Microstepping works by adjusting the currents by a sine/cosine weighting to make the rotor take up intermediate positions between the "full step" settings. There's no particular reason why the binary weights have to be used - for some purposes something divisible by 3 would be nice! On a couple of TI driver chips you can feed in analogue voltages from an external D/A to drive the microstepping. But the higher counts are more for smoothness than precision.

Your DM542 should work fine with a NEMA 34 motor if you set the current right.

Edited By John Haine on 16/01/2023 17:20:55

SillyOldDuffer16/01/2023 18:54:27
10668 forum posts
2415 photos

Be interesting to measure how accurately a motor steps at 25,000 pulses per revolution. If I understand how they work properly, they might do better than Bazyle's 800 accurate steps per revolution. At least if the load is light.

But my understanding is weak!  I visualise a permanent magnet rotor positioning itself at the average point of magnetism created by two pulse trains in the stator coils, where the average depends on the relative phase of the two pulse trains. As they are generated electronically, their phasing could be miles apart or very close together. My feeling is big and small steps can both be made accurately. But there must be a limit!

What is certain is driving the motor at 25000 pulses per revolution would turn it very slowly. The DM542 datasheet says it has a maximum pulse input of 200kHz, so max speed is 8rpm flat out. At 800 steps per revolution the motor will do 250rpm. Both estimates assume that the input controller can put 200kHz into the DM542, which is a tall order, and that the motor's power supply can respond to high speed high current demands. For this an unregulated supply is better than a fancy regulated one.

Whether 8rpm is good or bad news depends on the application. Stepper motors are popular for driving rotary tables because they accurately step the table through a worm drive giving even more accuracy. 25000 pulses per revolution is bad news for this: As my HV6 clone has a 90:1 worm, an 8rpm motor would take over 11 minutes to turn it once. Life is too short...

Dave

 

 

 

Edited By SillyOldDuffer on 16/01/2023 18:57:17

Andy_G17/01/2023 07:57:04
avatar
260 forum posts
Posted by SillyOldDuffer on 16/01/2023 18:54:27:

The DM542 datasheet says it has a maximum pulse input of 200kHz, so max speed is 8rpm flat out. At 800 steps per revolution the motor will do 250rpm.

SOD's maths are out by a factor of 60

(200kHz at 25k ppr is 480 RPM)

Higher microstepping divisors can help with smoothness and noise reduction, and might have some use in getting smooth rotation at very slow speeds, but I also think that the highest numbers are overkill.

Michael Gilligan17/01/2023 08:07:29
avatar
23121 forum posts
1360 photos

Posted by Andy_G on 17/01/2023 07:57:04:

.

SOD's maths are out by a factor of 60

(200kHz at 25k ppr is 480 RPM)

.

dont know __ Would you trust this man to design a precision clock ?

MichaelG.

Peter Bell17/01/2023 08:40:26
399 forum posts
167 photos

Many thanks for all the replies. Thought there was something basic I'd missed.

Driving it from an Arduino Nano and ended up using 2000ppr as its very smooth and working out at the right speed..

Peter

Howi17/01/2023 10:07:19
avatar
442 forum posts
19 photos
Posted by Michael Gilligan on 17/01/2023 08:07:29:

Posted by Andy_G on 17/01/2023 07:57:04:

.

SOD's maths are out by a factor of 60

(200kHz at 25k ppr is 480 RPM)

.

dont know __ Would you trust this man to design a precision clock ?

MichaelG.

Only time will tell devil

SillyOldDuffer17/01/2023 12:03:24
10668 forum posts
2415 photos
Posted by Michael Gilligan on 17/01/2023 08:07:29:

Posted by Andy_G on 17/01/2023 07:57:04:

.

SOD's maths are out by a factor of 60

(200kHz at 25k ppr is 480 RPM)

.

dont know __ Would you trust this man to design a precision clock ?

MichaelG.

Judging by clock results so far, NO!!!

Forgetting the difference between seconds and minutes is typical of my love-hate relationship with maths. I know how to do the sum, and then miss a simple step.

At least I show the working. One of the best things about the forum for me and everyone else, is my all too obvious mistakes can be spotted and corrected!

It's why I believe engineering is a game best played by teams! Even so it's embarrassing: sackcloth and ashes AGAIN...

Dave

Martin Connelly17/01/2023 14:00:21
avatar
2549 forum posts
235 photos

Dave, do what I do and blame it on autocorrect. You put RPS and the stupid autocorrect changed it to RPM wink

Martin C

Michael Gilligan17/01/2023 14:13:42
avatar
23121 forum posts
1360 photos
Posted by SillyOldDuffer on 17/01/2023 12:03:24:
Posted by Michael Gilligan on 17/01/2023 08:07:29:

dont know __ Would you trust this man to design a precision clock ?

MichaelG.

Judging by clock results so far, NO!!!

.

A very honourable response, Dave … but please don’t go falling on your sword

You’re doing great work and we’re cheering you on !

MichaelG.

Bazyle17/01/2023 14:17:56
avatar
6956 forum posts
229 photos

Anyway this is a mechanical engineering forum (mostly). We should only countenance full stepping generated by a series of cams and microswitches and then make a gearbox to provide the finer resolution devil

All Topics | Latest Posts

Please login to post a reply.

Magazine Locator

Want the latest issue of Model Engineer or Model Engineers' Workshop? Use our magazine locator links to find your nearest stockist!

Find Model Engineer & Model Engineers' Workshop

Sign up to our Newsletter

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

Latest Forum Posts
Support Our Partners
cowells
Sarik
MERIDIENNE EXHIBITIONS LTD
Subscription Offer

Latest "For Sale" Ads
Latest "Wanted" Ads
Get In Touch!

Do you want to contact the Model Engineer and Model Engineers' Workshop team?

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.

Digital Back Issues

Social Media online

'Like' us on Facebook
Follow us on Facebook

Follow us on Twitter
 Twitter Logo

Pin us on Pinterest

 

Donate

donate