Computational Deployment: Simulating A Rocket

The model rocket project has long been a favorite at the Academy. For the past fifteen years, students have designed, fabricated and then launched model rockets as the first project of the program. Over the years, I have tweaked the project several times, each time finding new ways to introduce authentic analysis in the process.

This year I have taken a deep dive into computational modeling, and as part of the rocket project, students were asked to create a simulation of their rocket prior to launch. In this post I will discuss how I did this, and how it turned out.

Simulating The Momentum Principle:

Prior to getting started on this, students investigated the causal relationship between forces and changes in motion. Using force sensors, carts, weights and elastic cords of different lengths, students began building a qualitative and quantitative model relating the momentum of a particle to the forces acting on the particle.

Screen Shot 2018-12-22 at 9.27.05 AM

In previous years, I waited to introduce momentum until after a significant amount of time was spent on forces, balanced and unbalanced. This year I decided to go directly to momentum. This is a bit of a break from the established modeling instruction sequence, but I think its a good alternative that is also suggested by the great textbook Matter and Interactions. The momentum principle can easily be modeled computationally and I think the students are able to grasp it conceptually.

I have included a link to a Google Doc that is the introductory activity that I created. My approach here, as it has been with this entire unit is to give the students guided questions that allow the students to discover and investigate the code required to simulate the momentum principle. This is my first attempt, and I am sure it will undergo many revisions:

Simulating The Momentum Principle

Introducing Conditional Behavior

One of the really great things about building a simulation of a rocket has three distinct phases of its trajectory – the thrust phase, the cruise phase and the descent phase. This gives the students three different phenomena to study and simulate: positive acceleration when two unbalanced forces are acting on the rocket during the thrust phase, free fall when the fuel runs out, and then constant velocity when the parachute has been deployed.

In order to simulate this, students needed a way to change the forces acting on the rocket at different time intervals. This is done using a conditional statement:

If This Then That

Conditional statements are very easy to create in Tychos – but they work a bit differently from other programming interfaces. Here is an example:

# The thrust force - F (thrust, rocket, fuel)
Ftrf = if (t < 1.8, [0, 6], [0, 0])

In this code snippet, a force is given a different value based on a condition, in this case whether the time in the simulation is less than 1.8 seconds. If it is, then the force is given a positive 6 value in the Y direction, and if the time is greater than 1.8 seconds, then the force becomes zero.

This allows the students to simulate the thrust phase of the rocket by having the thrust force disappear once the fuel has run out. We conducted tests on Estes C6-5 rocket engines in order to establish the time value. You can read more about how we did this here.

The students did the same thing to figure out when the parachute should deploy. Again this was established based on information from Estes as well as our own tests.

Comparing Simulation Data to Real Data

The students could analyze the simulated rocket behavior by using the graphing tools in Tychos. The students graphed the vertical velocity as well as the vertical position of their simulated rockets. Here is an example of what those graphs look like:

Screen Shot 2018-12-22 at 10.22.21 AM

The last step of the process was for the students to compare their simulated data to the real data that was captured by the altimeter that we use in the rocket’s payload. Below are two images of the graphs of the data they retrieved from the rocket’s altimeter:

rocket_v_graph

velocity data from altimeter – imported into LoggerPro

rocket_y_graph

altitude data from altimeter – imported into LoggerPro

The shapes of the graphs from the simulated data and the real data are very similar! That was certainly exciting to see that the simulations were at least giving results that qualitatively matched the real behavior of the rockets.

Two factors that certainly created significant discrepancies between the real rockets and the simulated rockets was the existence of air resistance on the real rocket, and the fact that the real rockets didn’t always go perfectly straight up! We plan on modifying the simulations, but that will have to wait for a future post.

Our Custom Designed Bridge Tester

Our Goal – Make A Better Bridge Crusher!

This year Bob and I decided to upgrade our bridge project. We wanted to create an improved device for measuring the load on the model bridges created by the students. Specifically, we wanted to design a way for the students to collect meaningful performance data.

The problem with our old method (filling a bucket with sand until the bridge catastrophically failed) was that it didn’t allow for the students to collect evidence about where and why the bridge failed. In many cases, the bridge actually experienced a significant failure, but because the bridge collapsed around the loading plate, the loading plate actually acted as a support for the bridge.

We had seen other “bridge testers” from vendors (http://www.pitsco.com/Structures_Testing_Instrumenthttp://kelvin.com/kelvin-bridge-material-tester-w-cpad/http://www.vernier.com/products/sensors/vsmt/) but we had the idea that perhaps we could create one that might be better, or at least it might be fun to try. In this post, we are going to share with you what we created and why we think it actually turned out really well, but we also point out some room for improvement.

The Frame

The frame of the entire device is really based on the Vernier Structures and Materials Tester. We thought this frame was probably the best, and we wanted to make our tester from extruded aluminum tubing as well. We went about designing the bridge tester in our favorite CAD program, Fusion360 by Autodesk. We sent our CAD file to the company 8020 and they precut all our t-slotted aluminum frame members to size. This was awesome because it made assembly super easy and it saved us on shipping too! Our experience with this company was amazing – they were super helpful and even gave us some really helpful advice. If you are thinking about making anything requiring t-slotted aluminum, definitely order from them.

The Load Sensors

We wanted a a bridge tester that actually gave us data that allowed us to figure out how and why the student bridges failed. That meant that we needed more data and we needed data that could be connected to the design and fabrication of the bridge. We noticed that all the vendors’ designs had only one load sensor, and some also had a way to detect overall deflection. We suspected that we could get better data if we had four independent load sensors – one for each abutment where the bridges were supported. The four sensors would (theoretically) give the students a way to analyze how the load was being distributed, and thus tell us something about the torsional behavior of the bridge.

Sparkfun load sensor

Sparkfun load sensor

I set out to learn a bit about load sensors and I came across a fantastic tutorial at Sparkfun (https://learn.sparkfun.com/tutorials/getting-started-with-load-cells). We ordered four load sensors (see picture above) from Sparkfun. Our design (shown below) has the four load sensors  fitted with 3D printed “shoes” as the bridge abutments.

IMG_3048

The four load cells.

IMG_3044

Two load cells with abutments.

The sensors are mounted on custom fabricated aluminum plates that can be moved laterally to accommodate slightly different bridge widths. The load sensors had to be connected to load amplifiers that were then connected to an Arduino (more on that below). The load sensors were mounted to the frame of the bridge tester on custom laser cut plates:

IMG_3043

Load cell amplifiers for two load cells.

The load amplifiers have to be used with the load sensors in order to amplify the signal so that the Arduino can read the data correctly.

The Loading Mechanism

Bob designed and fabricated the loading mechanism that was based on many of the designs we had seen online. It consists of a block that is free to move vertically up or down a threaded rod which is then connected to a spoked wheel.

IMG_3047

Loading wheel.

When the wheel is turned, the block moves up or down the threaded rod. This bar is connected to a loading plate via a metal cable that hooks into the loading plate and the block:

IMG_3053

Load plate from below – revealing loading wire attachment.

IMG_3052

Loading wire attached to threaded block.

The loading plate is placed on the loading plane of the bridge (the “roadway”), and then the bridge is loaded by spinning the wheel, which lowers the block, which pulls the bridge downwards:

IMG_3050

Loading plate on bridge.

Collecting The Data: The Software

 The software responsible for collecting the data is made up of two programs – one that runs on the Arduino micro-controller that is connected to the load sensors, and the other is a Processing sketch that runs on a computer/laptop connected to the Arduino via USB. The code is pretty simple, and it was mostly written using code from other sources and then modified for our specific purposes.

The Arduino code just collects the data from the four load sensors and then sends the data serially as a comma delimited package. The Processing code reads the serial port and then essentially dumps the data into a csv file. It does have some flourishes like a graphical display of the individual sensor loads as well as a display of the total load and whether or not the bridge has met the minimum load requirement set in the project descriptor.

You can view and download all the code here on GitHub.

The Performance Report

When the data is displayed in a graphing program, it looks like this:

Sample bridge data

Sample bridge data

You can see that the four sensors do not read equal values, and that the bridge begins distributing the load unevenly. The blue and orange lines show that these two load sensors were equally loading and were taking on a larger load than the green and red values from the other two load sensors. Later inspection of the bridge showed that this bridge failed at the load sensors that were recording a higher load value. Also, these sensors were located diagonally from one another, and once again showed that the bridge was being twisted.

You can also see that around 80 seconds (the 800 data sample) that the bridge experienced a sudden decrease in load – this was the point of failure. The data clearly shows a point at which the bridge failed and thus gives us a clear metric for performance.

The student teams were each given the results and were asked to answer these questions:

  1. What was the maximum load that your bridge sustained before failure?
  2. Calculate the load to weight ratio of your bridge.
  3. What were the individual maximum force values on each load sensor before failure?
  4. Identify on your bridge where the bridge failed. Take a picture of this point of failure and note its location.
  5. Based on the load data for the four sensors, describe why your bridge may have failed.
  6. What could you have done to increase the performance of your bridge?

The data really allowed for some rich analysis and the students were able to make some really informed critiques of their design and fabrication quality. We have been very happy with the results!

Future Improvements

For version 2.0 we hope to add these improvements:

  • Add the ability to measure deflection. We think that this might be done by measuring the angular displacement of the loading wheel, but we aren’t sure just yet.
  • Some way for the software to detect a failure – perhaps a way to detect a significant decrease in the load data. It would have to allow for some downward movement of the load data because there is some settling and deforming that can occur that might not be catastrophic.
  • It would be nice to clean up the code – especially the Processing code. I’d like to add some fancy GUI elements too so that it is a bit more attractive.

If you would like to build your own advanced bridge tester for your classroom, we can send you all our CAD files, software files and even answer questions. Its not easy to build, but its fun, and we spent about $350 dollars on this project as opposed to the $1000 to $1300 that the vendors are selling theirs for.

Investigating The Projectile Particle Model

The Class Designs The Deployment Experiment

The video above shows the recent deployment activity where students predicted the vertical position of a projectile (a Hot Wheels car) as it traversed a known horizontal distance. The student predictions are identified by green sticky notes on the the left hand side.

The students first had to work out the problem on their own whiteboards before being given the sticky note that indicated the vertical position as measured above or below the red line. Most groups calculated the same position with two groups noting a sightly different prediction!

In this deployment, I set up the ramp, and told them that they had a photogate sensor at their disposal. They had to design the experimental procedure. A great discussion followed, and the class was quite successful as you can see (the students who had the significantly different prediction were able to hunt down their mistake – so everyone felt that the model “worked”).

Analyzing Projectile Motion in Video and Code

Prior to the deployment, students were asked to use a video camera to record the motion of a projectile. This is a great experiment to do with LoggerPro or some other video analysis tools that allow the students to track the position of the ball or some other projectile.

The students have also been learning how to simulate constant velocity and constant acceleration particle motion in Processing. We extended this to now include projectile motion, and the students analyzed simulated projectiles and compared the data gathered in the real universe to that gathered in the virtual universe. I will be writing about this process in more detail soon.

A Modernized Bridge Design Contest

IMG_0283

Modernizing An Old Classic

We have just completed the second project in the Academy for the 2014-15 school year. It was a huge success! This project takes a classic physics project and “upgrades” it by incorporating modern engineering design technology and fabrication techniques.

We started with a great project that is now available online through Engineering Encounters. This was a project that was originally published by Stephen J. Ressler of the United States Military Academy. It is a rigorous approach to designing and building bridges from file folders:

https://bridgecontest.org/resources/file-folder-bridges/

Its a great project with an incredible set of resources, background information, and step by step instructions. Unlike less rigorous and involved bridge design projects (using toothpicks for example), this project has the students building compression members (beams) and tension members (cords) and gussets to better model real world designs and to give the students the opportunity to learn and make decisions about which members to use in different parts of their own designs.

The only issue that we had with this project is that it requires the rather tedious process of having students trace out the unfolded beam designs onto file folder material and then use scissors and  blades to cut out each beam and cord. But we have a laser cutter! There had to be a way to incorporate both 3D CAD design and our laser cutter in order to modernize this process. We also knew that Autodesk Inventor had some really amazing tools for analyzing design structures.

From Sheet Metal To Manila Folders

Autodesk Inventor has an amazing set of tools for designing sheet metal parts. Using these tools, an engineer can construct 3D models made of folded metal parts made from just about any thickness of metal stock. Once you have designed the folded metal part, Inventor will create a flat pattern design for you that you could then send to a CNC plasma cutter to cut from sheet metal stock. You would then fold the part up manually and you would have your folded part.

Inventor gives you the ability to custom define the thickness of your stock, and some of the parameters around how it can be bent. We defined our stock to be as thick as manila folder paper. The next step is a bit tricky, but with the help of a great video I came across from Rob Cohee, we were able to define custom folded paper beam stock that the students could then use to build out their frames. Once again, Inventor has an amazing set of tools for defining structural frames (called The Frame Generator) that can then be populated with any kind of structural beam. You can also define your own structural beams that can be used to populate your frame.

I have included a video below that we use with the students to help guide them through this process:

Using the frame generator tool in Inventor also allows the student to miter and trim the beam members, which allows the students to focus on design rather than getting lost in the time consuming process of calculating the cut angles. The following video shows you how this can be done:

Once the students had designed the bridges, it was time to prepare the flat patterns and have the laser cutter do the work of cutting them out.

Fold, Glue, Repeat. (Some Assembly Required)

IMG_0353

The students prepare their flat pattern cut-outs for the laser cutter and then you let the laser “rip”! Its awesome to sit back and watch this machine cut. I never get sick of watching it! Having the students do this would take SO much longer, the cut parts would be less accurate, and as all CTE teachers know, one of the most dangerous tools in the shop is an Exacto blade.

IMG_0355

Some might argue that the “manual” process of cutting all these beams out by hand is “good for the students”, but we feel that saving time here allows us to use that time in other areas, such as virtual testing.  Before the students get to build their design, we ask them to use Inventor’s frame analysis tools to help them analyze potential weaknesses in their designs. The following video shows just how amazing this tool is:

Once the students have done their analysis and cut their construction members, its time for folding and gluing, and folding, and gluing, and … At this point our project does not differ from the Engineering Encounters project. The students use a sheet of paper (actually two 11 x 17 sheets) with an elevation view (printed from Inventor as a CAD drawing) glued to a board as a guide for assembling the beams, cords and gussets:

IMG_0351

IMG_0362

This process goes relatively quickly as the students have done all the prep work to make sure that the pieces all fit together. Once again, this really demonstrates how modern technology can allow the students to focus their attention on design.

To Break Or Not To Break

Once the bridges are assembled, its time to test them out. The performance metrics for the contest are not actually based on the strongest bridge but rather a more realistic approach. We have attached a monetary value to each beam, gusset and cord. The bridges are then tested to a set value – the required load. The bridge that holds that load and is “manufactured” least amount of money is then given the highest marks.

Once the bridge has been tested at the required load, we then give the students the choice to see just how much the bridges can hold before catastrophic failure. Most students (encouraged by both peers and staff!) decide to take their bridge to the limit.

Its always a fun way to end the project!

Analyzing A Rocket’s Performance – A Common Core Assessment

Overview: What is Common? Argumentation

You might be one of the many Americans that are a bit perplexed by this whole new Common Core State Standards (CCSS) “stuff”. In this post I will try my best to explain how I designed an assessment for the first year students in the Academy that aligns with the Common Core. This was partly motivated by a district wide push to bring all curriculum in alignment with the CCSS, specifically as it relates to literacy.

For context, I will identify the educational goal that in part motivated this effort. Our school site administration has identified argumentation as a key curricular focus that all staff will address this year. This has given the school the ability to focus on literacy and has allowed the school staff to guide their efforts towards a collaborative goal.

This assessment was organized into three parts: the prediction, the analysis, and the reflection. Each part of the assessment focused on specific standards.

Part 1: The Prediction Report

If you haven’t had a chance to read a previous post where I describe how the students conducted experiments and collected data pertaining to building a predictive model, then I might suggest it, as it is really the first part of this assessment.

The standards addressed in this part of the assessment are as follows:

CCSS.ELA-Literacy.RST.11-12.3
Follow precisely a complex multistep procedure when carrying out experiments, taking measurements, or performing technical tasks; analyze the specific results based on explanations in the text.

CCSS.ELA-Literacy.RST.11-12.7
Integrate and evaluate multiple sources of information presented in diverse formats and media (e.g., quantitative data, video, multimedia) in order to address a question or solve a problem.

To summarize the first part of the assessment, the students were required to collect data in order to create a prediction report describing the performance of their model rockets. The report had to include these elements:

  1. Force diagrams (free-body diagrams) depicting the predicted forces acting on the rocket during the a) thrust phase, b) cruise phase, and c) descent phase.
  2. Net force equations that identify the causal relationship governing the motion state of the rocket.
  3. Three motion graphs depicting the predicted behavior of the rocket. This included its predicted acceleration, velocity and position as a function of time.

IMG_0836

The student teams submitted these reports prior to the actual launch.

Part 2: Analysis Report

The next step was to run the actual experiment – the launching of the rockets! Although the launch day was soggy, we still had a successful afternoon, and we got some great data. The details of the launch are described in a previous post.

The standard addressed in this part of the assessment was as follows:

CCSS.ELA-Literacy.RST.11-12.9
Synthesize information from a range of sources (e.g., texts, experiments, simulations) into a coherent understanding of a process, phenomenon, or concept, resolving conflicting information when possible.

The students were given their prediction reports back, and then also given the data from the small altimeters that were used to collect altitude data. The students were then asked to create an analysis of their rocket’s performance:

IMG_0834

This report required these elements:

  1. Using the data analysis tools in LoggerPro, they had to identify:
    1. The acceleration of the rocket during the thrust phase (a best estimate)
    2. The acceleration of the rocket during the cruise phase (a best estimate)
    3. The maximum velocity of the rocket (a best estimate)
    4. The descent velocity (a best estimate)
  2. A velocity vs time graph from the information above.
  3. An acceleration vs time graph.

Part 3: Reflection (Addressing Counter-claims)

The final part of the assessment asked the students to compare the prediction and analysis reports and then propose reasons for discrepancies between the data. I also asked the students to respond to some Aristotelian counter claims by using their data and the models that we had collectively established in class.

The standards addressed in this part of the assessment were:

CCSS.ELA-Literacy.RST.11-12.8
Evaluate the hypotheses, data, analysis, and conclusions in a science or technical text, verifying the data when possible and corroborating or challenging conclusions with other sources of information.

CCSS.ELA-Literacy.WHST.9-10.1.a
Introduce precise claim(s), distinguish the claim(s) from alternate or opposing claims, and create an organization that establishes clear relationships among the claim(s), counterclaims, reasons, and evidence.

I asked the students to respond to the following questions which required that the students use data to support their analysis.

  1. Compare the predicted NET force on your rocket during the thrust phase to the actual NET force on your rocket during the thrust phase by using your data – you will need to estimate the actual NET force during this phase. Using these numbers as evidence (you must include these values in your answer), describe at least one reason these values are different.
  2. Compare the predicted maximum height of your rocket with the actual maximum by using your data. Using these numbers as evidence (you must include these values in your answer), describe at least one reason these values are different.
  3. Compare the predicted descent velocity during the descent phase to the actual descent velocity from your data. Using these numbers as evidence (you must include these values in your answer), describe at least one reason these values are different.
  4. Look at your data and then also at your prediction graphs. Describe at least two differences between the graphs, AND WHY you think these differences exist.
  5. Based on the actual data you collected, what design changes would you make IF you could create this rocket from scratch again? Give at least two examples of design changes you would make.

I also included two questions that asked the students to respond to an alternative explanation for the behavior of their rocket. These claims were specifically created in order to address student misconceptions involving inertia and residual forces.  Below I have included the questions and example student responses:

Question 1:
“Make a counter claim to the following statement from someone who is an “Aristotelian”: The reason that the rocket continued to move upwards after the fuel had run out is that the fuel force continued to push on the rocket, but lessened until the rocket reached its apex, when the rocket stopped moving and the thrust force disappeared. Once the thrust force disappeared, the rocket began falling back to earth!”

Example Response:
“This is incorrect because as soon as the fuel runs out there is no longer a thrust force acting on the rocket. After the fuel runs out the only force acting on the rocket is the force of gravity which will slow down the rocket until its velocity is zero and then the rocket will continue accelerating downward and fall to the earth.”

Question 2:
“Make a counter claim to the following statement from someone who is an “Aristotelian”:The reason that the rocket descended back to earth is because the rocket is heavier than air and so the force from gravity was greater than any air resistance force on the parachute, thus resulting in the rocket falling back to earth.”

Example Response:
“Actually, the reason the rocket descended to earth is because the forces of gravity and drag were equal. The rocket was falling at terminal velocity, and we know that when an object is traveling at a constant velocity there is no acceleration. If the force of gravity working on the rocket was greater, the rocket would be accelerating in its descent. Knowing that the rocket falls in this way, we can conclude that the forces of gravity and drag working on the parachute were equal.”

Conclusion

I am very pleased by the students’ performances on this assessment, and many of the students enjoyed the process and appreciated the opportunity to connect their learning and demonstrate their knowledge and skill. I feel that there is much to consider for the next time I do this kind of assessment, which will be at the end of the spring semester.

One area I can quickly see I need to help the students develop is making connections to data more explicit. Most students would justify their arguments by stating that a certain explanation was evident. I need to help them develop the skill of presenting evidence more clearly and then linking their arguments to the actual evidence. This was an implicit practice, but it needs to be more explicit.

I hope to hear from you all about how I might perfect this process, and prepare the students to excel on this kind of authentic, problem based assessment.

Thanks!