Editor's Choice


How the humble op-amp plays a crucial role in medical electronics

17 May 2017 Editor's Choice Analogue, Mixed Signal, LSI

Vinaya Skanda from Microchip Technology shows the significance of the op-amp in certain applications, such as measuring vital signs on the human body.

The ubiquitous presence and influence of the op-amp exists across the length and breadth of the electronic world. In some applications, they play a significant role. These include medical electronics, power supplies and even some generic signal processing and measurement applications.

Knowing the characteristics of an operational amplifier (op-amp) is vital when choosing it for a specific application, which in turn calls for knowing the application requirements well. While certain routine applications can be accomplished using popular rules of thumb, a more thorough analysis of the characteristics is needed when the performance requirements are severe. Here, the designer will need to look at some of the non-ideal parameters and characteristics of the op-amp.

Applications considered include digital power converters, control systems and medical electronics, where they can play a key role in devices for measuring the vital parameters of the human body.

Stability

For an op-amp system to be stable, the closed-loop response must resemble a single-pole response. If the closed-loop gain intersects the open-loop gain at a rate of 20 dB/decade, then the system is stable. When the point is reached where the closed-loop response falls at 40 dB/decade, the op-amp will oscillate. One pole adds a 90° phase and hence two poles add 180° of phase. Once 180° is added into the feedback path, the negative feedback system transforms itself into a positive feedback system and will start producing oscillations.

As shown in the Bode phase plot of a generic op-amp in Figure 1, phase margin signifies the phase shift at unity gain that is left to approach the 180° point. Phase margin is one of the figures of merit for analysing the stability of an op-amp. As can be seen from Figure 1, the change in the phase does not necessarily happen at the corner frequency. Instead, the phase starts changing a decade back from the corner frequency itself. A phase margin of about 40° under standard operating conditions is typical of an on-chip op-amp on a Microchip PIC16F microcontroller.

Figure 1. Magnitude and Bode phase plot of an op-amp.
Figure 1. Magnitude and Bode phase plot of an op-amp.

Measuring circuits

Op-amps form a key component when designing any analog or mixed-signal power supply. They find use in both signal measurements and compensation networks. A very common use of an op-amp in digital power converters is in the measurement of current flowing through the inductor. Similarly, in the case of motor control and energy metering, it is used in measuring current flowing through the phases of the inverter. Often, a sense resistor is used in series in the path of the current flow of the phase, as shown in Figure 2.

Figure 2. Op-amp as difference amplifier for current sensing application.
Figure 2. Op-amp as difference amplifier for current sensing application.

The voltage drop across the sense resistor is then amplified and fed back to the analog-to-digital converter of the microcontroller. Since the value of the sense resistor will usually be very small – of the order of a few milliohms to a few ohms – amplification of the measured voltage is necessary. An op-amp is thus used in a difference amplifier configuration so, irrespective of the direction of current flow, the voltage difference is faithfully amplified.

A microcontroller such as the PIC16F753, having a single op-amp on chip, would be suitable for this type of application. The op-amp being internal to the controller would reduce the overall cost of the design and save board space. Immunity to noise will improve as there will not be as many traces on the board as would be required when using an external op-amp.

Control systems

If an analog control approach is taken when designing a power converter operating in buck or boost topology to regulate the output voltage, the control system invariably requires a compensator using an op-amp. A compensator that has three poles and two zeroes is normally required if the control method uses only the output for control. This is referred to as voltage mode control and is commonly called a type III compensator.

Such a compensator is a small variation of the inverting amplifier in terms of changes in the feedback network. The feedback network is suitably designed to provide a transfer function that has three poles and two zeroes. A loop crossover somewhere between the zeroes and the poles can be achieved if the two zeroes coincide at one frequency and the two poles coincide at one frequency. A reasonable phase margin can be met using such compensators since a good amount of boost in the phase is possible.

Medical electronics

Bioelectrochemical sensors are essential in most medical equipment used for monitoring vital parameters of the human body. The biosensors often involve electrochemical activity taking place in microbes, enzymes or chemical compounds. These activities need to be tested, measured and, in some cases, controlled.

Figure 3. Op-amps in a potentiostat application.
Figure 3. Op-amps in a potentiostat application.

One common electronic circuit used in such applications is the potentiostat or galvanostat. This is needed for the proper operation of a bioelectrochemical sensor. In applications such as odour and taste detection sensors, a bank of potentiostats may be needed. In the simple arrangement of a potentiostat in Figure 3, there are two op-amps used. A PIC16F1793 or PIC16F1786 would suit because these devices have two internal op-amps.

A potentiostat is a three-electrode cell consisting of working electrode, reference electrode and counter electrode. The counter electrode conducts current into or out of the cell, and this current has to balance the current generated at the working electrode. The reference electrode provides a reference for the working electrode to measure the electrolyte’s potential.

The amplifier is responsible for maintaining the voltage between the reference electrode and the working electrode as close as possible to the voltage Vbias connected to the non-inverting terminal. Its output is controlled to maintain the cell current so equilibrium is achieved.

The potentiostat has to measure the current from the working electrode and deliver a useful signal at the output terminal. This current can be bipolar and is measured irrespective of whether the current flows in or out of the working electrode.

Low-frequency sensors

Op-amps can also be used for generating low-frequency circuits for sensors that use a technique called correlation to detect the presence of low-frequency signals. The signal to be tested or detected is correlated with a reference low-frequency signal, and it is this reference that is generated in the op-amp circuit.

Typical applications include pipeline leak detection, locating hot spots and radiation from electrical appliances, seismic wave detection, smoke and fire alarms as low-frequency tones are better for those with poor hearing, and pressure sensors for engine combustion and turbulence detection.

In these types of application, the performance of a standalone op-amp is very similar to that of an internal op-amp in a PIC16F microcontroller, and being internal means fewer components are needed. There is also an improvement in immunity to external noise since there is no need for traces to connect the op-amp.



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Potential risks of plasma treatment on PCBs
MyKay Tronics Editor's Choice
Plasma treatment involves exposing PCBs to an ionised gas, known as plasma, but despite many advantages, several risks must be managed to ensure safe and effective plasma application in EMS.

Read more...
X-band radar
RF Design Editor's Choice Telecoms, Datacoms, Wireless, IoT
X-band radar systems, particularly those leveraging beamforming ICs (BFICs), advanced gallium nitride (GaN) and gallium arsenide (GaAs) components, are leading the way in providing the high-performance radar capabilities required for modern defence and surveillance.

Read more...
LED driver for industrial power supply indication
Altron Arrow Editor's Choice Circuit & System Protection
A simple and small solution for driving an LED to provide visual feedback in the presence/absence of a system’s power using a chip not originally designed for this purpose.

Read more...
Case Study: Siemens Valor automation solution
ASIC Design Services Editor's Choice Manufacturing / Production Technology, Hardware & Services
Electronics manufacturer BMK used Siemens Valor to enhance accuracy and speed up bill-of-materials quotations.

Read more...
Four ways to enhance IoT battery performance using emulation software
Concilium Technologies Editor's Choice
Battery life affects the cost and reliability of IoT-based infrastructure and is a key purchasing consideration for consumer electronic IoT devices.

Read more...
NuWave Technologies: Excellence in electronic component procurement
NuWave Technologies Editor's Choice
Based in Randburg, Gauteng, NuWave Technologies is built on core values of integrity, honesty, transparency, and service excellence.

Read more...
Arduino platform with Analog Devices technology for flexible industrial control
Altron Arrow Editor's Choice DSP, Micros & Memory
Software-configurable systems enable industrial OEMs to deliver unprecedented flexibility to the factory floor, while simplifying product complexity.

Read more...
Accelerating RF PCB design in a 5G world
ASIC Design Services Editor's Choice Design Automation
Billions of IoT devices coming online in the coming years will require RF design capabilities that support ultra-fast 5G speeds.

Read more...
Achieving lowest cost, scalable and dynamic wireless mesh network installations
CST Electronics Editor's Choice Telecoms, Datacoms, Wireless, IoT
In many situations it is desirable for sensors to be connected wirelessly in a mesh network as this saves infrastructure and cost since long cabling runs are not required.

Read more...
Residues on PCBs – Causes and remedial measures
Electronic Industry Supplies Editor's Choice Manufacturing / Production Technology, Hardware & Services
Soldering with wire and iron leaves process judgments up to individual operators, and can produce a wide variety of defects, scrap, or long-term quality issues.

Read more...