Regulating voltage or current wherein the variable actually regulated by the final control device is dc using bucking or boosting dc sources