The mini sculpture designs require user input that changes the behavior of the sculpture alongside data from sensors, which is used for the calculations that predict how the ball will move.
Our team is building these mini sculptures to gain experience with using the NXT LEGO Mindstorm as well as the sensors. We are also building mini sculptures to combine multiple of them into a large marble sculpture.
Our team devised multiple concepts which all had thier own pros and cons. The designs which we considered included a marble launcher, marble color sorter, and a trampoline launcher.
The marble launcher is the main design which our team focused on, which takes user input from a touch sensor resulting in a motor launching a marble off a ramp, which is then caught by a basket on a motorized cart.
The color sorting idea involved a rotating ramp which depending on the color of the marble would turn to divert the marble into the respective basket.
The trampoline launcher operates on the idea that a trampoline which sits beaneath a ramp will change is angle to launch a marble into different baskets based on its color.
Based on the categories and results in the Pugh matrix our team determined that Marble Launcher would be the most feasible idea which had the most protentional to become a fully functional idea. The categories were weighted to prioritize functionality, since the most important part of the mini sculpture was to be working.
The Risk Assessment chart as seen on the left analyzes the relative issues with our mini sculpture. The biggest points of failure and concern are the speed sensor malfunctioning and the motor being overloaded. While the motor overload issue is not particularly a problem, the speed sensor malfunctioning will cause a complete miscalculation by the catching mechanism.
Evaluating the dynamics of the mini sculpture we can use the principles of conservation of angular momentum and basic kinematics to determine the distance at which the marble will land based off a the angular speed of the arm. While these calculations involve angular momentum, due to the presence of a speed sensor we can skip those calculation in the code.
Code
You can find the full code file here.