So I'm doing a project for a smart grid class where we are designing a circuit where loads can switch between two power sources - specifically a solar panel feeding a 12 volt battery as one source and a constant DC power supply (modeling "the grid") as the other. We want to be able to switch in between the two sources using our microcontroller.
I'm trying to decide what the best hardware switch to use is for our purposes. We're going to have 10 loads in parallel. The load will consist of a high rated power resistor and a high powered LED.
We were planning on using a MOSFET, and deciding whether a PNP or an NPN would be best. Since each leg has one load, and is switching between either sources, we modeled the switches as being on the high side above the load (see attached drawing). As I learn more about MOSFET circuits, the gate voltage needs to be a certain level. The microcontroller we're using (an mbed lpc1768) can only provide 3.3V on the output pins Since the sources are at 12 V, this becomes a problem. For a PNP, it needs a gate to source voltage of somewhere around -2 to -4 volts, meaning (I think) we would need between 8-9 volts on the gate to open the switch. So would it be best to amplify the gate voltage to reach that level? Or just an entirely different switch? or possibly a relay?
I'm hoping someone can see the picture I posted and come up with the most efficient and simplest solution for controllable switching so we can move forward with the project.
Thanks!
(also some of my assumptions or descriptions may not be perfect... feel free to correct/instruct)
- Attachments and other options