- Posts: 18115
- Thank you received: 5334
homing with Phase Z encoder on MESA 7i96s
- PCW
- Offline
- Moderator
-
Less
More
1 year 6 months ago #325817
by PCW
Replied by PCW on topic homing with Phase Z encoder on MESA 7i96s
Unfortunately Autotune programs do no adjust the feedforward or deadzone terms so fairly useless
in real world situations.
I suspect for the best performance of a position control (stepgen or Ethercat or whatever) with an added
linear feedback device, you would need two PID loops, the local high bandwidth position loop plus a lower bandwidth
PID loop using the linear encoder feedback. This could be done in hal with two PID components with their outputs
summed.
in real world situations.
I suspect for the best performance of a position control (stepgen or Ethercat or whatever) with an added
linear feedback device, you would need two PID loops, the local high bandwidth position loop plus a lower bandwidth
PID loop using the linear encoder feedback. This could be done in hal with two PID components with their outputs
summed.
Please Log in or Create an account to join the conversation.
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 226
- Thank you received: 14
1 year 6 months ago #325950
by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
Yes thank you but then I have no idea how to do it .
Regards
Regards
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
1 year 6 months ago #325952
by PCW
Replied by PCW on topic homing with Phase Z encoder on MESA 7i96s
At the minimum you should:
Expand the ferror limits as explained above.
Learn to use halscope.
It will not really be possible to tune without using halscope
regardless of the hal setup.
Expand the ferror limits as explained above.
Learn to use halscope.
It will not really be possible to tune without using halscope
regardless of the hal setup.
Please Log in or Create an account to join the conversation.
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 226
- Thank you received: 14
1 year 6 months ago #326191
by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
but I know how to use the halscope. I know how to read the curves, but I don't know which parameter to adjust when, for example, I have oscillations in the error.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
1 year 6 months ago #326192
by PCW
Replied by PCW on topic homing with Phase Z encoder on MESA 7i96s
Can you post a plot that shows this oscillation, including the velocity and the ferror?
Please Log in or Create an account to join the conversation.
- JackRay
- Offline
- Elite Member
-
Less
More
- Posts: 226
- Thank you received: 14
1 year 4 months ago #330320
by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
hello,I've managed to set my PID.I've mounted an encoder directly on my machine B axis. My encoder is of the phase type A+,A-;B+,B-;Z+,Z-.the feedback is correct on my axis position. However, it's impossible to detect my Z0. I have a 7i96s and I've connected my two Z+,Z- wires to pins 13 & 14 of TB2 on my card. My .hal file is correctly configured for homing with this Z phase. I've tested 5 encoders of the same type. but I can't find the Z pulse.Is there a trick? Can anyone help me? Thanks
Please Log in or Create an account to join the conversation.
Time to create page: 0.134 seconds