Control method and device of air conditioner and air conditioner system
By controlling the frequency of operation of air conditioning relays and prioritizing the operation of relays with fewer operation frequency, the lifespan of the air conditioning thermostat relays is extended, and the problem of high failure rate caused by uneven relay usage frequency is solved.
Patent Information
- Application Number
- CN202411418355.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2044-10-11
AI Technical Summary
The relays in existing air conditioner thermostats have a short lifespan, especially the relays that control the compressor switching signal, which are prone to failure due to high usage frequency.
By acquiring the number of actions of two relays, the relay with the fewest actions is controlled to open or close, while the other remains unchanged. When the outdoor unit of the air conditioner receives an electrical signal, the compressor is controlled to start and the reversing valve remains in its default state. Priority is given to controlling the relay with fewer actions, thus extending the service life of the relay.
It reduces the failure rate of relays, extends their service life, and solves the problem of short lifespan of thermostat relays.
Smart Images

Figure CN119022398B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of air conditioning control technology, and more specifically, to an air conditioning control method, device, and air conditioning system. Background Technology
[0002] In the industry, air conditioners without communication functions are controlled by two electrical signals for switching on and off. Typically, two relays are used in the thermostat to control these two signals: one controls the compressor's on / off signal, and the other controls the four-way valve's reversing signal. Switching between cooling and heating modes is also simple: cooling mode only requires a compressor on / off signal, while heating mode requires both the compressor on / off signal and the four-way valve reversing signal. Therefore, the compressor on / off signal needs to be activated in both cooling and heating modes, resulting in a high usage frequency for the relay controlling this signal. Consequently, this relay is more prone to reaching the end of its mechanical lifespan and failing, leading to a higher failure rate. Conversely, the relay controlling the four-way valve reversing signal is only used in one of the modes, thus its usage frequency is low, and it has the potential to reduce the number of uses. Summary of the Invention
[0003] The main objective of this application is to provide an air conditioning control method, device, and air conditioning system, so as to at least solve the problem of low relay lifespan in the thermostat of air conditioners in the prior art.
[0004] To achieve the above objectives, according to one aspect of this application, a control method for an air conditioner is provided. The air conditioner includes a thermostat and an outdoor unit. The thermostat includes two relays, and the outdoor unit includes a reversing valve and a compressor. The method includes: acquiring the number of actions of the two relays to obtain two action counts, wherein the number of actions is the sum of the number of times the relays are closed and opened; when the thermostat receives a control command to enter a cooling mode, controlling the relay corresponding to the largest number of actions to remain unchanged, and controlling the relay corresponding to the smallest number of actions to open, close, or remain unchanged, such that one relay is open and the other relay is closed, and controlling the number of actions of the relays that are opened or closed to be incremented by 1; when the outdoor unit receives an electrical signal, controlling the compressor to start and controlling the reversing valve to remain in a default state, wherein the electrical signal is the control signal output by the closed relay, and the default state is the state of the reversing valve in the cooling mode.
[0005] Optionally, after obtaining the number of actions of the two relays, the method further includes: when the thermostat receives a control command to enter the heating mode, controlling the disconnected relay to close, and controlling the number of actions of the relay that performs the closure to increment by 1; when the outdoor unit of the air conditioner receives two electrical signals, controlling the compressor to start and controlling the reversing valve to switch.
[0006] Optionally, the two relays are a first relay and a second relay, respectively. The number of actions of the first relay is a first action count, and the number of actions of the second relay is a second action count. When the thermostat receives a control command to enter the cooling mode, the relay corresponding to the largest number of actions is kept unchanged, and the relay corresponding to the smallest number of actions is opened, closed, or kept unchanged, such that one relay is opened and the other relay is closed. The number of actions of the relay that is opened or closed is incremented by 1. This includes: when the thermostat receives a control command to enter the cooling mode, obtaining the states of the first relay and the second relay; when both the first relay and the second relay are closed and the first action count is less than or equal to the first action count, controlling the first relay to open, controlling the second relay to remain unchanged, and controlling the first action... The number of actions is incremented by 1; when both the first and second relays are closed and the number of actions is greater than the number of actions, the second relay is opened, the first relay remains unchanged, and the number of actions is incremented by 1; when both the first and second relays are open and the number of actions is less than or equal to the number of actions, the first relay is closed, the second relay remains unchanged, and the number of actions is incremented by 1; when both the first and second relays are open and the number of actions is greater than the number of actions, the second relay is closed, the first relay remains unchanged, and the number of actions is incremented by 1; when one of the first and second relays is open and the other is closed, both the first and second relays remain unchanged.
[0007] Optionally, the two relays are a first relay and a second relay, with the first relay's operation count being a first operation count and the second relay's operation count being a second operation count. When the thermostat receives a control command to enter the heating mode, it controls the disconnected relay to close and increments the operation count of the closing relay by 1. This includes: when the thermostat receives a control command to enter the heating mode, acquiring the states of the first relay and the second relay; when both the first relay and the second relay are closed, keeping them unchanged; when both the first relay and the second relay are open, closing both the first relay and the second relay, and incrementing both the first operation count and the second operation count by 1; when both the first relay is open and the second relay is closed, closing the first relay and incrementing the first operation count by 1; and when both the first relay is closed and the second relay is open, closing the second relay and incrementing the second operation count by 1.
[0008] Optionally, when the outdoor unit of the air conditioner receives an electrical signal, the compressor is controlled to start and the reversing valve is kept unchanged. After the electrical signal is the control signal output by the closed relay, the method further includes: when the indoor temperature corresponding to the air conditioner is lower than the set temperature, controlling the closed relay of the two relays to open, and controlling the number of actions corresponding to the closed relay of the two relays to increment by 1; when the difference between the indoor temperature corresponding to the air conditioner and the set temperature is greater than a first predetermined threshold, sending a control command to enter the cooling mode to the thermostat.
[0009] Optionally, after the air conditioner outdoor unit receives two electrical signals, and controls the compressor to start and the reversing valve to switch, the method further includes: if the indoor temperature corresponding to the air conditioner is greater than the set temperature, controlling both relays to disconnect and controlling both action counts to increment by 1; if the difference between the set temperature and the indoor temperature corresponding to the air conditioner is greater than a second predetermined threshold, sending a control command to enter the heating mode to the thermostat.
[0010] Optionally, the method further includes: when the outdoor unit of the air conditioner does not receive the electrical signal, controlling the compressor to shut down, controlling the reversing valve to remain unchanged for a predetermined period of time, and then controlling the reversing valve to restore the default state.
[0011] Optionally, the two relays are a first relay and a second relay, and the method further includes: when the thermostat receives a control command to enter the cooling mode, controlling the first relay to close and the second relay to open; when the thermostat receives a control command to enter the heating mode, controlling the first relay to open and the second relay to close; when the outdoor unit of the air conditioner receives an electrical signal output by the first relay, controlling the compressor to start and controlling the reversing valve to remain in its default state; when the outdoor unit of the air conditioner receives an electrical signal output by the second relay, controlling the compressor to start and controlling the reversing valve to switch.
[0012] According to another aspect of this application, an air conditioner control device is provided. The air conditioner includes a thermostat and an outdoor unit. The thermostat includes two relays, and the outdoor unit includes a reversing valve and a compressor. The device includes: an acquisition unit, configured to acquire the number of actions of the two relays, obtaining two action counts, wherein the number of actions is the sum of the number of times the relays are closed and opened; a first control unit, configured to, when the thermostat receives a control command to enter the cooling mode, control the relay corresponding to the largest number of actions to remain unchanged, and control the relay corresponding to the smallest number of actions to open, close, or remain unchanged, such that one relay is open and the other relay is closed, and control the number of actions of the relays that are opened or closed to be incremented by 1; and a second control unit, configured to, when the outdoor unit receives an electrical signal, control the compressor to start and control the reversing valve to remain in a default state, wherein the electrical signal is the control signal output by the closed relay, and the default state is the state of the reversing valve in the cooling mode.
[0013] According to another aspect of this application, an air conditioning system is provided, comprising: at least one air conditioner, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including methods for performing any one of the methods described.
[0014] Applying the technical solution of this application, in the above-mentioned air conditioner control method, since the air conditioner typically closes only one relay in cooling mode to control the compressor to start, while in heating mode it closes two relays, resulting in different usage frequencies of the two relays, this method first obtains the number of times the two relays have been activated. When the thermostat receives the control command to enter cooling mode, it prioritizes the activation of the relay with fewer activations, while the other does not activate, causing one relay to open and the other to close. This sends an electrical signal to the outdoor unit of the air conditioner, controlling the compressor to start and keeping the reversing valve in its default state, thus enabling the air conditioner to enter cooling mode. Based on the cooling mode control, prioritizing the activation of the relay with fewer activations reduces the relay failure rate and extends the relay's service life, solving the problem of low relay service life in the thermostat of air conditioners in the prior art. Attached Figure Description
[0015] Figure 1 A hardware structure block diagram of a mobile terminal for performing an air conditioning control method according to an embodiment of this application is shown;
[0016] Figure 2 A schematic flowchart of an air conditioner control method according to an embodiment of this application is shown;
[0017] Figure 3 A schematic diagram of the internal structure of an air conditioner according to an embodiment of this application is shown;
[0018] Figure 4 A schematic diagram of an air conditioning cooling mode control according to an embodiment of this application is shown;
[0019] Figure 5 A schematic flowchart of an air conditioning heating mode control according to an embodiment of this application is shown;
[0020] Figure 6 A structural block diagram of an air conditioner control device according to an embodiment of this application is shown.
[0021] The above figures include the following reference numerals:
[0022] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device. Detailed Implementation
[0023] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0024] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0026] As described in the background section, the relays of the thermostats in existing air conditioners have a short service life. To solve this technical problem, embodiments of this application provide an air conditioner control method, device, and air conditioning system.
[0027] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0028] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for an air conditioner control method according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0029] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the air conditioner control method in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the aforementioned networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0030] This embodiment provides a control method for an air conditioner that runs on a mobile terminal, computer terminal, or similar computing device. The air conditioner includes a thermostat and an outdoor unit. The thermostat includes two relays, and the outdoor unit includes a reversing valve and a compressor. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0031] Figure 2 This is a flowchart of an air conditioner control method according to an embodiment of this application. Figure 2 As shown, the method includes the following steps:
[0032] Step S201: Obtain the number of times the two relays were operated, and obtain two number of times the relays were operated, which is the sum of the number of times the relays were closed and opened.
[0033] Step S202: When the thermostat receives a control command to enter the cooling mode, the relay corresponding to the maximum number of actions is kept unchanged, and the relay corresponding to the minimum number of actions is opened, closed, or kept unchanged, so that one relay is opened and the other relay is closed, and the number of actions of the relay that performs the opening or closing is incremented by 1.
[0034] In step S203, when the outdoor unit of the air conditioner receives an electrical signal, the compressor is controlled to start and the reversing valve is controlled to remain in the default state. The electrical signal is the control signal output by the closed relay, and the default state is the state of the reversing valve in the cooling mode.
[0035] In the aforementioned air conditioner control method, since the air conditioner typically closes only one relay to control the compressor to start in cooling mode, while closing two relays in heating mode, the two relays have different usage frequencies. This method first obtains the number of times the two relays have been activated. When the thermostat receives the control command to enter cooling mode, it prioritizes the activation of the relay with fewer activations, while keeping the other relay inactive. This causes one relay to open and the other to close, sending an electrical signal to the outdoor unit of the air conditioner to control the compressor to start and keep the reversing valve in its default state, thus enabling the air conditioner to enter cooling mode. Based on the cooling mode control, prioritizing the activation of the relay with fewer activations reduces the relay failure rate and extends the relay's service life, solving the problem of low relay lifespan in existing air conditioner thermostats.
[0036] To achieve heating mode control, in one optional implementation, after obtaining the number of actions of the two aforementioned relays, the method further includes:
[0037] Step S301: When the thermostat receives a control command to enter the heating mode, it controls the disconnected relay to close and controls the number of actions of the relay that performs the closing to increment by 1.
[0038] In step S302, when the outdoor unit of the air conditioner receives two electrical signals, the compressor is controlled to start and the reversing valve is controlled to switch.
[0039] In the above implementation, when the thermostat receives the control command to enter the heating mode, all the disconnected relays close, and two electrical signals are sent to the outdoor unit of the air conditioner to control the compressor to start and control the reversing valve to switch, so that the air conditioner enters the heating mode. This can realize both cooling mode control and heating mode control.
[0040] Specifically, such as Figure 3As shown, the first relay is relay 1, and the second relay is relay 2. When the user operates the thermostat to select the cooling mode, the thermostat's main chip receives the control command to enter the cooling mode and controls relays 1 and 2 through the relay control module, causing one relay to open and the other to close. The relay with fewer actuations is prioritized. The outdoor unit's electrical signal receiving module receives the electrical signals output by relays 1 and 2 through electrical signal receiving circuits 1 and 2, respectively. If only one electrical signal is received, the outdoor unit's main chip controls the compressor to start and keeps the reversing valve in its default state. To achieve the cooling mode, the user operates the thermostat to select the heating mode. The thermostat's main chip receives the control command to enter the heating mode and controls relays 1 and 2 through the relay control module, causing both relays to close. The outdoor unit's electrical signal receiving module receives the electrical signals output by relays 1 and 2 through electrical signal receiving circuits 1 and 2, respectively. Upon receiving both electrical signals, the outdoor unit's main chip controls the compressor to start and controls the reversing valve to switch, thus entering the heating mode. Since the meaning of the two electrical signals is not distinguished, the system can still control the system normally even if the two electrical signals are reversed.
[0041] To balance the number of operations of the two relays, in one optional embodiment, the two relays are a first relay and a second relay, the number of operations of the first relay is the first number of operations, and the number of operations of the second relay is the second number of operations. Step S202 includes:
[0042] Step S2021: When the thermostat receives a control command to enter the cooling mode, the status of the first relay and the second relay is obtained.
[0043] Step S2022: When both the first relay and the second relay are in the closed state and the number of first actions is less than or equal to the number of first actions, the first relay is controlled to open, the second relay is controlled to remain unchanged, and the number of first actions is controlled to increment by 1.
[0044] Step S2023: When both the first relay and the second relay are in the closed state and the number of first actions is greater than the number of first actions, control the second relay to open, control the first relay to remain unchanged, and control the number of second actions to increment by 1.
[0045] Step S2024: When both the first relay and the second relay are in the open state and the number of first actions is less than or equal to the number of first actions, control the first relay to close, control the second relay to remain unchanged, and control the number of first actions to increment by 1.
[0046] Step S2025: When both the first relay and the second relay are in the open state and the number of first actions is greater than the number of first actions, control the second relay to close, control the first relay to remain unchanged, and control the number of second actions to increment by 1.
[0047] Step S2026: When one of the first relay and the second relay is in an open state and the other is in a closed state, control the first relay and the second relay to remain unchanged.
[0048] In the above embodiments, such as Figure 4 As shown, the first relay is relay 1, and the second relay is relay 2. The system reads the historical action counts (a1 and a2) of relays 1 and 2 from the storage module and checks their current status. If both relays 1 and 2 are closed, the system is currently in heating mode. The relay with the fewer historical action counts is prioritized for disconnection: if a1 ≤ a2, relay 1 is disconnected, and the a1 count is incremented by 1; if a1 > a2, relay 2 is disconnected, and the a2 count is incremented by 1. If both relays 1 and 2 are open, the system is currently in shutdown mode. The relay with the fewer historical action counts is prioritized for closing: if a1 ≤ a2, relay 1 is closed, and the a1 count is incremented by 1; if a1 > a2, relay 2 is closed, and the a2 count is incremented by 1. If only one relay is closed and the other is open, the system is in cooling mode, and the current unit operation is maintained.
[0049] To achieve heating mode control, in one optional embodiment, the two relays are a first relay and a second relay, the number of times the first relay operates is a first number of operations, and the number of times the second relay operates is a second number of operations. Step S301 includes:
[0050] Step S3011: When the thermostat receives a control command to enter the heating mode, the status of the first relay and the second relay is obtained.
[0051] Step S3012: When both the first relay and the second relay are in the closed state, control the first relay and the second relay to remain unchanged.
[0052] Step S3013: When both the first relay and the second relay are in the open state, control both the first relay and the second relay to close, and control both the first action count and the second action count to increment by 1.
[0053] Step S3014: When the first relay is in the open state and the second relay is in the closed state, control the first relay to close and control the first action count to increment by 1.
[0054] Step S3015: When the first relay is in the closed state and the second relay is in the open state, control the second relay to close and control the second action count to increment by 1.
[0055] In the above embodiments, such as Figure 5 As shown, the first relay is relay 1, and the second relay is relay 2. The system reads the historical action counts a1 and a2 of relays 1 and 2 from the storage module and checks the current status of relays 1 and 2. If both relays 1 and 2 are closed, it is in heating mode, maintaining the current unit operation. If both relays 1 and 2 are open, it is in shutdown mode, and both relays 1 and 2 are closed, incrementing the counts of a1 and a2 by 1. If only one of relays 1 and 2 is closed, and the other is open, it is in cooling mode. If relay 1 is open and relay 2 is closed, relay 1 is closed, and the count of a1 is incremented by 1. If relay 1 is closed and relay 2 is open, relay 2 is closed, and the count of a2 is incremented by 1.
[0056] To maintain temperature stability, in one optional embodiment, upon receiving an electrical signal from the outdoor unit of the air conditioner, the compressor is controlled to start while the reversing valve remains unchanged. After the electrical signal is a control signal output by the closed relay, the method further includes:
[0057] Step S401: When the indoor temperature corresponding to the air conditioner is lower than the set temperature, the closed relay of the two relays is controlled to open, and the number of actions corresponding to the closed relay of the two relays is incremented by 1.
[0058] In step S402, if the difference between the indoor temperature corresponding to the air conditioner and the set temperature is greater than the first predetermined threshold, a control command to enter the cooling mode is sent to the thermostat.
[0059] In the above embodiment, the cooling mode starts and stops at the temperature point as follows: when the indoor temperature is lower than the set temperature, the system enters the temperature point stop state, disconnects the closed relay, and increments the corresponding historical action count by 1. When the indoor temperature is higher than the set temperature + X (a first predetermined threshold, 0~3℃), the system restarts and sends a control command to enter the cooling mode to the thermostat.
[0060] To maintain temperature stability, in one optional implementation, after the outdoor unit of the air conditioner receives two electrical signals, and controls the compressor to start and the reversing valve to switch, the method further includes:
[0061] Step S501: When the indoor temperature corresponding to the air conditioner is greater than the set temperature, control both of the above-mentioned relays to disconnect and control both of the above-mentioned action counts to increment by 1.
[0062] In step S502, if the difference between the set temperature and the indoor temperature corresponding to the air conditioner is greater than the second predetermined threshold, a control command to enter the heating mode is sent to the thermostat.
[0063] In the above embodiment, the heating mode starts and stops at the temperature point as follows: when the indoor temperature is higher than the set temperature, the system enters the temperature point stop state, disconnects the two relays, and increments the counts of relays a1 and a2 by 1. When the indoor temperature is lower than the set temperature + X (a second predetermined threshold, 0~3℃), the system restarts and sends a control command to enter the heating mode to the thermostat.
[0064] To avoid frequent switching of the directional valve, in one optional embodiment, the above method further includes:
[0065] Step S601: If the outdoor unit of the air conditioner does not receive the above-mentioned electrical signal, control the compressor to shut down, control the reversing valve to remain unchanged for a predetermined period of time, and then control the reversing valve to return to the above-mentioned default state.
[0066] In the above embodiments, the four-way valve is a mechanical structure and also has mechanical lifespan issues. Unnecessary reversing should be avoided as much as possible. For example, when the unit is shut down at a specific temperature, the four-way valve should not be reversed because the temperature will usually change after a period of time, requiring restarting. Therefore, it is necessary to maintain the current state of the unit's piping. That is, when no electrical signal is detected in either of the two circuits, the external compressor is shut down, and the compressor is shut down, maintaining the current state of the four-way valve. If no electrical signal is detected after a predetermined period (e.g., 1 hour), the four-way valve signal is disconnected, allowing the four-way valve to return to its default state.
[0067] To balance the number of operations of the two relays, in one optional implementation, the two relays are a first relay and a second relay, and the method further includes:
[0068] Step S701: When the thermostat receives a control command to enter the cooling mode, it controls the first relay to close and the second relay to open.
[0069] Step S702: When the thermostat receives a control command to enter the heating mode, it controls the first relay to open and the second relay to close.
[0070] Step S703: When the outdoor unit of the air conditioner receives the electrical signal output by the first relay, the compressor is controlled to start and the reversing valve is controlled to remain in the default state.
[0071] In step S704, when the outdoor unit of the air conditioner receives the electrical signal output by the second relay, the compressor is controlled to start and the reversing valve is controlled to switch.
[0072] In the above implementation, the two electrical signals are changed so that one activates the cooling mode and the other activates the heating mode. Cooling and heating mode differentiation control scheme: The indoor unit of the air conditioner generally does not need to differentiate between cooling and heating operation; it only needs to turn on the indoor fan for airflow and heat exchange, so no differentiation is described. Cooling mode: 1. When the user operates the thermostat to activate the cooling mode, the thermostat closes relay 1. 2. The outdoor unit of the air conditioner receives the cooling mode signal and enters cooling mode operation. Heating mode: 1. When the user operates the thermostat to activate the heating mode, the thermostat closes relay 2. 2. The outdoor unit of the air conditioner receives the heating mode signal and enters heating mode operation.
[0073] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0074] This application also provides an air conditioner control device. It should be noted that the air conditioner control device of this application embodiment can be used to execute the air conditioner control method provided in this application embodiment. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0075] The following describes the control device for an air conditioner provided in the embodiments of this application. The air conditioner includes a thermostat and an outdoor unit. The thermostat includes two relays, and the outdoor unit includes a reversing valve and a compressor.
[0076] Figure 6 This is a structural block diagram of an air conditioner control device according to an embodiment of this application. Figure 6 As shown, the device includes:
[0077] The acquisition unit 10 is used to acquire the number of times the two relays were operated, and to obtain two number of times the relays were operated, which is the sum of the number of times the relays were closed and opened.
[0078] The first control unit 20 is configured to, when the thermostat receives a control command to enter the cooling mode, keep the relay corresponding to the maximum number of actions unchanged, and control the relay corresponding to the minimum number of actions to open, close, or remain unchanged, so that one relay is open and the other relay is closed, and control the number of actions of the relay that performs the opening or closing to be incremented by 1.
[0079] The second control unit 30 is used to control the compressor to start and control the reversing valve to remain in the default state when the outdoor unit of the air conditioner receives an electrical signal. The electrical signal is the control signal output by the closed relay, and the default state is the state of the reversing valve in the cooling mode.
[0080] In the aforementioned air conditioner control device, since the air conditioner typically closes only one relay in cooling mode to control the compressor to start, while in heating mode it closes two relays, resulting in different usage frequencies for the two relays, the device first obtains the number of times each relay has been activated. When the thermostat receives the control command to enter cooling mode, it prioritizes activating the relay with fewer activations, while keeping the other relay inactive. This causes one relay to open and the other to close, sending an electrical signal to the outdoor unit of the air conditioner to control the compressor to start and maintain the reversing valve in its default state, thus enabling the air conditioner to enter cooling mode. Based on the cooling mode control, prioritizing the activation of the relay with fewer activations reduces the relay failure rate and extends the relay's service life, solving the problem of low relay lifespan in existing air conditioner thermostats.
[0081] To achieve heating mode control, in one optional embodiment, the above-mentioned device further includes:
[0082] The third control unit is configured to, after obtaining the number of actions of the two aforementioned relays and obtaining the two number of actions, control the disconnected relays to close when the aforementioned thermostat receives a control command to enter the heating mode, and control the number of actions of the aforementioned relays that perform the closing to be incremented by 1.
[0083] The fourth control unit is used to control the compressor to start and control the reversing valve to switch when the outdoor unit of the air conditioner receives two electrical signals.
[0084] In the above implementation, when the thermostat receives the control command to enter the heating mode, all the disconnected relays close, and two electrical signals are sent to the outdoor unit of the air conditioner to control the compressor to start and control the reversing valve to switch, so that the air conditioner enters the heating mode. This can realize both cooling mode control and heating mode control.
[0085] Specifically, such as Figure 3 As shown, the first relay is relay 1, and the second relay is relay 2. When the user operates the thermostat to select the cooling mode, the thermostat's main chip receives the control command to enter the cooling mode and controls relays 1 and 2 through the relay control module, causing one relay to open and the other to close. The relay with fewer actuations is prioritized. The outdoor unit's electrical signal receiving module receives the electrical signals output by relays 1 and 2 through electrical signal receiving circuits 1 and 2, respectively. If only one electrical signal is received, the outdoor unit's main chip controls the compressor to start and keeps the reversing valve in its default state. To achieve the cooling mode, the user operates the thermostat to select the heating mode. The thermostat's main chip receives the control command to enter the heating mode and controls relays 1 and 2 through the relay control module, causing both relays to close. The outdoor unit's electrical signal receiving module receives the electrical signals output by relays 1 and 2 through electrical signal receiving circuits 1 and 2, respectively. Upon receiving both electrical signals, the outdoor unit's main chip controls the compressor to start and controls the reversing valve to switch, thus entering the heating mode. Since the meaning of the two electrical signals is not distinguished, the system can still control the system normally even if the two electrical signals are reversed.
[0086] To balance the number of operations of the two relays, in one optional embodiment, the two relays are a first relay and a second relay, the number of operations of the first relay is a first number of operations, and the number of operations of the second relay is a second number of operations. The first control unit includes:
[0087] The first acquisition module is used to acquire the status of the first relay and the second relay when the thermostat receives a control command to enter the cooling mode.
[0088] The first control module is configured to, when both the first relay and the second relay are in the closed state and the number of first actions is less than or equal to the number of first actions, control the first relay to open, control the second relay to remain unchanged, and control the number of first actions to increment by 1.
[0089] The second control module is used to control the second relay to open, control the first relay to remain unchanged, and control the number of the second actions to increment by 1 when both the first relay and the second relay are in the closed state and the number of the first actions is greater than the number of the first actions.
[0090] The third control module is used to control the first relay to close, control the second relay to remain unchanged, and control the number of first actions to increment by 1 when both the first relay and the second relay are in the open state and the number of first actions is less than or equal to the number of first actions.
[0091] The fourth control module is used to control the second relay to close, control the first relay to remain unchanged, and control the number of the second actions to increment by 1 when both the first relay and the second relay are in the open state and the number of the first actions is greater than the number of the first actions.
[0092] The fifth control module is used to control the first relay and the second relay to remain unchanged when one of the first relay and the second relay is in an open state and the other is in a closed state.
[0093] In the above embodiments, such as Figure 4 As shown, the first relay is relay 1, and the second relay is relay 2. The system reads the historical action counts (a1 and a2) of relays 1 and 2 from the storage module and checks their current status. If both relays 1 and 2 are closed, the system is currently in heating mode. The relay with the fewer historical action counts is prioritized for disconnection: if a1 ≤ a2, relay 1 is disconnected, and the a1 count is incremented by 1; if a1 > a2, relay 2 is disconnected, and the a2 count is incremented by 1. If both relays 1 and 2 are open, the system is currently in shutdown mode. The relay with the fewer historical action counts is prioritized for closing: if a1 ≤ a2, relay 1 is closed, and the a1 count is incremented by 1; if a1 > a2, relay 2 is closed, and the a2 count is incremented by 1. If only one relay is closed and the other is open, the system is in cooling mode, and the current unit operation is maintained.
[0094] To achieve heating mode control, in one optional embodiment, the two relays are designated as a first relay and a second relay, the first relay's operation count is a first operation count, and the second relay's operation count is a second operation count. The third control unit includes:
[0095] The second acquisition module is used to acquire the status of the first relay and the second relay when the thermostat receives a control command to enter the heating mode.
[0096] The sixth control module is used to control the first relay and the second relay to remain unchanged when both the first relay and the second relay are in the closed state.
[0097] The seventh control module is used to control both the first and second relays to close when both are in the open state, and to increment both the first action count and the second action count by 1.
[0098] The eighth control module is used to control the first relay to close when the first relay is in the open state and the second relay is in the closed state, and to control the first action count to increment by 1.
[0099] The ninth control module is used to control the second relay to close when the first relay is in the closed state and the second relay is in the open state, and to control the number of the second action to increment by 1.
[0100] In the above embodiments, such as Figure 5 As shown, the first relay is relay 1, and the second relay is relay 2. The system reads the historical action counts a1 and a2 of relays 1 and 2 from the storage module and checks the current status of relays 1 and 2. If both relays 1 and 2 are closed, it is in heating mode, maintaining the current unit operation. If both relays 1 and 2 are open, it is in shutdown mode, and both relays 1 and 2 are closed, incrementing the counts of a1 and a2 by 1. If only one of relays 1 and 2 is closed, and the other is open, it is in cooling mode. If relay 1 is open and relay 2 is closed, relay 1 is closed, and the count of a1 is incremented by 1. If relay 1 is closed and relay 2 is open, relay 2 is closed, and the count of a2 is incremented by 1.
[0101] To maintain temperature stability, in one optional embodiment, the above-mentioned device further includes:
[0102] The fifth control unit is used to control the compressor to start and control the reversing valve to remain unchanged when the outdoor unit of the air conditioner receives an electrical signal. After the electrical signal is the control signal output by the closed relay, if the indoor temperature corresponding to the air conditioner is lower than the set temperature, it controls the closed relay to open and controls the number of actions corresponding to the closed relay to increment by 1.
[0103] The first transmitting unit is used to send a control command to the thermostat to enter the cooling mode when the difference between the indoor temperature corresponding to the air conditioner and the set temperature is greater than a first predetermined threshold.
[0104] In the above embodiment, the cooling mode starts and stops at the temperature point as follows: when the indoor temperature is lower than the set temperature, the system enters the temperature point stop state, disconnects the closed relay, and increments the corresponding historical action count by 1. When the indoor temperature is higher than the set temperature + X (a first predetermined threshold, 0~3℃), the system restarts and sends a control command to enter the cooling mode to the thermostat.
[0105] To maintain temperature stability, in one optional embodiment, the above-mentioned device further includes:
[0106] The sixth control unit is used to control the compressor to start and control the reversing valve to switch when the outdoor unit of the air conditioner receives two electrical signals. Then, when the indoor temperature corresponding to the air conditioner is greater than the set temperature, it controls both of the relays to disconnect and controls both of the action counts to increment by 1.
[0107] The second transmitting unit is used to send a control command to the thermostat to enter the heating mode when the difference between the set temperature and the indoor temperature corresponding to the air conditioner is greater than a second predetermined threshold.
[0108] In the above embodiment, the heating mode starts and stops at the temperature point as follows: when the indoor temperature is higher than the set temperature, the system enters the temperature point stop state, disconnects the two relays, and increments the counts of relays a1 and a2 by 1. When the indoor temperature is lower than the set temperature + X (a second predetermined threshold, 0~3℃), the system restarts and sends a control command to enter the heating mode to the thermostat.
[0109] To avoid frequent switching of the directional valve, in one optional embodiment, the above-mentioned device further includes:
[0110] The seventh control unit is used to control the compressor to shut down when the outdoor unit of the air conditioner does not receive the above-mentioned electrical signal, and to control the reversing valve to remain unchanged for a predetermined period of time before controlling the reversing valve to return to the above-mentioned default state.
[0111] In the above embodiments, the four-way valve is a mechanical structure and also has mechanical lifespan issues. Unnecessary reversing should be avoided as much as possible. For example, when the unit is shut down at a specific temperature, the four-way valve should not be reversed because the temperature will usually change after a period of time, requiring restarting. Therefore, it is necessary to maintain the current state of the unit's piping. That is, when no electrical signal is detected in either of the two circuits, the external compressor is shut down, and the compressor is shut down, maintaining the current state of the four-way valve. If no electrical signal is detected after a predetermined period (e.g., 1 hour), the four-way valve signal is disconnected, allowing the four-way valve to return to its default state.
[0112] To balance the number of operations of the two relays, in one optional embodiment, the two relays are a first relay and a second relay, and the device further includes:
[0113] The eighth control unit is used to control the first relay to close and the second relay to open when the thermostat receives a control command to enter the cooling mode.
[0114] The ninth control unit is used to control the first relay to open and the second relay to close when the thermostat receives a control command to enter the heating mode.
[0115] The tenth control unit is used to control the compressor to start and control the reversing valve to remain in the default state when the outdoor unit of the air conditioner receives the electrical signal output by the first relay.
[0116] The eleventh control unit is used to control the compressor to start and control the reversing valve to switch when the outdoor unit of the air conditioner receives the electrical signal output by the second relay.
[0117] In the above implementation, the two electrical signals are changed so that one activates the cooling mode and the other activates the heating mode. Cooling and heating mode differentiation control scheme: The indoor unit of the air conditioner generally does not need to differentiate between cooling and heating operation; it only needs to turn on the indoor fan for airflow and heat exchange, so no differentiation is described. Cooling mode: 1. When the user operates the thermostat to activate the cooling mode, the thermostat closes relay 1. 2. The outdoor unit of the air conditioner receives the cooling mode signal and enters cooling mode operation. Heating mode: 1. When the user operates the thermostat to activate the heating mode, the thermostat closes relay 2. 2. The outdoor unit of the air conditioner receives the heating mode signal and enters heating mode operation.
[0118] The control device for the aforementioned air conditioner includes a processor and a memory. The aforementioned acquisition unit, first control unit, and second control unit are all stored as program units in the memory, and the processor executes the aforementioned program units stored in the memory to achieve the corresponding functions. All of the aforementioned modules are located in the same processor; alternatively, the aforementioned modules may be located in different processors in any combination.
[0119] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can address the problem of short relay lifespan in existing air conditioner thermostats.
[0120] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0121] This invention provides a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device containing the computer-readable storage medium to perform the air conditioner control method.
[0122] Specifically, the control methods for air conditioning include:
[0123] Step S201: Obtain the number of times the two relays were operated, and obtain two number of times the relays were operated, which is the sum of the number of times the relays were closed and opened.
[0124] Step S202: When the thermostat receives a control command to enter the cooling mode, the relay corresponding to the maximum number of actions is kept unchanged, and the relay corresponding to the minimum number of actions is opened, closed, or kept unchanged, so that one relay is opened and the other relay is closed, and the number of actions of the relay that performs the opening or closing is incremented by 1.
[0125] In step S203, when the outdoor unit of the air conditioner receives an electrical signal, the compressor is controlled to start and the reversing valve is controlled to remain in the default state. The electrical signal is the control signal output by the closed relay, and the default state is the state of the reversing valve in the cooling mode.
[0126] This invention provides a processor for running a program, wherein the program executes the air conditioner control method during operation.
[0127] Specifically, the control methods for air conditioning include:
[0128] Step S201: Obtain the number of times the two relays were operated, and obtain two number of times the relays were operated, which is the sum of the number of times the relays were closed and opened.
[0129] Step S202: When the thermostat receives a control command to enter the cooling mode, the relay corresponding to the maximum number of actions is kept unchanged, and the relay corresponding to the minimum number of actions is opened, closed, or kept unchanged, so that one relay is opened and the other relay is closed, and the number of actions of the relay that performs the opening or closing is incremented by 1.
[0130] In step S203, when the outdoor unit of the air conditioner receives an electrical signal, the compressor is controlled to start and the reversing valve is controlled to remain in the default state. The electrical signal is the control signal output by the closed relay, and the default state is the state of the reversing valve in the cooling mode.
[0131] This invention provides an air conditioning system, which includes at least one air conditioner, a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:
[0132] Step S201: Obtain the number of times the two relays were operated, and obtain two number of times the relays were operated, which is the sum of the number of times the relays were closed and opened.
[0133] Step S202: When the thermostat receives a control command to enter the cooling mode, the relay corresponding to the maximum number of actions is kept unchanged, and the relay corresponding to the minimum number of actions is opened, closed, or kept unchanged, so that one relay is opened and the other relay is closed, and the number of actions of the relay that performs the opening or closing is incremented by 1.
[0134] In step S203, when the outdoor unit of the air conditioner receives an electrical signal, the compressor is controlled to start and the reversing valve is controlled to remain in the default state. The electrical signal is the control signal output by the closed relay, and the default state is the state of the reversing valve in the cooling mode.
[0135] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:
[0136] Step S201: Obtain the number of times the two relays were operated, and obtain two number of times the relays were operated, which is the sum of the number of times the relays were closed and opened.
[0137] Step S202: When the thermostat receives a control command to enter the cooling mode, the relay corresponding to the maximum number of actions is kept unchanged, and the relay corresponding to the minimum number of actions is opened, closed, or kept unchanged, so that one relay is opened and the other relay is closed, and the number of actions of the relay that performs the opening or closing is incremented by 1.
[0138] In step S203, when the outdoor unit of the air conditioner receives an electrical signal, the compressor is controlled to start and the reversing valve is controlled to remain in the default state. The electrical signal is the control signal output by the closed relay, and the default state is the state of the reversing valve in the cooling mode.
[0139] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0140] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0141] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0142] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0143] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0144] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0145] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0146] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0147] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0148] As can be seen from the above description, the embodiments of this application achieve the following technical effects:
[0149] 1) In the air conditioner control method of this application, since the air conditioner usually closes only one relay to control the compressor to start in the cooling mode, while the heating mode closes two relays, the two relays have different usage frequencies. This method first obtains the number of times the two relays have been activated. When the thermostat receives the control command to enter the cooling mode, it prioritizes the activation of the relay with fewer activations, while the other does not activate. This causes one relay to open and the other relay to close, which sends an electrical signal to the outdoor unit of the air conditioner to control the compressor to start and control the reversing valve to maintain the default state, so that the air conditioner enters the cooling mode. Based on the cooling mode control, the method prioritizes the activation of the relay with fewer activations, reduces the relay failure rate, extends the service life of the relay, and solves the problem of low relay service life of the thermostat in the prior art.
[0150] 2) In the air conditioner control device of this application, since the air conditioner usually closes only one relay to control the compressor to start in the cooling mode, while the heating mode closes two relays, resulting in different usage frequencies of the two relays, the operation frequency of the two relays is obtained first. When the thermostat receives the control command to enter the cooling mode, it prioritizes the operation of the relay with fewer operation frequency, while the other does not operate, so that one relay is open and the other is closed. This sends an electrical signal to the outdoor unit of the air conditioner to control the compressor to start and control the reversing valve to maintain the default state, so that the air conditioner enters the cooling mode. Based on the cooling mode control, the priority is given to controlling the operation of the relay with fewer operation frequency, which reduces the relay failure rate and extends the service life of the relay, thus solving the problem of low relay service life of the thermostat in the prior art.
[0151] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for controlling an air conditioner, characterized in that, An air conditioner includes a thermostat and an outdoor unit. The thermostat includes two relays, and the outdoor unit includes a reversing valve and a compressor. The method includes: The number of actions of the two relays is obtained, and the number of actions is the sum of the number of times the relays are closed and opened; When the thermostat receives a control command to enter the cooling mode, it keeps the relay corresponding to the maximum number of actions unchanged, and keeps the relay corresponding to the minimum number of actions open, closed, or unchanged, so that one relay is open and the other relay is closed, and increments the number of actions of the relay that performs the opening or closing by 1; When the outdoor unit of the air conditioner receives an electrical signal, it controls the compressor to start and controls the reversing valve to remain in the default state. The electrical signal is the control signal output by the closed relay, and the default state is the state of the reversing valve in the cooling mode. After obtaining the number of actions of the two relays, the method further includes: when the thermostat receives a control command to enter the heating mode, controlling the disconnected relay to close, and controlling the number of actions of the relay that performs the closure to increment by 1; when the outdoor unit of the air conditioner receives two electrical signals, controlling the compressor to start and controlling the reversing valve to switch.
2. The method according to claim 1, characterized in that, The two relays are designated as a first relay and a second relay. The first relay has a first number of actuations, and the second relay has a second number of actuations. When the thermostat receives a control command to enter the cooling mode, the relay with the highest number of actuations remains unchanged, while the relay with the lowest number of actuations is controlled to open, close, or remain unchanged, such that one relay is open and the other is closed. The number of actuations of the relay that performs the opening or closing action is incremented by 1. This includes: When the thermostat receives a control command to enter the cooling mode, the status of the first relay and the second relay is obtained; When both the first relay and the second relay are closed and the number of the first action is less than or equal to the number of the first action, the first relay is controlled to open, the second relay is controlled to remain unchanged, and the number of the first action is controlled to increment by 1. When both the first relay and the second relay are in the closed state and the number of the first action is greater than the number of the first action, the second relay is controlled to open, the first relay is controlled to remain unchanged, and the number of the second action is controlled to increment by 1; When both the first relay and the second relay are in the open state and the number of the first action is less than or equal to the number of the first action, the first relay is controlled to close, the second relay is controlled to remain unchanged, and the number of the first action is controlled to increment by 1; When both the first relay and the second relay are in the open state and the number of the first action is greater than the number of the first action, the second relay is controlled to close, the first relay is controlled to remain unchanged, and the number of the second action is controlled to increment by 1; When one of the first relay and the second relay is in an open state and the other is in a closed state, the control of the first relay and the second relay remains unchanged.
3. The method according to claim 1, characterized in that, The two relays are designated as a first relay and a second relay. The first relay's number of operations is the first number of operations, and the second relay's number of operations is the second number of operations. When the thermostat receives a control command to enter the heating mode, it controls the disconnected relay to close and increments the number of operations of the closed relay by 1, including: When the thermostat receives a control command to enter the heating mode, it acquires the status of the first relay and the second relay. When both the first relay and the second relay are in the closed state, the control of the first relay and the second relay remains unchanged; When both the first relay and the second relay are in the open state, control both the first relay and the second relay to close, and control both the first action count and the second action count to increment by 1; When the first relay is in the open state and the second relay is in the closed state, the first relay is controlled to close, and the number of the first action is incremented by 1. When the first relay is in the closed state and the second relay is in the open state, the second relay is controlled to close, and the number of the second action is incremented by 1.
4. The method according to claim 1, characterized in that, When the outdoor unit of the air conditioner receives an electrical signal, it controls the compressor to start and keeps the reversing valve unchanged. After the electrical signal is the control signal output by the closed relay, the method further includes: If the indoor temperature corresponding to the air conditioner is lower than the set temperature, the closed relay of the two relays is opened, and the number of actions corresponding to the closed relay of the two relays is incremented by 1. If the difference between the indoor temperature corresponding to the air conditioner and the set temperature is greater than a first predetermined threshold, a control command to enter the cooling mode is sent to the thermostat.
5. The method according to claim 1, characterized in that, When the outdoor unit of the air conditioner receives two electrical signals, after controlling the compressor to start and controlling the reversing valve to switch, the method further includes: When the indoor temperature corresponding to the air conditioner is higher than the set temperature, both relays are disconnected and the number of actions of both relays is incremented by 1. If the difference between the set temperature and the indoor temperature corresponding to the air conditioner is greater than a second predetermined threshold, a control command to enter the heating mode is sent to the thermostat.
6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: If the outdoor unit of the air conditioner does not receive the electrical signal, the compressor is shut down, the reversing valve remains unchanged for a predetermined period of time, and then the reversing valve is restored to its default state.
7. The method according to claim 1, characterized in that, The two relays are a first relay and a second relay, and the method further includes: When the thermostat receives a control command to enter the cooling mode, it controls the first relay to close and the second relay to open. When the thermostat receives a control command to enter the heating mode, it controls the first relay to open and the second relay to close. When the outdoor unit of the air conditioner receives the electrical signal output by the first relay, it controls the compressor to start and controls the reversing valve to remain in the default state. When the outdoor unit of the air conditioner receives the electrical signal output by the second relay, it controls the compressor to start and controls the reversing valve to switch.
8. A control device for an air conditioner, characterized in that, The air conditioner includes a thermostat and an outdoor unit. The thermostat includes two relays, and the outdoor unit includes a reversing valve and a compressor. The device includes: The acquisition unit is used to acquire the number of times the two relays were operated, and to obtain two operation counts, wherein the operation count is the sum of the number of times the relays were closed and opened; The first control unit is configured to, when the thermostat receives a control command to enter the cooling mode, keep the relay corresponding to the maximum number of actions unchanged, and control the relay corresponding to the minimum number of actions to open, close, or remain unchanged, such that one relay is open and the other relay is closed, and control the number of actions of the relay that performs the opening or closing to be incremented by 1; The second control unit is used to control the compressor to start and control the reversing valve to remain in the default state when the outdoor unit of the air conditioner receives an electrical signal. The electrical signal is the control signal output by the closed relay, and the default state is the state of the reversing valve in the cooling mode. The device further includes: a third control unit, configured to, after acquiring the number of actions of the two relays and obtaining the two number of actions, control the disconnected relays to close and control the number of actions of the closed relays to increment by 1 when the thermostat receives a control command to enter the heating mode; and a fourth control unit, configured to, when the outdoor unit of the air conditioner receives two electrical signals, control the compressor to start and control the reversing valve to reverse.
9. An air conditioning system, characterized in that, include: At least one air conditioner, one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs comprising methods for performing any one of claims 1 to 7.
Citation Information
Patent Citations
Energy-saving method of air conditioner and economizer for air conditioner
CN101737905A
Air conditioner, and on-off control method and on-off control system for resistive load
CN104110800A