A refrigeration cycle apparatus comprising:
- a refrigerant circuit in which a compressor, a first heat exchanger, a decompression device, and a second heat exchanger are connected via a refrigerant pipe;
- and
- a controller configured to control the refrigerant circuit,
- wherein
- the refrigerant pipe comprises a first pipe connected to a first port of the first heat exchanger and a second pipe connected to a second port of the first heat exchanger,
- the refrigerant circuit includes:
- a four-way valve configured to switch a direction in which the refrigerant flows through the refrigerant circuit, the four-way valve having a third port connected to the first pipe, a fourth port connected to the second heat exchanger, a fifth port connected to a suction port of the compressor, and a sixth port connected to a discharge port of the compressor;
- a first gate valve disposed between the third port of the four-way valve and the first pipe;
- a second gate valve disposed between the third port of the four-way valve and the second pipe;
- a third gate valve disposed between the decompression device and the first pipe;
- and
- a fourth gate valve disposed between the decompression device and the second pipe,
- the controller controls the first to fourth gate valves to be switched between i) a first mode in which the first gate valve and the fourth gate valve assume an open position and the second gate valve and the third gate valve assume a closed position and ii) a second mode in which the first gate valve and the fourth gate valve assume a closed position and the second gate valve and the third gate valve assume an open position,
- the controller controls the four-way valve to be switched between i) a heating operation state in which the third port and the sixth port communicate with each other and the fourth port and the fifth port communicate with each other and ii) a cooling operation state in which the third port and the fifth port communicate with each other and the fourth port and the sixth port communicate with each other,
- when the four-way valve is controlled to be in any one of the heating operation state and the cooling operation state, the controller performs:
- switching the first to fourth gate valves to the second mode in response to a fact that the first mode continues for a first specified period of time;
- and
- switching the first to fourth gate valves to the first mode in response to a fact that the second mode continues for a second specified period of time,
- when the four-way valve is controlled to be in the heating operation state and the first to fourth gate valves are controlled to be in the first mode, refrigerant circulates through the compressor followed by the first pipe followed by the first heat exchanger followed by the second pipe followed by the decompression device followed by the second heat exchanger,
- when the four-way valve is controlled to be in the heating operation state and the first to fourth gate valves are controlled to be in the second mode, the refrigerant circulates through the compressor followed by the second pipe followed by the first heat exchanger followed by the first pipe followed by the decompression device followed by the second heat exchanger,
- when the four-way valve is controlled to be in the cooling operation state and the first to fourth gate valves are controlled to be in the first mode, the refrigerant circulates through the compressor followed by the second heat exchanger followed by the decompression device followed by the second pipe followed by the first heat exchanger followed by the first pipe,
- when the four-way valve is controlled to be in the cooling operation state and the first to fourth gate valves are controlled to be in the second mode, the refrigerant circulates through the compressor followed by the second heat exchanger followed by the decompression device followed by the first pipe followed by the first heat exchanger followed by the second pipe,
- when the first to fourth gate valves are controlled to be in the first mode, the refrigerant in a gas phase state flows in the first pipe,
- when the first to fourth gate valves are controlled to be in the second mode, the refrigerant in a liquid phase state or a gas-liquid two-phase state flows in the first pipe,
- a direction in which the refrigerant flows in the first pipe in the second mode is opposite to that in which the refrigerant flows in the first pipe in the first mode.