[SOLVED]Calculate required energy

How to calculate required energy to move an object to required distance.

Never dealt with this type of problems and its hard to explain properly.

I need to use stepper motor to move object on rails. With trial and error method want to have at least starting point to choose proper stepper motor.

Lots of variables, mass, final speed, how long to accelerate to that speed, resistance to movement (friction, bearing / geartrain drag) inclination (gravity), how far to travel at final speed, etc. Do you have an assembled machine except for motor?

Not yet i was thinking may be there is a formula for that type of calculations to do some math then start drawing in cad.

Update: all i needed was Robin2’s article after reading found answer i was looking for.

And link if someone like me will need info about steppers.

http://forum.arduino.cc/index.php?topic=284828.0

A stepper motor is about the least efficient way possible to do traction, and its burning about the same
power whether moving or stationary.

If you need to use a stepper the question to ask is "is the dynamic torque curve for the motor adequate
for the max load at the speed in question for the supply voltage used?"

The power drain will be an order of magnitude higher than a DC motor + encoder setup, so perhaps
this is an xyproblem - is your need to use a stepper motor, or is it to move something efficiently?

I know about constant current draining of stepper even if its not doing anything that problem will be solved via comparator circuitry when getting signal from Bluetooth module. Whole power to stepper will be cut. But any suggestions are very welcomed i didnt start working on that part of the project yet.

For a stepper the power required depends only on the time its powered up for.