A gate system with self-training functions includes a gate, a control device and a sensor The gate includes multiple brushless DC motor, gear module and flap. The control device has a self-trainingmodule and a control module, wherein
(he self-training nrodule updates parameters of thc control module and the control module gcnerates input signal of brushless DC motor based on the parameters to drive the flap. Sensor detects the flap position signal of and transmits the position signal to the self{raining module and the control module. Wherein, the input sigrral of brushless DC motor is adjusted when thc parameters ofthe control module are updaled from a difference ofthc position signal, and predefined reference signal which are generated by a training procedure ofthe self-training module.