In industrial control processes, proportional-integral-derivative (PID) control algorithm is widely employed. Therefore, it is meaningful to design advanced PID controllers, especially for nonlinear control objects. One of the advanced PID controllers is a cerebellar model articulation controller (CMAC) PID controller. In this controller, the PID control parameters are calculated and tuned. The CMAC achieves a higher accuracy by increasing the number of labels of each weight table; this requires a larger memory, and the generalization ability of the controller decreases. On the other hand, if the CMAC requires less memory, the generalization ability increases and accuracy decreases. Hence, in this paper, a novel CMAC in which the accuracy is compatible with the generalization ability is proposed in this paper. In the proposed CMAC, the number of labels of each weight table can be decided by using a hierarchical clustering technology. Moreover, the efficiency of the memory allocation is improved. The effectiveness of the proposed method is verified by experiments.