Development: PID Tuning GUI and HAL

More
07 Jan 2011 00:06 - 07 Jan 2011 00:06 #6495 by malleblas
I have been working on a GUI that allows you to quickly tune PID parameters.
It is designed around my configuration which is the Mesa 5i20 with 7i40 motor drivers. Of course, with a little tinkering of the HAL components it can be used with anything.

Hope this helps some of you. I hope it isn't redundant either, although I couldn't find anything like it.

-Mikey

File Attachment:

File Name: pid_tuning.zip
File Size:3 KB
Attachments:
Last edit: 07 Jan 2011 00:06 by malleblas. Reason: Screenshot added

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

More
07 Jan 2011 12:35 #6508 by BigJohnT
Mikey,

That is pretty slick.

John

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

More
08 Jan 2011 20:21 - 08 Jan 2011 20:24 #6554 by PCW
That looks really neat and should speed up tuning a lot!

You might want to consider adding FF1 and FF2, FF1 is especially important for plain H bridges and velocity mode servos.
Last edit: 08 Jan 2011 20:24 by PCW. Reason: sp

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

More
10 Jan 2011 03:06 #6588 by malleblas
Added bias, deadband, ff0-2.

File Attachment:

File Name: pid_tuning...e241.zip
File Size:2 KB
Attachments:

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

More
22 Jan 2011 13:33 #6803 by robh
hi tried to use this today but seems you have a rt module in use that is not included

Can't find module 'line4to2' in /usr/realtime-2.6.32-122-rtai/modules/emc2

rob

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

More
22 Jan 2011 22:44 #6805 by robh
robh wrote:

hi tried to use this today but seems you have a rt module in use that is not included

Can't find module 'line4to2' in /usr/realtime-2.6.32-122-rtai/modules/emc2

rob


ok no problem i see u need first post zip and then the updated bits on 2nd

rob

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

More
24 Jan 2011 08:12 #6816 by malleblas
Yep, sorry it wasn't all that clear and besides, it is good practice to repackage the whole thing again.
As for those extra components, you can do without them but I wanted to learn about making components, plus I prefer the compactness of them over wiring together a whole series of other components. What the project needs now is a graphical configurator... :D

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

More
29 Jan 2011 20:12 #6864 by billykid
hello, since I have never used halscope wanted to know how I run this package.
thanks in advance
Mauro

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

More
30 Jan 2011 08:46 #6868 by malleblas
halscope should run automatically when running the hal configuration. If you are after information on how to use it, please refer to linuxcnc.org/docs/html/hal_tutorial.html...orial%20-%20Halscope

It is essentially an oscilloscope, so if you have used one of those, then you should be in good shape to get up to speed with halscope quickly.

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

More
30 Jan 2011 08:47 #6869 by malleblas
and as a quick note, all of the contents of the stuff I have worked on is completely free and open to anyone and everyone and for inclusion into EMC2 if they so wish to include it.

My next goal is to find some more modern auto tuning algorithms and see about implementing those.

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

Time to create page: 0.195 seconds
Powered by Kunena Forum