F-Error problems

More
22 Mar 2020 16:38 - 22 Mar 2020 19:42 #161120 by Clive S
F-Error problems was created by Clive S
Now we have sorted the plasma arc problem I am moving to the next problem re f-error s
.
These first two seem to run OK.

.
These next two through an f-error

.
This plot is where I could hear the stepper jitter

.
What would cause this

ini file.
[AXIS_Z]
MIN_LIMIT = -82
MAX_LIMIT = -4

# set to double the value in the corresponding joint
MAX_VELOCITY = 120
# set to double the value in the corresponding joint
MAX_ACCELERATION =1800
# shares the above two equally between the joint and the offset
OFFSET_AV_RATIO = 0.5

[JOINT_1]
AXIS = Z
MIN_LIMIT = -82
MAX_LIMIT = -4

MAX_VELOCITY = 60
MAX_ACCELERATION = 900

TYPE = LINEAR
SCALE = -800

STEPGEN_MAX_VEL = 120
STEPGEN_MAX_ACC = 1350

FERROR = 1
MIN_FERROR = 0.25

DIRSETUP = 4000
DIRHOLD = 4000
STEPLEN = 4000
STEPSPACE = 4000
DEADBAND = 0
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0.000127
BIAS = 0
MAX_OUTPUT = 0
MAX_ERROR = 0
Attachments:
Last edit: 22 Mar 2020 19:42 by Clive S.

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

More
22 Mar 2020 18:16 - 22 Mar 2020 18:45 #161129 by PCW
Replied by PCW on topic F-Error problems
The stepgen maxaccel and maxvel need to be at least 25% higher than the
joint limits = 2250,150 respectively

BTW your plots are not showing up, can you attach them rather than use links?
Last edit: 22 Mar 2020 18:45 by PCW.

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

More
22 Mar 2020 18:29 - 23 Mar 2020 13:28 #161130 by tommylight
Replied by tommylight on topic F-Error problems

[AXIS_Z]
MIN_LIMIT = -82
MAX_LIMIT = -4

# set to double the value in the corresponding joint
MAX_VELOCITY = 120
# set to double the value in the corresponding joint
MAX_ACCELERATION =1800
# shares the above two equally between the joint and the offset
OFFSET_AV_RATIO = 0.5

[JOINT_1]
AXIS = Z
MIN_LIMIT = -82
MAX_LIMIT = -4

MAX_VELOCITY = 60          
MAX_ACCELERATION = 900     

TYPE = LINEAR
SCALE = -800

STEPGEN_MAX_VEL = 120         <<<<set to 150
STEPGEN_MAX_ACC = 1350      <<<<set to 2250

FERROR = 1
MIN_FERROR = 0.25

DIRSETUP = 4000
DIRHOLD = 4000
STEPLEN = 4000
STEPSPACE = 4000
DEADBAND = 0
P = 1000
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0.000127
BIAS = 0
MAX_OUTPUT = 0          <<<<delete this
MAX_ERROR = 0         <<<<delete this

Last edit: 23 Mar 2020 13:28 by tommylight. Reason: can not use color with code

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

More
22 Mar 2020 19:16 #161132 by Clive S
Replied by Clive S on topic F-Error problems

The stepgen maxaccel and maxvel need to be at least 25% higher than the
joint limits = 2250,150 respectively

BTW your plots are not showing up, can you attach them rather than use links?


Thanks I have fixed the link

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

More
22 Mar 2020 19:44 #161135 by PCW
Replied by PCW on topic F-Error problems
On all plots you could use some FF2
Probably 0.00012 to .00025

What kind of machine is this that you need (and than can handle) >2G accel and 3600 IPM?

Last plot show loss of DPLL lock, This can be due to host base time issues
what host hardware do you have? does it have internet connections?

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

More
22 Mar 2020 19:53 - 22 Mar 2020 19:56 #161136 by Clive S
Replied by Clive S on topic F-Error problems

On all plots you could use some FF2
Probably 0.00012 to .00025

What kind of machine is this that you need (and than can handle) >2G accel and 3600 IPM?

Last plot show loss of DPLL lock, This can be due to host base time issues
what host hardware do you have? does it have internet connections?


Peter sorry about the links I don't know what went wrong. I think they are correct now.

I am have trouble in that the same code will run ok but a second time I hear a different noise from the steppers like missing steps.
.
I do have a wifi dongle in the pc could this be a problem?
.

re. What kind of machine is this that you need (and than can handle) >2G accel and 3600 IPM?

.
So I thought that would be 3600 mtr/min
.
My machine is metric so is this valid for metric F2 0.00012 to .00025
Last edit: 22 Mar 2020 19:56 by Clive S.

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

More
22 Mar 2020 20:06 - 22 Mar 2020 21:24 #161137 by PCW
Replied by PCW on topic F-Error problems
Ahh metric, somehow saw the small Z range and assumed imperial

FF2 is independent of units

What PC hardware do you have?
(this could have a bearing on the stepgen noise issue)
Last edit: 22 Mar 2020 21:24 by PCW.

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

More
22 Mar 2020 22:49 #161146 by Clive S
Replied by Clive S on topic F-Error problems

Ahh metric, somehow saw the small Z range and assumed imperial

FF2 is independent of units

What PC hardware do you have?
(this could have a bearing on the stepgen noise issue)


Very helpful Peter.

This is a link to for the pc ark.intel.com/content/www/us/en/ark/prod...p-board-dg965ss.html

Its a Pentium 3G chip Board type DG965SS

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

More
22 Mar 2020 23:30 - 23 Mar 2020 00:26 #161153 by PCW
Replied by PCW on topic F-Error problems
OK that has a Intel MAC, do you have IRQ coalescing disabled? (as mentioned in the hm2_eth man page)

A good check on this is pinging the Ethernet FPGA card and checking the ping times
Last edit: 23 Mar 2020 00:26 by PCW.

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

More
23 Mar 2020 12:47 #161203 by Clive S
Replied by Clive S on topic F-Error problems

R: Tom
MAX_VELOCITY = 60 <<<<delete this
MAX_ACCELERATION = 900 <<<<delete this


Tom. can you please explain why I have to delete the above. I think that has to bee in a PlasmaC config

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

Time to create page: 0.168 seconds
Powered by Kunena Forum