Case File: Which Gearmotor Pushes the Trolley
A warehouse trolley robot stalls on the ramp to the loading bay. Work out the force at the wheels from the weight on the slope, the rolling resistance and the acceleration, the torque for each driven wheel with a margin, the wheel speed in revolutions per minute, and judge every gearmotor of a catalogue (torque, speed, or both too small), then choose the cheapest that works with a fair tie rule. Run it on robots that you cannot see. The robot is generated for you alone.
Sabi Logistics · Robot 1
Which Gearmotor Pushes the Trolley
The new trolley robot stalls halfway up the loading ramp, and the motors that were bought are the ones that we cannot return
Tunde Hardware lead ·
Tunde. The prototype trolley robot stalls halfway up the ramp to the loading bay, and the motors smell hot. I picked them because they looked “about right” in the catalogue. We are about to order thirty more.
I have the robot: its mass, the radius of its wheels, the slope of the ramp, the acceleration that we want, the speed and the number of driven wheels, and a catalogue of gearmotors with the torque and the speed that each gives at the wheel and a price. Please work out the force, the torque that each wheel needs (with a safety margin) and the wheel speed, say for each motor if it is good enough (and if not, whether the torque or the speed is the problem), and choose the cheapest one that works.
The brief
What you need to know first.
- The force at the wheels. Three things push back: the weight along the slope,
m x g x sin(slope); the rolling resistance,m x g x mu x cos(slope); and the force to accelerate,m x a. Soforce = m x (g sin + g mu cos + a), in newtons, withg = 9.81and the angle in radians (degrees x pi / 180). - Torque and speed at one wheel.
torque = force x radius / wheels x marginin newton-metres (each driven wheel carries its share; the margin, here 1.5, covers rough floors and ageing).rpm = speed / (2 x pi x radius) x 60. - A motor is “ok” when its
torque_nm >= torqueandrpm >= rpm(equal is fine). Otherwise the reason is"torque","speed"or"torque_and_speed". A motor that is strong but slow cannot be fixed by gearing alone: a gear trades one for the other. - The choice. The cheapest motor that is ok; a tie in price goes to the name that sorts first (go through the motors in sorted order and replace the best only when the price is strictly lower).
Noneif no motor works. - Fill in
size_drive(req)returning{"force_n", "wheel_torque_nm", "wheel_rpm", "options", "chosen"}(3 decimals), thenresultandn_ok. The checks runsize_driveon robots that you cannot see: a flat floor with no acceleration (the torque needed is 0), motors exactly at the limits, and an empty catalogue.
The lab gives you the data for this case, invented and generated for you alone.
Preparing your data…
On the bench
The lab checked the arithmetic with a script. These are the measurements and tests that show the same thing on a real robot.
| You want to | Do this | What you see |
|---|---|---|
| check that a motor is big enough on the real ramp | Put a clamp meter on the motor supply and drive the loaded robot up the ramp, then compare the current with the stall current | a current well below the stall current, which means enough torque |
| measure the real rolling resistance | Pull the robot on the floor with a spring balance at a steady speed | the force in newtons, which divided by the weight gives the friction coefficient |
| check the wheel speed | Count the wheel revolutions in ten seconds with the robot on a stand | the real rpm to compare with the speed needed |
Test with the wheels off the ground or in a clear area, with the emergency stop within reach. These calculations are not a safety function.
Tunde: “Two motors pass on torque but fail on speed. Someone says that we can gear them differently. Does that fix it?”
🔒 The debrief unlocks when you close the case. Finish the lab above.
The debrief
Tunde: “So a gear box is a trade, not a gift.”
What a senior robotics technician would do next. A gearbox trades speed for torque: halving the speed doubles the torque (less losses). So a motor with plenty of torque and too little speed can often be re-geared; a motor with enough speed and too little torque can be geared down, and then it may be too slow, and the power (torque times speed) is what really has to be enough. Check power and current: the motor, the driver and the battery must all supply the peak current at stall, not the average. Look at the duty cycle: a motor that is fine for ten seconds on a ramp may overheat if it climbs it all day, so check the continuous torque, not only the peak. Allow for efficiency of the gearbox (70 to 90 percent) and for a heavier payload than today. Measure on the real ramp with a clamp meter on the motor current: the torque is proportional to the current, and a motor that pulls near its stall current is too small. And order one spare of the chosen motor before the thirty.
The trap. Choosing a motor on the speed or on the price. The slope and the acceleration decide the torque, and the torque is what stalls.
Write the motor sizing note
Write the note for the hardware lead: how the force at the wheel is worked out (the weight along the slope, rolling resistance and acceleration), the torque for each wheel with the margin and the wheel speed in the case, which motors pass and which fail and why (torque, speed or both), which motor to buy and the tie rule, why the prototype stalled, and what else to check (gearing as a trade, power and stall current, continuous duty, gearbox efficiency, a heavier payload, measuring the motor current on the real ramp, a spare).
🧪 Want to practise this on your own computer? See how to set up your lab →