Fundamentals of automatic control