A multi-connected air conditioning system
By installing a near field communication module on the outdoor units of multiple online air conditioning systems, the software upgrade data transmission of the air conditioning system is realized, solving the problem of time-consuming and labor-intensive upgrade process in the existing technology, and improving the upgrade efficiency and after-sales service quality.
Patent Information
- Application Number
- CN202210939219.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-05
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2042-08-05
AI Technical Summary
The existing multi-online air conditioning system needs to be operated on-site by service engineers during the software upgrade process, which is time-consuming and labor-intensive and reduces the after-sales experience.
A near field communication module is installed in the housing of the outdoor unit, and the upgrade data is transmitted from the upgrade terminal to the air-conditioning outdoor unit through near field communication, and the outdoor unit and indoor unit are upgraded in combination with bus regulations and protocols.
The upgrade efficiency and after-sales service quality of multiple online air conditioning systems have been improved, and the problem of only point-to-point upgrades or on-site burning of programs has been solved.
Smart Images

Figure CN115289626B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of multi-split air conditioners, and in particular to a multi-split air conditioner system. Background Art
[0002] Central air conditioners are widely used in office and home buildings to meet people's requirements for indoor temperature comfort, and their market demand continues to expand.
[0003] As market demand continues to expand, users' demands for functions are also increasing, which makes the demand for central air conditioners more intelligent. When the current functions of the air conditioner cannot meet user needs, the air conditioner software needs to be upgraded.
[0004] Currently, software upgrades for central air conditioners mostly rely on on-site service engineers. Before upgrading, the indoor or outdoor unit casing needs to be removed to expose the main control board. The upgrade tool is used to connect the indoor or outdoor unit's main control board for on-site software burning. This is time-consuming and labor-intensive, and reduces the after-sales experience. Summary of the invention
[0005] The purpose of the present invention is to propose a multi-split air-conditioning system, install a near-field communication module on the shell of the outdoor unit, transparently transmit upgrade data from the upgrade terminal to the air-conditioning outdoor unit through near-field communication, and upgrade the outdoor unit and the indoor unit in combination with the bus specification and protocol, thereby solving the problem that the multi-split air-conditioning system can only be upgraded point-to-point or the program can be burned on-site, and improving the upgrade efficiency and after-sales service quality of the multi-split air-conditioning system.
[0006] In order to achieve the above-mentioned purpose, the present invention adopts the following technical solutions:
[0007] A multi-split air conditioning system is proposed, comprising:
[0008] Outdoor unit and several indoor units, the indoor units communicate with the outdoor units based on HOMBUS bus;
[0009] The near field communication module is installed on the housing of the outdoor unit and includes a near field communication chip; the near field communication chip has a built-in EEPROM;
[0010] The upgrade terminal and the near field communication module use near field communication to write upgrade data to the EEPROM, including:
[0011] Writing the upgrade data type code into the first designated address; wherein the upgrade data type is indoor unit upgrade or outdoor unit upgrade; the upgrade data is divided into a plurality of upgrade data packets;
[0012] Writing a plurality of upgrade data packets into a second designated address in sequence;
[0013] Upgrade controller, installed in the outdoor unit, connected to the near field communication module, used for:
[0014] After each package of upgrade data is written into the upgrade terminal, the written upgrade data package is read from the second designated address and stored;
[0015] When all upgrade data packets are read and stored, the upgrade data type code is read from the first designated address, and when the upgrade data code type is indoor unit upgrade, the upgrade data is sent to the indoor unit via the HOMEBUS bus.
[0016] Compared with the prior art, the advantages and positive effects of the present invention are as follows: in the multi-split air-conditioning system proposed in the present invention, a near-field communication module is installed in the shell of the outdoor unit, and the near-field communication module has a built-in EEPROM. The EEPROM is used as an SRAM address mapping to realize data transparent transmission. When it is necessary to upgrade the outdoor unit or the indoor unit, the upgrade terminal divides the upgrade data into a number of upgrade data packets, and places the upgrade terminal close to the near-field communication module to establish near-field communication. Based on the near-field communication, the upgrade data type code is first written into the first designated address of the EEPROM, and the upgrade data type distinguishes between indoor unit upgrade and outdoor unit upgrade, and then a number of upgrade data packets are sequentially written into the second designated address of the EEPROM; the upgrade controller installed in the outdoor unit is connected to the near-field communication module, and after each upgrade data packet is written into the upgrade terminal, the upgrade controller reads the upgrade data from the second designated address. Take the upgrade data packet and store it, that is, after the upgrade terminal writes each upgrade data packet, the upgrade controller reads the written upgrade data packet from the EEPROM for storage until all the upgrade data packets are read, thereby realizing data transparent transmission; then access the first designated address to obtain the upgrade data type code, and determine whether it is an outdoor unit upgrade or an indoor unit upgrade. If it is an indoor unit upgrade, the upgrade data is transmitted to the indoor unit through the HOMEBUS bus for upgrade, and if it is an outdoor unit upgrade, the outdoor unit is upgraded; based on the multi-split system provided by the present invention, users or maintenance personnel can use the upgrade terminal based on near-field communication to upgrade any device in the system, and based on data transparent transmission, the upgrade data can be quickly transmitted, which solves the problem that the multi-split air-conditioning system can only be upgraded point-to-point or the program can be burned on-site, and the system upgrade efficiency is significantly improved.
[0017] After reading the specific embodiments of the present invention in conjunction with the accompanying drawings, other features and advantages of the present invention will become more clear. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0019] Figure 1 A schematic diagram of the system architecture of the multi-split air conditioning system proposed by the present invention;
[0020] Figure 2 This is a schematic diagram of the functional architecture of the multi-split air conditioning system proposed by the present invention;
[0021] Figure 3 The schematic diagram of the process of performing the upgrade of the multi-split air conditioning system proposed by the present invention;
[0022] Figure 4 This is a second schematic diagram of the self-upgrade process of the multi-split air conditioning system proposed by the present invention;
[0023] Figure 5 This is the third schematic diagram of the self-upgrade process of the multi-split air conditioning system proposed by the present invention;
[0024] Figure 6 This is a fourth schematic diagram of the self-upgrade process of the multi-split air conditioning system proposed by the present invention;
[0025] Figure 7 This is a fifth schematic diagram of the self-upgrade process of the multi-split air conditioning system proposed by the present invention;
[0026] Figure 8 This is the sixth schematic diagram of the self-upgrade process of the multi-split air conditioning system proposed by the present invention;
[0027] Fig. 9 This is the seventh schematic diagram of the self-upgrade process of the multi-split air conditioning system proposed by the present invention;
[0028] Fig.10 The eighth schematic diagram of the self-upgrade process of the multi-split air conditioning system proposed by the present invention;
[0029] Fig.11 This is a schematic diagram of a process of performing an upgrade by an upgrade terminal in one embodiment of the present invention;
[0030] Fig.12 It is a schematic diagram of the process of performing an upgrade by an upgrade controller in one embodiment of the present invention;
[0031] Fig.13 A schematic diagram of a data processing flow of a near field communication module in one embodiment of the present invention;
[0032] Fig.14The figure is a schematic diagram of the message queue structure of a near field communication module in one embodiment of the present invention. DETAILED DESCRIPTION
[0033] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0034] In the description of the present application, it should be understood that the terms "center", "up", "down", "front", "back", "top", "bottom", "inside", "outside", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0035] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood 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 the feature. In the description of this application, unless otherwise specified, "plurality" means two or more.
[0036] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0037] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature.
[0038] The disclosure below provides many different embodiments or examples to realize different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplicity and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides various specific examples of processes and materials, but those of ordinary skill in the art can be aware of the application of other processes and / or the use of other materials.
[0039] The multi-split air conditioning system proposed in the present invention aims to realize a fast and convenient system upgrade method. Figure 1 and Figure 2 As shown, including:
[0040] An outdoor unit 1 and several indoor units 2, wherein the indoor units 2 communicate with the outdoor units based on the HOMBUS bus.
[0041] The near-field communication module 11 is installed on the shell of the outdoor unit 1, and includes a near-field communication chip and an antenna. The near-field communication chip has a built-in EEPROM. The EEPROM has a designated space, which can be used as an SRAM address mapping and as a data transparent transmission function, so that the upgraded data can be quickly transmitted based on the transparent transmission method.
[0042] The upgrade terminal 3 and the near field communication module 11 use near field communication to write the upgrade data into the designated space of the EEPROM.
[0043] The upgrade controller 4 is installed in the outdoor unit 1 and connected to the near field communication module 11, and is used to receive and store the upgrade data received by the near field communication module. When the upgrade data is the upgrade data of the indoor unit, the upgrade data is sent to the indoor unit through the HOMBUS bus.
[0044] In some embodiments of the present invention, the near field communication module 11 communicates with the upgrade controller 4 via an IIC bus.
[0045] Based on the structure provided by the present invention, the upgrade terminal 3 establishes near-field communication after approaching the near-field communication module 11. The upgrade terminal 3 sends the upgrade data to the outdoor unit 1 in a data transparent transmission manner based on the near-field communication. The outdoor unit 1 then distinguishes whether it is an outdoor unit upgrade or an indoor unit upgrade. When the indoor unit is upgraded, the upgrade data is transmitted to the indoor unit through the HOMBUS bus, so that any device in the multi-split air-conditioning system can be upgraded.
[0046] Specifically, Figure 3As shown, the upgrade terminal 3, the near field communication module 11 and the upgrade controller 4 implement transparent transmission of the upgrade data according to the following steps:
[0047] Step S31: the upgrading terminal writes the upgrading data type code into the first designated address.
[0048] The upgrade data type code here is used to distinguish between outdoor unit upgrade and indoor unit upgrade, and the first designated address is an address in the designated space of the EEPROM for storing the upgrade data type code.
[0049] Step S32: the upgrading terminal writes a plurality of upgrading data packets into the second designated address in sequence.
[0050] The upgrade terminal 3 divides the upgrade data into a number of upgrade data packets, numbers and sorts the upgrade data packets, and sends each upgrade data packet to the near field communication module in sequence based on near field communication in a packet transmission manner.
[0051] The second designated address is an address in the designated space of the EEPROM for storing the upgrade data packet, and at least one upgrade data packet can be written into the address space.
[0052] Step S33: after each upgrade data packet is written into the upgrade terminal, the upgrade controller reads and stores the upgrade data packet written into the upgrade terminal from the second designated address.
[0053] That is, the upgrade terminal writes the upgrade data packets into the second designated address one by one according to the sequence of the upgrade data packets, and at the same time, the upgrade controller reads the written upgrade data packets from the second designated address of the EEPROM, and reading and writing are performed simultaneously.
[0054] In some embodiments of the present invention, when the upgrade terminal writes a package of upgrade data to the second designated address, it does so in a refresh manner, that is, the latter package of upgrade data overwrites the previous package of upgrade data, or, before the latter package of upgrade data is written, the second designated address is cleared, and then the latter package of upgrade data is written; wherein, before the latter package of upgrade data is written to the second designated address, it is necessary to ensure that the upgrade controller has accurately read the previous package of upgrade data.
[0055] Step S34: When all upgrade data packets are read and stored, the upgrade controller reads the upgrade data type code from the first designated address.
[0056] Determine whether the upgrade data is used for outdoor unit upgrade or indoor unit upgrade according to the upgrade data type code.
[0057] Step S35: When the upgrade data code type is indoor unit upgrade, the upgrade data is sent to the indoor unit via the HOMEBUS bus.
[0058] The indoor unit receives and stores the upgrade data, and starts the upgrade process to perform the upgrade.
[0059] If the upgrade data code type is outdoor unit upgrade, the upgrade controller will upgrade it locally or send the upgrade data to the outdoor unit main control board for upgrade.
[0060] Based on the multi-split system provided by the present invention, when any device in the system needs to be upgraded, the user or maintenance personnel can use the upgrade terminal to transmit the upgrade data to the near-field communication module of the outdoor unit based on near-field communication, and the upgrade controller configured in the outdoor unit can judge the type of upgrade data. When the outdoor unit needs to be upgraded, a local upgrade can be implemented. When the indoor unit needs to be upgraded, the upgrade data is transmitted to the indoor unit through the existing HOMEBUS bus for upgrade, thereby realizing the upgrade of any device in the system, and the rapid transmission of the upgrade data can be realized based on data transparent transmission, which solves the problem that the multi-split air-conditioning system can only be upgraded point-to-point or the program can be burned on-site, and significantly improves the system upgrade efficiency.
[0061] In some embodiments of the present invention, the correctness of the data of the upgrade data packet written to the second designated address by the upgrade terminal 3 is checked by verification means to prevent the upgrade failure caused by the upgrade data error. Specifically, Figure 4 As shown, the upgrade terminal 3 writes the CRC checksum of the upgrade data packet into the third designated address of the EEPROM each time a packet of upgrade data is written; then, after reading the upgrade data packet from the second designated address and before storing the upgrade data packet, the upgrade controller 4 first calculates the CRC checksum of 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. When the two are consistent, the read upgrade data packet is stored. When they are inconsistent, it indicates that an error occurs when the upgrade terminal 3 writes the upgrade data packet or when the upgrade controller 4 reads the upgrade data packet, and the upgrade data packet needs to be retransmitted, and the upgraded data packet that has been written is cleared.
[0062] In some embodiments of the present invention, Figure 5 As shown, the upgrade terminal 3 writes the effective data size of the upgrade data packet to the fourth designated address of the EEPROM each time a packet of upgrade data is written; 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. When the two are consistent, the read upgrade data packet is stored; when they are inconsistent, the upgrade controller 4 writes the first read-write error code to the fifth designated address, and updates the effective data size stored at the fourth designated address to zero.
[0063] Among them, the first read-write error code is used to indicate the failure of reading and writing the current upgrade data packet. After writing the first read-write error code at the fifth specified address, the upgrade terminal 3 can read it before writing the next package of upgrade data to determine whether the last written upgrade data packet has been read normally by the upgrade controller 4.
[0064] And, after the upgrade data packet is written into the second designated address, the effective data size of the upgrade data packet is written into the fourth designated address by the upgrade terminal 3. The upgrade controller 4 can know whether the upgrade data packet has been written into the current second designated address by the upgrade terminal based on the reading of the fourth designated address, and read the upgrade data packet from the second designated address when it is not zero, and do not read it when it is zero; when the upgrade controller 4 has finished reading the upgrade package data, it updates the effective data size under the fourth designated address to zero, so that the upgrade terminal 3 can know whether the current second designated address can be written with upgrade data based on the reading of the fourth designated address, and when it is not zero, the upgrade terminal 3 cannot write data to the second designated address, and when it is zero, it means that there is no data under the second designated address, and the upgrade terminal 3 can write data to the second designated address. Therefore, after the upgrade controller 4 verifies the upgrade data packet, if the verification is wrong, the effective data size stored under the fourth designated address is updated to zero, so that the upgrade terminal 3 can know that there is no data under the current second designated address by reading it, and can write the upgrade data packet normally.
[0065] like Figure 6 In one embodiment shown, the upgrade terminal 3 reads the data under the fifth designated address before writing the upgrade data packet to the second designated address. When the data under the fifth designated address is a null value or zero, the current upgrade data packet is written to the second designated address. When it is a first read-write error code, the previous package of upgrade data of the current upgrade data packet to be written, that is, the last written upgrade data packet, is rewritten to the second designated address.
[0066] In some embodiments of the present invention, whether the upgrade data transmission is completed is determined by judging the number of upgrade data packets. Specifically, Figure 7As shown, the upgrade terminal 3 writes the total number of upgrade data packets into the sixth designated address of the EEPROM, and writes the number of upgrade data packets written into the seventh designated address of the EEPROM each time a packet of upgrade data is written; after storing the read upgrade data packet, the upgrade controller 3 reads the sixth designated address and the seventh designated address to obtain the total number of upgrade data packets and the number of upgrade data packets currently read and compares them. If the two are consistent, it means that the upgrade data has been transmitted as a whole. If they are inconsistent, the upgrade controller 4 updates the valid data size stored under the fourth designated address to zero, so that the upgrade terminal 3 can access the fourth designated address to know whether the next package of upgrade data can be written to it before writing the next package of upgrade data to the second designated address.
[0067] In some embodiments of the present invention, after the upgrade data has been transmitted as a whole, the correctness of the upgrade data is checked by re-verification, such as Figure 8 As shown, it includes: the upgrade terminal 3 writes the total package CRC checksum of the upgrade data into the eighth designated address of the EEPROM, and the upgrade controller 4 calculates the total CRC checksum of all upgrade data packets when the number of packets of the read upgrade data packets is consistent with the total number of packets of the upgrade data, and reads the eighth designated address to obtain the total package CRC checksum, compares the two, and completes the reading of the upgrade data when the calculated total CRC checksum is consistent with the read total package CRC checksum, writes the second read-write error code to the fifth designated address when the calculated total CRC checksum is inconsistent with the read total package CRC checksum, and updates the valid data size stored under the fourth designated address to zero.
[0068] Among them, the second read-write error code is used to indicate that the read and write of the overall upgrade data fails. After the second read-write error code is written to the fifth designated address, the upgrade terminal 3 can read it before ending the transmission of the upgrade data to know whether the overall upgrade data is normally read by the upgrade control 4. When the second read-write error code is read, it is necessary to restart the upgrade process and re-execute the above operation to transmit the upgrade data once. Fig. 9 shown.
[0069] In some embodiments of the present invention, after the upgrade terminal establishes near field communication with the near field communication module, it is not limited to the transmission of upgrade data, but can also be multiplexed for other data transmission purposes. Fig.10As shown, a ninth designated address is allocated in the EEPROM, and the upgrade terminal 3 or other terminals can distinguish the type of transmission data by writing different request data format codes to the ninth designated address. Before reading the upgrade data packet from the second designated address, the upgrade controller 4 first reads the ninth designated address to obtain the request data format code, determines the type of the request data, and reads the upgrade data packet from the second designated address when the request data format code is an upgrade request digital code. If the request data format code does not include an upgrade request data code, the upgrade controller 4 does not take action, and other controllers read data from other designated addresses or the second designated address.
[0070] The following is a detailed description of the process of upgrading the multi-split air conditioning system proposed in the present invention using a specific embodiment, which is divided into an upgrade terminal 3 part and an upgrade controller 4 part, namely, the outdoor unit part.
[0071] In this embodiment, the EEPROM built into the near field communication module 11 is divided into a designated space, for example, the first 0-0x3F address space is 256 bytes in total, 64 blocks, each block includes 4 bytes; this space is used as SRAM address mapping to realize the data transparent transmission function, and the software upgrade of this embodiment is implemented based on this.
[0072] As shown in Table 1 below, in the 0-0x3F address space, 00H-04H is defined as the protocol packet header, and the protocol packet body is after 04H, as follows:
[0073] Table 1
[0074]
[0075] In this embodiment, the data processing of the near field communication module is as follows: Fig.13 As shown, two independent message queues are established, the maximum value of queue elements is set to 8, the queues are divided into head and tail, messages are stored from the head and taken from the tail; the queues are implemented as ring queues, as shown Fig.14 shown.
[0076] The queue contents include:
[0077] Data type: The near field communication module is used to process different types of messages from the upgrade terminal or upgrade controller.
[0078] Data length, receive data according to the data length.
[0079] Data content: data that needs to be forwarded from the upgrade terminal or upgrade controller.
[0080] The interfaces used by the queue include:
[0081] Queue initialization interface: initialize the head and tail of the queue, etc.
[0082] Queue add element interface: add elements from the head of the queue and move the head of the queue backwards.
[0083] Queue element removal interface: take out elements from the tail of the queue and move the tail of the queue backwards.
[0084] Queue element deletion interface: delete elements from between the head and tail of the queue.
[0085] The near field communication module receives data sent by the upgrade terminal and stores it in message queue 1, takes it out from message queue 1 and sends it to the upgrade controller; the near field communication module receives data sent by the upgrade controller and stores it in message queue 2, takes it out from message queue 2 and sends it to the upgrade terminal.
[0086] like Fig.11 As shown, the terminal upgrade part is upgraded as follows:
[0087] 1. Open the upgrade APP, load the bin file of the upgrade program, approach the near-field communication module installed on the outdoor unit housing, and establish near-field communication with the near-field communication module.
[0088] 2. The upgrade terminal writes the register at address 03H, including the total number of upgrade data packets and the total packet CRC checksum.
[0089] 3. The upgrade terminal writes BYTE0 at address 00H, and the write request data format code is the upgrade request data code: 41H.
[0090] 4. The upgrade terminal writes BYTE1 and BYTE2 at address 00H and writes the upgrade data type code.
[0091] For example, when the outdoor unit is upgraded, BYTE1 is written to 1 and BYTE2 is written to 0; when the indoor unit is upgraded, BYTE1 is written to 0 and BYTE2 is written to 1.
[0092] 5. Read BYTE3 at address 00H to obtain the valid data size.
[0093] When the effective data size is zero, go to step 6; when the effective data size is not zero, there is data in the read-write data interaction register and other data cannot be written. Wait in this step or return to step 4.
[0094] 6. Read BYTE2 at address 04H and obtain the read / write error code.
[0095] When the read / write error code is zero, it indicates that the data interaction in the read / write data interaction register is normal, and the process goes to step 7. When the read / write error code is 01 (when an error occurs when the upgrade controller 4 reads the upgrade data packet, the upgrade controller 4 writes BYTE2 at address 04H), it indicates that an exception occurs when the current upgrade terminal writes the upgrade data packet or when the upgrade controller reads the upgrade data packet, and the process goes to step 9.
[0096] 7. The upgrade terminal starts writing upgrade data packet i from address 05H.
[0097] The upgrade data bin file is divided into N upgrade data packets by the upgrade terminal, i∈(1,2,…,N), one upgrade data packet is 128 bytes, and the upgrade data packet i is written into the read-write data interaction register (ie, the second designated address) at one time.
[0098] 8. The upgrade terminal writes BYTE0 and BYTE1 at address 01H, writes the CRC checksum of the currently written upgrade data packet i, and writes BYTE0 and BYTE1 at address 04H, writes the number of the currently written upgrade data packet i.
[0099] 9. The upgrade terminal starts writing upgrade data packet i-1 from address 05H.
[0100] When an error occurs when the upgrade controller 4 reads the upgrade data packet, the upgrade controller 4 writes BYTE2 at address 04H, and the upgrade terminal rewrites the upgrade data packet i-1 and writes the upgrade data packet i-1 to the read-write data interaction register (ie, the second designated address) at one time.
[0101] 10. The upgrade terminal writes BYTE0 and BYTE1 at address 01H, writes the CRC checksum of upgrade data packet i-1, and writes BYTE0 and BYTE1 at address 04H, writes the number of packets of upgrade data packet i-1.
[0102] 11. The upgrade terminal writes BYTE3 at address 00H and writes the valid data size.
[0103] In this embodiment, the effective data size is 128 bytes.
[0104] 12. Compare the total number of packets with the number of packets in upgrade data packet i or i-1.
[0105] When the two are equal, go to step 13. When the current number of packets is less than the total number of packets, return to step 5.
[0106] 13. Read BYTE2 at address 04H and obtain the read / write error code.
[0107] When the read / write error code is zero, the upgrade data transmission is completed. When the read / write error code is 02H (when the upgrade controller 4 reads all the upgrade data packets and finds an error after verification, the upgrade controller 4 writes BYTE2 under the address 04H), return to step 4 and rewrite the upgrade data.
[0108] like Fig.12 As shown, the upgrade controller part is implemented as follows:
[0109] 1. The upgrade controller reads BYTE0 at address 00H of EEPROM to obtain the requested data format code.
[0110] When it is 041H, that is, when it is a request to upgrade the data format code, go to step 2, otherwise perform other operations related to the request data format code.
[0111] 2. The upgrade controller reads BYTE3 at address 00H to obtain the valid data size.
[0112] When it is zero, it indicates that there is no data to be read from the read-write data interaction register. When it is greater than zero, proceed to step 3.
[0113] 3. Read the upgrade data packet starting from 05H.
[0114] 4. Calculate the CRC checksum of the read upgrade data packet.
[0115] 5. Read BYTE0 and BYTE1 at address 01H, obtain the CRC checksum, and compare it with the calculated CRC checksum.
[0116] If the two are consistent, go to step 6; if the two are inconsistent, go to step 7.
[0117] 6. Save the read upgrade data package.
[0118] 7. Write the first read / write error code to BYTE2 at address 04H, write BYTE3 at address 00H to zero, and return to step 2.
[0119] For example, write 01H to BYTE2 at address 04, and write 0 to BYTE3 at address 00H; this is used to inform the upgrade terminal that the current upgrade data packet read error has occurred, and that the read-write data interaction register has been reset to zero, and data can be rewritten therein.
[0120] 8. After step 6, read BYTE0 and BYTE1 at address 03H, read BYTE0 and BYTE1 at address 04H, and compare whether the current number of packets read is equal to the total number of packets.
[0121] If they are not equal, go to step 9; if they are equal, go to step 10.
[0122] 9. Write BYTE3 at address 00H to zero and return to step 2.
[0123] When the current number of packets is not equal to the total number of packets, the upgrade data has not been transmitted completely, and 0 is written to BYTE3 at address 00H to inform the upgrade terminal that data can be written to the read-write data interaction register, so that after the upgrade terminal writes the next package of upgrade data to the read-write data interaction register, the upgrade data packet can be read from it.
[0124] 10. Calculate the total CRC checksum of the total upgrade data, read BYTE2 and BYTE3 under address 03H, and compare the calculated CRC checksum with the total package CRC checksum to see if they are equal.
[0125] If they are equal, go to step 12; if they are not equal, go to step 11.
[0126] 11. Write the second read / write error code to BYTE2 at address 04H, write BYTE3 at address 00H to zero, and return to step 2.
[0127] For example, 02H is written into BYTE2 at address 04, and 0 is written into BYTE3 at address 00H; this is used to inform the upgrade terminal that the upgrade data read error has occurred, and that the read-write data interaction register has been reset to zero, and the upgrade data can be rewritten therein.
[0128] 12. Finish reading the upgrade data.
[0129] 13. Read BYTE1 and BYTE2 at address 00H to obtain the upgrade data type code.
[0130] 14. When the upgrade data code type is the indoor unit upgrade type code, the upgrade data is sent to the indoor unit via the HOMEBUS bus; when the upgrade data code type is the outdoor unit upgrade type code, the upgrade data is sent to the outdoor unit upgrade controller.
[0131] Based on the multi-split air-conditioning system proposed by the present invention, each device inside the system (indoor unit or outdoor unit) combines near-field communication and data transparent transmission to transmit the upgrade data from the upgrade terminal to the near-field communication module configured in the outdoor unit, and can be transmitted from the outdoor unit to the indoor unit through the existing HOMEBUS bus, thereby realizing the upgrade operation of each device in the system.
[0132] In the embodiment of the present invention, the air conditioner in the 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 cool or heat the indoor space.
[0133] The low-temperature and low-pressure refrigerant enters the compressor, which compresses it into high-temperature and high-pressure refrigerant gas 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 the heat is released to the surrounding environment through the condensation process.
[0134] The expansion valve expands the high-temperature and high-pressure liquid refrigerant condensed in the condenser into a low-pressure liquid refrigerant. The evaporator evaporates the refrigerant expanded in the expansion valve and returns the low-temperature and low-pressure refrigerant gas to the compressor. The evaporator can achieve a cooling effect by utilizing the latent heat of evaporation of the refrigerant to exchange heat with the material to be cooled. In the entire cycle, the air conditioner can adjust the temperature of the indoor space.
[0135] 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.
[0136] The indoor heat exchanger and the outdoor heat exchanger function as a condenser or an evaporator. When the indoor heat exchanger functions as a condenser, the air conditioner functions as a heater in a heating mode, and when the indoor heat exchanger functions as an evaporator, the air conditioner functions as a cooler in a cooling mode.
[0137] In the description of the above embodiments, specific features, structures, materials or characteristics may be combined in a suitable manner in any one or more embodiments or examples.
[0138] The above is only a preferred embodiment of the present invention, and does not limit the present invention in other forms. Any technician familiar with the profession may use the above disclosed technical content to change or modify it into an equivalent embodiment with equivalent changes. However, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still belongs to the protection scope of the technical solution of the present invention.
Claims
1. A multi-split air conditioning system, comprising: Outdoor unit and several indoor units, the indoor units communicate with the outdoor units based on HOMBUS bus; It is characterized by further comprising: The near field communication module is installed on the housing of the outdoor unit and includes a near field communication chip; the near field communication chip has a built-in EEPROM; The upgrade terminal and the near field communication module use near field communication to write upgrade data to the EEPROM, including: Writing the upgrade data type code into the first designated address; wherein the upgrade data type is indoor unit upgrade or outdoor unit upgrade; the upgrade data is divided into a plurality of upgrade data packets; Writing a plurality of upgrade data packets into a second designated address in sequence; Upgrade controller, installed in the outdoor unit, connected to the near field communication module, used for: After each package of upgrade data is written into the upgrade terminal, the written upgrade data package is read from the second designated address and stored; When all upgrade data packets are read and stored, the upgrade data type code is read from the first designated address, and when the upgrade data type code is indoor unit upgrade, the upgrade data is sent to the indoor unit via the HOMEBUS bus; The upgrade terminal is also used for: When writing each upgrade data packet, writing the CRC checksum of the upgrade data packet into the third designated address; The upgrade controller, after reading the upgrade data packet from the second designated address, calculates the CRC checksum of the read upgrade data packet, and obtains the CRC checksum written by the upgrade terminal from the third designated address; Compare the calculated CRC checksum with the CRC checksum written by the upgrade terminal, and if they are consistent, store the read upgrade data packet; The upgrade terminal is also used for: When writing each upgrade data packet, writing the effective data size of the upgrade data packet into the fourth designated address; When the calculated CRC checksum is inconsistent with the CRC checksum written by the upgrade terminal, the upgrade controller writes a 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 upgrade terminal is also used for: Writing the total number of packages of the upgrade data into the sixth designated address; When writing each upgrade data packet, the packet number of the upgrade data packet is written into the seventh designated address; The upgrade controller is also used for: After storing the read upgrade data packet, reading the sixth designated address and the seventh designated address to obtain the total number of upgrade data packets and the number of upgrade data packets currently read and compare them; When the number of packets of the currently read upgrade data packet is inconsistent with the total number of packets of the upgrade data, the effective data size stored at the fourth designated address is updated to zero; The upgrade terminal is also used for: Write the total package CRC checksum of the upgrade data into the eighth designated address; The upgrade controller is also used for: When the number of packets of the currently read upgrade data packet is consistent with the total number of packets of the upgrade data, a total CRC checksum is calculated, and a total packet CRC checksum under the eighth designated address is read; When the calculated total CRC checksum is consistent with the read total package CRC checksum, the reading of the upgrade data is completed; When the calculated total CRC checksum is inconsistent with the read total packet CRC checksum, a second read / write error code is written to the fifth designated address, and the valid data size stored at the fourth designated address is updated to zero.
2. The multi-split air conditioning system according to claim 1, characterized in that: The upgrade controller is also used for: Before reading the upgrade data packet from the second designated address, the fourth designated address is read to obtain the effective data size, and when the effective data size is not zero, the upgrade data packet is read from the second designated address.
3. The multi-split air conditioning system according to claim 1, characterized in that: The upgrade terminal is also used for: Write the requested data format code into the ninth designated address; The upgrade controller reads the ninth designated address to obtain the request data format code before reading the upgrade data packet from the second designated address, and reads the upgrade data packet from the second designated address when the request data format code is an upgrade request data code.
4. The multi-split air conditioning system according to claim 1, characterized in that: The upgrade terminal is also used for: Before writing the upgrade data packet into the second designated address, the fourth designated address is read to obtain the effective data size, and when the effective data size is zero, the upgrade data packet is written into the second designated address.
5. The multi-split air conditioning system according to claim 1, characterized in that: The upgrade terminal is also used for: Before writing the upgrade data packet into the second designated address, reading the data at the fifth designated address, and when the data is a null value or zero, writing the current upgrade data packet into the second designated address; When it is the first read-write error code, the previous upgrade data packet of the current upgrade data packet is written into the second designated address.
6. The multi-split air conditioning system according to claim 1, characterized in that: The upgrade terminal is also used for: After writing the upgrade data packet to the second designated address, reading the sixth designated address and the seventh designated address to obtain the total number of upgrade data packets and the number of currently written upgrade data packets and compare them; When the number of the currently written upgrade data packet is consistent with the total number of upgrade data packets, read the data under the fifth designated address, and when the data is a null value or zero, end the upgrade data writing operation; Re-upgrade when it is the second read-write error code.
Citation Information
Patent Citations
Air conditioner
CN111780342A
Multi-split air conditioner
CN113685921A