I personally would rewire a panel (or some panels) through a separate small controller to charge the 12v battery. There are too many variables to give real advice to you. Such as, are your solar panels 12v or 24v? If they are 24v then what I said I would do, would not work, as most controllers now read the panel voltage automatically and would set themselves to 24v with no 12v output. If ,however, you have 12v panels wired in series to give you the 24v system you have, two panels could be wired (completely isolated from all the others) in a parallel configuration to give you 12 volts for a small, cheap 12 volt controller to charge the 12 volt battery. I am completely assuming you have DIY experience with you solar system. If not leave it alone and get qualified assistance.