ENCODER INSTALLATION: INDEX PULSE PROBLEM

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

BioAgeLtd
Posts: 11
Joined: Thu Dec 30, 2021 8:04 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 4527
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ENCODER INSTALLATION: INDEX PULSE PROBLEM

Post by BioAgeLtd »

martyscncgarage wrote: Thu Dec 30, 2021 11:09 am
BioAgeLtd wrote: Thu Dec 30, 2021 11:05 am
martyscncgarage wrote: Thu Dec 30, 2021 10:26 am Post the EXACT Make and Model number of the Encoder you used on the spindle as well.
Without pictures, we can only ASSUME you belted the encoder with a timing belt to the spindle at 1:1 (REQUIRED)
Post the make and model of the encoder.
Post a picture of the encoder belted to the spindle at 1:1 please
Post the fresh report.
Providing this information will get you better suggestions to help you.

Marty
Dear Marty,
please find attached a picture of the encoder, it is connected to a auxiliary shaft that turns
ALWAYS at the same rpm of the spindle, I've tested it

I've attached the report saved according to your suggestion.

The encoder is an AUTONICS E40S8-5000-3-T-24, please note that it is an encoder
working at 24Volt with the unbalanced signals, but in our company we have designed
and realized an electronic circuit that translate the signal at 5V, with balanced signals
for each channels, we have tested all the output signals with the oscilloscope and
these are fine, I've attached the datasheet of the encoder.

Thanks Best Regards Stefano
Attachments
E40_EN_TCD210019AA_20210311_MANUAL_W.pdf
(378.79 KiB) Downloaded 46 times
report_402E71D13DCD-0321214527_2021-12-30_16-11-40.zip
(777.81 KiB) Downloaded 40 times
encoder.jpg
BioAgeLtd
Posts: 11
Joined: Thu Dec 30, 2021 8:04 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 4527
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ENCODER INSTALLATION: INDEX PULSE PROBLEM

Post by BioAgeLtd »

centroidsupport wrote: Thu Dec 30, 2021 9:08 am Please post a report.

Go into the PID menu and watch the encode fields, when you rotate the spindle does the encoder count?
When the index pulse present, an asterisk will appear next to the label for the axis that the encoder is counting on
Dear Marty,
I've noticed that the asterisk never appears on the pid screen, so I suppose that there an hardware problem in
the electrical connections of the index pulse.

Thank you very much for your help, I will update you when I will resolve the problem

Best Regards Stefano
BioAgeLtd
Posts: 11
Joined: Thu Dec 30, 2021 8:04 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 4527
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ENCODER INSTALLATION: INDEX PULSE PROBLEM

Post by BioAgeLtd »

BioAgeLtd wrote: Thu Dec 30, 2021 12:04 pm
centroidsupport wrote: Thu Dec 30, 2021 9:08 am Please post a report.

Go into the PID menu and watch the encode fields, when you rotate the spindle does the encoder count?
When the index pulse present, an asterisk will appear next to the label for the axis that the encoder is counting on
Dear Marty,
I've noticed that the asterisk never appears on the pid screen, so I suppose that there an hardware problem in
the electrical connections of the index pulse.

Thank you very much for your help, I will update you when I will resolve the problem

Best Regards Stefano
Dear Marty,
I've found a problem due to an electrical soldering on the electronic board that we have realized
in order to adapt the electrical signals of our encoder, now all seems to work fine and I've found
the asterisk on the PIC screen. In the next days I will try to set the parameters related to the
threading and tapping processes.

I've attached the schematic of the electronic board that we have designed and realized in order
to connect an encoder working at 12V or 24V with unbalanced outputs (A, B, Z), and also a picture
of this board installed into an aluminium enclosure in order to shield it, if it can help other people
then you can share these files.

Let me know if you want to receive also the Gerber files of the PCB that we have designed.

Thank you very much for your help I wish you an happy new year Stefano
Attachments
SCHEMATIC.pdf
(12.18 KiB) Downloaded 40 times
IMG.jpg
BioAgeLtd
Posts: 11
Joined: Thu Dec 30, 2021 8:04 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 4527
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ENCODER INSTALLATION: INDEX PULSE PROBLEM

Post by BioAgeLtd »

BioAgeLtd wrote: Thu Dec 30, 2021 12:07 pm
centroidsupport wrote: Thu Dec 30, 2021 11:43 am You can see if the index pulse is being detected by watching for the asterisk as Marty and I suggested.

Since you're turning the spindle by hand, timing won't be an issue. All you to do is confirm that it flashes exactly once per revolution
Thank you very much for your help, I can't see the asterisk related to the index pulse when I turn
manually the spindle, so probably it is related to a problem of the electrical connections, I will try
to solve it and then I will update you

Thanks Best Regards Stefano
Thank you very much for your help, I've solved my problem, to have more info about please
read my reply to Marty.

It is the first time that I've asked for an help, and your support has been fast and efficient

Thanks I wish you an happy new year Stefano
BioAgeLtd
Posts: 11
Joined: Thu Dec 30, 2021 8:04 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 4527
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ENCODER INSTALLATION: INDEX PULSE PROBLEM

Post by BioAgeLtd »

BioAgeLtd wrote: Thu Dec 30, 2021 11:48 am
martyscncgarage wrote: Thu Dec 30, 2021 11:09 am
BioAgeLtd wrote: Thu Dec 30, 2021 11:05 am

Post the make and model of the encoder.
Post a picture of the encoder belted to the spindle at 1:1 please
Post the fresh report.
Providing this information will get you better suggestions to help you.

Marty
Dear Marty,
please find attached a picture of the encoder, it is connected to a auxiliary shaft that turns
ALWAYS at the same rpm of the spindle, I've tested it

I've attached the report saved according to your suggestion.

The encoder is an AUTONICS E40S8-5000-3-T-24, please note that it is an encoder
working at 24Volt with the unbalanced signals, but in our company we have designed
and realized an electronic circuit that translate the signal at 5V, with balanced signals
for each channels, we have tested all the output signals with the oscilloscope and
these are fine, I've attached the datasheet of the encoder.

Thanks Best Regards Stefano
Dear Marty,
I've found a problem due to an electrical soldering on the electronic board that we have realized
in order to adapt the electrical signals of our encoder, now all seems to work fine and I've found
the asterisk on the PIC screen. In the next days I will try to set the parameters related to the
threading and tapping processes.

I've attached the schematic of the electronic board that we have designed and realized in order
to connect an encoder working at 12V or 24V with unbalanced outputs (A, B, Z), and also a picture
of this board installed into an aluminium enclosure in order to shield it, if it can help other people
then you can share these files.

Let me know if you want to receive also the Gerber files of the PCB that we have designed.

Thank you very much for your help I wish you an happy new year Stefano
Attachments
SCHEMATIC.pdf
(12.18 KiB) Downloaded 42 times
IMG.jpg
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: ENCODER INSTALLATION: INDEX PULSE PROBLEM

Post by martyscncgarage »

Glad you found the electrical issue with the index pulse, but I think you are going to have issues because that encoder is NOT belted TO the spindle at 1:1 with a timing belt. Gears have lash....
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
cncsnw
Posts: 3826
Joined: Wed Mar 24, 2010 5:48 pm

Re: ENCODER INSTALLATION: INDEX PULSE PROBLEM

Post by cncsnw »

I doubt that gear lash will have a significant impact. The amount of lash should be a very small fraction of a revolution.

In the worst case -- if it seems that the encoder is bouncing or oscillating within the lash range as the spindle runs -- you could add a little drag to the shaft so that it always takes some positive torque to drive it.

Backlash in the encoder drive for a servo motor's position encoder would be bad news. But for a spindle encoder, I would not worry too much about it.
BioAgeLtd
Posts: 11
Joined: Thu Dec 30, 2021 8:04 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 4527
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ENCODER INSTALLATION: INDEX PULSE PROBLEM

Post by BioAgeLtd »

cncsnw wrote: Sun Jan 02, 2022 3:43 pm I doubt that gear lash will have a significant impact. The amount of lash should be a very small fraction of a revolution.

In the worst case -- if it seems that the encoder is bouncing or oscillating within the lash range as the spindle runs -- you could add a little drag to the shaft so that it always takes some positive torque to drive it.

Backlash in the encoder drive for a servo motor's position encoder would be bad news. But for a spindle encoder, I would not worry too much about it.
Thank you very much for your useful suggestion, it seems that the gear is quite tight, anyway if during the tests I will fine some
problem due to the lash then I will change the encoder setup according to your suggestion

Best Regards Stefano
BioAgeLtd
Posts: 11
Joined: Thu Dec 30, 2021 8:04 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 4527
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: ENCODER INSTALLATION: INDEX PULSE PROBLEM

Post by BioAgeLtd »

martyscncgarage wrote: Sun Jan 02, 2022 1:54 pm Glad you found the electrical issue with the index pulse, but I think you are going to have issues because that encoder is NOT belted TO the spindle at 1:1 with a timing belt. Gears have lash....
Dear Marty,
thank you for your suggestion, If I will notice this problem then I will update the encoder fixing following your setup

Best Regards Stefano
Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D269594F9C-0110180512
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK
Contact:

Re: ENCODER INSTALLATION: INDEX PULSE PROBLEM

Post by Muzzer »

Rather than make up an interface using NOT gates, you'd be far better off using a dedicated line driver. There are loads of these on the market that are designed specifically for differential lines. Search for "RS422 RS485 differential line driver", instead of trying to reinvent a wheel.
https://www.digikey.co.uk/catalog/en/pa ... iver/11774
https://web.archive.org/web/20180517101 ... yt484a.pdf
The thresholds for RS422/485 aren't the same as std TTL and the standard allows for a much higher common mode voltage range, which is a key part of the noise immunity that this standard is trying to achieve.
Post Reply