1. Low-end op amp current detection method:
Analyze the principle:
Using the virtual short characteristics of the op amp , we get:
V + = V- ;
Using the virtual-off characteristic of the op amp , there is no current flowing through the input and output. So the currents flowing through R3 and R6 are equal .
(VOUT-V-)/R3 = V-/R6;
From the above two equations, we can get
VOUT = V+ * (R3 + R6)/R6;
And there is:
V + = I * R 8 ;
So have:
I =V+ / R8 = VOUT * R6/(R3 + R6)/R8;
The current is converted in this way, the resistance of several resistors is adjusted, and V out can be sampled by the ADC of the microcontroller.
2. High-end current detection circuit
The ultimate purpose of this circuit to detect the current is to obtain the relationship between V OUT and V 1 and V 2 on the figure .
Let's analyze the input first, the virtual break can be seen:
V + /R 7 = (V 2 -V + ) / R 5;
Imaginary short gets:
V + = V- ;
The current of one path of the input negative is equal:
(V--VOUT)/R1 = (V1-V-)/R2;
Usually when using this circuit there are R 1 = R 7 , R 2 = R 5 .
The above formula includes:
VOUT = (V2-V1)*R1/R2;
V2-V1 = I*R4;
so
I = VOUT*R2/(R1*R4) ;
The above is to record and share the content.
By Urien February 26, 2018 11:00:07