Why should the output voltage shift?Analysis of Differential Circuit Principle

Target processing voltage: It is the acquisition and processing voltage, such as the acquisition and processing of bus voltage in the system, and the acquisition and processing of AC voltage. Differential non-inverting/inverting voltage divider resistance: In order to obtain a voltage suitable for op amp processing, the high-voltage signal needs to be divided into voltage processing. As shown in Figure 1, the voltages at both ends of V1 and V2 are divided to obtain a voltage suitable for op amp processing. Vin+ and Vin-.

The differential operational amplifier circuit effectively suppresses the common-mode signal, but only amplifies the differential signal, so it is widely used.

Circuit configuration of differential circuit

Why should the output voltage shift?Analysis of Differential Circuit Principle
Figure 1 Differential circuit

Target processing voltage: It is the acquisition and processing voltage, such as the acquisition and processing of bus voltage in the system, and the acquisition and processing of AC voltage.
Differential non-inverting/inverting voltage divider resistance: In order to obtain a voltage suitable for op amp processing, the high-voltage signal needs to be divided into voltage processing. As shown in Figure 1, the voltages at both ends of V1 and V2 are divided to obtain a voltage suitable for op amp processing. Vin+ and Vin-.

Differential amplifier circuit:

Feedback, for the operational amplifier circuit, the operational amplifier works in the linear region, so here must be negative feedback, there is no feedback (open loop) or positive feedback, that is the comparator circuit rather than the amplifier circuit, at this time the operational amplifier is working in saturation Area or called non-linear working area, because of saturation, the output is the amplitude of the power supply voltage.

Figure 2 is an op amp circuit with positive feedback. It cannot be called an op amp circuit here, because the ideal open-loop magnification of an op amp is infinite. Of course, it cannot be infinite in practice, so the following structure is a hysteresis voltage comparison The op amp works in the non-linear region or saturation region.

Why should the output voltage shift?Analysis of Differential Circuit Principle
figure 2

Figure 3 is still the voltage comparator structure. As mentioned above, the operational amplifier has a large open loop gain without negative feedback. It works like a non-linear region and is used as a voltage comparator.

Why should the output voltage shift?Analysis of Differential Circuit Principle
image 3

Operational amplifier, the feedback resistance is connected from the output to the inverting terminal “-” is negative feedback, of course, when the output signal does not exceed the power supply voltage (Note: the energy source of all signals is the power supply, of course, the output cannot exceed the power supply amplitude). The function of is to amplify the signal; when connected to the non-inverting terminal “+” is positive feedback, and the circuit function is a voltage comparator. Of course, in practice, we do not advocate using op amps as voltage comparators, but use dedicated comparators, such as LM339, LM393, LM211, etc., because the working status of the internal components of the comparator and the op amp is still different in practice. of.

The comparator is connected to the current-limiting resistor-“R74, R77”. This is because when the amplitude is switched, the comparator charges and discharges the subsequent capacitive load with a fast rising or falling edge. This charging and discharging current does come from this active device. ―Comparator, so the purpose of adding a current-limiting resistor is to prevent current impact.

RC filter: It can be adjusted as appropriate to prevent signal distortion problems such as output overshoot
Calculation of differential input voltage
In the circuit of Fig. 4, in order to facilitate the calculation, we give each resistance value.
Another feature of the differential circuit is symmetry, R40=R56 and R47=R55, the resistance of the two branches of the differential voltage divider is also equal.

Why should the output voltage shift?Analysis of Differential Circuit Principle
Figure 4

How are the values ​​of Vin+ and Vin- calculated?

We first get it through tedious calculations, and then simplify the calculations.

First, the 5 pins of the non-inverting end and the 6 pins of the inverting end of the op amp are obtained by using “virtual short”, where the coefficient 6 refers to six 100k resistors, which is convenient for simplifying the formula:

Why should the output voltage shift?Analysis of Differential Circuit Principle

Then Vin+ is obtained through the partial pressure relationship:

Why should the output voltage shift?Analysis of Differential Circuit Principle

Vin- is obtained through the partial pressure relationship again:

Why should the output voltage shift?Analysis of Differential Circuit Principle

Why should the output voltage shift?Analysis of Differential Circuit Principle

Then we get the value of Vin+ minus Vin-.

In fact, there is a simple way to get the value of Vin+ minus Vin-. Using the virtual short characteristic of the op amp, the circuit can be equivalent to:

Why should the output voltage shift?Analysis of Differential Circuit Principle
Figure 5

Why should the output voltage shift?Analysis of Differential Circuit Principle
Image 6

So it is very easy to calculate the value of Vin+ minus Vin-, it is just a simple voltage divider circuit, calculated as follows:

Why should the output voltage shift?Analysis of Differential Circuit Principle

Why should the output voltage shift?Analysis of Differential Circuit Principle

The differential voltage input value is 0.84V.

Calculation of differential amplifier circuit

Why should the output voltage shift?Analysis of Differential Circuit Principle
Figure 7

The calculation formula derivation still follows the virtual short and virtual break characteristics of the op amp. When R56=R40, R47=R55, the difference calculation can be simplified to:

Why should the output voltage shift?Analysis of Differential Circuit Principle

In the actual application circuit, in order to simplify the calculation, we also use the simplest method to calculate. The circuit that is often used is also the above-mentioned circuit, so that the resistance is equal to the relationship, and the calculation is simplified.

“Offset calculation” of amplifier circuit

Why should the output voltage be offset? This is because when collecting negative values, almost none of our sampling chip and MCU support negative value sampling, you have to offset so that the output is always positive.

The offset circuit, as shown in Figure 8, where the original non-inverting end resistance is grounded to GND, we connect a voltage value, which is usually called an offset voltage. So what is the final expression?

Why should the output voltage shift?Analysis of Differential Circuit Principle
Figure 8

Through the superposition theorem, we finally get:

Why should the output voltage shift?Analysis of Differential Circuit Principle

The formula here is established, to ensure that R64=R72, R73=R57, then the final offset formula is to add a voltage offset 2.5V_Ref on the original basis:

Why should the output voltage shift?Analysis of Differential Circuit Principle

As long as the appropriate offset is selected according to the actual application, the output will always be a positive value.

Why should the output voltage shift?Analysis of Differential Circuit Principle
Picture 9

For example, in the circuit of Figure 9, the input voltage becomes -100V, then the final output voltage is:

Why should the output voltage shift?Analysis of Differential Circuit Principle

In this way, the negative voltage is shifted to a positive voltage, and the processor meets the processing requirements of the processor. The offset circuit is widely used in collecting, for example, alternating current and control circuits that have negative direct current voltage.

The Links:   1DI300ZP-120 AA104XD12

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *