Design of process control system