CN111561766A - Air conditioner based on Internet of things - Google Patents

Air conditioner based on Internet of things Download PDF

Info

Publication number
CN111561766A
CN111561766A CN202010289163.1A CN202010289163A CN111561766A CN 111561766 A CN111561766 A CN 111561766A CN 202010289163 A CN202010289163 A CN 202010289163A CN 111561766 A CN111561766 A CN 111561766A
Authority
CN
China
Prior art keywords
air conditioner
control chip
internal
main control
iot adapter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010289163.1A
Other languages
Chinese (zh)
Inventor
宫华耀
矫晓龙
曹秀霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Original Assignee
Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Hitachi Air Conditioning System Co Ltd filed Critical Qingdao Hisense Hitachi Air Conditioning System Co Ltd
Priority to CN202010289163.1A priority Critical patent/CN111561766A/en
Publication of CN111561766A publication Critical patent/CN111561766A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/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/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/32Responding to malfunctions or emergencies
    • F24F11/38Failure diagnosis
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/54Control or safety arrangements characterised by user interfaces or communication using one central controller connected to several sub-controllers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • 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

Landscapes

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

Abstract

The invention discloses an air conditioner of internet of things, comprising: the system comprises an air conditioner internal and external unit and an NB-IoT adapter, wherein the NB-IoT adapter is used for realizing data interaction between the air conditioner internal and external unit and a cloud; the NB-IoT adapter comprises a main control chip and a communication chip, wherein the main control chip is used for acquiring the operation information of the internal and external units of the air conditioner and transmitting the changed state point positions of the internal and external units of the air conditioner to the communication chip; the communication chip is used for receiving the changed state point positions of the air conditioner internal and external units and returning the current operation information of the air conditioner internal and external units to the cloud end according to the changed state point positions of the air conditioner internal and external units. By adopting the embodiment of the invention, the NB-IoT mode networked intelligent adapter is adopted to realize data interaction and remote control with the cloud, thereby providing a simple and convenient networking mode for users.

Description

Air conditioner based on Internet of things
Technical Field
The invention relates to the field of remote control of air conditioners, in particular to an air conditioner of the Internet of things.
Background
With the improvement of the living standard of human beings, the air conditioner enters thousands of households, office places and public places, even is applied to various vehicles, becomes a necessity of modern daily life, and provides a comfortable rest and working environment for users. The Internet of things is an important component of a new generation of information technology and is also an important development stage of the 'informatization' era. The Internet of things has wide application in smart homes, and the intelligent Internet of things air conditioner can realize various functions through remote control, save a lot of time for users and provide convenience for daily life.
At present, the demand of remote centralized control of a multi-connected unit is increasing in the industry, and most manufacturers can choose to add network modules to the existing machine types. However, in the process of implementing the invention, the inventor finds that the prior art has at least the following problems: the control strategy of the network access adapter is always a weak link of each large manufacturer, a plurality of problems need brand new design, the existing network access mode is complicated and complex, and a simple and convenient remote control thought cannot be provided for users.
Disclosure of Invention
The embodiment of the invention aims to provide an air conditioner of the Internet of things, which adopts an NB-IoT mode networking intelligent adapter to realize data interaction and remote control with a cloud end and provides a simple and convenient networking mode for a user.
In order to achieve the above object, an embodiment of the present invention provides an air conditioner of internet of things, including:
an air conditioner internal and external unit;
the NB-IoT adapter is arranged in an outdoor cabin body of the air conditioner internal and external units and is used for realizing data interaction between the air conditioner internal and external units and a cloud end; the NB-IoT adapter comprises a main control chip and a communication chip, wherein the main control chip is connected with the communication chip;
the main control chip is used for acquiring the operation information of the air conditioner internal and external units and transmitting the changed state point positions of the air conditioner internal and external units to the communication chip;
the communication chip is used for receiving the changed state point positions of the air conditioner internal and external units and returning the current operation information of the air conditioner internal and external units to the cloud end according to the changed state point positions of the air conditioner internal and external units.
As an improvement of the above scheme, a change flag bit polling mechanism is adopted between the main control chip and the communication chip for data interaction; then the process of the first step is carried out,
the master control chip is configured to: acquiring operation information of the internal and external units of the air conditioner; when any state point position of the air conditioner internal and external units changes, setting a change flag bit in a state point bit group where the changed state point position is located;
the communication chip is configured to:
issuing a read-write instruction to the main control chip every a first preset time length to poll a change flag bit in each state point bit group;
when any set change zone bit is polled, searching a state point bit group where the set change zone bit is positioned as a target state point bit group;
polling each state point in the target state point group, and updating the pre-stored state values of the internal and external units of the air conditioner according to the changed state point in the target state point group;
and after the pre-stored state values of the internal and external units of the air conditioner are updated, clearing the change flag bit of the target state point bit group.
As an improvement of the above, the NB-IoT adapter further includes an EEPROM memory; the EEPROM memory is connected with the main control chip and used for storing indoor unit data information of the air conditioner internal and external units;
then, the master control chip is further configured to:
after the NB-IoT adapter is powered on, reading indoor unit data information in the EEPROM memory; the indoor unit data information comprises the number of indoor units and an indoor unit online list;
judging whether the indoor unit data information meets a preset condition or not; wherein the preset conditions are as follows: the number of the indoor units meets a preset number threshold, and the total number of the indoor units recorded in the indoor unit online list is consistent with the number of the indoor units;
when the indoor unit data information meets the preset condition, controlling the NB-IoT adapter to enter a normal communication state;
when the indoor unit data information does not meet the preset condition, acquiring actual indoor unit data information of the air conditioner internal and external units so as to update the EEPROM; and controlling the NB-IoT adapter to enter a normal communication state.
As an improvement of the above solution, the main control chip is further configured to: performing a commodity inspection flow of the NB-IoT adapter; wherein the negotiation and inspection flow of the NB-IoT adapter comprises:
after the NB-IoT adapter is powered on for the first time and initialization is completed, receiving a bar code writing message sent by commodity inspection equipment;
storing the bar code information of the bar code written in the electric text into the EEPROM memory; the bar code information is manufacturing bar code information of the air conditioner internal and external units;
reading the EEPROM memory, loading the bar code information in the EEPROM memory into a transmitting message, and generating commodity inspection feedback information;
and sending the commodity inspection feedback information to the commodity inspection equipment.
As an improvement of the above solution, the main control chip is further configured to:
after the commodity inspection process of the NB-IoT adapter is executed, the barcode information in the EEPROM and the IMEI number of the NB-IoT adapter are transmitted to the communication chip, so that the communication chip uploads the barcode information and the IMEI number to a cloud, and information binding among the air conditioner internal and external unit, the NB-IoT adapter and the cloud is achieved.
As an improvement of the above, the NB-IoT adapter further includes: a battery detection circuit; the battery detection circuit is respectively connected with the main control chip and the communication chip; the battery detection circuit comprises an AD sampling circuit and a power supply unit;
then, the master control chip is further configured to:
judging whether the AD sampling value acquired by the AD sampling circuit exceeds a preset sampling threshold value or not;
and when the AD sampling value acquired by the AD sampling circuit is judged not to exceed a preset sampling threshold value, controlling the power supply unit to supply power to the communication chip.
As a refinement of the above, the NB-IoT adapter further includes a Homebus circuit; the main control chip is connected with the air conditioner internal and external units through the Homebus circuit;
and the main control chip acquires the operation information on the buses of the internal and external units of the air conditioner by adopting a Homebus protocol.
As an improvement of the above solution, the NB-IoT adapter further includes a self-diagnosis unit configured to complete a self-diagnosis function of the NB-IoT adapter;
when the self-checking signal is continuously received within a second preset time period, controlling the NB-IoT adapter to enter a self-diagnosis state;
and when the self diagnosis of the NB-IoT adapter is finished and no abnormality exists, controlling the NB-IoT adapter to enter a normal communication state.
As an improvement of the above scheme, the operation state of the communication chip includes a working state and a dormant state;
then, the communication chip is further configured to:
entering the operational state after the NB-IoT adapter is powered on;
and entering the dormant state when interactive instructions of preset times are continuously sent to the main control chip and no response instruction returned by the main control chip is received.
As an improvement of the scheme, data interaction is carried out between the main control chip and the communication chip by adopting a standard Modbus protocol.
Compared with the prior art, the Internet of things air conditioner comprises an air conditioner indoor and outdoor unit and an NB-IoT adapter, wherein the NB-IoT mode is adopted for network access, the NB-IoT adapter realizes data interaction between the air conditioner indoor and outdoor unit and a cloud end, the data interaction comprises uploading of unit operation information, issuing of control strategies and the like, a complex network distribution process is omitted, a convenient and simple network access mode is provided, and higher use experience is brought to a user. The NB-IoT adapter comprises a main control chip and a communication chip, and point location retrieval is realized between the main control chip and the communication chip through a change flag bit polling mechanism so as to complete data interaction. The main control chip acquires the operation information of the internal and external units of the air conditioner and sets a change flag bit corresponding to the changed state point location; the communication chip polls each change zone bit, acquires the changed state point position according to the set change zone bit, updates the stored state value of the indoor and outdoor units of the air conditioner, and returns the current operation information of the indoor and outdoor units of the air conditioner to the cloud, thereby effectively improving the efficiency of point position retrieval and saving a large amount of data interaction time. In addition, the NB-IoT adapter is also provided with a corresponding starting control flow, a battery detection flow, a commodity inspection flow, an information binding flow and the like of an EEPROM memory, so that the control of the indoor and outdoor units of the air conditioner can be effectively realized, the normal and stable operation of the NB-IoT adapter is ensured, and the requirement of a user on remote centralized monitoring of the multi-connected unit is met.
Drawings
FIG. 1 is a schematic structural diagram of an air conditioner of the Internet of things according to an embodiment of the invention;
fig. 2 is a schematic structural diagram of an NB-IoT adapter of an internet-of-things air conditioner in an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating data interaction between a main control chip and a communication chip according to an embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating status point polling in a change flag polling mechanism according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating the start-up control of the EEPROM memory in the embodiment of the present invention;
fig. 6 is a schematic diagram of a process of merchant detection of an NB-IoT adapter in an embodiment of the present invention;
FIG. 7 is a schematic diagram of a battery detection circuit according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating steps of battery detection in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic structural diagram of an air conditioner of the internet of things according to an embodiment of the present invention. The embodiment of the invention provides an air conditioner 10 of the internet of things, which comprises: an air conditioning indoor and outdoor unit 11 and an NB-IoT adapter 12; the NB-IoT adapter 12 is disposed in an outdoor cabin of the indoor and outdoor air conditioning unit 11, and is configured to implement data interaction between the indoor and outdoor air conditioning unit 11 and a cloud.
Specifically, the NB-IoT adapter 12 supports data acquisition and cloud wireless communication functions for the air conditioning indoor and outdoor unit 11. And acquiring information such as the operation parameters and the operation state of the air conditioning indoor and outdoor unit 11 in real time, and realizing data interaction between the air conditioning indoor and outdoor unit and the cloud in an NB-IoT (NB-IoT) manner. The user can issue a control instruction through the cloud, control or adjust the operating parameters and the operating state of the air conditioner internal and external units 11, including startup and shutdown, mode switching, air volume switching, modification of set temperature, control of the air deflector and the like, and a simple remote control mode is provided for the user.
As a preferred embodiment, refer to fig. 2, which is a schematic structural diagram of an NB-IoT adapter of an air conditioner of the internet of things in the embodiment of the present invention.
The NB-IoT adapter 12 includes a main control chip 121 and a communication chip 122, and the main control chip 121 and the communication chip 122 are connected.
The main control chip 121 is configured to obtain operation information of the air conditioner internal and external unit 11, and transmit the changed status point location of the air conditioner internal and external unit 11 to the communication chip.
The communication chip 122 is configured to receive the changed state point locations of the internal and external air conditioning units 11, and return current operation information of the internal and external air conditioning units 11 to a cloud according to the changed state point locations of the internal and external air conditioning units 11.
Specifically, the NB-IoT adapter 12 mainly includes a main control chip 121 and a communication chip 122, where the main control chip 121 is mainly used to collect and process the operation information of the internal and external air conditioning unit 11, and store all state point locations of the internal and external air conditioning unit 11. And the state point position records the operation parameters, the operation states and other operation information of the internal and external units of the air conditioner. The communication chip 122 is mainly used for realizing communication with the cloud, uploading operation information of the internal and external units of the air conditioner or issuing a control strategy of the cloud. The main control chip 121 and the communication chip 122 adopt a standard Modbus protocol, and perform data interaction in a question-and-answer mode. The communication chip 122 actively issues a read-write command to retrieve the status point locations of the internal and external units of the air conditioner, and the main control chip 121 replies the contents of the status point locations. When the communication chip 122 inquires that the status point returned by the main control chip changes, the status value of the internal and external air conditioning units stored by itself is updated, and 11 current operation information of the internal and external air conditioning units is returned to the cloud. And the NB-IoT adapter realizes data interaction between the internal and external units 11 of the air conditioner and the cloud end through point location retrieval between the main control chip and the communication chip.
As a preferred embodiment, referring to fig. 3-4, fig. 3 is a schematic flow chart of data interaction between a main control chip and a communication chip in an embodiment of the present invention; fig. 4 is a schematic diagram of polling status points in the change flag polling mechanism in the embodiment of the present invention.
The main control chip 121 and the communication chip 122 perform data interaction by using a flag bit change polling mechanism, so as to greatly improve the efficiency of point location retrieval. All state point positions of the air conditioner internal and external unit 11 are divided into a plurality of state point position groups by carrying out regional division in advance, and each state point position group is allocated with a change zone bit. Preferably, the state point groups are divided into 30 state point groups, and each change flag bit occupies a part of the state point groups. Then the process of the first step is carried out,
the main control chip 121 is configured to: acquiring operation information of the air conditioner internal and external unit 11; and when any state point position of the air conditioner internal and external units changes, setting a change flag bit in a state point bit group where the changed state point position is located.
The communication chip 122 is configured to:
s11, issuing a read/write command to the main control chip 121 every a first preset duration to poll the change flag bit in each status point bit group.
And S12, when any set change flag bit is polled, searching the state point bit group where the set change flag bit is located as a target state point bit group.
And S13, polling each state point in the target state point group, and updating the pre-stored state values of the internal and external units of the air conditioner according to the changed state point in the target state point group.
And S14, after the pre-stored state values of the air conditioner internal and external units are updated, clearing the change zone bit of the target state point bit group.
Referring to fig. 3-4, the communication chip 122 continuously polls the change flag bit in each status point bit group and determines whether each change flag bit is set. When any change flag bit is set, the content of the corresponding state point bit group is inquired according to the set change flag bit, and all the state point bits in the state point bit group are polled. And updating the state values of the air conditioning internal and external units stored by the self according to the changed state point positions of the air conditioning internal and external units, thereby returning the current operation information of the air conditioning internal and external units to the cloud, and clearing 0 the set change flag bit.
By adopting the technical means of the invention, the communication chip 122 does not need to search all state point locations of the internal and external units of the air conditioner, and only needs to poll each pre-allocated change state bit and poll the corresponding state point location according to the set change state bit, so that the state change of the internal and external units of the air conditioner can be inquired, the efficiency of point location search is effectively improved, and a large amount of data interaction time is saved.
As a preferred embodiment, referring to fig. 2, the NB-IoT adapter 12 further includes an EEPROM memory 123; the EEPROM memory 123 is connected to the main control chip 121, and is configured to store operation parameters, operation states, and other operation information of the indoor and outdoor units of the air conditioner, which are acquired by the main control chip.
Preferably, referring to fig. 5, it is a schematic flow chart of the start-up control of the EEPROM memory in the embodiment of the present invention. The EEPROM memory 123 is used to store indoor unit data information of the air conditioner internal and external units. Then, the main control chip 121 is further configured to execute a start control procedure of the EEPROM memory, including:
s21, reading indoor unit data information in the EEPROM memory 123 after the NB-IoT adapter 12 is powered on; the indoor unit data information comprises the number of indoor units and an indoor unit online list.
S22, judging whether the indoor unit data information meets a preset condition or not; wherein the preset conditions are as follows: the number of the indoor units meets a preset number threshold, and the total number of the indoor units recorded in the indoor unit online list is consistent with the number of the indoor units.
And S23, when the indoor unit data information meets the preset condition, controlling the NB-IoT adapter to enter a normal communication state.
S24, when the indoor unit data information does not meet the preset condition, acquiring actual indoor unit data information of the air conditioner internal and external units to update the EEPROM memory 123; and controlling the NB-IoT adapter to enter a normal communication state.
Specifically, the preset number threshold is a preset legal number range of the indoor units, and can be set according to actual conditions. For example, the preset number threshold is set to be 0 to 32.
After the NB-IoT adapter 12 is powered on, the number of indoor units in the EEPROM memory 123 and the online list of indoor units are read, it is first determined whether the number of indoor units is in the interval of [0, 32], and then it is determined whether the total number of indoor units in the list is consistent with the stored number of indoor units. And when the two steps of judgment meet the preset condition, judging that the EEPROM 123 is effective, and controlling the NB-IoT adapter to enter a normal communication state by the main control chip. And when the indoor unit data information stored in the EEPROM memory 123 does not satisfy the preset condition, updating the EEPROM memory 123 according to the acquired actual data information.
It should be noted that, if the NB-IoT adapter 12 is powered on for the first time and the data in the EEPROM memory 123 is empty, it is determined that the preset condition is not satisfied, and actual indoor unit data information of the internal and external units of the air conditioner needs to be acquired and stored in the EEPROM memory 123, so as to complete initialization of the NB-IoT adapter and enter a normal communication state. If the NB-IoT adapter 12 is powered on for the second time, and if some indoor units are not powered on, the NB-IoT adapter 12 uploads indoor unit data information in the EEPROM memory 123 to the cloud through the main control chip 121 and the communication chip 122, and after the indoor unit data information communicates with the indoor and outdoor units of the air conditioner for 3min continuously, an unresponsive indoor unit is detected, and an alarm is given off.
As a preferred embodiment, refer to fig. 6, which is a schematic diagram of an audit flow of an NB-IoT adapter in the embodiment of the present invention. The master chip is further configured to perform a commerce inspection process of the NB-IoT adapter 12; wherein the negotiation flow of the NB-IoT adapter 12 includes:
and S31, receiving a barcode writing message sent by the commodity inspection equipment after the NB-IoT adapter 12 is powered on for the first time and initialization is completed.
S32, storing the bar code information written in the electric text by the bar code into the EEPROM 123; the barcode information is manufacturing barcode information of the air conditioner internal and external unit 11.
And S33, reading the EEPROM memory 123, loading the bar code information in the EEPROM memory 123 into a transmitting message, and generating commodity inspection feedback information.
And S34, sending the commodity inspection feedback information to the commodity inspection equipment.
Specifically, after the NB-IoT adapter 12 is first powered on and initialized, a normal communication state is entered. And receiving a bar code writing message sent by the commodity inspection equipment, wherein the bar code writing message contains manufacturing bar code information of the air conditioner internal and external unit 11, and storing the bar code information into the EEPROM 123. Then, the EEPROM memory 123 is read, the barcode information is loaded into the outgoing telegraph text, and commodity inspection feedback information is generated and sent to the commodity inspection device, so as to complete the binding between the air conditioning indoor and outdoor unit 11 and the NB-IoT adapter 12. After the feedback information is sent to the commodity inspection equipment, a feedback signal can be given to a user by controlling the LED lamp on the NB-IoT adapter 12 to flicker, the initialization stage is returned after the delay time is 10min, and the power-off is finished.
By adopting the technical means of the embodiment of the invention, the incidence relation between the air conditioning indoor and outdoor unit 11 and the NB-IoT adapter 12 can be enhanced, the cloud can conveniently control the air conditioning indoor and outdoor unit 11 through the NB-IoT adapter 12, and the reliability of the air conditioning indoor and outdoor unit is ensured.
Further, after the commodity inspection process of the NB-IoT adapter 12 is completed, at this time, the NB-IoT adapter 12 has recorded the manufacturing barcode information of the air conditioning indoor/outdoor unit, and the binding between the air conditioning indoor/outdoor unit 11 and the NB-IoT adapter 12 is completed. The main control chip 121 transmits the barcode information in the EEPROM memory 123 and the IMEI number of the NB-IoT adapter 12 to the communication chip 122, and the barcode information and the IMEI number are uploaded to the cloud through the communication chip 122, so that information binding among the air conditioner internal and external unit 11, the NB-IoT adapter 12, and the cloud is further achieved.
Through the embodiment of the invention, the user can adopt forms such as scanning two-dimensional codes by the APP, ask for the IMEI number from the cloud platform, and realize the binding of the user APP and the NB-IoT adapter 12, so that the information binding among the air conditioner indoor and outdoor unit 11, the NB-IoT adapter 12 and the user APP is finally formed, the user can conveniently check the operation information of the air conditioner indoor and outdoor unit 11 through the APP, or send corresponding control strategies to the air conditioner indoor and outdoor unit 11, and the remote monitoring of the air conditioner unit is realized.
Furthermore, the NB-IoT adapter unbinding process only needs to unbind the APP of the user and the cloud, and the APP end user provides an unbinding application to the cloud platform so as to unbind the binding information of the NB-IoT adapter and the indoor and outdoor units of the air conditioner. After the binding is released, the APP terminal can scan the two-dimensional code again to ask for a new IMEI number from the cloud platform, and binding of a new NB-IoT adapter is completed. And if the NB-IoT adapter fails and the like, and the NB-IoT adapter needs to be replaced, the binding of the NB-IoT adapter and the air conditioning indoor and outdoor unit is realized again through the commodity inspection process.
Referring to fig. 7-8, fig. 7 is a schematic diagram of a battery detection circuit according to an embodiment of the present invention; fig. 8 is a flowchart illustrating steps of battery detection in an embodiment of the present invention.
The NB-IoT adapter 12 further includes: a battery detection circuit 124; the battery detection circuit 124 is respectively connected with the main control chip 121 and the communication chip 122; the battery detection circuit 124 includes an AD sampling circuit and a power supply unit.
Then, the main control chip is further configured to execute a circuit detection procedure, including:
s41, judging whether the AD sampling value obtained by the AD sampling circuit exceeds a preset sampling threshold value;
and S42, when the AD sampling value acquired by the AD sampling circuit is judged not to exceed the preset sampling threshold value, controlling the power supply unit to supply power to the communication chip.
Referring to fig. 7, the power supply unit of the battery detection circuit 124 includes a P153 port, the P153 port is connected to the communication chip 122, and the main control chip 121 controls the P153 port to supply power to the communication chip 122. The Test point of Test19 in the AD sampling circuit of the battery detection circuit 124 is connected to the AD sampling port of the main control chip 121. The detection period is set to 30s, and in the detection period, the main control chip 121 detects whether the sampling value obtained by the AD sampling circuit of the battery detection circuit 124 exceeds a preset sampling threshold value through the AD sampling port. When the sampling value does not exceed the preset sampling threshold value, it is determined that no battery is loaded, and the P153 port outputs a high level to supply power to the communication chip 122.
The NB-IoT adapter 12 of the embodiment of the invention can be provided with a power supply battery, and has two power supply modes, when the air conditioning indoor and outdoor units are not powered on, such as in the transportation process, the power supply mode of the power supply battery can be selected; when the air conditioning indoor and outdoor units are in the normal operation process, the non-power supply battery is loaded, and the battery detection circuit 124 is controlled by the main control chip 121 to supply power, so that the normal and stable operation of the NB-IoT adapter 12 is ensured.
As a preferred embodiment, referring to fig. 2, the NB-IoT adapter 12 further includes a Homebus circuit 125; the main control chip 121 is connected with the air conditioner internal and external unit 11 through the Homebus circuit 125.
The data interaction between the main control chip 121 and the air conditioner indoor and outdoor unit 11 adopts a Homebus protocol. The main control chip 121 obtains the operation information on the bus of the internal and external units 11 of the air conditioner by using a Homebus protocol.
As a preferred embodiment, the NB-IoT adapter 12 further includes a self-diagnosis unit 126 for completing the self-diagnosis function of the NB-IoT adapter 12;
when the self-test unit 126 continuously receives the self-test signal within a second preset time period, controlling the NB-IoT adapter 12 to enter a self-diagnostic state; and when the self-diagnosis of the NB-IoT adapter 12 is finished and no abnormality exists, controlling the NB-IoT adapter 12 to enter a normal communication state.
Specifically, the second preset time period is a preset time value, for example, the second preset time period is 3 s. In the communication process between the NB-IoT adapter 12 and the air conditioning indoor/outdoor unit 11, if the user presses the self-test button 3s, that is, the self-test unit 126 of the NB-IoT adapter 12 receives the self-test signal continuously for 3s, the NB-IoT adapter 12 is controlled to enter the self-diagnostic state, and the Homebus circuit, the EEPROM circuit, and the like of the NB-IoT adapter 12 body are checked. And controlling the NB-IoT adapter 12 to enter a normal communication state when the self-diagnosis is finished and no abnormality exists.
Further, the NB-IoT adapter 12 further includes a signal strength detection unit, and when the user presses a signal detection button on the NB-IoT adapter 12, that is, the signal strength detection unit receives the signal strength detection instruction, the NB-IoT adapter enters a signal detection mode, and detects the local signal strength. The detection results will be displayed by the LED signal strength lights on the NB-IoT adapter 12.
In a preferred embodiment, the operation state of the communication chip 122 includes an operation state and a sleep state. After the NB-IoT adapter 12 is powered on, the communication chip 122 enters an operating state. The communication chip continuously sends an interactive instruction to the main control chip 121, and when a response instruction returned by the main control chip 121 is received, the working state is maintained; when the preset number of interactive instructions are continuously sent and no response instruction returned by the main control chip 121 is received, the communication chip 122 enters the sleep state. Preferably, the preset number of times is 10 times.
The embodiment of the invention provides an Internet of things air conditioner, which comprises an air conditioner indoor and outdoor unit and an NB-IoT adapter, wherein the NB-IoT mode is adopted for network access, the NB-IoT adapter realizes data interaction between the air conditioner indoor and outdoor unit and a cloud end, the data interaction comprises uploading of unit operation information, issuing of a control strategy and the like, a complicated network distribution process is omitted, a convenient and simple network access mode is provided, and higher use experience is brought to a user. The NB-IoT adapter comprises a main control chip and a communication chip, and point location retrieval is realized between the main control chip and the communication chip through a change flag bit polling mechanism so as to complete data interaction. The main control chip acquires the operation information of the internal and external units of the air conditioner and sets a change flag bit corresponding to the changed state point location; the communication chip polls each change zone bit, acquires the changed state point position according to the set change zone bit, updates the stored state value of the indoor and outdoor units of the air conditioner, and returns the current operation information of the indoor and outdoor units of the air conditioner to the cloud, thereby effectively improving the efficiency of point position retrieval and saving a large amount of data interaction time. In addition, the NB-IoT adapter is also provided with a corresponding starting control flow, a battery detection flow, a commodity inspection flow, an information binding flow and the like of an EEPROM memory, so that the control of the indoor and outdoor units of the air conditioner can be effectively realized, the normal and stable operation of the NB-IoT adapter is ensured, and the requirement of a user on remote centralized monitoring of the multi-connected unit is met.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. An internet of things air conditioner, characterized by comprising:
an air conditioner internal and external unit;
the NB-IoT adapter is arranged in an outdoor cabin body of the air conditioner internal and external units and is used for realizing data interaction between the air conditioner internal and external units and a cloud end; the NB-IoT adapter comprises a main control chip and a communication chip, wherein the main control chip is connected with the communication chip;
the main control chip is used for acquiring the operation information of the air conditioner internal and external units and transmitting the changed state point positions of the air conditioner internal and external units to the communication chip;
the communication chip is used for receiving the changed state point positions of the air conditioner internal and external units and returning the current operation information of the air conditioner internal and external units to the cloud end according to the changed state point positions of the air conditioner internal and external units.
2. The internet-of-things air conditioner according to claim 1, wherein a change flag polling mechanism is adopted between the main control chip and the communication chip for data interaction; then the process of the first step is carried out,
the master control chip is configured to: acquiring operation information of the internal and external units of the air conditioner; when any state point position of the air conditioner internal and external units changes, setting a change flag bit in a state point bit group where the changed state point position is located;
the communication chip is configured to:
issuing a read-write instruction to the main control chip every a first preset time length to poll a change flag bit in each state point bit group;
when any set change zone bit is polled, searching a state point bit group where the set change zone bit is positioned as a target state point bit group;
polling each state point in the target state point group, and updating the pre-stored state values of the internal and external units of the air conditioner according to the changed state point in the target state point group;
and after the pre-stored state values of the internal and external units of the air conditioner are updated, clearing the change flag bit of the target state point bit group.
3. The internet of things air conditioner of claim 1, wherein the NB-IoT adapter further comprises an EEPROM memory; the EEPROM memory is connected with the main control chip and used for storing indoor unit data information of the air conditioner internal and external units;
then, the master control chip is further configured to:
after the NB-IoT adapter is powered on, reading indoor unit data information in the EEPROM memory; the indoor unit data information comprises the number of indoor units and an indoor unit online list;
judging whether the indoor unit data information meets a preset condition or not; wherein the preset conditions are as follows: the number of the indoor units meets a preset number threshold, and the total number of the indoor units recorded in the indoor unit online list is consistent with the number of the indoor units;
when the indoor unit data information meets the preset condition, controlling the NB-IoT adapter to enter a normal communication state;
when the indoor unit data information does not meet the preset condition, acquiring actual indoor unit data information of the air conditioner internal and external units so as to update the EEPROM; and controlling the NB-IoT adapter to enter a normal communication state.
4. The internet of things air conditioner of claim 3, wherein the master control chip is further configured to: performing a commodity inspection flow of the NB-IoT adapter; wherein the negotiation and inspection flow of the NB-IoT adapter comprises:
after the NB-IoT adapter is powered on for the first time and initialization is completed, receiving a bar code writing message sent by commodity inspection equipment;
storing the bar code information of the bar code written in the electric text into the EEPROM memory; the bar code information is manufacturing bar code information of the air conditioner internal and external units;
reading the EEPROM memory, loading the bar code information in the EEPROM memory into a transmitting message, and generating commodity inspection feedback information;
and sending the commodity inspection feedback information to the commodity inspection equipment.
5. The internet of things air conditioner of claim 4, wherein the master control chip is further configured to:
after the commodity inspection process of the NB-IoT adapter is executed, the barcode information in the EEPROM and the IMEI number of the NB-IoT adapter are transmitted to the communication chip, so that the communication chip uploads the barcode information and the IMEI number to a cloud, and information binding among the air conditioner internal and external unit, the NB-IoT adapter and the cloud is achieved.
6. The internet of things air conditioner of claim 1, wherein the NB-IoT adapter further comprises: a battery detection circuit; the battery detection circuit is respectively connected with the main control chip and the communication chip; the battery detection circuit comprises an AD sampling circuit and a power supply unit;
then, the master control chip is further configured to:
judging whether the AD sampling value acquired by the AD sampling circuit exceeds a preset sampling threshold value or not;
and when the AD sampling value acquired by the AD sampling circuit is judged not to exceed a preset sampling threshold value, controlling the power supply unit to supply power to the communication chip.
7. The internet of things air conditioner of claim 1, wherein the NB-IoT adapter further comprises a Homebus circuit; the main control chip is connected with the air conditioner internal and external units through the Homebus circuit;
and the main control chip acquires the operation information on the buses of the internal and external units of the air conditioner by adopting a Homebus protocol.
8. The internet of things air conditioner of claim 1, wherein the NB-IoT adapter further comprises a self-diagnostic unit for performing a self-diagnostic function of the NB-IoT adapter;
when the self-checking signal is continuously received within a second preset time period, controlling the NB-IoT adapter to enter a self-diagnosis state;
and when the self diagnosis of the NB-IoT adapter is finished and no abnormality exists, controlling the NB-IoT adapter to enter a normal communication state.
9. The internet-of-things air conditioner according to claim 1, wherein the operation state of the communication chip includes an operating state and a sleep state;
then, the communication chip is further configured to:
entering the operational state after the NB-IoT adapter is powered on;
and entering the dormant state when interactive instructions of preset times are continuously sent to the main control chip and no response instruction returned by the main control chip is received.
10. The internet of things air conditioner according to claim 1, wherein data interaction is performed between the main control chip and the communication chip by adopting a standard Modbus protocol.
CN202010289163.1A 2020-04-14 2020-04-14 Air conditioner based on Internet of things Pending CN111561766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010289163.1A CN111561766A (en) 2020-04-14 2020-04-14 Air conditioner based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010289163.1A CN111561766A (en) 2020-04-14 2020-04-14 Air conditioner based on Internet of things

Publications (1)

Publication Number Publication Date
CN111561766A true CN111561766A (en) 2020-08-21

Family

ID=72075508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010289163.1A Pending CN111561766A (en) 2020-04-14 2020-04-14 Air conditioner based on Internet of things

Country Status (1)

Country Link
CN (1) CN111561766A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112856636A (en) * 2021-01-29 2021-05-28 江西锋铄新能源科技有限公司 Computing power type central air conditioner
CN113339945A (en) * 2021-05-17 2021-09-03 青岛海信日立空调系统有限公司 Internet of things communication module compatible with full-class air conditioning unit

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767489A (en) * 2004-10-26 2006-05-03 中兴通讯股份有限公司 Grading and polling method for scheduling device
CN103634873A (en) * 2013-12-18 2014-03-12 北京煜邦电力技术有限公司 Wireless networking method of electric power meter reading system and electric power meter reading device system
CN105180367A (en) * 2015-09-16 2015-12-23 珠海格力电器股份有限公司 Data transmitting method and system for air conditioner unit
CN108931035A (en) * 2018-07-30 2018-12-04 宁波奥克斯电气股份有限公司 A kind of control method and device of air-conditioning real-time communication
CN109708254A (en) * 2018-12-14 2019-05-03 青岛海信日立空调系统有限公司 A kind of air conditioner
CN109945414A (en) * 2019-03-19 2019-06-28 青岛海信日立空调系统有限公司 Air conditioner and multi-online air-conditioning system
US20190386794A1 (en) * 2014-08-28 2019-12-19 Avago Technologies International Sales Pte. Limited Mechanisms for single user (SU) and multiple user (MU) transmission and association via polling within wireless communications

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767489A (en) * 2004-10-26 2006-05-03 中兴通讯股份有限公司 Grading and polling method for scheduling device
CN103634873A (en) * 2013-12-18 2014-03-12 北京煜邦电力技术有限公司 Wireless networking method of electric power meter reading system and electric power meter reading device system
US20190386794A1 (en) * 2014-08-28 2019-12-19 Avago Technologies International Sales Pte. Limited Mechanisms for single user (SU) and multiple user (MU) transmission and association via polling within wireless communications
CN105180367A (en) * 2015-09-16 2015-12-23 珠海格力电器股份有限公司 Data transmitting method and system for air conditioner unit
CN108931035A (en) * 2018-07-30 2018-12-04 宁波奥克斯电气股份有限公司 A kind of control method and device of air-conditioning real-time communication
CN109708254A (en) * 2018-12-14 2019-05-03 青岛海信日立空调系统有限公司 A kind of air conditioner
CN109945414A (en) * 2019-03-19 2019-06-28 青岛海信日立空调系统有限公司 Air conditioner and multi-online air-conditioning system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
周志敏等: "《线性集成稳压电源实用电路》", 31 July 2006, 中国电力出版社 *
崔建军: "《高瓦斯复杂地质条件煤矿智能化开采》", 31 May 2018, 中国矿业大学出版社 *
张宝慧等: "《物联网技术基础》", 30 September 2018, 北京理工大学出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112856636A (en) * 2021-01-29 2021-05-28 江西锋铄新能源科技有限公司 Computing power type central air conditioner
CN113339945A (en) * 2021-05-17 2021-09-03 青岛海信日立空调系统有限公司 Internet of things communication module compatible with full-class air conditioning unit

Similar Documents

Publication Publication Date Title
CN104636150B (en) The update method of software, system and server in vehicle
JP6486484B2 (en) In-vehicle control device and information update system for in-vehicle control device
JP2023072040A (en) Measuring terminal device and remote monitoring system
CN111561766A (en) Air conditioner based on Internet of things
CN101907335B (en) System for remotely monitoring indoor temperature and humidity and air-conditioners
EP3068069A1 (en) Network system and method for controlling the same
CN108528369A (en) Control method for vehicle and device
US9075700B2 (en) Data output device for vehicle
CN104577548A (en) Intelligent socket
US10243373B2 (en) Power control system, power control device, server device, and method for controlling power control system
CN113395193B (en) Equipment control method and device, computer equipment and storage medium
KR20070122387A (en) Communication method in a home-automation installation
JP4838096B2 (en) Home appliance communication control system
CN107493394B (en) System and method for controlling Bluetooth equipment by mobile phone through Wi-Fi
CN111478835B (en) Air conditioning unit monitoring device, monitoring method, air conditioning system and storage medium
JP4014578B2 (en) Communication relay device
CN114553626A (en) Equipment state query method, query device, electronic equipment and storage medium
CN111959230A (en) Parking air conditioner control method and device, storage medium and parking air conditioner
JPH08503797A (en) Receiver polling
CN110410935A (en) A kind of control method of air-conditioning power down Auto Power On
CN110762778A (en) Remote intelligent control management system for air conditioner
CN213816653U (en) Power socket, electric equipment and management system thereof
CN218035137U (en) Intelligent wine cellar monitoring device and system thereof
CN113704053B (en) Cabinet asset management device and control method thereof
CN110779084B (en) Indoor unit, communication control method thereof and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200821

RJ01 Rejection of invention patent application after publication