JVN's Calculator (help)

I downloaded JVN’s Calculator last night and still have not quite figured it out. Is there any way I can calculate an accurate speed with the compensation for chain and sprockets also? I’ve been playing around with it and haven’t noticed a feature for the sort. Maybe somebody can point me in the right direction? (Even if it is someone telling me that I need to calculate that part of it myself) All help is appreciated!

Chain/sprocket reduction have the same idealized mathematical model as gears do, so you can just fill in one of the lines under Driven/Driving Gears for the chain reduction.

Cheers,

A 12 and 22 tooth sprocket will cause the exact same reduction as a 12 and 22 tooth gear. Plug it is as if they are gears.

It totally depends on how precise you wan’t to be, but treating a sprocket ratio as a gear ratio may be different due to gear reduces efficiency. Aluminum sprockets I believe have an efficiency of about 90 - 92 % if your using two sprockets. So if you feel like calculating things yourself :slight_smile: !


Gear reducer ratio = Gearbox sprocket# / Wheel hub sprocket#

Equation:

Output speed(RPM) =
Input speed(JVC outputRPM) / Gear reducer ratio * gear reduces efficiency(% …0.92 or 0.90)

Once you have output speed(in RPM)

Calculate Circumference = Wheel diameter(in) * PI

Finally:

Speed(fps) = (Circumference * Output speed) / [60 (for seconds) * 12(get ft)]


I hope this isn’t too confusing :smiley:

This is simple, but may also be simplistic. Sprockets generally reduce efficiency, but so do a host of other factors, such as motor effectiveness at different loads, air drag, rolling resistance, and more, none of which are constant. We found that our overall efficiency this year was above 90% in low gear, and less than 80% in high gear. Unfortunately, there is no substitute for testing.

Good call.

Playing with numbers is still fun :wink: especially before purchasing gearboxes.

Could you share how you are doing this testing? What are measuring and what are you holding constant?

We marked 20ft in 2ft intervals, then ran the robot at full throttle (from stop at the 0ft mark) in both low and high gears while capturing with a camera at 60fps. We did three trials of each gear. I then crunched the frame data and modeled some curves off of them.

This would make for a very nice little white paper for the community showing how you adjust the model to correlate the data. Something simple and clean like a youtube video showing the acceleration and picking out the data points, and then adjusting the factors and how they move the distance vs. time curve.

Nice. Did the wheels break traction at the starting line when you hit it with full throttle?

Could you please share a few details about the math here? How did you calculate the 80% and 90% numbers?

EDIT: just saw IKE’s earlier post about posting a paper. I agree. In the meantime, perhaps you could whet our appetite with a few details as mentioned above.

The wheels did not break traction. We’re running 4 CIMs on a pretty heavy robot.

As for the efficiency numbers: The drivetrain’s free speed, without any efficiency losses anywhere, is easily calculable from CIM free speed and gearbox reduction. I used the frame data to get a distance-over-time graph with 11 points of data (0ft-20ft at 2ft intervals), then ran a power regression (r^2 =~= 99.5%) to fit a curve to it. I took derivatives to estimate velocity and acceleration, but these were not too accurate because the robot hit its top speed before the end of the 20ft. How do I know that? The last 5 data points in each gear fit a line (r^2 =~= 99.9%), which I used to calculate top speed. I then compared this with the theoretical free speed of the drivetrain to find the efficiency.

After that, I talked to my physics teacher, and was able to draw all sorts of interesting conclusions about the factors that affect efficiency. I had originally hoped to come up with a differential equation that could solve for efficiency based on major factors, but after these tests, it’s very clear that this equation would not only be extremely difficult to solve, but also nearly impossible to generate in the first place. I might expand on these points in a future white paper, but I have a lot on my plate at the moment. Hope this helped.

*@T^2:

So bottom line, if I read you correctly, to get the efficiency numbers you measured the vehicle top speed in each gear, and divided that by the calculated vehicle speed at CIM-free-speed.

That’s an interesting method. It also helps explain why you got a higher efficiency with more gears.

@all:

What “efficiency” metrics and test methods do other teams use?
*
*

Could you explain this statement?

Sure. By “more gears” I meant more gear reduction, i.e. more speed reduction.

In an earlier post you said:

In low gear your top speed is slower, so the forces and torques at steady-state at full throttle are lower compared to high gear at steady-state at full throttle.

I agree with this statement. However, lower torque is not the only factor contributing to loss of efficiency at higher speeds. We found that our effective gearbox spread was lower than 2, while the theoretical spread was 2.27. In my opinion, additional loss of speed should be taken into serious account when designing multi-speed drivetrains; this applies to JVN’s calculator in particular, since it is so widely used. It allows for a “gearbox efficiency” number on top of a “speed loss constant” – but neither of these numbers are anywhere close to being actual constants.

For the record, I said forces and torques.

The additional reduction in your observed top speed is caused by these higher forces and torques: the higher force required to sustain the higher vehicle speed ultimately manifests as higher torque load on the motor which in turn means the motor spins more slowly… and thus the steady-state vehicle speed is reduced. Since you are calculating efficiency by dividing measured steady-state vehicle speed at full throttle by theoretical speed based on CIM free speed, that’s why you get a lower efficiency number for high gear.

Ether - are you suggesting that there is a more meaningful or relevant measurement?

Reading this thread has made me think - what are we trying to calculate and what do we care about? It seems that actual top speed is a very relevant piece of information. There are certainly limitations to oversimplifying drivetrain design to a single spreadsheet with several assumptions that try to bridge the gap from theoretical to actual.

Ether wrote:
That’s an interesting method.

No. It’s undoubtedly an excellent metric at top speed.

How would it be used, and how accurate do you suppose it would be, to predict behavior at low-speed high-torque operating conditions?

And, since the title of this thread is “JVN’s Calculator (help)”, how would one go about using that single metric to derive the 2 free parameters “Speed Loss Constant” and “Drivetrain Efficiency” in JVN’s model, so that the model could be used to analyze other operating scenarios?

@T^2: Just wondering: did you try playing around with the 2 free parameters in JVN’s model to see how well you could get it to match your measured position-vs-time data from the video?

I dug up the actual numbers. We had an overall 72% efficiency (using motor free speed metric) in high gear and overall 92% efficiency in low gear. I then pulled some assumptions out of where the sun doesn’t shine: 98% efficiency in each stage of the gearbox, with three stages total, gives about 94% gearbox efficiency overall. (Obviously, that number is not a true constant, but I assumed it was pretty close.) This leaves the speed loss “constant” as 76% in high gear and 97% in low.

For those of you in the peanut gallery, this leaves a very important conclusion: It is almost impossible to calculate the true top speed of your robot from theoretical numbers, given the sheer quantity of resistive forces involved.

Hopefully this deters teams from posting their robot’s top speed without actually testing it.

Because you should. Test it.

Would you be willing to post your actual test data? I’d like to play around with JVN’s model and see how well it correlates with your test data using the above model parameter values.