Speed Calculations

Arcolor Dropwatcher Calculations


In [1]:
import os
def calc_speed(t=None, dpi=None):
  frequency = 1/t
  pixel_pitch = 25.4 / dpi # mm
  speed = pixel_pitch*frequency /1000*60 # m/min
  print("Waveform length = {} sec".format(t))
  print("Max Frequency   = {} kHz".format(frequency/1000))
  print("Speed           = {} m/min{}".format(speed, os.linesep))

print("With Max Waveform size")
waveform_length = 50.0e-6 # sec
dpi = 150.0 # dpi
calc_speed(waveform_length, dpi)  
  
print("With your defined Waveform size")
waveform_length = 37.4e-6 # sec
dpi = 150.0 # dpi
calc_speed(waveform_length, dpi)  

print("With your existing errornous Waveform size")
waveform_length = 200.0e-6 # sec
dpi = 150.0 # dpi
calc_speed(waveform_length, dpi)


With Max Waveform size
Waveform length = 5e-05 sec
Max Frequency   = 20.0 kHz
Speed           = 203.2 m/min

With your defined Waveform size
Waveform length = 3.74e-05 sec
Max Frequency   = 26.7379679144385 kHz
Speed           = 271.65775401069516 m/min

With your existing errornous Waveform size
Waveform length = 0.0002 sec
Max Frequency   = 5.0 kHz
Speed           = 50.8 m/min