The main purpose of this article is to develop a 300W bidirectional quasi-resonant flyback charger whose architecture is to share the same transformer on the high-voltage side and the low-voltage side to achieve the function of bidirectional conversion. Separate constant-current/constant-voltage loops are installed between the two sides to control battery charging. In this study, the quasi-resonant flybackconverter uses valley switching methods to improve conversion efficiency. Charge and discharge experiments and analysis were carried out in two cases: 48V step-down to 12V and 12V step-up to 48V. Finally, the relationship between the change of the internal impedance of the lead-acid battery and the battery's charge and discharge performance is discussed.