LinuxCNC generated resolver output

More
8 years 1 week ago #119355 by lamandesigns
Hi everyone,

I have an odd request that I need help with. I have a spindle motor drive here which only takes in resolver input in addition to a home/orient. The home/orient is not an issue. However my spindle motor has an encoder on it and currently LinuxCNC reads it just fine. I would like to switch my current VFD to this spindle drive. Is it possible to use HAL to generate the 3 analog pairs required for resolver based on the encoder input?

Thanks,
Omid

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

More
8 years 1 week ago #119384 by andypugh
No eBay APP ID and/or Cert ID defined in Kunena configurationYou only need two analogue pairs. (the third pair is the excitation).

But therein lies the problem, it is likely that the drive samples the output somehow synched to the excitation. If it samples at the peak then that's all fine, but it might not.

What hardware are you using?

The bldc HAL component can be coerced into producing sine/cosine outputs at 120 degrees to each other. This might or might not work with the resolver inputs.

Alternatively a simple custom HAL component can calculate the two 90-degree phases.

The simple answer, though, would be to add a resolver to the motor. Does the drive output quadrature encoder signals by any chance? Many do.

Do you plan to use rigid-tapping? If not then you could simply remove the encoder.

You can pick up resolvers pretty cheaply on eBay (example: ) though be aware that that might be a 400Hz item and probably isn't brushless. I have one of those in a box marked "£1500 firm price")
The following user(s) said Thank You: lamandesigns

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

More
8 years 1 week ago #119395 by lamandesigns
Yes, that is one of the things I am worried about. It is an older Baldor drive (1997), so the manual is now as comprehensive as some of the newer items. The drive does have an index/home input as well. The spindle motor is a fanuc and I have an index pulse on the spindle itself as well. I do rigid tapping with it currently.

As far as the controls, I am running 6i24 with 7i48 and another 5 or 6 different cards through the 6i24 as well as serial.

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

More
8 years 1 week ago #119397 by andypugh

lamandesigns wrote: As far as the controls, I am running 6i24 with 7i48 and another 5 or 6 different cards through the 6i24 as well as serial.


So, the good news is that you do have analog outputs to generate the simulated signal with, so that's a good start.

And chance of piggy-backing a resolver on the existing encoder?

I think the first thing to do would be to see what the excitation signal is out of the drive. (Frequency and voltage) so you know what you are dealing with.
The following user(s) said Thank You: lamandesigns

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

More
8 years 6 days ago #119455 by lamandesigns
I think I am going to look at mounting a resolver on that shaft somehow. The big issue is that the shaft is 38mm (might be 35, I have forgotten)! So I will need to make some sort of an adapter to change that to whatever resolver size I get. What do you recommend as far as a resolver?

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

More
8 years 6 days ago #119464 by andypugh
No eBay APP ID and/or Cert ID defined in Kunena configurationThere are some resolvers with a large through-hole:

But it might be more expedient to mount a 1:1 belt drive:
This is the one I mounted for my lathe spindle: photos.app.goo.gl/89usAYUfWn9bkWp38

Tamagawa seem to have pretty much cornered the market. Muirhead / Vactric used to make them for the aerospace market, but those tend to work less well in CNC applications.
You need to know if the drive is expecting a single-turn or multi-turn resolver. Often a 4-pole motor will have a two-cycles per rev resolver, and so on.
(You can achieve that with a single-turn resolver and gearing if you use the belt-drive approach).

Be careful on eBay, quite a lot of people seem to think that it is reasonable to try to sell the outer part of a built-in resolver without the inner rotor.
The following user(s) said Thank You: lamandesigns

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

Time to create page: 0.356 seconds
Powered by Kunena Forum