Servo Tuning FF
After reading these posts about servo tuning, I feel pretty good about tuning both servos on my turning center, but before I try that I want to make sure that I am at least close on my values in my "ini" file for my axis, before i throw power to the servos and have a major crash.
What I would do is set P to a low value, and ID and FFx all to zero, as you have done.
You will almost certainly have to increase MIN_FERROR, maybe to 0.1, assuming
inch units. make sure the encoder/resolver picks up the movement correctly
before enabling the servo. Then, attempt to jog. If it jumps and gets a following error,
you can reverse the motor leads, or the polarity of OUTPUT_SCALE. You may have
to increase P to get it to move at all, it depends on the system. Then you have to
get into tuning with Halscope and the calibration menu.
Jon
Please Log in or Create an account to join the conversation.
I have read the thread "Mesa 7i49 Board configuration" from 4 months ago twice to try to remedy but cannot get this figured out. His situation is pretty identical to mine. I have gone through my hal file over and over again with a fine tooth comb and cannot find anything. Talking with my boss he was wondering if maybe the firmware is the problem.\
Thanks
Rick
Please Log in or Create an account to join the conversation.
I have gone through my hal file over and over again with a fine tooth comb and cannot find anything. Talking with my boss he was wondering if maybe the firmware is the problem.k
Can you post your HAL file here?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I would be tempted to look at the pwmgen value pins in Halmeter (or the watch tab of Halconfig) to see if the signal is getting there.
Also have a look at the thread periods to make sure that the threads are running.
If the pwmgen values are non-zero and the enables are set, then it must be a problem outside HAL, I think.
I would suspect the /ENA pins, except that you have one working channel.
Please Log in or Create an account to join the conversation.
Im not sure what you mean though by thread periods?
Rick
Please Log in or Create an account to join the conversation.
I can see the value going up and down on the +/- 10v on the pwmgen.02.value pin in the "show hal config" watch screen.
And you definitely have the hardware hooked up to analogue outputs 2 and 4 ?
Halconfig also lets you see the execution time of the realtime modules and the thread periods. A number that doesn't change can indicate a crashed function.Im not sure what you mean though by thread periods?
Resolver support in LinuxCNC is fairly new. It might be worth loading the HAL with num_resolvers=0 to eliminate the possibility of a resolver driver bug. Just be aware that this means no feedback...
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Right now I actually have my meter hooked to the aout2 and gnd2 terminals on the 7I49 with my meter hanging next my screen and keyboard, so I can see exactly whats going on.
I would test your config here, but with no 7i49 and no 7i70 it wouldn't be very conclusive. Maybe PCW can try it out?
Please Log in or Create an account to join the conversation.