We Code, built, and share our thoughts to do chemistry

Tuesday, 13 October 2026

Our potentiostat circuit design approach compared to a glucometer

Previously, we rebuilt a potentiostat circuit to improve our design. We built it on a breadboard as we can experiment with it. You can watch our potentiostat circuit we built on potentiostat below:

We did make some improvements on our design approach. The main change is that we change how the voltage is added or subtracted. Previously we used resistor tricks to force the output of differential amplifier to be the signal voltage minus half of the reference voltage.


Differential and summing amplifier resistor tricks.

By employing this approach, we can use the common reference voltage from power supply or voltage regulator such as 3.3V and 5.0V to provide half of the reference voltage. However, our approach used asymmetric value of resistors in order to make the tricks work. This method might introduce errors and inaccuracies as the we have to make the half of the reference voltage in each op-amp operation, such as in differential and summing amplifier. In this case, the half of the reference voltage produced might be less reliable as we use different resistor to produce half of the reference voltage. It forces us to go back to use the more reliable input of the opamps in which the output is the difference of each signal without doing the resistor tricks. 

We still need half of the reference voltage. We didn't have the voltage source with such value as we only have 3.3V and 5.0V voltage sources from our power supply. In this case, we used voltage divider followed by a voltage follower.
Voltage divider and follower.

When we saw the design of NXP's MED-GLU AFE design block(source), we found that our approach is similar as them. We are quite delighted to see how far we've learned that looked similar to what the industry has implemented.
MED-GLU AFE Voltage generator circuit (source)


In their design, they added 100uF capacitor. We believe it's a decoupling capacitor to stabilise the voltage. Well, it's addition worth considering in our improved design.

By halving the reference voltage, we no longer need to use resistor trick to create our desired output. Now, the half of the reference voltage is uniform across the input creating making the device more reliable.

There are some part in their design we still don't understand. One of them is connecting the negative voltage to the non-inverting input of the opamp in the transimpedance amplifier or current-to-voltage converter. We're not sure whether this approach would make the voltage positive so that's it's readable by the ADC of the microcontroller.
MED-GLU AFE TIA (source)

The notes stated that output would be the current of WElect1 multiplied  by the feedback resistor of R3. We're not pretty sure about this as the amplification approach might be different.

At the end of the video, we stated that adding RC filter before ADC measurement is one of the improvement we can do. It turns out, this approach is actually used in the design. 
MED-GLU AFE amplification and filtered circuit (source)

Their design employed 8Hz cutoff frequency. While it might work well on the glucometer, potentiostat has higher bandwidth as measurement frequency can vary from every second to multiple measurement per seconds. At the moment, we measure the signal every 100ms, 10Hz bandwidth. We might need twice the bandwidth for the cutoff frequency to filter out the unwanted noise as well as preventing our signal to be attenuated.

Finally, one thing we're still working on. Making the most of USB protocol to communicate between device and the PC. USB protocol is a little bit complicated and when we can fully implement this, we can get better data transfer than UART. While we might need to redesign the communication for the frontend, it would be worth it as once we can do it, we can level up our programming and manage measurement that require high data transfer such as EIS. but that's for another discussion.

All in all, if we look back and see how improved we are, it was great though we still have lots of things to learn. We're still going to take the step slowly but surely.







No comments:

Post a Comment

Our potentiostat circuit design approach compared to a glucometer

Previously, we rebuilt a potentiostat circuit to improve our design. We built it on a breadboard as we can experiment with it. You can watch...