Opto spindle Encoder 2 or 3?

More
8 years 6 months ago #108423 by Nemo1966
Oscilloscope - eek! Never had one of those or even used one. I don't even know anyone who has one to borrow.

There's no other way?

thanks
Steve

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

More
8 years 6 months ago #108424 by tecno
Replied by tecno on topic Opto spindle Encoder 2 or 3?
Why not try using CAD to get you mechanical positions för A and B, look at my 2:nd picture.

Cheers
Bengt

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

More
8 years 6 months ago #108425 by tecno
Replied by tecno on topic Opto spindle Encoder 2 or 3?
Here a hint on how I did it.

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

More
8 years 6 months ago - 8 years 6 months ago #108439 by Nemo1966
Hi Bengt, thanks again fo the reply. Sorry to be a pain, but I am new Linuxcnc and the spindle encoder is the part I was worried about when upgrading from Mach3.

In your last picture you have posted a cad diagram with the A and B pulse being binary opposite to each other e.g A being 0 and B being 1. I would have expected the pulse diagram to look like this:
image missing https://www.pcpairgunspares.co.uk/images/encoder2a.png


Whereas the pulse picture I posted shows A as 0 and B as on the leading edge of 1.
image missing https://www.pcpairgunspares.co.uk/images/encoder2b.png

I would then expect the cad drawing (borrowed your drawing I hope you don't mind) to show the B location to be on the red line.
image missing https://www.pcpairgunspares.co.uk/images/tecno.png

In effect your picture A and B seem to be 180degrees out of phase with each other rather than 90degress.

Obviously 90degrees out of phase would make positioning the sensors quite difficult, but positioning them in a binary opposite fashion as you have would be a lot easier. However I notice you have tested this and it seems to work OK with linuxcnc?

Also what setting did you use for this configuration?

Again thanks for taking the time to reply - any assistance is greatly appreciated.
Steve
Last edit: 8 years 6 months ago by Nemo1966.

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

More
8 years 6 months ago #108458 by tecno
Replied by tecno on topic Opto spindle Encoder 2 or 3?
The test rig was never used on my lathe only play on lab bench, biggest problem was that laser cut was eccentric and did not perform well. To make this mechanically correct will work but there will be som tweaking to get all in right place.

I mounted encoder directly on my motor shaft as I have 1:1 belt drive (not optimal) but I have no place to mount encoder on spindle shaft.
The following user(s) said Thank You: Nemo1966

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

More
8 years 6 months ago #108499 by andypugh
The A and B sensors can be anywhere, but they need to be N+1/4 or N-1/4 apart.
Ideally the B transition happens half way between each A transition. It is this phasing that gives the direction as well as position information.

You can check the phasing with Halscope, the built-in oscilloscope in LinuxCNC. Just make your mounting adustable in some way.

tecno: That looks like a 3D printed sensor mount, so why didn't you make it curved so that the sensors all sit at the same radius?
The following user(s) said Thank You: Nemo1966

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

Time to create page: 0.983 seconds
Powered by Kunena Forum