Motor-driven compressor (10), with an
electric motor (16) including a rotor (51), a housing (11) including a suction port (11a) which sucks in a fluid, a compression unit (15) driven by the
electric motor (16), the compression unit (15) compressing an inlet fluid, which is the fluid sucked in through the suction port (11a), and discharging a
compressed fluid, which is the compressed inlet fluid, a drive circuit (55) which drives the
electric motor (16), and a control device (60) which controls the drive circuit (55) to control rotation of the rotor (51), wherein the compression unit (15) has a fixed roller (31) attached to the housing (11), a movable roller (32) engaged with the fixed roller (31) and adapted to
orbit the fixed roller (31), and a compression chamber (33) defined by the fixed roller (31) and the movable roller (32), wherein, when the rotor (51) rotates in a predetermined forward direction, the movable roller (32) orbits in the forward direction, and the compression unit (15) thereby compresses the inlet fluid sucked into the compression chamber (33), wherein the motor-driven compressor (10) further comprises an
injection port (43) which sucks an
intermediate pressure fluid into the compression chamber (33), the
intermediate pressure fluid having a pressure higher than that of the inlet fluid and lower than that of the
compressed fluid, wherein the control device (60) comprises a deceleration control device that performs a deceleration control that decelerates the rotor (51) during a first period in response to rotating the rotor (51) in a direction opposite to the forward direction, and a
continuation control means which performs a
continuation control which continues the rotation of the rotor (51) during a second period of time which is longer than the first period of time after the deceleration control is performed, and wherein a fluctuation difference of a rotation frequency of the rotor (51) during the
continuation control is less than a deceleration rotation
frequency difference, which is a difference between a rotation frequency of the rotor (51) when the deceleration control is started and a rotation frequency of the rotor (51) when the deceleration control is ended.