NOT SITTING AT ABSOLUTE POSITION AFTER UPGRADE FROM 2.7 to 2.8

More
13 Nov 2018 16:41 #120572 by andypugh
It is not impossible that the conversion script made a mistake (I wrote that script, so the chances are not low)

The old configs should be backed-up in a folder called (machine_name).old in the config folder.

It might be worth checking that the PID terms haven't changed. Check both that the values are the same in the new and old INI, and that the HAL file passes the same values to the pid component.

I think there might be something not quite right with derivative error calculations at the moment ( github.com/LinuxCNC/linuxcnc/issues/466 ) but that should not have any effect on steady-state behaviour.

Updating should not require that PID be re-tuned, except possibly if the servo thread rate was changed. Is that still the same?

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

More
13 Nov 2018 16:42 - 13 Nov 2018 16:43 #120573 by PCW
15 or so mV of offset is possible with contributions from the drive and the 7I77
and this would account for the position error with a P term of 50
(this may also change a bit depending on temperature)


I would probably just add a bit of I term as Andy suggested to fix small static offsets.
Another option is to tweak the offset via the PID components bias pin

AFAIK the only recent change in the PID component is that the FF1 calculation
now detects if the command-deriv pin is connected (it had a bug and did not detect this before)
This would have no effect and static positions so its not related to the offset issue.
Last edit: 13 Nov 2018 16:43 by PCW.

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

More
13 Nov 2018 16:50 #120574 by andypugh

What is the process for getting my config back to 2.7 compatible?


The entire config folder (2.7 version) should have been automatically backed-up into the (machine-name).old folder.

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

More
13 Nov 2018 16:58 #120578 by COlger81
It did make a backup but it looks to be in Master (joints) format.

File Attachment:

File Name: my_LinuxCN...1-13.ini
File Size:4 KB
Attachments:

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

More
13 Nov 2018 17:43 #120583 by andypugh
Is there an old.old directory?

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

More
13 Nov 2018 18:17 #120588 by COlger81
Yes, the file 2 posts up is from the .old directory.

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

More
13 Nov 2018 18:19 #120589 by COlger81
SOLVED:
I was able to adjust the balance on the drive. Not sure what caused the shift in voltage though..

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

More
13 Nov 2018 19:02 #120594 by COlger81
Thanks for the help guys. I'm also trying to find the floating pin that displays following errors.

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

More
Time to create page: 0.179 seconds
Powered by Kunena Forum