Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. An embodiment will be described by taking as an example an air conditioner having an indoor unit and an outdoor unit connected by a refrigerant pipe, in which a communication adapter is provided inside the indoor unit, and the indoor unit can be operated by an operation terminal other than a remote controller.
The present invention is not limited to the following embodiments, and various modifications can be made without departing from the scope of the present invention.
Examples
First, a schematic configuration of the air conditioner 1 according to the present invention will be described. As shown in fig. 1, an air conditioner 1 includes: an indoor unit 20 disposed indoors and having a substantially rectangular parallelepiped shape with a horizontal length; and an outdoor unit 30 disposed outdoors and connected to the indoor units 20 by two refrigerant pipes 40. When the air conditioner 1 starts operating, the refrigerant circulates between the indoor units 20 and the outdoor unit 30 through the refrigerant pipes 40, and the indoor air is heated or cooled by the refrigerant in the indoor units 20. Thereby, indoor heating or cooling is performed.
The indoor unit control unit 21 and the communication adapter 50 are stored inside the indoor unit 20. The indoor unit control unit 21 controls the rotation speed of the blower fan provided in the indoor unit 20 and the operation of the wind direction plate provided in the outlet. The indoor unit control unit 21 requests the outdoor unit 30 to have a capacity necessary for setting the temperature of the room in which the indoor unit 20 is installed to the set temperature requested by the user.
The communication adapter 50 provides communication between the indoor unit 20 and the operation terminal 60 when the operation terminal 60 operates the indoor unit 20. Here, the operation terminal 60 is a smartphone, tablet terminal, or the like held by the user, unlike a remote controller, not shown, dedicated to the indoor unit 20, and can communicate with the indoor unit 20 via the communication adapter 50. In addition, a dedicated application program for operating the indoor unit 20 is installed in the operation terminal 60.
As shown in fig. 2, the communication adapter 50 includes a control unit 51, a storage unit 52, an operation terminal communication unit 53, an indoor unit communication unit 54, and an external communication unit 55. The control unit 51 of the communication adapter 50 and the indoor unit control unit 21 of the indoor unit 20 constitute control means of the present invention.
The storage unit 52 is configured by, for example, a flash memory, and stores a communication program 52a and an update control program 52b in advance. The communication program 52a is a program used when converting data relating to the operation information output from the operation terminal 60 into data that can be recognized by the indoor-unit control unit 21. Here, the operation information refers to information (hereinafter, referred to as operation information) relating to the operation of the indoor unit 20, such as start/stop of operation, switching of operation modes (cooling/heating/blowing, etc.), change and switching of set temperatures, air volumes, air direction, timer operation settings, and the like.
The update control program 52b is a program used when the communication program 52a described above is updated to a new program. Specifically, the communication program 52a is used when an update program of the communication program 52a is downloaded from an external server 70, which will be described later, to an area for downloading, not shown, of the storage unit 52, or when the communication program 52a is updated to the update program. The communication program 52a is updated to a new program for the purpose of improving the function, eliminating a malfunction, and the like.
The operation terminal communication unit 53 is an interface for communicating with the operation terminal 60. The indoor unit communication unit 54 is an interface for communicating with the indoor unit control unit 21. The external communication unit 55 is an interface for communicating with the external server 70 via a communication network 80 such as the internet. The external server 70 is, for example, a computer located in a service center of a manufacturing company of the air conditioner 1, and each time the communication program 52a is updated, the updated new communication program 52a is uploaded to the external server 70.
The control unit 51 acquires the data relating to the operation information output from the operation terminal 60 via the operation terminal communication unit 53, and converts the acquired data relating to the operation information into data that can be recognized by the indoor unit control unit 21 using the communication program 52a stored in the storage unit 51. Then, the control unit 51 outputs the converted data to the indoor unit control unit 21 via the indoor unit communication unit 54.
The control unit 51 includes a download unit 51a, a program update unit 51b, and a continuous power supply period determination unit 51 c. The download unit 51a downloads the update program of the communication program 52a from the external server 70 via the network 80 using the update control program 52b stored in the storage unit 52, and stores the downloaded update program in the storage unit 52. The program updating unit 51b updates the communication program 52a to the update program stored in the storage unit 52 by using the update control program 52 b. The continuous power supply period determination unit 51c determines whether or not the continuous power supply period is currently a period in which the possibility that the supply of the operating power to the air conditioner 1 and the communication adapter 50 is cut off is low, using calendar information, whether or not the timer is on or off, and the temperature difference Δ T between the room temperature Ti and the set temperature Tp, which will be described later.
The processing performed when the control unit 51 updates the communication program 52a to the update program will be described below with reference to fig. 3. In fig. 3, ST indicates a step of the process, and the numbers following ST indicate the numbers of the step. The room temperature detected by a room temperature sensor, not shown, of the indoor unit 20 is Ti, and the set temperature that is the target temperature determined by the user operating the operation terminal 60 during the air conditioning operation is Tp. The absolute value of the value obtained by subtracting the room temperature Ti from the set temperature Tp is defined as a temperature difference Δ T, and the temperature difference threshold value of the temperature difference Δ T is defined as Tth.
First, the control unit 51 determines whether or not there is a notification of update of the communication program 52a (ST 1). Specifically, when the update program of the communication program 52a is uploaded to the external server 70, the control unit 51 receives the notification of the update of the communication program 52a transmitted from the external server 70 via the communication network 80 and the external communication unit 55. The control unit 51 determines whether or not the update notification is received in the ST process.
If there is no notification of update of the communication program 52a (ST1 — no), the control unit 51 returns the process to ST 1. If there is a notification of update of the communication program 52a (ST1 — yes), the control section 51 executes download of the update program (ST 2). Specifically, the download unit 51a of the control unit 51 downloads the update program of the communication program 52a stored in the external server 70 via the external communication unit 55 and the communication network 80, and stores the update program in the storage unit 52.
Next, the control unit 51 determines whether summer or winter is currently present (ST 3). Specifically, the continuous power supply period determination unit 51c of the control unit 51 determines whether or not the current time is summer (for example, the current time is a date between 6 months 1 day and 9 months 30 days), or whether or not the current time is winter (for example, the current time is a date between 12 months 1 day and 3 months 30 days), that is, whether or not the current time is the continuous power supply period, using a calendar not shown stored in the storage unit 52 or calendar information obtained from the outside via the communication network 80.
If the current time is summer or winter (ST3 — yes), the control unit 51 updates the communication program 52a to the update program stored in the storage unit 52 (ST8), and returns the process to ST 1. Specifically, when confirming that the current time is summer or winter, the continuous power supply period determination unit 51c of the control unit 51 determines that the current time is in the continuous power supply period, and the control unit 51 receives the determination result and advances the process to ST 8. Then, the program updating unit 51b of the control unit 51 updates the communication program 52a to the update program downloaded in ST2 and stored in the storage unit 52.
In summer and winter, the air conditioner 1 continues the cooling operation (or the dehumidifying operation) and the heating operation for a long time. As described above, it is considered that the user does not perform such an operation as to pull out the power plug of the air conditioner 1 from the outlet or turn off the breaker of the outlet to which the power plug of the air conditioner 1 is connected, while the air conditioner 1 continues the air conditioning operation for a long time. Therefore, even if the update to the update program is performed in summer and winter, the possibility that the power supply to the air conditioner 1 is cut off and the power supply to the communication adapter is also cut off during the update of the program is low, and the update of the communication program 52a to the update program can be smoothly completed.
In ST3, if it is not summer or winter at present (ST3 — no), the control unit 51 determines whether or not there is a timer on/off setting by the user (ST 4). Specifically, the continuous power supply period determination unit 51c of the control unit 51 determines whether or not a signal relating to the setting of the start and stop of the operation of the air conditioner 1 by the timer is received from the operation terminal 60 via the operation terminal communication unit 53, that is, whether or not the continuous power supply period is currently set.
If the timer on/off setting is made by the user (ST4 — yes), the control unit 51 advances the process to ST8, updates the communication program 52a to the update program stored in the storage unit 52, and returns the process to ST 1. Specifically, when the continuous power supply period determination unit 51c of the control unit 51 determines that the timer is on and off, it determines that the time is in the continuous power supply period, and the control unit 51 receives the determination result and advances the process to ST 8. The timer on/off setting by the user is stored in the storage unit 52, and the continuous power supply period determination unit 51c refers to the storage unit 52 to determine whether or not the timer on/off setting is present.
The user sets the on/off of the timer in anticipation of the air conditioner 1 automatically starting the air conditioning operation or automatically stopping the operation at the time set by the user. Therefore, it is considered that the user does not perform such an action as pulling out the power plug of the air conditioner 1 from the outlet or turning off the breaker of the outlet to which the power plug of the air conditioner 1 is connected. Therefore, even if the update program is updated when the user sets the timer on/off, the possibility that the power supply to the air conditioner 1 is cut off during the update of the program and the power supply to the communication adapter is also cut off is low, and the update of the communication program 52a to the update program can be smoothly completed.
In ST4, if there is no timer on/off setting by the user (ST4 — no), the controller 51 acquires the room temperature Ti and the set temperature Tp (ST 5). Specifically, the control unit 51 acquires the room temperature Ti periodically (for example, every 30 seconds) from a room temperature sensor (not shown) of the indoor unit 20, and stores the room temperature Ti in the storage unit 52 in a covering manner. The storage unit 52 stores the latest set temperature Tp determined by the user operating the operation terminal 60 via the operation terminal communication unit 53 as an override, and the control unit 51 acquires the set temperature Tp from the storage unit 52.
Next, the control unit 51 calculates the temperature difference Δ T using the room temperature Ti acquired in ST5 and the set temperature Tp (ST 6). Specifically, the continuous power supply period determination unit 51c of the control unit 51 calculates a value obtained by subtracting the room temperature Ti from the set temperature Tp, and uses the absolute value of the calculated value as the temperature difference Δ T.
Next, the controller 51 determines whether or not the temperature difference Δ T calculated in ST6 is equal to or greater than a temperature difference threshold value Tth (ST 7). Specifically, the continuous power supply period determination unit 51c of the control unit 51 determines whether or not the temperature difference Δ T is equal to or greater than the temperature difference threshold value Tth. Here, the temperature difference threshold Tth is a temperature difference that is predetermined and stored in the storage unit 52, and is, for example, 3 ℃.
When the temperature difference Δ T is equal to or greater than the temperature difference threshold Tth (ST7 — yes), the control unit 51 advances the process to ST8, updates the communication program 52a to the update program stored in the storage unit 52, and returns the process to ST 1. Specifically, when determining that the temperature difference Δ T is equal to or greater than the temperature difference threshold value Tth, the continuous power supply period determination unit 51c of the control unit 51 determines that this time is in the continuous power supply period, and the control unit 51 receives this determination result and advances the process to ST 8.
When the air conditioner 1 starts the air conditioning operation, or when the window or door of the room in which the indoor unit 20 is installed is opened and the room temperature Ti rises or falls rapidly during the air conditioning operation, the temperature difference Δ T between the room temperature Ti and the set temperature Tp becomes large. As described above, when the temperature difference Δ T becomes large during the operation of the air conditioner 1, it is considered that the user does not perform such an operation as pulling the power plug of the air conditioner 1 out of the outlet or turning off the breaker of the outlet to which the power plug of the air conditioner 1 is connected by stopping the air conditioner 1 until the room temperature Ti reaches the set temperature Tp. Therefore, even if the update to the update program is performed when the temperature difference Δ T is equal to or greater than the temperature difference threshold value Tth, the possibility that the power supply to the air conditioner 1 is cut off during the update of the program and the power supply to the communication adapter is also cut off is low, and the update of the communication program 52a to the update program can be smoothly completed.
In ST7, if the temperature difference Δ T is not equal to or greater than the temperature difference threshold value Tth (ST7 — no), the controller 51 returns the process to ST 1. The continuous power supply period of the present invention is determined in summer or winter as determined in ST3, when it is determined in ST4 that the timer on/off setting is present, and when it is determined in ST7 that the temperature difference Δ T is equal to or greater than the temperature difference threshold value Tth.
As described above, the communication adapter 50 provided in the air conditioner 1 according to the present embodiment selects the continuous power supply period in which the power supply to the communication adapter 50 is less likely to be interrupted after downloading the update program of the communication program 52a, and updates the communication program 52a to the update program. This can avoid a problem that the power supply to the communication adapter 50 is interrupted during the update of the program, the update of the program cannot be smoothly performed, and the communication adapter 50 does not operate when the power is supplied again.
In the above-described embodiment, the case of updating the communication program 52a of the communication adapter 50 has been described as an example, but the effect of the present invention can also be exhibited when the control program of the indoor unit 20 is updated. Specifically, the control unit 51 of the communication adapter 50 receives a signal including an update program of the control program of the indoor unit 20 from the external server 70 via the communication network 80 and the external communication unit 55, and transmits the obtained signal to the indoor unit control unit 21 via the indoor unit communication unit 54. Then, after downloading the update program included in the signal, the indoor unit control unit 21 that has received the signal may select a continuous power supply period in which the power supply to the indoor unit 20 is less likely to be interrupted, and update the control program to the update program.
In the present embodiment, the continuous power supply period is described by taking a case in which the timer is set to on/off in summer or winter, and the temperature difference Δ T is equal to or greater than the temperature difference threshold value Tth. However, the present invention is not limited to this, and for example, the power supply to the communication adapter 50 may be a time period with a low possibility of being shut off, such as when the last communication between the operation terminal 60 and the communication adapter 50 is within a predetermined period (for example, within 24 hours, and when the last operation is within 24 hours, it is considered that the possibility of the user intermittently operating the air conditioner 1 is high).
(description of reference numerals)
1 air conditioner
20 indoor machine
30 outdoor machine
50 communication adapter
51 control part
51a download part
51b program update unit
51c continuous power supply period determination unit
52 storage unit
52a communication program
52b update control program
53 operation terminal communication part
54 indoor set communication part
55 external communication unit
60 operating terminal
70 an external server.