Fundamentals of electrical control