I have built quite a few solar charge controllers for domestic use on 12V LED lighting.
In my last design I have used the ACS712-05 hall effect breakout board to measure a range of ± 5A fed into the battery from my 150Watt solar panel (via the charge controller)
During daytime when the battery is charging current flows in the one direction, and at night when I use my 12V LED lights, current flows out of the battery again. The ± ability of the ACS712 then comes in quite handy.
I want to go bigger now. But unfortunately the ACS712-20 (20Amp version) chip only allows for 100mV/A signal resolution (vs the 185mV/A from the 5A version)
There are a few ways to get better resolution, but I decided to go with the AD623AN Instrument amplifier. The required Gain can be achieved by adjusting the Rg resistor value.
My plan is to use a short piece of thick copper wire for the Shunt resistor. (mV drop over the copper wire will be noted in test conditions and that mV signal will be used as input for the AD623). This will give me the freedom to basically measure any current size and not be stuck with fixed ranges (5,20 and 30) the ACS712 chip offers. With my solar panel the maximum current supply is only 8.6A and that will be in super ideal conditions. A range of 0..10Amps would be used in the programming.
This all will work fine if current only flows to charge the battery. But at night the flow direction changes and that will create a negative voltage drop over RShunt.
Here is my question:
I was thinking of using a MAXIM Analog switch IC that can be controlled by the Micro controller when to change over. I have never used this type of arrangement before, and I was wondering if somebody here maybe have done something like this before. The measurement signal is in millivolt, hence I will go for the MAX4993 chip. The internal resistance of the switch is stated at 0.3Ω
I was thinking that I should keep the resistance as low as possible because of the very low source signal.
If there is a better solution out there, please feel free to share. I am open to any suggestions
In my last design I have used the ACS712-05 hall effect breakout board to measure a range of ± 5A fed into the battery from my 150Watt solar panel (via the charge controller)
During daytime when the battery is charging current flows in the one direction, and at night when I use my 12V LED lights, current flows out of the battery again. The ± ability of the ACS712 then comes in quite handy.
I want to go bigger now. But unfortunately the ACS712-20 (20Amp version) chip only allows for 100mV/A signal resolution (vs the 185mV/A from the 5A version)
There are a few ways to get better resolution, but I decided to go with the AD623AN Instrument amplifier. The required Gain can be achieved by adjusting the Rg resistor value.
My plan is to use a short piece of thick copper wire for the Shunt resistor. (mV drop over the copper wire will be noted in test conditions and that mV signal will be used as input for the AD623). This will give me the freedom to basically measure any current size and not be stuck with fixed ranges (5,20 and 30) the ACS712 chip offers. With my solar panel the maximum current supply is only 8.6A and that will be in super ideal conditions. A range of 0..10Amps would be used in the programming.
This all will work fine if current only flows to charge the battery. But at night the flow direction changes and that will create a negative voltage drop over RShunt.
Here is my question:
I was thinking of using a MAXIM Analog switch IC that can be controlled by the Micro controller when to change over. I have never used this type of arrangement before, and I was wondering if somebody here maybe have done something like this before. The measurement signal is in millivolt, hence I will go for the MAX4993 chip. The internal resistance of the switch is stated at 0.3Ω
I was thinking that I should keep the resistance as low as possible because of the very low source signal.
If there is a better solution out there, please feel free to share. I am open to any suggestions