Good evening.
I want to charge a supercapacitor bank from a solar panel.
The panel gives max power of about 0.5A at 32V, so the charger should track it's input voltage.
The output should go down to zero and up to about 30V as the bank charges, with no need to explicitly limit output A or V.
To that effect i made this little circuit:
Q1 is TIP
32C.

Problem is, i'm not sure what transistor to pick, or how to drive it.
It works as shown, but R2 gets hot.
If i make it a darlington, and put a 10k resistor, then the transistor gets hot.
I can't use a FET, since i can't figure out how to (simply enough) drive it within +-20Vgs limit.
Should i use a transistor with higher gain, and higher R?
Some sort of darlington arrangement?
Is there a simple way to use a FET in there?
Maybe there are other design flaws?