A power converter includes semiconductor device, a driver device, a
current sensor, a control device, and a capacitor. The semiconductor
device has a plurality of switching elements for converting a direct
current to an alternating current, the direct current being supplied from
a direct current terminal. The driver device controls an operation of the
plurality of switching elements provided in the semiconductor device. The
current sensor detects the alternating current. The control device
controls an operation of the driver device in accordance with the
alternating current that has been detected by the current sensor. The
capacitor is connected with the direct current terminal. The driver
device and the control device are mounted on the same printed board. The
driver device is arranged above the semiconductor device.