WO2021233477A1 - 空调无线组网通信的方法、***、装置及介质 - Google Patents

空调无线组网通信的方法、***、装置及介质 Download PDF

Info

Publication number
WO2021233477A1
WO2021233477A1 PCT/CN2021/101959 CN2021101959W WO2021233477A1 WO 2021233477 A1 WO2021233477 A1 WO 2021233477A1 CN 2021101959 W CN2021101959 W CN 2021101959W WO 2021233477 A1 WO2021233477 A1 WO 2021233477A1
Authority
WO
WIPO (PCT)
Prior art keywords
networking
module
unit module
outdoor unit
indoor unit
Prior art date
Application number
PCT/CN2021/101959
Other languages
English (en)
French (fr)
Inventor
程绍江
李秀歌
梁钊
时斌
Original Assignee
青岛海尔空调电子有限公司
青岛海尔空调器有限总公司
海尔智家股份有限公司
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 青岛海尔空调电子有限公司, 青岛海尔空调器有限总公司, 海尔智家股份有限公司 filed Critical 青岛海尔空调电子有限公司
Publication of WO2021233477A1 publication Critical patent/WO2021233477A1/zh

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/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/52Indication arrangements, e.g. displays
    • 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/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/65Electronic processing for selecting an operating mode
    • 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

Definitions

  • the present invention relates to the field of wireless communication technology, and in particular to a method, system, device and medium for air conditioner wireless networking communication.
  • Existing air-conditioning equipment is mainly divided into: integrated air-conditioning equipment integrating indoor and outdoor units, which are mostly used in homes or smaller places; split air-conditioning where indoor and outdoor units are installed in the same or different spaces. It is usually a type in which one outdoor unit controls one or more indoor units, which is also called multi-line, and is mostly used in larger spaces or homes.
  • the multi-line communication network is often the most complex part of the air-conditioning online control, there are often many equipment nodes and large data interactions. It is necessary to consider the distance of communication, the timeliness and accuracy of data transmission. Therefore, large-scale multi-line systems, indoor
  • the communication and control of the unit and the outdoor unit still adopt the homebus communication mode, 485 communication mode, CAN communication mode, etc., and carry out signal transmission and command control through the connected communication cable. All of these methods require the outdoor unit and the indoor unit to be connected by wired communication and need to be wired during construction.
  • the outdoor unit is usually installed in an open area far away from the indoor unit, requiring a large number of cable connections, and the installation process is complicated. , Cannot be adjusted flexibly.
  • multi-connection communication and installation can also be more flexible and convenient.
  • the networking mode can be more convenient and fast, without relying on the indoor unit or the outdoor unit itself, and can communicate with the indoor and outdoor units more accurately and quickly.
  • the present invention is proposed to solve or at least partially solve the technical problem of how to quickly and conveniently realize the wireless networking and communication of the indoor unit and the outdoor unit of the air conditioner in the same space area with multiple units, and further solve the problem of how to exchange units.
  • the communication of modules and even multiple sets of units will not be chaotic, and how to detect the devices for networking communication, and how to efficiently restore the non-networking state.
  • the present invention proposes a method, system, device and medium for air conditioner wireless networking communication.
  • a wireless networking device including: an MCU control unit, a USB power input module, an LED display module, a function setting module, an indoor unit module communication interface, and an outdoor unit module communication interface; the USB power input module Connect to the MCU control unit and provide working power for the MCU control unit; the function setting module pre-sets the functions that the wireless networking device needs to perform; when the MCU control unit obtains working power for operation, Detect the preset function in the function setting module and execute the corresponding function; the MCU control unit controls the LED display module to indicate the corresponding working status when the corresponding function is executed; the MCU control unit The indoor unit module communication interface and the outdoor unit module communication interface communicate with the indoor unit module and the outdoor unit module respectively.
  • the functions preset by the function setting module include: air conditioner wireless networking function or air conditioner networking module detection function; the LED display module is an LED lamp; the LED display module indicates when the corresponding function is executed
  • the corresponding working status includes: when the air conditioner wireless networking function is executed, the LED light flashes according to the T3 frequency to indicate the state of the indoor unit and the outdoor unit being networked, and after the indoor unit module and the outdoor unit module are locked in the networking information, the LED The light is always on to indicate that the indoor unit and the outdoor unit network can complete the wireless communication status; when the air-conditioning network module detection function is executed, the LED light flashes according to the T1S frequency to indicate the status of the air-conditioning network module being networked and tested. After the flicker exceeds the time threshold T2, after the outdoor unit module clears the connection information of the networking test, the LED light is turned off to indicate the completion of the detection of the air-conditioning networking module.
  • the wireless networking device is an independent external device or a device built into the outdoor unit module; both the outdoor unit module and the indoor unit module have: Zigbee wireless networking module; the indoor unit and the indoor unit pass through the The outdoor unit module and the indoor unit module perform Zigbee wireless networking and communication.
  • the Zigbee wireless networking module includes: a Zigbee router installed on the indoor unit and a Zigbee coordinator installed on the outdoor unit.
  • the MCU control unit when the MCU control unit detects that the function setting module presets the wireless networking function of the air conditioner, it sends the communication interface of the indoor unit module or the communication interface of the outdoor unit module to the indoor unit module. Or the outdoor unit module sends a networking instruction that allows all indoor unit modules to join the wireless network of the outdoor unit module of the same unit; when the outdoor unit module detects the indoor unit module to be added, the MCU controls the LED The display module flashes at a frequency of T3, and upon receiving the feedback after the outdoor unit module and the indoor unit module are networked, it sends an instruction to request the networked indoor unit and the outdoor unit to lock the networking information After the MCU control unit receives the feedback that the networking information is locked, it controls the LED display module to keep on and ends the air conditioner wireless networking function.
  • the MCU control unit when the MCU control unit detects that the function setting module presets the air-conditioning networking module detection function, it sends the communication interface to the indoor unit module through the indoor unit module communication interface or the outdoor unit module communication interface. Or the outdoor unit module sends a signal to enter the detection mode, and sends a networking instruction that allows all indoor unit modules to join the wireless network of the outdoor unit module of the same unit; when the outdoor unit module detects the indoor unit module to be added , The MCU controls the LED display module to flash at a frequency of T1S to indicate the status of the indoor unit module and the outdoor unit module for networking testing, and when the flashing time exceeds a preset time, send an instruction
  • the outdoor unit module is required to clear all connection information established in the networking test and prohibit other indoor unit modules from joining; the MCU control unit controls the LED display module after receiving feedback that the outdoor unit module has cleared connection information Turn off and end the air conditioning network module detection function.
  • a method for wireless networking and communication of an air conditioner including: detecting a preset function to determine a working mode corresponding to the function; when it is determined that the working mode is a networking mode, sending permission for all indoor units A signal for the module to join the outdoor unit module for networking; or, when the working mode is determined to be the detection mode, send a signal to instruct the outdoor unit module and the indoor unit module to enter the detection state and send to allow all indoor unit modules to join the outdoor unit module Signals for networking; when the outdoor unit module detects the indoor unit module to be added, after the outdoor unit module and the indoor unit module perform networking or networking test, the corresponding working mode is ended.
  • the outdoor unit module detects the indoor unit module to be added, after the outdoor unit module and the indoor unit module perform networking or networking test, the corresponding working mode is ended, which specifically includes: In the networking mode, when the outdoor unit module detects the indoor unit module to be added, it instructs to enter the networking state, waits for the outdoor unit module and the indoor unit module to perform Zigbee wireless networking, then sends an instruction to request all After the indoor unit and the outdoor unit lock the networking information, they enter the wireless communication state for completing the networking and end the networking mode; or, in the detection mode, when the outdoor unit module detects that it wants to join When the indoor unit module indicates to enter the networking test state, and when the Zigbee wireless networking of the outdoor unit module and the indoor unit module exceeds a predetermined time threshold, an instruction is sent to request the outdoor unit module to clear the network test. After connecting the information and prohibiting other indoor modules from joining, enter the state of completing the networking test, and end the detection mode.
  • the networking mode when the outdoor unit module detects the indoor unit module to be added
  • detecting the preset function to determine the working mode corresponding to the function specifically includes: detecting the preset function in the function setting module in the wireless networking device through the MCU control unit in the wireless networking device To determine that the function corresponds to the networking mode or detection mode; when it is determined that the working mode is the networking mode, sending a signal allowing all indoor unit modules to join the outdoor unit modules for networking, specifically including: When the working mode is the networking mode, the MCU control module sends to the indoor unit module or the outdoor unit module through the indoor unit module communication interface or the outdoor unit module communication interface in the wireless device to allow all indoor unit modules to join the outdoor unit The module performs networking signals and monitors whether the outdoor unit module detects the indoor unit module to be added; in the networking mode, when the outdoor unit module detects the indoor unit module to be added, it indicates to enter the group Network status, after waiting for the outdoor unit module and the indoor unit module to perform Zigbee wireless networking, send an instruction to request the indoor unit and the outdoor unit to lock the networking information, and then enter the wireless communication state that complete
  • detecting the preset function to determine the working mode corresponding to the function specifically includes: detecting, through the MCU control unit in the wireless device, the function preset in the function setting module in the wireless networking device, to It is determined that the function corresponds to the networking mode or the detection mode; when it is determined that the working mode is the detection mode, a signal is sent to instruct the outdoor unit module and the indoor unit module to enter the detection state, and it is sent to allow all indoor unit modules to join the outdoor unit
  • the signal for the module to perform networking specifically includes: when it is determined that the working mode is the detection mode, the MCU control unit transmits the communication interface of the indoor unit module or the communication interface of the outdoor unit module in the wireless networking device to the indoor unit
  • the module or the outdoor unit module sends an entry detection signal and a signal that allows all indoor unit modules to join the outdoor unit module for networking, and monitors whether the outdoor unit module detects the indoor unit module to be added; in the detection mode, When the outdoor unit module detects the indoor unit module to be added, it instructs to enter the networking
  • a control device including a processor and a memory, the memory is adapted to store multiple pieces of program code, and the program code is adapted to be loaded and run by the processor to execute any one of the above-mentioned second aspect
  • the air conditioner wireless networking communication method described in the item including a processor and a memory, the memory is adapted to store multiple pieces of program code, and the program code is adapted to be loaded and run by the processor to execute any one of the above-mentioned second aspect
  • the air conditioner wireless networking communication method described in the item including a processor and a memory, the memory is adapted to store multiple pieces of program code, and the program code is adapted to be loaded and run by the processor to execute any one of the above-mentioned second aspect
  • the air conditioner wireless networking communication method described in the item including a processor and a memory, the memory is adapted to store multiple pieces of program code, and the program code is adapted to be loaded and run by the processor to execute any one of the above-mentioned second aspect
  • a computer-readable storage medium in which multiple pieces of program codes are stored, and the program codes are adapted to be loaded and run by a processor to execute the air conditioner wireless networking described in any one of the above-mentioned second aspects.
  • an air-conditioning system for wireless networking and communication including multiple units in the same spatial location, and a wireless networking device, which is used for indoor wireless networking and communication with air conditioners.
  • Unit module and/or outdoor unit module for detection, or for controlling the indoor unit module and outdoor unit module to perform networking; wherein, the wireless networking device includes the wireless networking described in any one of the first aspects above The structure of the device; wherein, multiple sets of units perform wireless communication after the wireless networking device controls and executes the wireless networking.
  • an air conditioner wireless networking communication system including: a function detection module, used to detect preset functions to determine the working mode corresponding to the function; and a function execution module, used to determine the working mode When the mode is networking mode, send a signal to allow all indoor unit modules to join the outdoor unit module for networking; or, when it is determined that the working mode is the detection mode, send a signal to instruct the outdoor unit module and indoor unit module to enter the detection mode State and send a signal that allows all indoor unit modules to join the outdoor unit module for networking; the networking function execution module is used for when the outdoor unit module detects the indoor unit module to be added, between the outdoor unit module and the outdoor unit module. After the indoor unit module performs networking or networking test, the corresponding working mode is ended.
  • the networking function execution module specifically performs the following functions: in the networking mode, when the outdoor unit module detects the indoor unit module to be added, it instructs to enter the networking state, and waits for the outdoor unit module and After the indoor unit module performs Zigbee wireless networking, it sends an instruction to request the indoor unit and the outdoor unit to lock the networking information, enter the wireless communication state of completing the networking, and end the networking mode; or In the detection mode, when the outdoor unit module detects the indoor unit module to be added, it instructs to enter the networking test state, and waits for the outdoor unit module and the indoor unit module to perform Zigbee wireless networking and exceeds a predetermined time threshold When sending an instruction to request the outdoor unit module to clear the connection information during the networking test and prohibit other indoor modules from joining, enter the state of completing the networking test, and end the detection mode.
  • the corresponding functions are performed respectively to complete the networking and communication of the corresponding outdoor unit and the indoor unit module, ensuring that the outdoor unit and indoor unit of the air conditioner
  • the unit uses wireless communication to transmit unit information and control commands
  • the multiple units are correctly networked and exchanged (different unit modules can be interchanged) to avoid multiple network communications.
  • the communication of a set of units is chaotic; or the detection of the production offline of the wireless networking device is completed, and furthermore, multiple sets of units are efficiently restored to the non-networking state at the same time as the detection. It helps multiple units to achieve fast and convenient offline inspection, maintenance and installation in the same space, without wiring, and can more effectively form a smart space and smart network with other smart homes, smart lives, and smart offices.
  • Fig. 1 is a schematic flow chart of main steps of an embodiment of a method for air conditioner wireless networking communication according to the present invention
  • Figure 2 is a main structural block diagram of an embodiment of a wireless networking device according to the present invention.
  • Fig. 3 is a schematic diagram of an embodiment of wireless communication of a set of multi-line units according to the air conditioner wireless networking communication scheme of the present invention
  • FIG. 4 is a structural block diagram of an embodiment of an air conditioner wireless networking communication system according to the present invention.
  • Fig. 5 is a schematic flow diagram of the main steps of an embodiment for realizing wireless networking communication and detection of an air conditioner through a wireless networking device according to the present invention.
  • module and “processor” may include hardware, software, or a combination of both.
  • a module can include hardware circuits, various suitable sensors, communication ports, and memory, and can also include software parts, such as program codes, or a combination of software and hardware.
  • the processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor.
  • the processor has data and/or signal processing functions.
  • the processor can be implemented in software, hardware, or a combination of the two.
  • the non-transitory computer-readable storage medium includes any suitable medium that can store program code, such as magnetic disks, hard disks, optical disks, flash memory, read-only memory, random access memory, and so on.
  • a and/or B means all possible combinations of A and B, such as only A, only B, or A and B.
  • the term "at least one of A or B” or “at least one of A and B” has a meaning similar to “A and/or B” and may include only A, only B, or A and B.
  • the terms “a” and “this” in the singular form may also include the plural form.
  • the wireless networking device includes at least: a microcontroller unit MCU, a liquid crystal LED display module, a USB power input module, an outdoor unit module communication interface for wireless communication with an outdoor unit, and an indoor unit module communication interface for wireless communication with an indoor unit.
  • a microcontroller unit MCU a liquid crystal LED display module
  • a USB power input module a USB power input module
  • an outdoor unit module communication interface for wireless communication with an outdoor unit
  • an indoor unit module communication interface for wireless communication with an indoor unit.
  • an outdoor unit can be connected to one or more indoor units and control one or more indoor units after networking.
  • the wireless networking device realizes the control of wireless networking communication, and can independently and conveniently control the automatic networking of indoor and outdoor machines and corresponding wireless communication modules (routers, coordinators, etc.) or offline testing during production.
  • FIG. 3 an example of a wireless networking communication scenario for an indoor and outdoor unit of an air conditioner of the present invention.
  • the actual building is installed with multiple connections. Due to space constraints, the outdoor units are installed on the flat of the building (such as the roof or the bottom of the building) or even across the building, and the indoor unit and the outdoor unit are wired
  • the communication line connection has a long communication distance, stable system, fast transmission rate, and signal strength is not limited by walls or controls, but it faces troubles such as complicated and cumbersome installation process, confusion of communication cables, and high frequency of maintenance errors.
  • wireless communication technology it is possible to use wireless communication to connect the multi-line outdoor unit and indoor unit of a building, which can implement installation management more simply and quickly.
  • the wireless communication between indoor and outdoor units of a set of units can be realized through the configuration of one outdoor unit and multiple indoor units.
  • Zigbee wireless communication is preferred to provide a wireless communication network between indoor and outdoor units, mainly via a coordinator and router.
  • Terminal nodes, data packets, data paths and control paths realize wireless communication data transmission and control command transmission between a set of indoor and outdoor units of the unit after the configuration and networking.
  • the coordinator is usually installed on the outdoor unit.
  • the coordinator of the Zigbee network is used to establish and manage the Zigbee wireless network.
  • Each Zigbee wireless network only allows one Zigbee coordinator. If there are multiple units in the same spatial location, multiple units are required.
  • the coordinator is installed on each outdoor unit of the unit.
  • the outdoor unit transmits unit information and control commands to one or more indoor units communicating with its wireless networking. After the Zigbee wireless networking is completed, other indoor units within the Zigbee range can apply to join the Zigbee network as nodes/modules. .
  • the router is installed on the indoor unit.
  • the Zigbee wireless network can have multiple Zigbee routers.
  • a router can represent a node/indoor unit module to receive the coordinator information and forward other node messages. Install the Zigbee router on each indoor unit. For the same unit, the same group number is set for the outdoor unit and the outdoor unit.
  • the outdoor unit Zigbee coordinator allows the indoor unit with the same outdoor unit number to join the network, and the networking process can be realized by the wireless networking device of the present invention, which is an independent device , It can be external or built-in in the Zigbee coordinator.
  • an outdoor unit equipped with a Zigbee coordinator is configured to establish an outdoor unit wireless network, and one or more indoor units belonging to the same unit of an outdoor unit and the outdoor unit are pre-allocated with the same group number, for example, a dial switch method.
  • the same group number for example, a dial switch method.
  • the outdoor unit numbers of different units are different, and the corresponding indoor unit numbers of different units are also different.
  • the group number of the indoor unit can be used.
  • the coordinator is used as the basis for judging whether to allow joining the unit, so that the indoor and outdoor units of multiple units in the same space are pre-classified.
  • the unit After the allocation is completed, the unit is powered on, and the coordinator on the outdoor unit forms a wireless network.
  • the outdoor unit sends a networking request to the coordinator and joins the outdoor unit to the network. Then you can receive the networking request sent by the indoor unit, and join the wireless network built by the Zigbee coordinator in the outdoor unit.
  • the coordinator also allows other nodes to join.
  • the networking request made by the indoor unit will decide whether to allow it to join according to the situation, for example: indoor
  • the computer searches for the coordinator of the surrounding network, obtains the information of the coordinator, and then sends a network request to the corresponding coordinator according to the information, and the group number is included in the network request. After the coordinator receives the networking request, it sends a notification to the corresponding indoor unit.
  • the indoor opportunity suspends searching for other coordinators and suspends sending the networking request. If the network connection notification is not received within a period of time, it will continue to send the networking request. ask.
  • the coordinator judges whether the received networking request is consistent with its own outdoor unit number, if yes, it is the same unit and the indoor unit joins the network at the same time, assigns a unique communication address to the indoor unit, and completes the Zigbee networking communication of the air conditioner .
  • the machine assigns unique communication addresses in turn.
  • the realization of the air conditioner through the Zigbee networking communication is mainly realized through the built-in or external wireless networking device working with the Zigbee coordinator.
  • USB power input module has a USB interface and can be connected to a power terminal to obtain power, such as a DC 5V power supply, for the MCU control unit to work. If it is built in the coordinator, it can also be directly connected to the power supply of the coordinator to obtain the working power of the MCU control unit.
  • At least two functions can be set in advance, for example, the function of performing offline detection on the own wireless networking device or the function of performing networking through the device.
  • the wireless networking device itself is provided with an interface for wireless communication with the outdoor unit module and an interface for communication with the indoor unit module.
  • the outdoor unit module and the indoor unit module are also provided with corresponding interfaces for realizing wireless communication.
  • These communication interfaces for example, can be various short-distance communication interfaces of Wifi interface, and so on.
  • the Zigbee communication interface Preferably, the Zigbee communication interface.
  • the MCU control unit executes the corresponding function to communicate, network or detect the outdoor unit module and the indoor unit module. After the function execution process is completed, different statuses will be displayed through the LED display module to indicate the status of each stage.
  • the outdoor unit finds that the T3 frequency of the indoor unit flickers during networking, indicating that the networking information is locked, and the networking information is always on, for example during detection.
  • the outdoor unit finds that the T1S frequency of the indoor unit flickers, the flicker timeout (exceeding the set T2 time) and so on.
  • FIG. 1 An embodiment of the wireless networking communication method of the present invention is realized by the wireless networking device of the present invention, referring to FIG. 1, which mainly includes the following steps:
  • Step S110 Detect a preset function to determine a working mode corresponding to the function.
  • the preset function may be preset in the function setting module of the wireless networking device.
  • the functions include: networking mode, detection mode, and so on.
  • a function can be preset, and when the MCU is powered on and starts to work, the mode corresponding to the function, such as networking mode or detection mode, is detected, and the corresponding mode processing is executed.
  • the Zigbee coordinator set on the outdoor unit is turned on synchronously. If it is a built-in wireless networking device, the USB power input module also turns on the power from the Zigbee coordinator (power on), and the MCU Power on and start working; if it is an external wireless networking device, the USB power input module is powered by other power sources such as an external air conditioner unit or an internal air conditioner unit through the USB interface of the USB power input module, and the MCU starts working after powering on.
  • the group number of the machine is the same.
  • the Zigbee coordinator will set up the Zigbee wireless network of the corresponding outdoor unit.
  • the outdoor opportunity sends a networking request to the Zigbee coordinator, and the Zigbee coordinator obtains the group number of the unit where the outdoor unit is located, etc. Information, and confirm that the networking is successful, and realize the Zigbee wireless network networking of the outdoor unit.
  • the indoor unit and outdoor unit of the same unit are assigned the same group number, and multiple indoor units and outdoor units of the same space area/location are classified in advance to avoid confusion.
  • Step S120 When it is determined that the working mode corresponding to the function is the networking mode, a signal that allows all indoor unit modules to be networked is sent.
  • wireless networking of the indoor unit and the outdoor unit is required. Once the unit is powered on, the outdoor unit starts to work, and the Zigbee networking of the outdoor unit is completed as described above. When the networking mode is executed, the outdoor unit will obtain the instruction signal to join all indoor units in the same group, and broadcast the information that allows all indoor unit modules/nodes (that is, indoor units with routers) to join, or through the indoor unit The Zigbee coordinator searches for indoor units in the same spatial location/area.
  • the microcontroller unit MCU (control unit) enters to perform networking operations, and sends to the outdoor unit the information that joins all the same group of indoor units through the outdoor unit module communication interface.
  • Command signal The indoor unit broadcasts the information allowing all indoor unit modules to join the network through the Zigbee coordinator or the Zigbee coordinator actively searches for indoor unit modules belonging to the same group.
  • wireless networking between the indoor unit and the outdoor unit is required.
  • the outdoor unit starts to work, and the Zigbee networking of the outdoor unit is completed as described above.
  • the indoor unit will obtain the instruction signal that the outdoor unit module (that is, the outdoor unit with Zigbee coordinator) allows all the indoor unit modules of the same group to join, and the indoor unit module sends the instruction signal to the corresponding outdoor unit according to the instruction signal.
  • the Zigbee coordinator sends a networking request.
  • the MCU control unit
  • the MCU enters to perform networking operations, and sends a corresponding outdoor unit module to the indoor unit through the indoor unit module communication interface
  • a command signal that allows all indoor unit modules of the same group to join the network.
  • the indoor unit module receives the instruction signal and sends a networking request to the corresponding outdoor unit module, and the request includes the group number.
  • the MCU can send to each outdoor unit module an instruction signal allowing all indoor unit modules to join, or it can send an instruction signal allowing all indoor unit modules to join the corresponding outdoor unit module ,
  • the outdoor unit module searches for the same group of indoor unit modules or all the indoor unit modules automatically find the corresponding outdoor unit modules to be added to the same group. Therefore, when the wireless networking device of the present invention performs the networking function, it can control the indoor and outdoor units of different groups to start networking on their own, and there will be no grouping with the help of their respective group numbers and the information of the Zigbee coordinator. Network or communication transmission errors.
  • Step S130 Determine whether the outdoor unit module detects the indoor unit module, if so, wait for the outdoor unit module and the detected indoor unit module to be networked and lock the network information, wait until all the indoor unit modules are networked and lock the network information After the end.
  • the outdoor unit module detects the indoor unit module, for example, it obtains the request of the indoor unit module and determines that the group number in the request is consistent, or searches for the indoor unit and determines that the group number is consistent, and then informs the detected indoor unit module.
  • the indoor unit module suspends sending requests or searches for the outdoor unit, indicating that it is networking. If multiple indoor unit modules are detected at this time, they will be notified in the order of detection. Further, entering the stage of networking, you can prompt that the network is in the process of assigning corresponding communication addresses and other information to the indoor unit modules with the same group number. Multiple indoor unit modules will be assigned a unique set of units in the order of detection. Communication address to facilitate communication after networking.
  • the communication address and other information are sent to the corresponding indoor unit modules participating in the network. After all the detected indoor unit modules have obtained their respective communication addresses, it is determined whether the outdoor unit is located All the indoor units currently configured in the unit are added to the unit. If yes, the networking information of the outdoor unit module and all indoor unit modules will be locked; if not, it means that there are still some indoor units that are not connected to the unit, and wait for the next time to start networking.
  • MCU sends information through the outdoor unit module communication interface, asking whether the outdoor unit module detects the networking request sent by the indoor unit module or whether the outdoor unit module has searched for the indoor unit module. If so, the MCU controls the LED display module according to T3 flashes frequently (that is, the timer T3 interrupt mode controls the LED to flash), indicating that it is in the state of networking. Further, when the indoor unit module is detected, the detected indoor unit module is also notified to suspend sending the request or search for the outdoor unit. Furthermore, the outdoor unit assigns a unique communication address for each indoor unit in sequence to the detected indoor units. The communication address is used to determine whether all the indoor units of the unit are connected to the coordinator and the outdoor unit controls different indoor units in the unit.
  • the outdoor unit realizes wireless communication with all, part or individual indoor units in the unit.
  • the coordinator adds the communication address and group number to the network response information and returns to the corresponding indoor unit, so that the indoor unit also joins Zigbee coordination In the network established by the device. Further, after all the detected indoor units obtain the networking response information, a feedback signal is sent to the MCU to indicate the end of the networking, and the MCU sends an instruction to lock the networking information of each indoor unit module and the corresponding outdoor unit module, such as recorded in the outdoor unit module.
  • the feedback signal is sent to the MCU, and the MCU controls the LED display module to be in a constant light state to indicate that the networking is completed, and then the networking function ends.
  • the detection is continued until the indoor unit module is detected.
  • step S120 when it is determined that the working mode corresponding to the function is the detection mode, the outdoor unit module and the indoor unit module enter the detection state.
  • step S120 The operation performed by it is still the same as that of the foregoing step S120 sending a signal allowing all indoor unit modules to be networked. Specifically, refer to the embodiment and example described in step S120.
  • judge whether the outdoor unit module detects the indoor unit module if otherwise, continue to detect until the indoor unit module is detected; if so, enter the networking test state to test the network of the outdoor unit module and the indoor unit module, and wait until it exceeds the predetermined value. Clear all connection information after time and prohibit other indoor unit modules from joining.
  • the outdoor unit module detects the indoor unit module, for example, it obtains the request of the indoor unit module and determines that the group number in the request is consistent, or searches for the indoor unit and determines that the group number is consistent, and then informs the detected indoor unit module.
  • the indoor unit module suspends sending requests or searches for the outdoor unit, indicating that it is networking. If multiple indoor unit modules are detected at this time, they will be notified in the order of detection. Further, entering the stage of networking, you can prompt that the network is in the process of assigning corresponding communication addresses and other information to the indoor unit modules with the same group number. Multiple indoor unit modules will be assigned a unique set of units in the order of detection. Communication address to facilitate communication after networking.
  • the communication address and other information are sent to the corresponding indoor unit modules participating in the network. After all the detected indoor unit modules have obtained their respective communication addresses, it is determined whether the outdoor unit is located All the indoor units currently configured in the unit are added to the unit. If yes, the networking information of the outdoor unit module and all indoor unit modules will be locked; if not, it means that there are still some indoor units that are not connected to the unit, and wait for the next time to start networking.
  • MCU sends information through the outdoor unit module communication interface, asking whether the outdoor unit module detects the networking request sent by the indoor unit module or whether the outdoor unit module has searched for the indoor unit module. If so, the MCU controls the LED display module according to Flashing at T1S frequency (timer T1 interrupt mode controls LED flashing), indicating the indoor unit module and outdoor unit module under test (including indoor unit, outdoor unit, router on indoor unit module, coordinator of outdoor unit module, etc.) Networking is in progress. Further, when the indoor unit module is detected, the detected indoor unit module is also notified to suspend sending the request or search for the outdoor unit. Furthermore, the outdoor unit assigns a unique communication address for each indoor unit in sequence to the detected indoor units.
  • the communication address is used to determine whether all the indoor units of the unit are connected to the coordinator and the outdoor unit controls different indoor units in the unit.
  • the outdoor unit realizes wireless communication with all, part or individual indoor units in the unit.
  • the coordinator adds the communication address and group number to the network response information and returns to the corresponding indoor unit, so that the indoor unit also joins Zigbee coordination In the network established by the device.
  • a feedback signal is sent to the MCU to indicate the end of the networking, and the MCU sends an instruction to lock the networking information of each indoor unit module and the corresponding outdoor unit module, such as recorded in the outdoor unit module
  • the feedback signal is given to the MCU.
  • the MCU will detect whether the flicker is overtime when the T1S frequency flickering is started, for example, a predetermined time length threshold T2 is given, if it does not exceed the monitoring time, if it exceeds, it means that the test network time has passed, and the MCU sends an instruction Signal to the outdoor unit module, if there are multiple outdoor units, it can also send command signals to multiple outdoor unit modules to instruct to clear the various networking connection information when testing the network, and at the same time no longer allow other indoor unit modules to join and pass the test Network detection The detection mode of each device in the network is over, and the LED display module goes out.
  • a predetermined time length threshold T2 is given, if it does not exceed the monitoring time, if it exceeds, it means that the test network time has passed, and the MCU sends an instruction Signal to the outdoor unit module, if there are multiple outdoor units, it can also send command signals to multiple outdoor unit modules to instruct to clear the various networking connection information when testing the network, and at the same time no longer allow other indoor unit modules to join
  • the outdoor unit module and the indoor unit module can be actively networked easily and quickly, and the networking process can be performed and the new modules (indoor units, indoor units, Outdoor unit, zigbee coordinator, router, etc.) perform detection.
  • this device has the function of displaying the networking status, displaying the stage of the networking through the LED display module, and its hardware design is simple and convenient, installation and use are simple and quick, and easy to use.
  • networking device of the present invention with reference to an example of the work flow of the networking device of the present invention shown in FIG. 5.
  • the wireless networking device When the unit is powered on, the wireless networking device is connected to a 5V DC power supply through the USB power input module to supply power to the wireless networking device, and the MCU starts to work after powering on.
  • the indoor unit searches for the Zigbee coordinator of the unit to which it belongs and broadcasts or sends a networking request.
  • the MCU sends an inquiry to each outdoor unit module to confirm whether it detects the indoor unit module to be added to the network, if otherwise, continue to wait for the detection of the added indoor unit module, if it is, the MCU controls the LED display module/LED light to flash at the frequency of T3. Indicates that it has entered the networking state, and the indoor unit and outdoor unit realize Zigbee networking.
  • the MCU will send an instruction to request the indoor and outdoor unit modules to lock the networking information, and control the LED light to always be on to end the networking function. Further, after the end, the wireless networking device can temporarily exit control.
  • the MCU will send a signal to notify the indoor and outdoor unit modules to enter the detection mode.
  • the MCU will also send an instruction for the outdoor unit module to allow all the indoor unit modules of the same group to be networked. It can be sent to the outdoor unit, and the Zigbee coordinator at the outdoor unit will actively search for the same group of indoor units, or it can be To the indoor unit, the indoor unit finds the Zigbee coordinator of the unit to which it belongs and broadcasts or sends a networking request.
  • the MCU sends an inquiry to each outdoor unit module to confirm whether it detects the indoor unit module to be added to the network, if not, continue to wait for the detection of the added indoor unit module, if it is, the MCU controls the LED display module/LED light to flash at the frequency of T1S, Indicates that it has entered the networking state, and the indoor unit and outdoor unit realize Zigbee networking.
  • the timer is used to monitor whether the flashing time exceeds T2, if not, it will continue to wait for the indoor and outdoor module networking, if it is, that is, the MCU will consider that the module offline detection/test networking can be completed, and the MCU will send The instruction signal is sent to the outdoor unit module to clear all the connection information established during the test, and the outdoor unit module will no longer allow any other indoor unit modules to request to join the network. Turn off the LED light to end the detection function of the current offline devices (such as indoor and outdoor units that implement wireless networking modules).
  • the function detection module 410 detects a preset function to determine a working mode corresponding to the function.
  • the specific processing implementation is as described in step S110.
  • the preset function may be preset in the function setting module of the wireless networking device.
  • the functions include: networking mode, detection mode, and so on.
  • a function can be preset, and when the MCU is powered on and starts to work, the mode corresponding to the function, such as networking mode or detection mode, is detected, and the corresponding mode processing is executed.
  • the Zigbee coordinator set on the outdoor unit is turned on synchronously. If it is a built-in wireless networking device, the USB power input module also turns on the power from the Zigbee coordinator (power on), and the MCU Power on and start working; if it is an external wireless networking device, the USB power input module is powered by other power sources such as an external air conditioner unit or an internal air conditioner unit through the USB interface of the USB power input module, and the MCU starts working after powering on.
  • the group number of the machine is the same.
  • the Zigbee coordinator will set up the Zigbee wireless network of the corresponding outdoor unit.
  • the outdoor opportunity sends a networking request to the Zigbee coordinator, and the Zigbee coordinator obtains the group number of the unit where the outdoor unit is located, etc. Information, and confirm that the networking is successful, and realize the Zigbee wireless network networking of the outdoor unit.
  • the indoor unit and outdoor unit of the same unit are assigned the same group number, and multiple indoor units and outdoor units of the same space area/location are classified in advance to avoid confusion.
  • the function execution module 420 when it is determined that the working mode corresponding to the function is the networking mode, it sends a signal allowing all indoor unit modules to be networked.
  • the specific processing implementation is as described in step S120.
  • wireless networking of the indoor unit and the outdoor unit is required. Once the unit is powered on, the outdoor unit starts to work, and the Zigbee networking of the outdoor unit is completed as described above. When the networking mode is executed, the outdoor unit will obtain the instruction signal to join all indoor units in the same group, and broadcast the information that allows all indoor unit modules/nodes (that is, indoor units with routers) to join, or through the indoor unit The Zigbee coordinator searches for indoor units in the same spatial location/area.
  • the microcontroller unit MCU (control unit) enters to perform networking operations, and sends to the outdoor unit the information that joins all the same group of indoor units through the outdoor unit module communication interface.
  • Command signal The indoor unit broadcasts the information allowing all indoor unit modules to join the network through the Zigbee coordinator or the Zigbee coordinator actively searches for indoor unit modules belonging to the same group.
  • wireless networking between the indoor unit and the outdoor unit is required.
  • the outdoor unit starts to work, and the Zigbee networking of the outdoor unit is completed as described above.
  • the indoor unit will obtain the instruction signal that the outdoor unit module (that is, the outdoor unit with Zigbee coordinator) allows all the indoor unit modules of the same group to join, and the indoor unit module sends the instruction signal to the corresponding outdoor unit according to the instruction signal.
  • the Zigbee coordinator sends a networking request.
  • the MCU control unit
  • the MCU enters to perform networking operations, and sends a corresponding outdoor unit module to the indoor unit through the indoor unit module communication interface
  • a command signal that allows all indoor unit modules of the same group to join the network.
  • the indoor unit module receives the instruction signal and sends a networking request to the corresponding outdoor unit module, and the request includes the group number.
  • the MCU can send to each outdoor unit module an instruction signal allowing all indoor unit modules to join, or it can send an instruction signal allowing all indoor unit modules to join the corresponding outdoor unit module ,
  • the outdoor unit module searches for the same group of indoor unit modules or all the indoor unit modules automatically find the corresponding outdoor unit modules to be added to the same group. Therefore, when the wireless networking device of the present invention performs the networking function, it can control the indoor and outdoor units of different groups to start networking on their own, and there will be no grouping with the help of their respective group numbers and the information of the Zigbee coordinator. Network or communication transmission errors.
  • Networking function execution module 430 Determine whether the outdoor unit module detects the indoor unit module, if so, wait for the outdoor unit module and the detected indoor unit module to be networked and lock the network information, and wait for all the indoor unit modules to be networked and combined End after locking the networking information.
  • the specific processing implementation is as described in step S130.
  • the outdoor unit module detects the indoor unit module, for example, it obtains the request of the indoor unit module and determines that the group number in the request is consistent, or searches for the indoor unit and determines that the group number is consistent, and then informs the detected indoor unit module.
  • the indoor unit module suspends sending requests or searches for the outdoor unit, indicating that it is networking. If multiple indoor unit modules are detected at this time, they will be notified in the order of detection. Further, entering the stage of networking, you can prompt that the network is in the process of assigning corresponding communication addresses and other information to the indoor unit modules with the same group number. Multiple indoor unit modules will be assigned a unique set of units in the order of detection. Communication address to facilitate communication after networking.
  • the communication address and other information are sent to the corresponding indoor unit modules participating in the network. After all the detected indoor unit modules have obtained their respective communication addresses, it is determined whether the outdoor unit is located All the indoor units currently configured in the unit are added to the unit. If yes, the networking information of the outdoor unit module and all indoor unit modules will be locked; if not, it means that there are still some indoor units that are not connected to the unit, and wait for the next time to start networking.
  • MCU sends information through the outdoor unit module communication interface, asking whether the outdoor unit module detects the networking request sent by the indoor unit module or whether the outdoor unit module has searched for the indoor unit module. If so, the MCU controls the LED display module according to T3 flashes frequently (that is, the timer T3 interrupt mode controls the LED to flash), indicating that it is in the state of networking. Further, when the indoor unit module is detected, the detected indoor unit module is also notified to suspend sending the request or search for the outdoor unit. Furthermore, the outdoor unit assigns a unique communication address for each indoor unit in sequence to the detected indoor units. The communication address is used to determine whether all the indoor units of the unit are connected to the coordinator and the outdoor unit controls different indoor units in the unit.
  • the outdoor unit realizes wireless communication with all, part or individual indoor units in the unit.
  • the coordinator adds the communication address and group number to the network response information and returns to the corresponding indoor unit, so that the indoor unit also joins Zigbee coordination In the network established by the device. Further, after all the detected indoor units obtain the networking response information, a feedback signal is sent to the MCU to indicate the end of the networking, and the MCU sends an instruction to lock the networking information of each indoor unit module and the corresponding outdoor unit module, such as recorded in the outdoor unit module.
  • the feedback signal is sent to the MCU, and the MCU controls the LED display module to be in a constant light state to indicate that the networking is completed, and then the networking function ends.
  • the detection is continued until the indoor unit module is detected.
  • the outdoor unit module and the indoor unit module enter the detection state.
  • judge whether the outdoor unit module detects the indoor unit module if otherwise, continue to detect until the indoor unit module is detected; if so, enter the networking test state to test the network of the outdoor unit module and the indoor unit module, and wait until it exceeds the predetermined value. Clear all connection information after time and prohibit other indoor unit modules from joining.
  • the outdoor unit module detects the indoor unit module, for example, it obtains the request of the indoor unit module and determines that the group number in the request is consistent, or searches for the indoor unit and determines that the group number is consistent, and then informs the detected indoor unit module.
  • the indoor unit module suspends sending requests or searches for the outdoor unit, indicating that it is networking. If multiple indoor unit modules are detected at this time, they will be notified in the order of detection. Further, entering the stage of networking, you can prompt that the network is in the process of assigning corresponding communication addresses and other information to the indoor unit modules with the same group number. Multiple indoor unit modules will be assigned a unique set of units in the order of detection. Communication address to facilitate communication after networking.
  • the communication address and other information are sent to the corresponding indoor unit modules participating in the network. After all the detected indoor unit modules have obtained their respective communication addresses, it is determined whether the outdoor unit is located All the indoor units currently configured in the unit are added to the unit. If yes, the networking information of the outdoor unit module and all indoor unit modules will be locked; if not, it means that there are still some indoor units that are not connected to the unit, and wait for the next time to start networking.
  • MCU sends information through the outdoor unit module communication interface, asking whether the outdoor unit module detects the networking request sent by the indoor unit module or whether the outdoor unit module has searched for the indoor unit module. If so, the MCU controls the LED display module according to Flashing at T1S frequency (timer T1 interrupt mode controls LED flashing), indicating the indoor unit module and outdoor unit module under test (including indoor unit, outdoor unit, router on indoor unit module, coordinator of outdoor unit module, etc.) Networking is in progress. Further, when the indoor unit module is detected, the detected indoor unit module is also notified to suspend sending the request or search for the outdoor unit. Furthermore, the outdoor unit assigns a unique communication address for each indoor unit in sequence to the detected indoor units.
  • the communication address is used to determine whether all the indoor units of the unit are connected to the coordinator and the outdoor unit controls different indoor units in the unit.
  • the outdoor unit realizes wireless communication with all, part or individual indoor units in the unit.
  • the coordinator adds the communication address and group number to the network response information and returns to the corresponding indoor unit, so that the indoor unit also joins Zigbee coordination In the network established by the device.
  • a feedback signal is sent to the MCU to indicate the end of the networking, and the MCU sends an instruction to lock the networking information of each indoor unit module and the corresponding outdoor unit module, such as recorded in the outdoor unit module
  • the feedback signal is given to the MCU.
  • the MCU will detect whether the flicker has timed out when the T1S frequency flicker is started, for example, give a predetermined time length threshold T2, if it does not exceed the monitoring time, if it exceeds, it means that the test network time has passed, and the MCU sends an instruction Signal to the outdoor unit module, if there are multiple outdoor units, it can also send command signals to multiple outdoor unit modules to instruct to clear the various networking connection information when testing the network, and at the same time no longer allow other indoor unit modules to join and pass the test Network detection The detection mode of each device in the network is over, and the LED display module goes out.
  • the wireless networking device designed in the present invention is specially used for after-sales wireless module networking and offline testing during module production.
  • the device has a simple structure, and can display different working states through LED lights at the same time, which is convenient for customers to distinguish the current working state.
  • this Zigbee wireless technology has not been applied in the field of communication between indoor and outdoor air conditioners. Network and network maintenance are more convenient, and problems are easier to locate; further, it can realize automatic networking, exit the network, and prompt the end of the test without any settings, which greatly improves production efficiency.
  • the computer program includes computer program code
  • the computer program code may be in the form of source code, object code, executable file, or some intermediate forms.
  • the computer-readable medium may include: any entity or device, medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory, random access memory, and electrical carrier signal that can carry the computer program code. , Telecommunications signals and software distribution media, etc.
  • the content contained in the computer-readable medium can be appropriately added or deleted according to the requirements of the legislation and patent practice in the jurisdiction.
  • the computer-readable medium Does not include electrical carrier signals and telecommunication signals.
  • the present invention also provides a control device.
  • a control device may include a processor and a storage device.
  • the storage device may be configured to store a program for executing each method of the foregoing method embodiment, and the processor may be configured to execute the storage device.
  • the program in the device includes, but is not limited to, the program that executes the foregoing method embodiments.
  • the clothing treatment equipment linkage control device may be a control device device formed of various electronic devices.
  • each module is only to illustrate the functional units of the system of the present invention
  • the physical devices corresponding to these modules may be the processor itself, or part of the software in the processor, part of the hardware, or Part of the combination of software and hardware. Therefore, the number of modules in the figure is only schematic.
  • each module in the system can be adaptively split or merged. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principle of the present invention. Therefore, the technical solutions after splitting or merging will fall within the protection scope of the present invention.

Landscapes

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

Abstract

本发明涉及多联机组网技术领域,具体提供了一种空调无线组网通信方法、***、装置及介质,旨在解决如何灵活实现简单便捷实现室内外机正确无线组网通信以及对室内外机进行Zigbee无线组网的模块设备的下线组网测试和高效恢复非组网状态的技术问题。为此目的,根据本发明实施例的方法,通过提供无线组网装置控制同一空间的多套机组无线组网或检测维护组网模块,独立装置不受环境限制易于使用、并可内置到相关设备内部,进而能实现多套机组的室内外机正确的无线组网并通信,便于维护并形成用户体验良好的智慧生活空间。

Description

空调无线组网通信的方法、***、装置及介质 技术领域
本发明涉及无线通信技术领域,具体涉及一种空调无线组网通信的方法、***、装置及介质。
背景技术
随着社会进步和发展,室内采用空调调节温度是现代建筑和家居不可或缺的重要部分。现有的空调设备从结构上主要分为:室内机和室外机集合一体的一体式空调设备,多用于家庭或较小的场所;室内机和室外机安装在相同或不同空间的分体式空调,通常是一个室外机控制一个或一个以上的室内机的类型,又叫做多联机,多用于较大空间场所或家庭。
由于多联机通信网络往往是空调联机控制中最复杂的部分,往往设备节点多、数据交互大,需要考虑通信的距离、传输数据的时效性、准确性,因而,大规模的多联机***,室内机和室外机通信和控制仍然采用homebus总线通信方式、485通信方式、CAN通信方式等,通过连接的通信线缆进行信号传递和指令控制。这些方式都要求室外机和室内机有线通信连接在一起,并且需要在施工时布线,但往往由于空间限制,室外机通常安装在远离室内机的空阔地带,需要大量线缆连接,安装过程复杂,不能灵活调整。
伴随无线通信技术的迅速发展,智慧生活、智慧办公等场所对多联机空调的通信提出了更多的要求,尤其是室内机和控制器之间的无线通信(如PC、PAD等通过2.4Gwifi通信来操控室内机)等智慧家居智慧生活的便捷性,对多联机通信和安装也能更灵活便捷提出了需求,需要能实现室内机和室外机无线通信,并且,室内机和室外机无线通信的组网方式能更方便快捷,不依赖室内机或室外机本身,能更准确迅速地进行组网和室内外机的通信。
发明内容
为了克服上述缺陷,提出了本发明,以解决或至少部分地解决多套机组处于同一空间区域如何快速便捷地实现空调室内机和室外机无线组网通信的技术问题,进一步,解决如何互换机组模块、甚至多套机组通信不会混乱、以及如何检测进行组网通信的装置、如何高效恢复非组网状态的技术问题。
为解决上述技术问题,本发明提出了一种空调无线组网通信的方法、***、装置及介质。
第一方面,提供一种无线组网装置,包括:MCU控制单元、USB电源输入模块、LED显示模块、功能设定模块、室内机模块通信接口和室外机模块通信接口;所述USB电源输入模块连接所述MCU控制单元并为所述MCU控制单元提供工作电源;所述功能设定模块预先设定所述无线组网装置需要执行的功能;所述MCU控制单元在获得工作电源进行工作时,检测所述功能设定模块中预先设定的功能并执行对应的功能;所述MCU控制单元控制所述LED显示模块在执行对应的功能时,指示相应的工作状态;所述MCU控制单元经所述室内机模块通信接口和所述室外机模块通信接口分别与室内机模块和室外机模块进行通信。
其中,所述功能设定模块预先设定的功能包括:空调无线组网功能或者空调组网模块检测功能;所述LED显示模块为LED灯;所述LED显示模块在执行对应的功能时,指示相应的工作状态包括:执行空调无线组网功能时,LED灯按照T3 频次闪烁以指示室内机与室外机正在组网的状态,并在室内机模块和室外机模块进行组网信息锁定后,LED灯常亮以指示室内机与室外机组网完成能进行无线通信的状态;执行空调组网模块检测功能时,LED灯按照T1S频次闪烁以指示空调组网模块正在组网测试的状态,并在所述闪烁超过时间阈值T2室外机模块清空组网测试的连接信息后,LED灯熄灭以指示空调组网模块的检测执行完成。
其中,所述无线组网装置为独立外置的装置,或者为内置于室外机模块的装置;所述室外机模块和室内机模块都具有:Zigbee无线组网模块;室内机与室内机通过所述室外机模块和所述室内机模块进行Zigbee无线组网和通信。
其中,所述Zigbee无线组网模块包括:安装于所述室内机上的Zigbee路由器和安装于所述室外机上的Zigbee协调器。
其中,当所述MCU控制单元检测到所述功能设定模块预先设定的是空调无线组网功能时,则通过所述室内机模块通信接口或所述室外机模块通信接口,向室内机模块或室外机模块发送允许所有室内机模块加入同一机组的室外机模块的无线网络的组网指令;当所述室外机模块检测到要加入的所述室内机模块时,所述MCU控制所述LED显示模块按照T3频次闪烁,并在收到所述室外机模块与所述室内机模块组网之后的反馈时,发送指令要求组网后的所述室内机与所述室外机进行组网信息锁定;所述MCU控制单元收到所述组网信息锁定的反馈后,控制所述LED显示模块常亮并结束空调无线组网功能。
其中,当所述MCU控制单元检测到所述功能设定模块预先设定的是空调组网模块检测功能时,则通过所述室内机模块通信接口或所述室外机模块通信接口向室内机模块或室外机模块发送进入检测模式的信号、以及发送允许所有室内机模块加入同一机组的室外机模块的无线网络的组网指令;当所述室外机模块检测到要加入的所述室内机模块时,所述MCU控制所述LED显示模块按照T1S频次闪烁以指示所述室内机模块与所述室外机模块进行组网测试的状态,并且,在所述闪烁时间超过预设的时间时,发送指令要求所述室外机模块清空组网测试中建立的所有连接信息以及禁止其他室内机模块加入;所述MCU控制单元收到所述室外机模块已清空连接信息的反馈后,控制所述LED显示模块熄灭并结束空调组网模块检测功能。
第二方面,提供一种空调无线组网通信的方法,包括:检测预设的功能,以确定所述功能对应的工作模式;当确定所述工作模式为组网模式时,发送允许所有室内机模块加入室外机模块进行组网的信号;或者,当确定所述工作模式为检测模式时,发送信号指示所述室外机模块与室内机模块进入检测状态并发送允许所有室内机模块加入室外机模块进行组网的信号;当所述室外机模块检测到要加入的室内机模块时,在所述室外机模块与所述室内机模块进行组网或组网测试后,结束对应的工作模式。
其中,当所述室外机模块检测到要加入的室内机模块时,在所述室外机模块与所述室内机模块进行组网或组网测试后,结束对应的工作模式,具体包括:在所述组网模式下,当所述室外机模块检测到要加入的室内机模块时指示进入组网状态,等待所述室外机模块与所述室内机模块进行Zigbee无线组网后,发送指令要求所述室内机与所述室外机进行组网信息锁定后,进入完成组网的无线通信状态,结束所述组网模式;或者,在所述检测模式下,当所述室外机模块检测到要加入的室内机模块时指示进入组网测试状态,等待所述室外机模块与所述室内机模块进行Zigbee无线组网超过预定的时间阈值时,发送指令要求所述室外机模块清空组网测试时的连接信息并禁止其他所述室内模块加入后,进入完成组网测试的状态,结束所述检测模式。
其中,检测预设的功能,以确定所述功能对应的工作模式,具体包括: 通过无线组网装置中的MCU控制单元检测所述无线组网装置中的功能设定模块中预先设定的功能,以确定所述功能对应的是组网模式或者检测模式;当确定所述工作模式为组网模式时,发送允许所有室内机模块加入室外机模块进行组网的信号,具体包括:当确定所述工作模式为组网模式时,所述MCU控制模块通过所述无线装置中的室内机模块通信接口或室外机模块通信接口,向室内机模块或室外机模块发送允许所有室内机模块加入室外机模块进行组网的信号,并监测所述室外机模块是否检测到要加入的室内机模块;在所述组网模式下,当所述室外机模块检测到要加入的室内机模块时指示进入组网状态,等待所述室外机模块与所述室内机模块进行Zigbee无线组网后,发送指令要求所述室内机与所述室外机进行组网信息锁定后,进入完成组网的无线通信状态,结束所述组网模式,具体包括:如果所述MCU控制单元监测到所述室外机模块检测到要加入的室内机模块,则所述MCU控制单元控制无线组网装置中的LED显示模块按照T3频次闪烁等待所述室外机模块与所述室内机模块组网;所述MCU控制单元等待所述Zigbee无线组网完成,当从所述室外机模块通信接口或所述室内机模块通信接口收到所述室外机模块或所述室内机模的组网完成反馈后,发送指令给所述室外机模块与所述室内机模块进行组网信息锁定,并控制所述LED显示模块常亮,结束本次组网。
其中,检测预设的功能,以确定所述功能对应的工作模式,具体包括:通过无线装置中的MCU控制单元检测所述无线组网装置中的功能设定模块中预先设定的功能,以确定所述功能对应的是组网模式或者检测模式;当确定所述工作模式为检测模式时,发送信号指示所述室外机模块与室内机模块进入检测状态并发送允许所有室内机模块加入室外机模块进行组网的信号,具体包括:当确定所述工作模式为检测模式时,所述MCU控制单元通过所述无线组网装置中的室内机模块通信接口或室外机模块通信接口,向室内机模块或室外机模块发送进入检测的信号以及允许所有室内机模块加入室外机模块进行组网的信号,并监测所述室外机模块是否检测到要加入的室内机模块;在所述检测模式下,当所述室外机模块检测到要加入的室内机模块时指示进入组网测试状态,等待所述室外机模块与所述室内机模块进行Zigbee无线组网超过预定的时间阈值时,发送指令要求所述室外机模块清空组网测试时的连接信息并禁止其他所述室内模块加入后,进入完成组网测试的状态,结束所述检测模式,具体包括:如果所述MCU控制单元监测到所述室外机模块检测到要加入的室内机模块,则所述MCU控制单元控制无线组网装置中的LED显示模块按照T1S频次闪烁等待所述室外机模块与所述室内机模块进行组网测试;当所述MCU控制单元监测到所述LED显示模块按照T1S频次闪烁时间超过了预设的时间阈值时,通过所述室外机模块通信接口发送指令要求所述室外机模块清空组网测试时的连接信息并禁止其他室内模块加入,并控制所述LED显示模块熄灭,结束本次检测。
第三方面,提供一种控制装置,包括处理器和存储器,所述存储器适于存储多条程序代码,所述程序代码适于由所述处理器加载并运行以执行上述第二方面的任一项所述的空调无线组网通信的方法。
第四方面,提供一种计算机可读存储介质,其中存储有多条程序代码,所述程序代码适于由处理器加载并运行以执行上述第二方面的任一项所述的空调无线组网通信的方法。
第五方面,提供一种无线组网通信的空调***,包括同一空间位置下的多套机组,以及,无线组网装置,所述无线组网装置用于对空调无线组网通信时使用的室内机模块和/或室外机模块进行检测,或者,用于控制室内机模块与室外机模块执行组网;其中,所述无线组网装置包括上述第一方面的任一项所述的无线组网装置的结构;其中,多套机组在所述无线组网装置控制执行无线组网后,进行无 线通信。
第六方面,提供一种空调无线组网通信的***,包括:功能检测模块,用于检测预设的功能,以确定所述功能对应的工作模式;功能执行模块,用于当确定所述工作模式为组网模式时,发送允许所有室内机模块加入室外机模块进行组网的信号;或者,当确定所述工作模式为检测模式时,发送信号指示所述室外机模块与室内机模块进入检测状态并发送允许所有室内机模块加入室外机模块进行组网的信号;组网功能执行模块,用于当所述室外机模块检测到要加入的室内机模块时,在所述室外机模块与所述室内机模块进行组网或组网测试后,结束对应的工作模式。
其中,所述组网功能执行模块具体执行如下功能:在所述组网模式下,当所述室外机模块检测到要加入的室内机模块时指示进入组网状态,等待所述室外机模块与所述室内机模块进行Zigbee无线组网后,发送指令要求所述室内机与所述室外机进行组网信息锁定后,进入完成组网的无线通信状态,结束所述组网模式;或者,在所述检测模式下,当所述室外机模块检测到要加入的室内机模块时指示进入组网测试状态,等待所述室外机模块与所述室内机模块进行Zigbee无线组网超过预定的时间阈值时,发送指令要求所述室外机模块清空组网测试时的连接信息并禁止其他所述室内模块加入后,进入完成组网测试的状态,结束所述检测模式。
本发明上述一个或多个技术方案,至少具有如下一种或多种有益效果:
根据本发明的实施例,通过对无线组网装置设定线下检测或组网功能,分别执行相应的功能完成对应的室外机与室内机模块的组网和通信,保证在空调室外机和室内机采用无线通讯方式进行机组信息传递、控制命令传递时,多套机组处于同一空间位置时,多机组正确组网、正确互换机组(不同机组模块能实现互换)的组网通信,避免多套机组通信出现混乱;或者完成所述无线组网装置的生产下线的检测,进而,在检测的同时高效恢复多套机组回到非组网状态。有助于多套机组在同一空间位置实现快速便捷的下线检测维护安装,无需布线,能更有效地形成与其他智慧家居、智慧生活、智慧办公形成智慧空间、智慧网络。
进一步,通过独立的无线组网装置对同一空间位置的多套机组实现组网通信,有效加强了空调安装的便利性无需布线等操作和线缆长度设置以及将室外机远距离放置和远程操控等复杂繁琐的处理,并且,此无线组网通信的控制方式,能保证每一组空调室内外机正确组网和互换组网、且通信不出现错误,即简单便捷又稳定可靠。
附图说明
下面参照附图来描述本发明的具体实施方式,附图中:
图1是根据本发明的空调无线组网通信的方法的一个实施例的主要步骤流程示意图;
图2是根据本发明的无线组网装置的一个实施例的主要结构框图;
图3是根据本发明的空调无线组网通信方案的一套多联机机组的无线通信的一个实施例的示意图;
图4是根据本发明的空调无线组网通信的***的一个实施例的结构框图;
图5时根据本发明的通过无线组网装置实现空调无线组网通信和检测的一个实施例的主要步骤流程示意图。
具体实施方式
下面参照附图来描述本发明的一些实施方式。本领域技术人员应当理解的是,这些实施方式仅仅用于解释本发明的技术原理,并非旨在限制本发明的保护范围。
在本发明的描述中,“模块”、“处理器”可以包括硬件、软件或者两者的组合。一个模块可以包括硬件电路,各种合适的感应器,通信端口,存储器,也可以包括软件部分,比如程序代码,也可以是软件和硬件的组合。处理器可以是中央处理器、微处理器、图像处理器、数字信号处理器或者其他任何合适的处理器。处理器具有数据和/或信号处理功能。处理器可以以软件方式实现、硬件方式实现或者二者结合方式实现。非暂时性的计算机可读存储介质包括任何合适的可存储程序代码的介质,比如磁碟、硬盘、光碟、闪存、只读存储器、随机存取存储器等等。术语“A和/或B”表示所有可能的A与B的组合,比如只是A、只是B或者A和B。术语“至少一个A或B”或者“A和B中的至少一个”含义与“A和/或B”类似,可以包括只是A、只是B或者A和B。单数形式的术语“一个”、“这个”也可以包含复数形式。
在本发明实施例中,参见图2所示的独立的无线组网装置的一个实施例的结构框图。无线组网装置至少包括:微控制单元MCU、液晶LED显示模块、USB电源输入模块、与室外机进行无线通信的室外机模块通信接口、以及与室内机进行无线通信的室内机模块通信接口。其中,在同一空间下,室外机有一个或多个,室内机有一个或多个,即在同一空间下可以具有多套机组。其中,一个室外机可以与一个或多个室内机组网后、并控制组网后的一个或多个室内机。该无线组网装置实现无线组网通信的控制,能独立便捷地控制对室内外机以及相应的无线通信模块(路由器、协调器等)自动组网或者生产时下线测试。
参见图3所示,本发明的一种空调室内室外机无线组网通信场景的例子。在有线组网通信的情况下,实际楼宇安装多联机,由于空间限制,室外机都安装在大楼平个(如楼顶或楼底)甚至跨楼宇安装,而室内机和室外机之间通过有线通信线路连接,其通信距离里长、***稳定、传输速率快、信号强度不受墙体或控件限制,但面临安装过程复杂繁琐、通信线缆混乱、维护出错频率高等困扰。随着无线通信技术发展,可以借助无线通信连接楼宇多联机的室外机与室内机,由此可以更简单快捷实现安装管理。而对一套机组室内外机无线通信实现的方式,可以通过一个室外机与多个室内机配置的形式,优选Zigbee无线通信为室内外机组之间提供无线通信网络,主要可以经由协调器、路由器、终端节点、数据包、数据路径和控制路径在完成配置组网后的一套机组室内外机之间实现无线通信的数据传输和控制指令传递。
具体地,通常将协调器安装到室外机上,Zigbee网络的协调器用于建立和管理Zigbee无线网络,每个Zigbee无线网络仅允许一个Zigbee协调器,在同一空间位置如果有多套机组,则多套机组的各个室外机上设置该协调器。室外机向与其无线组网通信的一个或多个室内机传递机组信息和控制命令,当其经Zigbee无线组网完成后,处于Zigbee范围内的其他室内机作为节点/模块可以申请加入该Zigbee网络。而路由器安装在室内机上,Zigbee无线网络可以有多个Zigbee路由器,一个路由器可以代表一个节点/室内机模块,用来接收协调器信息并转发其他节点消息,将Zigbee路由器安装在各个室内机上,为同一套机组的是呢机和室外机设置同样的组号。在室内机和室外机进行组网时,室外机Zigbee协调器允许与该室外机组号一致的室内机加入网络,组网过程就可以通过本发明的无线组网装置来实现,其为独立的装置,可以外置、也可以内置在Zigbee协调器中。
具体地,为配置了Zigbee协调器的室外机,组建室外机无线网络,为一室外机与该室外机属于同一机组一个或多个室内机预先分配相同的组号,例如:拨码开关方式。这样,可以区分位于同一空间区域/位置的多套机组,不同机组的室外机组号不同,相应的不同机组的室内机组号也不同,当室内机申请加入Zigbee网络的时候室内机的组号就可以被协调器用作判断是否允许加入本机组的依据,这样预先对同一空间下多套机组的室内机室外机预先分类。分配好后,机组上电,室外机上协调器组建无线网络,室外机会向协调器发送组网请求并将该室外机加入网络。然后可以接收室内机发送的组网请求,在室外机加入Zigbee协调器组建的无线网络,协调器也允许其他节点加入,室内机提出的组网请求会根据情况决定是否允许其加入,比如:室内机查找周围网络的协调器,获得协调器信息,然后根据该信息向对应的协调器发送组网请求,组网请求中有组号。协调器收到组网请求后,向对应的该室内机发送通知,该室内机会暂停查找其他协调器并暂停发送组网请求,若一段时间内没有收到组网连接的通知就继续发送组网请求。协调器对收到的组网请求进行判断确定是否与自身的室外机组号一致,是则为同一机组、同时该室内机加入网络,为室内机分配唯一的通信地址,完成空调的Zigbee组网通信。也可以通过协调器在室外机组网后根据获得的组号,主动搜索室内机,确定室内机的组号是否与其所在室外机的组号一致,一致则按照搜索到的顺序为组号一致的室内机依次分配唯一的通信地址。
根据本发明的无线组网通信的技术方案,对空调通过Zigbee组网通信的实现,主要还通过内置或外置与Zigbee协调器工作的所述无线组网装置实现。
如图2所示无线组网装置的例子,其USB电源输入模块,具有USB接口,可以连接电源端,获得电源,如直流5V电源,供MCU控制单元的工作。若内置在协调器内也可以直接通过连接协调器的电源获得MCU控制单元的工作电源。
在功能设定模块,可以预先设定至少两种功能,例如对自身无线组网装置进行下线检测的功能或者通过装置执行组网的功能。
无线组网装置本身设置有与室外机模块进行无线通信的接口,以及与室内机模块进行通信的接口。相应地室外机模块与室内机模块也设置有相应的实现无线通信的接口。这些通信接口,例如可以是Wifi接口各种短距离通信接口等。优选,Zigbee通信接口。
根据功能设定模块设定的功能,MCU控制单元执行相应的功能,对室外机模块和室内机模块进行通信,组网或者检测。等功能执行过程完成之后,会通过LED显示模块进行不同状态的显示,指示各阶段的状态,比如组网时室外机发现室内机的T3频次闪烁、指示锁定组网信息时常亮,又比如检测时室外机发现室内机的T1S频次闪烁、闪烁超时(超过设定T2时长)熄灭等。
通过本发明的无线组网装置实现本发明的无线组网通信的方法的一个实施例,参阅附图1,主要包括如下步骤:
步骤S110:检测预设的功能,以确定所述功能对应的工作模式。
一个实施方式中,预设的功能,可以是在无线组网装置的功能设定模块中预先设定。其中,功能包括:组网模式、检测模式,等等。可以预先设定一种功能,并在MCU上电开始工作时,检测到该功能对应的模式,如组网模式或检测模式,执行相应的模式的处理。
一个例子,当机组上电时,设置在室外机上的Zigbee协调器同步接通电源,若为内置的无线组网装置,USB电源输入模块也接通来自Zigbee协调器的电源(上电),MCU上电开始工作;若为外置的无线组网装置,则USB电源输入模 块通过其他例如空调外机或空调内机相连的电源,经USB电源输入模块的USB接口供电,MCU上电开始工作。
进一步,可以先通过拨码开关方式,将一套机组的所有室内机设置为相同的组号,并根据这套机组的所有室内机的组号为该机组的室外机设置与同一组的所有室内机的组号一致的组号。这样,当机组上电时,Zigbee协调器会组建相应的室外机的Zigbee无线网络,比如室外机会向该Zigbee协调器发送组网请求,Zigbee协调器获得室外机提供的其所在机组的组号等信息,并确定组网成功,实现室外机的Zigbee无线网络组网。这样,为同一机组的室内机和室外机分配相同的组号,预先将同一空间区域/位置的多套机组室内机和室外机进行了分类,避免了混乱。
步骤S120:当确定所述功能对应的工作模式为组网模式时,则发送允许所有室内机模块组网的信号。
一个实施方式中,为组网模式时,需要进行室内机与室外机的无线组网,一旦机组上电,则室外机开始工作,并如前述方式完成室外机Zigbee组网。执行组网模式时,室外机将获得加入所有同一组的室内机的指令信号,并将允许所有室内机模块/节点(即具有路由器的室内机)加入的信息广播出去、或者、通过该室内机上的Zigbee协调器搜索处于同一空间位置/区域的室内机。
具体例如,所述无线组网装置中在确定为组网模式时微控制单元MCU(控制单元)进入执行组网的操作,通过室外机模块通信接口,向室外机发送加入所有同一组室内机的指令信号。由室内机通过Zigbee协调器广播允许所有室内机模块加入网络的信息或Zigbee协调器主动搜索属于同一组的室内机模块。
另一个实施方式中,为组网模式时,需要进行室内机与室外机的无线组网,一旦机组上电,则室外机开始工作,并如前述方式完成室外机Zigbee组网。执行组网模式时,室内机将获得室外机模块(即具有Zigbee协调器的室外机)允许所有同一组的室内机模块加入的指令信号,室内机模块根据该指令信号向对应的该室外机的所述Zigbee协调器发送组网请求。
具体例如,所述无线组网装置中在确定为组网模式时微控制单元MCU(控制单元)进入执行组网的操作,通过室内机模块通信接口,向室内机发送对应的某个室外机模块允许所有同一组室内机模块加入到网络中的指令信号。室内机模块接收到该指令信号则向对应的该室外机模块发送组网请求,该请求中包含组号。
进一步,如果同一空间存在多套机组,则MCU可以给每个室外机模块发送允许所有室内机模块加入的指令信号、或者、可以给所有的室内机模块发送允许加入相应的室外机模块的指令信号,由室外机模块自行搜索同一组的室内机模块或者由所有的室内机模块自行查找对应要加入同一组的室外机模块。因而,本发明的无线组网装置在执行组网功能时,能够控制让不同组的室内外机都自行开始组网,并且在各自的组号和Zigbee协调器的信息的帮助下不会出现组网或通信传输的错误。
步骤S130:判断室外机模块是否检测到室内机模块,如果是则等待室外机模块和检测到的室内机模块组网并进行组网信息锁定,待到所有室内机模块组网并锁定组网信息后结束。
一个实施方式中,如果室外机模块是检测到室内机模块,比如获得室内机模块的请求并判断其请求中组号一致,或者,搜索到室内机并确定其组号一致,通知检测到的该室内机模块暂停发送请求或查找室外机,表示正在组网。若此时检测到的是多个室内机模块则按检测到的顺序通知。进一步,进入到组网进行阶段,可以提示正在组网中,为组号一致的室内机模块分配相应的通信地址等信息,多个 室内机模块则依检测到的先后顺序分配唯一的一套机组的通信地址,以便组网后的通信。进一步,完成组网的地址分配后,将通信地址等信息发送给对应的参与组网的室内机模块,当检测到的所有室内机模块都获得了各自的通信地址后,判断是否该室外机所在机组目前配置的室内机全部加入机组,若是则锁定室外机模块与所有室内机模块的组网信息,若否,则表明还有一部分室内机未接入机组,等待下一次再进行组网。
具体例如:MCU通过室外机模块通信接口发送信息,询问室外机模块是否检测到室内机模块发送来的组网请求或者室外机模块是否搜索到室内机模块,如果是,则MCU控制LED显示模块按照T3频次闪烁(即定时器T3中断方式控制LED闪烁),指示处于正在组网的状态。进一步,检测到室内机模块时还通知检测到的该室内机模块暂停发送请求或查找室外机。进一步,室外机对检测到的室内机按照顺序,分配每个室内机的唯一的通信地址,该通信地址用于确定本机组所有室内机是否全部与协调器连接以及室外机控制机组内不同的室内机而实现室外机与机组内全部、部分或单独的室内机进行无线通信,由协调器将通信地址和组号加入到组网响应信息并返回到相应的室内机,使得室内机也加入Zigbee协调器组建的网络中。进一步,在所有检测到的室内机获得组网响应信息后反馈信号给MCU表示结束组网,MCU发送指令锁定每个室内机模块与相应的室外机模块的组网信息,例如室外机模块中记录该室外机在该机组中的通信地址、组号、室外机设备信息、以及所有加入网络的室内机的通信地址、组号、室外机设备信息。完成锁定后反馈信号给MCU,MCU控制LED显示模块处于常亮状态表示组网完成,进而组网功能结束。
进一步,如果外机模块没有检测到室内机模块则持续进行检测,直到检测到室内机模块为止。
对于步骤S120,当确定所述功能对应的工作模式为检测模式时,则室外机模块和室内机模块进入检测状态。
其执行的操作仍然如前述步骤S120发送允许所有室内机模块组网的信号。具体如步骤S120所述的实施例和例子。
进一步,判断室外机模块是否检测到室内机模块,如果否则持续进行检测,直到检测到室内机模块为止;如果是则进入组网测试状态测试室外机模块和室内机模块组网,待到超过预定时间后清空所有连接信息并禁止其他室内机模块加入。
一个实施方式中,如果室外机模块是检测到室内机模块,比如获得室内机模块的请求并判断其请求中组号一致,或者,搜索到室内机并确定其组号一致,通知检测到的该室内机模块暂停发送请求或查找室外机,表示正在组网。若此时检测到的是多个室内机模块则按检测到的顺序通知。进一步,进入到组网进行阶段,可以提示正在组网中,为组号一致的室内机模块分配相应的通信地址等信息,多个室内机模块则依检测到的先后顺序分配唯一的一套机组的通信地址,以便组网后的通信。进一步,完成组网的地址分配后,将通信地址等信息发送给对应的参与组网的室内机模块,当检测到的所有室内机模块都获得了各自的通信地址后,判断是否该室外机所在机组目前配置的室内机全部加入机组,若是则锁定室外机模块与所有室内机模块的组网信息,若否,则表明还有一部分室内机未接入机组,等待下一次再进行组网。
具体例如:MCU通过室外机模块通信接口发送信息,询问室外机模块是否检测到室内机模块发送来的组网请求或者室外机模块是否搜索到室内机模块,如果是,则MCU控制LED显示模块按照T1S频次进行闪烁(定时器T1中断方式控制LED闪烁),指示被测试的室内机模块和室外机模块(包括室内机、室外机,以及室 内机模块上的路由器、室外机模块的协调器等)在进行组网。进一步,检测到室内机模块时还通知检测到的该室内机模块暂停发送请求或查找室外机。进一步,室外机对检测到的室内机按照顺序,分配每个室内机的唯一的通信地址,该通信地址用于确定本机组所有室内机是否全部与协调器连接以及室外机控制机组内不同的室内机而实现室外机与机组内全部、部分或单独的室内机进行无线通信,由协调器将通信地址和组号加入到组网响应信息并返回到相应的室内机,使得室内机也加入Zigbee协调器组建的网络中。进一步,在所有检测到的室内机获得组网响应信息后反馈信号给MCU表示结束组网,MCU发送指令锁定每个室内机模块与相应的室外机模块的组网信息,例如室外机模块中记录该室外机在该机组中的通信地址、组号、室外机设备信息、以及所有加入网络的室内机的通信地址、组号、室外机设备信息。完成锁定后反馈信号给MCU。
其中,MCU会在开始进行T1S频次闪烁的时候检测闪烁是否超时,例如给一个预定的时间长度阈值T2,如果没有超过则继续监测时间,如果超过则表示测试组网时间已过,由MCU发送指令信号到室外机模块,如果有多个室外机也可以给多个室外机模块发送指令信号,指示清空测试组网时的各种组网连接信息,同时不再允许其他室内机模块加入即通过测试组网检测组网的各个设备的检测模式结束,LED显示模块熄灭。
由此,可以通过独立的这类售后和生产时专用的无线组网装置,能够简便快捷地实现室外机模块和室内机模块主动组网,执行组网流程并对生产的新模块(室内机、室外机、zigbee协调器、路由器等)进行检测。并且,此装置具备组网状态显示功能,通过LED显示模块显示组网处于哪个阶段等,以及其硬件设计方式简单便利,安装使用简单快捷,容易使用。
下面结合图5所示的本发明的组网装置的工作流程的一个例子对本发明的组网装置进行进一步说明。
当机组上电时,无线组网装置通过USB电源输入模块接入5V直流电源为无线组网装置供电,MCU上电开始工作。先检测功能设定模块中设定的是哪种功能即组网模式或检测模式,如图5中判断功能设定模块设定的是否为组网模式。如果是组网模式则进入左边流程,MCU会发送室外机模块允许所有同一组的室内机模块组网的指令,可以是给室外机,由室外机端的Zigbee协调器等主动搜索同一组的室内机,也可以是给室内机,由室内机查找自身所属的机组的Zigbee协调器等并广播或发送组网请求。MCU发送询问到每个室外机模块,确认是否检测到要组网加入的室内机模块,如果否则继续等待检测加入的室内机模块,如果是则MCU控制LED显示模块/LED灯按照T3频次闪烁,表示进入组网状态,室内机与室外机实现Zigbee组网。当组网完成反馈MCU组网完成的信号,MCU会发送指令要求室内外机模块进行组网信息锁定,并控制LED灯常亮状态,结束组网功能。进一步,结束后,无线组网装置可以暂时退出控制。
而如果是检测模式则进入右边流程,MCU会发出信号通知室内外机模块进入检测模式。进行各个模块测试,MCU也会发送室外机模块允许所有同一组的室内机模块组网的指令,可以是给室外机,由室外机端的Zigbee协调器等主动搜索同一组的室内机,也可以是给室内机,由室内机查找自身所属的机组的Zigbee协调器等并广播或发送组网请求。MCU发送询问到每个室外机模块,确认是否检测到要组网加入的室内机模块,如果否则继续等待检测加入的室内机模块,如果是则MCU控制LED显示模块/LED灯按照T1S频次闪烁,表示进入组网状态,室内机与室外机实现Zigbee组网。同时通过计时器监控闪烁时间是否超过T2,若否,即未超过则继续等待室内外机模块组网,若是,即超过了则MCU认为模块下线检测/测试组网可以结束了, MCU会发送指令信号给室外机模块,清空测试时组网建立的所有连接信息等,同时室外机模块也不再允许其他任何室内机模块请求加入网络。熄灭LED灯,结束当前下线设备(如室内外机实现无线组网的各个组网模块)的检测功能。
下面结合图4所示本发明的空调无线组网通信的***的一个实施例,对本发明的实现做进一步说明。
功能检测模块410:检测预设的功能,以确定所述功能对应的工作模式。具体处理实现方式如步骤S110所述。
一个实施方式中,预设的功能,可以是在无线组网装置的功能设定模块中预先设定。其中,功能包括:组网模式、检测模式,等等。可以预先设定一种功能,并在MCU上电开始工作时,检测到该功能对应的模式,如组网模式或检测模式,执行相应的模式的处理。
一个例子,当机组上电时,设置在室外机上的Zigbee协调器同步接通电源,若为内置的无线组网装置,USB电源输入模块也接通来自Zigbee协调器的电源(上电),MCU上电开始工作;若为外置的无线组网装置,则USB电源输入模块通过其他例如空调外机或空调内机相连的电源,经USB电源输入模块的USB接口供电,MCU上电开始工作。
进一步,可以先通过拨码开关方式,将一套机组的所有室内机设置为相同的组号,并根据这套机组的所有室内机的组号为该机组的室外机设置与同一组的所有室内机的组号一致的组号。这样,当机组上电时,Zigbee协调器会组建相应的室外机的Zigbee无线网络,比如室外机会向该Zigbee协调器发送组网请求,Zigbee协调器获得室外机提供的其所在机组的组号等信息,并确定组网成功,实现室外机的Zigbee无线网络组网。这样,为同一机组的室内机和室外机分配相同的组号,预先将同一空间区域/位置的多套机组室内机和室外机进行了分类,避免了混乱。
功能执行模块420:当确定所述功能对应的工作模式为组网模式时,则发送允许所有室内机模块组网的信号。具体处理实现方式如步骤S120所述。
一个实施方式中,为组网模式时,需要进行室内机与室外机的无线组网,一旦机组上电,则室外机开始工作,并如前述方式完成室外机Zigbee组网。执行组网模式时,室外机将获得加入所有同一组的室内机的指令信号,并将允许所有室内机模块/节点(即具有路由器的室内机)加入的信息广播出去、或者、通过该室内机上的Zigbee协调器搜索处于同一空间位置/区域的室内机。
具体例如,所述无线组网装置中在确定为组网模式时微控制单元MCU(控制单元)进入执行组网的操作,通过室外机模块通信接口,向室外机发送加入所有同一组室内机的指令信号。由室内机通过Zigbee协调器广播允许所有室内机模块加入网络的信息或Zigbee协调器主动搜索属于同一组的室内机模块。
另一个实施方式中,为组网模式时,需要进行室内机与室外机的无线组网,一旦机组上电,则室外机开始工作,并如前述方式完成室外机Zigbee组网。执行组网模式时,室内机将获得室外机模块(即具有Zigbee协调器的室外机)允许所有同一组的室内机模块加入的指令信号,室内机模块根据该指令信号向对应的该室外机的所述Zigbee协调器发送组网请求。
具体例如,所述无线组网装置中在确定为组网模式时微控制单元MCU(控制单元)进入执行组网的操作,通过室内机模块通信接口,向室内机发送对应的某个室外机模块允许所有同一组室内机模块加入到网络中的指令信号。室内机模块接收到该指令信号则向对应的该室外机模块发送组网请求,该请求中包含组号。
进一步,如果同一空间存在多套机组,则MCU可以给每个室外机模块发送允许所有室内机模块加入的指令信号、或者、可以给所有的室内机模块发送允许加入相应的室外机模块的指令信号,由室外机模块自行搜索同一组的室内机模块或者由所有的室内机模块自行查找对应要加入同一组的室外机模块。因而,本发明的无线组网装置在执行组网功能时,能够控制让不同组的室内外机都自行开始组网,并且在各自的组号和Zigbee协调器的信息的帮助下不会出现组网或通信传输的错误。
组网功能执行模块430:判断室外机模块是否检测到室内机模块,如果是则等待室外机模块和检测到的室内机模块组网并进行组网信息锁定,待到所有室内机模块组网并锁定组网信息后结束。具体处理实现方式如步骤S130所述。
一个实施方式中,如果室外机模块是检测到室内机模块,比如获得室内机模块的请求并判断其请求中组号一致,或者,搜索到室内机并确定其组号一致,通知检测到的该室内机模块暂停发送请求或查找室外机,表示正在组网。若此时检测到的是多个室内机模块则按检测到的顺序通知。进一步,进入到组网进行阶段,可以提示正在组网中,为组号一致的室内机模块分配相应的通信地址等信息,多个室内机模块则依检测到的先后顺序分配唯一的一套机组的通信地址,以便组网后的通信。进一步,完成组网的地址分配后,将通信地址等信息发送给对应的参与组网的室内机模块,当检测到的所有室内机模块都获得了各自的通信地址后,判断是否该室外机所在机组目前配置的室内机全部加入机组,若是则锁定室外机模块与所有室内机模块的组网信息,若否,则表明还有一部分室内机未接入机组,等待下一次再进行组网。
具体例如:MCU通过室外机模块通信接口发送信息,询问室外机模块是否检测到室内机模块发送来的组网请求或者室外机模块是否搜索到室内机模块,如果是,则MCU控制LED显示模块按照T3频次闪烁(即定时器T3中断方式控制LED闪烁),指示处于正在组网的状态。进一步,检测到室内机模块时还通知检测到的该室内机模块暂停发送请求或查找室外机。进一步,室外机对检测到的室内机按照顺序,分配每个室内机的唯一的通信地址,该通信地址用于确定本机组所有室内机是否全部与协调器连接以及室外机控制机组内不同的室内机而实现室外机与机组内全部、部分或单独的室内机进行无线通信,由协调器将通信地址和组号加入到组网响应信息并返回到相应的室内机,使得室内机也加入Zigbee协调器组建的网络中。进一步,在所有检测到的室内机获得组网响应信息后反馈信号给MCU表示结束组网,MCU发送指令锁定每个室内机模块与相应的室外机模块的组网信息,例如室外机模块中记录该室外机在该机组中的通信地址、组号、室外机设备信息、以及所有加入网络的室内机的通信地址、组号、室外机设备信息。完成锁定后反馈信号给MCU,MCU控制LED显示模块处于常亮状态表示组网完成,进而组网功能结束。
进一步,如果外机模块没有检测到室内机模块则持续进行检测,直到检测到室内机模块为止。
对于功能执行模块420,当确定所述功能对应的工作模式为检测模式时,则室外机模块和室内机模块进入检测状态。
其执行的操作仍然如前述功能执行模块420,发送允许所有室内机模块组网的信号。具体如前述功能执行模块420所述的实施例和例子。
进一步,判断室外机模块是否检测到室内机模块,如果否则持续进行检测,直到检测到室内机模块为止;如果是则进入组网测试状态测试室外机模块和室内机模块组网,待到超过预定时间后清空所有连接信息并禁止其他室内机模块加入。
一个实施方式中,如果室外机模块是检测到室内机模块,比如获得室内机模块的请求并判断其请求中组号一致,或者,搜索到室内机并确定其组号一致,通知检测到的该室内机模块暂停发送请求或查找室外机,表示正在组网。若此时检测到的是多个室内机模块则按检测到的顺序通知。进一步,进入到组网进行阶段,可以提示正在组网中,为组号一致的室内机模块分配相应的通信地址等信息,多个室内机模块则依检测到的先后顺序分配唯一的一套机组的通信地址,以便组网后的通信。进一步,完成组网的地址分配后,将通信地址等信息发送给对应的参与组网的室内机模块,当检测到的所有室内机模块都获得了各自的通信地址后,判断是否该室外机所在机组目前配置的室内机全部加入机组,若是则锁定室外机模块与所有室内机模块的组网信息,若否,则表明还有一部分室内机未接入机组,等待下一次再进行组网。
具体例如:MCU通过室外机模块通信接口发送信息,询问室外机模块是否检测到室内机模块发送来的组网请求或者室外机模块是否搜索到室内机模块,如果是,则MCU控制LED显示模块按照T1S频次进行闪烁(定时器T1中断方式控制LED闪烁),指示被测试的室内机模块和室外机模块(包括室内机、室外机,以及室内机模块上的路由器、室外机模块的协调器等)在进行组网。进一步,检测到室内机模块时还通知检测到的该室内机模块暂停发送请求或查找室外机。进一步,室外机对检测到的室内机按照顺序,分配每个室内机的唯一的通信地址,该通信地址用于确定本机组所有室内机是否全部与协调器连接以及室外机控制机组内不同的室内机而实现室外机与机组内全部、部分或单独的室内机进行无线通信,由协调器将通信地址和组号加入到组网响应信息并返回到相应的室内机,使得室内机也加入Zigbee协调器组建的网络中。进一步,在所有检测到的室内机获得组网响应信息后反馈信号给MCU表示结束组网,MCU发送指令锁定每个室内机模块与相应的室外机模块的组网信息,例如室外机模块中记录该室外机在该机组中的通信地址、组号、室外机设备信息、以及所有加入网络的室内机的通信地址、组号、室外机设备信息。完成锁定后反馈信号给MCU。并且,MCU会在开始进行T1S频次闪烁的时候检测闪烁是否超时,例如给一个预定的时间长度阈值T2,如果没有超过则继续监测时间,如果超过则表示测试组网时间已过,由MCU发送指令信号到室外机模块,如果有多个室外机也可以给多个室外机模块发送指令信号,指示清空测试组网时的各种组网连接信息,同时不再允许其他室内机模块加入即通过测试组网检测组网的各个设备的检测模式结束,LED显示模块熄灭。
本发明设计的无线组网装置,专门用于售后的无线模块组网和模块生产期间下线测试使用。该装置结构简单,同时可以通过LED灯显示不同的工作状态,便于客户分辨当前的工作状态,目前这种Zigbee无线技术还没有应用在空调室内外机通信领域,并且,本发明对售后安装、组网、网络维护等,更加便利,出现问题也更容易定位;进一步,也不需要任何设定就可以实现自动组网,退网,测试结束提示,大大提高了生产效率。
本领域技术人员能够理解的是,本发明实现上述一实施例的方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器、随机存取存储器、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读 介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。
进一步,本发明还提供了一种控制装置。在根据本发明的一个控制装置的实施例中,其可以包括处理器和存储装置,存储装置可以被配置成存储执行上述方法实施例的各个方法的程序,处理器可以被配置成用于执行存储装置中的程序,该程序包括但不限于执行上述各个方法实施例的程序。为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该衣物处理设备联动控制装置可以是包括各种电子设备形成的控制装置设备。
进一步,应该理解的是,由于各个模块的设定仅仅是为了说明本发明的***的功能单元,这些模块对应的物理器件可以是处理器本身,或者处理器中软件的一部分,硬件的一部分,或者软件和硬件结合的一部分。因此,图中的各个模块的数量仅仅是示意性的。
本领域技术人员能够理解的是,可以对***中的各个模块进行适应性地拆分或合并。对具体模块的这种拆分或合并并不会导致技术方案偏离本发明的原理,因此,拆分或合并之后的技术方案都将落入本发明的保护范围内。
至此,已经结合附图所示的一个实施方式描述了本发明的技术方案,但是,本领域技术人员容易理解的是,本发明的保护范围显然不局限于这些具体实施方式。在不偏离本发明的原理的前提下,本领域技术人员可以对相关技术特征作出等同的更改或替换,这些更改或替换之后的技术方案都将落入本发明的保护范围之内。

Claims (14)

  1. 一种无线组网装置,其特征在于,包括:
    MCU控制单元、USB电源输入模块、LED显示模块、功能设定模块、室内机模块通信接口和室外机模块通信接口;
    所述USB电源输入模块连接所述MCU控制单元并为所述MCU控制单元提供工作电源;
    所述功能设定模块预先设定所述无线组网装置需要执行的功能;
    所述MCU控制单元在获得工作电源进行工作时,检测所述功能设定模块中预先设定的功能并执行对应的功能;
    所述MCU控制单元控制所述LED显示模块在执行对应的功能时,指示相应的工作状态;
    所述MCU控制单元经所述室内机模块通信接口和所述室外机模块通信接口分别与室内机模块和室外机模块进行通信。
  2. 如权利要求1所述的无线组网装置,其特征在于,
    所述功能设定模块预先设定的功能包括:空调无线组网功能或者空调组网模块检测功能;
    所述LED显示模块为LED灯;
    所述LED显示模块在执行对应的功能时,指示相应的工作状态包括:
    执行空调无线组网功能时,LED灯按照T3频次闪烁以指示室内机与室外机正在组网的状态,并在室内机模块和室外机模块进行组网信息锁定后,LED灯常亮以指示室内机与室外机组网完成能进行无线通信的状态;
    执行空调组网模块检测功能时,LED灯按照T1S频次闪烁以指示空调组网模块正在组网测试的状态,并在所述闪烁超过时间阈值T2室外机模块清空组网测试的连接信息后,LED灯熄灭以指示空调组网模块的检测执行完成。
  3. 如权利要求1所述的无线组网装置,其特征在于,
    所述无线组网装置为独立外置的,或者为内置于室外机模块的;
    所述室外机模块和室内机模块都具有:Zigbee无线组网模块;
    室外机与室内机通过所述室外机模块和所述室内机模块进行Zigbee无线组网和通信。
  4. 如权利要求3所述的无线组网装置,其特征在于,
    所述Zigbee无线组网模块包括:安装于所述室内机上的Zigbee路由器和安装于所述室外机上的Zigbee协调器。
  5. 如权利要求1所述的无线组网装置,其特征在于,还包括:
    当所述MCU控制单元检测到所述功能设定模块预先设定的是空调无线组网功能时,则通过所述室内机模块通信接口或所述室外机模块通信接口,向室内机模块或室外机模块发送允许所有室内机模块加入同一机组的室外机模块的无线网络的组网指令;
    当所述室外机模块检测到要加入的所述室内机模块时,所述MCU控制所述LED显示模块按照T3频次闪烁,并在收到所述室外机模块与所述室内机模块组网之后的反馈时,发送指令要求组网后的所述室内机模块与所述室外机模块进行组网信息锁定;
    所述MCU控制单元收到所述组网信息锁定的反馈后,控制所述LED显示模块常亮并结束空调无线组网功能。
  6. 如权利要求1所述的无线组网装置,其特征在于,还包括:
    当所述MCU控制单元检测到所述功能设定模块预先设定的是空调组网模块检测功能时,则通过所述室内机模块通信接口或所述室外机模块通信接口向室内机模块或室外机模块发送进入检测模式的信号、以及发送允许所有室内机模块加入同一机组的室外机模块的无线网络的组网指令;
    当所述室外机模块检测到要加入的所述室内机模块时,所述MCU控制所述LED显示模块按照T1S频次闪烁以指示所述室内机模块与所述室外机模块进行组网测试的状态,并且,在所述闪烁时间超过预设的时间阈值时,发送指令要求所述室外机模块清空组网测试中建立的所有连接信息以及禁止其他室内机模块加入;
    所述MCU控制单元收到所述室外机模块已清空连接信息的反馈后,控制所述LED显示模块熄灭并结束空调组网模块检测功能。
  7. 一种空调无线组网通信的方法,其特征在于,包括:
    检测预设的功能,以确定所述功能对应的工作模式;
    当确定所述工作模式为组网模式时,发送允许所有室内机模块加入室外机模块进行组网的信号;或者,当确定所述工作模式为检测模式时,发送信号指示所述室外机模块与室内机模块进入检测状态并发送允许所有室内机模块加入室外机模块进行组网的信号;
    当所述室外机模块检测到要加入的室内机模块时,在所述室外机模块与所述室内机模块进行组网或组网测试后,结束对应的工作模式。
  8. 如权利要求7所述的方法,其特征在于,当所述室外机模块检测到要加入的室内机模块时,在所述室外机模块与所述室内机模块进行组网或组网测试后,结束对应的工作模式,具体包括:
    在所述组网模式下,当所述室外机模块检测到要加入的室内机模块时指示进入组网状态,等待所述室外机模块与所述室内机模块进行Zigbee无线组网后,发送指令要求所述室内机模块与所述室外机模块进行组网信息锁定后,进入完成组网的无线通信状态,结束所述组网模式;或者,
    在所述检测模式下,当所述室外机模块检测到要加入的室内机模块时指示进入组网测试状态,等待所述室外机模块与所述室内机模块进行Zigbee无线组网超过预定的时间阈值时,发送指令要求所述室外机模块清空组网测试时的连接信息并禁止其他所述室内模块加入后,进入完成组网测试的状态,结束所述检测模式。
  9. 如权利要求8所述的方法,其特征在于,
    检测预设的功能,以确定所述功能对应的工作模式,具体包括:
    通过无线组网装置中的MCU控制单元检测所述无线组网装置中的功能设定模块中预先设定的功能,以确定所述功能对应的是组网模式或者检测模式;
    当确定所述工作模式为组网模式时,发送允许所有室内机模块加入室外机模块进行组网的信号,具体包括:
    当确定所述工作模式为组网模式时,所述MCU控制模块通过所述无线装置中的室内机模块通信接口或室外机模块通信接口,向室内机模块或室外机模块发送允许所有室内机模块加入室外机模块进行组网的信号,并监测所述室外机模块是否检测到要加入的室内机模块;
    在所述组网模式下,当所述室外机模块检测到要加入的室内机模块时指示进入组网状态,等待所述室外机模块与所述室内机模块进行Zigbee无线组网后,发送指令要求所述室内机与所述室外机进行组网信息锁定后,进入完成组网的无线通信状态,结束所述组网模式,具体包括:
    如果所述MCU控制单元监测到所述室外机模块检测到要加入的室内机模块,则所述MCU控制单元控制无线组网装置中的LED显示模块按照T3频次闪烁等待所述室外机模块与所述室内机模块组网;
    所述MCU控制单元等待所述Zigbee无线组网完成,当从所述室外机模块通信接口或所述室内机模块通信接口收到所述室外机模块或所述室内机模的组网完成反馈后,发送指令给所述室外机模块与所述室内机模块进行组网信息锁定,并控制所述LED显示模块常亮,结束本次组网。
  10. 如权利要求8所述的方法,其特征在于,
    检测预设的功能,以确定所述功能对应的工作模式,具体包括:
    通过无线装置中的MCU控制单元检测所述无线组网装置中的功能设定模块中预先设定的功能,以确定所述功能对应的是组网模式或者检测模式;
    当确定所述工作模式为检测模式时,发送信号指示所述室外机模块与室内机模块进入检测状态并发送允许所有室内机模块加入室外机模块进行组网的信号,具体包括:
    当确定所述工作模式为检测模式时,所述MCU控制单元通过所述无线组网装置中的室内机模块通信接口或室外机模块通信接口,向室内机模块或室外机模块发送进入检测的信号以及允许所有室内机模块加入室外机模块进行组网的信号,并监测所述室外机模块是否检测到要加入的室内机模块;
    在所述检测模式下,当所述室外机模块检测到要加入的室内机模块时指示进入组网测试状态,等待所述室外机模块与所述室内机模块进行Zigbee无线组网超过预定的时间阈值时,发送指令要求所述室外机模块清空组网测试时的连接信息并禁止其他所述室内模块加入后,进入完成组网测试的状态,结束所述检测模式,具体包括:
    如果所述MCU控制单元监测到所述室外机模块检测到要加入的室内机模块,则所述MCU控制单元控制无线组网装置中的LED显示模块按照T1S频次闪烁等待所述室外机模块与所述室内机模块进行组网测试;
    当所述MCU控制单元监测到所述LED显示模块按照T1S频次闪烁时间超过了预设的时间阈值时,通过所述室外机模块通信接口发送指令要求所述室外机模块清空组网测试时的连接信息并禁止其他室内模块加入,并控制所述LED显示模块熄灭,结束本次检测。
  11. 一种计算机可读存储介质,其中存储有多条程序代码,其特征在于,所述程序代码适于由处理器加载并运行以执行权利要求7至10中任一所述的空调无线组网通信方法;
    或者,
    一种控制装置,包括处理器和存储器,其特征在于,所述存储器被配置成存储执行权利要求7至10中任一所述的空调无线组网通信方法的程序,处理器被配置成用于执行所述存储器中的程序。
  12. 一种无线组网通信的空调***,包括同一空间位置下的多套机组,其特征在于,还包括:
    无线组网装置,用于对空调无线组网通信时使用的室内机模块和/或室外机模块 进行检测,或者,用于控制室内机模块与室外机模块执行组网;
    其中,所述无线组网装置包括如权利要求1至6中任一项所述的无线组网装置的结构;
    其中,多套机组在所述无线组网装置控制执行无线组网后,进行无线通信。
  13. 一种空调无线组网通信的***,其特征在于,包括:
    功能检测模块,用于检测预设的功能,以确定所述功能对应的工作模式;
    功能执行模块,用于当确定所述工作模式为组网模式时,发送允许所有室内机模块加入室外机模块进行组网的信号;或者,当确定所述工作模式为检测模式时,发送信号指示所述室外机模块与室内机模块进入检测状态并发送允许所有室内机模块加入室外机模块进行组网的信号;
    组网功能执行模块,用于当所述室外机模块检测到要加入的室内机模块时,在所述室外机模块与所述室内机模块进行组网或组网测试后,结束对应的工作模式。
  14. 如权利要求13所述的***,其特征在于,所述组网功能执行模块具体执行如下功能:
    在所述组网模式下,当所述室外机模块检测到要加入的室内机模块时指示进入组网状态,等待所述室外机模块与所述室内机模块进行Zigbee无线组网后,发送指令要求所述室内机与所述室外机进行组网信息锁定后,进入完成组网的无线通信状态,结束所述组网模式;或者,
    在所述检测模式下,当所述室外机模块检测到要加入的室内机模块时指示进入组网测试状态,等待所述室外机模块与所述室内机模块进行Zigbee无线组网超过预定的时间阈值时,发送指令要求所述室外机模块清空组网测试时的连接信息并禁止其他所述室内模块加入后,进入完成组网测试的状态,结束所述检测模式。
PCT/CN2021/101959 2020-11-30 2021-06-24 空调无线组网通信的方法、***、装置及介质 WO2021233477A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011381671.9 2020-11-30
CN202011381671.9A CN114576789A (zh) 2020-11-30 2020-11-30 空调无线组网通信的方法、***、装置及介质

Publications (1)

Publication Number Publication Date
WO2021233477A1 true WO2021233477A1 (zh) 2021-11-25

Family

ID=78708091

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/101959 WO2021233477A1 (zh) 2020-11-30 2021-06-24 空调无线组网通信的方法、***、装置及介质

Country Status (2)

Country Link
CN (1) CN114576789A (zh)
WO (1) WO2021233477A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115717765A (zh) * 2022-11-23 2023-02-28 宁波奥克斯电气股份有限公司 多联机空调***控制方法及***

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103994555A (zh) * 2013-02-16 2014-08-20 广东美的暖通设备有限公司 一种空调***
CN104613588A (zh) * 2013-11-05 2015-05-13 海尔集团公司 一种空调无线组网方法及装置
CN104613589A (zh) * 2013-11-05 2015-05-13 海尔集团公司 一种空调无线组网方法及装置
CN104896658A (zh) * 2015-05-14 2015-09-09 广东美的暖通设备有限公司 一种空调***和通信方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104613591B (zh) * 2013-11-05 2018-02-27 海尔集团公司 一种空调无线组网方法
CN104735709B (zh) * 2015-01-29 2019-01-01 无锡科技职业学院 一种Zigbee节点部署检测装置及检测方法
CN104764159B (zh) * 2015-03-30 2019-08-09 珠海格力电器股份有限公司 一种多联机定位室内机的方法及多联机
CN108712300A (zh) * 2018-04-02 2018-10-26 四川斐讯信息技术有限公司 一种智能设备配网的自动化测试方法及***

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103994555A (zh) * 2013-02-16 2014-08-20 广东美的暖通设备有限公司 一种空调***
CN104613588A (zh) * 2013-11-05 2015-05-13 海尔集团公司 一种空调无线组网方法及装置
CN104613589A (zh) * 2013-11-05 2015-05-13 海尔集团公司 一种空调无线组网方法及装置
CN104896658A (zh) * 2015-05-14 2015-09-09 广东美的暖通设备有限公司 一种空调***和通信方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115717765A (zh) * 2022-11-23 2023-02-28 宁波奥克斯电气股份有限公司 多联机空调***控制方法及***
CN115717765B (zh) * 2022-11-23 2024-06-11 宁波奥克斯电气股份有限公司 多联机空调***控制方法及***

Also Published As

Publication number Publication date
CN114576789A (zh) 2022-06-03

Similar Documents

Publication Publication Date Title
JP6318308B2 (ja) Led照明装置、無線ネットワーク及びその制御方法
JP7045991B2 (ja) 無線通信を用いた電子装置の管理方法及び装置
CN110173843B (zh) 一种多联机空调集中控制***及其控制方法
US9049038B2 (en) Method of associating or re-associating devices in a control network
EP3086046B1 (en) Air-conditioning device and method for feeding power to remote controls
US11150619B2 (en) Intelligent lighting control system based on internet of things
JP6479007B2 (ja) Zigbee(登録商標) Light Linkネットワークのコミッショニング
WO2021233477A1 (zh) 空调无线组网通信的方法、***、装置及介质
US20240053041A1 (en) Power line communication-based pairing method and device for air conditioner, and storage medium
JPWO2018110576A1 (ja) 無線ネットワークシステム
CN113110083A (zh) 无线通信模块、智能家居设备、配网方法及***
CN113691431A (zh) 通讯网络***
CN107925582B (zh) 支持对网络化配电***的调试
JP2014190568A (ja) 空気調和システム
CN110990040A (zh) 空调***的软件升级方法
TW201824933A (zh) 協調器及其控制方法、無線傳感網路的通信系統及方法
CN113606744B (zh) 一种控制方法、设备及存储介质
CN113987278B (zh) 一种适用于会议***的单元自动编号方法
CN105207811B (zh) 一种替换非AllJoyn设备的方法及装置
KR20140009739A (ko) 조명 제어 시스템에서의 조명 등록 장치 및 방법
CN114143125A (zh) 一种远程控制路由器的方法和装置
CN113048615B (zh) 空调***及其通讯控制方法、装置、存储介质及处理器
CN215956109U (zh) 一种后备电源的状态确定***
JP3643629B2 (ja) 空気調和システムにおける自動運転設定方法及び空気調和システム
JP2011204412A (ja) 照明制御システム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21809837

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21809837

Country of ref document: EP

Kind code of ref document: A1