Basics of automation and control systems