Fanuc servo drive integration

More
14 years 4 months ago #20967 by PCW
It would be rather a shame to not use the Fanuc encoders as they are 65536 or even 131072 count/turn encoders (I believe they also have absolute data in the serial stream)

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

More
14 years 4 months ago #20968 by andypugh
PCW wrote:

It would be rather a shame to not use the Fanuc encoders as they are 65536 or even 131072 count/turn encoders (I believe they also have absolute data in the serial stream)


Do you need a Hostmot2 SSI interface?

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

More
14 years 4 months ago #20969 by PCW
Fanuc is not SSI AFAIK

Theres HM2 firmware for SSI and BISS but I have been too cheap to buy a
encoder to test these. The SSI interface should be OK its just a 32 bit version of
16 bit SSI interface we wrote for a customer (who loaned us a very expensive encoder)
For a working Fanuc encoder interface I would probably need a Fanuc encoder to play with

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

More
14 years 4 months ago #20977 by jmelson
andypugh wrote:

jmelson wrote:

No, without commutation info, BLDC would have no idea what poles to activate.
So, I don't think that will work.

It's not a great or preferred solution, but there is an alignment routine built in to bldc which blindly energises the poles in a particular pattern and takes note of the resulting encoder counts.

OK, that sounds quite interesting. You'd have to move the motor up to one
full turn to reach the index position, then the encoder count would jump by how
far you'd moved it when the encoder sees the index position.

It might be simpler to swap (or add) an encoder with a more conventional output. Some exist which also output conventional Hall signals too. (programable for pole count) which largely solves the commutation problem.

Yes, you could put on a Renco or Avago 6-channel encoder, although it would take a bit of hacking.
The Fanuc motors have a proprietary Oldham-like coupling between motor and encoder.
You might be able to adapt a kit encoder to the shaft after removing the coupling part.
Then, you'd have to phase the encoder to the motor poles. The advantage of the Fanuc
encoders is they are VERY high resolution, 32K, 64K, 128K and 1024K counts/rev!
And, the only way to do that is to send a pseudo-absolute position value when requested,
the quadrature rates would become insane.

Jon

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

More
14 years 4 months ago #20978 by jmelson
PCW wrote:

It would be rather a shame to not use the Fanuc encoders as they are 65536 or even 131072 count/turn encoders (I believe they also have absolute data in the serial stream)

Only the (alpha)A(resolution) encoders have the absolute data. The (alpha)I(resolution)
models do not give that data.

(alpha) means the Greek lower-case alpha symbol.
(resolution) means 32, 64, 128 or (i think) 1024
to mean 32K, 64K 128K or 1024K counts/rev.

Jon

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

More
14 years 4 months ago #20979 by jmelson
PCW wrote:

Its probably a fair project to interface to the digital drives because I'm pretty sure all info would have to be gathered by reverse engineering the existing drives/motor/encoder system.

Looking at the interface its likely just a three phase PWM plus fault plus serial encoder interface. HostMot2 already supports the 3 phase PWM with the BLDC comp so main issues on that side would be figuring out the PWM spec (or measuring the outputs of the controller when enabled) Same for the serial encoder interface. I suspect its slow enough that the HostMot2 twiddler interface could sample the serial data all in software. The processor on Spartan 6 twiddler is 125 MHz = 8 ns per instruction which allows bit banging some fairly fast serial protocols.

The data rate is 1.024 MBits/second, and you get a 77-bit asynchronous stream of bits with no
clock after the start bit. So, the clock rate has to be pretty well-matched to stay in sync.

Jon

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

Time to create page: 0.426 seconds
Powered by Kunena Forum