Difference between revisions of "Open Biotech/PCR"

From Sudo Room
Jump to navigation Jump to search
Line 144: Line 144:
I've been looking at the specs of some Peltier chips (see https://docs.google.com/file/d/1u2m--LONYCOyvcp76spoAP3wN3nWroROwfTtoJx9TpeeeMYY1WVNb1-KCXOk/edit?usp=sharing ) and on some of them, they seem to be designed for lower temperature operation and the lifetime of the device will be significantly reduced if you operate them at a high temperature (the limits of the device in the attached spec device, for example, is 80C.) At 95C, the hot side quickly ramps up from the cold side temp, which is starting at 95C, I've heard as much as 4x the rate of the cold side. By the time you got to 80C on the cold side, you could easily exceed 150C if your heat sink isn't able to pump that much heat that quickly. I think to ensure against damage or reduced life, you have to carefully control the amount of volatge/current applied. A feedback loop to limit applied voltage based on temp of hot side seems to be a sensible addition. I'm still trying to figure this out for a temperature controlled minielectrophoresis unit that I am designing (to be open source). [[User:Hbergeronx|Hbergeronx]].
I've been looking at the specs of some Peltier chips (see https://docs.google.com/file/d/1u2m--LONYCOyvcp76spoAP3wN3nWroROwfTtoJx9TpeeeMYY1WVNb1-KCXOk/edit?usp=sharing ) and on some of them, they seem to be designed for lower temperature operation and the lifetime of the device will be significantly reduced if you operate them at a high temperature (the limits of the device in the attached spec device, for example, is 80C.) At 95C, the hot side quickly ramps up from the cold side temp, which is starting at 95C, I've heard as much as 4x the rate of the cold side. By the time you got to 80C on the cold side, you could easily exceed 150C if your heat sink isn't able to pump that much heat that quickly. I think to ensure against damage or reduced life, you have to carefully control the amount of volatge/current applied. A feedback loop to limit applied voltage based on temp of hot side seems to be a sensible addition. I'm still trying to figure this out for a temperature controlled minielectrophoresis unit that I am designing (to be open source). [[User:Hbergeronx|Hbergeronx]].


:Interesting information! I knew there was some problems with the peltier elements at higher temperatures but it's good to have some numbers. One solution would be to just not switch them on at the higher temperatures. We can see how much of an effect the peltier will have above 80 C. My guess is that it will be fairly small. Another solution is to either PWM control the MOSFET, perhaps through a capacitor, or even better, to use the analog output of the microcontroller and a non-charge-pumped MOSFET to gradually control the peltier based on the temperature. We may want to do this with the heating element as well. [[User:Juul|Juul]]
:Yeah. The temperature sensor + MOSFET + microcontroller allows us this dynamic control :-) (also, please put three tilde characters to tag comments with your name) - [[User:Juul|Juul]]
 
::A cheap unit becomes not so cheap if after a handful of runs, you have to fix it: not trying to imply that you haven't thought of this or to be a downer, but just raising awareness of something that only recently came to my attention. [[User:Hbergeronx|Hbergeronx]]
 
:::My apologies for the brief comment before. I was in a hurry. Interesting information indeed! One solution would be to just not switch them on at the higher temperatures. We can see how much of an effect the peltier will have above 80 C. My guess is that it will be fairly small. Another solution is to either PWM control the MOSFET, perhaps through a capacitor, or even better, to use the analog output of the microcontroller and a non-charge-pumped MOSFET to gradually control the peltier based on the temperature. We may want to do this with the heating element as well. [[User:Juul|Juul]]
A cheap unit becomes not so cheap if after a handful of runs, you have to fix it: not trying to imply that you haven't thought of this or to be a downer, but just raising awareness of something that only recently came to my attention.


= Heating =
= Heating =

Revision as of 03:33, 18 February 2013

The goal of this project is to build a PCR machine as part of the open biolab. The device should be simple enough that people with a basic skillset can build it on their own while being cheap and simple to produce in a 100x to 500x quantity.

The current target for the entire kit is $300 (PCR, centrifuge, shaking incubator, gel electrophoresis box, micropipette + chemistry/biology/plastics for 3+ experiments). This may turn out to be too low for the first run, but we're aiming at making this as affordable as possible while maintaining a quality that's good enough for day-to-day citizen science work.

Bill of materials and pricing

Our initial prototype order. Based on aluminum block PCR tube holder. Does not include case.
Some prices estimated. Not including taxes and shipping.

PCR tube holder

This is what will hold the PCR tubes. In commercial machines this is usually a block of with holes for the PCR tubes. The holes are usually only deep enough for about 50% of the PCR tube.

Some examples:

PCR Tube dimensions:

  • Height: 20.81 (± 0.07) to 20.93 (± 0.08) mm
  • Diameter: 5.95 (± 0.04) to 6.07 (± 0.03) mm
Source: Dimensions and thermal property of different PCR tubes

Note that many PCR machines have PCR tube holes that are much shallower than the height of a PCR tube.

The curvature/slant of the bottom runs to about half-way up the tube.

Three strategies for the PCR tube holder are being investigated:

  • Milled aluminum
  • Cast pewter
  • Air cooling
Where the PCR tubes are held in a holed piece of wood/plastic/metal.

Milled aluminum

Aluminum has a high thermal conductivity and is easy to machine. Adding a chunk of metal will slow temperature change. This is not desirable for rapid cycling, but it will make it easier to ensure that the temperature at the temperature probe and the temperature in all of the the PCR tubes is the same.

Using a holed sheet of metal and air heating/cooling would be cheaper but may be more difficult to control accurately.

1 cm x 4 cm x 6 feet for $35 (enough for 45 4x4 cm tube holders)
1 cm x 5 cm x 6 feet for $44 (enough for 36 5x5 cm tube holders)
1 cm x 2.5 cm x 6 feet for $23

Milled aluminum has the problem that a custom-made drill-bit is needed to drill the holes for the PCR tubes. Hackteria has had a few of these made, and will send them to people to loan, but that's not quite as accessible as we would want. Another option is that people can just drill normal holes for the home-made version of the kit and then add a bit of mineral oil to the bottom of the holes to make contact between the PCR tubes and the block of aluminum. We should test how well this works.

Cast pewter

Pros:

  • No special drill bit needed (more DIY friendly).
  • Metal can be melted on a normal stove.
  • RTV silicone mold is re-usable.

Cons:

  • Lower heat conductivity than aluminum.
  • Molten metal is dangerous.
  • RTV silicone mold supplies are expensive.

Supplies needed:

Safety supplies:

  • gloves for casting
  • face shield
  • goggles

Air cooling

A sheet of metal with holes in it and a fan to circulate the air.

Controlling the temperature accurately will require more dynamic control but we should try it and see what kind of temperature stability and ramp times we can get.

Microcontroller

  • Atmega 328
Same as the standard Arduino
DIP (through-hole) version is $2.88 but only $1.60 at 100x via digikey.
  • Atmega 32u4 which has built in USB (meaning that we don't have to include a serial to usb cable)
No DIP version exists, but QFP version exists which sorta kinda is hand-solderable but not by noobs.
Price is $3.37 at 100x via digikey.

USB to serial cable

  • Cables based on the PL2303HX chip can be had for $3. Maybe slightly less if we buy in bulk.


Temperature control

Temperature sensing

It would be nice to have minimum plus/minus 0.5 C accurate sensors.

Digital is more expensive than analog for an equivalent accuracy, and prohibitively expensive at high accuracy. If we go with the cheaper analog solution then we may have to individually calibrate the sensors.

Arduino ADC resolution is 10 bit, so if hooked up correctly we should be able to get better than 0.2 C accuracy in sampling.

Analog

  • 2k ohm NTC thermistor via digikey for $0.72 at 1x or $0.37 at 100x.
About +/- 0.5 C accurate from 0 to 50 C.
+/- 1.0 C at 75 C.
+/- 1.5 C at 100 C.
7.198 k ohm at -5 C.
0.111 k ohm at 120 C.
+/- 0.2 C from 0 to 70 C.
Min order is 100x.
Rather minimal datasheet.

We can likely get much better prices for high accuracy thermistors if we are willing to work with SMD components.

Digital

  • Analog Devices TMP36 at at digikey for $1.42 or $1.00 at 100x
+/- 1.0 at 25 C.
+/- 2.0 from -40 to 125 C.
1-wire digital sensor.
+/- 0.5 C accuracy from -55 to 85 C.
Range is -55 to 125 C.
12 bit resolution.

Cooling

  • Peltier element 40x40 mm at sparkfun for $15 or $12 at 100x.
Could not find anything cheaper on digikey.
It looks like searching for '12709 Tec' can yield small lots of a very very similar device for $5 a piece.

Discussion

I've been looking at the specs of some Peltier chips (see https://docs.google.com/file/d/1u2m--LONYCOyvcp76spoAP3wN3nWroROwfTtoJx9TpeeeMYY1WVNb1-KCXOk/edit?usp=sharing ) and on some of them, they seem to be designed for lower temperature operation and the lifetime of the device will be significantly reduced if you operate them at a high temperature (the limits of the device in the attached spec device, for example, is 80C.) At 95C, the hot side quickly ramps up from the cold side temp, which is starting at 95C, I've heard as much as 4x the rate of the cold side. By the time you got to 80C on the cold side, you could easily exceed 150C if your heat sink isn't able to pump that much heat that quickly. I think to ensure against damage or reduced life, you have to carefully control the amount of volatge/current applied. A feedback loop to limit applied voltage based on temp of hot side seems to be a sensible addition. I'm still trying to figure this out for a temperature controlled minielectrophoresis unit that I am designing (to be open source). Hbergeronx.

Yeah. The temperature sensor + MOSFET + microcontroller allows us this dynamic control :-) (also, please put three tilde characters to tag comments with your name) - Juul
A cheap unit becomes not so cheap if after a handful of runs, you have to fix it: not trying to imply that you haven't thought of this or to be a downer, but just raising awareness of something that only recently came to my attention. Hbergeronx
My apologies for the brief comment before. I was in a hurry. Interesting information indeed! One solution would be to just not switch them on at the higher temperatures. We can see how much of an effect the peltier will have above 80 C. My guess is that it will be fairly small. Another solution is to either PWM control the MOSFET, perhaps through a capacitor, or even better, to use the analog output of the microcontroller and a non-charge-pumped MOSFET to gradually control the peltier based on the temperature. We may want to do this with the heating element as well. Juul

Heating

Using vitreous enamel wire wound resistor

Use "fire cement diluted with a little water" to hold the power resistor in place. source.

Maybe use a NIF5003 MOSFET connected to insulated nichrome? source

Look at extruder controllers:

Specifically the mosfets

Example MOSFET heating circuit.

Resistors


MOSFETs

  • The RFP30N06LE or FQP30N06L from sparkfun for $1 or $0.76 at 100x. Same price at digikey.
This has a built in charge pump, which allows it to trigger fully from 3.3v.

Alternatives:

  • Digikey page for NIF5003 at $1.37 here
Used in some of the 3D printers for nozzle heater control, but not fully triggerable from 3.3v.
  • Jake says, if we want to use "normal" FETs then we can try IXDD604PI

For the simple solution (no heating/cooling in the lid) we need:

  • 1 MOSFET for regulating heating element.
  • 1 MOSFET for regulating peltier element.

Each MOSFET needs a 10k resistor and a 1N4001 diode for about $0.30.

Fans and heatsinks

Should be 5 or 12 vdc 5x5 cm. We should use standard CPU coolers since they are cheap an easy to find, which is important since this is the only moving part in the PCR machine and will likely need to be replaced at some point by the user.

We also need a transistor to control the fan. The digikey fan uses 0.8 watt and the sparkfun fan uses 1 watt.

Assuming the fans are 12 volts, the NPN 2N3904 can be used (but it's max 200 mA) via sparkfun at $0.75 but they're less than 10 cents at 100x.

Power supply

  • 12v 10amp power supply $24, but can be used for centrifuge and incubator as well.


Previous work

Existing DIY cyclers

Useful links

Documentation

Peltier

Note: Comments moved to different section of this page: Temperature control -> Cooling.

MOSFETs

Protocols

DNA extraction

http://www.scq.ubc.ca/the-macgyver-project-genomic-dna-extraction-and-gel-electrophoresis-experiments-using-everyday-materials/

Transformation

GFP

Electrophoresis

University of utah's guide How to prepare a gel