CN117346220A - Household appliance system and communication method, equipment and storage medium thereof - Google Patents

Household appliance system and communication method, equipment and storage medium thereof Download PDF

Info

Publication number
CN117346220A
CN117346220A CN202210744756.1A CN202210744756A CN117346220A CN 117346220 A CN117346220 A CN 117346220A CN 202210744756 A CN202210744756 A CN 202210744756A CN 117346220 A CN117346220 A CN 117346220A
Authority
CN
China
Prior art keywords
communication
communication bus
bus
arbitration frame
interface
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
CN202210744756.1A
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.)
GD Midea Air Conditioning Equipment Co Ltd
Foshan Shunde Midea Electric Science and Technology Co Ltd
Original Assignee
GD Midea Air Conditioning Equipment Co Ltd
Foshan Shunde Midea Electric Science and Technology 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 GD Midea Air Conditioning Equipment Co Ltd, Foshan Shunde Midea Electric Science and Technology Co Ltd filed Critical GD Midea Air Conditioning Equipment Co Ltd
Priority to CN202210744756.1A priority Critical patent/CN117346220A/en
Priority to PCT/CN2023/091272 priority patent/WO2024001491A1/en
Publication of CN117346220A publication Critical patent/CN117346220A/en
Pending legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F1/00Room units for air-conditioning, e.g. separate or self-contained units or units receiving primary air from a central station
    • F24F1/0003Room units for air-conditioning, e.g. separate or self-contained units or units receiving primary air from a central station characterised by a split arrangement, wherein parts of the air-conditioning system, e.g. evaporator and condenser, are in separately located units
    • 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/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/18Controlling the light source by remote control via data-bus transmission
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/30Velocity
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/50Air quality properties
    • F24F2110/62Tobacco smoke
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/50Air quality properties
    • F24F2110/64Airborne particle content
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/50Air quality properties
    • F24F2110/65Concentration of specific substances or contaminants
    • F24F2110/70Carbon dioxide
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a household appliance system, a communication method, equipment and a storage medium thereof. The method comprises the following steps: when any one of the devices has a data transmission requirement, the device monitors the state of the communication bus through the monitoring interface, and when the communication bus is in an idle state, an arbitration frame is transmitted to the communication bus through the communication interface; the device receives an arbitration frame on the communication bus through the monitoring port, competes for control rights of the communication bus according to the received arbitration frame and the sent arbitration frame, and sends a data frame to the communication bus through the communication interface when the control rights of the competing communication bus are successful. Therefore, when any one of the devices has a data transmission requirement, the device can compete for the control right of the communication bus by sending an arbitration frame when monitoring that the communication bus is in an idle state, thereby realizing timely and efficient transmission of service data.

Description

Household appliance system and communication method, equipment and storage medium thereof
Technical Field
The invention relates to the technical field of household appliances, in particular to a household appliance system, a communication method, equipment and a storage medium thereof.
Background
An air conditioning system generally consists of an outdoor unit, an indoor unit and a wire controller. The multi-split air conditioning system belongs to a multi-split air conditioning system, and comprises a plurality of indoor units, wherein a communication network is required to be established between the indoor units and an outdoor unit for communication, and an RS485 communication network is mainly adopted at present. The RS485 communication network generally adopts a master-slave mode, that is, the communication network is composed of a host and a plurality of slaves, an outdoor unit is used as the host, an indoor unit and a line controller are used as the slaves, the host polls the roll-call slaves, the roll-to-name slaves respond, and the slaves which do not roll to the roll-to-name cannot actively transmit data. The characteristics of master-slave communication cause that in some special cases, the slave cannot actively transmit data, for example, when an emergency fault occurs, a shutdown is needed, a fire alarm occurs, etc., a signal cannot be transmitted to the master or other slaves at the first time, and unit damage or other losses are easily caused.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent. Therefore, a first object of the present invention is to provide a communication method of a home appliance system, in which when any one of a plurality of devices has a data transmission requirement, the device can compete for control rights of a communication bus by sending an arbitration frame when the device monitors that the communication bus is in an idle state, so as to realize timely and efficient transmission of service data.
A second object of the present invention is to propose a computer readable storage medium.
A third object of the invention is to propose a device.
A fourth object of the present invention is to provide a home appliance system.
To achieve the above object, an embodiment of the present invention provides a communication method of a home appliance system, the home appliance system including a plurality of devices, each device including a communication interface and a monitoring interface, and each device being connected to a communication bus through the communication interface and the monitoring interface, respectively, so as to perform carrier communication, the method including: when any one of the devices has a data transmission requirement, the device monitors the state of the communication bus through the monitoring interface, and when the communication bus is in an idle state, an arbitration frame is transmitted to the communication bus through the communication interface; the device receives an arbitration frame on the communication bus through the monitoring port, competes for control rights of the communication bus according to the received arbitration frame and the sent arbitration frame, and sends a data frame to the communication bus through the communication interface when the control rights of the competing communication bus are successful.
According to the communication method of the household appliance system, when any one of a plurality of devices has a data transmission requirement, the device monitors the state of a communication bus through a monitoring interface, and when the communication bus is in an idle state, an arbitration frame is transmitted to the communication bus through the communication interface, the device receives the arbitration frame on the communication bus through the monitoring port, competes for the control right of the communication bus according to the received arbitration frame and the transmitted arbitration frame, and transmits the data frame to the communication bus through the communication interface when the control right of the competing communication bus is successful. Therefore, when any one of the devices has a data transmission requirement, the device can compete for the control right of the communication bus by sending an arbitration frame when monitoring that the communication bus is in an idle state, and send a data frame after the control right of the competing communication bus is successful, so that the timely and efficient transmission of service data is realized.
To achieve the above object, a second aspect of the present invention provides a computer-readable storage medium having stored thereon a communication program of a home appliance system, which when executed by a processor, implements the communication method of the home appliance system of any of the above embodiments.
According to the computer readable storage medium of the embodiment of the invention, by adopting the communication method of the household appliance system, when any one of a plurality of devices has a data transmission requirement, the device can compete for the control right of the communication bus by sending an arbitration frame when monitoring that the communication bus is in an idle state, and send a data frame after the control right of the competing communication bus is successful, thereby realizing timely and efficient sending of service data.
To achieve the above object, an embodiment of a third aspect of the present invention provides an apparatus, including: the communication method of the home appliance system of any embodiment is realized when the processor executes the communication program of the home appliance system.
According to the device provided by the embodiment of the invention, by adopting the communication method of the household appliance system, when any one of a plurality of devices has a data transmission requirement, the device can compete for the control right of the communication bus by sending an arbitration frame when monitoring that the communication bus is in an idle state, and send a data frame after the control right of the competing communication bus is successful, so that the timely and efficient transmission of service data is realized.
To achieve the above object, a fourth aspect of the present invention provides a home appliance system, including a plurality of devices, each device including a communication interface and a monitoring interface, and each device being connected to a communication bus through the communication interface and the monitoring interface, respectively, for performing carrier communication, wherein when any one of the plurality of devices has a data transmission requirement, the device monitors a state of the communication bus through the monitoring interface, and when the communication bus is in an idle state, sends an arbitration frame to the communication bus through the communication interface, and receives the arbitration frame on the communication bus through the monitoring port, and contends for control rights of the communication bus according to the received arbitration frame and the sent arbitration frame, and when contending for control rights of the communication bus, sends a data frame to the communication bus through the communication interface.
According to the household appliance system provided by the embodiment of the invention, when any one of a plurality of devices has a data transmission requirement, the device monitors the state of the communication bus through the monitoring interface, and when the communication bus is in an idle state, the device transmits an arbitration frame to the communication bus through the communication interface, and the device receives the arbitration frame on the communication bus through the monitoring port, competes for the control right of the communication bus according to the received arbitration frame and the transmitted arbitration frame, and transmits the data frame to the communication bus through the communication interface when the control right of the competing communication bus is successful. Therefore, when any one of the devices has a data transmission requirement, the device can compete for the control right of the communication bus by sending an arbitration frame when monitoring that the communication bus is in an idle state, and send a data frame after the control right of the competing communication bus is successful, so that the timely and efficient transmission of service data is realized.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIGS. 1 a-1 b are schematic structural views of a home appliance system according to an embodiment of the present invention;
fig. 2 is a flow chart illustrating a communication method of a home appliance system according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a communication method of a home appliance system according to another embodiment of the invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
The following describes a home appliance system, a communication method, a device and a storage medium thereof according to an embodiment of the present invention with reference to the accompanying drawings.
It should be noted that, the home appliance system in the embodiment of the present invention may be any system that needs to be networked for communication, and for convenience of description, the multi-split system is mainly described below as an example.
As shown in fig. 1a, the home appliance system includes a plurality of devices, and specifically includes an outdoor unit, n indoor units, and n line controllers corresponding to the n indoor units one by one, where n is an integer greater than 1. As shown in fig. 1B, each device includes a communication interface a, a monitoring interface B, and an MCU (Micro Controller Unit, micro control unit), and each device is connected to a communication bus through the communication interface a and the monitoring interface B and two-core communication lines, respectively, for carrier communication. The carrier communication means that the communication bus realizes power supply of two-core communication lines and transmission of differential signals (such as RS485 differential signals) through a carrier communication technology, the communication interface A is responsible for modulation and transmission of carrier signals, the monitoring interface B is responsible for receiving and demodulation of carrier signals, and idle and busy states of the communication bus are detected. The whole communication network is a multi-master communication network, namely a non-master communication network, the status of each device is equal, and the non-master communication network has no master-slave score.
Fig. 2 is a flow chart illustrating a communication method of a home appliance system according to an embodiment of the present invention. As shown in fig. 2, the communication method of the home appliance system may include:
s101, when any one of a plurality of devices has a data transmission requirement, the device monitors the state of the communication bus through a monitoring interface, and when the communication bus is in an idle state, an arbitration frame is transmitted to the communication bus through the communication interface.
Specifically, taking fig. 1b as an example, when any one of the devices has a data transmission requirement, for example, when the indoor unit 1 needs to be stopped when an emergency fault occurs, or a fire alarm occurs, the indoor unit 1 needs to send fault state data to the outdoor unit or other indoor units, and the indoor unit 1 monitors the state of the communication bus through a monitoring interface thereon.
In some embodiments, the manner in which the device monitors the status of the communication bus through the monitoring interface may be: the level signal of the communication bus is monitored through the monitoring interface, and the state of the communication bus is determined according to the level signal.
The level signal is a signal represented by a level, the level is a high level "1" and a low level "0", and when the continuous high level is monitored through the monitoring interface according to the carrier communication characteristic, the communication bus is determined to be in a busy state; and when the falling edge level signal is monitored through the monitoring interface, determining that the communication bus is in an idle state.
In practical application, the state of the communication bus may be represented by a state identifier BS, for example, the indoor unit 1 monitors the level of the communication bus through a monitoring interface thereon, and when a continuous high level is monitored, it indicates that there is signal transmission on the communication bus, and the communication bus is in a busy state at this time, and the state identifier BS may be set to 1; when a falling edge is detected, i.e. the high level is switched to the low level, it indicates that no signal has been transmitted on the communication bus, and the communication bus is in an idle state, and the state identifier BS may be set to 0. At the time of the subsequent control, the current state of the communication bus is known on the basis of the state identifier BS.
When the communication bus is determined to be in an idle state, an arbitration frame can be sent to the communication bus through the communication interface to compete for control rights of the communication bus; when the communication bus is determined to be in a busy state, the device does not send an arbitration frame to the communication bus through the communication interface because the communication bus is occupied by other devices.
In practical application, the transmission identifier SF may be used to indicate whether or not to transmit an arbitration frame to the communication bus, for example, when the indoor unit 1 determines that the communication bus is in an idle state, the indoor unit 1 transmits the arbitration frame to the communication bus through the communication interface thereon, and sets the transmission identifier SF to 1 after transmission is completed; when the indoor unit 1 determines that the communication bus is busy, the indoor unit 1 does not transmit an arbitration frame to the communication interface, and at this time, the transmission identifier SF is set to 0. In the subsequent control, whether or not the indoor unit 1 has transmitted an arbitration frame to the communication bus before can be known based on the transmission identifier SF, so as to perform bus contention, and further obtain bus control rights, so that data to be transmitted is transmitted through the communication bus. Further, the buffer identifier BF may also be used to indicate whether there is a need to send an arbitration frame to the communication bus, e.g., when there is a need, the buffer identifier BF is set to 1, and when there is no need, the buffer identifier BF is set to 0.
According to the embodiment, all devices connected to the communication bus can send arbitration frames to the communication bus through the communication interfaces on the devices according to the requirements, so that free competition of control rights of the communication bus is realized.
S102, the device receives the arbitration frame on the communication bus through the monitoring port, competes the communication bus control right according to the received arbitration frame and the sent arbitration frame, and sends the data frame to the communication bus through the communication interface when the competition communication bus control right is successful.
That is, after the device sends the arbitration frame to the communication bus, it also receives the arbitration frame on the communication bus, where the received arbitration frame may be an arbitration frame sent by itself or may be an arbitration frame sent by another device, and according to the self-sent arbitration frame and the received arbitration frame, it may determine whether there is a bus control right currently, that is, whether the bus control right is contended, if so, it may send a data frame to the communication bus through the communication interface, otherwise, it may not send a data frame, and continue to monitor the status of the communication bus through the monitoring interface, so as to re-contend for the bus control right.
Taking the indoor unit 1 as an example, after the indoor unit 1 sends an arbitration frame to the communication bus through the communication interface thereon, the indoor unit 1 monitors the arbitration frame on the communication bus through the monitoring interface, and judges whether the indoor unit 1 competes with the bus control right according to the sent arbitration frame and the received arbitration frame, if yes, the indoor unit sends the data to be sent to the communication bus through the communication interface thereon, otherwise, the state of the communication bus is monitored again through the monitoring interface thereon, so as to perform the competition of the next bus control right.
In some embodiments, competing for communication bus control based on the received arbitration frame and the transmitted arbitration frame may be: when the received arbitration frame is consistent with the transmitted arbitration frame, determining that the control right of the competitive communication bus is successful; and when the received arbitration frame is inconsistent with the transmitted arbitration frame, determining that the control right of the competitive communication bus fails.
Specifically, taking the indoor unit 1 as an example, when the indoor unit 1 monitors that the communication bus is in an idle state, the indoor unit 1 sends an arbitration frame to the communication bus through a communication interface on the indoor unit 1 to apply for bus control rights, and simultaneously receives the arbitration frame on the communication bus, if the indoor unit 1 receives the arbitration frame sent by itself through the monitoring interface, that is, the sent arbitration frame is consistent with the received arbitration frame, it is indicated that the current communication bus is not preempted, the indoor unit 1 preempts successfully and obtains bus control rights, and data can be sent at the moment; if the arbitration frame received by the indoor unit 1 through the monitoring interface is not sent by itself, that is, the sent arbitration frame is inconsistent with the received arbitration frame, which indicates that the current communication bus is preempted, the indoor unit 1 fails to compete, the bus control right is not obtained, and other devices obtain the bus control right, so that data cannot be sent at this time.
In actual application, the contention identifier AF may be used to indicate whether or not the bus control right is obtained, for example, when the bus control right is not obtained, the contention identifier AF is set to 1; when bus control is obtained, the contention identifier AF is set to 0. Upon subsequent control, based on the contention identifier AF, it is known whether to enter a data frame transmission state or to re-monitor the state of the communication bus to enter the next round of contention. Further, the received identifier BF may be used to indicate whether an arbitration frame is received from an idle communication bus, for example, when the received frame is received, the received identifier BF is set to 1, when the received frame is not received, the received identifier BF is set to 0, and then the contention identifier AF may be determined according to the received identifier BF, so as to determine whether there is bus control right, so as to perform subsequent operations.
In some embodiments, when competing for communication bus control rights fails, the communication method further comprises: if the device still has data transmission requirements, the state of the communication bus is continuously monitored through the monitoring interface.
That is, when the device fails to contend for the bus control right, if the device still has a data transmission requirement, the state of the communication bus is continuously monitored through the monitoring interface on the device, if the communication bus is monitored to be in an idle state, an arbitration frame can be continuously transmitted to the communication bus through the communication interface so as to contend for the bus control right again, so that some important data can be transmitted through the communication bus in time, for example, the indoor unit 1 has a device failure, and a control signal needs to be transmitted to an outdoor unit, other indoor units or a wire controller, so that further failure or dangerous accidents are avoided; for some data which is not particularly important, the data can be sent when the next sending period arrives, and the data can be specifically selected according to actual situations.
In some embodiments, the device waits after sending an arbitration frame to the communication bus via the communication interface and receives the arbitration frame on the communication bus via the monitoring port after waiting for a predetermined time.
Specifically, when the device monitors that the communication bus is in an idle state, after sending an arbitration frame to the communication bus through the communication interface, the device waits, and after waiting for a preset time (the time is the time required for waiting for the communication bus to return to the arbitration frame after sending the arbitration frame to the communication bus through the communication interface), receives the arbitration frame on the communication bus through the monitoring port, compares the received arbitration frame with the sent arbitration frame, and determines that the control right of the contention bus is successful when the received arbitration frame is consistent with the sent arbitration frame, and can send a data frame through the communication bus at the moment; when the received arbitration frame is inconsistent with the transmitted arbitration frame, determining that the competing bus control right fails, and if the data transmission requirement still exists, continuing to repeat the steps until the competing bus control right is successful.
Therefore, when the competing bus control right fails, the monitoring interface is used for circularly monitoring whether the communication bus is in an idle state, and when the communication bus is in the idle state, an arbitration frame is continuously sent to the communication bus to compete the bus control right until the competing bus control right succeeds, service data such as control data, fault alarm data and the like are sent, so that the timely and efficient sending of the service data is realized.
In one specific example, referring to fig. 3, the communication method may include:
s201, when any one of the plurality of devices has a data transmission requirement (bf=1), S202 is executed.
S202, the device monitors whether the communication bus is in an idle state through a monitoring interface, and if so, S203 is executed; otherwise, S204 is performed.
S203, sending an arbitration frame (sf=1) to the communication bus through the communication interface.
S204, the device continuously monitors whether the communication bus is in an idle state through the monitoring interface.
S205, the device waits for a preset time T1.
S206, the device monitors whether an arbitration frame on the communication bus is received through the monitoring port, if so, S207 is executed; otherwise, S205 is executed back.
S207, comparing whether the transmitted arbitration frame is consistent with the received arbitration frame.
S208, if the transmitted arbitration frame coincides with the received arbitration frame, S209 is performed; otherwise, execution returns to S201.
S209, sending the data frame to the communication bus through the communication interface.
In the above embodiment, when any one of the devices has a data transmission requirement, the monitoring interface is used to monitor whether the communication bus is in an idle state in a circulating manner, and when the communication bus is in an idle state, an arbitration frame is sent to the communication bus through the communication interface; the device receives the arbitration frame on the communication bus through the monitoring port, competes for the bus control right according to the received arbitration frame and the sent arbitration frame, and sends the data frame to the communication bus through the communication interface when the competition bus control right is successful, and continuously monitors the state of the communication bus through the monitoring interface after the competition bus control right fails, so that the control right of the competition bus is continuously carried out when the communication bus is idle, and the service data is sent until the competition bus control right is successful, thereby realizing timely and efficient sending of the service data.
In summary, according to the communication method of the home appliance system in the embodiment of the present invention, when any one of a plurality of devices has a data transmission requirement, the device monitors the state of the communication bus through the monitoring interface, and when the communication bus is in an idle state, sends an arbitration frame to the communication bus through the communication interface; the device receives an arbitration frame on the communication bus through the monitoring port, competes for control rights of the communication bus according to the received arbitration frame and the sent arbitration frame, and sends a data frame to the communication bus through the communication interface when the control rights of the competing communication bus are successful. Therefore, when any one of the devices has a data transmission requirement, the device can compete for the control right of the communication bus by sending an arbitration frame when monitoring that the communication bus is in an idle state, and send a data frame after the control right of the competing communication bus is successful, so that the timely and efficient transmission of service data is realized.
Corresponding to the above embodiment, the embodiment of the present invention further provides a computer readable storage medium, on which a communication program of the home appliance system is stored, where the communication program of the home appliance system is executed by the processor to implement the communication method of the home appliance system of any of the above embodiments.
According to the computer readable storage medium of the embodiment of the invention, by adopting the communication method of the household appliance system, when any one of a plurality of devices has a data transmission requirement, the device can compete for the control right of the communication bus by sending an arbitration frame when monitoring that the communication bus is in an idle state, and send a data frame after the control right of the competing communication bus is successful, thereby realizing timely and efficient sending of service data.
Corresponding to the above embodiments, the embodiments of the present invention also provide an apparatus, including: the communication method of the home appliance system of any embodiment is realized when the processor executes the communication program of the home appliance system.
According to the device provided by the embodiment of the invention, by adopting the communication method of the household appliance system, when any one of a plurality of devices has a data transmission requirement, the device can compete for the control right of the communication bus by sending an arbitration frame when monitoring that the communication bus is in an idle state, and send a data frame after the control right of the competing communication bus is successful, so that the timely and efficient transmission of service data is realized.
Corresponding to the above embodiment, the embodiment of the invention also provides a home appliance system.
The household appliance system comprises a plurality of devices, wherein each device comprises a communication interface and a monitoring interface, and each device is respectively connected to a communication bus through the communication interface and the monitoring interface so as to carry out carrier communication, wherein when any one of the devices has a data transmission requirement, the device monitors the state of the communication bus through the monitoring interface, when the communication bus is in an idle state, an arbitration frame is sent to the communication bus through the communication interface, the arbitration frame on the communication bus is received through the monitoring port, the communication bus control right is contended according to the received arbitration frame and the sent arbitration frame, and when the communication bus control right is successful, the data frame is sent to the communication bus through the communication interface.
In some embodiments, the home appliance system is an air conditioning system, and the plurality of devices includes an outdoor unit, a plurality of indoor units, and a wire controller corresponding to each indoor unit.
It should be noted that, for details not disclosed in the home appliance system, please refer to details disclosed in the communication method of the home appliance system, and details are not described herein.
According to the household appliance system provided by the embodiment of the invention, when any one of a plurality of devices has a data transmission requirement, the device monitors the state of the communication bus through the monitoring interface, and when the communication bus is in an idle state, an arbitration frame is transmitted to the communication bus through the communication interface; the device receives an arbitration frame on the communication bus through the monitoring port, competes for control rights of the communication bus according to the received arbitration frame and the sent arbitration frame, and sends a data frame to the communication bus through the communication interface when the control rights of the competing communication bus are successful. Therefore, when any one of the devices has a data transmission requirement, the device can compete for the control right of the communication bus by sending an arbitration frame when monitoring that the communication bus is in an idle state, and send a data frame after the control right of the competing communication bus is successful, so that the timely and efficient transmission of service data is realized.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered as a ordered listing of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, the word "plurality" means at least two or more, for example, two, three, four, etc., unless explicitly defined otherwise in the embodiments.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (10)

1. A communication method of a home appliance system, wherein the home appliance system includes a plurality of devices, each of the devices includes a communication interface and a monitoring interface, and each of the devices is respectively connected to a communication bus through the communication interface and the monitoring interface to perform carrier communication, the method comprising:
when any one of the devices has a data transmission requirement, the device monitors the state of the communication bus through the monitoring interface, and when the communication bus is in an idle state, an arbitration frame is transmitted to the communication bus through the communication interface;
the device receives the arbitration frame on the communication bus through the monitoring port, competes for bus control rights according to the received arbitration frame and the transmitted arbitration frame, and transmits a data frame to the communication bus through the communication interface when competing for the bus control rights successfully.
2. The method of claim 1, wherein the device monitors the status of the communication bus via the monitoring interface, comprising:
the device monitors the level signal of the communication bus through the monitoring interface and determines the state of the communication bus according to the level signal.
3. The method of claim 2, wherein determining the status of the communication bus based on the level signal comprises:
when the continuous high level is monitored through the monitoring interface, determining that the communication bus is in a busy state;
and when the falling edge level signal is monitored through the monitoring interface, determining that the communication bus is in an idle state.
4. A method according to any of claims 1-3, characterized in that competing for bus control rights based on the received arbitration frame and the transmitted arbitration frame comprises:
when the received arbitration frame is consistent with the transmitted arbitration frame, determining that the bus control right is successfully contended;
and when the received arbitration frame is inconsistent with the transmitted arbitration frame, determining that the bus control right is in competition failure.
5. The method of claim 4, wherein upon a failure to contend for the bus control, the method further comprises:
if the device still has data transmission requirements, continuing to monitor the state of the communication bus through the monitoring interface.
6. The method of claim 1, wherein the device waits after sending an arbitration frame to the communication bus via the communication interface and receives the arbitration frame on the communication bus via the monitoring port after waiting a predetermined time.
7. A computer-readable storage medium, on which a communication program of an appliance system is stored, which when executed by a processor implements the communication method of an appliance system according to any one of claims 1-6.
8. An apparatus comprising a memory, a processor, and a communication program of a home appliance system stored on the memory and operable on the processor, wherein the processor, when executing the communication program of the home appliance system, implements a communication method of a home appliance system according to any one of claims 1-6.
9. An appliance system comprising a plurality of devices, each device comprising a communication interface and a monitoring interface, and each device being connected to a communication bus through the communication interface and the monitoring interface, respectively, for carrier communication, wherein,
when any one of the devices has a data transmission requirement, the device monitors the state of the communication bus through the monitoring interface, transmits an arbitration frame to the communication bus through the communication interface when the communication bus is in an idle state, receives the arbitration frame on the communication bus through the monitoring port, competes for bus control rights according to the received arbitration frame and the transmitted arbitration frame, and transmits a data frame to the communication bus through the communication interface when competing for the bus control rights.
10. The appliance system according to claim 9, wherein the appliance system is an air conditioning system, and the plurality of devices includes an outdoor unit, a plurality of indoor units, and a wire controller corresponding to each of the indoor units.
CN202210744756.1A 2022-06-27 2022-06-27 Household appliance system and communication method, equipment and storage medium thereof Pending CN117346220A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210744756.1A CN117346220A (en) 2022-06-27 2022-06-27 Household appliance system and communication method, equipment and storage medium thereof
PCT/CN2023/091272 WO2024001491A1 (en) 2022-06-27 2023-04-27 Household appliance system, communication method and device thereof, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210744756.1A CN117346220A (en) 2022-06-27 2022-06-27 Household appliance system and communication method, equipment and storage medium thereof

Publications (1)

Publication Number Publication Date
CN117346220A true CN117346220A (en) 2024-01-05

Family

ID=89369747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210744756.1A Pending CN117346220A (en) 2022-06-27 2022-06-27 Household appliance system and communication method, equipment and storage medium thereof

Country Status (2)

Country Link
CN (1) CN117346220A (en)
WO (1) WO2024001491A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221686A (en) * 2008-01-29 2008-07-16 西安特菲尔电子有限公司 Inside communication method of fire disaster warning system
CN108009065B (en) * 2016-10-31 2020-02-07 深圳市中兴微电子技术有限公司 Method and apparatus for monitoring AXI bus
CN109284248A (en) * 2018-08-23 2019-01-29 深圳柴火创客教育服务有限公司 UART bus communication method, equipment and its functional module using UART bus communication
EP3860315A1 (en) * 2020-01-29 2021-08-04 Tridonic GmbH & Co. KG Method for communicating data from a computing device to a lighting technology device
US11379402B2 (en) * 2020-10-20 2022-07-05 Micron Technology, Inc. Secondary device detection using a synchronous interface

Also Published As

Publication number Publication date
WO2024001491A1 (en) 2024-01-04

Similar Documents

Publication Publication Date Title
US5841778A (en) System for adaptive backoff mechanisms in CSMA/CD networks
CN112565035B (en) Data transmission method, device and storage medium
US20150312868A1 (en) Node device and method for communication
CN103645975A (en) Abnormality recovery method and serial bus transmission device
CN104301191A (en) Bus system
CN203813501U (en) Charger
CN117346220A (en) Household appliance system and communication method, equipment and storage medium thereof
CN102353118B (en) Control method for judging master-slave relation of double wire controllers of air conditioner
CN112511662B (en) System communication address generation and distribution method and device and air conditioning system
CN113609039A (en) Edge controller mainboard, edge controller and data processing method
CN111256286B (en) Method and device for controlling line sequence
CN210324188U (en) Integrated circuit bus IIC master-slave competition automatic switching equipment and system thereof
CN109582626B (en) Method, device and equipment for accessing bus and readable storage medium
CN110391823B (en) Communication circuit, control method thereof, and device having communication function
CN110661869B (en) Node online method, system, device, equipment and computer storage medium
CN104298176A (en) Smart switch, host registration method thereof and smart control network
JPH0343838B2 (en)
JP5308969B2 (en) Communication method for air conditioning system
CN107682600B (en) Camera and gateway
CN111884921A (en) Communication method, system, equipment and computer readable storage medium
CN105045117B (en) A kind of information processing method and smart home control device
CN112272110B (en) Connection jitter processing method, system and device for storage cluster controller node
CN116644012B (en) Bus communication method, electronic equipment and computer readable storage medium
CN113395187B (en) 485 bus based communication enhancement method and system
CN114338250B (en) Data transmission method, device and equipment and power utilization 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