An algorithm of neural network with orthogonal basis functions based on recursion least square(RLS) was presented and used to analyze the harmonics of power system.The main idea was to use RLS algorithm to train the weights of neural network according to