Set up using AMC AB15A100 drives, brushed DC motor Prototrak Plus with Encoders

More
13 Sep 2022 20:06 #251841 by new2linux
Todd, thanks. All looks ok with the ,ini file, it was saved at 2.5. The only line I changed was the MAX_Acceleration. The attached pic is best today for the "Y" axes, I will use the last setting for the x axes that are posted. The "y" axes is not finished yet.
Many thanks.
 
Attachments:

Please Log in or Create an account to join the conversation.

More
13 Sep 2022 20:31 #251842 by Todd Zuercher
Have you tried higher P settings for the Y? to try to improve the initial error spike?
The following user(s) said Thank You: new2linux

Please Log in or Create an account to join the conversation.

More
14 Sep 2022 11:52 #251889 by new2linux
Todd, many thanks! I will try more "P" & look for spike to improve on "Y". There is no reason to think that 1000 is the max limit for P? I have an appointment this morning, try to be back after lunch, not shore how much will get done today.

Many thanks!

Please Log in or Create an account to join the conversation.

More
14 Sep 2022 13:36 #251898 by Todd Zuercher
The P value is a double precision float, there is no conceivable practical maximum (there is a theoretical maximum but that is a truly silly number).
The following user(s) said Thank You: new2linux

Please Log in or Create an account to join the conversation.

More
14 Sep 2022 17:58 - 14 Sep 2022 18:08 #251913 by new2linux
Todd, thanks! The attached trace best so far today, "P" did not want to do much to lower spike, until way hi value. The units are ch 6 & 9 = 200m/div; ch 8 & 10 = 500m/div; ch 7 (pid.x.error) is 200u/div. This has got to be close, open to suggestions!

Many thanks!

Edit: I am using the same exact area of the "y" axes ways, so back up (the 2 or 3") after every trace test, and start approx the same place, to reduce any chance of (ways/gib/friction) introducing any variable. It appeared that close to colum of the mill where the "y" axes travel is tight may be an issue.
 
Attachments:
Last edit: 14 Sep 2022 18:08 by new2linux.

Please Log in or Create an account to join the conversation.

More
14 Sep 2022 18:06 #251915 by Todd Zuercher
A little too much FF1 and FF2. Try FF1=2.6 and FF2=0.3.
The following user(s) said Thank You: new2linux

Please Log in or Create an account to join the conversation.

More
14 Sep 2022 18:13 #251916 by new2linux
Todd, thanks! Attached is the trace with suggested changes, looks good!

Many thanks!
Attachments:

Please Log in or Create an account to join the conversation.

More
14 Sep 2022 18:41 #251920 by Todd Zuercher
Still a little much, try FF1=2.5 and FF2=0.25.
The following user(s) said Thank You: new2linux

Please Log in or Create an account to join the conversation.

More
14 Sep 2022 19:09 - 15 Sep 2022 12:10 #251923 by new2linux
Todd, thanks! Attached are the trace you suggested, including a trace of just 1 change at a time, for reference. After updating the 1st suggestion that made the big difference, I tried several small changes with all of the variables, 1 at a time & I could not better the settings you suggested.
This group of traces I picked the best of 2 or 3 traces with same settings to be shore its not a 1 off, got to be confident. This is very close, are we going to try a higher .hal (MAX_Acceleration) setting, currently 2.5.

Many thanks!
Edit: I have set "Y" axes to this setting:P=1978; D=19.358; FF1=2.5; FF2=.25; & DeadBand=.000053, this looks to be the best yet.
Attachments:
Last edit: 15 Sep 2022 12:10 by new2linux.

Please Log in or Create an account to join the conversation.

More
15 Sep 2022 14:58 #252000 by new2linux
Todd, many thanks for all the help, you set the standard of how to "pay it forward" and a true gentleman.
Attached are the final traces for "X"&"Y" axes, I plan to save this file (the file name I used to setup) in the HAL Scope configuration file as " autosave.halscope"? Is this the correct file name, after reviewing the .ini file, that that values set in the "servo axes calibration screen" have been saved for "x" & "y" axes in the .ini file.
Is there anything I should be thinking about?
Many thanks!
 
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: piasdom
Time to create page: 0.397 seconds
Powered by Kunena Forum