Category Archives: Robotics

Solar Energy Experiment

Since the discovery and implementation of photovoltaic cells our world has been revolutionized by this renewable energy source. Solar Panels convert sunlight into DC electricity. The more sunlight the solar panel is exposed to, it results in the electrons in the solar panel to be “excited” more aggressively, thus resulting in a higher voltage. Many companies and home owners have turned to solar panels to power several appliances being used throughout the building/house. Although solar panels are a huge investment, in the long run they become economically beneficial. During our Freshman Seminar class on October 28, we performed a photovoltaic experiment. During this experiment we measured the voltage output of a small solar panel while changing the height of the light source and the color filter above the solar panel. We used a NXT microcontroller and a voltage probe in order to collect data through a Labview prewritten code. A copy of the code can be seen below.

 

The first task of the experiment that we tested was determining the relationship between distance and voltage output. It is important to remember that as the distance between the light source and the solar panel increase, the light intensity decreases because the photons spread out more with greater distance. We tested this by using a flashlight (in my group we used a iPhone) to serve as our sunlight. We changed the distance between the light source and the solar panel during each trial. We did three trials, each having a distance of 1 cm, 5 cm, and 10 cm respectively. If you look at the graph below, you can conclude that the relationship between light intensity and voltage output is linear. Both variables are inversely proportional to each other. As the distance increases the voltage output will decrease. Our coefficient of determination was 0.9062 thus proving there is a obvious correlation between distance and voltage output.

 

Screen Shot 2015-11-13 at 11.36.27 PM

 

Screen Shot 2015-11-13 at 11.37.00 PM

 

The second task of the experiment that we tested was discovering how a colored filter affects the voltage output, while keeping the distance constant. We used a green, red, and purple/blue clear transparent filters. We compared the voltage output of each filter to the voltage output with no filter. As can be seen in the bar graph below, as the color depth got darker, the voltage output was getting lower. This is a result of the darker colors absorbing more light and allowing a smaller amount of light through it.

 

Screen Shot 2015-11-13 at 11.37.43 PM

 

Screen Shot 2015-11-13 at 11.38.17 PM

 

Overall this activity was extremely enjoyable and very educational. This activity connects directly to renewable energy sources such as solar panels. As we observed as the light intensity increases the voltage output increases simultaneously. Solar panels with tracking systems that tilt/rotate the solar panel towards the sun are applying the very basic observation we saw in the experiment. If the solar panel is exposed to the maximum light intensity available it will output the most voltage it can at that moment.

Generator Experiment

During our Freshman Seminar class on October 26, we performed a Generator Experiment. Ultimately, we were testing the creditability of Faraday’s Law. Faraday’s Law states that if you change the magnetic flux through a coil it will result in a voltage to be “induced” in the coil. This would result it in a voltage and current to be created. We simulated this statement by having a shaking flashlight. The outer casing of the flashlight is transparent and inside this outer shell there is a copper coil with many turns. Also inside the flashlight is a magnet. The magnet is loose and can move freely vertically. By shaking the flashlight the magnet would move through the coil thus producing a voltage and current. We collected the data (voltage being produced) by using a NXT microcontroller, which was running Labview code. A copy of the code can be seen below:

 

Screen Shot 2015-11-06 at 11.21.37 AM

Screen Shot 2015-11-06 at 11.22.14 AM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I have provided a copy of our data points that we collected during each 30-second trial. In each trial we would increase the number of shakes. In addition, a scatterplot is provided displaying the best-fit line and the coefficient of determination (R2).

 

Screen Shot 2015-11-06 at 11.26.43 AM

 

Screen Shot 2015-11-06 at 11.32.07 AM

 

As can be observed in the graph as the number of shakes increased, the sum of voltage squared increased as well. The faster the magnet crossed through the coil the more electricity that was being produced. At times the voltage reading was negative and this is because the polarity was changing from positive to negative. In conclusion, our R2 value was 0.96 thus concluding that there is a very strong relationship between the number of shakes and sum of voltage squared.

Mass-Pulley Experiment

Newton’s Three Laws of Motion have revolutionized the way we describe the relationship between force and motion. His Three Laws of Motion can be applied to everything in our world and they will all confirm his theories. During our past lectures we decided to test the accuracy of Newton’s Second Law of Motion. His second Law states that , The Force (measured in Newtons) is equal to an objects mass times its acceleration (measured in Kg and m/s2 respectfully). We used a Lego robot motor to lift a small weight that was attached to a string that was placed on a pulley. Once again we used the Labview programming software with prewritten code. Down below you can see the physical setup of the experiment and a copy of the code that we executed.

 

Pulley-Experiment-

image005

 

 

 

 

 

 

 

 

For the first experiment, we kept the power level fixed at 75 and we changed the mass on each trial in order to conclude how acceleration is affected by these two variables.

 

Mass_VS_Acceleration

 

By analyzing the data and the graph we can come to the conclusion that if force is fixed and the mass is increased it will result in the acceleration being decreased. This is because mass and acceleration are inversely proportional. As one is increased the other one has to decrease under the assumption that the force is fixed.

 

For the second experiment we took a similar approach to the first experiment except were keeping the mass fixed at one value for all trials. For all three trials we kept the mass at 0.17 Kg and we changed the power level, which we were considering as our force variable.

 

Force_VS_Acceleration

 

As demonstrated in the graph and in the data points, if we keep the mass fixed, the power level increases as the force is increased. Force and acceleration are directly proportional, so as one increases the other must increase as well. This can also be seen in the graph by the linear trend line that goes very close to each data point.

 

For the next two experiments we decided to focus around the Laws of Conservation of Energy. We measured the height that the motor would have to lift the mass to and estimated the potential energy of all our trials throughout the whole experiment.

 

Summary_of_Data

 

Mass_VS_Battery_Discharge

 

After measuring the height, and calculating the Potential Energy we decided to investigate the relationship between mass and battery discharge while keeping the power level fixed. While keeping the power level fixed at 75 we observed that as the mass is increased the battery discharge increases as well. Both variables are directly proportional.

 

For the last experiment we analyzed the relationship between Power level (Force) and Power (Watts). We calculated Power (Watts) by using the equation: Powerused = Potential Energy / Time.

 

Power_Level_VS_Power

 

Looking at this graph we can conclude that Power Level (Force) and Power (Watts) are directly proportional. The greater the Power Level, the greater the Power used by Motor is. This relationship is so evident that our R2 value is 0.99966. The closer R2 is to 1, the better the best fit line accurately represents the data and their relationship.

 

In Conclusion, the Mass-Pulley Experiment was a greater way to see Newton’s Second Law of Motion and the Law of Conservation of Energy in action! This experiment is so closely related to Energy and Efficiency because Energy revolves very closely around Newton’s three Laws of Motion and Conservation of Energy. We all know that Energy cannot be destroyed or created, it just converts itself into heat or sound or other forms. One of the biggest problems is how to become more efficient by taking lost energy (that is another form) and capturing it and inputting it back into the system. As we saw by the experiments, an object needs a force in order to be put in motion and a heavier object needs just as much force. More force needs more watts (in mechanical systems) in order to operate. We must think of ways to use less power to output the same amount of force.

 

Introduction to Lego Mindstorm

FullSizeRenderRobots have numerous functionalities that vary based on the objectives that the robot is trying to accomplish. Robots can either be a simple design with a drive train and motors or they can be very complex systems that implement the usage of sensors to take digital/analog data and use it to better complete the task. During our last 2 seminar classes we built a basic car with a Lego Mindstorm set. We began building our robot on 9/9/15 by using the different parts in our kits and following the instructions from an online manual. Building the robot was not as obvious as you might have thought! You needed to make sure that pieces were connecting into the proper holes and that the orientation of different pieces was actually correct. It was a little bit tedious but the satisfaction of seeing the final result was definitely rewarding! After we successfully built the robot, we proceeded to test the robot by using prewritten code through a programming language called Labview. The first code made the robot drive move depending on the power output of each motor. On our second class on 9/16/15 we used another prewritten code to test how far the car would travel in 1 second at different power outputs. For any technical readers, the code looked this:

Front PanelUntitled 2

We used a ruler that was placed parallel to the robot to observe how far the robot moved in the allotted time. We compared our human measurement to the distance that the program in Labview calculated. We tested the robot at different power outputs and calculated our margin of error.

Excel

  1. We measured the diameter of wheel and resulted with 5.5 cm or 0.055 meters. We calculated the circumference and got 0.172788 meters.
  1. The relationship between the degrees the wheel rotated and the number of turns of wheel is that the degree the wheel rotated is equal to the product of number of turns times 360.
  1. Seconds are related to milliseconds because 0.001 seconds is equal to one millisecond or 1000 milliseconds are equal to 1 second.
  1. The distance is related to the number of turns because the distance is the product of the circumference times the number of turns.
  1. At a power level of 75 we measured a distance of 0.275 meters and Labview calculated a distance of 0.2736. The margin of error could be calculated by using the formula: ME = 100 x (dmeasured – dlabview)/daverage. Our margin of error was 0.52%.

 

There are two things that I believe could account for these discrepancies. The first one is the braking of the robot once the allotted time passed. The robot would accelerate and just come to a stop after one second. As a result of this abrupt stop the robot would break so aggressively it would jolt back slightly. I think this effect could definitely account for the difference in the measurement. In addition, I noticed throughout all trials the robot would never drive forward in a perfect straight line. It would always sway towards one side even though the power outputs were equal for both motors. As a result, the distance calculated by Labview differs from the distance we measured since we assumed it traveled in a near perfect line.

 

In my opinion this activity connected to the idea of energy consumption and how it can apply to real vehicles. As we observed during the activity, the higher the power output the more distance the  robot travelled in that one second period. In actual vehicles the same idea occurs. The greater the power, the faster the vehicle travels thus covering more distance. But unlike robotics which don’t release any greenhouse gases, real vehicles actually produce them. This presents the idea of how can we be more energy efficient as a society. We must develop cars that release little to no Carbon Dioxide regardless the power output of the engine. We as a society must look for alternative ways to power cars such as with electricity, which can prove to be advantageous.