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:

Solving South African power problems with locally built intelligence
Editor's Choice Power Electronics / Power Management
Smart metering infrastructure in South Africa remains patchy. The rollout has been slow, coverage is inconsistent, and for the most part, granular per-unit measurement simply does not exist.

Read more...
From the editor's desk: The art of measuring the truth
Technews Publishing Editor's Choice News
All electronic measurements are a lie. The trick is making the lie as small as possible.

Read more...
Engineering for failure: why resilient telemetry matters more than perfect connectivity
Editor's Choice Telecoms, Datacoms, Wireless, IoT
One of the biggest assumptions in modern tracking systems is that connectivity will always be available. From an engineering perspective, this creates an interesting problem.

Read more...
Lesley Havenga: Building partnerships for Africa’s electronics future
Editor's Choice News
As Würth Electronik expands its footprint across South Africa and the broader sub-Saharan region, Havenga’s blend of manufacturing expertise, supply chain knowledge, and people-centred leadership appears well suited to the task.

Read more...
Generating negative voltages from a positive supply
Altron Arrow Editor's Choice Passive Components
It is common for IoT devices, industrial sensors, meters, and medical equipment to require both a positive and negative voltage, and this article explains the options available to produce a negative rail from a positive rail supply.

Read more...
PEAK’s first automotive Ethernet solution
Industrial Data Xchange (IDX) Editor's Choice Telecoms, Datacoms, Wireless, IoT
The PAE-Media Converter is a robust and compact device designed to connect Automotive Ethernet (100BASE-T1 or 1000BASE-T1) with standard Ethernet (100BASE-TX or 1000BASE-T) networks.

Read more...
EMC limits and levels
Altron Arrow Editor's Choice Circuit & System Protection
As soon as electronics and electrical systems started interfering with each other, the world had to come to some consensus. Considering physics is universal and does not care about what country electrical/electronic products are used in, it should be the same everywhere, right? It is nearly there, but not quite.

Read more...
Sigfox SA powers smart connectivity
Editor's Choice Telecoms, Datacoms, Wireless, IoT
Sigfox South Africa is carving out a unique role, delivering low-power, wide-area network connectivity designed specifically for Internet of Things applications.

Read more...
Seeing through the noise
RF Design Editor's Choice Telecoms, Datacoms, Wireless, IoT
How Adaptive Long Coherent Integration (ALCI) delivers superior measurement and positioning performance where conventional receivers fall short.

Read more...
Case Study: Turning data into insight
Hamamatsu Photonics UK Editor's Choice Opto-Electronics
Hamamatsu Photonics’ InGaAs PIN photodiode detector has proven consistent, reliable, and robust for more than a decade, helping Axetris to deliver stable, repeatable measurements.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved