Fanuc servo drive integration

More
06 Feb 2017 19:11 #87410 by Diederik
It would be first class if I can utilise the existing servo drives. So Andy: did you use 5i23 on your machine? And, will a 7i80HD or a 7i90HD work? If you have a configuration working, would you mind to assist me through the process? And maybe also advice me on the hal connections. sorry, but this is my first time to deal with PWM. I'm used to analog.

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

More
06 Feb 2017 19:34 #87411 by andypugh
I have one machine using a 5i23 and one using a 5i24.
But: I am not using PWM and I am not using Fanuc motors.
The similarity is that I am using the "bldc" HAL component to do the commutation.

The new thing you need to get used to is not the difference between pwm and analogue. You need to understand commutation of brushless motors.

The 7i80 or 7i90 would work, if you could make the right firmware for them. The reason I was suggesting the 5i23 is that a suitable firmware already exists.
The following user(s) said Thank You: SOLD

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

More
07 Feb 2017 10:01 - 07 Feb 2017 10:04 #87445 by jCandlish
Hi Diederick

It is unclear to me if by servo "drive' you me "motor" or "amplifier". In FANUC nomenclature a "servo amplifier" is called a "servo inverter".

There are two connections from a FANUC servo inverter to each axis servomotor. One for the positional encoder, and a second for BLDC phase signals.

From the inverter to the controller there is a single cable that multiplexes state information from the inverter and BLDC phase information from the controller.

Do you have the FANUC "Connection Manual" for the series of control that you are retrofitting?

The Connection Manual describes the electrical and structural specifications for connecting a FANUC control to a machine tool.

Here are some scans that you might find helpfull:











The inverter keeps track of the absolute position of each servomotor, even when the machine is off, by means of battery back up. Even when an axis is moved.

How the inverter communicates the absolute axis position upstream to the control is a mystery???

It is well worth reading this whole thread over from the beginning. Especially the part about the serial position encoders.

Edit: Also, FANUC handles spindle servos differently than axis servos!
Last edit: 07 Feb 2017 10:04 by jCandlish.
The following user(s) said Thank You: Diederik

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

More
07 Feb 2017 16:58 - 07 Feb 2017 16:58 #87469 by jmelson

How the inverter communicates the absolute axis position upstream to the control is a mystery???


Actually, the absolute position comes from the encoder. The servo amp has a backup battery that keeps power on part of the encoder, to save the last position. The Fanuc serial encoders report absolute position to the servo amp as a 77-bit serial stream. This contains an angluar position count plus a count of the number of turns from the reference position. The encoders with a model that ends in "A" also have a low-resolution absolute data track that gives 1024 counts/quadrant. This can be used to provide commutation info the the servo amp even after the battery power has been interrupted. The angular position data has different resoultion depending one encoder model number. They go from 32768 counts/rev up to 1048576 counts/rev.

I'm pretty sure the data between the control and amplifier are also serial, but I do not know the protocol.


Jon
Last edit: 07 Feb 2017 16:58 by jmelson.
The following user(s) said Thank You: Diederik

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

More
07 Feb 2017 17:12 - 07 Feb 2017 17:16 #87472 by jCandlish

How the inverter communicates the absolute axis position upstream to the control is a mystery???

I'm pretty sure the data between the control and amplifier are also serial, but I do not know the protocol.


Exactly the mystery! According to my documentation, and on inspection of my machine, there is only the K23R connector between the inverter and controller. Despite searching, I have seen no serial communication documentation callout for any line of that cable!?
Last edit: 07 Feb 2017 17:16 by jCandlish. Reason: clarified grammar
The following user(s) said Thank You: Diederik

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

More
07 Feb 2017 17:28 - 07 Feb 2017 18:27 #87475 by PCW
Replied by PCW on topic Fanuc servo drive integration
I think that that drive just forwards the encoders serial stream to the controller

To make an interface, at least using Mesa hardware, would require a custom daughtercard that:

1. Buffers the FPGA signals to full 5V 24ma levels (and also supports differential output for some Fanuc drives)
2. Has protected Schmitt trigger 5V inputs
3. Handles the bidirectional nature of the PWM lines (they return drive status bits when DRDY is not asserted)
4. Has a 2 channel per Axis simultaneous sampling A-D for reading IS and IR so FOC can be implemented
Either in the FPGA or LinuxCNC (IS and IR are analog +-4.4V FS phase currents)
Last edit: 07 Feb 2017 18:27 by PCW.
The following user(s) said Thank You: Diederik, SOLD

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

More
07 Feb 2017 18:00 - 07 Feb 2017 18:01 #87480 by jCandlish
I have meant to make a breakout board with honda connectors, to investigate the protocol with an MSO, but I am elbows and assholes deep in other projects.

That is why I am particularly interested in the discoveries of others on this front.
Last edit: 07 Feb 2017 18:01 by jCandlish.

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

More
08 Feb 2017 12:28 #87531 by andypugh

1. Buffers the FPGA signals to full 5V 24ma levels (and also supports differential output for some Fanuc drives)
2. Has protected Schmitt trigger 5V inputs
3. Handles the bidirectional nature of the PWM lines (they return drive status bits when DRDY is not asserted)
4. Has a 2 channel per Axis simultaneous sampling A-D for reading IS and IR so FOC can be implemented
Either in the FPGA or LinuxCNC (IS and IR are analog +-4.4V FS phase currents)


This is sounding rather more involved than I had assumed. I had thought that these motors had the old 4-wire commutation output.

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

More
08 Feb 2017 14:58 #87567 by PCW
Replied by PCW on topic Fanuc servo drive integration
Older systems use the 4 wire commutation system, newer use the serial pulsecoders.
There are Fanuc PWM drives/motors using both systems. AFAIK up until the FSSB
series (serial drive interface instead of PWM), all have analog current sense
and bidirectional PWM lines so basically the same interface hardware
The following user(s) said Thank You: SOLD

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

More
08 Feb 2017 16:44 #87583 by jmelson

This is sounding rather more involved than I had assumed. I had thought that these motors had the old 4-wire commutation output.


Fanuc went to serial encoders possibly as early as 1990 or so. These encoders typically have much higher resolution than the older ones with the 4 commutation signals. Those topped out at 10,000 cycles/rev (40,000 quadrature counts/rev). The serial ones start at 32768 counts/rev, and typically are between 64K and 256K, but they also have 1 MEG count/rev. These resolutions would be impossible with quadrature output. The 1 Meg encoder would give 30 million counts/second at 1800 RPM.

Jon

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

Moderators: cncbasher
Time to create page: 0.100 seconds
Powered by Kunena Forum