Hello,
I'm trying to build a circuit that would allow measuring AC impedance (real part) using Arduino. I have a signal generator that generates a sine wave. I'm using full-wave precision rectifier to remove negative portion of the signal so it can be read by analogue input pin on the Arduino UNO. I use 2 resistors in series and knowing voltage input and voltage across unknow resistor, and also resistance of one of the resistors, I determine the resistance of an unknown resistor (I call it resistance for simplicity, the frequency is adjusted to minimize the reactance).
This method works when I do not try to remove negative portion of the signal read across the unknown resistor, but once I hoop up a precision rectifier in parallel to the unknown resistor it starts working improperly. Please see the images of the circuits attached. On the left oscilloscope "A" shows how the given rectifier works, "C" shows the input voltage and "B" shows the voltage drop across the unknown resistor. In the right image I need to remove negative voltage from the "B" to read it but the output signal "A" and also "B" become like in a half-wave rectifier and the magnitudes of the signal also do not represent a proper drop in voltage due to an unknown resistor.
Could somebody help me understand what I'm doing wrong here? Thank you!
I'm trying to build a circuit that would allow measuring AC impedance (real part) using Arduino. I have a signal generator that generates a sine wave. I'm using full-wave precision rectifier to remove negative portion of the signal so it can be read by analogue input pin on the Arduino UNO. I use 2 resistors in series and knowing voltage input and voltage across unknow resistor, and also resistance of one of the resistors, I determine the resistance of an unknown resistor (I call it resistance for simplicity, the frequency is adjusted to minimize the reactance).
This method works when I do not try to remove negative portion of the signal read across the unknown resistor, but once I hoop up a precision rectifier in parallel to the unknown resistor it starts working improperly. Please see the images of the circuits attached. On the left oscilloscope "A" shows how the given rectifier works, "C" shows the input voltage and "B" shows the voltage drop across the unknown resistor. In the right image I need to remove negative voltage from the "B" to read it but the output signal "A" and also "B" become like in a half-wave rectifier and the magnitudes of the signal also do not represent a proper drop in voltage due to an unknown resistor.
Could somebody help me understand what I'm doing wrong here? Thank you!
