Hello Guest it is March 28, 2024, 06:48:15 PM

Author Topic: Stepper's spinning with glitch'es  (Read 10017 times)

0 Members and 1 Guest are viewing this topic.

Stepper's spinning with glitch'es
« on: January 28, 2007, 11:12:31 PM »
Hi All,

I have installed Mach3 and I was trying to move my stepper motors (from HPLJ3) and drivers made with A3977 (like those from www.pminmo.com or CNCZone ).

I have configured and it seems to "work".
The problem is that motors are not spinning smoth (I don't know how to tell you because my english has only few words) sometimes are stucking for a very short time and after that they are continuing to spin normally and some other times are speeding up more than normally.

I have looked with an oscilloscope on parallel port and I have seen that the computer is giving the step signal in this way.

I have started Task Manager, I have ordered tasks after CPU time and I have seen that when steppers where stucking in the same time top 3-4 processes where changing between them. I have killed some processes wich I have seen that where consuming some processor. The situation has improved a little but not enough.

Could somebody tell me if this is normal and this is the way wich Mach3 normally works ? What I should try more ?

Regards,
Daniel
Re: Stepper's spinning with glitch'es
« Reply #1 on: January 28, 2007, 11:21:37 PM »
Try running in Sherline mode and tell me how that works for you...

(You get to the setting on the ports and pins page)
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Stepper's spinning with glitch'es
« Reply #2 on: January 28, 2007, 11:33:58 PM »
Hi Daniel,
    Try tuning your motors down in motor tuning. For trouble shooting, try about 50% of what they are now. If that doesn't fix it, post your xml for us to look at. To attach them, go to the full reply page and you will see a button for advanced options, use that to attach the files by browsing to your Mach folder and selecting the .xml you are are talking about.

Try Brians first, he is fast and some would say good. ;D

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: Stepper's spinning with glitch'es
« Reply #3 on: January 30, 2007, 06:14:23 AM »
Hi,

The problem is more complicated. I have borrowed another computer and this is an AMD Sempron at 1600 Mhz.
On this machine using Brian's, suggestion it is working well and I was able to achive a good speed.
By the way http://www.dioda.ro/images/articles/CNC_microstepping_schema.png the driver schematic has a kind of low pass filter at input and those short spikes could cause problems.

On my Laptop Pentium Mobile at 1725 Mhz isn't working well at all !

I have noticed that on Diagnostics screen on Sempron the Pulse Frequency indicator stay's almost still at 25********* (only the last digit is changing).
On laptop - Pentium M, the Pulse Frequency has big variations from 50000 to 80000.

Please help me to fix it !
Mach3 doesn't work on Pentim M ?


Regards,
Daniel
« Last Edit: January 30, 2007, 06:29:49 AM by dandumit »
Re: Stepper's spinning with glitch'es
« Reply #4 on: January 30, 2007, 07:14:09 PM »
Daniel
This is going to be a pain in the butt to TRY to make that work... the problem is that your laptop is changing the voltage to your processor and changing the speed of the processor! We CAN"T fix Mach 3 until you get that to stop! After you do that (I wish you good luck) it "should" work...
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Stepper's spinning with glitch'es
« Reply #5 on: January 30, 2007, 11:22:22 PM »
Meanwhile I have installed on my laptop 3 software's wich are pretending that controlls the CPU behaviuor.
One is : sswitchxp - has limited features and didn't help.

The second : Notebook Hardware Control - has more features and it pretends that it is able to fix the multiplier and the cpu voltage.
Using this in DriverTest I have achieved "better" fluctuations for Pulse/Second (btw 21000 and 36000 - more near 22000) but with huge timer variations.

I have tryed also RMClock. this is giving some nice graph about procesor load and os load but doesn't help at all.

I have tryed also diferent power schemes without any success.

If those software's are right then this issue hasn't to do with speed and voltage multiplier an it is related how processor is executing tasks and especially interrupts.

Please advise others pasionates to be aware that Mach doesn't work on newer laptops and they should make some tests before anything else.
I have lost too many hours for this and I could tell you that for Dell lattidude D610 it cannot work.

Do you have any hardware controller outside of computer that can handle communication with steppers ?

Regards,
Daniel
« Last Edit: January 31, 2007, 04:09:59 AM by dandumit »
Re: Stepper's spinning with glitch'es
« Reply #6 on: January 31, 2007, 09:58:00 AM »
Finally (after 2 give-up's) I made IT !!! It promise to work on laptop too !!!!

Look - this is without tunning :

And with tweaking.


It seems that Mach3 it can be used on laptops with special functions like SpeedStep (in my case Intel Centrino).
In few hours I'll try it with motors too and I'll let you know !

Regards,
Daniel
Re: Stepper's spinning with glitch'es
« Reply #7 on: January 31, 2007, 10:44:21 PM »
Last evening I have made tests with motors connected and they run very smooth.
Shortly I'll make an short tutorial about how to make Mach3 work on laptops.

Offline Glenn

*
  •  129 129
    • View Profile
Re: Stepper's spinning with glitch'es
« Reply #8 on: February 01, 2007, 07:55:25 AM »
Daniel,

  This is great news for those like myself who have a laptop
that is too unstable for Mach3, I am anxious to read your tutorial!
Thanks,

Glenn :)
Don't assume anything.....it'll make a Manager out of U and Me!
Re: Stepper's spinning with glitch'es
« Reply #9 on: February 01, 2007, 10:46:08 AM »
Below it is an word with explanatory print screens . I hope that many people will benefit from this.
For me is working on a Intel Centrino Dell D610.

If you have questions please ask and I'll try to answer as soon as possible.
It is possible that on different machines to be necessary other configurations but we'll find a solution for shure.
If you have made this customisations and is working for you please tell us on what machine did work.

Regards,
Daniel
« Last Edit: February 01, 2007, 10:48:46 AM by dandumit »