A method and apparatus for a pump control system. One or more embodiments
of the invention include a pump controller that can perform a
self-calibrating procedure, can provide precise motor speed control, can
provide a limp mode before shutting down the motor when system parameters
are exceeded and/or fault conditions occur, can detect fault conditions,
and can store fault conditions for later retrieval.