low jitter

More
20 Nov 2022 03:35 #257140 by vre
low jitter was created by vre
Hello.
What hardware has very low jitter for base thread?
For example to low to be able generate 200-500khz step-dir at base thread.
Is that impossible?

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

More
20 Nov 2022 11:40 #257155 by tommylight
Replied by tommylight on topic low jitter
No, 200 to 500kHz is to much for a parallel port.
Also the step time and space at such a rate is to short for all cheap drives.
Parallel can do up to 50kHz if lucky with finding a PC, max i could do so far was around 70kHz.
Just in case, get a Mesa 5i25 or 6i25 or 7i92, those do 10MHz and have equivalent of 2 parallel ports, 34 pins and each can be an input or output.
Also, 7i80 has 4 parallel ports and can still be found.
Not very sure about the last one, so please do check.

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

More
21 Nov 2022 05:37 - 21 Nov 2022 05:40 #257194 by vre
Replied by vre on topic low jitter
What pc can do 70khz from parallel port ?

Yes mesa can do 10Mhz but in servo thread not in base thread.
Because i need to do raster engraving searching some hardware
that can get low jitter in base thread.
No parallel port... something other maybe
Last edit: 21 Nov 2022 05:40 by vre.

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

More
21 Nov 2022 11:23 #257201 by tommylight
Replied by tommylight on topic low jitter
Never tried, but i am pretty sure you can do raster with servo thread, it is updated 1000 times a second, should be enough.
I build small engravers/scratchers that use PWM to control head pressure, with parallel port, but the max speed is 3 meters per minute, so even 100000ns base period is enough.
I wonder why would you need 500kHz?
An old Fujitsu-Siemens workstation did 70kHz, it was a dual 4 core Xeon, it died! Later found out the 700W power supply had dry capacitors.

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

More
21 Nov 2022 11:25 #257202 by tommylight
Replied by tommylight on topic low jitter
Almost forgot, some Mesa boards can easily do 250000ns servo period, so that is 4000 updates per second.

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

More
21 Nov 2022 12:09 - 21 Nov 2022 12:11 #257205 by rodw
Replied by rodw on topic low jitter
In v 2.9, there is a new hal data type called hal_port but its not fully described as the examples are missing.
Docs: linuxcnc.org/docs/devel/html/man/man3/hal_port.3hal.html
It is designed to stream raster data to a laser in real time.

The elusive examples:
github.com/DuttonIndustrial/linuxcnc/tre...nfigs/sim/axis/laser
github.com/DuttonIndustrial/linuxcnc/blo...ents/laserpower.comp
github.com/DuttonIndustrial/linuxcnc/blo...mponents/raster.comp
 
Last edit: 21 Nov 2022 12:11 by rodw.
The following user(s) said Thank You: tommylight

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

More
21 Nov 2022 12:13 #257206 by rodw
Replied by rodw on topic low jitter
I think the objective is to buffer data to the mesa card and let the FGPA paint the data much faster than the linuxcnc servo thread can.

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

More
05 Dec 2022 23:31 #258636 by vre
Replied by vre on topic low jitter
Very usefull links.
Seems not included in 2.9 yet

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

More
06 Dec 2022 02:05 #258657 by andypugh
Replied by andypugh on topic low jitter
I think that HAL_PORT is in 2.9 but some new laser-related content has only gone in to master (and only just now, as I was waiting for CI to check it, and then git distracted)

github.com/LinuxCNC/linuxcnc/pull/2171

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

Moderators: PCWjmelson
Time to create page: 0.147 seconds
Powered by Kunena Forum