Also to be fair the final system does lose a ball every 30ish minutes. The tuning was largely me staring at the run or taking a video trying to catch where they get lost. Instead of hand tuning I would just update the generator and print another one. I'm considering closing the loop with a camera but that would be a whole new project.
https://www.nolimitscoaster.com/
First, I thought about Ansys or CATIA software but I couldn’t find any module specialized for simulation of balls.
But I think that people from those companies could help as well and participate in simulation as an interesting usecase. (These software are expensive for personal projects.)
https://www.youtube.com/watch?v=8YeXyUNCnhM
I'd imagine that the 3d-printable models could be imported into blender, so it's 'just' adding balls and motion to the lift.
https://ansyshelp.ansys.com/public/account/secured?returnurl...
But for hobby purposes I would suggest to contact some university, they have such software, and they could find simulation of balls motion at marble fountain interesting for research (and educational) purposes.
You can see a ball on the ground at the end of the video :-)
> I was able to get it working consistently, although it did lose 2-3 balls an hour and could only run for a few hours without the motor overheating.
IMO that's more impressive to hear than if he hadn't mentioned it at all. (I would have assumed more marbles getting lost.)
Doesn't make the whole thing less remarkable.
The state of each ball can be described by 9 parameters: the current location of the center of mass (x,y,z), the current linear velocity (vx, vy, xz) and the angular velocity on 3 axes.
I don't think the forces acting on the rails need to be similar -- they just need to be such that the acceleration of the ball is always parallel to the track. Unfortunately the equation of motion will look pretty ugly and optimizing the system will be quite a challenge.
And finally, the system has to be stable, ie. small perturbations should be cancelled rather than grow - if a ball gets a little too fast there should be something like a bend that slows it down, but that bend should at the same time not slow down a ball that is already too slow...
That's the thing here: he has it running for hours presumably without any ball jumping out.
Most of the tracks consist of two rails, so the ball has two contact points. I'm no physicist but it seems like the goal would be to have ideally nearly equal forces at the two contact points at all times during the ball's descent. In other words, the track has to be perfectly banked so that the gravity and centripetal acceleration vector are balanced by a normal vector perpendicular to the rails. During a derailment, the ball has to lift away from one of the two contact points, so the normal force must have dropped to zero.