A voltage regulator is used to control the output of an alternator or generator. Regulators are either internal or external. Internal regulators are mounted within the alternator housing whereas external regulators are typically located on the fenderwell in the engine compartment.