Mill Retrofit with Fanuc DC Drives

  • tbrasselle
  • Away
  • New Member
  • New Member
More
16 May 2026 01:50 #346417 by tbrasselle
Mill Retrofit with Fanuc DC Drives was created by tbrasselle
I’m working on a retrofit and I’m having trouble with oscillation on an analog velocity-controlled axis using existing Fanuc DC motors and drives.I have a Mesa 7i77EU for the FPGA, 7i85 for the encoders, and 7i83 for the analog outputs. I am using two outputs for each drive. one for a velocity command and one for a virtual tachometer. This is similar to how the original Fanuc controller was doing it.Current status:
  • I have the analog outputs scaled correctly as far as I can tell. I measured the voltages going to the drive and they match the drive specs. 7V/2000RPM for velocity and 3V/1000RPM for the tachometer signal.
  • With the velocity command wires disconnected from the drive, the system appears stable. The motor holds position well and resists manual twisting of the shaft.
  • As soon as I connect the analog command wires to the drive, the axis begins oscillating even when all PID values are set to 0.(I was expecting this to act the same as when the wires were disconnected. The motor oscillates and drifts until i get a following error.
  • Increasing the PID P gain to about 0.5 prevents the following error, but the oscillation is still present. 

    Does anyone have any suggestions on why the drive would be stable without the velocity command wires hooked up but unstable with them connected even with no movements?Any suggestions on where to start troubleshooting would be appreciated.

    File Attachment:

    File Name: AnalogConfig.hal
    File Size:9 KB

    File Attachment:

    File Name: AnalogConfig.ini
    File Size:3 KB
Attachments:

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

More
16 May 2026 10:43 #346420 by tommylight

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

  • tbrasselle
  • Away
  • New Member
  • New Member
More
16 May 2026 11:26 #346423 by tbrasselle
Replied by tbrasselle on topic Mill Retrofit with Fanuc DC Drives
Thanks for the response! I’ve followed that outline pretty carefully but get stuck at setting P. It doesn’t matter what I set it to I can’t get rid of the vibration in the motor. If it’s too high or too low I get following errors but no value reduces the vibration to an acceptable level. The screenshot in the first post shows the minimum level of vibration I can get by changing P. I’ve tried increasing the dead band but that doesn’t seem to help unless it’s so big that it gives following errors.

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

More
16 May 2026 11:30 - 16 May 2026 11:37 #346424 by tommylight
Replied by tommylight on topic Mill Retrofit with Fanuc DC Drives
Another look and...you are in US, that looks like 60Hz noise.
Edit:
I need a coffee or two, but still, why is that vibration on analogout3?
Last edit: 16 May 2026 11:37 by tommylight.

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

  • tbrasselle
  • Away
  • New Member
  • New Member
More
16 May 2026 11:43 - 16 May 2026 11:47 #346427 by tbrasselle
Replied by tbrasselle on topic Mill Retrofit with Fanuc DC Drives
I am in the US. That vibration on analogout3 is the million dollar question. If I disconnect the wires on analogout0 the vibration completely goes away on analogout3.

I am using original wiring except for 8-10inches of twisted pairs for both analog signals to connect the original wiring to the mesa boards.
Last edit: 16 May 2026 11:47 by tbrasselle.

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

More
16 May 2026 11:49 #346428 by tommylight
Replied by tommylight on topic Mill Retrofit with Fanuc DC Drives
No not twisted for that, shielded, RG58 or RG59 antenna cable if you do not have anything thinner.
Twisted cables are not for analog use.

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

More
16 May 2026 14:24 #346434 by PCW
Replied by PCW on topic Mill Retrofit with Fanuc DC Drives
I suspect its something with the tachometer emulation or connections to the Fanuc drive

How did the original drive get velocity feedback?

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

  • tbrasselle
  • Away
  • New Member
  • New Member
More
16 May 2026 14:29 #346436 by tbrasselle
Replied by tbrasselle on topic Mill Retrofit with Fanuc DC Drives
Thanks again for help. I swapped both analogoutput0 and analogoutput3 to RG58 cable that I had laying around and had the same results. I also double checked the ground and shielding on the original wiring. i had disconnected one of the grounds but reconnecting it also did not change anything.It looks like the oscillation is at about 33Hz so I don't think it is from the main power. Another note, I change the base period on the servothred from 1000000ns to 800000ns to see if that changed anything. it seems to change the frequency slightly but it no affect on the amplitude. 
Attachments:

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

Time to create page: 0.211 seconds
Powered by Kunena Forum