Difference between revisions of "Team:UMaryland/Design"

m
Line 154: Line 154:
 
<div id="showwithbox_id" onclick="document.getElementById('spoilerwithbox_id').style.display=''; document.getElementById('showwithbox_id').style.display='none';" style="margin:auto;padding:5px;width:100%;"><p style="text-align:center;">Click to show
 
<div id="showwithbox_id" onclick="document.getElementById('spoilerwithbox_id').style.display=''; document.getElementById('showwithbox_id').style.display='none';" style="margin:auto;padding:5px;width:100%;"><p style="text-align:center;">Click to show
 
</div><div id="spoilerwithbox_id" onclick="document.getElementById('spoilerwithbox_id').style.display='none'; document.getElementById('showwithbox_id').style.display='';" style="margin:auto;padding:5px;display:none;width:100%;">
 
</div><div id="spoilerwithbox_id" onclick="document.getElementById('spoilerwithbox_id').style.display='none'; document.getElementById('showwithbox_id').style.display='';" style="margin:auto;padding:5px;display:none;width:100%;">
<p style="text-align:center;font-size:32px;font-family: Tahoma, Geneva, sans-serif;"><b>Background</b>
+
<p> The PCR machine is a quintessential component of any biological laboratory that needs to amplify or extend fragments of DNA for subsequent experiments. This tool is especially relevant to iGEM and SynBio labs who pave the way to vaster applications of genetic engineering.
  <p> The PCR machine is a quintessential component of any biological laboratory that needs to amplify or extend fragments of DNA for subsequent experiments. This tool is especially relevant to iGEM and SynBio labs who pave the way to vaster applications of genetic engineering.
+
  
 
<p>Our initial prototype for a DIY PCR machine was modeled in the fashion of most readily available commercial machines, relying on on two Peltier units stacked on top of each other to heat a customized aluminum block in which PCR tubes would sit. In order for the system to be informed by accurate feedback on temperature fluctuations, we embedded a temperature sensor in the aluminum block. The sensor reported the temperature to an Arduino UNO, which responded by regulating the energy flow to the Peltier units, thereby controlling the temperature of the block and tubes.  
 
<p>Our initial prototype for a DIY PCR machine was modeled in the fashion of most readily available commercial machines, relying on on two Peltier units stacked on top of each other to heat a customized aluminum block in which PCR tubes would sit. In order for the system to be informed by accurate feedback on temperature fluctuations, we embedded a temperature sensor in the aluminum block. The sensor reported the temperature to an Arduino UNO, which responded by regulating the energy flow to the Peltier units, thereby controlling the temperature of the block and tubes.  
Line 162: Line 161:
 
<br>
 
<br>
 
<p> To combat the unacceptably slow temperature ramp rate, we made a decision to suspend construction on the Peltier-centered thermocycler in order to attempt making a rapid PCR machine out of a hair dryer. Before committing to this effort, we considered the danger of working with a hair dryer and the potential for failure: we were uncertain that the machine could be effectively controlled and had a narrow window of time within which to design and trouble shoot the machine. Nevertheless, we took the risk.</br><i>Please continue on to see the design of our machine.</i>  
 
<p> To combat the unacceptably slow temperature ramp rate, we made a decision to suspend construction on the Peltier-centered thermocycler in order to attempt making a rapid PCR machine out of a hair dryer. Before committing to this effort, we considered the danger of working with a hair dryer and the potential for failure: we were uncertain that the machine could be effectively controlled and had a narrow window of time within which to design and trouble shoot the machine. Nevertheless, we took the risk.</br><i>Please continue on to see the design of our machine.</i>  
 +
<p style="text-align:center;">Click to hide
 +
</div>
  
 
</div>
 
  
 
<!--<h1><b>Purpose</b></h1>
 
<!--<h1><b>Purpose</b></h1>
  
 
<p>
 
<p>
While different templates, primers, and polymerases may be used, a thermocycler capable of maintaining temperatures between 4 and 95 degrees is absolutely required. Current thermocyclers cost thousands of dollars, which is often prohibitively expensive for a DIY Bio effort. Making the device cheaper would grant more budding scientists and interested students access to this intellectually elegant lab tool, enabling research and educational advancements beyond the limitations imposed by commercially available machines.
+
Although the process of PCR, the necessary hardware needed to do it is relatively simple. While different templates, primers, and polymerases can be used, a thermocycler capable of maintaining temperatures between 4 and 95 degrees is absolutely required. Current thermocyclers cost thousands of dollars, which is often prohibitively expensive for a DIY Bio effort. Making the device cheaper would give more people accessibility to this valuable lab tool, enabling breakthrough research in more places around the globe.
 
+
<br>
 +
Another consequence of expensive conventional thermocycling is the financial difficulty of bringing these machines into the classroom. PCR is an extremely important topic in biotechnology, but it is typically also one that requires one to "see it to believe it." However, schools often cannot afford to purchase thermocyclers due to their high cost. By manufacturing a cheap, DIY thermocycler that can be assembled at a low cost, we can help bring this technology into schools that would otherwise be unable to afford it.
 
<div style="text-align:center;">-->
 
<div style="text-align:center;">-->
 
 
 
 
 
  
</div>
 
</div>
 
<div id='layer2'>
 
<div id='contentbox'>
 
<p style="text-align:center;font-size:32px;font-family: Tahoma, Geneva, sans-serif;"><b>UMD DIY PCR</b>
 
 
 
<p>Our initial prototype for a DIY PCR machine was modeled in the fashion of most readily available commercial machines, relying on on two Peltier units stacked on top of each other to heat a customized aluminum block in which PCR tubes would sit. In order for the system to be informed by accurate feedback on temperature fluctuations, we embedded a temperature sensor in the aluminum block. The sensor reported the temperature to an Arduino UNO, which responded by regulating the energy flow to the Peltier units, thereby controlling the temperature of the block and tubes.
 
 
<p>However, after substantial testing, this design proved to be unoriginal, expensive, and inefficient. We were troubled to realize that the parts used to assemble it were not as easily accessible as we had hoped, which we felt would take away from the possible applications of this machine as well as the philosophy of its construction. In addition, although the price of this first prototype was relatively inexpensive compared to laboratory-grade PCR machines, the price still exceeded our goal, ultimately costing several hundred dollars. Finally, the final straw that led to our eventual redesign 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℃, where denaturation must occur between each of the 25 or so cycles. After considering this combination of factors, we embarked on a redesign of our machine to better suit the needs of the DIY market.</p>
 
<br>
 
<p> To combat the unacceptably slow temperature ramp rate, we made a decision to suspend construction on the Peltier-centered thermocycler in order to attempt making a rapid PCR machine out of a hair dryer. Before committing to this effort, we considered the danger of working with a hair dryer and the potential for failure: we were uncertain that the machine could be effectively controlled and had a narrow window of time within which to design and trouble shoot the machine. Nevertheless, we took the risk.</br><i>Please continue on to see the design of our machine.</i>
 
 
</div>
 
</div>
 
</div>
 
</div>
Line 194: Line 178:
 
<div id='contentbox'>
 
<div id='contentbox'>
 
<p style="text-align:center;font-size:32px;font-family: Tahoma, Geneva, sans-serif;"><b>Design</b>
 
<p style="text-align:center;font-size:32px;font-family: Tahoma, Geneva, sans-serif;"><b>Design</b>
 
+
<div id="showwithbox_id1" onclick="document.getElementById('spoilerwithbox_id1').style.display=''; document.getElementById('showwithbox_id1').style.display='none';" style="margin:auto;padding:5px;width:100%;"><p style="text-align:center;">Click to show
 +
</div><div id="spoilerwithbox_id1" onclick="document.getElementById('spoilerwithbox_id1').style.display='none'; document.getElementById('showwithbox_id1').style.display='';" style="margin:auto;padding:5px;display:none;width:100%;">
 
<p> We began by working out how to wire the hairdryer so that we could regulate the heating unit and the fan separately.  
 
<p> We began by working out how to wire the hairdryer so that we could regulate the heating unit and the fan separately.  
<br>
+
<p>After significant 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 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 the heating of the device to maintain our desired setpoints and produce proper thermocycling.
After significant 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 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 the heating of the device to maintain our desired setpoints and produce proper thermocycling.
+
<p>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. 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.
<br>
+
 
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. 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.
+
<div>
+
 
<img src="https://static.igem.org/mediawiki/2015/0/01/IMG_07741.jpg" style="width:450px;height:450px;float:left;">
 
<img src="https://static.igem.org/mediawiki/2015/0/01/IMG_07741.jpg" style="width:450px;height:450px;float:left;">
 
<img src="https://static.igem.org/mediawiki/2015/d/d5/2015-08-24_13.13.46.jpg" style="width:450px;height:600px;float:center;">
 
<img src="https://static.igem.org/mediawiki/2015/d/d5/2015-08-24_13.13.46.jpg" style="width:450px;height:600px;float:center;">
</div>
 
</br>
 
<p>After construction of the can-based cover, we attempted PCR once more and still found that amplification had not occurred. We assumed that the heat sensor might have been an issue; it was exposed to the moving air and as such was relaying information about the air temperature rather than the temperature of the reaction mixture within the PCR tubes. This meant that our feedback system was not accurately responding to or controlling the temperature inside of the PCR tubes. To compensate for this discrepancy, 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, visualized the products on an agarose gel, and witnessed a large band of the correct size, indicating that our machine had worked.
 
</br>
 
<img src="https://static.igem.org/mediawiki/2015/e/e8/IGEMUMDPCR.png" style="width:450px;height:450px;float:left;">
 
  
 
</br>
 
</br>
 +
<p>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 moving 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 had worked.
 +
<p style="text-align:center;">Click to hide
 +
</div>
 +
</div>
 +
</div>
 +
</div>
 +
<div id='layer2'>
 +
<div id='contentbox'>
 
<p style="text-align:center;font-size:32px;font-family: Tahoma, Geneva, sans-serif;"><b>Hardware</b>
 
<p style="text-align:center;font-size:32px;font-family: Tahoma, Geneva, sans-serif;"><b>Hardware</b>
<p>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. <a href = "https://static.igem.org/mediawiki/2015/2/2f/UMDPCR.pdf">Click here to read about the parts used for our thermocycler</a>.
+
<div id="showwithbox_id2" onclick="document.getElementById('spoilerwithbox_id2').style.display=''; document.getElementById('showwithbox_id2').style.display='none';" style="margin:auto;padding:5px;width:100%;"><p style="text-align:center;">Click to show
 +
</div><div id="spoilerwithbox_id2" onclick="document.getElementById('spoilerwithbox_id2').style.display='none'; document.getElementById('showwithbox_id2').style.display='';" style="margin:auto;padding:5px;display:none;width:100%;">
 +
<p>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.
  
 +
<img src="https://static.igem.org/mediawiki/2015/9/95/UMD_PCR_full_machine.jpg" style="width:450px;height:600px;float:center;">
 +
</br>
 +
<img src="https://static.igem.org/mediawiki/2015/9/9f/UMD_PCR_hardware.jpg" style="width:1000px;height:558px;">
  
 +
<img src="https://static.igem.org/mediawiki/2015/1/17/UMD_PCR_hardware2.jpg" style="width:1000px;height:558px;">
  
 +
<img src="https://static.igem.org/mediawiki/2015/d/dc/UMD_PCR_hardware3.jpg" style="width:1000px;height:558px;">
 +
 +
<p style="text-align:center;">Click to hide
 +
</div>
 +
 +
</div>
 +
</div>
 +
<div id='layer1'>
 +
<div id='contentbox'>
 +
<p style="text-align:center;font-size:32px;font-family: Tahoma, Geneva, sans-serif;"><b>Electronics</b>
 +
<div id="showwithbox_id3" onclick="document.getElementById('spoilerwithbox_id3').style.display=''; document.getElementById('showwithbox_id3').style.display='none';" style="margin:auto;padding:5px;width:100%;"><p style="text-align:center;">Click to show
 +
</div><div id="spoilerwithbox_id3" onclick="document.getElementById('spoilerwithbox_id3').style.display='none'; document.getElementById('showwithbox_id3').style.display='';" style="margin:auto;padding:5px;display:none;width:100%;">
 
The electronics of the machine are mainly comprised of two relays, an Arduino micro-controller and a lm35 temperature sensor.
 
The electronics of the machine are mainly comprised of two relays, an Arduino micro-controller and a lm35 temperature sensor.
 
<br></br>
 
<br></br>
 
Actuation  
 
Actuation  
  The relays convert the low wattage outputs of the Arduino into a high wattage output needed to power the hairdryer, and can be triggered by the milliwatt output of the Arduino and can handle the 1.8 kilowatt power of the hairdryer.  
+
  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.  
 
<br></br>
 
<br></br>
 
Sensing
 
Sensing
Line 224: Line 228:
 
<br></br>
 
<br></br>
 
Software
 
Software
Closing the loop
+
<b>Closing the loop.</b>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 enabled the controller to take temperature readings 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 needs to cycle and 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.                   
  With the combination of the temperature sensor and the relays, we imbued the micro-controller with the ability to regulate and cycle the machine at various temperatures. To better facilitate tight cycling control, a proportional integral derivative control scheme was adopted. This scheme enabled the controller calculate the rate at which the temperature is increasing while also determining the constant error of the machine (derived from the integral term) and the proportional error (which compares the current temperature to a set point). Our code utilizes three setpoints, 95,70, and 50 degrees C, all of which are variable and may be adjusted depending on the reaction set up. At any given time, only one of these setpoints is active, and the PID control scheme regulates temperature at that specific value. Since the machine needs to cycle and hit at least 3 different temperatures, our code also logs the time at which each setpoint is hit, thus allowing us to define a time interval after which the setpoint is altered. The net result is that if we define the first setpoint to be 95 degrees C, our code will execute and tell the machine to heat to 95; once that temperature is reached, it will trigger a timing function that after a defined period will reset the setpoint to 50 degrees, forcing the machine to cool down to the new setpoint.                   
+
 
<br></br>
 
<br></br>
  
 
<br></br>
 
<br></br>
 
<img src="https://static.igem.org/mediawiki/2015/5/5a/IGEM_2015_PCR_wire_schematic.png" style="width:800px;height:588px;">
 
<img src="https://static.igem.org/mediawiki/2015/5/5a/IGEM_2015_PCR_wire_schematic.png" style="width:800px;height:588px;">
<img src="https://static.igem.org/mediawiki/2015/e/e1/UMD_CHIP_Cycling_Data.png" style="width:800px;height:400px;">
+
<img src="https://static.igem.org/mediawiki/2015/d/d5/IGEMCYCDATAGRAPH.png" style="width:800px;height:400px;">
 
<br></br>
 
<br></br>
<img src="https://static.igem.org/mediawiki/2015/5/5e/PCR.png" style="width:800px;height:196px;">
+
<img src="https://static.igem.org/mediawiki/2015/e/e8/IGEMUMDPCR.png" style="width:450px;height:450px;float:left;">
  
 +
<p style="text-align:center;">Click to hide
 
</div>
 
</div>
 +
 
</div>
 
</div>
 
</div>
 
</div>
 +
 
<div id='layer2'>
 
<div id='layer2'>
 
<div id='contentbox'>
 
<div id='contentbox'>
 
<p style="text-align:center;font-size:32px;font-family: Tahoma, Geneva, sans-serif;"><b>Problems and Current issues </b>
 
<p style="text-align:center;font-size:32px;font-family: Tahoma, Geneva, sans-serif;"><b>Problems and Current issues </b>
 
+
<div id="showwithbox_id4" onclick="document.getElementById('spoilerwithbox_id4').style.display=''; document.getElementById('showwithbox_id4').style.display='none';" style="margin:auto;padding:5px;width:100%;"><p style="text-align:center;">Click to show
<p> We have had one successful amplification with our machine; however, we still struggle to replicate these results with an updated housing design (essentially, a new soda can with appropriately sized holes). Our trials still suggest that our temperature sensor and the liquid reaction housed within the tube are not at the same temperature, with a discrepancy of over 10 degrees Celsius. 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 hope is that modeling the heat transfer will facilitate better control of temperature within the device.        
+
</div><div id="spoilerwithbox_id4" onclick="document.getElementById('spoilerwithbox_id4').style.display='none'; document.getElementById('showwithbox_id4').style.display='';" style="margin:auto;padding:5px;display:none;width:100%;">
 +
<p> We have had one successful amplification with our machine; however, we still struggle to replicate these results with an updated housing design (essentially, a new soda can with appropriately sized holes). Our trials still suggest that our temperature sensor and the liquid reaction housed within the tube are not at the same temperature, with a discrepancy of over 10 degrees Celsius. 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 hope is that modeling the heat transfer will facilitate better control of temperature within the device.      
 
<br></br>
 
<br></br>
 
 
<p style="text-align:center;">Click to hide
 
<p style="text-align:center;">Click to hide
 
</div>
 
</div>

Revision as of 23:52, 1 October 2015