CN111765602A - Air conditioner and remote upgrading method thereof - Google Patents

Air conditioner and remote upgrading method thereof Download PDF

Info

Publication number
CN111765602A
CN111765602A CN202010410018.4A CN202010410018A CN111765602A CN 111765602 A CN111765602 A CN 111765602A CN 202010410018 A CN202010410018 A CN 202010410018A CN 111765602 A CN111765602 A CN 111765602A
Authority
CN
China
Prior art keywords
eeprom
mcu
outdoor
indoor
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010410018.4A
Other languages
Chinese (zh)
Other versions
CN111765602B (en
Inventor
张永良
李永正
陈志昂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Shandong Air Conditioning Co Ltd
Original Assignee
Hisense Shandong Air Conditioning Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Shandong Air Conditioning Co Ltd filed Critical Hisense Shandong Air Conditioning Co Ltd
Priority to CN202010410018.4A priority Critical patent/CN111765602B/en
Publication of CN111765602A publication Critical patent/CN111765602A/en
Application granted granted Critical
Publication of CN111765602B publication Critical patent/CN111765602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/54Control or safety arrangements characterised by user interfaces or communication using one central controller connected to several sub-controllers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/89Arrangement or mounting of control or safety devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/10Temperature
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2140/00Control inputs relating to system states
    • F24F2140/20Heat-exchange fluid temperature

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses an air conditioner and a remote upgrading method thereof, which are applied to the air conditioner comprising a refrigerant circulation loop, a compressor, an outdoor heat exchanger, an indoor heat exchanger, a four-way valve, an indoor environment temperature sensor, an indoor coil temperature sensor, an indoor MCU and an outdoor MCU.

Description

Air conditioner and remote upgrading method thereof
Technical Field
The application relates to the technical field of air conditioners, in particular to an air conditioner and a remote upgrading method of the air conditioner.
Background
At present, most variable frequency air conditioners are provided with an EEPROM (Electrically Erasable programmable read only memory) chip, and the EEPROM chip stores operation parameter data of an air conditioner controller. The program of the air conditioner controller can be kept unchanged, and different system environments can be matched only by modifying the parameters of the EEPROM. The system engineer searches for the optimal EEPROM parameters through various experiments, and in the process, the EEPROM parameter data is frequently updated.
However, the existing methods for updating the parameters of the EEPROMs of the indoor unit and the outdoor unit of the variable frequency air conditioner all require an engineer to disassemble the casing and use a special EEPROM burner to update the parameters. This mode of operation is labor intensive and inefficient, especially requiring on-site resolution by engineers, which can be inconvenient to both users and engineers.
Therefore, how to upgrade the outdoor EEPROM of the air conditioner quickly and efficiently on the premise of not dismounting the air conditioner is a technical problem to be solved at present.
Disclosure of Invention
The invention provides an air conditioner, which is used for solving the technical problem that the outdoor EEPROM of the air conditioner in the prior art is too complicated and inconvenient to upgrade and comprises the following components:
the refrigerant circulation loop circulates the refrigerant in a loop formed by the compressor, the condenser, the expansion valve, the evaporator, the four-way valve and the pressure reducer;
the compressor is used for compressing low-temperature and low-pressure refrigerant gas into high-temperature and high-pressure refrigerant gas and discharging the high-temperature and high-pressure refrigerant gas to the condenser;
one of the outdoor heat exchanger and the indoor heat exchanger works for the condenser, and the other works for the evaporator;
the four-way valve is used for controlling the flow direction of the refrigerant in the refrigerant loop so as to switch the outdoor heat exchanger and the indoor heat exchanger between the condenser and the evaporator;
an indoor environment temperature sensor for detecting an indoor environment temperature;
the indoor coil temperature sensor is used for detecting the temperature of the indoor coil;
the indoor micro control unit MCU is used for writing the information of the electrified erasable programmable read-only memory EEPROM to be upgraded into the FLASH interval of the MCU, and sending the EEPROM data to the outdoor MCU;
and the outdoor micro control unit MCU is used for upgrading the MCU according to the EEPROM data.
The EEPROM information specifically comprises the EEPROM parameter address and data corresponding to the EEPROM parameter address;
the EEPROM data is generated according to the outdoor EEPROM information to be upgraded;
in some embodiments, the FLASH interval includes a first interval and a second interval, the first interval and the second interval have the same size, and the writing of the EEPROM information to be upgraded into the FLASH interval itself includes:
the indoor MCU sets the first interval and the second interval in a FLASH interval;
the indoor MCU writes the EEPROM parameter addresses into the first interval in sequence;
and the indoor MCU writes the data corresponding to the EEPROM parameter address into the second interval according to the writing sequence of the EEPROM parameter address.
In some embodiments, before sending the EEPROM data to the outdoor MCU, the method further includes:
and the indoor MCU sets an EEPROM updating mark in the EEPROM of the indoor MCU, sends a data sending request to the outdoor MCU and receives a response of the outdoor MCU.
In some embodiments, the EEPROM data includes a check code, and the updating of the EEPROM data is performed according to the EEPROM data, specifically:
after receiving the EEPROM, the outdoor MCU generates a success mark and sends the success mark to the indoor MCU, and meanwhile, the outdoor EEPROM is upgraded according to the EEPROM data;
and after receiving the successful receiving mark, the indoor MCU clears the EEPROM updating mark.
In some embodiments, after receiving the EEPROM, the outdoor MCU generates a successful reception flag and sends the successful reception flag to the indoor MCU, and updates the outdoor EEPROM according to the EEPROM data, specifically:
the outdoor MCU judges whether the EEPROM data is correct or not according to the check code in the EEPROM data;
if yes, the outdoor MCU updates the outdoor EEPROM based on the EEPROM parameter address in the EEPROM data and the data corresponding to the EEPROM parameter address, generates the receiving success mark and sends the receiving success mark to the indoor MCU.
In some embodiments, further comprising:
and if the indoor MCU does not receive the successful receiving mark within the preset time, starting an exception handling operation.
In some embodiments, if the indoor MCU does not receive the successful reception flag within a preset time, an exception handling operation is started, specifically:
when the power supply is interrupted and the indoor MCU does not receive the successful receiving mark within the preset time, after the indoor MCU is electrified again, the indoor MCU retransmits the EEPROM data to the outdoor MCU;
and when the communication is interrupted and the indoor MCU does not receive the successful receiving mark within the preset time, the indoor MCU performs power-off processing on the outdoor MCU and retransmits the EEPROM data to the outdoor MCU.
Correspondingly, the invention also provides a remote upgrading method of the air conditioner, which comprises the following steps:
writing outdoor EEPROM information to be upgraded into a FLASH interval of the indoor MCU, wherein the EEPROM information specifically comprises the EEPROM parameter address and data corresponding to the EEPROM parameter address;
the indoor MCU sets an outdoor EEPROM updating mark and sends EEPROM data to the outdoor MCU, and the EEPROM data is generated based on the outdoor EEPROM information to be upgraded;
if the outdoor EEPROM updating mark is successfully sent, the outdoor EEPROM updating mark is cleared based on a receiving success mark returned by the outdoor MCU, and the outdoor EEPROM is updated according to the EEPROM data;
and if the sending fails, executing exception handling operation.
In some embodiments, the FLASH interval includes a first interval and a second interval, the first interval and the second interval have the same size, and the writing of the outdoor EEPROM parameter to be upgraded into the FLASH interval of the indoor MCU specifically includes:
setting the first interval and the second interval in a FLASH interval of the indoor MCU;
writing the EEPROM parameter addresses into the first interval in sequence;
and writing the data corresponding to the EEPROM parameter address into the second interval according to the writing sequence of the EEPROM parameter address.
In some embodiments, the EEPROM data includes a check code, the outdoor EEPROM update flag is cleared based on a success flag returned by the outdoor MCU, and the outdoor EEPROM is updated according to the EEPROM data, specifically:
when the outdoor MCU receives the EEPROM data, a success mark is sent to the indoor MCU;
the indoor MCU clears the outdoor EEPROM mark according to the successful receiving mark;
judging whether the EEPROM data is correct or not according to the check code in the EEPROM data;
and if so, updating the outdoor EEPROM based on the EEPROM parameter address in the EEPROM data and the data corresponding to the EEPROM parameter address.
Compared with the prior art, the invention has the following beneficial effects:
the invention discloses an air conditioner and a remote upgrading method thereof, which are applied to the air conditioner comprising a refrigerant circulation loop, a compressor, an outdoor heat exchanger, an indoor heat exchanger, a four-way valve, an indoor environment temperature sensor, an indoor coil pipe temperature sensor, an indoor MCU and an outdoor MCU. By the air conditioner and the remote upgrading method for the air conditioner, remote upgrading of the outdoor EEPROM of the air conditioner is achieved, and convenience in upgrading of the outdoor EEPROM of the air conditioner is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an air conditioner according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a remote upgrading method for an air conditioner according to an embodiment of the present invention;
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or element must have a particular orientation, be constructed in a particular orientation, and be operated, and thus should not be construed as limiting the present application.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless otherwise specified.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
To further describe the solution of the present application, fig. 1 shows a schematic structural diagram of an air conditioner of the present application.
The application protects an air conditioner, as shown in fig. 1, specifically is:
the refrigerant circulation circuit 101 circulates a refrigerant in a circuit including a compressor, a condenser, an expansion valve, an evaporator, a four-way valve, and a pressure reducer.
In a preferred embodiment of the present application, an air conditioner performs a refrigeration cycle of the air conditioner by using a compressor, a condenser, an expansion valve, and an evaporator. The refrigeration cycle includes a series of processes involving compression, condensation, expansion, and evaporation, and supplies refrigerant to the air that has been conditioned and heat-exchanged.
The compressor 102 is configured to compress a low-temperature and low-pressure refrigerant gas into a high-temperature and high-pressure refrigerant gas, and discharge the high-temperature and high-pressure refrigerant gas to the condenser.
In a preferred embodiment of the present application, the compressor compresses a refrigerant gas in a high temperature and high pressure state and discharges the compressed refrigerant gas. The discharged refrigerant gas flows into the condenser. The condenser condenses the compressed refrigerant into a liquid phase, and heat is released to the surrounding environment through the condensation process.
An outdoor heat exchanger and an indoor heat exchanger 103, one of which operates as a condenser and the other of which operates as an evaporator.
In a preferred embodiment of the present application, the outdoor unit of the air conditioner includes a portion of a refrigeration cycle including a compressor and an outdoor heat exchanger, the indoor unit of the air conditioner includes an indoor heat exchanger, and the expansion valve may be provided in either the indoor unit or the outdoor unit.
The expansion valve expands the liquid-phase refrigerant in a high-temperature and high-pressure state condensed in the condenser into a low-pressure liquid-phase refrigerant. The evaporator evaporates the refrigerant expanded in the expansion valve and returns the refrigerant gas in a low-temperature and low-pressure state to the compressor. The evaporator can achieve a cooling effect by heat-exchanging with a material to be cooled using latent heat of evaporation of a refrigerant. The air conditioner can adjust the temperature of the indoor space throughout the cycle.
The indoor heat exchanger and the outdoor heat exchanger serve as a condenser or an evaporator. When the indoor heat exchanger is used as a condenser, the air conditioner is used as a heater in a heating mode, and when the indoor heat exchanger is used as an evaporator, the air conditioner is used as a cooler in a cooling mode.
A four-way valve 104 for controlling the flow direction of the refrigerant in the refrigerant circuit to switch the outdoor heat exchanger and the indoor heat exchanger as a condenser and an evaporator;
an indoor environment temperature sensor 105 for detecting an indoor environment temperature;
an indoor coil temperature sensor 106 for sensing an indoor coil temperature.
The indoor micro control unit MCU107 is used for writing the information of the electrified erasable programmable read-only memory EEPROM to be upgraded into the FLASH interval of the indoor micro control unit MCU, and sending the EEPROM data to the outdoor MCU;
and the outdoor micro control unit MCU108 is used for upgrading the EEPROM according to the data.
The EEPROM information specifically comprises the EEPROM parameter address and data corresponding to the EEPROM parameter address;
the EEPROM data is generated according to the outdoor EEPROM information to be upgraded;
in the preferred embodiment of the application, the air conditioner comprises an indoor unit and an outdoor unit, wherein the indoor unit and the outdoor unit are both provided with an MCU, when the outdoor EEPROM is upgraded, the EEPROM information to be upgraded is firstly written into a FLASH interval of the indoor MCU, when the outdoor EEPROM is required to be upgraded, the EEPROM in the FLASH interval is processed to generate EEPROM data, the EEPROM data is sent to the outdoor MCU, and the outdoor MCU upgrades the outdoor EEPROM based on the received EEPROM data.
It should be noted that, in order to facilitate transmission of the EEPROM parameters, in a preferred embodiment of the present application, the EEPROM data specifically includes a header code, a byte length, the EEPROM parameter address, data corresponding to the EEPROM parameter address, and a check code, that is, in order that no error occurs in the process of transmitting the EEPROM parameter from the MCU to the outdoor unit, the EEPROM parameter needs to be packaged to generate corresponding EEPROM data, and the specific EEPROM data is formed in a form of header code + byte length + address 1+ data 1+ address 2+ data 2+ … … + address N + data N + checksum.
In order to accurately write the EEPROM information to be upgraded into the FLASH of the indoor MCU, in some embodiments, the FLASH interval includes a first interval and a second interval, the first interval and the second interval have the same size, and the writing of the EEPROM information to be upgraded into the FLASH interval of the FLASH interval includes:
the indoor MCU sets the first interval and the second interval in a FLASH interval;
the indoor MCU writes the EEPROM parameter addresses into the first interval in sequence;
and the indoor MCU writes the data corresponding to the EEPROM parameter address into the second interval according to the writing sequence of the EEPROM parameter address.
In the preferred embodiment of the present application, since the EEPROM parameter includes the EEPROM parameter address and the data corresponding to the EEPROM parameter address, in order to avoid the two data being mixed together when writing in, in the present application, two intervals, namely, a first interval and a second interval, are separately set in the FLASH interval of the indoor MCU, and the parameter address is stored in the first interval in sequence, and the data corresponding to the EEPROM parameter address is written in the second interval in the same sequence, and meanwhile, since the parameter address and the data corresponding to the parameter address are in a one-to-one relationship, the sizes of the first interval and the second interval are equal.
It should be noted that the scheme of the above preferred embodiment is only a specific implementation scheme proposed in the present application, and other ways based on writing the outdoor EEPROM parameters into the FLASH interval of the indoor MCU all belong to the protection scope of the present application.
In order to ensure the normal transmission of the EEPROM data, in some embodiments, before transmitting the EEPROM data to the outdoor MCU, the method further includes:
and the indoor MCU sets an EEPROM updating mark in the EEPROM of the indoor MCU, sends a data sending request to the outdoor MCU and receives a response of the outdoor MCU.
In the preferred embodiment of the application, an EEPROM updating mark is set for the EEPROM of the indoor MCU to mark that the outdoor EEPROM is in a state to be updated, at the moment, the indoor MCU sends a data sending request to the outdoor MCU, and after receiving a response of agreeing to data sending from the outdoor MCU, the indoor MCU sends the EEPROM data to the outdoor MCU.
In order to realize the upgrading of the outdoor EEPROM, in some embodiments, the EEPROM data includes a check code, and the upgrading itself is performed according to the EEPROM data, specifically:
after receiving the EEPROM, the outdoor MCU generates a successful receiving mark and sends the successful receiving mark to the indoor MCU, and meanwhile, the outdoor EEPROM is upgraded according to the EEPROM data;
and after receiving the successful receiving mark, the indoor MCU clears the EEPROM updating mark.
In a preferred embodiment of the present application, after the EEPROM data is successfully transmitted to the outdoor MCU, the outdoor MCU generates a corresponding successful reception flag and transmits the successful reception flag back to the indoor MCU, and after the indoor MCU receives the corresponding successful reception flag, the EEPROM update flag is deleted to indicate that the EEPROM data transmission is completed, and the outdoor MCU updates the outdoor EEPROM according to the received EEPROM data.
It should be noted that the above solution of the preferred embodiment is only one specific implementation solution proposed in the present application, and other ways of setting a flag to indicate the EEPROM transfer process all belong to the protection scope of the present application.
In order to ensure that the outdoor MCU receives the EEPROM data, in some embodiments, after receiving the EEPROM data, the outdoor MCU generates a successful reception flag and sends the successful reception flag to the indoor MCU, and meanwhile, upgrades the outdoor EEPROM according to the EEPROM data, which specifically includes:
the outdoor MCU judges whether the EEPROM data is correct or not according to the check code in the EEPROM data;
if yes, the outdoor MCU updates the outdoor EEPROM based on the EEPROM parameter address in the EEPROM data and the data corresponding to the EEPROM parameter address, generates the receiving success mark and sends the receiving success mark to the indoor MCU.
In the preferred embodiment of the application, errors in the transmission process are avoided, when the EEPROM data are received, the check codes in the EEPROM data are identified, if the check codes are correct, the EEPROM data are not in error, the EEPROM data are split into the EEPROM parameter addresses and the data corresponding to the EEPROM parameter addresses, and finally the EEPROM parameter addresses and the data corresponding to the EEPROM parameter addresses are written into the outdoor EEPROM one by one according to the sequence to finish the upgrading of the EEPROM.
It should be noted that the above solution of the preferred embodiment is only a specific implementation solution proposed in the present application, and other ways of upgrading the outdoor EEPROM based on EEPROM data all belong to the protection scope of the present application.
In order to avoid the abnormal situation, in some embodiments, the method further comprises:
and if the indoor MCU does not receive the successful receiving mark within the preset time, starting an exception handling operation.
In the preferred embodiment of the application, an exception handling mechanism is further provided, and after the indoor MCU sends the EEPROM data to the outdoor MCU and waits for a preset time without receiving a successful reception flag of the outdoor MCU, it indicates that an exception occurs in the EEPROM data transmission process, and at this time, an exception handling operation is performed.
In order to execute the exception handling operation, in some embodiments, if the indoor MCU does not receive the reception success flag within a preset time, an exception handling operation is started, specifically:
when the power supply is interrupted and the indoor MCU does not receive the successful receiving mark within the preset time, after the indoor MCU is electrified again, the indoor MCU retransmits the EEPROM data to the outdoor MCU;
and when the communication is interrupted and the indoor MCU does not receive the successful receiving mark within the preset time, the indoor MCU performs power-off processing on the outdoor MCU and retransmits the EEPROM data to the outdoor MCU.
In the preferred embodiment of the application, if the power is cut off in the upgrading process, and after the power is powered on again, because the indoor MCU reads that the mark needing to be updated of the outdoor EEPROM in the indoor EEPROM exists, the outdoor unit is powered on, a request for upgrading the outdoor EEPROM is sent to the outdoor unit, and the EEPROM data is sent to the outdoor EEPROM again; if the communication is disconnected in the upgrading process, the outdoor information cannot be received within a certain continuous time t, the outdoor power is cut off, the outdoor unit is powered on again after 1min, the outdoor unit is restarted to send a request for upgrading the outdoor EEPROM, then the step of upgrading the outdoor EEPROM is restarted, and if the outdoor information cannot be received within the certain continuous time t, the communication fault is reported through the display screen, so that the user can conveniently need the after-sale service.
It should be noted that the scheme of the above preferred embodiment is only a specific implementation scheme proposed in the present application, and all the ways of protecting the outdoor EEPROM upgrade by other exception handling mechanisms belong to the protection scope of the present application.
The invention discloses an air conditioner, which comprises a refrigerant circulation loop, a compressor, an outdoor heat exchanger, an indoor heat exchanger, a four-way valve, an indoor environment temperature sensor, an indoor coil pipe temperature sensor, an indoor MCU (micro control unit) and an outdoor MCU (micro control unit), wherein the indoor MCU is used for writing the EEPROM information of a charged erasable programmable read-only memory to be upgraded into a FLASH interval of the MCU and sending EEPROM data to the outdoor MCU; the outdoor micro control unit MCU is used for upgrading the outdoor MCU according to the EEPROM data, and the outdoor EEPROM of the air conditioner can be upgraded remotely on the premise of not disassembling the air conditioner through the air conditioner, so that the convenience of upgrading the outdoor EEPROM of the air conditioner is improved.
Based on the air conditioner, the application also provides an air conditioner remote upgrading method, as shown in fig. 2, the method is applied to the air conditioner comprising a refrigerant circulation loop, a compressor, an outdoor heat exchanger, an indoor heat exchanger, a four-way valve, an indoor environment temperature sensor, an indoor coil pipe temperature sensor, an indoor MCU and an outdoor MCU, and the method comprises the following steps:
step S201, writing outdoor EEPROM information to be upgraded into a FLASH interval of the indoor MCU, where the EEPROM information specifically includes the EEPROM parameter address and data corresponding to the EEPROM parameter address.
In the preferred embodiment of the application, outdoor EEPROM information to be upgraded is stored in the FLASH of the indoor MCU in advance, the EEPROM information specifically includes the EEPROM parameter address and data corresponding to the EEPROM parameter address, and the amount of the information can be adjusted according to actual needs.
In order to write the EEPROM information into the FLASH interval, in some embodiments, the FLASH interval includes a first interval and a second interval, the first interval and the second interval have the same size, and the writing of the outdoor EEPROM information to be upgraded into the FLASH interval of the indoor MCU specifically includes:
setting the first interval and the second interval in a FLASH interval of the indoor MCU;
writing the EEPROM parameter addresses into the first interval in sequence;
and writing the data corresponding to the EEPROM parameter address into the second interval according to the writing sequence of the EEPROM parameter address.
In a preferred embodiment of the present application, when the outdoor EEPROM needs to be upgraded, an address in an EEPROM parameter that needs to be upgraded is written into a defined first interval of the indoor MCU, data corresponding to each address is written into a second interval, and a corresponding number of parameters are written according to actual needs, for example, 50 data corresponding to 50 addresses are rewritten altogether, where the 50 addresses are: 0x00, 0x07 … … 0x58, the corresponding parameters are: 0x22, 0x35 … … 0x90, that is, 50 addresses of 0x00, 0x07 … … 0x58 are sequentially placed in the first interval, and 0x22, 0x35 … … 0x90 are sequentially placed in the second interval, that is, the method can be upgraded according to actual requirements, and does not upgrade the whole outdoor EEPROM regardless of the number of parameters to be changed.
And S202, setting an outdoor EEPROM updating mark by the indoor MCU, and sending EEPROM data to the outdoor MCU, wherein the EEPROM data is generated based on the outdoor EEPROM information to be upgraded.
In the preferred embodiment of the application, an outdoor EEPROM updating mark is set in an indoor MCU to mark that the outdoor EEPROM is in a state to be updated, and in the subsequent step, the progress of the upgrading process is indicated by replacing the mark, and simultaneously the EEPROM data is sent to the outdoor MCU.
When the outdoor EEPROM needs to be updated, setting a mark that the outdoor EEPROM needs to be updated in the indoor EEPROM, generating EEPROM data according to the outdoor EEPROM parameters to be updated written in the FLASH interval of the indoor MCU, for example, if 50 outdoor EEPROM parameters need to be modified, the EEPROM is specifically a checksum of a head code, a byte length, an address 1, a data 1, an address 2, a data 2, … …, an address 50, and data 50, and meanwhile, the indoor unit of the air conditioner powers on the outdoor unit and sends a request for updating the outdoor EEPROM to the outdoor unit, and after the outdoor unit responds and allows, the indoor unit sends the EEPROM data to the outdoor unit.
And step S203, if the transmission is successful, clearing the outdoor EEPROM updating mark based on the successful receiving mark returned by the outdoor MCU, and updating the outdoor EEPROM according to the EEPROM data.
In order to write the EEPROM data into the outdoor EEPROM, in some embodiments, the EEPROM data includes a check code, the outdoor EEPROM update flag is cleared based on a success flag returned by the outdoor MCU, and the outdoor EEPROM is updated according to the EEPROM data, specifically:
when the outdoor MCU receives the EEPROM data, a success mark is sent to the indoor MCU;
the indoor MCU clears the outdoor EEPROM mark according to the successful receiving mark;
judging whether the EEPROM data is correct or not according to the check code in the EEPROM data;
and if so, updating the outdoor EEPROM based on the EEPROM parameter address in the EEPROM data and the data corresponding to the EEPROM parameter address.
In a preferred embodiment of the present application, after the EEPROM data is successfully transmitted to the outdoor MCU, the outdoor MCU generates a corresponding successful reception flag and transmits the successful reception flag back to the indoor MCU, and after the indoor MCU receives the corresponding successful reception flag, the flag that needs to be updated is deleted to indicate that the EEPROM data transmission is completed, and when the outdoor EEPROM receives the EEPROM data and determines that the EEPROM data has no error, the outdoor unit transmits the flag that the EEPROM data is successfully received to the indoor unit, and the outdoor EEPROM is updated by the outdoor unit, and the outdoor EEPROM is sequentially updated according to the received 50 addresses and 50 data.
In step S204, if the transmission fails, an exception handling operation is performed.
In the preferred embodiment of the application, if the power is cut off in the upgrading process, and after the power is powered on again, because the indoor MCU reads that the mark needing to be updated of the outdoor EEPROM in the indoor EEPROM exists, the outdoor unit is powered on, a request for upgrading the outdoor EEPROM is sent to the outdoor unit, and the EEPROM data is sent to the outdoor EEPROM again; if the communication is disconnected in the upgrading process, the outdoor information cannot be received within a certain continuous time t, the outdoor power is cut off, the outdoor unit is powered on again after 1min, the outdoor unit is restarted to send a request for upgrading the outdoor EEPROM, then the step of upgrading the outdoor EEPROM is restarted, and if the outdoor information cannot be received within the certain continuous time t, the communication fault is reported through the display screen, so that the user can conveniently need the after-sale service.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. An air conditioner characterized by comprising:
the refrigerant circulation loop circulates the refrigerant in a loop formed by the compressor, the condenser, the expansion valve, the evaporator, the four-way valve and the pressure reducer;
the compressor is used for compressing low-temperature and low-pressure refrigerant gas into high-temperature and high-pressure refrigerant gas and discharging the high-temperature and high-pressure refrigerant gas to the condenser;
one of the outdoor heat exchanger and the indoor heat exchanger works for the condenser, and the other works for the evaporator;
the four-way valve is used for controlling the flow direction of the refrigerant in the refrigerant loop so as to switch the outdoor heat exchanger and the indoor heat exchanger between the condenser and the evaporator;
an indoor environment temperature sensor for detecting an indoor environment temperature;
the indoor coil temperature sensor is used for detecting the temperature of the indoor coil;
the indoor micro control unit MCU is used for writing the information of the electrified erasable programmable read-only memory EEPROM to be upgraded into the FLASH interval of the MCU, and sending the EEPROM data to the outdoor MCU;
and the outdoor micro control unit MCU is used for upgrading the MCU according to the EEPROM data.
The EEPROM information specifically comprises the EEPROM parameter address and data corresponding to the EEPROM parameter address; and the EEPROM data is generated according to the outdoor EEPROM information to be upgraded.
2. The air conditioner according to claim 1, wherein the FLASH section includes a first section and a second section, the first section and the second section have the same size, and the writing of the EEPROM information to be upgraded into the FLASH section of the FLASH section includes:
the indoor MCU sets the first interval and the second interval in a FLASH interval;
the indoor MCU writes the EEPROM parameter addresses into the first interval in sequence;
and the indoor MCU writes the data corresponding to the EEPROM parameter address into the second interval according to the writing sequence of the EEPROM parameter address.
3. The air conditioner of claim 1, further comprising, before transmitting the EEPROM data to the outdoor MCU:
and the indoor MCU sets an EEPROM updating mark in the EEPROM of the indoor MCU, sends a data sending request to the outdoor MCU and receives a response of the outdoor MCU.
4. The air conditioner as claimed in claim 3, wherein the EEPROM data includes a check code, and the EEPROM data is upgraded according to itself, specifically:
after receiving the EEPROM, the outdoor MCU generates a successful receiving mark and sends the successful receiving mark to the indoor MCU, and meanwhile, the outdoor EEPROM is upgraded according to the EEPROM data;
and after receiving the successful receiving mark, the indoor MCU clears the EEPROM updating mark.
5. The air conditioner as claimed in claim 4, wherein the outdoor MCU generates a reception success flag and sends the reception success flag to the indoor MCU after receiving the EEPROM, and meanwhile, upgrades the outdoor EEPROM according to the EEPROM data, specifically:
the outdoor MCU judges whether the EEPROM data is correct or not according to the check code in the EEPROM data;
if yes, the outdoor MCU updates the outdoor EEPROM based on the EEPROM parameter address in the EEPROM data and the data corresponding to the EEPROM parameter address, generates the receiving success mark and sends the receiving success mark to the indoor MCU.
6. The air conditioner according to claim 4, further comprising:
and if the indoor MCU does not receive the successful receiving mark within the preset time, starting an exception handling operation.
7. The air conditioner according to claim 6, wherein if the indoor MCU does not receive the reception success flag within a preset time, an exception handling operation is started, specifically:
when the power supply is interrupted and the indoor MCU does not receive the successful receiving mark within the preset time, after the indoor MCU is electrified again, the indoor MCU retransmits the EEPROM data to the outdoor MCU;
and when the communication is interrupted and the indoor MCU does not receive the successful receiving mark within the preset time, the indoor MCU performs power-off processing on the outdoor MCU and retransmits the EEPROM data to the outdoor MCU.
8. The remote upgrading method of the air conditioner is characterized by being applied to the air conditioner comprising a refrigerant circulation loop, a compressor, an outdoor heat exchanger, an indoor heat exchanger, a four-way valve, an indoor environment temperature sensor, an indoor coil temperature sensor, an indoor MCU and an outdoor MCU, and comprising the following steps:
writing outdoor EEPROM information to be upgraded into a FLASH interval of the indoor MCU, wherein the EEPROM information specifically comprises the EEPROM parameter address and data corresponding to the EEPROM parameter address;
the indoor MCU sets an outdoor EEPROM updating mark and sends EEPROM data to the outdoor MCU, and the EEPROM data is generated based on the outdoor EEPROM information to be upgraded;
if the outdoor EEPROM updating mark is successfully sent, the outdoor EEPROM updating mark is cleared based on a receiving success mark returned by the outdoor MCU, and the outdoor EEPROM is updated according to the EEPROM data;
and if the sending fails, executing exception handling operation.
9. The method of claim 8, wherein the FLASH intervals include a first interval and a second interval, and the first interval and the second interval have the same size, and the writing of the outdoor EEPROM parameter to be upgraded into the FLASH interval of the indoor MCU specifically includes:
setting the first interval and the second interval in a FLASH interval of the indoor MCU;
writing the EEPROM parameter addresses into the first interval in sequence;
and writing the data corresponding to the EEPROM parameter address into the second interval according to the writing sequence of the EEPROM parameter address.
10. The method as claimed in claim 8, wherein the EEPROM data includes a check code, and wherein the outdoor EEPROM update flag is cleared based on a success flag returned by the outdoor MCU, and the outdoor EEPROM is updated according to the EEPROM data, specifically:
when the outdoor MCU receives the EEPROM data, a success mark is sent to the indoor MCU;
the indoor MCU clears the outdoor EEPROM mark according to the successful receiving mark;
judging whether the EEPROM data is correct or not according to the check code in the EEPROM data;
and if so, updating the outdoor EEPROM based on the EEPROM parameter address in the EEPROM data and the data corresponding to the EEPROM parameter address.
CN202010410018.4A 2020-05-15 2020-05-15 Air conditioner and remote upgrading method thereof Active CN111765602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010410018.4A CN111765602B (en) 2020-05-15 2020-05-15 Air conditioner and remote upgrading method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010410018.4A CN111765602B (en) 2020-05-15 2020-05-15 Air conditioner and remote upgrading method thereof

Publications (2)

Publication Number Publication Date
CN111765602A true CN111765602A (en) 2020-10-13
CN111765602B CN111765602B (en) 2022-05-20

Family

ID=72719207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010410018.4A Active CN111765602B (en) 2020-05-15 2020-05-15 Air conditioner and remote upgrading method thereof

Country Status (1)

Country Link
CN (1) CN111765602B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112283867A (en) * 2020-10-16 2021-01-29 海信(山东)空调有限公司 Air conditioner and upgrading control method
CN113203192A (en) * 2021-05-07 2021-08-03 海信(山东)空调有限公司 Method for updating outdoor unit operation data, air conditioner and computer storage medium
CN113218051A (en) * 2021-05-13 2021-08-06 海信(山东)空调有限公司 Method for updating outdoor unit operation data, air conditioner and computer storage medium
CN113551363A (en) * 2021-07-30 2021-10-26 佛山市顺德区美的电子科技有限公司 Upgrading method of main program of air conditioner external unit, operation control device and air conditioner

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009133549A (en) * 2007-11-30 2009-06-18 Hitachi Appliances Inc Communication adaptor for air conditioner and control program updating system for air conditioner
CN103512149A (en) * 2012-06-27 2014-01-15 珠海格力电器股份有限公司 Control device, program updating method and air conditioner
CN103970554A (en) * 2013-01-30 2014-08-06 广东美的制冷设备有限公司 Control method for function upgrading of household appliance product
CN105122584A (en) * 2013-02-13 2015-12-02 碳轨私人有限公司 System and method for monitoring and control of appliances
CN106500239A (en) * 2016-09-22 2017-03-15 深圳麦格米特电气股份有限公司 A kind of method that convertible frequency air-conditioner updates EEPROM data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009133549A (en) * 2007-11-30 2009-06-18 Hitachi Appliances Inc Communication adaptor for air conditioner and control program updating system for air conditioner
CN103512149A (en) * 2012-06-27 2014-01-15 珠海格力电器股份有限公司 Control device, program updating method and air conditioner
CN103970554A (en) * 2013-01-30 2014-08-06 广东美的制冷设备有限公司 Control method for function upgrading of household appliance product
CN105122584A (en) * 2013-02-13 2015-12-02 碳轨私人有限公司 System and method for monitoring and control of appliances
CN106500239A (en) * 2016-09-22 2017-03-15 深圳麦格米特电气股份有限公司 A kind of method that convertible frequency air-conditioner updates EEPROM data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112283867A (en) * 2020-10-16 2021-01-29 海信(山东)空调有限公司 Air conditioner and upgrading control method
CN113203192A (en) * 2021-05-07 2021-08-03 海信(山东)空调有限公司 Method for updating outdoor unit operation data, air conditioner and computer storage medium
CN113218051A (en) * 2021-05-13 2021-08-06 海信(山东)空调有限公司 Method for updating outdoor unit operation data, air conditioner and computer storage medium
CN113218051B (en) * 2021-05-13 2022-12-06 海信空调有限公司 Method for updating outdoor unit operation data, air conditioner and computer storage medium
CN113551363A (en) * 2021-07-30 2021-10-26 佛山市顺德区美的电子科技有限公司 Upgrading method of main program of air conditioner external unit, operation control device and air conditioner

Also Published As

Publication number Publication date
CN111765602B (en) 2022-05-20

Similar Documents

Publication Publication Date Title
CN111765602B (en) Air conditioner and remote upgrading method thereof
US6874692B2 (en) Monitoring center and service system of air conditioner
CN113587393B (en) Central air-conditioning control system
EP2584277B1 (en) Network system equipped with air conditioner and control method thereof
CN113203192B (en) Method for updating operation data of outdoor unit, air conditioner and computer storage medium
CN113218051B (en) Method for updating outdoor unit operation data, air conditioner and computer storage medium
US9464835B2 (en) Remote software loading for refrigerant system
CN113587391A (en) Multi-split system based on Bluetooth communication
CN113932381B (en) Air conditioner and remote upgrading method thereof
CN112283867B (en) Air conditioner and upgrading control method
US20230194117A1 (en) Air conditioning ventilation system
CN113932383A (en) Air conditioner and upgrading method
CN112254284A (en) Air conditioner and remote upgrading method thereof
CN114826336B (en) Air conditioner outdoor unit and air conditioner
CN113339953A (en) Air conditioner control system
CN115289626A (en) Multi-split air conditioning system
CN113944991A (en) Air conditioner and firmware upgrading method
CN113504919B (en) Air conditioner and upgrading method
CN114576794B (en) Air conditioner and heating intelligent control method thereof
CN116105306A (en) Air conditioner
CN111928444B (en) Temperature compensation value setting method for air conditioner
JP3819583B2 (en) Air conditioner
US11965665B2 (en) Air conditioning system
EP4145068A1 (en) Air-conditioning management system and refrigerant-recovery management device
JP2022083201A (en) Device and method for controlling air conditioner and air conditioner

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant