A novel procedure for the realization of a fractional-order PID loop-shaping controller, suitable for precision control of mechatronic systems, is introduced in this work. Exploiting appropriate tools, the controller function is approximated as a whole, leading to a simple form of integer-order approximation, when compared to the case where each intermediate part of the PID transfer function is