electronic-leadscrew icon indicating copy to clipboard operation
electronic-leadscrew copied to clipboard

A problem with the els

Open pikolo335 opened this issue 3 years ago • 11 comments

Hi all!I had posted before and managed to make the els work out. After some time now the motor only turns on one direction...the screen was flickering before and now i move the lathe chuck on any direction and the leadscrew movee only clockwise...Any thoughts?The thing is that it was working before but not now....

pikolo335 avatar Oct 06 '21 19:10 pikolo335

Pikolo,

Check the wiring to your encoder on the spindle. There are two phases from a quadrature encoder, and if one works and the other doesn't, the TI card will still see motion, but it won't be able to tell which direction the encoder is turning. If the lead screw reverses when the reverse button is pressed on the controller but not when the chuck is turned backwards, then I'd look at the encoder and connections to it.

The other thing might be the connection between the TI card and the stepper driver. If the direction signal there isn't working, that could also cause the lead screw to always turn the same direction. If the reverse feature on the ELS controller isn't working, I'd check the signals between the TI board and the stepper driver.

Dan

dsgroninger avatar Oct 06 '21 21:10 dsgroninger

Thanks alot i will check it!no matter how the chuck turns the leadscrew allways turns clockwise pressing the forward or reverse does nothing i will post back.Also i have not connected the ground cause i dont understand how to have a diffferenr ground...they all go to the earth right?

pikolo335 avatar Oct 07 '21 11:10 pikolo335

OK, if the forward/reverse button on the control panel doesn't change things, then I'd double check the wiring to the stepper motor control box. James has a good wiring diagram in the wiki section here on GitHub: https://raw.githubusercontent.com/clough42/electronic-leadscrew/master/docs/images/WiringDiagram.JPG Note that the common for the three inputs to the stepper controller is the positive side, and the signals to the negative side of each differential inputs.

Now, as to ground - you actually should have three different isolated "grounds". One is earth ground, safety for humans around the machine. Your mains ground should connect in a star fashion to the safety ground points on the inputs to your power supplies, any metal housings that you are using, and to the shield foil or braid on any cables running to the control panel, encoder, etc. Make sure that cable shield are tied to ground at one end, the end in your electronics enclosure. You want to avoid creating ground loops.

The second "ground" will be the negative of the DC output of your 5 volt power supply. Ground or negative of the 5 volt power supply is reference for this, and the ground of all of your low voltage electronics will tie to this. That all pretty much happens through the connectors and regular cables and you don't need to think too much about that, but don't tie that to earth ground. Connecting your logic ground to earth is a recipe for noise issues in the signals between boards and devices.

Third, avoid connecting the ground (V-) from the output of the 48 volt supply to earth ground or V- of the five volt supply. The stepper controller will make all kinds of noise on the 48 volt supply and will have it isolated from the digital logic ground to avoid inducing that noise to the digital power system.

Not sure how much it might help, but here's a writeup that I did on my implementation of James's system: Clough42 Electronic Leadscrew.pdf

Good luck!

dsgroninger avatar Oct 07 '21 23:10 dsgroninger

Thanks alot i will check it!no matter how the chuck turns the leadscrew allways turns clockwise pressing the forward or reverse does nothing i will post back.Also i have not connected the ground cause i dont understand how to have a diffferenr ground...they all go to the earth right?

I have the same issue on my els. did you get a chance to fix it and what is the fix? I'm using stepper online integrated servo with no enable pin. thank you in advance.

SonnyMadlangbayan avatar Jul 17 '22 18:07 SonnyMadlangbayan

Thanks alot i will check it!no matter how the chuck turns the leadscrew allways turns clockwise pressing the forward or reverse does nothing i will post back.Also i have not connected the ground cause i dont understand how to have a diffferenr ground...they all go to the earth right?

I have the same issue on my els. did you get a chance to fix it and what is the fix? I'm using stepper online integrated servo with no enable pin. thank you in advance.

thought I could share this if you have not able to fix the not reversing issue on your els.

https://github.com/clough42/electronic-leadscrew/issues/154 I can't wait for the second microcontroller and I also think it will not fix the issue. so I find other solution. I notice that when putting a jump wire between -DIR and -PULSE the servo will reverse the rotation (also when spindle is forward or reverse the rotation is reverse) so I connect a wire to the spindle toggle (forward/reverse) switch connected to the -DIR and -PULSE. now when I push the toggle switch to spindle reverse direction the wire is now connecting the -DIR and -PULSE reversing the servo rotation. I test it by cutting 1.5mm thread and it is very clean.

SonnyMadlangbayan avatar Jul 22 '22 00:07 SonnyMadlangbayan

Please check issue#154 where I was able to fix the reverse problem. I replaced the booster board and everything works fine.

SonnyMadlangbayan avatar Aug 23 '22 15:08 SonnyMadlangbayan

Can you confirm, did you jumper between -DIR and -PULSE, or +DIR and +PULSE? I would have expected the latter, jumpering the + sides together.

On Thu, Jul 21, 2022 at 6:10 PM SonnyMadlangbayan @.***> wrote:

Thanks alot i will check it!no matter how the chuck turns the leadscrew allways turns clockwise pressing the forward or reverse does nothing i will post back.Also i have not connected the ground cause i dont understand how to have a diffferenr ground...they all go to the earth right?

I have the same issue on my els. did you get a chance to fix it and what is the fix? I'm using stepper online integrated servo with no enable pin. thank you in advance.

thought I could share this if you have not able to fix the not reversing issue on your els.

#154 https://github.com/clough42/electronic-leadscrew/issues/154 I can't wait for the second microcontroller and I also think it will not fix the issue. so I find other solution. I notice that when putting a jump wire between -DIR and -PULSE the servo will reverse the rotation (also when spindle is forward or reverse the rotation is reverse) so I connect a wire to the spindle toggle (forward/reverse) switch connected to the -DIR and -PULSE. now when I push the toggle switch to spindle reverse direction the wire is now connecting the -DIR and -PULSE reversing the servo rotation. I test it by cutting 1.5mm thread and it is very clean.

— Reply to this email directly, view it on GitHub https://github.com/clough42/electronic-leadscrew/issues/182#issuecomment-1192047176, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZLSHEVXMWCYNYDERJIXYDVVHRHPANCNFSM5FPQ7JOQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

clough42 avatar Oct 11 '22 08:10 clough42

Hi James,

yes I put a jumper switch between -DIR and -PULSE to reverse the servo rotation. but I already replaced the booster board and now everything is working without putting jumper to -DIR and -PULSE. I suspect the first booster board Q5 is damage due when I reverse the spindle the voltage did not change.

SonnyMadlangbayan avatar Oct 11 '22 17:10 SonnyMadlangbayan

I also have this issue now I have installed everything. It worked fine when I bench tested it, now it's all installed the leadscrew will only turn in reverse regardless of the fwd/rev switch and if I rotate the chuck backwards and forwards by hand the leadscrew only progresses in the reverse direction? Did anyone find what is causing this other than a faulty booster board?.... Thanks Stu

stuwindsurf avatar Oct 27 '22 12:10 stuwindsurf

Stu,

If it worked on the bench, but only turns in one direction on the lathe, I would suspect the connections to the -DIR or +DIR terminals on the servo or stepper driver. Both +PUL and +DIR must be connected to the + terminal of the booster board, and -DIR must be connected between the boot board and the driver.

If you're using an integrated servo, I did just upload a new diagram showing the connections:

https://github.com/clough42/electronic-leadscrew/wiki/Wiring-Everything-Together

James

On Thu, Oct 27, 2022 at 6:56 AM stuwindsurf @.***> wrote:

I also have this issue now I have installed everything. It worked fine when I bench tested it, now it's all installed the leadscrew will only turn in reverse regardless of the fwd/rev switch and if I rotate the chuck backwards and forwards by hand the leadscrew only progresses in the reverse direction? Did anyone find what is causing this other than a faulty booster board?.... Thanks Stu

— Reply to this email directly, view it on GitHub https://github.com/clough42/electronic-leadscrew/issues/182#issuecomment-1293486465, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZLSHHI7OIHSA5AEJZKDQLWFJ3XTANCNFSM5FPQ7JOQ . You are receiving this because you commented.Message ID: @.***>

clough42 avatar Oct 27 '22 13:10 clough42

All sorted! It was just a bad connection on the connector from the circuit board to the servo

Thanks Stu

stuwindsurf avatar Oct 27 '22 14:10 stuwindsurf