An effective battery voltage regulation is fundamental to extend battery lifetime and to avoid overvoltage. However, the design of this regulation is complicated due to the wide battery impedance range, which, when dealing with universal chargers, is dependent not only on the operating point but also on the battery type and size. This paper first shows how the voltage response becomes highly variable when designing the controller as described in the literature. Then, it proposes to emulate virtual impedance in parallel with the battery, making it possible to achieve a voltage control which is independent of battery characteristics. Experimental results are carried out for a new lithium-ion battery with 25 mΩ-impedance and an overused lead-acid battery with 400 mΩ-impedance. For this large impedance variation, the results evidence the problems of the conventional control and validate the superior performance of the proposed control. He has been involved in more than 70 research projects both with public funding and in co-operation with industry and is the co-inventor of 8 patents.He has also co-authored more than 120 papers and contributions in international journals and conferences, and supervised 9 PhD thesis. His research interests include renewable energies, power electronics, electric energy storage technologies, grid integration of renewable energies and electric microgrids. Luis Marroyo (M'04) received the M.Sc. degree in electrical engineering in 1993 from the University of Tolouse, France, and the Ph.D. degree in electrical engineering in 1997 from the UPNA, Spain, and in 1999 from the LEEI-ENSEEIHT INP Toulouse, France.From 1993 to 1998, he was Assistant Professor at the Department of Electrical and Electronic Engineering of the UPNA, where he currently works as Associate Professor, since 1998. He is the head of the INGEPER research group. He has been involved in more than 60 research projects mainly, in co-operation with industry, he is the co-inventor of 15 international patents and co-authored of more than 100 papers in international journals and conferences. His research interests include power electronics, grid quality and renewable energy.