チュートリアル 4993

Reduce the Chances of Human Error: Part 2, Super Amps and Filters for Analog Interface


要約: A common view holds that digital circuits just work naturally, but analog circuits are hard to implement. There is truth to that old belief—analog interface is an expert subject that requires training. It is, moreover, always better to avoid an issue than to try to solve it later. This is precisely why we should take advantage of some basic concepts that experienced analog engineers perform as a reflex. This application note provides some basic reminders and concepts about amplifiers and filters for you to consider during a design.

Introduction

As children we learned to share and in that process we learned about portions. Many parents taught this to children by having one child cut the pie or cake and then letting another child pick the piece first. We can be sure that great care was used to make the pieces all the same size.

We are reminded of a good lesson in life, "It's the ratio that counts." We use ratios in everyday life when we compare distances between different routes or the taste of two foods. (Yes, mom's cooking was better, or maybe we were too young to know any difference?).

Moving from children, pies, and cakes to analog engineering design, we realize that ratios—the relative amount, proportion, percentage, share, part, and fraction—are all important measurements in analog design. When we ignore these ratios and relationships, we introduce human error into what must be a precise process. This application note shares some analog concepts about amplifiers and filters that will help reduce the chances of "human" error and improve the analog design.

Considerations for Signal to Noise (SNR)

Crosstalk and signal to noise (SNR) are expressed as ratios, a proportion of good to bad. How does one improve the SNR of a signal? If a particular circuit contributes considerable noise, we have two basic options: first, reduce the noise somehow, or second, increase the amplitude of the good signal before it goes through the stage. Figure 1 illustrates the concept.

Figure 1. Power-supply noise is added to the signal.
Figure 1. Power-supply noise is added to the signal.

In application note 4992, "Reduce the Chances of Human Error: Part 1, Power and Ground," we concentrated on power noise, ground, and layout. In this companion article we examine how to control noise in the signal path. We discuss the characteristics of the signal and noise as we proceed through the various circuit stages.

Is the major noise source harmonics of a switching power supply? If the power-supply noise is 50kHz and higher and if our wanted signal is 1kHz, then filtering may be feasible. If we will be going into an ADC next, the anti-aliasing filter may help.

Reducing Noise

What possibilities does an experienced circuit designer evaluate? The simplest fix is to amplify the signal before the noise is added. Yes, straightforward enough, but unfortunately this solution most often cannot be used because the incoming signal already has noise present. So now we get creative and consider how to separate the signal from noise? Can we use highpass, lowpass, or bandpass filters? Can we discriminate on the basis of amplitude, limiting, noise blanking, or coring? Can we use preemphasis before the noise is introduced and deemphasis after to increase SNR? Can we discriminate on the basis of time, i.e., sample at a minimum noise level or interference time? Can we time average, or if the signal is repetitive, can we sum cycles or average in two, three, or more dimensions?

Turning from component functions, think about the system as a whole. What are the system goals? How will the system be used? How will the human senses interact with the information provided by the system? In short, consider all the information that we can muster.

The above set of questions reflects considerable design experience and knowledge. This is precisely why smart companies hire experienced engineers and mentor the new engineers to build a solid design team.

We can use an example to illustrate the thinking and development process. The first observation finds that the system has a high-gain operational amplifier at its input. The op amp feeds an analog-to-digital converter (ADC). Occasionally a large noise pulse appears on the signal and this causes the op amp to saturate. The op amp recovery time might be as long as milliseconds or seconds. How will we approach the issue? Since every case will be different, we will just ask questions and point out possible solutions.

First, gather data to try to understand what is happening. Can we fix the source? No. So we decide that the noise spike is unavoidable. What do we know about its risetime amplitude and duration? If the spike is very fast and narrow and our wanted signal is relatively slow, can we separate them by filtering? Can we detect the spike and open a series switch to blank out the spike from the main path? Could we add a pair of diodes like an electrostatic discharge (ESD) structure to clip any signal that goes above VCC or below ground? Can we learn from application note 4344, "Rail Splitter, from Abraham Lincoln to Virtual Ground?" In Figure 2 of that application note we create a voltage between VCC and ground at the average signal level of the wanted signal. If the series resistor was replaced with a pair of back-to-back diodes (Figure 2), the signal spike would be limited to the voltage ±0.6V for silicon diodes (red dashed lines) and ~±0.3V for Schottky diodes (green dashed lines). The reverse recovery time for silicon diodes can be between one hundreds and several hundreds of nanoseconds. Schottky diodes have a switching time of ~100ps for the small signal diodes but, because of their operating physics, do not have a reverse recovery time. The diodes can also be placed in the op amp feedback loop to reduce gain during the spike. Figure 3 shows the effect of limiting.

Figure 2. Replacing a series resistor with a pair of back-to-back diodes.
Figure 2. Replacing a series resistor with a pair of back-to-back diodes.

Figure 3. Diode limiter effect, ±0.3V Schottky, ±0.6V silicon.
Figure 3. Diode limiter effect, ±0.3V Schottky, ±0.6V silicon.

Figure 3 may help relieve op amp saturation and recovery time, but is it enough? We could add circuits to blank out the noise pulse as in Figure 4.

Figure 4. Noise pulse blanking.
Figure 4. Noise pulse blanking.

The block diagram of the blanking circuit is Figure 5.

Figure 5. Noise-blanking block diagram.
Figure 5. Noise-blanking block diagram.

From the basic concept of blanking in Figure 5, more elegance can be added. The input buffer may not be needed if the source is low impedance. R1 and R2 set a DC value as shown in application note 4344, "Rail Splitter, from Abraham Lincoln to Virtual Ground," mentioned above. Alternatively, the input signal could be AC coupled to this same voltage or the input signal could be averaged over the long term to produce this voltage. The main signal path is from the input buffer through a RC delay, the mux, buffer, and lowpass filter to the ADC. The MAX11203 ADC has four general-purpose input or output (GPIO) ports controlled by the SPI interface. The GPIO is set so that the AIN1of the MAX313 multiplexor is on and AIN2 is off. We highpass or differentiate the noise pulse. The dual or window comparator output will be active while the noise pulse exceeds 0.3V in either the positive or negative direction. The XOR gated inverts the logic to the mux, thereby turning off the main path and switching on the DC voltage. The RC delay also delays the main path long enough for the comparator path to change state. If the RC delay degrades the signal bandwidth too much, an LC delay line can be substituted.

The input buffer of Figure 5 could use a MAX4209 instrument amplifier which has incredibly low offset drift despite its high gain. Application note 4179, "Autozero Noise Filtering Improves Instrumentation Amplifier Output," explains why.

The filter just before the ADC in Figure 5 can control signal bandwidth to meet Nyquist anti-aliasing, reduce noise, or soften the residual blanking glitch. The following application notes will provide advice and ideas: Application note 4617, "ADC Input Translator," uses resistor-dividers to scale the differential inputs and a stable voltage reference to offset the inputs. This circuit design enables an ADC with a 0V to 5V input range (e.g., the MAX1402) to accept inputs in the range +10.5V to -10.5V.

Calibration ideas using digital-to-analog converters (DACs) and potentiometers are covered in application notes 4494, "Methods for Calibrating Gain Error in Data-Converter Systems," and 818, "Digital Adjustment of DC-DC Converter Output Voltage in Portable Applications." The digital-output voltage-adjustment methods are performed with DAC, a trim pot (digital potentiometer), and PWM output of a microprocessor. Application note 4704, "Introduction to Electronic Calibration and Methods for Correcting Manufacturing Tolerances in Industrial Equipment Designs," includes a discussion of the DS4303 infinite sample-and-hold to capture a DC Voltage. Other application notes about digital pots include: Analog I/O, interface circuits and digital-port signal protection ideas are discussed in the following application notes: Maxim has watchdog circuits which ensure that microprocessor-controlled devices react in a known manner if the processor loses control. The following application notes offer ideas for using watchdogs: 4558, "Simple Latching Watchdog Timer," and 4229, "Comparison of Internal and External Watchdog Timers."

Microprocessor-controlled system clocks typically are of two types: system clocks controlling computing functions in orderly ways, and real time clocks (RTCs) or clocks that relate to human time concepts. Computer clocks operate like soldiers marching in cadence. This can result in interference products that may not meet regulatory requirements. Clock-generator spread-spectrum techniques to reduce this interference are discussed in these notes: 2863, "The Effects of Adjusting the DS1086L's Dither Span and Dither Frequency on EMC Measurements," and 3512, "Automotive Applications for Silicon Spread-Spectrum Oscillators." RTC ideas are found at www.maximintegrated.com/appnotes10.cfm/ac_pk/21.

Conclusion

Noise and interference control is different in every circuit and system. Thankfully, the laws of physics prevail and engineers must work hard to silence noise. This discussion has tried to help designers anticipate noise and interference issues before the design starts and during the design. After the product is in production, the options for correction are severely limited.

サンプル
DS1086 無料サンプル
DS1087L 無料サンプル
MAX5437 無料サンプル
MAX5439 無料サンプル
MAX5490 無料サンプル
MAX5491 無料サンプル
MAX5492 無料サンプル
MAX4209 無料サンプル
DS3903 無料サンプル
MAX4167 無料サンプル
MAX274 無料サンプル
MAX275 無料サンプル
MAX7400 無料サンプル
MAX7401 無料サンプル
MAX7403 無料サンプル
MAX7404 無料サンプル
MAX7405 無料サンプル
MAX7407 無料サンプル
MAX7408 無料サンプル
MAX7410 無料サンプル
MAX7411 無料サンプル
MAX7412 無料サンプル
MAX7413 無料サンプル
MAX7414 無料サンプル
MAX7415 無料サンプル
MAX7418 無料サンプル
MAX7419 無料サンプル
MAX7490 無料サンプル
MAX7491 無料サンプル
MAX1213 無料サンプル
MAX1214 無料サンプル
MAX1215 無料サンプル
MAX12527 無料サンプル
MAX12528 無料サンプル
MAX12553 無料サンプル
MAX12555 無料サンプル
MAX12557 無料サンプル
MAX12558 無料サンプル
MAX19586 無料サンプル
MAX5873 無料サンプル
MAX5874 無料サンプル
MAX5875 無料サンプル
MAX5876 無料サンプル
MAX5877 無料サンプル
MAX5878 無料サンプル
MAX5893 無料サンプル
MAX5894 無料サンプル
MAX5895 無料サンプル
MAX5898 無料サンプル
DS1085 無料サンプル
MAX1067 無料サンプル
MAX7375 無料サンプル
MAX7418 無料サンプル
MAX7419 無料サンプル
MAX7420 無料サンプル
MAX7421 無料サンプル
MAX7490 無料サンプル
MAX1402 無料サンプル
MAX4238 無料サンプル
MAX5491 無料サンプル
MAX6225 無料サンプル
MAX6160 無料サンプル
MAX6143 無料サンプル
MAX6173 無料サンプル
MAX6174 無料サンプル
MAX6175 無料サンプル
MAX6176 無料サンプル
MAX6177 無料サンプル
MAX6220 無料サンプル
MAX6225 無料サンプル
MAX6241 無料サンプル
MAX6250 無料サンプル
MAX6325 無料サンプル
MAX6341 無料サンプル
MAX6350 無料サンプル
MAX674 無料サンプル
REF01 無料サンプル
MAX675 無料サンプル
REF02 無料サンプル
MAX5774 無料サンプル
MAX6143 無料サンプル
MAX5160 無料サンプル
MAX516 無料サンプル
MAX5361 無料サンプル
MAX5361 無料サンプル
MAX5363 無料サンプル
MAX5364 無料サンプル
MAX5380 無料サンプル
MAX5381 無料サンプル
MAX5383 無料サンプル
MAX5384 無料サンプル
MAX5400 無料サンプル
MAX5401 無料サンプル
MAX5460 無料サンプル
MAX5463 無料サンプル
MAX5466 無料サンプル
DS1851 無料サンプル
DS3502 無料サンプル
DS4303 無料サンプル
MAX5105 無料サンプル
MAX5106 無料サンプル
MAX5109 無料サンプル
MAX5115 無料サンプル
MAX5116 無料サンプル
MAX5422 無料サンプル
MAX5427 無料サンプル
MAX5477 無料サンプル
MAX5481 無料サンプル
MAX6160 無料サンプル
MAX6173 無料サンプル
MAX6220 無料サンプル
DS3904 無料サンプル
DS3906 無料サンプル
DS4303 無料サンプル
MAX5427 無料サンプル
MAX5428 無料サンプル
MAX5429 無料サンプル
MAX5457 無料サンプル
DS1267 無料サンプル
DS1804 無料サンプル
DS1847 無料サンプル
DS1848 無料サンプル
DS3930 無料サンプル
MAX1553 無料サンプル
MAX5355 無料サンプル
MAX5402 無料サンプル
MAX5456 無料サンプル
MAX5547 無料サンプル
MAX5550 無料サンプル
MAX1480E 無料サンプル
MAX1488E 無料サンプル
MAX1490E 無料サンプル
MAX3080 無料サンプル
MAX3083 無料サンプル
MAX3088 無料サンプル
MAX3188 無料サンプル
MAX3190E 無料サンプル
MAX321 無料サンプル
MAX3223E 無料サンプル
MAX3226 無料サンプル
MAX3225E 無料サンプル
MAX3228 無料サンプル
MAX3244E 無料サンプル
MAX3245E 無料サンプル
MAX3311E 無料サンプル
MAX3313E 無料サンプル
MAX3387E 無料サンプル
MAX3443E 無料サンプル
MAX3388E 無料サンプル
MAX3483E 無料サンプル
MAX3485 無料サンプル
MAX3490 無料サンプル
MAX4551 無料サンプル
MAX4568 無料サンプル
MAX4558 無料サンプル
MAX4575 無料サンプル
MAX4630 無料サンプル
MAX4640 無料サンプル
MAX483E 無料サンプル
MAX485E 無料サンプル
MAX487E 無料サンプル
MAX488 無料サンプル
MAX491E 無料サンプル
MAX253 無料サンプル
MAX4506 無料サンプル
MAX4232 無料サンプル
MAX9205 無料サンプル
MAX9206 無料サンプル
MAX9207 無料サンプル
MAX9208 無料サンプル
MAX6749 無料サンプル
MAX6752 無料サンプル
DS1086 無料サンプル
DS1086L 無料サンプル
DS1086L 無料サンプル
DS1087L 無料サンプル
DS1089L 無料サンプル
DS1090 無料サンプル
DS1094L 無料サンプル
次のステップ
EE-Mail EE-Mail配信の登録申し込みをして、興味のある分野の最新ドキュメントに関する自動通知を受け取る。
Download ダウンロード、PDFフォーマット
© , Maxim Integrated Products, Inc.
このウェブサイトのコンテンツは米国および各国の著作権法によって保護されています。コンテンツの複製を希望される場合は お問い合わせください。.
APP 4993:
チュートリアル 4993,AN4993, AN 4993, APP4993, Appnote4993, Appnote 4993