Discrete design method for single-loop microprocessor-based process controllers