voltage measurement Measure current on a constant current source

Not rated 11,234

Circuit Image

Measure current on a constant current source (LM317). Since a 3.3V chip is being used, a voltage divider is also required for reading the current. Will this circuit function correctly, or will it cause issues by attempting to increase voltage to drive current through the voltage dividers?

To measure current from a constant current source like the LM317, a current sensing technique can be employed. The circuit typically consists of the LM317 configured in a constant current mode, where it regulates the output current to a desired level. The output current can be monitored using a shunt resistor placed in series with the load. The voltage drop across this resistor is proportional to the current flowing through it, following Ohm's Law (V = I * R).

Given that a 3.3V microcontroller or chip is being used, a voltage divider must be implemented to scale down the voltage across the shunt resistor to a level that the microcontroller can safely read. The voltage divider consists of two resistors connected in series. The output voltage from the divider can be calculated using the formula:

V_out = V_in * (R2 / (R1 + R2))

where V_in is the voltage across the shunt resistor, R1 is the resistor connected to the voltage source, and R2 is the resistor connected to ground. The values of R1 and R2 must be selected carefully to ensure that the output voltage does not exceed the maximum input voltage rating of the microcontroller's analog input pin.

It is crucial to ensure that the voltage divider does not load the circuit excessively, as this could interfere with the current measurement. The total resistance of the voltage divider should be high enough to minimize the impact on the current flowing through the shunt resistor while still allowing for a measurable voltage drop.

Potential issues that may arise include the possibility of the voltage divider affecting the current through the LM317, especially if the divider's impedance is not significantly higher than the load impedance. Additionally, proper consideration must be given to the power rating of the resistors used in the voltage divider, as they will dissipate power based on the voltage drop across them.

In conclusion, with careful design and consideration of component values, this circuit can function effectively for measuring current from a constant current source while interfacing with a 3.3V chip.Measure current on a constant current source(LM317), because I am using a 3v3 chip I also need a voltage divider to read it. Will this circuit work Or will it wreak havoc trying to increase voltage to drive current over the voltage dividers

🔗 External reference