# Programmable polarity switch for DC circuit

My question concerns a future research project in electrocoagulation (water treatment) I am planning right now.

I will have a lab power supply connected to two (or more) plates in water. The operation will run in a galvanostatic mode, meaning I want to have a constant current through the system as one of the major outcome determining factor is the charge density through the plates (e.g. $$\mA/cm^2\$$). The plan is to procure a lab power supply that can supply up to 30 A, since that is at the higher end of the range I want to test. My measuring probes and the power supply will be programmable, meaning I have the possibility of centrally controlling the electrical inputs and the data collection of experiments from my computer.

One thing that I want to test is reversing the polarity of my electrodes to counteract electrode passivization, i.e. switching the anode and cathode during the experiment. I would like to do this in a programmable fashion as well. For example, either at timed intervals or maybe when a certain voltage drop has occurred due to the increased resistance from the passivization.

Given that I have all required signals connected to the computer, what would be the way to solve my problem? The programmable side will not be an issue for me, I am mostly interested in the best way to solve the problem.

Requirements:

• Switching circuit should be able to handle up to 30A passing through the switching side.
• Programable