Deviation problem with configured axis

More
14 Oct 2011 16:56 #13922 by ArcEye

kostas wrote:
I don't think that G61 will override any velocity and acceleration values


I stand corrected if that is the case, I assumed that if the sole purpose of G61 is to reach the end of a path, it must at some stage control trajectory if that would result in an over-run.

There is nothing obvious I can see in your .ini file.
Accel and velocity look normal, base thread and servo thread are the bog standard defaults from stepconf.

Your scale figure intrigues me, SCALE = 500.187570339 is very precise.
Are you using imperial ball screws on a metric machine or some unusual gearing?

Please Log in or Create an account to join the conversation.

More
14 Oct 2011 17:27 - 14 Oct 2011 17:28 #13923 by Tilman
ArcEye wrote:

Your scale figure intrigues me, SCALE = 500.187570339 is very precise.
Are you using imperial ball screws on a metric machine or some unusual gearing?


Hmm, I guess the number is just an internal calculated value. I configured the machine with stepconf wizard. The values I entered are
- 2000 steps per revolution
- 10 microsteps
- 39,985mm leadscrew pitch

Leadscrew pitch should be 4mm (metric trapezoid spindle with high precision nuts made from ZX-100K) but it seems to be a bit less than 4mm. 39.985mm gave the best results so far, scaling different ways from 50 to 150mm.
Last edit: 14 Oct 2011 17:28 by Tilman.

Please Log in or Create an account to join the conversation.

More
14 Oct 2011 17:57 #13924 by kostas
r0sewhite wrote:

Leadscrew pitch should be 4mm (metric trapezoid spindle with high precision nuts made from ZX-100K) but it seems to be a bit less than 4mm. 39.985mm gave the best results so far, scaling different ways from 50 to 150mm.


Are you sure this isn't the nut's backlash or any calipers error? We're talking about 0.0015mm error, which is pretty small. I would just trust the screw's pitch and go with the 4mm value.

Please Log in or Create an account to join the conversation.

More
14 Oct 2011 19:27 - 14 Oct 2011 20:19 #13927 by Tilman
kostas wrote:

Are you sure this isn't the nut's backlash or any calipers error? We're talking about 0.0015mm error, which is pretty small. I would just trust the screw's pitch and go with the 4mm value.


I always eliminated backslash by running the machine a few millimeters against the caliper before starting a scale run. I don't think that a machine can be calibrated with backslash. If the backslash is, let's say 0.2mm and you run 100mm, you'll get 100-0.2=99.8mm. If you scale 50mm, you would end up with 49.8mm. There is no consistent ratio between these two distances, so it's impossible to find a pitch value that matches more than one fix distance.

Of course my caliper could be wrong, but to be honest: I trust my caliper more than the screw's pitch. ;)
Last edit: 14 Oct 2011 20:19 by Tilman.

Please Log in or Create an account to join the conversation.

More
15 Oct 2011 00:17 #13928 by Tilman
Finally I've got my interupt problem solved. I found out that rtai_smi was not loaded. I started "/etc/init.d/realtime start" and got a message that the path for the SMI module was wrong.

I checked rtapi.conf character for character multiple times but couldn't find any error. Then I had the idea to simply copy the line below (which is loading rtai_hal) and change hal to smi. And now it works...

Don't ask me what was wrong. However, no SMI interupts and no warnings anymore. After half an hour max jitter ist still below 30.000.

Please Log in or Create an account to join the conversation.

More
15 Oct 2011 11:39 #13932 by ArcEye
So, did sorting out your latency spike from SMI resolve the undershoot on your Y axis?

It would make sense if it was latency related, because the error increased with feed rate.

Please Log in or Create an account to join the conversation.

More
17 Oct 2011 00:14 #13957 by andypugh
r0sewhite wrote:

I always eliminated backslash by running the machine a few millimeters against the caliper before starting a scale run. I don't think that a machine can be calibrated with backslash. If the backslash is, let's say 0.2mm and you run 100mm, you'll get 100-0.2=99.8mm. If you scale 50mm, you would end up with 49.8mm. There is no consistent ratio between these two distances, so it's impossible to find a pitch value that matches more than one fix distance.

This is true, but you can programme a backlash into EMC2, and it will attempt to compensate (this isn't a great solution, though).
It is possible that your screw might have a pitch-to-pitch error which is worse than the overall error. It might well be very close to 4mm, but any one thread peak might be 0.015 out of position.
Also, you might have a cyclic error in the thrust bearings, to that 0 degrees is always offset from 180 degrees of screw turn. Your choice of 50mm measurement is not a simple factor of your screw pitch. Try the experiment again at 0, 40, 80, 120mm, then repeat at 2, 42, 82, 122. You might well find that each set is internally consistent, but that they are offsrt set-to-set.

Please Log in or Create an account to join the conversation.

More
18 Oct 2011 18:15 - 18 Oct 2011 18:17 #14030 by Tilman
Sorry for not replying the past days. When I got the smi module running, it was almost 2:30 in the morning and I was too tired tu run any tests. The next days I had too much work to care for the machine.

I just checked it and the problem remains: A test run under stepconf wizard gives perfect results but if I run the same distance in EMC2, the faster I run, the shorter is the driven distance. With F200 I get only 99.48mm instead of 100 and with F400 I don't even get 99mm. Only with G61 the distance is correct.

I contacted the designer of my machine a few days ago and he told me that my caliper must be wrong: His trapezoid spindles do no only meet the requirements of DIN 103 (max. deviation on 300mm: +/- 0.15mm), actually they don't even have a deviation higher than 0.05mm on 300mm. This guy is well known for high precision cnc machines so his statement is reliable.

I think we can exclude missing steps due to latency problems because max jitter is not more than 30.000 now (entered 50.000 in stepconf wizard to be on the save side). Also the machine always meets 0.00mm again when running back to 0 position and runs perfect in axis test of stepconf wizard.

The screw is very good: In stepconf wizard I can scale any distance between 5 and 200mm (my caliper doesn't make more) anywhere on the axis and the results never differ more than 0.01mm from what I entered. The thread is even more accurate on the overall length than I expected.

There is no backslash at all in the nuts. Meanwhile I tried to scale a potential backslash but couldn't find any. This is how I checked it.
- 1st test run 10mm with running a few millimeters towards the caliper before the test run
- 2nd test run 10mm with running a few millimeter away from the caliper before the test run

So what other reason could be for EMC2 to lose distance when running faster?
Last edit: 18 Oct 2011 18:17 by Tilman.

Please Log in or Create an account to join the conversation.

More
18 Oct 2011 18:28 #14031 by kostas
I think there is no problem at all. When in G64 (the default), toolpath is never exactly what the g-code program dictates.

Please Log in or Create an account to join the conversation.

More
18 Oct 2011 21:46 #14039 by andypugh
kostas wrote:

I think there is no problem at all. When in G64 (the default), toolpath is never exactly what the g-code program dictates.


It should be in exactly the right place when it stops. There is no blending of stops.

As for the problem, I have no idea. If you do 100 moves to +200 and back to zero, does it still return exactly to zero every time?
(write a G-code program and measure when it has finished).

What are the values of MAX_ACCELLERATION and STEPGEN_MAXACCELLERATION in the INI file?

Please Log in or Create an account to join the conversation.

Time to create page: 0.088 seconds
Powered by Kunena Forum