Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Geschrieben

I have a motor connected to a silent stepper set to a generic basic configuration, step resolution, speed ramping (acceleration and deceleration) and velocity.

 

The stepper is being told to travel x steps (using SetTargetPosition in C#).How do you calculate travel time T? (How do you know how long it will take for the motor to reach the target?)  ???

 

Note: travel time T needs to account for acceleration, deceleration and when the motor travels with full velocity.

Geschrieben

Very interesting issue, never thought about to calculate estimated time of arrival, but would be fine to have it.

My first clue would be to use the callback AllDataCallback

Ref.:https://www.tinkerforge.com/en/doc/Software/Bricks/SilentStepper_Brick_CSharp.html#callbacks

It returns also remaining steps and current velocity [steps/s] that gives y a rough base to calculate the time?!

 

By callback NewStateCallback y could differenciate more precisly between (de)acceleration- and run state.

  • 1 month later...
Geschrieben
  • Autor

Thanks for the reply @Nic!

You can calculate time using step resolution, velocity and remaining steps but this calculation does not account for acceleration and deceleration.

 

Motors accelerate and decelerate different based on the speed ramping values.

I found these formulas and I am currently using them but it's still not precise and I think I am not accounting for the speed ramping values correctly.

  • 1 month later...
Geschrieben

time of arrival will always have to account with the number of resources met along the grid lines. or am i missing something  ;D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.