A method of controlling a module (603, 702, 801) configured to suppress inrush current used in an on-board bidirectional charger, wherein: the on-board bidirectional charger comprises a PFC-inverter module (602, 701) and the module (603, 702, 801) configured to suppress inrush current, wherein the PFC-inverter module (602, 701) is configured to convert an AC power into a DC power or convert the DC power into the AC power, is connected to an AC input, a positive DC bus and a negative DC bus of the on-board bidirectional charger, and comprises a bus capacitor connected between the positive DC bus and the negative DC bus; and the module (603, 702, 801) configured to suppress inrush current is connected in series with the bus capacitor, and comprises a controlled switch and a suppressor configured to suppress inrush current connected in parallel with the controlled switch, and the method comprises: controlling the on-board bidirectional charger to receive an AC input power and charge the bus capacitor by a limited current through the suppressor, wherein during the charging, the controlled switch is in an off-state and the suppressor is connected to a charging circuit; when a voltage of the bus is equal to a peak value of a voltage of the AC input power, turning on the controlled switch; controlling the PFC-inverter module (602, 701) to charge the bus capacitor by a constant current of a first AC current protection limit; and when the voltage of the bus rises to be close to a set voltage, this voltage close to the set voltage being selected such that in case of a sudden spike of the voltage of the AC input power within a specified range, this spike remains lower than the voltage of the bus, increasing the first AC current protection limit to a normal operation limit, and charging a voltage of the bus capacitor to the set voltage, wherein the set voltage is greater than the peak value of the voltage of the AC input power. the on-board bidirectional charger comprises a PFC-inverter module (602, 701) and the module (603, 702, 801) configured to suppress inrush current, wherein the PFC-inverter module (602, 701) is configured to convert an AC power into a DC power or convert the DC power into the AC power, is connected to an AC input, a positive DC bus and a negative DC bus of the on-board bidirectional charger, and comprises a bus capacitor connected between the positive DC bus and the negative DC bus; and the module (603, 702, 801) configured to suppress inrush current is connected in series with the bus capacitor, and comprises a controlled switch and a suppressor configured to suppress inrush current connected in parallel with the controlled switch, and the method comprises: controlling the on-board bidirectional charger to receive an AC input power and charge the bus capacitor by a limited current through the suppressor, wherein during the charging, the controlled switch is in an off-state and the suppressor is connected to a charging circuit; when a voltage of the bus is equal to a peak value of a voltage of the AC input power, turning on the controlled switch; controlling the PFC-inverter module (602, 701) to charge the bus capacitor by a constant current of a first AC current protection limit; and when the voltage of the bus rises to be close to a set voltage, this voltage close to the set voltage being selected such that in case of a sudden spike of the voltage of the AC input power within a specified range, this spike remains lower than the voltage of the bus, increasing the first AC current protection limit to a normal operation limit, and charging a voltage of the bus capacitor to the set voltage, wherein the set voltage is greater than the peak value of the voltage of the AC input power. controlling the on-board bidirectional charger to receive an AC input power and charge the bus capacitor by a limited current through the suppressor, wherein during the charging, the controlled switch is in an off-state and the suppressor is connected to a charging circuit; when a voltage of the bus is equal to a peak value of a voltage of the AC input power, turning on the controlled switch; controlling the PFC-inverter module (602, 701) to charge the bus capacitor by a constant current of a first AC current protection limit; and when the voltage of the bus rises to be close to a set voltage, this voltage close to the set voltage being selected such that in case of a sudden spike of the voltage of the AC input power within a specified range, this spike remains lower than the voltage of the bus, increasing the first AC current protection limit to a normal operation limit, and charging a voltage of the bus capacitor to the set voltage, wherein the set voltage is greater than the peak value of the voltage of the AC input power.