Such devices are called voltage stabilizers. The essence of the work of stabilizers, regardless of their type is quite simple: they support the given voltage, which should be in this particular network.