PDA

View Full Version : Help! Steppers losing steps and making a racket under slow feed..



fasteddy
31-07-2011, 12:24 AM
Hi All...

Have been testing my new cnc router under full speed in all 3 axis, individually and all together.. Runs sweet and goes round and round to stop bang on where it starts.. My dial clock cant measure any slop at all..

2 x nema 34 on x axis (5.5Nm) (800 microsteps)
Nema 23 3Nm y axis (800 microsteps)
Nema 23 3nm z axis (800 microsteps)
System 3 board using onboard drivers for the z and y
PM752 drivers for the x axis, wired step and dir together into the 4th axis off the board.
Separate power supply for the board (24v from Roy, Diycnc), and one for the nema 34's (from Jonathan (nice one)).

So ran a small v carving code on it and ow..! Lotta noise from my motors which are juddering and losing steps.. The slower I run it, the worse it gets.. Spin it up to full speed and it runs very smooth with no loss of steps, dial the jog (Mach3) down to 5% and the z and y judder and lose steps big time.. Seems to halt for a moment every 1/4 turn.. The nema 34's seem to rum fine at any speed..

Have spent the day changing the Mach settings around to alter speed and acceleration, kernal speed, and everything I could think of but nothing makes any difference.. I have read quite a few posts relating to similar problems but cant find anything that I either haven't tried, or applies to this..

Anyone had anything similar happen? Just read a post about psu's so am going to see if I can dial down the power a little for the system 3 board (which powers the z and y).. Will welcome any and all suggestions as have little hair left to pull out now..

Thanks
Steve..

John S
31-07-2011, 12:38 AM
800 microsteps ?
Is this a typo?

OK forget that, now see you mean 800 steps per rev or 4 microsteps.

In motor tuning what have you got pulse width set to ? Regardless try it at 5.

fasteddy
31-07-2011, 02:31 AM
Hi John S..

Just checked and only the X axis had the pulse width set to 0, and it was running fine, have set it to 5 now.. z and y were already set at 5, vaguely remember doing this way back when..

Just fed in the code f25 z100 and it moved the z axis fine, for about 30 secs, then started juddering, faster and faster until it was juddering all the time.. Did the same with the y axis, and this took about 45 secs to start juddering.. Both the z and y are running off the system 3 board drivers and the 24v power supply, which is being fed through the board.. 2.30am now so starting to see double.. Will start some more hair pulling in the morning...

Steve...

fasteddy
31-07-2011, 08:39 AM
Alrighty...

Been reading loads of posts from around the world with folks having the same or similar problems.. Many of them were down to the PC they were using.. Mine is a P4 3GHz with 1Gb ram.. Used to be a server in my brothers company (loads of fans on it).. Am just gonna pop down and see if I cant strip some more crap out of windows and the bios.. Got a nagging feeling that it has an onboard wireless network card, an absolute no no from what I have read...
Gonna use my biggest hammer on it...

Steve..

Jonathan
31-07-2011, 09:40 AM
Are you using the lowest Kernel frecquency, 25kHz? If that isn't sufficient you may need to use 400 step/rev.

I would check the bios ... disable everything you can that's not useful.

Changing the pulse with from 0 to 5us wont make a difference as it defaults to 5us if you put 0 (I think, might be wrong).

Have you ran the driver test program to check the parallel port? If not I'd start with that...

fasteddy
31-07-2011, 09:56 AM
Morning Jonathan..!

Tried all kernal speeds from 25KHz to 60Khz, makes no difference...

Seems my PC is a dual processor, 2 x 3GHz P4... Have it set for standard PC and have done all the optimizations recommended for Mach3.. Really is a bare bones machine and runs very fast, boots in 11 secs... Even running complex code the processors never get to more than 4% usage... Everything disabled that is of no use, using a pci graphics card (not onboard one which seems to be an issue on some machines)..
Re-checked all my cables and drivers/board (which are very cool due to a pair of fans mounted above them)..
Just swapped round a motor (had 2 spare 3Nm) and made no difference..

Am at a loss now.. No hair left to pull out and no idea what to try next...

Steve..

Jonathan
31-07-2011, 10:01 AM
I'd leave it on the lowest kernel frequency as that is inherently the most stable.

Maybe the fans are causing interference in the step/dir inputs ... seems unlikely but you never know. Shielded cable might be the answer, but I reckon there must be more to it.

Try EMC? If that works you know the computer is ok.

Have you definitely wired the optocouplers the right way round on the driver?

(Would type more but I'm going out for the day, now ... hence why I'm up early! Hmm, 800th post.)

fasteddy
31-07-2011, 11:04 AM
Running it at 25KHz, driver test ok.. Really strange the way the motors behave at low feed rates, almost a grinding noise from the motors and they stutter like crazy.. As soon as I put the motors in rapid (G0) they seem to 'kick' out of the stuttering and rough noise and run really smooth with no loss of steps..

Have checked and re-checked everything I can think of, mechanically the z and y are slick and move very freely. Can pop a 6mm spanner on the rear shaft of the motors and turn them by hand with no effort so the problem does not seem to be there.. Even when under power at low feed rates, when they are stuttering, I have tried gripping the ball screws to see if I can slow them down, but I cant so does not seem to be a loss of torque (or I am as weak as a soggy digestive) and the motors are running cool.. Have a spare axis on the board (with an on board driver) and have tried swapping the the motors around but get the same result..

Am at a complete loss as to what is happening here..

Any ideas anyone? Or maybe you can lend me a bigger hammer...?

Steve...

John S
31-07-2011, 11:06 AM
Changing the pulse with from 0 to 5us wont make a difference as it defaults to 5us if you put 0 (I think, might be wrong).

.

No it should sat at what ever you put in. A low setting can cause problems for some drivers as they don't have time to read the pulse.

Where it affects machines the most is on spindle speed.

What concerns me is the statement "Just checked and only the X axis had the pulse width set to 0, and it was running fine, have set it to 5 now.. z and y were already set at 5"
You cannot have different values for different axis, what is set for one is set across the board - unless the latest version - which we don't use is different, perhaps I need to check.

fasteddy
31-07-2011, 11:14 AM
Hi John..

I am not controlling the spindle from the board.. The pulse width thingy may be to do with the wiring setup I have.. Z and y are using the onboard drivers (system3 board), and the x is a pair of PM752 drivers, just wiring the step and pulse into the 4th axis (no onboard driver).. Did not have this setup before, ran all three axis from the board.. This new setup was run from the previous Mach3 settings and had to alter various things to suit.. But the X axis has run flawlessly since I switched it on.. All these problems are to do with the z and y..

Steve..

John S
31-07-2011, 11:57 AM
OK, I just mentioned to spindle in passing as it is pulse width sensitive.

Just download the latest version to check and it's impossible to have different pulse widths setup for different axis.

It doesn't matter if you have 15 power supply's or driver, you only have one copy of Mach.

The pulse width setting I'm talking about is in Config > Motor tuning. Step pulse which is slightly to the right at the bottom of the screen. Any alterations HAS to have the save setting button pressed then OK

fasteddy
31-07-2011, 12:03 PM
Short video of z axis motor stuttering.. Turn the sound up and you will hear it 'jumping'...


http://www.facebook.com/video/video.php?v=2268531036288

fasteddy
31-07-2011, 12:06 PM
Hi John..

All 3 axis are set to 5 pulse for step and dir..

Steve..

John S
31-07-2011, 12:08 PM
You can only see the video if you are logged in to fazebook.

John S
31-07-2011, 12:10 PM
Hi John..

All 3 axis are set to 5 pulse for step and dir..

Steve..

OK so we are on the same page here.
I know you can't swap axis over with you having 34's on X but can you set the 752's to a lower setting and put them on Y and Z to check, this will eliminate the step 3 board.

PM sent

fasteddy
31-07-2011, 12:18 PM
Thanks John..

Best idea yet, have been eying up the board with my most suspicious glare and wondering how to check it... Just need to figure out which is step and dir on the driver connections..

Steve..

John S
31-07-2011, 12:23 PM
On which driver, the step3 or the 752 ?
If you get it wrong you won't blow one, it will just do one step everytime you change direction.

fasteddy
31-07-2011, 06:45 PM
Okay... Seems its my system 3 board so I need a new breakout board and a pair of 2.5amp drivers... Anyone out there got these lying around? Have 2 SY60STH88-3008BF 3Nm nema 23 motors to trade, had about 100 hours of use each..?

Will post these on the classified section of the forum along with various spare bits I have if no-one comes forward...

Good to get to the source of the problem at last, I suppose having rechecked everything 3 times at least I can be pretty confident its all sound (except the board of course)...

Steve...

Jonathan
31-07-2011, 11:15 PM
Might the System 3 board be fixable?

I'm tempted by the motors as I've used the ones from my milling machine on the router. I can make you a breakout board, but that's not really worth two motors ...

What motors were you running on the 2.5A drivers? If it was the 3Nm ones you would be better off running them on 4.2A, in bipolar parallel ... with two PM752 drivers (or equivalent, there's cheaper ones on eBay) added to the power supply I did for you.

fasteddy
01-08-2011, 07:36 AM
Hi Jonathan..

Whatever I get, needs to be very cheap and very quick, wasted so much time and really need to get on with a few things.. Will look at getting nice shiny bits next month..
John pointed out that my uploaded video could only be seen through facebook, sorry, that was my first uploaded video so have done the one below through youtube.. Hope it work better..


http://www.youtube.com/watch?v=mtIRGj0CQUk

Steve...

fasteddy
01-08-2011, 08:33 PM
New board and driver on its way (Gary at Zapp)... Holding breath in anticipation...!

luke11cnc
01-08-2011, 09:19 PM
do you have any hair left ??

James

fasteddy
06-08-2011, 02:59 PM
Thanks all for help and advice...!!!
No hair left James, just been told that it is genetic anyways, am currently trying to comb my eyebrows back over my forehead..!

ALL WORKING NOW...!!! New board (Uniport 2) and driver (PM542).. After a teeth gnashing week, it is finally up and running... Gotta fine tune it all and fit limit switches, but wow, more funkyness than I can handle..

Cheers
Steve..

luke11cnc
06-08-2011, 03:03 PM
hamlet cigars come to mind LOL

glad you are sorted out

James