Design of DSP-based variable speed pump water supply system - data acquisition and processing