Simple Pid Example. Architecture, implementation, and simulation of a PID controller