Testing Quadcopter

How the tools we use influence the designs we make

  • Informal learning
  • Technology

Michael Delaney, a student at Avenues in NYC, writes about his iterative process of integrating electronics and 3D printing in his programmable quadcopter project.

Creating and refining a design through testing is an inherent aspect of making. Over the past several years, the tools and resources that facilitate this process have become readily available, through resources like the internet and digital fabrication. These technologies present a revolutionary method of design and manufacturing, giving rise to incredible new inventions. As a 17-year-old maker and a budding engineer, these developments excite me greatly. Over the course of the last few months, I have been designing and building a programmable quadcopter in an attempt to learn more about systems like PID controllers, I2C communication, and radio transmission.

Throughout this process, I’ve faced repeated challenges with the quadcopter development. While most were trivial, some forced me to reconsider the project as a whole. Using the tools available to me, I have been able to create real solutions for issues, such as measuring the quadcopter’s position and tuning the flight control algorithm. In the end, regardless of the design, the ability to solve these common issues – inherent to any project – will come to define its eventual success.

Today, hobbyists and amateur designers, like myself, can create designs on a computer and turn their most complicated designs into a manufactured product. This is facilitated through revolutionary new services and technologies, from rapid prototyping tools like CNC machines and 3D printers, to professional manufacturing services available through the internet. It was through this widespread accessibility to professional tools that I was able to have my custom-designed quadcopter circuit board (or PCB) fabricated in China for only a few dollars.

Tools in the design process

AIOQuadcopterPCB

This project began with lots of ideation and testing of the overall quadcopter design layout. As I planned on doing the majority of the flight controller development at school, I needed a format that was simple, portable, and safe to test in an indoor environment around other students and teachers. These factors restricted the design to a small, light-weight quadcopter that could sustain flight with relatively low-power motors. This design decision helped to ensure the safety of others around me, in addition to reducing the number of self-inflicted scars from the “attack-quadcopter” that emerged as a result of my limited programming experience.

Ultimately, this design helped to reduce the dangers posed by the quadcopter, yet, in testing the basic functionality of the device, a number of issues were discovered that resulted due to the small format. By looking at measurements of the quadcopter’s position with the motors on and off, it became apparent that vibrations produced by the motors prevented the device from accurately measuring its environment. The inaccuracy of these measurements prevented the flight control algorithm (or, more specifically, the PID controller) from making proper adjustments to the flight of the quadcopter.

Solving this issue proved to be a much greater challenge than diagnosing it as the noise from the motors could not be attributed to a single source. This meant that the entire circuit board would have to be isolated from the motors in order to reduce the impact of vibrations on the measurement sensor.

I tested a number of different methods of insulating the motors from the circuit board. My first attempt was based on a simple 3D printed frame that separated the motors from the circuit board. This design also incorporated a layer of rubber as a barrier between the frame and PCB to further reduce the effect of the remaining vibrations.

v1Frame

This first prototype was a significant step forward on the path to making a usable product, and while it greatly helped to mitigate the measured vibrations, the additional weight added by the frame ultimately prevented the quadcopter from lifting off the ground.

Dissatisfied with the outcome of the first prototype frame, I began to reconsider the best approach to making this quadcopter function. I went back to the drawing board, starting from scratch with a new circuit board and frame. Given the challenges with the previous design, the new circuit board incorporated both larger motors and propellers to achieve as much thrust as possible. After a couple of iterations, I ultimately settled on a frame design that mounted the top of the PCB. This helped to protect the sensitive electronics and gave the appearance of a finished product while simultaneously reducing the influence of vibrations on the measurement sensor.

printedFrame Render

3D printing is a remarkable technology, but one still in the infancy of its development and not without limitations. This method of manufacturing offers many advantages for makers and hobbyists in terms of the rapid production and testing of small parts and models. That being said, in this revised frame design, the large unsupported cavities, or overhangs, on the underside of the model presented several challenges during production. While printing, the heated plastic would sag under its own weight into these cavities for the circuit board, preventing the circuit board from properly fitting into the frame. In the future I intend to take advantage of techniques like using dissolvable support material to aid in fabrication when confronted with similar issues. However, in order to combat this now, I decided to embed the physical PCB into the part during the printing process to act as a type of support while the overhangs were printed. This helped to prevent any serious issues with fitting the circuit board and also ensured proper alignment, but some post-production clean up was still necessary after printing.  

Using this new frame design in combination with a digital low pass filter, the quadcopter proved to be capable of dampening most of the disturbances affecting the measurement sensor. This achievement made it possible to move forward to the testing and tuning phase of the development process.

Tools in testing

Having finished the bare bones programming and solved all of the (known) bugs and issues related to the code, I moved on to the next phase of development – testing.

The quadcopter uses information from the sensors and pilot to calculate how fast to spin the motors in order to move to the desired position. This process is handled by an algorithm known as a PID controller – a simple program that determines how to get the quadcopter where it wants to be. The program itself is managed by a set of predetermined values that influence the individual motor speeds. These numbers can be found through laborious testing, but figuring out where to start can be fairly daunting. After hundreds of tests and no significant improvement, I had begun to think that this project wouldn’t become anything more than a fancy paperweight.

A substantial portion of this challenge was due to the fact that I had no relevant data to analyze from the flight of the quadcopter. Having neglected to include any memory for storing information onboard the quadcopter, data could only be acquired through a direct connection over USB, which could not be used in-flight without affecting the flight of the quadcopter.

This caused me to wonder, how might I control and analyze the movement of the quadcopter without it flying away and crashing into the wall?

This question led to the creation of a “PID test jig” – a contraption designed to hold the device in a fixed location, while still allowing it to move freely. Such a design allows for free rotation in all axes without the device physically moving position, making it easier to adjust the quadcopter flight parameters in addition to reducing the number of broken quadcopters that ended up in my electronics graveyard.

test jig

This test jig was manufactured and assembled using both 3D printing and laser cutting tools, in addition to a few mechanical parts such as bearings and screws to hold it together. The premise of the design has the quadcopter mounted to an enclosing frame along one axis, joined by a set of bearings, which allow the device to rotate on the corresponding axis. This contraption holding the quadcopter is itself attached to a stand using another set of bearings on the other axis, allowing for rotation in both the X and Y axis. The entire jig can expand and contract using a set of brackets in order to compensate for any variation in the size of the quadcopters being tested. This functionality, as described above, can be seen in the animation below.

This additional tool has helped tremendously in making improvements to my flight controller program, allowing for more accurate testing and less time spent rebuilding broken quads.

Throughout this process, there have been countless times where I wondered whether the project would ever function. Since the first prototypes, I have worked to further develop both the hardware and software of the quadcopter and continued to make changes and seek out new tools and techniques to improve my work as technology evolves.

If you are interested in learning more about this project, check out the full write-up on my website for further details and explanation of the design process.

Read more education blogs

  • College of the Desert 3D printing club

    Feel the Action: Learn about how a college is changing lives in ways we can touch!

    A 3D printing club emerges at College of the Dessert to help make ideas accessible to all students

    Testing Quadcopter

    How the tools we use influence the designs we make

    Michael Delaney writes about his iterative process of integrating electronics and 3D printing in his programmable quadcopter project.

    Ultimaker Met

    Bringing 3D printing to the Metropolitan Museum of Art

    Part of the mission from Ultimaker North America's Community team is to help educators get up and running with 3D printing and to help them find meaningful ways to integrate the technology into their curriculum while celebrating their successes. When we w

  • Smithsonian Learning Lab

    3D printing as part of the Smithsonian Learning Lab

    Pioneer Christopher Sweeney shares the work he did with 3D printing and the Smithsonian Learning Lab to create collections of educational resources, organized and structured for teaching and learning.

    Harvard calculus courses use 3D printed models to engage students

    Harvard calculus courses use 3D printed models to engage students

    What is the best way to teach concepts like surface area and volume relating to mathematical objects in a three-dimensional world? The curricular design team at Harvard University thinks the...

    Mathematica Tea Light Holder

    3D Design in Mathematica: Tea Light Holders

    If it’s happening in Ultimaker’s world, you can find out about it here. 3D printing stories about inspiring moments, original 3D printed projects and much much more.

  • Code your 3D designs with Tinkercad’s new Codeblocks app

    Code your 3D designs with Tinkercad’s new Codeblocks app

    Tinkercad released Codeblocks last June, and now that it's out of Beta, Pioneer Rob Morrill tells us how he uses it.

    printingUltibot

    Modifying an STL with Tinkercad

    When Ultimaker Pioneer Alex Larson contacted me about the Ultibot-D project, I was super excited. As a teacher and parent, I am a huge cheerleader for risk. I printed the base models at ⅕ scale and gave it to my students to explore

    Ultimaker at Camp

    Math Camp: Having fun doing stuff

    Pioneer Dr Toni Szymanski writes about summer fun at camp with 4th and 5th graders, math, and 3D printing.

  • 3D printing for glass

    GlitchCraft

    Guest blogger Astrida Valigorsky writes about combining the old and the new at Timothy Belliveau's GlitchCraft class where students combined 3D printing and glass blowing.

    basecampProject

    Using Basecamp to manage your classroom/makerspace projects and print queue

    Pioneer Andrew Woodbridge uses Basecamp to organize his students' projects, and he explains how you can too.

    3D printing in math and chemistry

    A unique 3D printing collaboration between mathematics and chemistry faculty

    Passing it on. After integrating 3D printing into her own math courses, Kristen Schreck helps spread 3D printing across disciplines at Saint Xavier University.

  • World monument project

    Living world monuments assignment

    Pioneer Joanne Barrett shares about a middle school project that combines 3D printing, Augmented Reality, History, and Art.

    parts in cura (1)

    My reintroduction to Netfabb

    A recent NetFabb workshop convinced the writer that they can't live without this application. See why it's time to take another look at Netfabb.

    hero wrenchs

    Wrench Engineering

    Inspired by NASA printed in space wrench, Pioneer Rob Morrill gave his fifth graders a design challenge to design their own real-world tool.

  • goblet project

    Integrating 3D printing and The Goblet Project

    Pioneer Chris Hanusa shares one way he integrated 3D printing into his Integral Calculus class

    Finland’s mobile libraries

    3D printers in the public library: Finland ahead of the curve

    US Professor Joshua Pearce, sponsored by Fulbright Finland for Research, shares his first impressions of Finnish libraries.

    Happiness

    Lessons in letting go - releasing student energy speeds creation and use of our art and innovation lab

    Pioneer John Nordell enlisted his students to put the Art and Innovation Lab together. The result was one of the best experiences he has had as an educator.

  • toni teaching fusion

    Teacher training for 3D printing

    Pioneer Dr. Toni Szymanski thought that 3D printing could engage students in math classes. To test this out, she had to learn all about 3D printing first.

    ceramic stamps

    Digital fabrication informs ceramics decorative process

    Pioneer Young Kim blends his classical arts background with digital fabrication to create a ceramic project that incorporates 3D printing.

    buckeyball

    Modeling rocks at iCREATE

    iCREATE's Tiffany Huang shared an iCREATE success story about Jackie Zheng.

  • Empathy map

    Elementary-College Engineering Design partnership

    Pioneer Matthew Wigdahl writes about how his fifth graders and local undergraduate engineering students learn from each other.

    014-SchoolHero

    Introducing Ultimaker’s Core Lessons Set for STEAM Educators

    Designed by the Ultimaker North America Community Team, our new Core Lessons: STEAM Set is a resource for educators who need inspiration and ideas when they bring 3D printing into their classrooms.

    MakerGirl

    Empower one MakerGirl, empower the world

    how the group traveled 10,000 miles around the country to help bring 3D printing workshops to over 1,000 young girls. In this week's post we catch up with the organization that is still working to create a new generation of confident, creative women leade

  • Georgia Connections Academy

    Building a mobile maker space: part 2—up and rolling

    So what exactly does a Mobile MakerSpace look like? That's the question I had to ask myself once I began the project of bringing 3D printing technology to virtual students. When we started this project, we knew we needed something that would be easy to

    Building a mobile makerspace: part 1— getting started

    Building a mobile makerspace: part 1— getting started

    Pioneer Wendy Aracich is putting together and implementing a mobile MakerSpace for her virtual school of 4000 students spread across the state of Georgia.

    LibraryLyna

    Tactile Problem/Solution Bank Community Project

    3D modeling and printing should be accessible of every educator so that they may offer their students tactile means to understand spatial concepts.

  • Design Engine Box

    Design Engine community project

    We want to challenge educators and students to help evolve the Design Engine game. We want to see how you're using or modifying the game with your students, and we want to incorporate your ideas into the next edition.

    coca cola upcycle

    Upcycling community project

    Upcycling challenges students and educators to use their creativity and 3D printing skills to breathe new life into a few familiar objects.

    pecha-kuchas

    Construct3D to Kamehameha Ed Tech Conference

    Last year Pioneer Greg Kent traveled from Hawaii to North Carolina to attend Construct3D 2017. We thought we'd share his reflections with you now since we recently announced Construct3D 2018

  • Plastic Ocean by Kevin Krejci

    Ocean Plastic Community Project

    The Ultimaker Community Team will be launching a series of interdisciplinary projects over the next few months that challenge students to research, explore, design, and 3D print. Ocean Plastic is the first project of this series.

    fractal2

    3D printed fractals at JMU 3SPACE

    Pioneer Professor Laura Taalman, (a.k.a. mathgrrl), reviews a multi-week study of fractals by general education math students in the JMU 3D printing classroom.

    Drone1

    Using drones and 3D printing to develop design thinking during a summer robotics camp

    Pioneer Yuriy Drubinskiy writes about his experience leading a summer program and how creating drones with 3D printing brings form, structure, and design together.

  • The Starter Pack launch event at Digital Harbor Foundation

    Introducing the Ultimaker Design Engine Starter Pack

    Presenting the Ultimaker Design Engine Starter Pack: a game created to provoke, inspire, and entertain students, educators, 3D designers, artists, and engineers of all experience levels!

    first puzzle cube and package to be made on a 3D printer entirely out of PLA

    Davidson Desktop Doohickeys: Puzzle cubes

    Pioneer Adam Davidson writes about a project in his curriculum that is a rite of passage for his high school's engineering program students. He explains at how it started and what caused it to change

    soft robot mold

    3D printing with UMaine Bioengineering students

    If it’s happening in Ultimaker’s world, you can find out about it here. 3D printing stories about inspiring moments, original 3D printed projects and much much more.