CN115289626A - Multi-split air conditioning system - Google Patents

Multi-split air conditioning system Download PDF

Info

Publication number
CN115289626A
CN115289626A CN202210939219.2A CN202210939219A CN115289626A CN 115289626 A CN115289626 A CN 115289626A CN 202210939219 A CN202210939219 A CN 202210939219A CN 115289626 A CN115289626 A CN 115289626A
Authority
CN
China
Prior art keywords
upgrading
data
upgrade
packet
designated address
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.)
Pending
Application number
CN202210939219.2A
Other languages
Chinese (zh)
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.)
Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Original Assignee
Qingdao Hisense Hitachi Air Conditioning System 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 Qingdao Hisense Hitachi Air Conditioning System Co Ltd filed Critical Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Priority to CN202210939219.2A priority Critical patent/CN115289626A/en
Publication of CN115289626A publication Critical patent/CN115289626A/en
Pending legal-status Critical Current

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
    • F24F11/58Remote control using Internet communication
    • 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

Abstract

The invention discloses a multi-split air conditioning system.A near field communication module is arranged in a shell of an outdoor unit, an EEPROM is arranged in the near field communication module, near field communication is established between an upgrading terminal and the near field communication module, an upgrading data type code is written into a first designated address of the EEPROM and is used for distinguishing upgrading of an indoor unit or upgrading of the outdoor unit, and then a plurality of upgrading data packets are written into a second designated address in sequence; after each package of upgrading data is written into the upgrading terminal by the upgrading controller arranged on the outdoor unit, reading and storing an upgrading data package from a second designated address, and realizing data transparent transmission; then accessing the first designated address to obtain an upgrade data type code, judging whether the outdoor unit is upgraded or the indoor unit is upgraded, transmitting upgrade data to the indoor unit through an HOMEBUS to implement upgrade when the indoor unit is upgraded, and upgrading the outdoor unit if the outdoor unit is upgraded; the problem that the multi-split air conditioning system can only be upgraded point to point or burned in the field is solved.

Description

Multi-split air conditioning system
Technical Field
The invention relates to the technical field of multi-split air conditioners, in particular to a multi-split air conditioner system.
Background
The central air conditioner is widely applied to the interior of office and household buildings, meets the requirement of people on indoor temperature comfort, and continuously expands the market demand.
Along with the continuous expansion of market demands, the demands of users on functions are also continuously increased, so that the demand of the intelligent degree of the central air conditioner is higher and higher. When the current function of the air conditioner can not meet the requirement of a user, the air conditioner software needs to be updated.
At present, software upgrading of a central air conditioner mostly depends on door-to-door operation of a service engineer, an indoor unit or an outdoor unit shell needs to be detached before upgrading to expose a main control board, an upgrading tool is connected with the main control board of the indoor unit or the outdoor unit to carry out field burning of software, time and labor are wasted, and after-sale experience is reduced.
Disclosure of Invention
The invention aims to provide a multi-split air conditioning system.A near field communication module is arranged on a shell of an outdoor unit, upgrade data is transmitted to the outdoor unit of the air conditioner from an upgrade terminal through near field communication, and the outdoor unit and an indoor unit are upgraded by combining a bus protocol and a protocol, so that the problem that the multi-split air conditioning system can only be upgraded point-to-point or a program is burnt on site is solved, and the upgrade efficiency and the after-sale service quality of the multi-split air conditioning system are improved.
In order to realize the purpose of the invention, the invention is realized by adopting the following technical scheme:
provided is a multi-split air conditioning system, including:
the indoor units are communicated with the outdoor unit based on an HOMBUS bus;
the near field communication module is arranged on a shell of the outdoor unit and comprises a near field communication chip; an EEPROM is arranged in the near field communication chip;
the upgrading terminal adopts near field communication with the near field communication module to write upgrading data into the EEPROM, and comprises:
writing the upgrade data type code into a first designated address; the upgrading data type is indoor unit upgrading or outdoor unit upgrading; the upgrade data is divided into a plurality of upgrade data packets;
writing a plurality of upgrading data packets into a second designated address in sequence;
the upgrading controller is installed in the outdoor unit, is connected with the near field communication module and is used for:
after each package of upgrading data is written into the upgrading terminal, reading the written upgrading data package from the second designated address and storing the upgrading data package;
and when all the upgrading data packets are read and stored, reading the upgrading data type codes from the first designated address, and when the upgrading data code type is the indoor unit upgrading, sending the upgrading data to the indoor unit through the HOMEBUS bus.
Compared with the prior art, the invention has the advantages and positive effects that: the multi-split air conditioning system provided by the invention is characterized in that a near field communication module is arranged on a shell of an outdoor unit, an EEPROM is arranged in the near field communication module and is used as SRAM address mapping to realize data transmission, when the outdoor unit or the indoor unit needs to be upgraded, an upgrade terminal divides upgrade data into a plurality of upgrade data packets, the upgrade terminal is close to the near field communication module to establish near field communication, based on the near field communication, an upgrade data type code is written into a first designated address of the EEPROM, the upgrade data type distinguishes indoor unit upgrading or outdoor unit upgrading, and then the plurality of upgrade data packets are written into a second designated address of the EEPROM in sequence; the upgrading controller is installed on the outdoor unit and connected with the near field communication module, after each package of upgrading data is written into the upgrading terminal, the upgrading controller reads the upgrading data package from the second designated address and stores the upgrading data package, namely, after each package of upgrading data package is written into the upgrading terminal, the upgrading controller reads the written upgrading data package from the EEPROM and stores the upgrading data package until all the upgrading data packages are read, and data transparent transmission is achieved; then accessing the first designated address to obtain an upgrade data type code, judging whether the outdoor unit is upgraded or the indoor unit is upgraded, if the indoor unit is upgraded, transmitting upgrade data to the indoor unit through the HOMEBUS bus to implement upgrading, and if the outdoor unit is upgraded, upgrading the outdoor unit; based on the multi-split air-conditioning system provided by the invention, a user or a maintainer can upgrade any equipment in the system based on near field communication by adopting an upgrade terminal, and can realize quick transmission of upgrade data based on data transparent transmission, so that the problem that the multi-split air-conditioning system can only be upgraded point-to-point or programmed on site is solved, and the upgrade efficiency of the system is obviously improved.
Other features and advantages of the present invention will become more apparent from the following detailed description of the invention when taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on the drawings without inventive labor.
Fig. 1 is a schematic system architecture of a multi-split air conditioning system according to the present invention;
fig. 2 is a functional architecture schematic of a multi-split air conditioning system according to the present invention;
fig. 3 is a schematic diagram of a process of performing upgrading of a multi-split air conditioning system according to the present invention;
fig. 4 is a second schematic diagram of a self-upgrading process of the multi-split air conditioning system according to the present invention;
fig. 5 is a third schematic diagram of the self-upgrading process of the multi-split air conditioning system provided by the invention;
fig. 6 is a fourth schematic view of a self-upgrading process of the multi-split air conditioning system provided by the invention;
fig. 7 is a fifth schematic view of a self-upgrading process of the multi-split air conditioning system according to the present invention;
fig. 8 is a sixth schematic view illustrating a self-upgrading process of the multi-split air conditioning system according to the present invention;
fig. 9 is a seventh schematic diagram illustrating a self-upgrading process of the multi-split air conditioning system according to the present invention;
fig. 10 is an eighth schematic view of a self-upgrading process of the multi-split air conditioning system according to the present invention;
FIG. 11 is a process diagram illustrating an upgrade performed by an upgrade terminal in an embodiment of the present invention;
FIG. 12 is a process diagram illustrating an upgrade performed by the upgrade controller in an embodiment of the present invention;
fig. 13 is a data processing flow diagram of a nfc module according to an embodiment of the present invention;
fig. 14 is a diagram illustrating a message queue structure of a near field communication module according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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," "back," "top," "bottom," "inner," "outer," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the present application and for simplicity in description, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated in a particular manner, and are not to be construed as limiting the present application.
In the description of the present application, it is to be understood that 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 as implying that the number of indicated technical features is 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.
In the present invention, unless expressly stated or limited otherwise, the recitation of a first feature "on" or "under" a second feature may include the recitation of the first and second features being in direct contact, and may also include the recitation that the first and second features are not in direct contact, but are in contact via another feature between them. Also, the first feature "on," "above" and "over" the second feature may include the first feature being directly above and obliquely above the second feature, or simply indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize applications of other processes and/or uses of other materials.
The multi-split air conditioning system provided by the invention aims to realize a quick and simple system upgrading mode, and as shown in fig. 1 and fig. 2, the multi-split air conditioning system comprises:
the indoor unit comprises an outdoor unit 1 and a plurality of indoor units 2, wherein the indoor units 2 are communicated with the outdoor unit based on an HOMBBUS bus.
The near field communication module 11 is installed on a casing of the outdoor unit 1, and includes a near field communication chip and an antenna, the near field communication chip is internally provided with an EEPROM, and the EEPROM is internally provided with a designated space, and the designated space can be used as SRAM address mapping and as a data transparent transmission function, so that the upgrade data can be quickly transmitted based on a transparent transmission mode.
And the upgrading terminal 3 and the near field communication module 11 write upgrading data into the appointed space of the EEPROM by adopting near field communication.
And the upgrading controller 4 is installed in the outdoor unit 1, is connected with the near field communication module 11, and is used for receiving and storing upgrading data received by the near field communication module, and sending the upgrading data to the indoor unit through the HOMBUS bus when the upgrading data is indoor unit upgrading data.
In some embodiments of the present invention, the near field communication module 11 communicates with the upgrade controller 4 through an IIC bus.
Based on the structure provided by the invention, the upgrading terminal 3 establishes near field communication after approaching the near field communication module 11, the upgrading terminal 3 issues upgrading data to the outdoor unit 1 in a data transmission mode based on the near field communication, the outdoor unit 1 distinguishes whether the outdoor unit is upgraded or the indoor unit is upgraded, the upgrading data is transmitted to the indoor unit through the HOMBUS bus when the indoor unit is upgraded, and any device in the multi-split air conditioning system can be upgraded.
Specifically, as shown in fig. 3, the upgrade terminal 3, the near field communication module 11, and the upgrade controller 4 implement transparent transmission of upgrade data according to the following steps:
step S31: and the upgrading terminal writes the upgrading data type code into the first designated address.
The upgrade data type code is used for distinguishing outdoor unit upgrade and indoor unit upgrade, and the first designated address is an address used for storing the upgrade data type code in a designated space of the EEPROM.
Step S32: and the upgrading terminal writes a plurality of upgrading data packets into a second specified address in sequence.
The upgrading terminal 3 divides the upgrading data into a plurality of upgrading data packets, numbers and sequences the upgrading data packets, and sequentially sends each upgrading data packet to the near field communication module based on near field communication in a sub-packet transmission mode.
The second designated address is an address used for storing an upgrading data packet in a designated space of the EEPROM, and the address space can be written with at least one upgrading data packet.
Step S33: and the upgrading controller reads the upgrading data packet written by the upgrading terminal from the second specified address and stores the upgrading data packet after the upgrading terminal writes each upgrading data packet.
That is, the upgrade terminal writes the upgrade data packets into the second designated address according to the sorting of the upgrade data packets, and the upgrade controller reads the written upgrade data packets from the second designated address of the EEPROM and performs reading and writing at the same time.
In some embodiments of the present invention, when writing a packet of upgrade data into the second designated address, the upgrade terminal performs in a refresh manner, that is, the next packet of upgrade data covers the previous packet of upgrade data, or the next packet of upgrade data clears the second designated address before writing, and then writes the next packet of upgrade data; before the next package of upgrade data is written into the second designated address, it is required to ensure that the upgrade controller has completed reading the previous package of upgrade data accurately.
Step S34: and when all the upgrading data packets are completely read and stored, the upgrading controller reads the upgrading data type codes from the first designated address.
And judging whether the upgrading data is used for upgrading the outdoor unit or the indoor unit according to the upgrading data type code.
Step S35: and when the upgrade data code type is the indoor unit upgrade, the upgrade data is sent to the indoor unit through the HOMEBUS.
The indoor unit receives and stores the upgrading data, and starts an upgrading process to upgrade.
If the upgrade data code type is the outdoor unit upgrade, the upgrade controller locally upgrades the upgrade data or sends the upgrade data to the outdoor unit main control panel for upgrade.
Based on the multi-split air conditioning system provided by the invention, when any equipment in the system needs to be upgraded, a user or a maintenance person can transmit upgrade data to the near field communication module of the outdoor unit based on near field communication by adopting the upgrade terminal, the upgrade controller configured for the outdoor unit can judge the type of the upgrade data, local upgrade can be implemented when the outdoor unit needs to be upgraded, and the upgrade data can be transmitted to the indoor unit for upgrade through the existing HOMEBUS bus when the indoor unit needs to be upgraded, so that the upgrade of any equipment in the system can be implemented, the rapid transmission of the upgrade data can be realized based on data transmission, the problem that the multi-split air conditioning system can only be upgraded point to point or burnt on site is solved, and the upgrade efficiency of the system is obviously improved.
In some embodiments of the present invention, the data correctness of the upgrade data packet written in the second designated address by the upgrade terminal 3 is checked by a checking means, so as to prevent upgrade failure due to upgrade data error, specifically, as shown in fig. 4, when each package of upgrade data packet is written in, the upgrade terminal 3 writes the CRC checksum of the upgrade data packet into the third designated address of the EEPROM; the upgrade controller 4 calculates the CRC checksum of the upgrade data packet after reading the upgrade data packet from the second designated address and before storing the upgrade data packet, and reads the CRC checksum of the upgrade data packet from the third designated address, and then compares the calculated CRC checksum with the CRC checksum written by the upgrade terminal, and when the calculated CRC checksum and the CRC checksum are consistent, stores the read upgrade data packet, and when the calculated CRC checksum and the CRC checksum are inconsistent, it indicates that an error occurs when the upgrade terminal 3 writes the upgrade data packet or the upgrade controller 4 reads the upgrade data packet, and the upgrade data packet needs to be retransmitted and the upgrade data packet already written is removed.
In some embodiments of the present invention, as shown in fig. 5, each time an upgrade data packet is written into the upgrade terminal 3, the valid data size of the upgrade data packet is written into the fourth designated address of the EEPROM; the upgrade controller 4 calculates the CRC checksum of the upgrade data packet after reading the upgrade data packet from the second designated address and before storing the upgrade data packet, and reads the CRC checksum of the upgrade data packet from the third designated address, and then compares the calculated CRC checksum with the CRC checksum written by the upgrade terminal, and when the two are identical, stores the read upgrade data packet, and when the two are not identical, the upgrade controller 4 writes the first read-write error code to the fifth designated address, and updates the valid data size stored at the fourth designated address to zero.
The first read-write error code is used for indicating that the read-write of the current upgrade data packet fails, and after the fifth specified address is written into the first read-write error code, the upgrade terminal 3 can know whether the last written upgrade data packet has been normally read by the upgrade controller 4 by reading the next package of upgrade data before writing the upgrade data.
After the upgrade data packet is written into the second designated address, the effective data size of the upgrade data packet is written into a fourth designated address by the upgrade terminal 3, and the upgrade controller 4 can know whether the upgrade data packet is written into the upgrade terminal at the current second designated address or not based on reading of the fourth designated address, reads the upgrade data packet from the second designated address when the upgrade data packet is not zero, and does not read when the upgrade data packet is zero; when the upgrade controller 4 finishes reading the upgrade packet data, the effective data size under the fourth designated address is updated to zero, so that the upgrade terminal 3 can know whether the upgrade data can be written in the current second designated address based on reading the fourth designated address, when the upgrade data size is not zero, the upgrade terminal 3 cannot write the data in the second designated address, when the upgrade data size is zero, the upgrade terminal 3 indicates that no data exists in the second designated address, and the upgrade terminal 3 can write the data in the second designated address. Therefore, after the upgrade data packet is checked, if the check is wrong, the upgrade controller 4 updates the size of the valid data stored at the fourth specified address to zero, so that the upgrade terminal 3 can know that no data exists at the current second specified address by reading the valid data, and can write the upgrade data packet normally.
In one embodiment as shown in fig. 6, before writing the upgrade data packet into the second designated address, the upgrade terminal 3 reads the data at the fifth designated address, writes the current upgrade data packet into the second designated address when the data is null or zero, and rewrites the previous upgrade data packet of the upgrade data packet to be written currently, that is, the upgrade data packet written last time, into the second designated address when the data is the first read-write error code.
In some embodiments of the present invention, it is known whether the transmission of the upgrade data is completed by judging the packet number of the upgrade data packet, specifically, as shown in fig. 7, the upgrade terminal 3 writes the total packet number of the upgrade data into the sixth designated address of the EEPROM, and writes the packet number of the written upgrade data packet into the seventh designated address of the EEPROM every time a packet of the upgrade data is written; after the read upgrade data packet is stored, the upgrade controller 3 reads the sixth designated address and the seventh designated address to obtain the total packet number of the upgrade data and the packet number of the currently read upgrade data packet, and compares the total packet number of the upgrade data with the packet number of the currently read upgrade data packet, if the total packet number of the upgrade data and the packet number of the upgrade data packet are consistent, the upgrade controller 4 updates the effective data size stored at the fourth designated address to zero, so that the upgrade terminal 3 can know whether the next packet of upgrade data can be written into the upgrade terminal by accessing the fourth designated address before the next packet of upgrade data is written into the second designated address.
In some embodiments of the present invention, after the upgrade data has been transmitted in its entirety, the correctness of the upgrade data is checked by means of checking again, as shown in fig. 8, including: the upgrading terminal 3 writes the total packet CRC checksum of the upgrading data into the eighth designated address of the EEPROM, the upgrading controller 4 calculates the total CRC checksums of all upgrading data packets when the number of the read upgrading data packets is consistent with the total packet number of the upgrading data, reads the eighth designated address to obtain the total packet CRC checksum, compares the total CRC checksums with the total packet CRC checksum, finishes reading the upgrading data when the calculated total CRC checksum is consistent with the read total packet CRC checksum, writes a second read-write error code into the fifth designated address when the total CRC checksum is inconsistent with the read total packet CRC checksum, and updates the size of effective data stored at the fourth designated address to zero.
The second read-write error code is used to indicate that the read-write of the entire upgrade data fails, and after the second read-write error code is written in the fifth specified address, the upgrade terminal 3 may read the second read-write error code before finishing transmitting the upgrade data to know whether the entire upgrade data is normally read by the upgrade control terminal 4, and when the second read-write error code is read, the upgrade process needs to be restarted, and the above operation is executed again to perform the transmission of the upgrade data once, as shown in fig. 9.
In some embodiments of the present invention, after the upgrade terminal establishes the near field communication with the near field communication module, the upgrade terminal is not limited to performing transmission of upgrade data, but may also be multiplexed for use in other data transmission, so as shown in fig. 10, a ninth designated address is allocated in the EEPROM, the upgrade terminal 3 or other terminals may distinguish types of transmission data by writing different request data format codes into the ninth designated address, the upgrade controller 4 first reads the ninth designated address to obtain the request data format code before reading the upgrade data packet from the second designated address, determines the type of the request data, reads the upgrade data packet from the second designated address when the request data format code is the upgrade request data code, and if the request data format code is not the upgrade request data code, the upgrade controller 4 does not operate, and reads data from the designated other address or the second designated address by other controllers.
The process of upgrading the multi-split air conditioning system according to the present invention is described in detail below with a specific embodiment, and the process is divided into an upgrade terminal 3 part and an upgrade controller 4 part, i.e., an outdoor unit part.
In this embodiment, the EEPROM built in the near field communication module 11 divides a designated space, for example, the first 0-0x3F address space has 256 bytes and 64 blocks, and each block includes 4 bytes; the space is used as SRAM address mapping to realize the data transparent transmission function, and the software upgrading of the embodiment is implemented based on the space.
As shown in the following table one, in the address space of 0-0x3F, 00H-04H is defined as a protocol packet header, and after 04H, a protocol packet body, which is specifically as follows:
watch 1
Figure DEST_PATH_IMAGE002
In this embodiment, as shown in fig. 13, the data processing of the near field communication module establishes two independent message queues, the maximum value of a queue element is set to 8, the queues are divided into a head and a tail, a message is stored from the head, and a message is fetched from the tail; the queues are implemented as circular queues as shown in fig. 14.
The queue contents include:
data type: the near field communication module is used to handle different types of messages from the upgrade terminal or the upgrade controller.
And data length, receiving data according to the data length.
Data content: data from the upgrade terminal or upgrade controller that needs to be forwarded.
The interfaces used by the queues include:
a queue initialization interface: initialize the head and tail of the queue, etc.
Queue add element interface: add elements from the queue head and move the queue head back.
Queue dequeue element interface: elements are taken out of the end of the queue and the end of the queue is moved backwards.
Queue delete element interface: elements are removed from between the head and tail of the queue.
The near field communication module receives data sent by the upgrading terminal, stores the data into the message queue 1, takes the data out of the message queue 1 and sends the data to the upgrading controller; and the near field communication module receives the data sent by the upgrading controller, stores the data into the message queue 2, takes out the data from the message queue 2 and sends the data to the upgrading terminal.
As shown in fig. 11, the upgrade terminal part performs the upgrade as follows:
1. and opening an upgrading APP, loading bin files of upgrading programs, setting up a near field communication module close to the outdoor unit shell, and establishing near field communication with the near field communication module.
2. And the register of the 03H address is written by the upgrading terminal, and comprises the total packet number of the upgrading data and the CRC checksum of the total packet.
3. The upgrade terminal writes BYTE0 of 00H address, and the write request data format code is the upgrade request data code: 41H.
4. And the upgrading terminal writes BYTE1 and BYTE2 of the 00H address and writes an upgrading data type code.
For example, when the outdoor unit is upgraded, BYTE1 writes 1, BYTE2 writes 0; when the indoor unit is upgraded, BYTE1 is written in 0, and BYTE2 is written in 1.
5. And reading BYTE3 of the 00H address to obtain the effective data size.
When the size of the effective data is zero, entering a step 6; and when the size of the effective data is not zero, the data exists in the read-write data interaction register, other data cannot be written, and the step waits for or returns to the step 4.
6. And reading BYTE2 of the 04H address to obtain a read-write error code.
When the read-write error code is zero, it indicates that the data interaction in the read-write data interaction register is normal, step 7 is performed, when the read-write error code is 01 (when the upgrade controller 4 reads the upgrade data packet with an error, the upgrade controller 4 writes BYTE2 at an address 04H), it indicates that the current upgrade terminal is abnormal when the upgrade data packet is written in or the upgrade controller reads the upgrade data packet, and step 9 is performed.
7. And the upgrade terminal writes the upgrade data packet i from the 05H address.
The upgrade data bin file is divided into N upgrade data packets by the upgrade terminal, i belongs to (1, 2, \8230; N), one upgrade data packet is 128 bytes, and the upgrade data packet i is written into the read-write data interaction register (namely, a second designated address) at one time.
8. The upgrade terminal writes BYTE0 and BYTE1 of the 01H address, writes the CRC checksum of the currently written upgrade data packet i, and writes 04H addresses BYTE0 and BYTE1, writes the packet number of the currently written upgrade data packet i.
9. And the upgrade terminal writes the upgrade data packet i-1 from the 05H address.
When the upgrade controller 4 reads the upgrade data packet and has an error, the upgrade controller 4 writes the BYTE2 under the 04H address, the upgrade terminal writes the upgrade data packet i-1 again, and writes the upgrade data packet i-1 into the read-write data interaction register (i.e. the second specified address) at one time.
10. The upgrade terminal writes BYTE0 and BYTE1 of 01H addresses and writes CRC checksum of an upgrade data packet i-1, and writes 04H addresses BYTE0 and BYTE1 and writes packet number of the upgrade data packet i-1.
11. And the upgrade terminal writes BYTE3 of the 00H address and writes the size of the effective data.
The effective data size is 128 bytes in this embodiment.
12. The total number of packages is compared with the number of packages of the upgrade data package i or i-1.
When the two are equal, step 13 is entered, and when the current packet number is less than the total packet number, the procedure returns to step 5.
13. And reading BYTE2 of the 04H address to obtain a read-write error code.
When the read-write error code is zero, the upgrade data transmission is completed, and when the read-write error code is 02H (when the upgrade controller 4 finishes reading all the upgrade data packets and checks to find errors, the upgrade controller 4 writes BYTE2 at the address of 04H), returning to step 4, and rewriting the upgrade data once.
As shown in fig. 12, the upgrade controller section performs the upgrade as follows:
1. and the upgrading controller reads BYTE0 of the 00H address of the EEPROM to acquire the request data format code.
If it is 041H, that is, if the upgrade data format code is requested, step 2 is entered, otherwise, other operations related to the requested data format code are executed.
2. And reading BYTE3 of the 00H address by the upgrade controller to obtain the size of effective data.
When the read-write data interaction register is zero, no data can be read, and when the read-write data interaction register is more than zero, step 3 is advanced.
3. The upgrade data package is read starting from 05H.
4. And calculating the CRC checksum of the read upgrading data packet.
5. And reading BYTE0 and BYTE1 at the address of 01H, acquiring a CRC checksum, and comparing the CRC checksum with the calculated CRC checksum.
If they are the same, the process proceeds to step 6, and if they are not the same, the process proceeds to step 7.
6. And saving the read upgrade data packet.
7. And writing the first read-write error code into BYTE2 under the 04H address, writing BYTE3 under the 00H address to zero, and returning to the step 2.
For example, 01H is written to BYTE2 at address 04, and 0 is written to BYTE3 at address 00H; the device is used for informing the upgrading terminal of reading errors of the current upgrading data packet, setting the read-write data interaction register to zero and rewriting data into the read-write data interaction register.
8. After step 6, reading BYTE0 and BYTE1 at the address 03H, reading BYTE0 and BYTE1 at the address 04H, and comparing whether the read current packet number is equal to the total packet number.
Step 9 is entered when they are not equal, and step 10 is entered when they are equal.
9. And writing BYTE3 under the 00H address to zero, and returning to the step 2.
And when the current packet number is not equal to the total packet number, the upgrade data is not transmitted, writing 0 into BYTE3 under the 00H address, and informing the upgrade terminal that the data can be written into the read-write data interaction register, so that the upgrade data packet is read from the upgrade data interaction register after the next packet of upgrade data is written into the read-write data interaction register by the upgrade terminal.
10. And calculating the total CRC checksum of the total upgrade data, reading BYTE2 and BYTE3 under the 03H address, and comparing whether the calculated CRC checksum is equal to the total packet CRC checksum or not.
When they are equal, the process proceeds to step 12, and when they are not equal, the process proceeds to step 11.
11. And writing the second read-write error code into BYTE2 at the 04H address, writing BYTE3 at the 00H address to zero, and returning to the step 2.
For example, 02H is written to BYTE2 at address 04, and 0 is written to BYTE3 at address 00H; the device is used for informing the upgrading terminal of reading errors of the upgrading data, and the read-write data interaction register is set to zero, so that the upgrading data can be rewritten therein.
12. And finishing reading the upgrade data.
13. And reading the BYTE1 and the BYTE2 of the 00H address to obtain an upgrade data type code.
14. And when the upgrade data code type is an indoor unit upgrade type code, sending the upgrade data to the indoor unit through the HOMEBUS, and when the upgrade data code type is an outdoor unit upgrade type code, sending the upgrade data to an outdoor unit upgrade controller.
Based on the multi-split air conditioning system provided by the invention, each device (indoor unit or outdoor unit) in the system combines near field communication and data transmission, upgrade data is transmitted to the near field communication module configured by the outdoor unit from the upgrade terminal, and can be transmitted from the outdoor unit to the indoor unit through the existing HOMEBUS, so that the upgrade operation of each device in the system is realized.
In an embodiment of the present invention, an air conditioner in a multi-split air conditioning system 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 to refrigerate or heat an indoor space.
The low-temperature and low-pressure refrigerant enters the compressor, the compressor compresses the refrigerant gas in a high-temperature and high-pressure state, and the compressed refrigerant gas is discharged. 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.
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 outdoor unit of the air conditioner refers to 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 an expansion valve may be provided in the indoor unit or the outdoor unit.
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.
In the foregoing description of embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is directed to preferred embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow. However, any simple modification, equivalent change and modification of the above embodiments according to the technical essence of the present invention are within the protection scope of the technical solution of the present invention.

Claims (10)

1. A multi-split air conditioning system comprising:
the indoor units are communicated with the outdoor unit based on an HOMBUS bus;
it is characterized by also comprising:
the near field communication module is arranged on a shell of the outdoor unit and comprises a near field communication chip; an EEPROM is arranged in the near field communication chip;
the upgrading terminal adopts near field communication with the near field communication module to write upgrading data into the EEPROM, and comprises:
writing the upgrade data type code into a first designated address; the upgrading data type is indoor unit upgrading or outdoor unit upgrading; the upgrade data is divided into a plurality of upgrade data packets;
writing a plurality of upgrading data packets into a second designated address in sequence;
the upgrading controller is installed in the outdoor unit, is connected with the near field communication module and is used for:
after each package of upgrading data is written into the upgrading terminal, reading the written upgrading data package from the second specified address and storing the upgrading data package;
and when all the upgrading data packets are read and stored, reading the upgrading data type codes from the first designated address, and when the upgrading data code type is the indoor unit upgrading, sending the upgrading data to the indoor unit through the HOMEBUS bus.
2. The multi-split air conditioning system as claimed in claim 1, wherein the upgrade terminal is further configured to:
when each upgrade data packet is written in, writing the CRC checksum of the upgrade data packet into a third designated address;
the upgrading controller calculates the CRC checksum of the read upgrading data packet after reading the upgrading data packet from the second designated address, and acquires the CRC checksum written by the upgrading terminal from the third designated address;
and comparing the calculated CRC checksum with the CRC checksum written by the upgrading terminal, and storing the read upgrading data packet when the calculated CRC checksum is consistent with the CRC checksum written by the upgrading terminal.
3. The multi-split air conditioning system as claimed in claim 2, wherein the upgrade terminal is further configured to:
writing the effective data size of the upgrade data packet into a fourth designated address when the upgrade data packet is written in each time;
and when the calculated CRC checksum is inconsistent with the CRC checksum written by the upgrading terminal, the upgrading controller writes a first read-write error code into the fifth specified address and updates the size of the effective data stored under the fourth specified address to zero.
4. The multi-split air conditioning system as claimed in claim 3, wherein the upgrade terminal is further configured to:
writing the total packet number of the upgrade data into a sixth designated address;
writing the packet number of the upgrade data packet into a seventh designated address when writing each packet of the upgrade data packet;
the upgrade controller is further to:
after the read upgrading data packet is stored, reading the sixth designated address and the seventh designated address to obtain the total packet number of the upgrading data and the packet number of the upgrading data packet read currently and comparing the total packet number of the upgrading data and the packet number of the upgrading data packet read currently;
and updating the size of the effective data stored under the fourth designated address to be zero when the packet number of the currently read upgrade data packet is inconsistent with the total packet number of the upgrade data.
5. The multi-split air conditioning system as claimed in claim 4, wherein the upgrade terminal is further configured to:
writing the CRC checksum of the total packet of the upgrade data into an eighth designated address;
the upgrade controller is further to:
when the number of the currently read upgrade data packets is consistent with the total number of the upgrade data packets, calculating a total CRC (cyclic redundancy check) sum, and reading the total CRC sum under an eighth designated address;
when the calculated total CRC checksum is consistent with the read total packet CRC checksum, the update data is read;
and when the calculated total CRC checksum is inconsistent with the read total packet CRC checksum, writing a second read-write error code into the fifth specified address, and updating the size of the effective data stored at the fourth specified address to zero.
6. The multi-split air conditioning system as claimed in claim 3, wherein the upgrade controller is further configured to:
and reading the fourth designated address to obtain the effective data size before reading the upgrading data packet from the second designated address, and reading the upgrading data packet from the second designated address when the effective data size is not zero.
7. The multi-split air conditioning system as claimed in claim 1, wherein the upgrade terminal is further configured to:
writing the request data format code into the ninth designated address;
and the upgrading controller reads the ninth designated address to acquire the request data format code before reading the upgrading data packet from the second designated address, and reads the upgrading data packet from the second designated address when the request data format code is the upgrading request data code.
8. The multi-split air conditioning system as claimed in claim 3, wherein the upgrade terminal is further configured to:
and reading the fourth specified address to obtain the size of effective data before writing the upgrading data packet into the second specified address, and writing the upgrading data packet into the second specified address when the size of the effective data is zero.
9. The multi-split air conditioning system as claimed in claim 3, wherein the upgrade terminal is further configured to:
reading data under a fifth specified address before writing the upgrading data packet into the second specified address, and writing the current upgrading data packet into the second specified address when the data is null or zero;
and when the first read-write error code is the first read-write error code, writing the previous upgrading data packet of the current upgrading data packet into a second specified address.
10. The multi-split air conditioning system as claimed in claim 5, wherein the upgrade terminal is further configured to:
after the upgrading data packet is written into the second designated address, reading the sixth designated address and the seventh designated address to obtain the total packet number of the upgrading data and the packet number of the upgrading data packet which is currently written and comparing the total packet number of the upgrading data and the packet number of the upgrading data packet which is currently written;
when the packet number of the currently written upgrading data packet is consistent with the total packet number of the upgrading data, reading the data under the fifth designated address, and when the data is null or zero, ending the writing operation of the upgrading data;
re-upgrade if it is a second read-write error code.
CN202210939219.2A 2022-08-05 2022-08-05 Multi-split air conditioning system Pending CN115289626A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210939219.2A CN115289626A (en) 2022-08-05 2022-08-05 Multi-split air conditioning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210939219.2A CN115289626A (en) 2022-08-05 2022-08-05 Multi-split air conditioning system

Publications (1)

Publication Number Publication Date
CN115289626A true CN115289626A (en) 2022-11-04

Family

ID=83828998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210939219.2A Pending CN115289626A (en) 2022-08-05 2022-08-05 Multi-split air conditioning system

Country Status (1)

Country Link
CN (1) CN115289626A (en)

Similar Documents

Publication Publication Date Title
CN111765602B (en) Air conditioner and remote upgrading method thereof
CN111780342B (en) Air conditioner
JP2001241738A (en) Refrigerator/cooler and its controlling method
CN111486560B (en) Air conditioner and control method thereof
EP2584277B1 (en) Network system equipped with air conditioner and control method thereof
CN113587391A (en) Multi-split system based on Bluetooth communication
CN113587393B (en) Central air-conditioning control system
US9464835B2 (en) Remote software loading for refrigerant system
CN113701314B (en) Central air-conditioning control system
CN115289626A (en) Multi-split air conditioning system
JP2019074230A (en) Air conditioner and network system
CN113865024B (en) Remote upgrading system for central air conditioner
CN114576798B (en) Multi-split air conditioning system and control method thereof
CN113701250B (en) Central air-conditioning system
EP4224079A1 (en) Air-conditioning and ventilation system
CN112283867B (en) Air conditioner and upgrading control method
CN114826336B (en) Air conditioner outdoor unit and air conditioner
CN112254284A (en) Air conditioner and remote upgrading method thereof
CN113932381B (en) Air conditioner and remote upgrading method thereof
CN113339953A (en) Air conditioner control system
CN113339955A (en) Air conditioner control system
CN113932383A (en) Air conditioner and upgrading method
WO2018225129A1 (en) Air conditioning system
KR102295973B1 (en) Air conditioner and method thereof
CN214094738U (en) Air conditioner system

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