× Forum Header

Formula of base period and frequency

More
19 Jul 2014 18:36 #48934 by t1m0n
Hi, I analyze the configuration with stepconf.
Actually, I have two different configurations which I compare with each other by stepconf, but I don't find there the valid formula.

Configuration 1:
Step Time: 10 000 ns
Step Space: 10 000 ns
Direction Hold: 200 000 ns
Direction Setup: 200 000 ns
Jitter: 15 000 ns

StepConf say:
Min base period 25000 ns
Max step rate 20 000 Hz


Configuration 2:
Step Time: 1000 ns
Step Space: 1000 ns
Direction Hold: 1000 ns
Direction Setup: 1000 ns
Jitter: 15 000 ns

StepConf say:
Min base period 22 000 ns
Max step rate 45 454 Hz


For configuration 1, the base period is like described in the manuals: 25 000 = 10 000 + 15 000 (base = step time + jitter)

For configuration 2, to reach 22 000 ns, I have to add step time + step space + jitter + 5000ns, wherever they come from.

What is the all in one valid formula to calculate the step rate and the base period? I found a spreadsheet in the wiki but this calculates other values than the stepconf.
Where is this described? I don't find the answer in manuals, forum or wiki.
The Integrator Manual described the calculation on page 3 but there is no answer for my question.

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

More
19 Jul 2014 18:43 #48935 by BigJohnT
You might have to study the stepconf program to see where the calculation comes from. I'm sure there is no mention of the program algorithm in the manuals.

JT

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

More
19 Jul 2014 23:33 #48942 by andypugh
I suspect that in the second case the step time is considered "small" so that "doublestep" is configured. This is a scheme where selected parallel port pins are reset low at the end of each thread invocation. This means you can have a step every thread cycle, not one to turn it on, and off at the next.

As the parport.reset function "blocks" it is not used when the step time is "long" as that has a bad effect on the system.

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

Time to create page: 0.079 seconds
Powered by Kunena Forum