By continuing to use this site, you agree to our use of cookies. Find out more
Forum sponsored by:
Forum sponsored by Allendale Dec 6th

Electronic Lead Screw Project

The aim of this thread is to detail the build and give help where needed

All Topics | Latest Posts

Search for:  in Thread Title in  
Robert Atkinson 207/12/2019 13:39:35
avatar
463 forum posts
21 photos

I did say "and correctly set-up" open loop system. Stepper systems appear very simple but actually require quite a lot of care to get optimum performance. A closed loop system may well hide much much of this from the user. A closed loop sytem that is missing steps will be out of phase because it can't correct until a step is missed so best case will be at least one step "behind". More sophisticated closed loop controllers can auto-tune the system settings but it's not clear to me if the cheap systems can do this. Correction for lost steps does not have to be done by the stepper driver. If an encoder is fitted to the leadscrew the ELS controller can monitor for lost steps and correct accordingly. One thing that can make a big difference to stepper motor performance in this type of application where resonances are not constant is an inertial damper. Basically a flexibly mounted mass on the motor shaft. https://www.phytron.eu/products/mechanics-equipment/dmp-20-29-37-inertial-damper-for-stepper-motors/

Robert G8RPI.

Michael Gilligan07/12/2019 14:24:20
avatar
14599 forum posts
634 photos
Posted by blowlamp on 07/12/2019 12:18:17:

[…]

I find many improvements, such as faster top speed, the system is far smoother with virtually no mid-band vibration and has better acceleration & deceleration, which is vital if your lathe varies its speed when a heavy cut is applied or removed. Also, if steps are missed such that the closed loop can not recover the situation, then a fault condition will cause the driver to halt and send a fault signal back to the ELS (if it has such a facility to acknowledge) or the CNC controller.

[…]

.

Grateful if you could clarify something for me, Martin

Does the closed-loop control things at the micro-step level, or only full steps ?

MichaelG.

blowlamp07/12/2019 14:58:49
avatar
1218 forum posts
82 photos
Posted by Michael Gilligan on 07/12/2019 14:24:20:
Posted by blowlamp on 07/12/2019 12:18:17:

[…]

I find many improvements, such as faster top speed, the system is far smoother with virtually no mid-band vibration and has better acceleration & deceleration, which is vital if your lathe varies its speed when a heavy cut is applied or removed. Also, if steps are missed such that the closed loop can not recover the situation, then a fault condition will cause the driver to halt and send a fault signal back to the ELS (if it has such a facility to acknowledge) or the CNC controller.

[…]

.

Grateful if you could clarify something for me, Martin

Does the closed-loop control things at the micro-step level, or only full steps ?

MichaelG.

 

 

 

 

Michael, the motors have a 1000 line encoder fitted at the rear of the motor and are connected back to the driver in a quadrature configuration, thus giving 4000 pulses per turn of the motor. The closed loop circuit can electronically work up to and maintain position of that 4000 figure.

Many of these drives allow micro-steps into the 40000+ steps per rev region, but I would imagine this more of a marketing feature than of any real world value.

 

Martin.

 

Skip to the 7 minute mark to see the 'wrench test'.

 

Edited By blowlamp on 07/12/2019 15:02:39

Michael Gilligan07/12/2019 15:40:28
avatar
14599 forum posts
634 photos
Posted by blowlamp on 07/12/2019 14:58:49:
.

Michael, the motors have a 1000 line encoder fitted at the rear of the motor and are connected back to the driver in a quadrature configuration, thus giving 4000 pulses per turn of the motor. The closed loop circuit can electronically work up to and maintain position of that 4000 figure.

[…]

.

That’s the important bit ... Thanks yes

MichaelG.

Jimmeh07/12/2019 20:35:08
11 forum posts
5 photos
Posted by Phil Grant on 07/12/2019 08:02:16:

I bought my kit (just a stepper motor and driver) from Stepperonline, they were quite cheap and deliver from different countries and they have some offer codes at the moment (I have no affiliation with them)

LINK

Thanks for the link Phil. The website offers some good advice for complete noobs like myself for choosing a suitable power supply. I also like the fact that all of the data sheets and tech specs are available. 

I'm hoping the 4.5Nm nema 24 I've just ordered can be squirrelled away in a hollow under the headstock of my WM250vf.

Edited By Jimmeh on 07/12/2019 20:36:56

Zan14/12/2019 13:47:13
157 forum posts
12 photos

Here is the information from Tony Jeffree regarding stepper motors referred to in his cnc conversion. I have photographed and erased unrelated parts and numbers the images. It is part of a series he produced about converting a Taig mill to cnc in MEW Dec. 2006 I have discussed with Neil about presenting this info.

He deals with basic info and information simple methods how to assess the torque amp drive select stepper motors

I’m not posting the info here, but you can view it in my album called ..... Leadscrew.......

Servo or stepper?

Regarding blowlamp and his valuable info regarding servo motors, he I think is spot on with regard to full cnc esp on the cross slide fir maintaining accurate diameters. I do not think this is so important for the leadscrew alone. Time will tell. I have spare steppers, and driver systems and I will test them out first and replace with a servo if there seems to be a problem

Michael Gilligan23/12/2019 18:05:34
avatar
14599 forum posts
634 photos

My encoder arrived safely today

I checked the tracking ... Despatched by the seller on 05-Dec, it arrived at Heathrow and was passed to Royal Mail on 13-Dec

dont know

MichaelG.

Zan23/12/2019 18:07:33
157 forum posts
12 photos

Mine arrived a week ago, dispatched on dec3. That was quicker than expected!

Michael Gilligan23/12/2019 18:31:36
avatar
14599 forum posts
634 photos

You must have just beaten the [U.K.] Christmas postal chaos

MichaelG.

Limpet23/12/2019 21:53:46
117 forum posts
3 photos

Still waiting for mine I'm expecting it mid Jan

Lionel

Roy Vaughn23/12/2019 22:06:32
19 forum posts

Ordered all the bits end-November and nothing took more than 10 days or so to get here.

Roy

Dennis R23/12/2019 22:11:11
45 forum posts
11 photos

Mine was due anywhere between Jan 2 and Feb 12, but arrived early on Dec 18, very fast service.

Dennis

dcosta28/12/2019 19:08:04
466 forum posts
203 photos

Hi Phil,

just finished assembling the components on the board and I don't think I made any mistakes.
However, if possible, I would like to test the assembly before moving on. Can you, please, tell me if there are any tests I can do to make sure I haven't screwed up?

Thanks in advance
Dias Costa

Edited By dcosta on 28/12/2019 19:10:00

Phil Grant28/12/2019 19:41:42
80 forum posts
14 photos

The first test I did was to test the voltages on the pins that supply the TI board are correct.

To do this plug in the 5V supply to the power connector without plugging the PCB onto the TI board and test the voltages on the 5V and 3.3V pins.

Once this is done and the voltages are correct you should then be OK to plug it into the TI board.

If you have flashed the TI board and have a display connected then the display should work when you apply power, if not then a multimeter or oscilloscope may be needed, Clough42 has a YouTube video on what should be seen with an oscilloscope.

Good luck,

Phil

Zan28/12/2019 23:41:11
157 forum posts
12 photos

Got mine assembled n tested yesterday, did the ti board today.

Removing the switch covers was a nightmare!

All works with encoder in the drill giving correct rpm , but as yet I can’t get the stepper turning. No scope to see what’s happening at the outputs. I’ll have to check n recheck as well as checking stepper system with the arduino

so when it’s turning slowly I can then try voltages on the output pins with an analog meter , my digital is too slow and prob remove the micro steps in the ti settings fir a slower step n longer pulse. Then I’d be stumped

Phil Grant29/12/2019 09:06:00
80 forum posts
14 photos

Zan,

Have you got the logic level the right way for the stepper driver module, I can't remember which way they should be off the top of my head.

Have you connected with a common ground or a common 5V?

Phil

Zan29/12/2019 09:21:18
157 forum posts
12 photos

Thanks Phi I think there’s a mention about this in the software loading video, l I’ll check that later but I used all the same connections as I did from the arduino which worked a while back , I think I’m common 5 v so by rechecking with the arduino I’ll be able to measure the voltages

by the way, the display connector pins projection under the board fouls and shorts onto one of the small jumpers on the ti board if it’s pushed fully home So don’t push it in. I’ll add some insulation here. This stopped the display working , interestingly, clough42’s board is inverted compared to ours with the power socket where our display connector is.

Phil Grant29/12/2019 09:29:49
80 forum posts
14 photos

Yes I noticed that I had the connectors the opposite way around on my design, that's one reason why I used an surface mount power connector to stop it fouling the pins underneath.

If you trim the protruding pins that stick out of the bottom on the display connector it shouldn't foul anything, maybe I should update the info document.

To check the wiring of the stepper driver check out Cloough42 videos, they can be wired either way and you arduino setup may have been wired tho other way and worked fine but the ELS may need to be wired the other way, i will check my wiring later.

Phil

Phil Grant29/12/2019 09:31:55
80 forum posts
14 photos

Yes it looks like it a common 5V with switched grounds

Link to wiring plan

Zan29/12/2019 09:34:55
157 forum posts
12 photos

I think he mentioned removing the //. And adding it to another line So that depends on your own setup. I didn’t have time to fiddle yesterday so that’s the task for today! anything is worth a try. Thanks Phil.

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

Latest Forum Posts
Support Our Partners
Eccentric Engineering
Ausee.com.au
Allendale Electronics
emcomachinetools
Warco
cowells
Eccentric July 5 2018
ChesterUK
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