Advanced Search

Search Results (Searched for: )

  • warwickben
  • warwickben
01 Aug 2025 21:38
Mini pc recommendations? was created by warwickben

Mini pc recommendations?

Category: Computers and Hardware

I had bought a mini pc from Amazon and I’m not sure if it’s causing latency issues or not ? I’m using a mesa 7i96s .   This is the mini pc I bought.
www.amazon.com/gp/aw/d/B0DNT28BV1?psc=1&...pop_mob_b_asin_title 
i shut every thing i could off in the bios including WiFi. 

I was using probe basic but I get a latency error and random disconnects . 
Could I just switch to a raspberry pi5 16gih version? 
  • PCW
  • PCW's Avatar
01 Aug 2025 21:16 - 01 Aug 2025 21:19

W5100S-EVB-PICO stepgenerator and encoder driver

Category: Driver Boards

The issue with the sampling speed has to do with velocity calculations,
mainly at lower speeds or lower resolution encoders:

Imagine you have a 1000 count (250 PPR) encoder turning at 30 RPM (= 0.5 RPS so 500 Hz count rate)
If sampled at LinuxCNCs standard 1 KHz rate, you would get 1 count every other
sample, since the most basic velocity calculations would use the difference in counts to determine
the velocity, the velocity calculation would alternate between 0 RPM (count change of 0) and 60 RPM
(count change of 1). At higher speeds the problem gets better but does not go away, at 90 RPM
with the same encoder/sample rate, you would get alternating counts of 1 and 2 so alternating
velocity calculations of 60 and 120 RPM.

You can of course filter the velocity value since the average value will be correct, but this is not desirable
if the velocity is used for feedback as it lowers the control bandwidth.

The normal way  this is improved is by velocity estimation, which changes the velocity calculation from
delta_counts/sample_time to delta_counts/time_between_counts. This typically requires that the low level
hardware timestamp count changes to allow the time_between_counts to be determined.

Once you have decent velocity estimation, you can do tricks like position interpolation, allowing
use of very low resolution encoders for constant speed spindle synchronized motion like threading.
  • PCW
  • PCW's Avatar
01 Aug 2025 20:41
Replied by PCW on topic Spindle speed?

Spindle speed?

Category: Basic Configuration

 You posted Knuth.hal but not:

6i24.hal
LadderIO.hal
custom.hal
custom_postgui.hal

These are all parts of the configuration
Displaying 14281 - 14283 out of 14283 results.
Time to create page: 0.365 seconds
Powered by Kunena Forum