A control device for a mobile body, comprising: a charging and electrical power supplying unit configured to convert AC power supplied from an electrical power source device positioned externally of the mobile body via a connector into DC power to charge a battery provided in the mobile body, and configured to convert DC power supplied from the battery into AC power to supply the AC power to an electrical load positioned externally of the mobile body, the charging and electrical power supplying unit including a first smoothing capacitor positioned on a connector side and a second smoothing capacitor (68, 84) positioned on a battery side; and a control unit configured to control the charging and electrical power supplying unit, wherein in a case that the battery is charged using electrical power supplied from the electrical power source device, the control unit completes precharging the first smoothing capacitor and the second smoothing capacitor using electrical power supplied from the battery, before the electrical power from the electrical power source device starts to be supplied to the charging and electrical power supplying unit, wherein a switch is provided between the battery and the second smoothing capacitor, a resistor is configured to limit electrical power supplied to the second smoothing capacitor is connected in parallel with the switch, the control unit is configured to perform the precharging of the second smoothing capacitor by supplying electrical power to the second smoothing capacitor via the resistor in a state in which the switch is turned off, characterized in that the control unit is configured to perform the precharging of the first smoothing capacitor after the precharging of the second smoothing capacitor is completed. a charging and electrical power supplying unit configured to convert AC power supplied from an electrical power source device positioned externally of the mobile body via a connector into DC power to charge a battery provided in the mobile body, and configured to convert DC power supplied from the battery into AC power to supply the AC power to an electrical load positioned externally of the mobile body, the charging and electrical power supplying unit including a first smoothing capacitor positioned on a connector side and a second smoothing capacitor (68, 84) positioned on a battery side; and a control unit configured to control the charging and electrical power supplying unit, wherein in a case that the battery is charged using electrical power supplied from the electrical power source device, the control unit completes precharging the first smoothing capacitor and the second smoothing capacitor using electrical power supplied from the battery, before the electrical power from the electrical power source device starts to be supplied to the charging and electrical power supplying unit, wherein a switch is provided between the battery and the second smoothing capacitor, a resistor is configured to limit electrical power supplied to the second smoothing capacitor is connected in parallel with the switch, the control unit is configured to perform the precharging of the second smoothing capacitor by supplying electrical power to the second smoothing capacitor via the resistor in a state in which the switch is turned off, characterized in that the control unit is configured to perform the precharging of the first smoothing capacitor after the precharging of the second smoothing capacitor is completed.