daraszz Posted January 6, 2022 Share Posted January 6, 2022 I'm working on an application tuning a quad-HR2 axis (90° spaced) with a ~300mm diameter ceramic ring on an air bearing, utilizing SIN/COS encoders with ACI 24E3 to generate 2^32 cnts/rev. Operationally speaking, encoders are in the correct direction, as is the motor command. Mechanically the system is very well aligned (to Renishaw and Nanomotion specifications), and has been triple checked at this point. The main issue I'm dealing with is the velocity ripple. The ripple amplitude is roughly 5-10% of the velocity, at roughly 8-10Hz. I'm doing most of my tuning with a parabolic velocity move to best observe the behavior, but it's just as apparent at a constant velocity. Per some white papers on the subject of tuning Nanomotion motors on older PMAC2, I've set my friction feedforward (Kfff) to 10% of the DAC. I've tried removing this entirely as well, but it was clearly beneficial to have friction feedforward when using these motors. Other terms I've adjusted: Motor[x].Servo.SwZvInt = 1, but I've had integral disabled for most of my tests anyway Motor[x].Servo.SwFffInt as 0 or 1 (no visible difference in the plot) I've been adjusting my derivative term in Motor[x].Servo.Kvifb instead of Motor[x].Servo.Kvfb, so that the derivative gain contribution is assisting more on disturbance rejection. My proportional term is set relatively "low" compared my derivate term. The Nanomotion amplifiers are velocity mode amplifiers, so perhaps my Pgain should have more influence on the servo loop than the Dgain in this instance. I guess switching the dominant gain is one thing I haven't tried yet. Trajectory pre-filtering didn't have any noticeable effect (I wasn't really expecting it to, but it was something to explore). Similarly adding a low pass filter to the velocity loop didn't help very much; less oscillation, but a greater error amplitude. I was curious if anyone has had a similar setup, and how you got the servo loops to stabilize, particularly at velocity. My setup is pretty stable in steady state. Some parabolic plots attached. Thanks!2022-01-06_13-16-59.bmp2022-01-06_13-37-52.bmp2022-01-06_13-42-37.bmp Quote Link to comment Share on other sites More sharing options...
steve.milici Posted January 10, 2022 Share Posted January 10, 2022 I would suggest more friction feedforward and less D-gain. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.