Question about Encoder Scale
- MATZE-ATZE-SCH
- Offline
- Senior Member
Less
More
- Posts: 51
- Thank you received: 6
17 Apr 2020 15:12 #164277
by MATZE-ATZE-SCH
Question about Encoder Scale was created by MATZE-ATZE-SCH
Hello.
I have modified an old manuell MIll to CNC with Mesa Cards and Linux CNC.
On the axis I have for closed loop linear glass scales with 1000 units / mm.
To get the actuall travel distanz correct, I have to set the "Encoder Scale" to 1600.
But doesn´t this to be 1000?
I have measure it with an dial gage, so 5mm travel on the display are with the 1600 scale 5mm ravel on the dial gage.
The linear scales are feed direct to the Mesa 7i33.
The encoders on the Motors are only connected to the Servo driver. The Servo driver is also conected to the 7i33 (Enable, +-10V).
The Spindel pitch is 5mm, and the ratio from Motor to Spindel is 1.636.
The Machine is in set up in velocity mode.
Best regards
Marcel
I have modified an old manuell MIll to CNC with Mesa Cards and Linux CNC.
On the axis I have for closed loop linear glass scales with 1000 units / mm.
To get the actuall travel distanz correct, I have to set the "Encoder Scale" to 1600.
But doesn´t this to be 1000?
I have measure it with an dial gage, so 5mm travel on the display are with the 1600 scale 5mm ravel on the dial gage.
The linear scales are feed direct to the Mesa 7i33.
The encoders on the Motors are only connected to the Servo driver. The Servo driver is also conected to the 7i33 (Enable, +-10V).
The Spindel pitch is 5mm, and the ratio from Motor to Spindel is 1.636.
The Machine is in set up in velocity mode.
Best regards
Marcel
Please Log in or Create an account to join the conversation.
17 Apr 2020 16:06 #164279
by Henk
Replied by Henk on topic Question about Encoder Scale
Can you share a datasheet or details on the glass scale? 1600 seems odd. Normally glass scales come in 5 um, 1 um , 0.5um resolution.
Please Log in or Create an account to join the conversation.
- MATZE-ATZE-SCH
- Offline
- Senior Member
Less
More
- Posts: 51
- Thank you received: 6
17 Apr 2020 16:19 #164280
by MATZE-ATZE-SCH
Replied by MATZE-ATZE-SCH on topic Question about Encoder Scale
Hello Henk,
the scale has a resolution of 1µm.
Here are the details:
Technische Daten GP 10:
Teilungsperiode 20 µm
Lesekopf Kugelgelagert
Auflösung programmierbar: Standard 5 µm, 1µm oder 0,5 µm
Wiederholgenauigkeit +/- 1 Inkrement
Ausgangssignal RS422
Volt DC 5 V
Temperatur -10°C bis 45°C
Relative Feuchtigkeit < 90%
You can select betwen 1µm and 5µm resolution, I have selected the 1µm ones.
One thing I have find out: Its only on the Y axis. The X axis is set to 1000 and is OK with the scaling.
I will check the wireing again and swap out X and Y to see if I can narrow down the error...
Thanks, best regards
Marcel
Best regards
Marcel
the scale has a resolution of 1µm.
Here are the details:
Technische Daten GP 10:
Teilungsperiode 20 µm
Lesekopf Kugelgelagert
Auflösung programmierbar: Standard 5 µm, 1µm oder 0,5 µm
Wiederholgenauigkeit +/- 1 Inkrement
Ausgangssignal RS422
Volt DC 5 V
Temperatur -10°C bis 45°C
Relative Feuchtigkeit < 90%
You can select betwen 1µm and 5µm resolution, I have selected the 1µm ones.
One thing I have find out: Its only on the Y axis. The X axis is set to 1000 and is OK with the scaling.
I will check the wireing again and swap out X and Y to see if I can narrow down the error...
Thanks, best regards
Marcel
Best regards
Marcel
Please Log in or Create an account to join the conversation.
17 Apr 2020 18:54 #164296
by Henk
Replied by Henk on topic Question about Encoder Scale
Also check if it is consistent at a scale of 1600. It could be electrical noise as well. Is the encoder cable screen properly grounded? Normally the screen is connected to the reader head frame. If this is the case, make sure there is a proper connection between the reader head and the machine frame and that the other end is left unconnected. Also if the cable goes through a connector, check that the screen is also connected to one of the pins on both sides.
Please Log in or Create an account to join the conversation.
17 Apr 2020 19:22 - 17 Apr 2020 19:22 #164300
by PCW
Replied by PCW on topic Question about Encoder Scale
Right I don't see how you could get that count, Also make sure that the 7I33 is jumpered for differential encoder inputs and that the A,/A B,/B pairs are wired correctly.
You can verify that differential pairs are wired correctly by measuring the voltage from A to / A
( and B to / B ) and making sure that the _absolute_ voltage is always >2V between the pairs
and any of the 4 quadrature states (you will have to jog/wiggle the axis to see all states)
You can verify that differential pairs are wired correctly by measuring the voltage from A to / A
( and B to / B ) and making sure that the _absolute_ voltage is always >2V between the pairs
and any of the 4 quadrature states (you will have to jog/wiggle the axis to see all states)
Last edit: 17 Apr 2020 19:22 by PCW.
Please Log in or Create an account to join the conversation.
- MATZE-ATZE-SCH
- Offline
- Senior Member
Less
More
- Posts: 51
- Thank you received: 6
19 Apr 2020 15:23 #164645
by MATZE-ATZE-SCH
Replied by MATZE-ATZE-SCH on topic Question about Encoder Scale
Hi,
I´ve cheked the connections, rewired the cables and plugs and switched the scales on the different axis.
The error doesn´t be a error in LinuxCNC, because when I unplug an replug it, sometimes it works and sometimes I got the scale of 1600.
It is always the same scale of 1600. So I don´t think it is electrical noise, or the error would more differently?
I have now wired 5V to the 7i33 instead of using the power from the 50pin header connector.
I have played a little bit and till now no error.
Can this be the solution? The 50 pin header cable are not very long, around 30cm.
PCW, I will mesaure this now with the external 5V on the 7i33...
Best regards
Marcel
I´ve cheked the connections, rewired the cables and plugs and switched the scales on the different axis.
The error doesn´t be a error in LinuxCNC, because when I unplug an replug it, sometimes it works and sometimes I got the scale of 1600.
It is always the same scale of 1600. So I don´t think it is electrical noise, or the error would more differently?
I have now wired 5V to the 7i33 instead of using the power from the 50pin header connector.
I have played a little bit and till now no error.
Can this be the solution? The 50 pin header cable are not very long, around 30cm.
PCW, I will mesaure this now with the external 5V on the 7i33...
Best regards
Marcel
Please Log in or Create an account to join the conversation.
19 Apr 2020 16:18 #164653
by PCW
Replied by PCW on topic Question about Encoder Scale
30cm can be OK but it depends on the 5V draw of the encoders
Older encoders may have significant current consumption
(the oldest Heidenhain scales use incandescent lamps!)
Older encoders may have significant current consumption
(the oldest Heidenhain scales use incandescent lamps!)
Please Log in or Create an account to join the conversation.
19 Apr 2020 17:01 - 19 Apr 2020 17:03 #164656
by MovT
Replied by MovT on topic Question about Encoder Scale
I have a question it's in the same context.
I build a spindle driven by a HF chinesium Rattm motor. I gear it down to apprx. 1:2. I also have an encoder from IFM with 4096 ppr. I will attach it to the spindle by a belt. I'll try to make booth pulleys at the same diameter. But we dont live in a perfect world. So when i turn the motor twice, the spindle turns 1 times. The encoder turns 1,1 times because the pulley is a little larger in diameter as the spindle pulley. So what is the right scale i need to set on the encoder scale?
The motor and spindle difference i handle in the VFD controller. that is not difficult.
How i fix the 1.1:1 from the spindle and the attached encoder. The encoder have a+ b+ and z+ (index) so i need an exact revolution of the spindle at the encoder.
Is the formula:
Encoder Scale=PPR*revoution when spindle turns 1 ?
Encoder Scale=4096 * 1.1?
encoder Scale 4505.6?
Thanks in advance!
Best,
Udo
I build a spindle driven by a HF chinesium Rattm motor. I gear it down to apprx. 1:2. I also have an encoder from IFM with 4096 ppr. I will attach it to the spindle by a belt. I'll try to make booth pulleys at the same diameter. But we dont live in a perfect world. So when i turn the motor twice, the spindle turns 1 times. The encoder turns 1,1 times because the pulley is a little larger in diameter as the spindle pulley. So what is the right scale i need to set on the encoder scale?
The motor and spindle difference i handle in the VFD controller. that is not difficult.
How i fix the 1.1:1 from the spindle and the attached encoder. The encoder have a+ b+ and z+ (index) so i need an exact revolution of the spindle at the encoder.
Is the formula:
Encoder Scale=PPR*revoution when spindle turns 1 ?
Encoder Scale=4096 * 1.1?
encoder Scale 4505.6?
Thanks in advance!
Best,
Udo
Last edit: 19 Apr 2020 17:03 by MovT.
Please Log in or Create an account to join the conversation.
- MATZE-ATZE-SCH
- Offline
- Senior Member
Less
More
- Posts: 51
- Thank you received: 6
19 Apr 2020 17:36 #164657
by MATZE-ATZE-SCH
Replied by MATZE-ATZE-SCH on topic Question about Encoder Scale
Hi PCW,
the Voltage between A /A B /A and GND is 300mV or 3.2V.
Between A and A/ or B and B/ is between -2.8 and 2.8V.
Is this correct?! Also, if A /A is 2.8V, b /b is also 2.8V. Didnt B /B need to be -2.8V?
Best regards
Marcel
the Voltage between A /A B /A and GND is 300mV or 3.2V.
Between A and A/ or B and B/ is between -2.8 and 2.8V.
Is this correct?! Also, if A /A is 2.8V, b /b is also 2.8V. Didnt B /B need to be -2.8V?
Best regards
Marcel
Please Log in or Create an account to join the conversation.
- MATZE-ATZE-SCH
- Offline
- Senior Member
Less
More
- Posts: 51
- Thank you received: 6
24 Apr 2020 02:05 #165340
by MATZE-ATZE-SCH
Replied by MATZE-ATZE-SCH on topic Question about Encoder Scale
No one any ideas?
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds