I'm working on a project involving a number of circuits between 0 and 6, using a microcontroller to dictate which of the circuits will be open. I'm using a square wave AC current, and I'm trying to ensure that the current through each circuit is some value +-X (probably between 1 and 5 mA, I need to do some testing) regardless of the number of circuits open. The resistance is unknown and variable, so simply monitoring the voltage won't work. The maximum voltage is +-5 V.
What are some ideas for how I can do this?
I'm wondering if it might be possible to find an IC that can limit a current to A*X (where A is the number of circuits open) for DC, and put two of those in parallel in opposite directions with diodes in place to prevent backwards current flow.
Thanks for your help
|