Do a google on "ccd exposure calculator" and it should give quite a few hits. Have a look at this one
http://starizona.com/acb/ccd/calc_ideal.aspx
The basic idea id that you take an exposure, measure the adu of the background and enter exposure time and background levels and the calculator spews out an ideal subframe exposure time.
Geoff