7I90HD with Raspberry pi and getting weird joint 0 following errors

More
5 years 8 months ago #199861 by Clive S
I only see one set of stepgens etc for the X motors in the hal file.

Are sending the output to 2 drives.

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

More
5 years 8 months ago - 5 years 8 months ago #199863 by creisey
the hal-file is not properly commented.

stepgen.00 and stepgen.01 are my X-axis

i have tried also slower rates and they might work better, but i dont understand why the setup is working when "STEPGEN_MAXVEL & STEPGEN_MAXACCEL" is missing in the Joint section with the side-effect is a slow homing
Last edit: 5 years 8 months ago by creisey.

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

More
5 years 8 months ago - 5 years 8 months ago #199864 by PCW
A couple of things:

With a 0.050 mm maximum following error, 250 usec of servo thread jitter will cause a
following error with your current setup . What is you servo thread jitter?

There are a couple of things that can be done to improve stepgen performance with regard to host jitter:

1. Use the stepgen in velocity mode and a PID loop to control the position (use a pncconf created hal/ini file set as a model)

2. Use the DPLL to reduce host servo thread jitter impact on position sampling errors
Last edit: 5 years 8 months ago by PCW.
The following user(s) said Thank You: Clive S, Aciera, creisey

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

More
5 years 8 months ago - 5 years 8 months ago #199878 by creisey
i set to FERROR = 0.08 and it works. thx a lot

and set MIN_FERROR = 0.02
Last edit: 5 years 8 months ago by creisey.

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

More
5 years 8 months ago #200070 by creisey

PCW wrote: A couple of things:

With a 0.050 mm maximum following error, 250 usec of servo thread jitter will cause a
following error with your current setup . What is you servo thread jitter?

There are a couple of things that can be done to improve stepgen performance with regard to host jitter:

1. Use the stepgen in velocity mode and a PID loop to control the position (use a pncconf created hal/ini file set as a model)

2. Use the DPLL to reduce host servo thread jitter impact on position sampling errors


can i make a pid loop in an openloop configuratuion? i thought i need an encoder for that.

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

More
5 years 8 months ago #200097 by PCW
Yes, take a look at a pncconf created step/dir hal file.

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

Time to create page: 0.235 seconds
Powered by Kunena Forum