Grant, Your best bet is to get recommendations from the battery manufacturer for the type of service involved. If you can't get data sheets on the exct battery, then see what other battery manufacturers suggest. Thing to consider are the required life of the battery, along with discharge depth, temperature compensation and periodic equalise requirements etc. Many will depend on exact customer requirements also so you need to make some/most items adjustable. I'd guess that for a solar application, a coulomb counting algorithm would be required, allowing fast charge until 90% or so charged and then a reduced rate until 100%. I know that solar chargers, at least in the past, have had a reputation for being pretty hard on batteries, but it's generally a pretty tough environment - temperature extremes, discharge depth, fast charge rates etc. Battery manufacturer datasheets are likely to be a good starting point. RP 2008/5/26 Grant Brown : > Hi all, > > Does any one know of or could point me in the right direction, but I > need an algorithm to charge lead acid battery's from a solar panel array. > > This is a 10Kw Solar array that feeds into a 2000 amp hour battery pack. > > I can buy a unit ready made but it does not suit my needs so I'll make > one from a PIC microprocessor. > > I need to be able to, > > * Charge the battery pack, > * Control load access > * Preform battery maintenance cycles. > > -- > Kind Regards > Grant Brown > > SiteDoc Pty Ltd > mob: 0412 926 995 > www.sitedoc.com.au > __________________________________________________________________________________________________________ > This email message together with any attachments is intended only for the addressee(s) and contains information that may be confidential and/or copyright. If you are not the intended recipient, please notify the sender by reply email (or telephone SiteDoc Pty Ltd on +61 2 42291185) and immediately delete this email together with any attachments from your computer. If you are the intended recipient, you must not copy, disclose, reproduce or distribute this communication together with any attachments without the authority of SiteDoc Proprietary Limited. No representation is made that this email or any attachments are free of viruses. Virus scanning is recommended and is the responsibility of the recipient. Unless specifically stated by the sender as the views of SiteDoc Proprietary Limited, any views expressed in this message are those of the individual sender, and no responsibility will be borne by SiteDoc Proprietary Limited for its content or outcomes. > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist