The embodiment of the utility model provides an electric automobile and a buck-
boost controller thereof, and belongs to the technical field of buck-boost controllers. The buck-
boost controller comprises: a switch control module, one end of which is connected with a
battery pack and the other end of which is connected with a vehicle quick-plug interface; according to the utility model, by controlling the opening and closing of the first
relay and the second
relay and cooperating with the switch control module, the charging / discharging control of buck-boost of the
battery pack can be realized, and when the switch control module works normally, the comparison circuit module obtains the
power supply voltage from the control end of the switch control module; the
voltage comparison circuit forms a
voltage comparison circuit with the first
relay or the second relay and outputs a
voltage comparison result which is a result of whether the first relay or the second relay is adhered or not; the adhesion state of the first relay and the second relay can be effectively detected in a voltage comparison mode, adhesion signals can be directly obtained, the judgment logic is simple, and the detection efficiency is high.