Difference between gear ratios and lowering rpm via code

Our team doesn’t have enough of the same teeth gears for idlers and was wondering what the advantage is to doing something like 36:60 for 360 output rather than other gears and changing the rpm to 360 in code.

1 Like

A gear ratio allows you to control both speed and torque => by having 36:60 gear ratio on a 600rpm motor you get less speed (360 rpm) but more torque (x1.6).

By simply controlling motor speeds you can achieve the same speed goal, but you sacrafice torque in the process since the direct drive motor can only put out so much torque without a gear ratio.

3 Likes

When you “gear down” mechanically, you not only reduce the output speed (RPM) but also gain a corresponding “increase in torque”, which gives you a “mechanical advantage”. However, when you reduce the speed using code alone, you don’t get that same torque boost; you’re just telling the motor to spin slower.

1 Like

Short Answer / TL:DR

Gear ratios change the limits of the motor’s output - the maximum speed and the maximum torque.
Coding for rpm changes just changes the speed of the motor, given that it is within bounds of the current gear ratio’s maximum speed.
We use both all the time - I for example use gear ratios to lower the maximum output speed of 600 rpm motors to 450 rpm and increase the maximum torque for fun things like acceleration and pushing robots, and in the code I change the rpm of the motors based on joystick position.

Long Answer

How motors work

While not completely necessary, it’s nice to understand how a motor works to understand basic concepts such as this.
brushedmotor_7

Image Source

VEX
Yay Evan I used citations are you proud of me :))

When a motor changes speed, it’s just changing how fast those electromagnets switch between negative, positive, and neutral.
A motor’s torque is determined by the strength of the magnets - how much electrical currrent flows through them.

By coding for a change in rpm, you’re telling the motor how fast to flip the polarity of those electromagnets. The maximum torque doesn’t change, as the maximum current/power it can pull stays the same.

What do gear ratios do?

I like class one levers. Class one levers are funny. They also help you understand gear ratios.
Let’s say the motor is that big finger trying to push down on the seesaw, and there is a big weight on the other end.

Changing the speed of the motor in the code is equivalent to this hand just pushing down faster - on the other end the load moves faster, but the hand’s max effort* it can use to lift the weight stays the same. The motor spins faster, but the torque limit stays the same.

However, changing where the hand is on the seesaw is equivalent to using a gear ratio - going further out reduces the speed at which the load on the other end moves, but the finger can exert less effort* to do so or it can lift more (gearing for low speed high torque). Going further in increases the speed at which the load on the other end moves, but the finger needs to exert much more effort* to do so (gearing for high speed low torque)

*I am dumb and do not know a better word to use instead of “effort”

Why do I need gear ratios then?

Well, motors have their limits.
A motor’s speed is limited by various things (how fast it can flip the electromagnet’s polarity, brushings, materials, etc.). A motor’s torque is limited by how much power it can pull.
You can set a motor to spin slower than it’s maximum - like setting a 480 rpm drivetrain to spin 360 rpm, but you won’t get more torque. And obviously you can’t set a motor to spin faster than what it currently can. And sometimes you need more torque for some nice acceleration or to push opponents around, but your motors can’t deliver enough power to do that.

A gear ratio helps by either increasing the output speed to be faster than what it currently can spin, or helps transfer some sacraficed speed for a lower speed drivetrain into extra torque that you can bully your opponents with or give you faster acceleration.

And now I go back to doomscrolling

8 Likes

your output speed will the the same but you loose a lot of your torque. like a ton. so your baisically intentionally bogging down your motors and drive. also FYI it doenst matter what size the idler gears are. they idle they have no impact on the end speed. only the input(driving gears with motors connected to them) and the output gears(your wheels) matter

3 Likes

I think this post might be relevant:

2 Likes

Using a 36:60 gear ratio to achieve 360 RPM provides a crucial torque multiplication , allowing your motors to exert more force on the output mechanism than if they were directly spinning at that speed. While you can adjust RPM in code, it doesn’t inherently increase the motor’s torque output; it merely limits its speed. Mechanical gearing offers a significant mechanical advantage and improved efficiency , which is vital for tasks requiring power like driving or lifting, reducing strain on your motors compared to relying solely on software limits.

1 Like