Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

Measuring wide range of currents with ADC

$
0
0
I'm designing an amplifier to read currents using a CT from 10 mA to 30A with a STM32 with no FPU. I have the following data:

CT turns ratio = 1000:1
Burden resistor = 10 ohms
ADC reference = 3.3 V
DC shift = 1.65V (2048 adc count)
Amplifier gain from 10 mA to 10A = 8
Amplifier gain from >10A to 30A = 2

Let's say I want to read 10 mA:

Secondary current = 10 mA/1000 = 10 uA
Vburden = 10 uA * 10 = 100 uV
Vpeak = 100uV * 1.41 = 141.42 uV
Vadc_in (amplified) = Vpeak * 8 = 141.42 uV * 8 = 1.13...

Measuring wide range of currents with ADC

Viewing all articles
Browse latest Browse all 4923

Trending Articles