Small secrets trace boards with operating and instrumentation amplifiers
- Tutorial
When designing boards,
Nothing is so cheap,
And it is not valued so highly,
Like a correct trace.

In the age of the Internet of things and the availability of manufacturing printed circuit boards,
Even when tracing a simple digital board, there are unwritten rules that I always follow in my projects, and in the case of developing measuring devices with digital-analogue circuit sections, this is simply necessary.
In this article, I want to turn novice designers to a number of elementary techniques that should be followed to obtain a stable working circuit and reduce measurement error or minimize the distortion factor of the audio path. For clarity, the information is presented in the form of a review of two examples.
The recommendations are very simple and much known, nevertheless, as my practice has shown, it is far from always even experts with experience adhere to them.
Example number two. Tracing simple op amp circuit

Fig. 1. Amplifier circuit at the op amp
To begin, consider the simplest example. Just a few resistors and capacitors are a non-inverting amplifier with a voltage gain of 2. Set ourselves the task of optimizing the area tracing and consider two options. The board in both cases is double-layered, the top signal layer is red, the bottom is blue. The right option is not only slightly smaller in area, the main thing in it is less likely to cause parasitic connections.

Fig. 2. Two options for tracing the amplifier board at the OS
First, pay attention to how the blocking capacitor C2 is installed on the right side of the figure - at the minimum distance from the power supply terminal. Secondly, the negative voltage coming from the source first goes to the capacitor and only from there to the OU power supply. This simple technique greatly increases the efficiency of the blocking capacitor. I did the same with capacitor C1. By the way, if you use several blocking capacitors, for example, tantalum of large capacity and ceramic less, then the capacitor of smaller capacity should be located closer to the power supply, since it has less parasitic inductance and suppresses high-frequency noise better.
A small offtopic, not directly related to the topic of today's article
Настоятельно советую применять этот же приём при подаче питания и на другие типы микросхем, особенно АЦП, ЦАП и многочисленные выводы питания микроконтроллеров. Если вы используете встроенные аналоговые модули микроконтроллера — ADC, DAC, компараторы, источники опорного напряжен не поленитесь заглянуть в даташит и посмотреть какие блокировочные конденсаторы в каком количестве и куда необходимо ставить. Не помешает цепь развязки в виде фильтра или хотя бы сопротивления между основным цифровым питанием микроконтроллера и аналоговым. Аналоговую землю лучше размещать отдельным полигоном или экранным слоем, и соединять с основной землёй в одной точке, в некоторых случаях полезно через фильтр
The elements of the feedback circuit should be located as close as possible to the non-inverting input, which minimizes the possibility of interference to the high-resistance input circuit.
Instead of separate ground conductors, grounding of the lower layer of the board with a
We proceed to a more serious and interesting case from the field of measurements, where the trace is important for archives.
Example number one. Trace consumption current monitor on instrument amplifier

Fig. 3. Diagram of the current monitor using the instrumental OA
The figure shows the diagram of the meter consumed current. The measuring element is the resistance of the shunt included in the supply circuit. The load on which the current is measured - R load. The measured voltage is removed from the resistance R shunt and filtered using a symmetrical circuit on the elements R1, R2, C1-C3. Chip U2 serves to supply the reference voltage. R4, C5 - output filter.
When tracing, of course, you must follow all the recommendations that were given above.

Fig. 4. Two options for tracing the amplifier board on the instrumental OU.
Let us analyze the flaws that the left circuit has:
- Since we have a differential input, it is necessary to make its two signal circuits as symmetrical as possible. The conductors of the signal lines must be of the same length and close to each other. Ideally at the same distance from each other;
- The resistor driving the gain of the instrumentation amplifier should be located as close as possible to the pins of the microcircuit. Even a small parasitic capacitance between conductors that go to it in the left figure can lead to a loss of stability of the instrumentation amplifier. In general, feedback loops should be as short as possible;
- The repeater chip of the reference source must be located as close as possible to the input of the reference voltage of the instrumentation amplifier.
By following very simple rules you make your life easier. In some cases, they simply do not cause harm, in others they can significantly improve both the stability of the circuit as a whole and the measurement accuracy.
Do not hold a loaded rifle on the wall. One day it will definitely shoot and choose the most inconvenient moment for this.