principles and classification of DC generators