Brother TC-225 Retrofit and Robot integration

More
5 years 5 months ago #208129 by PCW
Getting FF1 right is the first thing,
if FF1 is wrong no amount of fussing with P,I,D will fix it
The following user(s) said Thank You: timfaber

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

More
5 years 5 months ago #208316 by timfaber

PCW wrote: Getting FF1 right is the first thing,
if FF1 is wrong no amount of fussing with P,I,D will fix it


Currently i'm working on tuning the axis, set the right ff1/output scale and am pretty happy with the behavior of the x axis, will post a plot later. now for the y-axis, came across what appear to be hunting but it's in the tuning of the drive. since it also did that with the original control. now there is no documentation to be found on the original drive, so maybe trail en error will be the only way? in the attachments is a plot the y-axis.

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

More
5 years 5 months ago - 5 years 5 months ago #208317 by timfaber
And here is the x axis plot, cant seem to get the start/stop overshoot out with ff2. but the max f.error is around 0.006mm which seems okay i think...

[EDIT: Wrong attachment]
Last edit: 5 years 5 months ago by timfaber.

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

More
5 years 5 months ago #209832 by timfaber
I've got some time this weekend to work on the machine, which means new problems :dry:
Now i can't seem to control the rpm of the spindle, it always spins at max rpm. In the attachment pwmgen is 6000, encoder vel is -110 and spindle vel cmd is 60. now there seems to be some scaling error? Why does it translate vel-cmd of 60 to 6000 for pwmgen?

Furthermore, i would like to be able to orient the spindle. Now LaserK3000 has a rather complicated looking hal file for his tc215 to allow orient. I only want to be able the orient the spindle when doing a tool change.

BTW my spindle is a servo with a +-10v drive

also, is there a good way to test parts of my tool change script?

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

More
5 years 5 months ago #209835 by PCW
1. If you have forward spindle motion and the velocity is -110 you have the encoder
scale backwards. If you have any feedback (P or I or D terms not 0) you will have a runaway.

2. Encoder velocity is in RPS so -110 RPS is -6600 RPM (there is a encoder RPM velocity pin as well)

3. Can you post your current hal/ini files
The following user(s) said Thank You: timfaber

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

More
5 years 5 months ago - 5 years 5 months ago #209836 by timfaber

PCW wrote: 1. If you have forward spindle motion and the velocity is -110 you have the encoder
scale backwards. If you have any feedback (P or I or D terms not 0) you will have a runaway.

2. Encoder velocity is in RPS so -110 RPS is -6600 RPM (there is a encoder RPM velocity pin as well)

3. Can you post your current hal/ini files


Ahh cheers, the P=1 was the problem. Now the spindle works propperly, next up try to orient it.
Any advice on a good example setup or where to read up on orient?
Couldn't make much sense of the linuxcnc.org/docs/2.8/html/man/man9/orient.9.html

INI and HAL files in attachments

File Attachment:

File Name: Brother_20...5-22.hal
File Size:11.78 KB

File Attachment:

File Name: Brother_20...5-22.ini
File Size:3.64 KB
Last edit: 5 years 5 months ago by timfaber.

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

Time to create page: 0.366 seconds
Powered by Kunena Forum