Hi Bob, First I misspoke yesterday on the total quad count for the drive I was using. The encoder had 4096 counts/rev or ~3060 counts/in travel and had ~242 of travel which equates to ~740k counts (3060x242) for full travel, not 36000...must have been thinking of something else from back in the day.
I don't have any experience with Mach3 tuning. I went back and read the entire thread again and couldn't find any entry about the controllers you are interfacing with through the centipede breakout board. From what I have seen on the various CNC forums and Mach3 Help, you may run into some issues with tuning and may need a "smoother" interface depending on your controllers. Although I saw some stuff about auto-tune...it's only to get you in the ball park, IMHO but M3 does have a scope popup tuning window. Did your controllers come with any tuning stuff? CNCCookbook has a bit of a write up on the basics but think YT is your best bet to get you started. There is a ton of stuff out there on PID tuning just takes a bit of digging.
IMHO, the best advice I can give is to do only one drive at a time (others unplugged). I pre-tuned the Parker servos on the bench first as a base point. Then put them in the linear drive, re-tuned, then under load (min-Max) again. Lots of strategies out there...this is mine. P(proportional) is the most important, D(derivative) second and only mess with I(integral) in very small steps after you have decent movement and minimal vibration/oscillation. Start with very minimal velocity and acceleration and work your way up. But before all of this you must establish your home, and limits, in quadrature counts (to be accurate), although the built in DRO will give you an inch value. Seeing the curves will give you the best information on how your tuning is working. As far as velocity based on the 20mm pitch...you don't have to and Probably Don't want to run anywhere near Max velocity of these drives for your application...like I say above start with minimal velocity and work up to a mild velocity and medium acceleration (Unloaded)...once you put a bit in and start whittling you will need to continue to dial it in some more. It's a long process, take your time, take copious notes, and be patient with yourself.
Happy to help if I can along the way but it feels kind of like describing the taste of lemon meringue pie to someone....how bitter is the lemon or creamy is the meringue and the texture of the crust, but if you eat it too fast will you get indigestion?...best experienced in person...almost an analogy for PID.
May the force be with you! ~PJ
Bookmarks