Team:TU Delft-Leiden/Project/Gadget

From 2014.igem.org

(Difference between revisions)
 
(26 intermediate revisions not shown)
Line 11: Line 11:
-
<h2>Gadget Overview</h2>
 
-
<p>The goal of synthetic biology is to turn biology from a science into a technology. In order to do this, it needs to be brought out of the lab to fulfill its full potential. A product designed around the electrace whole-cell biosensor would allow for real world application, outside of the confines of the lab. </p>
+
<h2>Gadget</h2>
 +
<p>The electrical output mechanism for microbial biosensors we have developed needs a gadget to turn the measured signal (current) into data. A general design for such a gadget is given in <a href="https://2014.igem.org/wiki/index.php?title=Team:TU_Delft-Leiden/Project/Gadget#Overview">Gadget Overview</a> Although a lot easier than a fluorescence microscope, this still involves quite some circuitry, all of which is explained here in the section <a href="https://2014.igem.org/wiki/index.php?title=Team:TU_Delft-Leiden/Project/Gadget#Potentiostat">Potentiostat</a>.</p>
 +
 
 +
<div class="tableofcontents">
 +
 
 +
<center> <h3> Contents </h3> </center>
 +
 
 +
 
 +
   
 +
          <ul>
 +
             
 +
              <li>
 +
                    <a href="/Team:TU_Delft-Leiden/Project/Gadget#Overview">
 +
                    <p>Overview</p>
 +
                    </a>
 +
              </li>
 +
              <li>
 +
                    <a href="/Team:TU_Delft-Leiden/Project/Gadget#Potentiostat">
 +
                    <p>Potentiostat</p>
 +
                    </a>
 +
             
 +
          </ul>   
 +
 
 +
 
 +
</div>
 +
 
 +
 
 +
<a name="Overview"></a>
 +
<a name="Overview"></a>
 +
<h3>Overview</h3>
 +
<p>The goal of synthetic biology is to turn biology from a science into a technology. In order to do this, it needs to be brought out of the lab to fulfil its full potential. A product designed around the Electrace whole-cell biosensor would allow for real world application, outside of the confines of the lab. </p>
<br>
<br>
Line 22: Line 51:
<figcaption>
<figcaption>
<br>
<br>
-
Figure 1:  
+
Figure 1: Overview of the product/service system envisioned for Electrace
</figcaption>
</figcaption>
</figure>
</figure>
<br>
<br>
<p>
<p>
-
A concept which allowed for the meeting of the digital and biological worlds was imagined, with the Electrace cell at the heart. Electrace creates a modular system where biosensor "plugins" in the form of biobricks can be designed by "wetware developers". This would allow the electrical output of Electrace to be used with a range of different inputs - for example the DNT detection seen elsewhere in our project. Since each biosensor would have it's own set of requirements for data processing, software developers would create matching plugins for a digital Electrace platform. Via a web-based app then, the user would select the appropriate combination of software for the analyte in question. A wifi enabled potentiostat measures the electrical output of the given Electrace bio-sensor, which then sends this data to the mobile app for processing and display.
+
A concept which allowed for the meeting of the digital and biological worlds was imagined, with the Electrace cell at the heart. Electrace creates a modular system where biosensor "plug-ins" in the form of biobricks can be designed by "wetware developers". This would allow the electrical output of Electrace to be used with a range of different inputs - for example the DNT detection seen elsewhere in our project. Since each biosensor would have its own set of requirements for data processing, software developers would create matching plug-ns for a digital Electrace platform. Via a web-based app then, the user would select the appropriate combination of software for the analyte in question. A wifi enabled potentiostat measures the electrical output of the given Electrace bio-sensor, which then sends this data to the mobile app for processing and display.
</p>
</p>
<br>
<br>
Line 40: Line 69:
<br>
<br>
-
<h2>Voltammetry</h2>
+
 
 +
<a name="Potentiostat"></a>
 +
<a name="Potentiostat"></a>
 +
<h3>Potentiostat</h3>
<p>
<p>
-
In the ET module, electrons are anticipated to be shuttled to the extracellular environment if the induced pathway works according to expectation. The intention of the aforementioned device is to accurately measure and quantify the electrons being transferred to a certain degree of tolerance. The task can be accomplished by a commercial Potentiostat but is economically unviable due to its’ outrageous price tag (>2000 USD). Hence an attempt has been made towards developing a comparable device from scratch using indigenous resources. </p>
+
In the ET module, electrons are anticipated to be shuttled to the extracellular environment if the induced pathway works according to expectation. The intention of the aforementioned device is to accurately measure and quantify the electrons being transferred to a certain degree of tolerance. The task can be accomplished by a commercial Potentiostat but is economically non-viable due to its outrageous price tag (>$2000). Hence an attempt has been made towards developing a comparable device from scratch using indigenous resources. </p>
 +
<br>
<p>
<p>
-
The primary electronic circuits that form the measuring device are composed of standardized components (Op-Amp etc.) and are therefore available in any general purpose hardware store. As an interfacing device between the analog and the digital domains, a National Instruments (NI) myDaQ is used. In turn the myDaQ can be interfaced with a PC through the USB in order to store this data. This can then be compared with the prediction of the system model, whose quality can then be judged. Also, input-output data can be used to fit models with a predefined model structure, thereby aiding one in obtaining the values of the crucial reaction rates. Hence it is desirable that the measuring device is accurate and precise. Potentiostats which are readily available are expensive as they utilize specialized precision electronics in order to maintain high accuracy of the readings. This device will not be extremely accurate but is expected to perform satisfactorily.</p>
+
The primary electronic circuits that form the measuring device are composed of standardized components (Op-Amp etc.) and are therefore available in any general purpose electronic hardware store. As an interfacing device between the analog and the digital domains, a National Instruments (NI) myDaQ is used. In turn the myDaQ can be interfaced with a PC through the USB in order to store this data. This can then be compared with the prediction of the system model, whose quality can then be judged. Also, input-output data can be used to fit models with a predefined model structure, thereby aiding one in obtaining the values of the crucial reaction rates. Hence it is desirable that the measuring device is accurate and precise. potentiostats which are readily available are expensive as they utilize specialized precision electronics in order to maintain high accuracy of the readings. This device will not be extremely accurate but is expected to perform satisfactorily.</p>
<br>
<br>
-
<h3>Working Principle and Construction</h3>
+
<h4>Working Principle and Construction</h4>
-
<p>The Potentiostat is the hardware required to control a 3 electrode system used for the analysis of electrochemical experiments. As mentioned, the system consists of three separate electrodes namely the Working Electrode (WE), Reference Electrode (RE) and the Counter electrode (CE). The generalized cell configuration of such a system has been illustrated below. Operational amplifiers in various negative feedback configurations are employed to replicate the functioning of a Potentiostat. This has been demonstrated in subsequent sections.</p>
+
<p>The potentiostat is the hardware required to control a 3 electrode system used for the analysis of electrochemical experiments. As mentioned, the system consists of three separate electrodes namely the Working Electrode (WE), Reference Electrode (RE) and the Counter electrode (CE). The generalized cell configuration of such a system has been illustrated below. Operational amplifiers in various negative feedback configurations are employed to replicate the functioning of a potentiostat. This has been demonstrated in subsequent sections.</p>
 +
<br>
<figure>
<figure>
-
<img src="https://static.igem.org/mediawiki/2014/d/dc/FIG_1.2.png" width="50%" width="50" >
+
<img src="https://static.igem.org/mediawiki/2014/1/1a/TRL04_TL_DROPSENS_560x180.jpg" width="70%" width="70%" >
<figcaption>
<figcaption>
<br>
<br>
-
Figure 3: A Sophisticated Potentiostat
+
Figure 3: The DropSens potentiostat with the screen printed electrodes
</figcaption>
</figcaption>
-
</figure>
+
</figure>  
<figure>
<figure>
Line 67: Line 101:
<figcaption>
<figcaption>
<br>
<br>
-
Figure 3: Three electrode cell configuration
+
Figure 4: Three electrode cell configuration
</figcaption>
</figcaption>
</figure>
</figure>
-
 
+
<br>
<p>In this case both the working and the counter electrodes are made out of smooth machined carbon. The RE is analogous to system ground i.e. all other voltages applied or measured at the working / counter electrodes are with respect to the voltage here. Consequently the term “Reference” has been adopted. This component usually consists of an Ag/AgCl or Pt/PtCl electrode. In principle, any metal which tends to be chemically inert and is therefore capable of maintaining a stable and fluctuation free voltage can be used for this purpose.</p>
<p>In this case both the working and the counter electrodes are made out of smooth machined carbon. The RE is analogous to system ground i.e. all other voltages applied or measured at the working / counter electrodes are with respect to the voltage here. Consequently the term “Reference” has been adopted. This component usually consists of an Ag/AgCl or Pt/PtCl electrode. In principle, any metal which tends to be chemically inert and is therefore capable of maintaining a stable and fluctuation free voltage can be used for this purpose.</p>
-
 
+
<br>
-
<p>A varying potential is applied to the WE with respect to the RE and hence the electrons which are ferried out into the sample by the e-coli resumes motion under the effect of the applied electromotive force. The Counter Electrode can now detect the generated current and relay the information to the PC via the DaQ. </p>
+
<p>A varying potential is applied to the WE with respect to the RE and hence the electrons which are ferried out into the sample by the E. coli resumes motion under the effect of the applied electromotive force. The Counter Electrode can now detect the generated current and relay the information to the PC via the DaQ. </p>
-
 
+
<br>
<p>The general design of the electrolytic cell along with the 3 electrodes has been discussed in fair detail until now. In the next segment, the problem of electronic circuit design and its interfacing with the computer is tackled in a methodical manner.</p>
<p>The general design of the electrolytic cell along with the 3 electrodes has been discussed in fair detail until now. In the next segment, the problem of electronic circuit design and its interfacing with the computer is tackled in a methodical manner.</p>
-
 
<br>
<br>
-
<h3>Primary Circuit Design and Interfacing</h3>
 
-
<p>As previously mentioned, the associated circuitry consists of both digital and analogue parts which are required to effectively transmit the measured data to a PC. Hence the myDaQ / myRIO will be used in conjunction with the designed analog circuitry. The DaQ already possesses inbuilt A/D (Analog to Digital) and D/A (Digital to Analog) converters so one needs to merely connect the wires from the analog domain into suitable ports of the device. </p>
+
<h4>Primary Circuit Design and Interfacing</h4>
-
FIG 2
+
<p>As previously mentioned, the associated circuitry consists of both digital and analogue parts which are required to effectively transmit the measured data to a PC. Hence the myDaQ / myRIO will be used in conjunction with the designed analog circuitry. The DaQ already possesses inbuilt A/D (Analog to Digital) and D/A (Digital to Analog) converters so one needs to merely connect the wires from the analog domain into suitable ports of the device. </p>
 +
<br>
<figure>
<figure>
<img src="https://static.igem.org/mediawiki/2014/c/c5/Fig_2.png" width="100%" width="100%" >
<img src="https://static.igem.org/mediawiki/2014/c/c5/Fig_2.png" width="100%" width="100%" >
<figcaption>
<figcaption>
<br>
<br>
-
Figure 4: Schematic of Potentiostat
+
Figure 5: Schematic of Potentiostat
</figcaption>
</figcaption>
</figure>
</figure>
Line 97: Line 130:
<p>The schematic above illustrates the circuitry which has been adopted for this purpose. It consists of various OPAMPS intelligently connected in different negative and positive feedback configurations such that the desired functions are fulfilled. The entire network might seem daunting at first sight, but it actually is quite simple and elegant when evaluated using a modular approach. The hardware can be segregated into various modules namely: </p>
<p>The schematic above illustrates the circuitry which has been adopted for this purpose. It consists of various OPAMPS intelligently connected in different negative and positive feedback configurations such that the desired functions are fulfilled. The entire network might seem daunting at first sight, but it actually is quite simple and elegant when evaluated using a modular approach. The hardware can be segregated into various modules namely: </p>
 +
 +
<br>
<p>
<p>
<ul style="list-style-type:disc">
<ul style="list-style-type:disc">
   <li>Voltage Adder (Summing Device)</li>
   <li>Voltage Adder (Summing Device)</li>
-
   <li>Polarity Invertor</li>
+
   <li>Polarity Inverter</li>
   <li>Voltage Buffers ( Load independent Voltage Regulators)</li>
   <li>Voltage Buffers ( Load independent Voltage Regulators)</li>
   <li>Cell Components ( WE, RE and CE)</li>
   <li>Cell Components ( WE, RE and CE)</li>
-
   <li>myDaQ / myRIO – Analog to Digital ( A / D) and Digital to Analog (D / A) convertors. Interfacing with PC (USB & Lab-View)</li>
+
   <li>myDaQ / myRIO – Analog to Digital ( A / D) and Digital to Analog (D / A) converters. Interfacing with PC (USB & Lab-View)</li>
</ul>
</ul>
</p>
</p>
 +
<br>
 +
<p>The following figure (Fig 6)shows these in the form of a block diagram</p>
 +
<br>
-
<p>The following figure shows these in the form of a block diagram</p>
 
-
 
-
FIG 3
 
<figure>
<figure>
Line 117: Line 152:
<figcaption>
<figcaption>
<br>
<br>
-
Figure 5: Block Diagram of Circuitry
+
Figure 6: Block Diagram of Circuitry
</figcaption>
</figcaption>
</figure>
</figure>
 +
<br>
<p>The core idea of a Potentiostat is to excite the Working Electrode with an external voltage in order to generate the electromotive Force capable of ‘pushing’ the transported electrons into the counter electrode. Consequently, the presence of the voltage “generator” is crucial and the computer aids directly in the process. Due to the availability of software like LabView any waveform can be generated. Frequently a periodic waveform is used to excite the system for e.g in order to assess the inherent system hysteresis (non-linear behavior). Refer Gopinath and Russel et al for more details. </p>
<p>The core idea of a Potentiostat is to excite the Working Electrode with an external voltage in order to generate the electromotive Force capable of ‘pushing’ the transported electrons into the counter electrode. Consequently, the presence of the voltage “generator” is crucial and the computer aids directly in the process. Due to the availability of software like LabView any waveform can be generated. Frequently a periodic waveform is used to excite the system for e.g in order to assess the inherent system hysteresis (non-linear behavior). Refer Gopinath and Russel et al for more details. </p>
 +
<br>
<p>The Voltage which is to be applied to the WE is generated via the myDAQ/ myRIO itself. These devices often possess the capability to simultaneously detect as well as produce signals .Hence the DaQ has been programmed such that both triangular and constant voltage waveforms are generated. The frequency, amplitude and the phase of the waveforms can be adjusted by altering a few variables in the associated software code. More discussion on this matter is presented later. </p>
<p>The Voltage which is to be applied to the WE is generated via the myDAQ/ myRIO itself. These devices often possess the capability to simultaneously detect as well as produce signals .Hence the DaQ has been programmed such that both triangular and constant voltage waveforms are generated. The frequency, amplitude and the phase of the waveforms can be adjusted by altering a few variables in the associated software code. More discussion on this matter is presented later. </p>
 +
<br>
<p>It is to be noted that any excitation voltages applied to the Working Electrode is always with respect to (wrt) the Reference. For example, if a potential difference of 5V DC wrt to the RE is required, merely generating a 5V DC from the battery and feeding it into the WE will not suffice! If the Reference Electrode senses a voltage of 1V DC, then it is essential that a voltage of 5V + 1V = 6V is totally applied to the WE. Only then does the condition of 5V with respect to the RE become valid. If this concept is well grasped, then the necessity of the Voltage “Adder” becomes obvious.</p>
<p>It is to be noted that any excitation voltages applied to the Working Electrode is always with respect to (wrt) the Reference. For example, if a potential difference of 5V DC wrt to the RE is required, merely generating a 5V DC from the battery and feeding it into the WE will not suffice! If the Reference Electrode senses a voltage of 1V DC, then it is essential that a voltage of 5V + 1V = 6V is totally applied to the WE. Only then does the condition of 5V with respect to the RE become valid. If this concept is well grasped, then the necessity of the Voltage “Adder” becomes obvious.</p>
-
<p>One needs to take note that the voltage adders which are implementable using OPAMPs produce an inverted sum. That is, instead of producing 6 Volts it produces -6V. In electrochemical applications, the polarity of the signal being applied plays a significant role in system behavior. Consequently it is necessary that the summer produces the signal with the correct sign. To facilitate this property a polarity “invertor” is cascaded with the summer (This device reverses the sign of the input voltage fed to it). In the block diagrams above/below, the Polarity Invertor is embedded in the Voltage adder and is considered to be it’s integral part.</p>
+
<br>
 +
<p>One needs to take note that the voltage adders which are implementable using OPAMPs produce an inverted sum. That is, instead of producing 6 Volts it produces -6V. In electrochemical applications, the polarity of the signal being applied plays a significant role in system behavior. Consequently it is necessary that the summer produces the signal with the correct sign. To facilitate this property a polarity “inverter” is cascaded with the summer (This device reverses the sign of the input voltage fed to it). In the block diagrams above/below, the polarity inverter is embedded in the voltage adder and is considered to be it’s integral part.</p>
-
FIG 4
+
<br>
<figure>
<figure>
Line 135: Line 174:
<figcaption>
<figcaption>
<br>
<br>
-
Figure 6: Illustration of Polarity Invertor cascaded with the summer.
+
Figure 7: Illustration of polarity inverter cascaded with the summer.
</figcaption>
</figcaption>
</figure>
</figure>
 +
<br>
<figure>
<figure>
<img src="https://static.igem.org/mediawiki/2014/e/e2/Delft_Fig_5.png" width="40%" width="40%" >
<img src="https://static.igem.org/mediawiki/2014/e/e2/Delft_Fig_5.png" width="40%" width="40%" >
<figcaption>
<figcaption>
<br>
<br>
-
Figure 7: Voltage adder used for summing the 2 Voltages
+
Figure 8: Voltage adder used for summing the 2 Voltages
</figcaption>
</figcaption>
</figure>
</figure>
 +
<br>
-
FIG 5
 
<p>The Voltage Buffer is a circuit comprising of an OPAMP in a unity negative feedback configuration. This has something to do with the output voltage of the OPAMP being fed-back in a manner such that it opposes the applied input voltage that generated this output in the first place. When in such a configuration, the amplification factor of the OPAMP become close to 1 and hence the Output Voltage perfectly “follows” the input Voltage irrespective of the output load conditions (this circuitry is also known as a voltage follower). </p>
<p>The Voltage Buffer is a circuit comprising of an OPAMP in a unity negative feedback configuration. This has something to do with the output voltage of the OPAMP being fed-back in a manner such that it opposes the applied input voltage that generated this output in the first place. When in such a configuration, the amplification factor of the OPAMP become close to 1 and hence the Output Voltage perfectly “follows” the input Voltage irrespective of the output load conditions (this circuitry is also known as a voltage follower). </p>
-
<Ideally speaking, a voltage source is “supposed to” supply a constant voltage irrespective of the current drawn out of it / other downstream activity. Practically this never happens and “Voltage dips” are a common phenomenon. In order to make the voltage applied at the WE insensitive to the downstream cell activity, a buffer stage has been placed in between the Voltage adder/summer and the actual WE. Similarly, the Voltage sensed by the Reference Electrode is first passed through a buffer such that irrespective of downstream circuit activity, V re being fed into the summer is always maintained at the correctly sensed value. The term voltage “buffer” has been coined as the OPAMP output Voltage now resists any changes or disturbances caused and rather tries to remain fixed at whatever Input Voltage is applied.</p>
+
<br>
 +
<Ideally speaking, a voltage source is “supposed to” supply a constant voltage irrespective of the current drawn out of it / other downstream activity. Practically this never happens and “voltage dips” are a common phenomenon. In order to make the voltage applied at the WE insensitive to the downstream cell activity, a buffer stage has been placed in between the voltage adder/summer and the actual WE. Similarly, the Voltage sensed by the Reference Electrode is first passed through a buffer such that irrespective of downstream circuit activity, V re being fed into the summer is always maintained at the correctly sensed value. The term voltage “buffer” has been coined as the OPAMP output voltage now resists any changes or disturbances caused and rather tries to remain fixed at whatever Input Voltage is applied.</p>
 +
<br>
-
FIG 6
 
<figure>
<figure>
<img src="https://static.igem.org/mediawiki/2014/8/85/Delft_Fig_6.png" width="30%" width="30%" >
<img src="https://static.igem.org/mediawiki/2014/8/85/Delft_Fig_6.png" width="30%" width="30%" >
 +
<br>
</figure>
</figure>
 +
<br>
<figure>
<figure>
<img src="https://static.igem.org/mediawiki/2014/6/69/Delft_Fig_7.png" width="40%" width="40%" >
<img src="https://static.igem.org/mediawiki/2014/6/69/Delft_Fig_7.png" width="40%" width="40%" >
<figcaption>
<figcaption>
<br>
<br>
-
Figure 8: Usage of Voltage Buffers 1 & 2
+
Figure 9: Usage of Voltage Buffers 1 & 2
</figcaption>
</figcaption>
</figure>
</figure>
 +
<br>
-
FIG 7
 
<p>Once the electrons are pushed into the counter electrode, the current generated is to be sensed. Since the myRIO /myDAQ require voltages to work with, the current is passed through a Current – to – Voltage convertor to obtain a voltage calibrated wrt the sensed current. Based on the range of the current to be sensed, the value of a certain precision Resistance is to be altered suitably. This has been discussed explicitly in the next section.</p>
<p>Once the electrons are pushed into the counter electrode, the current generated is to be sensed. Since the myRIO /myDAQ require voltages to work with, the current is passed through a Current – to – Voltage convertor to obtain a voltage calibrated wrt the sensed current. Based on the range of the current to be sensed, the value of a certain precision Resistance is to be altered suitably. This has been discussed explicitly in the next section.</p>
 +
<br>
 +
<p>The circuitry discussed till now belongs completely to the domain of analog electronics. In order to store the sensed data onto a computer, the information has to be “digitized”. This is done with the help of an analog to digital converter (A to D). Similarly when random waveforms are produced on a PC, a digital version is initially created. Only when this digital data is passed through a digital to analog converter (D to A) does one obtain the actual waveform suitable for exciting the W.E. The common job of a D to A and A to D converter can be accomplished either by the DAQ or myRIO. Moreover, as these devices readily interface with a PC, real-time measurement data can be easily relayed to the PC screen.</p>
 +
<br>
-
<p>The circuitry discussed till now belongs completely to the domain of analog electronics. In order to store the sensed data onto a computer, the information has to be “digitized”. This is done with the help of an Analog to Digital converter (A to D). Similarly when random waveforms are produced on a PC, a digital version is initially created. Only when this digital data is passed through a Digital to Analog convertor (D to A) does one obtain the actual waveform suitable for exciting the W.E. The common job of a D to A and A to D convertor can be accomplished either by the DAQ or myRIO. Moreover, as these devices readily interface with a PC, real-time measurement data can be easily relayed to the PC screen.</p>
 
-
 
-
FIG 8
 
<figure>
<figure>
Line 184: Line 227:
<figcaption>
<figcaption>
<br>
<br>
-
Figure 9: Digital and Analog Domains
+
Figure 10: Digital and Analog Domains
</figcaption>
</figcaption>
</figure>
</figure>
 +
<br>
 +
<p>A modular overview of the associated circuitry has been presented until now. The next section deals with the detailed analysis and functioning of the implemented circuitry. Before continuing, it is advised that the reader is familiar with the basic working of electrical /electronic circuits and especially OPAMPS. He /she must be familiar with basic principles namely Ohm's law, Kirchhoff’s laws, Norton – Thevnin equivalence etc. Before the next section begins, the same daunting schematic has been presented again but now with the different modules demarcated. It should feel easier to digest at this stage.</p>
 +
<br>
-
<p>A modular overview of the associated circuitry has been presented until now. The next section deals with the detailed analysis and functioning of the implemented circuitry. Before continuing, it is advised that the reader is familiar with the basic working of electrical /electronic circuits and especially OPAMPS. He /she must be familiar with basic principles namely Ohms’ law, Kirchhoff’s laws, Norton – Thevnin equivalence etc. Before the next section begins, the same daunting schematic has been presented again but now with the different modules demarcated. It should feel easier to digest at this stage.</p>
 
-
 
-
FIG 9
 
<figure>
<figure>
Line 198: Line 241:
<figcaption>
<figcaption>
<br>
<br>
-
Figure 10: Schematic with demarcated modules
+
Figure 11: Schematic with demarcated modules
</figcaption>
</figcaption>
</figure>
</figure>
<br>
<br>
-
<h3>Detailed Circuit Analysis</h3>
 
-
<p>Once the overall understanding of the system is achieved, the detailed working of the hardware can now be investigated. Operational Amplifiers (OPAMPs) form ‘the most’ important component of the designed circuitry as it is the only active element. Ideal OPAMPS are amplifiers with an amplification factor A = infinity. Also, the input resistance of the amplifier is ideally infinite and is depicted in the figure below as Rin. Rout is finite and hence a finite current can flow through it .There are two input terminals of the OPAMP – the positive and negative terminals.</p>
+
<h4>Detailed Circuit Analysis</h4>
-
FIG 10
+
 
 +
<p>Once the overall understanding of the system is achieved, the detailed working of the hardware can now be investigated. Operational Amplifiers (OPAMPs) form the most important component of the designed circuitry as it is the only active element. Ideal OPAMPS are amplifiers with an amplification factor A = infinity. Also, the input resistance of the amplifier is ideally infinite and is depicted in the figure below (fig 12) as Rin. Rout is finite and hence a finite current can flow through it .There are two input terminals of the OPAMP – the positive and negative terminals.</p>
 +
 
 +
<br>
 +
<br>
<figure>
<figure>
<img src="https://static.igem.org/mediawiki/2014/a/ad/Delft_Fig_10%2611.PNG" width="50%" width="50%" >
<img src="https://static.igem.org/mediawiki/2014/a/ad/Delft_Fig_10%2611.PNG" width="50%" width="50%" >
<figcaption>
<figcaption>
<br>
<br>
-
Figure 10: An Operational Amplifier (OPAMP)
+
Figure 12: An Operational Amplifier (OPAMP)
</figcaption>
</figcaption>
</figure>
</figure>
 +
<br>
-
FIG 11
 
-
 
-
<p>The OPAMP in principal is supposed to ideally amplify the difference in voltage between the two, which is called the differential input voltage. The terminals in the figure are as follows:</p>
 
 +
<p>The OPAMP in principal is supposed to ideally amplify the difference in voltage between the two, which is called the differential input voltage. The terminals in figure 12 are as follows:</p>
 +
<br>
<ul style="list-style-type:disc">
<ul style="list-style-type:disc">
   <li>V+ → Non inverting (Positive) input terminal</li>
   <li>V+ → Non inverting (Positive) input terminal</li>
Line 230: Line 276:
   <li>A – Amplification factor of the OPAMP</li>
   <li>A – Amplification factor of the OPAMP</li>
</ul>
</ul>
-
 
+
<br>
<p>Practical OPAMPs have finite but high gains and input resistances of the order of 10^6. The relationship between the Input and Output Voltages in an open loop setting is Vout = A( V+ – V-).  Such massive gains are achieved by cascading various amplifiers with low gains in series with one another. These devices are capable of power amplification and termed active devices as they need an external power source to operate ( Vs+ and Vs-). The external power is required to bias the individual transistors that make up the OPAMP thereby preserving the law of conservation of energy.</p>
<p>Practical OPAMPs have finite but high gains and input resistances of the order of 10^6. The relationship between the Input and Output Voltages in an open loop setting is Vout = A( V+ – V-).  Such massive gains are achieved by cascading various amplifiers with low gains in series with one another. These devices are capable of power amplification and termed active devices as they need an external power source to operate ( Vs+ and Vs-). The external power is required to bias the individual transistors that make up the OPAMP thereby preserving the law of conservation of energy.</p>
-
 
+
<br>
<br>
<br>
-
<h3>Voltage Buffer/ Follower </h3>
+
<h5>Voltage Buffer/ Follower </h5>
<p>A voltage buffer as mentioned before is used to regulate the output voltage around a certain fixed value, irrespective of the current drawn/ load attached => (Value of downstream resistance RL). Hence the most appropriate device for such a situation is the OPAMP in an unity negative feedback configuration. This is as illustrated below:</p>
<p>A voltage buffer as mentioned before is used to regulate the output voltage around a certain fixed value, irrespective of the current drawn/ load attached => (Value of downstream resistance RL). Hence the most appropriate device for such a situation is the OPAMP in an unity negative feedback configuration. This is as illustrated below:</p>
-
FIG 12
+
<br>
<figure>
<figure>
Line 245: Line 291:
<figcaption>
<figcaption>
<br>
<br>
-
Figure 11: OPAMP in negative feedback
+
Figure 13: OPAMP in negative feedback
</figcaption>
</figcaption>
</figure>
</figure>
 +
<br>
-
<p>From the above figure it is clear that the entire Output voltage Vo is ‘fed back’ into the ‘negative’ input terminal. Consequently, the term “Negative Feedback” is utilized to describe such an interconnection. In such a configuration, the Output Voltage Vo perfectly follows the input Voltage fed into the Vi + terminal irrespective of any downstream activity. Unity refers to the situation of 100% Output voltage being fed back.</p>
+
<p>From the above figure 13 it is clear that the entire Output voltage Vo is ‘fed back’ into the ‘negative’ input terminal. Consequently, the term “Negative Feedback” is utilized to describe such an interconnection. In such a configuration, the Output Voltage Vo perfectly follows the input Voltage fed into the Vi + terminal irrespective of any downstream activity. Unity refers to the situation of 100% Output voltage being fed back.</p>
 +
<br>
<p>The relationship for negative feedback is:  
<p>The relationship for negative feedback is:  
Line 256: Line 304:
</p>
</p>
 +
<br>
<p>Two voltage buffers have been used in the circuit at strategic locations where downstream activity may potentially alter the line voltage and are expected to improve the overall performance.</p>
<p>Two voltage buffers have been used in the circuit at strategic locations where downstream activity may potentially alter the line voltage and are expected to improve the overall performance.</p>
-
 
<br>
<br>
-
<h3>Voltage Summer & Polarity Invertor </h3>
 
-
FIG 13
+
<h5>Voltage Summer & Polarity Inverter </h5>
 +
 
<img src="https://static.igem.org/mediawiki/2014/3/31/Delft_Fig_13.png" width="40%" width="40%" >
<img src="https://static.igem.org/mediawiki/2014/3/31/Delft_Fig_13.png" width="40%" width="40%" >
<figcaption>
<figcaption>
<br>
<br>
-
Figure 12: A two port summer
+
Figure 14: A two port summer
</figcaption>
</figcaption>
</figure>
</figure>
 +
<br>
-
<p>This device is required to maintain the WE voltage at a specified voltage with respect to the RE Voltage. This also consists of an OPAMP in a modified negative feedback configuration in order to generate the virtual ground and thereby converting all incoming voltages (V1, V2) into currents corresponding to the resistance used (R). The added current is now forced to pass through the resistor in the feedback loop to generate back the entire summed Voltage V1 + V2. The current is pushed into the feedback resistance (Note: also R) due to the existence of infinite input resistance between the two input terminals. Hence the current would prefer to flow through a path providing lesser hindrance. </p>
+
<p>This device is required to maintain the WE voltage at a specified voltage with respect to the RE voltage. This also consists of an OPAMP in a modified negative feedback configuration in order to generate the virtual ground and thereby converting all incoming voltages (V1, V2) into currents corresponding to the resistance used (R). The added current is now forced to pass through the resistor in the feedback loop to generate back the entire summed voltage V1 + V2. The current is pushed into the feedback resistance (Note: also R) due to the existence of infinite input resistance between the two input terminals. Hence the current would prefer to flow through a path providing lesser hindrance. </p>
 +
<br>
<p>Vo = V1 + V2.
<p>Vo = V1 + V2.
Line 280: Line 330:
Note that the inverted sum is produced at the output.
Note that the inverted sum is produced at the output.
</p>
</p>
 +
<br>
-
FIG 14
 
<img src="https://static.igem.org/mediawiki/2014/9/95/Delft_Fig_14.png" width="40%" width="40%" >
<img src="https://static.igem.org/mediawiki/2014/9/95/Delft_Fig_14.png" width="40%" width="40%" >
<figcaption>
<figcaption>
<br>
<br>
-
Figure 13: Polarity Invertor
+
Figure 15: Polarity Inverter
</figcaption>
</figcaption>
</figure>
</figure>
 +
<br>
-
</p>The above figure shows the configuration of a polarity invertor. The Voltage fed in Vin gets inverted to –Vin at the output. Vout exactly equals –Vin if Rf and Rin are equal in magnitude. With a different ratio of Rf:Rin , the amplification factor of the OPAMP can be made to assume values other than 1. The derivation is quite simple and analogous to the previous case. It is this invertor which is placed after the summer and before Buffer 2 for correct circuit operation. In the block diagrams this unit is represented as an integral part of the Voltage Adder.</p>
+
<p>The above figure (fig 15) shows the configuration of a polarity inverter. The Voltage fed in Vin gets inverted to –Vin at the output. Vout exactly equals –Vin if Rf and Rin are equal in magnitude. With a different ratio of Rf:Rin , the amplification factor of the OPAMP can be made to assume values other than 1. The derivation is quite simple and analogous to the previous case. It is this inverter which is placed after the summer and before Buffer 2 for correct circuit operation. In the block diagrams this unit is represented as an integral part of the Voltage Adder.</p>
-
 
+
<br>
<br>
-
<h3>Current to Voltage Convertor </h3>
 
-
FIG 15
+
<h5>Current to Voltage Converter </h5>
 +
 
<img src="https://static.igem.org/mediawiki/2014/b/b1/Delft_Fig_15.png" width="35%" width="35%" >
<img src="https://static.igem.org/mediawiki/2014/b/b1/Delft_Fig_15.png" width="35%" width="35%" >
<figcaption>
<figcaption>
<br>
<br>
-
Figure 14: Current to Voltage Converter
+
Figure 16: Current to Voltage Converter
</figcaption>
</figcaption>
</figure>
</figure>
-
 
+
<br>
-
<p>The incoming current from the Counter electrode Iin needs to be converted into a corresponding voltage which can be sensed by the D to A convertor. This measured voltage is proportional to the current being sensed. By varying a precision Resistance placed in the feedback loop R, the range of the current to be sensed can be adjusted. As evident from the figure this is also a case of negative feedback where the current pushed into the feedback loop gets converted into the inverted voltage.</p>
+
<p>The incoming current from the Counter electrode Iin needs to be converted into a corresponding voltage which can be sensed by the D to A converter. This measured voltage is proportional to the current being sensed. By varying a precision resistance placed in the feedback loop R, the range of the current to be sensed can be adjusted. As evident from the figure (fig 16) this is also a case of negative feedback where the current pushed into the feedback loop gets converted into the inverted voltage.</p>
 +
<br>
<p>Vout = Iin x Rf. Vout can be made to drive an auxiliary load Rl. This is not the case in our situation!</p>
<p>Vout = Iin x Rf. Vout can be made to drive an auxiliary load Rl. This is not the case in our situation!</p>
 +
<br>
 +
<a name="Software"></a>
<h3>Practical Implementation / Software </h3>
<h3>Practical Implementation / Software </h3>
-
<p>Once the signals have been digitized, the acquired signals must be charted on some kind of graph in the Signal (Voltage / Current) vs Time format. It is intended that this graph will get updated in real time as increasing no of samples are acquired. In order to achieve this, the associated software - LabView needs to be programmed accordingly. </p>
+
<p>Once the signals have been digitized, the acquired signals must be charted on some kind of graph in the signal (voltage / current) vs time format. It is intended that this graph will get updated in real time as increasing no of samples are acquired. In order to achieve this, the associated software - LabView needs to be programmed accordingly. </p>
-
<p>In general, any general purpose computation & Data Acquisition software like Matlab, Maple etc can be interfaced with the DaQ provided the associated toolboxes are present. If required the software can be coded on C / C++ such that a “*.exe” is created, which is a standalone program and needs no third party software to run. As the myDaQ is a National Instruments product and so is LabView , the interfacing between the two has already been accomplished to a certain degree.</p>
+
<br>
 +
<p>In general, any general purpose computation & Data Acquisition software like Matlab, Maple etc. can be interfaced with the DaQ provided the associated toolboxes are present. If required the software can be coded on C / C++ such that a “*.exe” is created, which is a standalone program and needs no third party software to run. As the myDaQ is a National Instruments product and so is LabView , the interfacing between the two has already been accomplished to a certain degree.</p>
-
<p>LabView provides an advantage over other conventional script based programming software like C etc as it works on Graphical Code (G Code). One simply needs to have the logic ready in his/her mind, which can be easily implemented by dragging and droping various functional blocks and interconnecting them via “wires”. These “wires” exhibits the signal flow within the digital domain in a software setting. This corresponding graphical code for this application has been represented in the figure below:</p>
+
<br>
 +
<p>LabView provides an advantage over other conventional script based programming software like C etc. as it works on Graphical Code (G Code). One simply needs to have the logic ready in his/her mind, which can be easily implemented by dragging and dropping various functional blocks and interconnecting them via “wires”. These “wires” exhibits the signal flow within the digital domain in a software setting. This corresponding graphical code for this application has been represented in the figure below (fig 17):</p>
 +
 
 +
<br>
-
FIG 16
 
<img src="https://static.igem.org/mediawiki/2014/0/06/Fig_16.png" width="80%" width="80%" >
<img src="https://static.igem.org/mediawiki/2014/0/06/Fig_16.png" width="80%" width="80%" >
<figcaption>
<figcaption>
<br>
<br>
-
Figure 15: Potentiostat Software Block Diagram
+
Figure 17: Potentiostat Software Block Diagram
</figcaption>
</figcaption>
</figure>
</figure>
 +
<br>
-
<p>The above wiring diagram is equivalent to the software code one writes using scripts but the advantage here is that the logic flow can be graphically seen and error can be easily troubleshooted. The DAQ Assistants boxes are the functional blocks which enables interfacing with the analog domain. The “DAQ Assistant” block is responsible for converting the digitized version of the WE Voltage to an actual analog signal ( step / triangular) which is fit for excitation. </p>
+
<p>The above wiring diagram is equivalent to the software code one writes using scripts but the advantage here is that the logic flow can be graphically seen and error can be easily trouble-shooted. The DAQ Assistants boxes are the functional blocks which enables interfacing with the analog domain. The “DAQ Assistant” block is responsible for converting the digitized version of the WE Voltage to an actual analog signal ( step / triangular) which is fit for excitation. </p>
 +
<br>
<p>Likewise the block “DAQ Assistant2” plays the crucial role of receiving the analog domain signals (like the sensed CE current) and converting them into a digitized version for use on the PC. The code embedded within these blocks has been supplied by NI. The charts are used for plotting the information in real time as the data vectors grow with time. The LabView interface consists of two main windows. One is the Block Diagram where the G code is implemented. The other is known as the “front panel” and is used to simulate the front panel of an actual instrument (in this case the Potentiostat). This is the window where the charts actually plot the values and one can read them off directly! This is shown as follows:</p>
<p>Likewise the block “DAQ Assistant2” plays the crucial role of receiving the analog domain signals (like the sensed CE current) and converting them into a digitized version for use on the PC. The code embedded within these blocks has been supplied by NI. The charts are used for plotting the information in real time as the data vectors grow with time. The LabView interface consists of two main windows. One is the Block Diagram where the G code is implemented. The other is known as the “front panel” and is used to simulate the front panel of an actual instrument (in this case the Potentiostat). This is the window where the charts actually plot the values and one can read them off directly! This is shown as follows:</p>
 +
<br>
-
FIG 17
 
<img src="https://static.igem.org/mediawiki/2014/2/23/Delft_Fig_17.png" width="100%" width="100%" >
<img src="https://static.igem.org/mediawiki/2014/2/23/Delft_Fig_17.png" width="100%" width="100%" >
<figcaption>
<figcaption>
<br>
<br>
-
Figure 16: Front Panel
+
Figure 18: Front Panel
</figcaption>
</figcaption>
</figure>
</figure>
 +
<br>
-
<p>As mentioned earlier, the front panel plays an essential role. It forms the interface between the user and the device which has been presented here. Two different kinds of excitation signals are possible – Either a step DC Voltage or a triangular waveform for Cyclic Voltametry. The value of the DC Step can be adjusted via the knob. Other waveform settings for the cyclic voltammetry mode like signal phase, amplitude and frequency can also be adjusted via suitable input options on the left.</p>
+
<p>As mentioned earlier, the front panel plays an essential role. It forms the interface between the user and the device which has been presented here. Two different kinds of excitation signals are possible – Either a step DC voltage or a triangular waveform for cyclic voltammetry. The value of the DC Step can be adjusted via the knob. Other waveform settings for the cyclic voltammetry mode like signal phase, amplitude and frequency can also be adjusted via suitable input options on the left.</p>
 +
<br>
-
<p>The various charts show the different signals being applied and sensed. This image was captured when an ongoing test with a dummy cell was being performed. Crucial settings such as Sampling Rate and no of Samples (Buffer size) should be carefully adjusted. The sampling rate must be chosen in accordance with Shannon’s Theorem. Or else the signal being sensed / generated would not be accurate due to probable aliasing issues. <p>
+
<p>The various charts show the different signals being applied and sensed. This image was captured when an ongoing test with a dummy cell was being performed. Crucial settings such as sampling rate and no of samples (Buffer size) should be carefully adjusted. The sampling rate must be chosen in accordance with Shannon’s Theorem. Or else the signal being sensed / generated would not be accurate due to probable aliasing issues. <p>
<br>
<br>
-
<h3>Specifications</h3>
+
<p>The program can be downloaded :
 +
<a href="https://2014.igem.org/File:Delft_Potentiostat.zip">here </a></p>
 +
<h3>Testing & Validation</h3>
 +
<br>
 +
<p>An AutoLab Eco Chemie Dummy Cell 2 was used to validate and further tune the designed potentiostat. A dummy cell is a device which can replicate the dynamics of electro-analytical cells and is made using passive electrical components like resistors and capacitors in certain configurations. With the dummy cell the expected current at the CE (Counter Electrode) can be pre-calculated based on the applied input voltage at the WE (Working Electrode).</p>
 +
<br>
 +
 
 +
<img src="https://static.igem.org/mediawiki/2014/5/51/Delft_WP_20141017_001.jpg" width="60%" width="60%" >
 +
<figcaption>
 +
<br>
 +
Figure 19: Autolab Dummy Cell 2
 +
</figcaption>
 +
</figure>
 +
<br>
 +
 
 +
 
 +
<p>With this data in hand, the WE terminal of the dummy cell was excited with a voltage of 0.5V .The RE (Reference Electrode) terminal of the dummy is at system ground (0 V) and hence whatever voltage is applied via the DAQ, the exact same amount gets physically applied at the WE. The dummy cell has various modes which replicate different scenarios and can be seen clearly from figure above (Fig 19). </p>
 +
<br>
 +
 
 +
 
 +
<p>For our validation purpose it was connected using mode (e) where a 10k-ohm resistance is between the WE and the RE/CE. Hence the current at the CE is expected to be 0.5V / 10000 ohm = 50 μA upon application of 1V at the WE. When the device is connected the measured signal must have a deterministic mean of around 50 μA with a stochastic spread on either side (possibly with a low covariance). The experiment was carried on for 100 seconds at the sampling rate of 2Hz. Hence 200 data points were collected .and the results were as follows (fig 20) :</p>
 +
<br>
 +
 
 +
<img src="https://static.igem.org/mediawiki/2014/2/28/Delft_Untitled.png" width="75%" width="75%" >
 +
<figcaption>
 +
<br>
 +
Figure 20: Results with Dummy cell
 +
</figcaption>
 +
</figure>
 +
<br>
 +
 
 +
 
 +
<p>These results confirm that the potentiostat is performing as anticipated. Henceforth this device can be used in conjunction with the bio reactor / MF device to characterize bio bricks or perform other electrochemical experiments. In the future, if current values to be probed are in the nano-amperes level, the ambient noise would be significant and hence can corrupt the data. To circumvent this problem a low pass filter can be used  before feeding the data to the plotter. This would filter out the unwanted high frequency noise and therefore make the plots smoother. Another alternative is to performing averaging by choosing a Hanning Window of appropriate width. Although it performs smoothing, it comes at the cost of probable loss of system dynamics. Therefore the window width should not be too large and one must arrive at a reasonable trade off.</p>
 +
<br>
 +
 
 +
 
 +
<h4>Specifications</h4>
<ul style="list-style-type:disc">
<ul style="list-style-type:disc">
   <li>Sensitivity range - >20 micro amps</li>
   <li>Sensitivity range - >20 micro amps</li>
Line 359: Line 455:
<br>
<br>
-
<h3>Timeline - Photos , Videos and Disasters </h3>
 
-
IMAGES!!
+
<h4>Timeline - Photos , Videos and Disasters </h4>
 +
 
 +
 
 +
<img src="https://static.igem.org/mediawiki/2014/7/76/Delft_img1.jpg" width="80%" width="80%" >
 +
<figcaption>
 +
<br>
 +
Still a concept. Just back from the hardware store.
 +
</figcaption>
 +
</figure>
 +
 
 +
<br><br>
 +
 
 +
<img src="https://static.igem.org/mediawiki/2014/f/f4/Delft_img2.jpg" width="80%" width="80%" >
 +
<figcaption>
 +
<br>
 +
Building the modules bit by bit
 +
</figcaption>
 +
</figure>
 +
 
 +
<br><br>
 +
 
 +
<img src="https://static.igem.org/mediawiki/2014/e/e1/Delft_img3.jpg" width="80%" width="80%" >
 +
<figcaption>
 +
<br>
 +
Modules being tested as they are assembled
 +
</figcaption>
 +
</figure>
 +
 
 +
<br><br>
 +
 
 +
<img src="https://static.igem.org/mediawiki/2014/2/2f/Delft_img4.jpg" width="80%" width="80%" >
 +
<figcaption>
 +
<br>
 +
Sim is delighted. Important modules work individually
 +
</figcaption>
 +
</figure>
 +
 
 +
<br><br>
 +
 
 +
<img src="https://static.igem.org/mediawiki/2014/8/87/Delft_img5.jpg" width="80%" width="80%" >
 +
<figcaption>
 +
<br>
 +
Testing with a dummy cell. Results not according to expectation. Wiring ERROR somewhere‼
 +
</figcaption>
 +
</figure>
 +
 
 +
<br><br>
 +
 
 +
<img src="https://static.igem.org/mediawiki/2014/a/a8/Delft_img6.jpg" width="80%" width="80%" >
 +
<figcaption>
 +
<br>
 +
The Close-up 
 +
</figcaption>
 +
</figure>
 +
 
 +
<br><br>
 +
 
 +
<img src="https://static.igem.org/mediawiki/2014/9/9e/Delft_img7.jpg" width="80%" width="80%" >
 +
<figcaption>
 +
<br>
 +
DISASTER has struck. Potentiostat in the making falls on the ground ( Courtesy : Debu).
 +
</figcaption>
 +
</figure>
 +
 
 +
<br><br>
 +
 
 +
<img src="https://static.igem.org/mediawiki/2014/e/eb/Delft_img8.jpg" width="80%" width="80%" >
 +
<figcaption>
 +
<br>
 +
We don’t give up do we? Sim rebuilding from scratch. Now the components are more efficiently placed to minimize wiring length. This reduces confusion if the wiring has to be altered.
 +
</figcaption>
 +
</figure>
 +
 
 +
<br><br>
 +
 
 +
<img src="https://static.igem.org/mediawiki/2014/d/da/Delft_img9.jpg" width="80%" width="80%" >
 +
<figcaption>
 +
<br>
 +
Performing Voltammetry tests with KCL. Testing is done with a multimeter at this stage. Software environment is not yet ready.
 +
</figcaption>
 +
</figure>
 +
 
 +
<br><br>
 +
 
 +
<img src="https://static.igem.org/mediawiki/2014/1/18/Delft_img10.jpg" width="80%" width="80%" >
 +
<figcaption>
 +
<br>
 +
Finalized system being tested using a Dummy Cell. Software environment confirmed as LabView. Data can now be measured in real-time. Graphs on the screen display the measured current and other variables.
 +
</figcaption>
 +
</figure>
 +
 
 +
<br><br>
 +
<h3>References</h3>
 +
 
 +
<p>[1] An Inexpensive Field-Portable Programmable Potentiostat - Ashwini Vittal Gopinath and Dale Russell. The Chemical Educator ISSN: 1430-4171 </p>
 +
<p>[2] Image source - http://www.mep.net.au/teachingresearch/MEP_TEACHINGRESEARCH_04.html</p>
 +
<p>[3] NPTEL - Analog Electronics - The Indian Institute of Technology Madras (IIT Madras , Chennai ,India)
 +
 
 +
 
</div>
</div>

Latest revision as of 16:59, 17 October 2014


Gadget

The electrical output mechanism for microbial biosensors we have developed needs a gadget to turn the measured signal (current) into data. A general design for such a gadget is given in Gadget Overview Although a lot easier than a fluorescence microscope, this still involves quite some circuitry, all of which is explained here in the section Potentiostat.

Overview

The goal of synthetic biology is to turn biology from a science into a technology. In order to do this, it needs to be brought out of the lab to fulfil its full potential. A product designed around the Electrace whole-cell biosensor would allow for real world application, outside of the confines of the lab.



Figure 1: Overview of the product/service system envisioned for Electrace

A concept which allowed for the meeting of the digital and biological worlds was imagined, with the Electrace cell at the heart. Electrace creates a modular system where biosensor "plug-ins" in the form of biobricks can be designed by "wetware developers". This would allow the electrical output of Electrace to be used with a range of different inputs - for example the DNT detection seen elsewhere in our project. Since each biosensor would have its own set of requirements for data processing, software developers would create matching plug-ns for a digital Electrace platform. Via a web-based app then, the user would select the appropriate combination of software for the analyte in question. A wifi enabled potentiostat measures the electrical output of the given Electrace bio-sensor, which then sends this data to the mobile app for processing and display.



Figure 2: Visualisation of the functional domains involved in the gadget.

Potentiostat

In the ET module, electrons are anticipated to be shuttled to the extracellular environment if the induced pathway works according to expectation. The intention of the aforementioned device is to accurately measure and quantify the electrons being transferred to a certain degree of tolerance. The task can be accomplished by a commercial Potentiostat but is economically non-viable due to its outrageous price tag (>$2000). Hence an attempt has been made towards developing a comparable device from scratch using indigenous resources.


The primary electronic circuits that form the measuring device are composed of standardized components (Op-Amp etc.) and are therefore available in any general purpose electronic hardware store. As an interfacing device between the analog and the digital domains, a National Instruments (NI) myDaQ is used. In turn the myDaQ can be interfaced with a PC through the USB in order to store this data. This can then be compared with the prediction of the system model, whose quality can then be judged. Also, input-output data can be used to fit models with a predefined model structure, thereby aiding one in obtaining the values of the crucial reaction rates. Hence it is desirable that the measuring device is accurate and precise. potentiostats which are readily available are expensive as they utilize specialized precision electronics in order to maintain high accuracy of the readings. This device will not be extremely accurate but is expected to perform satisfactorily.


Working Principle and Construction

The potentiostat is the hardware required to control a 3 electrode system used for the analysis of electrochemical experiments. As mentioned, the system consists of three separate electrodes namely the Working Electrode (WE), Reference Electrode (RE) and the Counter electrode (CE). The generalized cell configuration of such a system has been illustrated below. Operational amplifiers in various negative feedback configurations are employed to replicate the functioning of a potentiostat. This has been demonstrated in subsequent sections.



Figure 3: The DropSens potentiostat with the screen printed electrodes

Figure 4: Three electrode cell configuration

In this case both the working and the counter electrodes are made out of smooth machined carbon. The RE is analogous to system ground i.e. all other voltages applied or measured at the working / counter electrodes are with respect to the voltage here. Consequently the term “Reference” has been adopted. This component usually consists of an Ag/AgCl or Pt/PtCl electrode. In principle, any metal which tends to be chemically inert and is therefore capable of maintaining a stable and fluctuation free voltage can be used for this purpose.


A varying potential is applied to the WE with respect to the RE and hence the electrons which are ferried out into the sample by the E. coli resumes motion under the effect of the applied electromotive force. The Counter Electrode can now detect the generated current and relay the information to the PC via the DaQ.


The general design of the electrolytic cell along with the 3 electrodes has been discussed in fair detail until now. In the next segment, the problem of electronic circuit design and its interfacing with the computer is tackled in a methodical manner.


Primary Circuit Design and Interfacing

As previously mentioned, the associated circuitry consists of both digital and analogue parts which are required to effectively transmit the measured data to a PC. Hence the myDaQ / myRIO will be used in conjunction with the designed analog circuitry. The DaQ already possesses inbuilt A/D (Analog to Digital) and D/A (Digital to Analog) converters so one needs to merely connect the wires from the analog domain into suitable ports of the device.



Figure 5: Schematic of Potentiostat

The schematic above illustrates the circuitry which has been adopted for this purpose. It consists of various OPAMPS intelligently connected in different negative and positive feedback configurations such that the desired functions are fulfilled. The entire network might seem daunting at first sight, but it actually is quite simple and elegant when evaluated using a modular approach. The hardware can be segregated into various modules namely:


  • Voltage Adder (Summing Device)
  • Polarity Inverter
  • Voltage Buffers ( Load independent Voltage Regulators)
  • Cell Components ( WE, RE and CE)
  • myDaQ / myRIO – Analog to Digital ( A / D) and Digital to Analog (D / A) converters. Interfacing with PC (USB & Lab-View)


The following figure (Fig 6)shows these in the form of a block diagram



Figure 6: Block Diagram of Circuitry

The core idea of a Potentiostat is to excite the Working Electrode with an external voltage in order to generate the electromotive Force capable of ‘pushing’ the transported electrons into the counter electrode. Consequently, the presence of the voltage “generator” is crucial and the computer aids directly in the process. Due to the availability of software like LabView any waveform can be generated. Frequently a periodic waveform is used to excite the system for e.g in order to assess the inherent system hysteresis (non-linear behavior). Refer Gopinath and Russel et al for more details.


The Voltage which is to be applied to the WE is generated via the myDAQ/ myRIO itself. These devices often possess the capability to simultaneously detect as well as produce signals .Hence the DaQ has been programmed such that both triangular and constant voltage waveforms are generated. The frequency, amplitude and the phase of the waveforms can be adjusted by altering a few variables in the associated software code. More discussion on this matter is presented later.


It is to be noted that any excitation voltages applied to the Working Electrode is always with respect to (wrt) the Reference. For example, if a potential difference of 5V DC wrt to the RE is required, merely generating a 5V DC from the battery and feeding it into the WE will not suffice! If the Reference Electrode senses a voltage of 1V DC, then it is essential that a voltage of 5V + 1V = 6V is totally applied to the WE. Only then does the condition of 5V with respect to the RE become valid. If this concept is well grasped, then the necessity of the Voltage “Adder” becomes obvious.


One needs to take note that the voltage adders which are implementable using OPAMPs produce an inverted sum. That is, instead of producing 6 Volts it produces -6V. In electrochemical applications, the polarity of the signal being applied plays a significant role in system behavior. Consequently it is necessary that the summer produces the signal with the correct sign. To facilitate this property a polarity “inverter” is cascaded with the summer (This device reverses the sign of the input voltage fed to it). In the block diagrams above/below, the polarity inverter is embedded in the voltage adder and is considered to be it’s integral part.



Figure 7: Illustration of polarity inverter cascaded with the summer.


Figure 8: Voltage adder used for summing the 2 Voltages

The Voltage Buffer is a circuit comprising of an OPAMP in a unity negative feedback configuration. This has something to do with the output voltage of the OPAMP being fed-back in a manner such that it opposes the applied input voltage that generated this output in the first place. When in such a configuration, the amplification factor of the OPAMP become close to 1 and hence the Output Voltage perfectly “follows” the input Voltage irrespective of the output load conditions (this circuitry is also known as a voltage follower).






Figure 9: Usage of Voltage Buffers 1 & 2

Once the electrons are pushed into the counter electrode, the current generated is to be sensed. Since the myRIO /myDAQ require voltages to work with, the current is passed through a Current – to – Voltage convertor to obtain a voltage calibrated wrt the sensed current. Based on the range of the current to be sensed, the value of a certain precision Resistance is to be altered suitably. This has been discussed explicitly in the next section.


The circuitry discussed till now belongs completely to the domain of analog electronics. In order to store the sensed data onto a computer, the information has to be “digitized”. This is done with the help of an analog to digital converter (A to D). Similarly when random waveforms are produced on a PC, a digital version is initially created. Only when this digital data is passed through a digital to analog converter (D to A) does one obtain the actual waveform suitable for exciting the W.E. The common job of a D to A and A to D converter can be accomplished either by the DAQ or myRIO. Moreover, as these devices readily interface with a PC, real-time measurement data can be easily relayed to the PC screen.



Figure 10: Digital and Analog Domains

A modular overview of the associated circuitry has been presented until now. The next section deals with the detailed analysis and functioning of the implemented circuitry. Before continuing, it is advised that the reader is familiar with the basic working of electrical /electronic circuits and especially OPAMPS. He /she must be familiar with basic principles namely Ohm's law, Kirchhoff’s laws, Norton – Thevnin equivalence etc. Before the next section begins, the same daunting schematic has been presented again but now with the different modules demarcated. It should feel easier to digest at this stage.



Figure 11: Schematic with demarcated modules

Detailed Circuit Analysis

Once the overall understanding of the system is achieved, the detailed working of the hardware can now be investigated. Operational Amplifiers (OPAMPs) form the most important component of the designed circuitry as it is the only active element. Ideal OPAMPS are amplifiers with an amplification factor A = infinity. Also, the input resistance of the amplifier is ideally infinite and is depicted in the figure below (fig 12) as Rin. Rout is finite and hence a finite current can flow through it .There are two input terminals of the OPAMP – the positive and negative terminals.




Figure 12: An Operational Amplifier (OPAMP)

The OPAMP in principal is supposed to ideally amplify the difference in voltage between the two, which is called the differential input voltage. The terminals in figure 12 are as follows:


  • V+ → Non inverting (Positive) input terminal
  • V - → Inverting (negative) input terminal
  • Vin → Net input Voltage into OPAMP = V+ - V-
  • Vs+ / Vs- → Positive and Negative Power supplies
  • Vout – Voltage output produced by OPAMP
  • Rin /Rout → Input / Output Resistances
  • A – Amplification factor of the OPAMP

Practical OPAMPs have finite but high gains and input resistances of the order of 10^6. The relationship between the Input and Output Voltages in an open loop setting is Vout = A( V+ – V-). Such massive gains are achieved by cascading various amplifiers with low gains in series with one another. These devices are capable of power amplification and termed active devices as they need an external power source to operate ( Vs+ and Vs-). The external power is required to bias the individual transistors that make up the OPAMP thereby preserving the law of conservation of energy.



Voltage Buffer/ Follower

A voltage buffer as mentioned before is used to regulate the output voltage around a certain fixed value, irrespective of the current drawn/ load attached => (Value of downstream resistance RL). Hence the most appropriate device for such a situation is the OPAMP in an unity negative feedback configuration. This is as illustrated below:



Figure 13: OPAMP in negative feedback

From the above figure 13 it is clear that the entire Output voltage Vo is ‘fed back’ into the ‘negative’ input terminal. Consequently, the term “Negative Feedback” is utilized to describe such an interconnection. In such a configuration, the Output Voltage Vo perfectly follows the input Voltage fed into the Vi + terminal irrespective of any downstream activity. Unity refers to the situation of 100% Output voltage being fed back.


The relationship for negative feedback is: Output Voltage Vo = A /(1 + A) x Vi . If A is very high (≥ 10^6), then Vo = Vi as A/(1+A) ≅ 1


Two voltage buffers have been used in the circuit at strategic locations where downstream activity may potentially alter the line voltage and are expected to improve the overall performance.


Voltage Summer & Polarity Inverter

Figure 14: A two port summer

This device is required to maintain the WE voltage at a specified voltage with respect to the RE voltage. This also consists of an OPAMP in a modified negative feedback configuration in order to generate the virtual ground and thereby converting all incoming voltages (V1, V2) into currents corresponding to the resistance used (R). The added current is now forced to pass through the resistor in the feedback loop to generate back the entire summed voltage V1 + V2. The current is pushed into the feedback resistance (Note: also R) due to the existence of infinite input resistance between the two input terminals. Hence the current would prefer to flow through a path providing lesser hindrance.


Vo = V1 + V2. Due the existence of Virtual Ground, the voltage here = 0. Hence, I1 = (V1 - 0)/R1 = V1/R. Similarly I2 = V2/R . Consequently, net current flowing through the feedback resistor = I1 + I2 . Hereafter the Voltage created at the output is: Vo = 0 – R(I1 + I2) = - (V1 + V2). Note that the inverted sum is produced at the output.



Figure 15: Polarity Inverter

The above figure (fig 15) shows the configuration of a polarity inverter. The Voltage fed in Vin gets inverted to –Vin at the output. Vout exactly equals –Vin if Rf and Rin are equal in magnitude. With a different ratio of Rf:Rin , the amplification factor of the OPAMP can be made to assume values other than 1. The derivation is quite simple and analogous to the previous case. It is this inverter which is placed after the summer and before Buffer 2 for correct circuit operation. In the block diagrams this unit is represented as an integral part of the Voltage Adder.


Current to Voltage Converter

Figure 16: Current to Voltage Converter

The incoming current from the Counter electrode Iin needs to be converted into a corresponding voltage which can be sensed by the D to A converter. This measured voltage is proportional to the current being sensed. By varying a precision resistance placed in the feedback loop R, the range of the current to be sensed can be adjusted. As evident from the figure (fig 16) this is also a case of negative feedback where the current pushed into the feedback loop gets converted into the inverted voltage.


Vout = Iin x Rf. Vout can be made to drive an auxiliary load Rl. This is not the case in our situation!


Practical Implementation / Software

Once the signals have been digitized, the acquired signals must be charted on some kind of graph in the signal (voltage / current) vs time format. It is intended that this graph will get updated in real time as increasing no of samples are acquired. In order to achieve this, the associated software - LabView needs to be programmed accordingly.


In general, any general purpose computation & Data Acquisition software like Matlab, Maple etc. can be interfaced with the DaQ provided the associated toolboxes are present. If required the software can be coded on C / C++ such that a “*.exe” is created, which is a standalone program and needs no third party software to run. As the myDaQ is a National Instruments product and so is LabView , the interfacing between the two has already been accomplished to a certain degree.


LabView provides an advantage over other conventional script based programming software like C etc. as it works on Graphical Code (G Code). One simply needs to have the logic ready in his/her mind, which can be easily implemented by dragging and dropping various functional blocks and interconnecting them via “wires”. These “wires” exhibits the signal flow within the digital domain in a software setting. This corresponding graphical code for this application has been represented in the figure below (fig 17):



Figure 17: Potentiostat Software Block Diagram

The above wiring diagram is equivalent to the software code one writes using scripts but the advantage here is that the logic flow can be graphically seen and error can be easily trouble-shooted. The DAQ Assistants boxes are the functional blocks which enables interfacing with the analog domain. The “DAQ Assistant” block is responsible for converting the digitized version of the WE Voltage to an actual analog signal ( step / triangular) which is fit for excitation.


Likewise the block “DAQ Assistant2” plays the crucial role of receiving the analog domain signals (like the sensed CE current) and converting them into a digitized version for use on the PC. The code embedded within these blocks has been supplied by NI. The charts are used for plotting the information in real time as the data vectors grow with time. The LabView interface consists of two main windows. One is the Block Diagram where the G code is implemented. The other is known as the “front panel” and is used to simulate the front panel of an actual instrument (in this case the Potentiostat). This is the window where the charts actually plot the values and one can read them off directly! This is shown as follows:



Figure 18: Front Panel

As mentioned earlier, the front panel plays an essential role. It forms the interface between the user and the device which has been presented here. Two different kinds of excitation signals are possible – Either a step DC voltage or a triangular waveform for cyclic voltammetry. The value of the DC Step can be adjusted via the knob. Other waveform settings for the cyclic voltammetry mode like signal phase, amplitude and frequency can also be adjusted via suitable input options on the left.


The various charts show the different signals being applied and sensed. This image was captured when an ongoing test with a dummy cell was being performed. Crucial settings such as sampling rate and no of samples (Buffer size) should be carefully adjusted. The sampling rate must be chosen in accordance with Shannon’s Theorem. Or else the signal being sensed / generated would not be accurate due to probable aliasing issues.


The program can be downloaded : here

Testing & Validation


An AutoLab Eco Chemie Dummy Cell 2 was used to validate and further tune the designed potentiostat. A dummy cell is a device which can replicate the dynamics of electro-analytical cells and is made using passive electrical components like resistors and capacitors in certain configurations. With the dummy cell the expected current at the CE (Counter Electrode) can be pre-calculated based on the applied input voltage at the WE (Working Electrode).



Figure 19: Autolab Dummy Cell 2

With this data in hand, the WE terminal of the dummy cell was excited with a voltage of 0.5V .The RE (Reference Electrode) terminal of the dummy is at system ground (0 V) and hence whatever voltage is applied via the DAQ, the exact same amount gets physically applied at the WE. The dummy cell has various modes which replicate different scenarios and can be seen clearly from figure above (Fig 19).


For our validation purpose it was connected using mode (e) where a 10k-ohm resistance is between the WE and the RE/CE. Hence the current at the CE is expected to be 0.5V / 10000 ohm = 50 μA upon application of 1V at the WE. When the device is connected the measured signal must have a deterministic mean of around 50 μA with a stochastic spread on either side (possibly with a low covariance). The experiment was carried on for 100 seconds at the sampling rate of 2Hz. Hence 200 data points were collected .and the results were as follows (fig 20) :



Figure 20: Results with Dummy cell

These results confirm that the potentiostat is performing as anticipated. Henceforth this device can be used in conjunction with the bio reactor / MF device to characterize bio bricks or perform other electrochemical experiments. In the future, if current values to be probed are in the nano-amperes level, the ambient noise would be significant and hence can corrupt the data. To circumvent this problem a low pass filter can be used before feeding the data to the plotter. This would filter out the unwanted high frequency noise and therefore make the plots smoother. Another alternative is to performing averaging by choosing a Hanning Window of appropriate width. Although it performs smoothing, it comes at the cost of probable loss of system dynamics. Therefore the window width should not be too large and one must arrive at a reasonable trade off.


Specifications

  • Sensitivity range - >20 micro amps
  • Excitation modes – Step and Triangular
  • Step Max Amplitude – +1 V
  • Triangular Amplitude - +/- 1V
  • Triangle Frequency Adjustable ( Analogous to Scan Rate) – (100Hz max)
  • Sampling Rate/ buffer size Adjustable – (100 KHz max)
  • Displays : Applied voltage at Working electrode - WE + RE
  • Displays : Sensed CE current & calibrated Voltage
  • Data can be saved directly onto Microsoft Excel in a vector-wise format

Timeline - Photos , Videos and Disasters


Still a concept. Just back from the hardware store.



Building the modules bit by bit



Modules being tested as they are assembled



Sim is delighted. Important modules work individually



Testing with a dummy cell. Results not according to expectation. Wiring ERROR somewhere‼



The Close-up



DISASTER has struck. Potentiostat in the making falls on the ground ( Courtesy : Debu).



We don’t give up do we? Sim rebuilding from scratch. Now the components are more efficiently placed to minimize wiring length. This reduces confusion if the wiring has to be altered.



Performing Voltammetry tests with KCL. Testing is done with a multimeter at this stage. Software environment is not yet ready.



Finalized system being tested using a Dummy Cell. Software environment confirmed as LabView. Data can now be measured in real-time. Graphs on the screen display the measured current and other variables.


References

[1] An Inexpensive Field-Portable Programmable Potentiostat - Ashwini Vittal Gopinath and Dale Russell. The Chemical Educator ISSN: 1430-4171

[2] Image source - http://www.mep.net.au/teachingresearch/MEP_TEACHINGRESEARCH_04.html

[3] NPTEL - Analog Electronics - The Indian Institute of Technology Madras (IIT Madras , Chennai ,India)

Top
facebook twitter