Suitable fet for solar charging project
CoNative
Posts: 5
Hello,
New guy here. I'm electronics newbie and I'm wondering if you all could help with a solar battery charger project I'm working on. I picked up a couple of these panels: http://www.parallax.com/Store/Components/Optoelectronics/tabid/152/txtSearch/solar/List/0/SortField/4/ProductID/619/Default.aspxWith the two panels in parallel and running through a schottkey diode, I was able to charge 4x AA 2000mah nimh batteries from about 4.3V to about 5.35V in about 10 hours.
So then I tried integrating my own battery charging circuit into a project I'm working on based on a Picaxe. When the batteries get low, <4.8V, it will turn on the solar panel, and shut off when they're charged (above 5.2V). The current draw of my project is only about 1.6mA when idle (which it will be most of the time) and occasionally will drive a motor (<300mA) for very short periods of time. Since it will mostly be idle, I just want the solar panels to keep the batteries topped up since this will be on 24/7.
I have the Picaxe turn on the TIP32C (through the n-channel mosfet) and when the battery voltage is low and turn it off when the batteries are charged. I tested this using a partially depleted battery pack and fully charged battery pack to see that it was switching the solar panel on and off. The problem I've run into is that when I actually put this out in the sun for a day with a low battery pack, the charging was very slow, much slower than when I tested it it by itself. The battery voltage after 9 hours in the sun only rose from 4.78V to 4.85V. I haven't had a chance to see what the current from the panel was after it went through the PNP... but I'm guessing that is where the problem is. It nearly looses what was charged overnight, so this isn't going to work well. I need help picking components to do this sort of thing. Anyone have some ideas?
Thanks
BTW, D2 is there just incase I happen to put in Alkaline batteries on accident or the panel actually does put out 6V it won't damage the Pic.
New guy here. I'm electronics newbie and I'm wondering if you all could help with a solar battery charger project I'm working on. I picked up a couple of these panels: http://www.parallax.com/Store/Components/Optoelectronics/tabid/152/txtSearch/solar/List/0/SortField/4/ProductID/619/Default.aspxWith the two panels in parallel and running through a schottkey diode, I was able to charge 4x AA 2000mah nimh batteries from about 4.3V to about 5.35V in about 10 hours.
So then I tried integrating my own battery charging circuit into a project I'm working on based on a Picaxe. When the batteries get low, <4.8V, it will turn on the solar panel, and shut off when they're charged (above 5.2V). The current draw of my project is only about 1.6mA when idle (which it will be most of the time) and occasionally will drive a motor (<300mA) for very short periods of time. Since it will mostly be idle, I just want the solar panels to keep the batteries topped up since this will be on 24/7.
I have the Picaxe turn on the TIP32C (through the n-channel mosfet) and when the battery voltage is low and turn it off when the batteries are charged. I tested this using a partially depleted battery pack and fully charged battery pack to see that it was switching the solar panel on and off. The problem I've run into is that when I actually put this out in the sun for a day with a low battery pack, the charging was very slow, much slower than when I tested it it by itself. The battery voltage after 9 hours in the sun only rose from 4.78V to 4.85V. I haven't had a chance to see what the current from the panel was after it went through the PNP... but I'm guessing that is where the problem is. It nearly looses what was charged overnight, so this isn't going to work well. I need help picking components to do this sort of thing. Anyone have some ideas?
Thanks
BTW, D2 is there just incase I happen to put in Alkaline batteries on accident or the panel actually does put out 6V it won't damage the Pic.
Comments
Looking at your circuit I would lower the 10k resistor to the base of the transistor to something between 1k and 470 Ohms... Also it looks like you have the Emitter and Collector reversed on that transistor. Since you are using a transistor, you can also potentially remove D1.
An alternative I think would be to have only one NPN or Nmosfet, to break the ground side of the solar panel instead of the high side. The FQP30N06 could do that on its own.
Andy
Since the current is quite low a power transistor is unnecessary, a 0.5A switching transistor in TO192 case should be sufficient - my transistor collection throws up 2N2907, ZTX550 but there are many other high-current switchers out there. Or a p-channel logic-level FET (though that will require a shottky diode as well I think to prevent discharge through solar panel when no sun). In fact that might be needed anyway as Vebo for TIP32C is only -5V which is sailing close to the wind.
Also you need to detect when the solar panel is able to provide enough power, otherwise you'll just be wasting 15mA into the base of that transistor at night!!
Wouldn't shorting the solar panels damage them?
If the two panels together are capable of 334mA, I don't think the Picaxe would have enough current (20mA max on output pin) to fully turn on the TIP32C, right?
I tried using just the FQP30N06L to switch the low side of the solar panel, but for some reason wasn't able to get the solar panel to turn off completely...i think... I'm going to give it another go today, I was probably doing something stupid. How do you determine what value resistor for the pulldown on the gate of the FQP30N06L? Should I use a lower value resistor for the pulldown than the 10K?
That's a good point about wasting power into the base of the mosfet at night when the batteries are low. I would need to leave D1 in the circuit in order to do the following:
If battery voltage is low and the solar panels need to be switched on, I can switch Q1's gate high and read the voltage across LED1 (which is behind D1) on Pin 11 of the Pic. If the solar panel isn't providing enough power, switch Q1's gate low to save power. Repeat every x minutes until the sun comes up and solar panel is able to provide enough power and then leave Q1 high until batteries are charge or the sun goes down again
Thanks again.
For simplicity the short circuit across the panel as suggested by Andy can't be beat. No, the short circuit across that small panel will not damage it or the wiring. The diode D1 prevents back-current.
As Tracy says: of course you waste energy that you get for free from the sun, but as long as you can't use it for anything else you have to waste it.
Andy
I'm up for trying Mark's suggestion too with using more suitable parts. Instead of using the n-channel, could i use an NPN to switch the low side?
One nice thing about mosfets is that their gate draws zero DC current. So it doesn't matter if it is left high or low. The pulldown resistor from gate to source does draw current, but that resistor can be a high value, 100k or 1M, so it only draws microamps.
A bipolar transistor would be better, but when you look at it closely, there is still a "sneak" path through the base-collector junction and through the PIC's subtrate diod.
Last night, I built the circuit I posted in #6 and the current only increased from 1.53mA to 1.71mA after the voltage check (on the low batteries). So less than .2mA rise with the mosfet switched on in that configuration. That makes sense about your schematic showing how the charging still occurs if the panel voltage is higher than the battery voltage.... I saw that behavior. Just shining a flashlight into the panel, with the batteries disconnected, LED1 would turn on, although very dim. As soon as I would connect the batteries, the LED would turn off until after the Pic ran the voltage check and switched on the mosfet, then the LED was much brighter (as bright as just lighting the LED with the solar panel outside of my circuit). But in the real case scenario, the sunlight is going to win every time and possibly overcharge the batteries.
Wouldn't my circuit in post #1 work if I used more appropriate parts (like n-channel without reverse diode or NPN and one of the PNPs Mark suggested)? It seemed to work like I intended other than not charging the batteries very fast. I have a BC547 NPN transistor I was thinking I could use to switch the ZTX550 PNP Mark suggested, shouldn't that work?
Or is using a relay or shorting the panel my only options?
Thanks again for the help.