Principles of DC Machines