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:

Women and the future of engineering in South Africa
Editor's Choice
With women making up just 16% of registered engineering professionals in South Africa, AvenirHoldings CEO, Tshidi Mndzebele, is calling on women engineers and graduates to pursue formal professional registration as a key step to unlocking career growth and industry leadership.

Read more...
The effect of seasonal changes on ESD performance in South Africa
Actum Editor's Choice Circuit & System Protection Manufacturing / Production Technology, Hardware & Services
Electrostatic discharge performance is influenced by several environmental factors, with relative humidity being one of the most important. This is particularly relevant in South Africa, where seasonal changes can result in significant differences in humidity levels.

Read more...
Compact RTK design: More than just the receiver
iCorp Technologies Editor's Choice Telecoms, Datacoms, Wireless, IoT
In practice, engineers building compact RTK products keep discovering the same thing: the hardest component in the system is no longer the receiver. It is the antenna.

Read more...
The signal-to-noise challenge in large-scale IIoT
Sigfox South Africa Editor's Choice Telecoms, Datacoms, Wireless, IoT
For much of the last decade, the industrial IoT industry has been driven by a relatively simple assumption: if a little data is useful, more data must be better. That thinking shaped countless deployments.

Read more...
Women building South Africa’s power infrastructure
Editor's Choice
As South Africa celebrates Women’s Month in August, women are increasingly taking their place on the factory floor, in technical workshops and across engineering environments, helping manufacture the infrastructure that keeps the country’s electricity network running.

Read more...
More efficient production with optimised procurement
Editor's Choice
The smallest part on the BOM is usually the one that holds it up. Interconnect, passive and electromechanical components rarely get attention until they are missing. That is starting to change, and it is reshaping how procurement teams think about risk.

Read more...
Locate underground cable faults faster with the Fluke AF2082 A-Frame
Comtest Editor's Choice Test & Measurement
Underground cable faults can lead to costly downtime, service disruptions, and extensive excavation if the fault location is uncertain. The AF2082 simplifies this process by guiding operators directly to the fault point.

Read more...
Here is what we learnt from three supply chain crises
Seven Labs Technology Editor's Choice
Component crises are not random events. They follow a pattern. After fifteen years and three major disruptions, Seven Labs knows exactly what that pattern demands, and what it takes to keep production lines moving.

Read more...
The new reality of PCB material supply
Jemstech Editor's Choice Manufacturing / Production Technology, Hardware & Services
How resilient manufacturing strategies are helping OEMs navigate a changing global supply chain.

Read more...
Strengthening local electronics manufacturing through investment and innovation
Microtronix Manufacturing Editor's Choice Manufacturing / Production Technology, Hardware & Services
Microtronix South Africa cements its commitment to local manufacturing with ongoing investments in production capacity, skills development, and job creation.

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