Fadal Overhaul
Posted: Sun Aug 07, 2022 8:26 pm
Howdy Y'all.
I'm very excited to get this 92 Fadal VMC 40 back on its feet again. I have been eyeing and considering for a while and finally took the plunge and gutted a bunch. I also mounted a new touch screen and a windows PC. So far I have gotten to the point of testing the first motor and drive. I followed Mark's Fadal on CNC zone and youtube and have downloaded his pics and c-programs. I feel a bit overwhelmed trying to "tune" the first servo. These are the original Glentek DC servo motors. I gutted the tach and resolver and mounted a line driver 2500ppr encoder. The encoder is powered and driven through the Kanalog/Kflop board. I jumpered the necessary wires to make the drive run in "torque mode". The battery test runs each drive vey smoothly and well on the 1.5v. If anything, faster than I expected.
Tom has been very helpful and kind. Thanks, Tom! He suggested I start a thread to get more community help and involvement.
My current issue is about tuning the servos. I have gotten them to move under control but the movement is slow and jerky.
I opened Mark's .init file and copied some of the values I recognized for PID, V, A, J and the motor flew, much faster, but when it stopped it shook violently and wouldn't quit oscillating until I was able to press the big stop sign button.
Here is some screen shots of where I am currently. I don't understand in the linear graph, last attachmet, the graph doesn't seem to "zoom to fit". I am currently reading about smoothing filters and don't understand that very well at all.
These lines are posted from Mark's posted init file.
// kflop low pass smoothing filter
double Tau = 0.01; // seconds for Low Pass Filter Time Constant was .010
KLP = exp(-TIMEBASE/Tau);
printf("Tau=%f KLP=%f\n",Tau,KLP);
// end kflop low pass smoothing filter
Sorry for the lack of understanding. I appreciate your patience and help as I get going.
My general questions are what values I should be adjusting and changing to get smooth, fast operation out of my set-up? In conjunction with these settings will I need to add a filter like Mark did on his code snippet? I hope this wasn't too long or tedious.
Thanks
-Greg
I'm very excited to get this 92 Fadal VMC 40 back on its feet again. I have been eyeing and considering for a while and finally took the plunge and gutted a bunch. I also mounted a new touch screen and a windows PC. So far I have gotten to the point of testing the first motor and drive. I followed Mark's Fadal on CNC zone and youtube and have downloaded his pics and c-programs. I feel a bit overwhelmed trying to "tune" the first servo. These are the original Glentek DC servo motors. I gutted the tach and resolver and mounted a line driver 2500ppr encoder. The encoder is powered and driven through the Kanalog/Kflop board. I jumpered the necessary wires to make the drive run in "torque mode". The battery test runs each drive vey smoothly and well on the 1.5v. If anything, faster than I expected.
Tom has been very helpful and kind. Thanks, Tom! He suggested I start a thread to get more community help and involvement.
My current issue is about tuning the servos. I have gotten them to move under control but the movement is slow and jerky.
I opened Mark's .init file and copied some of the values I recognized for PID, V, A, J and the motor flew, much faster, but when it stopped it shook violently and wouldn't quit oscillating until I was able to press the big stop sign button.
Here is some screen shots of where I am currently. I don't understand in the linear graph, last attachmet, the graph doesn't seem to "zoom to fit". I am currently reading about smoothing filters and don't understand that very well at all.
These lines are posted from Mark's posted init file.
// kflop low pass smoothing filter
double Tau = 0.01; // seconds for Low Pass Filter Time Constant was .010
KLP = exp(-TIMEBASE/Tau);
printf("Tau=%f KLP=%f\n",Tau,KLP);
// end kflop low pass smoothing filter
Sorry for the lack of understanding. I appreciate your patience and help as I get going.
My general questions are what values I should be adjusting and changing to get smooth, fast operation out of my set-up? In conjunction with these settings will I need to add a filter like Mark did on his code snippet? I hope this wasn't too long or tedious.
Thanks
-Greg