Hello,
I encounter a problem with the power supply of my arduino board.
Here is the context of my project :
A solar panel is connected to electrodes in a saline solution to obtain drinking water by electrolysis.
The main purpose of the electronic circuit is to invert electrodes polarities in order to avoid metal precipitation.
To do this, two latching relays are controlled by an arduino board which is powered by the solar panel ([0V 7V], [0A 8A]) via un boost-converter.
Here is a quick view of the circuit :
This project has some defaults, but for now I can't change these (I will entirely change the circuit in a new version).
Examples of defaults : -latching relays instead of bistable ones - 2 relays instead of one mere inverter - a boost converter + voltage regulator --> not optimal -...
Here is the main problem :
When the arduino wakes up, it keeps the previous state of the relays : if the state was high(current flows through the self of the relays) the day before, then it keeps this high value until a switch of the relay occurs.
The problem is that when this switch occurs from a low state to a high state then the arduino attempts to invert the polarities,
the voltage suddenly drops and the arduino shut down. After a few ms, the voltage becomes sufficient to power the arduino again, and the arduino re-attempt to invert the polarities, therefore, it shuts down,...
This cause the arduino to loop : wakes up - trying to power the relays - shuts down - wakes up,...
I attached some graphs that illustrate the phenomenon.
I noticed that when I replaced the electrolytic solution by a mere resistor, everything worked fine. The problem is thus caused by the electrolytic solution.
I also added a cap in parallel of the boost-converter to limit the undershoot but it was a 2000µF cap...
I prefer solving this problem without adding a cap (by changing the program, ...)
But if there are no other ways to remove the undershoots, how can I compute the right value for the cap? and which kind of accumulator should I use, an electrolytic cap?
Thanks in advance !
I encounter a problem with the power supply of my arduino board.
Here is the context of my project :
A solar panel is connected to electrodes in a saline solution to obtain drinking water by electrolysis.
The main purpose of the electronic circuit is to invert electrodes polarities in order to avoid metal precipitation.
To do this, two latching relays are controlled by an arduino board which is powered by the solar panel ([0V 7V], [0A 8A]) via un boost-converter.
Here is a quick view of the circuit :
This project has some defaults, but for now I can't change these (I will entirely change the circuit in a new version).
Examples of defaults : -latching relays instead of bistable ones - 2 relays instead of one mere inverter - a boost converter + voltage regulator --> not optimal -...
Here is the main problem :
When the arduino wakes up, it keeps the previous state of the relays : if the state was high(current flows through the self of the relays) the day before, then it keeps this high value until a switch of the relay occurs.
The problem is that when this switch occurs from a low state to a high state then the arduino attempts to invert the polarities,
the voltage suddenly drops and the arduino shut down. After a few ms, the voltage becomes sufficient to power the arduino again, and the arduino re-attempt to invert the polarities, therefore, it shuts down,...
This cause the arduino to loop : wakes up - trying to power the relays - shuts down - wakes up,...
I attached some graphs that illustrate the phenomenon.
I noticed that when I replaced the electrolytic solution by a mere resistor, everything worked fine. The problem is thus caused by the electrolytic solution.
I also added a cap in parallel of the boost-converter to limit the undershoot but it was a 2000µF cap...
I prefer solving this problem without adding a cap (by changing the program, ...)
But if there are no other ways to remove the undershoots, how can I compute the right value for the cap? and which kind of accumulator should I use, an electrolytic cap?
Thanks in advance !