Thursday, December 18, 2008

Final Class Blog

The robotics semester has come to an end and this will be my last entry. In the robotics unit we covered the main areas of robot construction, NXT programming and NXT sensor usage.

When it comes to robot construction we have learned the basic and finer points to creating a well constructed and fine tuned robot. We have learned how to properly support different kinds of structures with various types of supports, for example using cross beams to properly support a rectangular or cubular shape. In addition to this we learned how to properly add on and support other parts of our robots such as the gear attachments and the wheels. The wheels should favorably, not be directly attached to the motor, however on an axle that is connected through the use of gears; also that gears, axles and wheels should all be as close to the core of a robot as possible as it reduces the amounts of friction and pressure upon them. Finally we also learned how to properly balance the loads on our robots so that the robot has a center of gravity that is as low and stable as possible.

During the robotics course we learned how to use the NXT programming software to allow us to control what we wanted our robots to do. The NXT programming software consisted of two main palettes that allowed us to control most all of the robot's actions. On the robotics palletes where blocks programmed to make the robot perform actions such as moving, sensor blocks such as the sound sensor block and math/logic blocks which allowed the robot to compare data it had collected to make a decision based upon it. The NXT programming software would then be downloaded onto the NXT brick and the program could then be run.

Upon conclusion of the course we researched, studied the capabilities of and used almost all, if not all of the NXT sensors included in the kit. The sensors we focused on included: the rotation sensor, sound sensor, ultrasonic sensor, light sensor and touch sensor. The rotation sensor was built into the motor's and allowed us to calculate the distance the robot would travel based upon the wheel size and distance/rotation the robot travelled. With the sound sensor (measuring soud levels), we created thresholds of sound that allowed us to program our robots to perform actions upon that threshold being reached, however prevent it from acting prematurely upon sounds that were too quiet/loud. The ultrasonic sensor worked by calculating distance of objects based upon sending and recieving sound waves. We used the ultrasonic sensor to help us navigate an obstacle course. The light sensor emitted a red light and measured the amount of reflected light it recieved. We used the light sensor to allow our robots to track lines and stop at certain points. Finally, the touch sensor was triggered based upon if the sensor was pushed, tapped, or released, at which point the robot would perform a certain action. We used the touch sensor to stop our robots whenever it hit an object so that the motors would not keep moving and possibly damage the robot.

Throughout the course we were constantly working with calculating different algebraic formulas in order to measure and predict distance, speed and gear ratios. During our investigations of each sensor we also compared different hypotheses in order to prove which was most right/correct. Throughout the course we also had to constantly work with different partners so collaboration was a must in order to achieve our tasks. Thus effective collaboration and communication were important concepts throughout the course.

Thursday, December 4, 2008

Challenges: Drag Race and Tractor Pull

We have been assigned a new challenge, and this time around its less about using the sensors and all about the speed. We have to design a robot that will be able to cover the distance of a 3 meter straight track in the shortest amount of time. This challenge comes after we finished the gear worksheets, so obviously we will need to find a gear combination that will be optimum for speed.

At first we planned to create a robot with a gear train of two 40t gears and two 8 t gears...(even three at a point in time...that machine would truly have been monstrous) however my partner, Hakyoon, and I soon came to realize that with the minimal time allotted us, our robot simply wouldn't be able to support all of that extra weight on the wheel axles...a true shame. In the end we opted for a simple 1:5 gear ratio added a wheelie bar...In the first drag race our robot went berserk and 'unintentionally' using little lego 'spikes' protruding from its wheels rammed into the opponent and flipped it...even though we had to re-run the drag race (surprisingly beating the competitor's robot with the same gearing) our robot...truly was demonstrating its inner beastliness.




The tractor pull challenge works much in the opposite direction. We will have to design a robot that can push/pull the greatest amount of weight across 50cm in the shortest amount of time.
The gearing for this robot will be hard to balance between losing too much speed while still giving the robot lots of torque.

In addition to the modified gearing, our robot will most likely need a slight revamp to its actual structure in order to push large amounts of weight. The weight of the robot shouldn't be much of a problem, so my partner and I will most likely try to place additional weight on the driving wheels of our robot so that it has more traction and won't slip when pushing the weights. Some other attachments such as 'steering rods' may be placed out in front of the robot so that the object being pushed doesn't slip away.

Tuesday, December 2, 2008

Gears and Speed Investigation

In this investigation we explored the relationship between gearing up or gearing down and speed.
We were testing two hypotheses used to predict this relationship; the first being:

A: Speed One/Gear Ratio One = Speed Two/Gear Ratio Two
and the second being:

B: Speed 1 * Gear Ratio 1 = Speed 2 * Gear Ratio 2

We then setup our taskbot to run for 3 seconds and recorded the distance the robot moved each time with three different gear ratio configurations, 1:1, 3:5, and 5:3. Following this we used each formula to predict the speed at which the robot would travel at each speed, later comparing this to the actual angular velocity at which the robot moved by dividing the distance by the time (3 seconds). After comparing all of the results we found that hypothesis B was very accurate in predicting the actual speed the robot would go. Looking at the values produced by our experiment we found that the relationship between gear ratios and speed is inverse. Inverse meaning that as the gear ratio decreases, the speed increases, and as the the gear ratio increases, the speed decreases. This relationship is the opposite of a direct relationship such as that between wheel size and distance.