A Design of Two-mode Controller Using PC-based Lookup Table Technique and PID Control Algorithm