Home > Net > With displacement of PCI high-speed acquisition card collection, computing the displacement speed
With displacement of PCI high-speed acquisition card collection, computing the displacement speed
Time:11-12
PC software using c # to do, by PCI displacement signal acquisition card collection, and then by calculating unit time of previous and current displacement calculation speed differential
Now calculation speed is always not stable, fluctuating very large
My displacement is the displacement of the oil cylinder stroke 0-150 - mm, maximum speed is 1.5 mm/(with a stopwatch estimate), but the opening of a given servo valve is fixed, the calculation of the opening of the random fluctuations, such as the speed of 10%, the speed of calculation from 5 to 35 mm/min, because is parabolic servo valve, so the speed and the opening is not a linear proportional relationship,
I later with the DataReady acquisition card directly trigger events, I set 200 k sampling frequency, data length, as long as 1000 per 1000 triggered a collection of events, the sampling time can be set according to the truth, and I finished it sampling are generally 20 ms, I calculate speed 1 s a value also is volatility
CodePudding user response:
It's normal
We simulate a little bit about the you see
0,0,0,0,1,1,1,1
We assume that your so-called timer just sample 4, then 2 times collection, just a 0, 1, the two extreme If we use the moving window handle
He is 0 0, 0, 1 0,1,1 1,1,1 So you can see he is continuous
I'm just a simple way, actually this is a special chapter "digital signal processing window function"