- Posts: 17524
- Thank you received: 0
Encoder improvements for THCAD
6 years 5 months ago #168640
by PCW
Encoder improvements for THCAD was created by PCW
LinuxCNC master has a minor change in the encoder driver code to improve frequency
measurement resolution, This will improve the noise performance of the THCAD
somewhat so is worthwhile enabling. What changed was the timestamp frequency
that is used for encoder velocity/frequency calculations. This was set to nominally
1 MHz before the change. This default frequency has been increased to 2 MHz and
now has an option allowing a 10 MHz frequency to be selected. To select a 10 MHz
timestamp frequency, you set the hm2_card.0.encoder.hires-timestamp pin "true"
measurement resolution, This will improve the noise performance of the THCAD
somewhat so is worthwhile enabling. What changed was the timestamp frequency
that is used for encoder velocity/frequency calculations. This was set to nominally
1 MHz before the change. This default frequency has been increased to 2 MHz and
now has an option allowing a 10 MHz frequency to be selected. To select a 10 MHz
timestamp frequency, you set the hm2_card.0.encoder.hires-timestamp pin "true"
Please Log in to join the conversation.
6 years 5 months ago #168643
by rodw
Replied by rodw on topic Encoder improvements for THCAD
Thansk Peter. So users of master branch chould enable the 10 Mhz setting for best performance? I take it this specific to mesa hardware and the hostmod2 driver?
Sounds like this will be useful fo those cheaper plasma cutteres wher ethe arc voltage signal is quite noisy.
Sounds like this will be useful fo those cheaper plasma cutteres wher ethe arc voltage signal is quite noisy.
Please Log in to join the conversation.
6 years 5 months ago #168647
by PCW
Replied by PCW on topic Encoder improvements for THCAD
Yes, this is HostMot2 specific, and actually the difference will be most apparent
where the signal is cleanest.
where the signal is cleanest.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
6 years 5 months ago #168664
by tommylight
Replied by tommylight on topic Encoder improvements for THCAD
Nice timing, as i might get finally today or tomorrow my 4 THCAD's !
Please Log in to join the conversation.
- snowgoer540
- Offline
- Platinum Member
-
Less
More
- Posts: 2580
- Thank you received: 0
6 years 4 months ago #172606
by snowgoer540
Replied by snowgoer540 on topic Encoder improvements for THCAD
So to enable this, all I have to do is change hm2_card.0.encoder.hires-timestamp to true?
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
6 years 4 months ago #172613
by tommylight
Replied by tommylight on topic Encoder improvements for THCAD
Yup, that is it.
Have not tested it yet, so will do that promptly ... just as soon as i finish adjusting some drag chains on both machines.
Have not tested it yet, so will do that promptly ... just as soon as i finish adjusting some drag chains on both machines.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
6 years 4 months ago #172617
by tommylight
Replied by tommylight on topic Encoder improvements for THCAD
Enabled it and now there is no encoder velocity ? Instead of velocity and voltage i get "inf" .
Please Log in to join the conversation.
6 years 4 months ago #172626
by PCW
Replied by PCW on topic Encoder improvements for THCAD
What hardware and servo thread rate do you have?
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
6 years 4 months ago #172627
by tommylight
Replied by tommylight on topic Encoder improvements for THCAD
Mesa 7i92, servo at 1ms.
Please Log in to join the conversation.
Time to create page: 0.119 seconds
