Hayee
Member level 4
- Joined
- Mar 4, 2022
- Messages
- 69
- Helped
- 1
- Reputation
- 2
- Reaction score
- 3
- Trophy points
- 8
- Activity points
- 730
R7 and R9 is connected to 5v.1st circuit:
* What voltage is R7 connected to?
* why is R7 value different from R13 value?
* What is the use of R3 and R6?
will R7 and R9 not add the DC biasing and shift the waveform?2nd circuit:
* You can not expect negative output voltage while the supply voltage is not negative. In other words: The output voltage can only be within the supply voltage rails.
overdrive the -INP? How you check it and how i can see all these things by myself?3rd circuit:
* You simply overdrive the -INP to a non allowed level. --> keep on datasheet
* missing negative output --> see 2nd circuit
My bad: it should be "+INP". You overdrive +INP.overdrive the -INP? How you check it and how i can see all these things by myself?
This is just an amplifer .. it is no sine to RMS converter or similar...2)
Maximum Output Peak of Op-Amp is 10Vpeak at 250Vrms. This peak then given to voltage divider to be in range between 0-5v for microcontroller
This has nothing to do with accuracy. Accuracy, precision ad resolution are 3 different things.3)
resolution of microcontroller's ADC is 10bit
accuracy: microcontroller can read 1v change in Grid voltage. means 230Vrms, 231Vrms, 232Vrms etc
no need to know how it works.4)
regarding "floating" or "connected" I am still unclear about it. How this works and how to select from this
This totally is against what a "guessed" from your #2 information.5)
original circuit's output is full wave with DC bias
and the circuit which I am deciding to use is giving half wave with no DC biasing. so I wanna use that.
Do as Klaus said. Make a Design Spec. add more details.OK My bad.
What I want is to read AC voltage in microcontroller for this I decided to use Op-Amp (differential mode). The following circuit I want to use for this.
View attachment 195111
View attachment 195112
I just check that in simulation software the Vsine was set to Amplitude 325 and the oscilloscope is showing the Peak of 162.5v which I now corrected and set the Amplitude to 650 (its Peak-to-Peak). so the Vpeak goes to 325v.as this can be seen on oscilloscope.
Yes I know the output of Op-Amp is same as input. its not a sine to RMS converter. I will do the calculations of RMS inside the microcontroller.This is just an amplifer .. it is no sine to RMS converter or similar...
So output is same waveform as input.
Do you want to get RMS values? on the analog side or the digital side (by calculations inside the microcontroller)
But why would you use a voltage divider .. why not directly feed the microcontroller?
Microcontroller 0V ... 5V is good information.
So 250 VAC has the extrems of about +/- 350VPP.
0V (AC side) -->2.5V (Microcontroller side)
+350V --> +5V
-350V --> 0V
(Maybe reversed signs don´t matter)
One comment about the microcontroller input range. I guess that VCC of the microcontroller is 5V. Then maybe your ide is to use this 5V as reference to the ADC.
I never do this, because VCC is neither accurate nor stable. I always use a precise reference for my ADCs. Every inaccuracy of VRef will be 1:1 reflected to the digitial data. If VCC drifts by 2% your digital values will also drift by 2%. This is a no-go for me. But if you are fine with the expectable errors .. then go this way. You have to decide.
Accuracy of 0.1% is required.This has nothing to do with accuracy. Accuracy, precision ad resolution are 3 different things.
You just told that you are fine with an 1V resolution on the calculated RMS value.
Accuracy means: that the calculated value is allowed to be a bit off the exact value. Let´s say your analog input is 234.567V .. and the allowed accuracy error is +/-1% FS then the allowed error is+/- 1% of 250V (FS) = +/-2.5V.
This means 234.567V - 2.5V = 232.067V
to 234.567V +2.5V = 237.067V
Therefore valid RMS values are: 233V, 234V, 235V, 236V and 237V ... Everything else is beyond accuracy error of 1%.
ok i will go for connected mode. means neutral will be connected with GND.no need to know how it works.
You just have to decide if you can live with the disadvantage or not. It´s just a yes/no decision.
HOW to solve it ... is a next step ... after you decided which way to go.
Then you most probably need to use an external ADC, since internal ADCs do not provide 0.1% accuracy.Accuracy of 0.1% is required.
This is the "unsafe" and "not recommended" method. Be sure to know the safety regulations and the risks. Please be sure not to hurt or kill people with your application.ok i will go for connected mode. means neutral will be connected with GND.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?