Electrical Energy Calculator
Calculate electricity use from power and duration, or constant DC voltage and current. Compare energy use over different operating times in watt-hours, kilowatt-hours and joules.
Open toolInteractive calculation is unavailable until JavaScript loads. The formulas, worked examples and references below remain available.
Generate a trapezoidal motion profile: relate travel distance to speed and acceleration limits, with move time, peak speed and phase times, including triangular moves.
Choose the position unit your axis uses: mm, m, degrees or revolutions. All fields use it.
Enter the move distance, the speed limit and the acceleration.
Choose Separate value if deceleration differs from acceleration, and enter it.
Read the move time, the profile shape, the peak speed and the phase table.
To see where the axis is during the move, enter a time or drag the time slider. Copy result copies the profile; Reset restores the starting example.
A trapezoidal profile accelerates at a constant rate up to the speed limit, cruises, then decelerates at a constant rate to stop exactly at the target. On a speed–time graph the three phases form a trapezoid, and the area under it is the distance moved.
Reaching the speed limit and stopping again needs v²/(2a) + v²/(2d) of travel. If the move is shorter, the axis never reaches the limit: it accelerates to a lower peak speed and immediately decelerates, giving a triangular profile.
In a triangular move, raising the speed limit changes nothing; only higher acceleration shortens the move. In a long trapezoidal move, the speed limit dominates the time.
Limitations: acceleration jumps instantly between phases (infinite jerk), which excites vibration in real machines; an S-curve profile limits jerk. The profile starts and ends at rest, ignores motor torque, load and following error, and does not check whether the motor can deliver the acceleration.
Distance to reach v and stop: D_a + D_d = v²/(2a) + v²/(2d).
Trapezoidal times: t_a = v/a, t_d = v/d, t_c = (D − D_a − D_d)/v, T = t_a + t_c + t_d.
Triangular peak speed: v_p = √(2 D a d/(a + d)); with a = d, v_p = √(D a) and T = 2√(D/a).
Position during the move: Acceleration phase: s = ½ a t². Cruise: s = D_a + v_p (t − t_a). Deceleration: s = D_a + D_c + v_p τ − ½ d τ², with τ = t − t_a − t_c.
Average speed: Average speed = D/T. D is the distance, v the speed limit, a and d the acceleration and deceleration, all in one position unit u.
D = 100 mm, v = 50 mm/s, a = d = 100 mm/s²: Trapezoidal; T = 2.5 s; phases 0.5 s / 1.5 s / 0.5 s; 12.5 / 75 / 12.5 mm. Reaching 50 mm/s takes 50/100 = 0.5 s and 12.5 mm; stopping takes the same; the remaining 75 mm at 50 mm/s takes 1.5 s.
D = 10 mm, same limits: Triangular; peak 31.6228 mm/s; T = 0.632456 s. Reaching 50 mm/s and stopping needs 25 mm, more than 10 mm, so v_p = √(10 × 100).
D = 100 mm, v = 50 mm/s, a = 100, d = 50 mm/s²: T = 2.75 s; phases 0.5 / 1.25 / 1 s. Slower deceleration needs 25 mm to stop, leaving 62.5 mm of cruise.
Rotary axis: 90 degrees, acceleration 180 degree/s², speed limit 1 rev/s typed as 1: T = 90.0056 s instead of 1.41421 s. With the unit set to degrees, 1 means 1 degree/s. 1 rev/s is 360 degree/s, and at that limit the move is triangular: T = 2√(90/180) = 1.41421 s. Every field must use the same unit; this is a common mistake.
OpenStax: motion with constant acceleration
OpenStax: instantaneous velocity and speed
Lynch and Park: Modern Robotics, chapter 9 (trajectory generation)
Available now
Calculate electricity use from power and duration, or constant DC voltage and current. Compare energy use over different operating times in watt-hours, kilowatt-hours and joules.
Open tool →Available now
Add up to 20 resistors in series using Ω, kΩ or MΩ for circuit analysis and electricity calculations, with a diagram and running total.
Open tool →Available now
Convert absolute temperatures between Celsius, Fahrenheit and kelvin.
Open tool →Nice audio board working as expected.
Given the fact that this was my first purchase and I made it thinking I was buying genuine Yihua products, this has been a setback. I received a lesser known OEM brand called MYTO and while both the products seem to be similar from appearance, my real contention is the quality and quantity of the brass wool. On top of that not informing the customer about the unavailability of the Yihua product and instead sending a product from a different brand is also antagonising. Henceforth, I might just have to think twice before ordering from ThinkRobotics.
TOF MINIF Range Sensor - UART TOF Time-of-Flight Laser Range Sensor
We are disappointed with our recent order experience. We clearly communicated our requirement for 433 MHz antennas on WhatsApp, but the issue remains unresolved. We have been following up for more than 10 days and are still waiting for a proper refund resolution.
As a regular B2B customer, we expected better support. This experience has affected our trust in ThinkRobotics, and we may have to consider other suppliers for future purchases. We request a fair and prompt refund.
Anodised Aluminium Cup Head Washers (Pack of 10)