Team:UMaryland/Design
UMD DIY PCR
How we created a dual purpose PCR machine and incubator out of a hair dryer.
Construction Hazard. Jumping hairdryer safety measures will cause rapid heating of the machine, without proper control the machine may cause fires. If you wish to design this proceed with caution and only if you have a comprehensive understanding of our design.
Background
The PCR machine is a common machine used in biological laboratories to amplify or extend fragments of DNA to be used in subsequent experiments. This tool is especially relevant to iGEM and SynBio labs who pave the way to vaster applications of We began this project with the vision to create a machine that would be
Our first design for a DIY PCR machine was modeled after a more conventional PCR machine. This first prototype relied on two Peltier units stacked on top of each other to heat a customized aluminum block that held the PCR tubes. In order for the system to have feedback, we embedded a temperature sensor in the aluminum block to measure the temperature of the PCR tube wells. The sensor then reported back to an Arduino UNO, which then regulated the energy flow to the Peltier units, thereby regulating the temperature of the block and tubes. However, after much testing, this design proved to be unoriginal, expensive, and inefficient. While the conventionality of the design itself did not pose an issue, we realized that the parts used to assemble it were not as well-known or easily accessible to the general public, which we felt would take away from the possible applications of this machine. In addition, although the price of this first prototype was relatively inexpensive in contrast to laboratory grade PCR machines, the price still ranged in the hundreds of dollars. Finally, the greatest issue with our design was the inefficiency of the hardware; we found that the Peltier units were not able to quickly cycle through the desired temperatures, causing the unit to take 5 to 10 minutes just to rise up to 95℃. After considering all of these factors, we began a redesign of our machine to better suit the needs of the DIY market.
The idea for our current thermocycler design first came into form when we found that our original prototype was not ramping up to the desired temperatures fast enough. We thus looked into other options such as the heating element in a hair dryer. We found that the hair dryer was able to reach very high temperatures—much higher than the desired maximum of 95℃ for PCR—in a matter of seconds. We then made a decision to suspend construction on the Peltier-centered thermocycler in order to see how successful we could be with making a rapid PCR machine out of a hair dryer. Before this decision, we took into consideration the danger of working with a hair dryer, failure due to uncertainty that the machine could be effectively controlled, and, on top of that, having less time to work on it. Nevertheless, we took the risk.Please continue on to see the design of our machine.
UMD DIY PCR
Our first design for a DIY PCR machine was modeled after a more conventional PCR machine design. This first prototype consisted of two Peltier units stacked on top of each other that would then heat a customized aluminum block that sat on top of the two units and held the PCR tubes. In order for the system to have feedback, we embedded a temperature sensor in the aluminum block to measure the temperature of the PCR tube wells. The sensor then reported back to an Arduino UNO, which then regulated the energy flow to the Peltier units, thereby regulating the temperature of the block and tubes. However, after much testing, this design proved to be unoriginal, expensive, and inefficient. While the conventionality of the design itself did not pose an issue, we realized that the parts used to assemble it were not as well-known or easily accessible to the general public, which we felt would take away from the possible applications of this machine. In addition, although the price of this first prototype was relatively inexpensive in contrast to laboratory grade PCR machines, the price still ranged in the hundreds of dollars. Finally, the greatest issue with our design was the inefficiency of the hardware; we found that the Peltier units were not able to quickly cycle through the desired temperatures, causing the unit to take 5 to 10 minutes just to rise up to 95℃. After considering all of these factors, we began a redesign of our machine to better suit the needs of the DIY market.
The idea for our current thermocycler design first came into form when we found that our original prototype was not ramping up to the desired temperatures fast enough. We thus looked into other options such as the heating element in a hair dryer. We found that the hair dryer was able to reach very high temperatures—much higher than the desired maximum of 95℃ for PCR—in a matter of seconds. We then made a decision to suspend construction on the Peltier-centered thermocycler in order to see how successful we could be with making a rapid PCR machine out of a hair dryer. Before this decision, we took into consideration the danger of working with a hair dryer, failure due to uncertainty that the machine could be effectively controlled, and, on top of that, having less time to work on it. Nevertheless, we took the risk.Please continue on to see the design of our machine.
Design
This goes in notebook, not design. What is your final design?Our design started when we bought a hairdryer in the hopes of using the heating unit as part of our first PCR machine. However, as we were dismantling and testing the hairdryer, it became apparent to us that the heating system inside the hairdryer could reach the necessary temperatures independent of the peltier units already in use. With this in mind, We began byworking out how to wire the hairdryer so that we could regulate the heating unit and the fan separately.
After a lot of soldering and reworking the internal safety measures inside the hairdryer, we were able to wire the system so that we could turn the heat on and off while running the fan continuously. Using autoclave tape, we secured a sheet of aluminium foil to the top of the heating unit of the hairdryer. The outer casing of the hairdryer had been removed. We placed a heat sensor inside the tin to measure the temperature of the air inside the machine. By wiring the heat sensor to the arduino we were able to receive input/feedback from the sensor and adjust heating of the device to maintain our desired setpoints. We were able to regulate the heat of the machine in order to produce proper thermocycling.
At this point, we tried to perform our first PCR reaction. Unfortunately we soon found that we had melted our tube. We learned that the machine had difficulty with evenly distributing the heat, since the tin foil was a rudimentary cover with holes punched into it without a proper understanding of what these holes would do to the heat distribution(see picture below). To better distribute the heat, we removed our tinfoil lid and replaced it with with a cut soda can. This can was designed with evenly spaced holes enabling for better heat distribution. Although we did not and still have not modeled the heat transfer of between the can's surface and the convection heating generated by the hair dryer, we were able to experimentally conclude that the heat distribution was more even across the can than the tin foil. For a better understanding we are currently in the process of modeling the heat transfer within the can to better design the apparatus.We are also in the process of milling aluminum with certain specifications in order to better regulate heat transfer.
After construction of the can based cover we tried PCR once more and still found that the reaction did not occur. We assumed that the heat sensor might have been an issue,; the sensor was exposed to the movingconvected air and was relaying information about the air temperature instead of the temperature inside of the PCR tubes. This meant that our feedback system was not accurately responding and controlling the temperature inside of the PCR tubes. Assuming the temperatures inside the machine were not representative of the temperatures inside the PCR tubes, we put the heat sensor inside a PCR tube with mineral oil and placed this inside one of the holes. We ran another PCR reaction, ran the products on a gel and saw a large band of the correct size, indicating that our machine worked ONCE.
Hardware
The working internals of our PCR machine are comprised of hairdryer elements. With the exception of the hairdryers outer housing, the thermal fuse and bimetallic circuit breaker all other working components remain intact. The thermal fuse and bimetallic circuit breaker were shorted using copper wire in order to reach temperatures up to 95 within our machine. The outer plastic housing of the hairdryer was also removed to enable our machine to stand upright and fit PCR tubes. The hairdryers heating mechanism which utilizes a bank of nichrome wires and fan that distributes the heat remained untouched.
The electronics of the machine are mainly comprised of two relays, an Arduino micro-controller and a lm35 temperature sensor.
Actuation
The relays convert the low wattage outputs of the Arduino into a high wattage output needed to power the hairdryer. The relays are switches that can be triggered by the milliwatt output of the Arduino and can handle the 1.8 kilowatt power of the hairdryer.
Sensing
The lm35 temperature sensor is used to provide the Arduino controller with input on the current temperature of the machine.
Software
Closing the loop
With both the temperature sensor and the relays we are able to provide the micro-controller with the ability to regulate and cycle the machine at various temperatures. To allow for tight temperature regulation within the machine a proportional integral derivative control scheme was adopted. This scheme enable the controller to take temperature reading and calculate rate at which the temperature is increasing, the constant error of the machine found through the integral term, and the proportional error which compares current temperature to a set point. The way our code is designed and implemented utilizes three setpoints, 95,70, and 50 degrees C, all of these are variable and able to be adjusted but for convince we will define the three with these set of temperature values. A any given time only one of these setpoints is active, and the PID control scheme regulates temperature at that specific value. Since the machine need to cycle an hit at least 3 different temperatures our code also logs time after each setpoint is hit, thus allowing us to define a time interval after which the setpoint is altered. What this means is that if we define the first setpoint to be 95 degrees C that our code will execute and tell the machine to heat to 95 and once that temperature is reached it will trigger a timing function which after a defined period will reset the setpoint to 50 degrees which will then force the machine to cool down to the new setpoint.
Problems and Current issues
We have had one successful amplification with our machine however we understand that repeatability is a vital component of all lab work and currently we are attempting to make our device repeatable. From our early days of testing we found that peltier units were not powerful enough to enable PCR tube to reach 95 degrees. Although conventional PCR machines use these units frequently they are often specialized and tailored made to perform PCR. With this tailoring comes a high price tag that does not suit the DIY market, and so we found a solution in the form of a hairdryer. On the other hand, the fan and heating element of a cheap hairdryer provide a control scheme that enables for rapid cycling of temperature rapidly and accurately and they are relatively inexpensive. We have found that developing a housing for the PCR tubes and enabling even heat distribution is challenging. We often have found that our temperature sensor and the pcr reaction tube are not at the same temperature and degree of difference is a delta of over 10 degrees celsiusIt is therefore NOT accurate, as described in previous sentences. We are currently working of milling a block of aluminum with better and more consistent heat transfer properties, and modeling the heat transfer within the can. Our ambition is that this will enable better control of temperature within the device.
CODE