# OpAmp VS Voltage Divider VS Buck Converter (Current Sensor Output)

Electrical Engineering Asked by Marcelo Queirós on December 12, 2020

I’m working on part of a project and I need to build the circuit that reads the current through a phase of a motor using this IC from Allegro.

Assuming there will be no more than 5A, and using a VCC=5V, the IC will output between [0.5;4.5]V.

We need this to be turned into 3.3V to enter some microcontroller.

I thought a simple voltage divider would suffice but I was suggested opamps. This is what I came up with. I picked this OpAmp so I could use the same 5V rail that powers the Allegro IC.

The first OpAmp turns [0.5,4.5] into [-3.3,-0.3667] and the second one turns it into [0.3667,3.3].

I understand a buck converter would not be ideal here because it takes a bit to get into steady-state again and the purposes for which this will be used may need a faster transition.

But why not a voltage divider? Surely with the limited amount of current (aprox 10mA, max 14mA) coming out of the sensor, it wouldn’t be wasting any considerable amount of power. Each phase of the motor has ~125W of nominal power.

OpAmp VS Voltage Divider VS Buck Converter

How about "none of the above" approach?

The IC in your link is available in four different sensitivity ranges. For example ACS723LLCTR-40AU is 100 mV/A device. With 5A maximum it outputs only 0.5 V, which can be sent directly to MCU ADC.

For AC current ACS723LLCTR-40AB has 50 mV/A sensitivity and 0.5 Vcc offset, resulting in 2.25-2.75 V output also compatible with ADC.

Answered by Maple on December 12, 2020

Assuming there will be no more than 5A

If the peak current is 5 amps then the RMS current (sine waves assumed) will be 3.536 amps. I mention this because it does seem a little light in value for what appears to be a multiphase motor on AC. Starting currents and full load current possibly needs to be accounted for. Just an observation.

The ADC will have a range of voltages that it can be relied upon to work with. The loswet voltage is usually regarded as 0 volts but, due to variations in manufacture and temperature might be only as low as 50 mV. The upper limit of the range is unclear so you need to take that into account and, for safe measure assume it is 50 mV less (or just do a lot of reading in the data sheet to ascertain precisely what can be relied on.

And yes, a voltage divider will work just fine. Choose resistaors to do the division accurately.

For worst case considerations make sure that the voltage division ratio used doesn't exceed the absolute limit value for the ADC when 5 volts is produced from the Allegro chip. Also, choose resistor values that are low enough in value not to exceed the limit imposed by specifications relating to the ADC used (typically less than 10 kohm but will vary with different ADC manufacturer).

Answered by Andy aka on December 12, 2020

I'm also who think, a voltage divider be enough and an op.amp as follower for impedance transformation and try to find a uC which has a built in reference (FVR) what usually make easy to calculate with the converted value and for accuracy. Furthermore, I think make no harm to attach a clamp diode at the input of the follower.

Answered by BelaC on December 12, 2020

## Related Questions

### Help me interpret this audio jack schematic

2  Asked on October 29, 2021 by castle-bravo

### Why is there no frequency compensation required in TI’s TL494 example buck regulator design?

2  Asked on October 29, 2021

### Inductor desoldering issue

2  Asked on October 29, 2021

### Voltage drop across a single resistor and across two resistors

10  Asked on October 29, 2021 by cauan-kazama

### Arduino based triac dimmer bulb flicker fix on touching Arduino ground

1  Asked on October 29, 2021

### switch mode power supply frequency change

3  Asked on October 29, 2021

### Excessive noise in amplifier circuit when switching from DC power supply to AC-DC adapter

4  Asked on October 29, 2021 by rockhopper

### Is it safe to toggle a led strip powered with 12v ATX PSU line?

1  Asked on October 29, 2021

### Why does electrical phase vary with element length?

1  Asked on October 29, 2021 by fromage

### PT100 sensor for measuring liquid resin, fully submerged

1  Asked on October 29, 2021 by sanchit-agarwal

### Charging 12V batteries in series-parallel using a 24V charger

3  Asked on October 29, 2021 by jack-conway

### How does negative feedback change output impedance?

9  Asked on October 29, 2021 by alfrojang80

### Question on power consumption on S32K1xx

2  Asked on October 29, 2021

### Summing Integrator cut off

3  Asked on October 29, 2021 by sundark12

### I need to measure the impedance of the system, is it better to measure the resistance or capacitance?

2  Asked on October 29, 2021 by mac3turbo

### 2-way DC motor control for greenhouse IoT application

1  Asked on October 29, 2021 by gantenbein162

### Transfer function and characteristic equation

1  Asked on October 29, 2021 by knzy

### Driving 5V powered relay module from 3V3 powered microcontroller

2  Asked on October 29, 2021 by mauker